]> sourceware.org Git - glibc.git/blob - ChangeLog
malloc: Check for integer overflow in pvalloc.
[glibc.git] / ChangeLog
1 2013-09-11 Will Newton <will.newton@linaro.org>
2
3 [BZ #15855]
4 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5 does not overflow.
6
7 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
8
9 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14
15 2013-09-10 Allan McRae <allan@archlinux.org>
16
17 [BZ #15748]
18 * manual/arith.texi (Parsing of Floats): Clarify
19 cross-reference.
20
21 [BZ #15849]
22 * manual/install.texi (Running make install): Mention
23 --enable-pt-chown.
24 * INSTALL: Regenerated.
25
26 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
27
28 * csu/init-first.c (_init): Remove the !SHARED condition around
29 FPU control word initialization.
30 * elf/dl-support.c (_dl_fpu_control): New variable.
31 (_dl_aux_init) <AT_FPUCW>: Initialize it.
32 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
33 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
34 * math/test-fpucw-static.c: New file.
35 * math/test-fpucw-ieee.c: New file.
36 * math/test-fpucw-ieee-static.c: New file.
37 * math/Makefile (tests): Add `test-fpucw-ieee' and
38 `$(tests-static)'.
39 (tests-static): New variable.
40 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
41 dependency to...
42 [($(build-shared),yes)]
43 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
44 ... this.
45 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
46 New dependency.
47
48 2013-09-09 Allan McRae <allan@archlinux.org>
49
50 [BZ #15939]
51 * manual/string.texi (Collation Functions): Fix typo in
52 strcoll example.
53 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
54
55 [BZ #15893]
56 * stdlib/isomac.c (get_null_defines): Fix memory leak.
57
58 [BZ #15892]
59 * libio/memstream.c (open_memstream): Fix memory leak.
60 * libio/wmemstream.c (open_wmemstream): Likewise.
61
62 [BZ #15895]
63 * nscd/netgroupcache.c: Fix nesting of ifdefs.
64
65 2013-09-09 Will Newton <will.newton@linaro.org>
66
67 * malloc/Makefile: Add tst-realloc to tests.
68 * malloc/tst-realloc.c: New file.
69
70 2013-09-09 Allan McRae <allan@archlinux.org>
71
72 [BZ #15844]
73 * COPYING: Update from GNU website to fix FSF address.
74 * COPYING.LIB: Likewise.
75
76 2013-09-06 David S. Miller <davem@davemloft.net>
77
78 * po/zh_TW.po: Update Chinese (traditional) translation from
79 translation project.
80
81 2013-09-06 Richard Sandiford <richard@codesourcery.com>
82 Joseph Myers <joseph@codesourcery.com>
83
84 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
85 "localeinfo.h".
86 (obstack_chunk_alloc): New macro.
87 (obstack_chunk_free): Likewise.
88 (record_offset): New function.
89 (init_locale_data): Likewise.
90 (align_locale_data): Likewise.
91 (add_locale_empty): Likewise.
92 (add_locale_raw_data): Likewise.
93 (add_locale_raw_obstack): Likewise.
94 (add_locale_string): Likewise.
95 (add_locale_wstring): Likewise.
96 (add_locale_uint32): Likewise.
97 (add_locale_uint32_array): Likewise.
98 (add_locale_char): Likewise.
99 (start_locale_structure): Likewise.
100 (end_locale_structure): Likewise.
101 (start_locale_prelude): Likewise.
102 (end_locale_prelude): Likewise.
103 (write_locale_data): Take locale_file structure rather than an
104 iovec.
105 * locale/programs/locfile.h: Include "obstack.h".
106 (struct locale_file): Change to store locale file contents instead
107 of header.
108 (init_locale_data): New prototype.
109 (align_locale_data): Likewise.
110 (add_locale_empty): Likewise.
111 (add_locale_raw_data): Likewise.
112 (add_locale_raw_obstack): Likewise.
113 (add_locale_string): Likewise.
114 (add_locale_wstring): Likewise.
115 (add_locale_uint32): Likewise.
116 (add_locale_uint32_array): Likewise.
117 (add_locale_char): Likewise.
118 (start_locale_structure): Likewise.
119 (end_locale_structure): Likewise.
120 (start_locale_prelude): Likewise.
121 (end_locale_prelude): Likewise.
122 (write_locale_data): Update prototype.
123 * locale/programs/3level.h (struct TABLE): Remove result field.
124 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
125 Use new locale_file interface.
126 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
127 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
128 * locale/programs/ld-address.c (address_output): Use new
129 locale_file interface.
130 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
131 NO_ADD_LOCALE.
132 (collate_finish): Don't call collseq_table_finalize.
133 (collate_output): Use new locale_file interface.
134 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
135 in file.
136 (NO_FINALIZE): Change to NO_ADD_LOCALE.
137 (TABLE): Move defines earlier in file.
138 (ELEMENT): Likewise.
139 (DEFAULT): Likewise.
140 (wctrans_table_add): Move macro and inline function earlier in
141 file.
142 (struct wctype_table): Move type earlier in file.
143 (add_locale_wctype_table): New static prototype.
144 (struct locale_ctype_t): Use logical types instead of struct iovec
145 pointers for members.
146 (ctype_output): Use new locale_file interface.
147 (wctype_table_finalize): Change to add_locale_wctype_table. Use
148 new locale_file interface.
149 (allocate_arrays): Update for use of new locale_file interface.
150 * locale/programs/ld-identification.c (identification_output): Use
151 new locale_file interface.
152 * locale/programs/ld-measurement.c (measurement_output): Likewise.
153 * locale/programs/ld-messages.c (messages_output): Likewise.
154 * locale/programs/ld-monetary.c (monetary_output): Likewise.
155 * locale/programs/ld-name.c (name_output): Likewise.
156 * locale/programs/ld-numeric.c (numeric_output): Likewise.
157 * locale/programs/ld-paper.c (paper_output): Likewise.
158 * locale/programs/ld-telephone.c (telephone_output): Likewise.
159 * locale/programs/ld-time.c (time_output): Likewise.
160
161 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
162
163 * benchtests/Makefile: Add memrchr benchmark.
164 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
165 benchmark as memrchr.
166 * benchtests/bench-memrchr-ifunc.c: New file.
167 * benchtests/bench-memrchr.c: New file.
168
169 2013-09-06 Will Newton <will.newton@linaro.org>
170
171 * benchtests/Makefile (string-bench): Add memcpy.
172
173 2013-09-05 Carlos O'Donell <carlos@redhat.com>
174 Cong Wang <amwang@redhat.com>
175
176 * sysdeps/unix/sysv/linux/bits/in.h
177 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
178 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
179 before __USE_KERNEL_IPV6_DEFS uses.
180 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
181 IPPROTO_BEETPH.
182 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
183 sockaddr_in6, or ipv6_mreq.
184
185 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
186
187 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
188 memory access for final bytes in some large inputs.
189 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
190
191 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
192
193 * string/test-memrchr.c: New file.
194 * string/test-memrchr-ifunc.c: New file.
195 * string/Makefile: Add new memrchr testcase.
196
197 2013-09-05 Mike Frysinger <vapier@gentoo.org>
198
199 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
200 fanotify_init returns EPERM.
201
202 2013-09-04 Joseph Myers <joseph@codesourcery.com>
203
204 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
205 errors.
206 (top level): Treat second token from macro or constant entries for
207 allowed headers as allowed.
208 * include/complex.h: Condition internal declarations on
209 [!_ISOMAC].
210 * include/fenv.h: Condition include of <stdbool.h> and internal
211 declarations on [!_ISOMAC].
212
213 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
214
215 [BZ #15923]
216 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
217
218 2013-09-04 Joseph Myers <joseph@codesourcery.com>
219
220 * configure.in (--enable-versioning): Remove configure option.
221 (libc_cv_asm_symver_directive): Remove configure test.
222 (libc_cv_ld_version_script_option): Likewise.
223 (VERSIONING): Remove variable and AC_SUBST.
224 (DO_VERSIONING): Remove AC_DEFINE.
225 * configure: Regenerated.
226 * config.h.in (DO_VERSIONING): Remove macro.
227 * Makerules [$(versioning) = yes]: Change conditionals to
228 [$(build-shared) = yes].
229 * config.make.in (versioning): Remove variable.
230 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
231 [$(build-shared) = yes].
232 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
233 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
234 * elf/Makefile [$(versioning) = yes]: Change conditionals to
235 [$(build-shared) = yes].
236 * extra-lib.mk [$(versioning) = yes]: Likewise.
237 * hurd/Makefile [$(versioning) = yes]: Likewise.
238 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
239 [SHARED].
240 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
241 [SHARED].
242 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
243 [SHARED && !NO_HIDDEN].
244 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
245 [SHARED].
246 [SHARED && DO_VERSIONING]: Likewise..
247 * libio/Makefile [$(versioning) = yes]: Change conditionals to
248 [$(build-shared) = yes].
249 * manual/install.texi (--disable-versioning): Remove
250 documentation.
251 * INSTALL: Regenerated.
252 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
253 to [SHARED].
254 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
255 [$(build-shared) = yes].
256 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
257 * sysdeps/i386/i686/multiarch/strstr-c.c
258 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
259 [SHARED && !NO_HIDDEN].
260 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
261 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
262 * sysdeps/powerpc/powerpc32/dl-machine.c
263 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
264 * sysdeps/powerpc/powerpc32/sysdep.h
265 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
266 to [SHARED && PIC && !NO_HIDDEN].
267 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
268 conditional to [SHARED].
269
270 2013-09-04 Will Newton <will.newton@linaro.org>
271
272 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
273 * benchtests/bench-string.h: Include bench-timing.h instead
274 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
275 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
276 call to HP_TIMING_DIFF_INIT.
277 * benchtests/bench-memccpy.c: Use bench-timing.h macros
278 instead of hp-timing.h macros.
279 * benchtests/bench-memchr.c: Likewise.
280 * benchtests/bench-memcmp.c: Likewise.
281 * benchtests/bench-memcpy.c: Likewise.
282 * benchtests/bench-memmem.c: Likewise.
283 * benchtests/bench-memmove.c: Likewise.
284 * benchtests/bench-memset.c: Likewise.
285 * benchtests/bench-rawmemchr.c: Likewise.
286 * benchtests/bench-strcasecmp.c: Likewise.
287 * benchtests/bench-strcasestr.c: Likewise.
288 * benchtests/bench-strcat.c: Likewise.
289 * benchtests/bench-strchr.c: Likewise.
290 * benchtests/bench-strcmp.c: Likewise.
291 * benchtests/bench-strcpy.c: Likewise.
292 * benchtests/bench-strcpy_chk.c: Likewise.
293 * benchtests/bench-strlen.c: Likewise.
294 * benchtests/bench-strncasecmp.c: Likewise.
295 * benchtests/bench-strncat.c: Likewise.
296 * benchtests/bench-strncmp.c: Likewise.
297 * benchtests/bench-strncpy.c: Likewise.
298 * benchtests/bench-strnlen.c: Likewise.
299 * benchtests/bench-strpbrk.c: Likewise.
300 * benchtests/bench-strrchr.c: Likewise.
301 * benchtests/bench-strspn.c: Likewise.
302 * benchtests/bench-strstr.c: Likewise.
303
304 2013-09-04 Will Newton <will.newton@linaro.org>
305
306 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
307
308 2013-09-03 Joseph Myers <joseph@codesourcery.com>
309
310 [BZ #15427]
311 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
312 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
313 * math/libm-test.inc (lgamma_test_data): Add more tests.
314 * sysdeps/i386/fpu/libm-test-ulps: Update.
315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
316
317 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
318
319 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
320 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
321 Add ifunc.
322 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
323 Add strcmp-sse2-unaligned
324 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
325
326 2013-09-02 Mike Frysinger <vapier@gentoo.org>
327
328 * Versions.def (libc): Add GLIBC_2.19.
329
330 2013-09-02 Mike Frysinger <vapier@gentoo.org>
331
332 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
333 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
334
335 2013-09-02 Joseph Myers <joseph@codesourcery.com>
336
337 [BZ #14155]
338 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
339 intermediate calculations in recurrence.
340 (__ieee754_ynf): Likewise.
341 * math/libm-test.inc (jn_test_data): Do not allow spurious
342 underflow exception. Add more tests.
343 (yn_test_data): Add more tests.
344 * sysdeps/i386/fpu/libm-test-ulps: Update.
345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
346
347 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
348
349 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
350
351 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
352
353 * csu/init-first.c: Fix then/than typos.
354 * locale/programs/ld-collate.c: Likewise.
355 * locale/programs/linereader.h: Likewise.
356 * manual/charset.texi: Likewise.
357 * manual/filesys.texi: Likewise.
358 * manual/stdio.texi: Likewise.
359 * manual/string.texi: Likewise.
360 * stdlib/fmtmsg.c: Likewise.
361 * sysdeps/i386/stpncpy.S: Likewise.
362 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
363 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
364 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
365 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
366
367 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
368
369 * elf/dl-open.c: Fix typos.
370 * iconvdata/gbbig5.c: Likewise.
371 * iconvdata/iso-2022-jp.c: Likewise.
372 * iconv/gconv_int.h: Likewise.
373 * iconv/loop.c: Likewise.
374 * nis/rpcsvc/nis.h: Likewise.
375 * resolv/ns_name.c: Likewise.
376 * stdio-common/vfscanf.c: Likewise.
377 * streams/stropts.h: Likewise.
378 * sunrpc/rpc_thread.c: Likewise.
379 * sysdeps/i386/strpbrk.S: Likewise.
380 * sysdeps/ieee754/k_standard.c: Likewise.
381 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
382 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
383 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
384 * sysdeps/mach/hurd/profil.c: Likewise.
385 * sysdeps/s390/dl-procinfo.h: Likewise.
386 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
387 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
388 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
389 * sysdeps/x86_64/dl-trampoline.S: Likewise.
390 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
391
392 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
393
394 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
395 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
396
397 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
398
399 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
400 aix specific files.
401 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
402 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
403 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
404 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
405 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
406 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
407 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
408 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
409
410 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
411 Roland McGrath <roland@hack.frob.com>
412
413 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
414 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
415
416 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
417
418 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
419 __executable_start symbol instead of _start.
420
421 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
422
423 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
424 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
425 Move macros to...
426 * sysdeps/gnu/ldsodefs.h: ... this new file.
427
428 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
429 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
430 instead of ELFOSABI_LINUX.
431
432 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
433 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
434 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
435 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
436 Likewise.
437 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
438 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
439 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
440 Likewise.
441 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
442 (ibm_extended_long_double): Add ieee_nan member.
443 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
444 (do_test): New function.
445
446 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
447 TEST_TRUNC.
448 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
449 functions, renamed from truncdfsf_test, trunctfsf_test,
450 trunctfdf_test.
451 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
452 functions.
453 (do_test): Run all these.
454
455 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
456
457 * argp/argp-help.c: Fix typos.
458 * argp/argp-parse.c: Likewise.
459 * debug/backtracesyms.c: Likewise.
460 * elf/elf.h: Likewise.
461 * malloc/malloc.c: Likewise.
462 * nis/nis_print.c: Likewise.
463 * resolv/res_comp.c: Likewise.
464 * stdlib/stdlib.h: Likewise.
465 * sunrpc/clnt_tcp.c: Likewise.
466 * sunrpc/clnt_udp.c: Likewise.
467 * sunrpc/clnt_unix.c: Likewise.
468 * sysdeps/unix/bsd/ptsname.c: Likewise.
469 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
470 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
472 Likewise.
473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
474 Likewise.
475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
476 Likewise.
477 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
478
479 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
480
481 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
482 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
483
484 2013-08-27 Mike Frysinger <vapier@gentoo.org>
485
486 [BZ #15897]
487 * dlfcn/Makefile (tests): Add bug-dl-leaf.
488 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
489 ($(objpfx)bug-dl-leaf): New rule.
490 ($(objpfx)bug-dl-leaf.so): Likewise.
491 ($(objpfx)bug-dl-leaf.out): Likewise.
492 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
493 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
494 * dlfcn/bug-dl-leaf.c: New test.
495 * dlfcn/bug-dl-leaf-lib.c: Likewise.
496 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
497 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
498 (dlclose): Likewise.
499 (dlmopen): Likewise.
500
501 2013-08-27 Roland McGrath <roland@hack.frob.com>
502
503 * include/netdb.h [!_ISOMAC]:
504 Don't include <tls.h>.
505 (h_errno, __libc_h_errno): Move declaration and macros out of
506 [_LIBC_REENTRANT].
507
508 * include/resolv.h [_RESOLV_H_]:
509 Don't include <tls.h>.
510 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
511 * resolv/res_libc.c: Don't include <tls.h>.
512 (_res): Use __attribute__ ((nocommon)) in place of
513 __attribute__ ((section (".bss"))).
514
515 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
516 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
517
518 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
519
520 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
521 only under [SIOCGIFCONF && SIOCGIFNETMASK].
522
523 * resolv/res_mkquery.c: Include <sys/time.h>.
524
525 * inet/ifreq.c: Moved to ...
526 * sysdeps/unix/ifreq.c: ... here.
527 * inet/ifreq.c: New file, true stub version.
528
529 * socket/sa_len.c: New file.
530 * socket/Makefile (aux): Add it.
531 * sysdeps/unix/sysv/linux/Makefile
532 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
533 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
534 and #include <socket/sa_len.c>.
535 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
536 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
537
538 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
539 * bits/socket.h: ... here.
540
541 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
542 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
543 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
544
545 2013-08-27 Andreas Schwab <schwab@suse.de>
546
547 [BZ #15736]
548 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
549 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
550 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
551 * string/test-strcasecmp.c (test_main): Run tests in several
552 locales.
553 * string/test-strncasecmp.c (test_main): Likewise.
554
555 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
556 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
557 to __strcasecmp_nonascii and __strncasecmp_nonascii.
558 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
559 (__strncasecmp_ssse3) [PIC]: Likewise.
560
561 2013-08-26 Roland McGrath <roland@hack.frob.com>
562
563 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
564
565 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
566 instead of explicitly declaring xdecrypt.
567 * nis/nss_nis/nis-publickey.c: Likewise.
568
569 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
570
571 [BZ #15890]
572 * nscd/aicache.c: Include res_hconf.h.
573 (addhstaiX): Initialize res_hconf.
574
575 2013-08-26 Andreas Schwab <schwab@suse.de>
576
577 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
578 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
579
580 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
581
582 * nscd/aicache.c (addhstaiX): Fix indentation.
583
584 2013-08-25 Mike Frysinger <vapier@gentoo.org>
585
586 * configure.ac: Quote $build_pt_chown test.
587 * configure: Regenerated.
588
589 2013-08-23 Joseph Myers <joseph@codesourcery.com>
590
591 [BZ #15532]
592 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
593 * math/s_cexpf.c (__cexpf): Likewise.
594 * math/s_cexpl.c (__cexpl): Likewise.
595 * math/libm-test.inc (cexp_test_data): Correct expected return
596 value for NaN + i0. Add another test.
597
598 2013-08-22 David S. Miller <davem@davemloft.net>
599
600 * po/ca.po: Update Catalan translation from translation project.
601 * po/uk.po: Add Ukrainian translations from translation project.
602
603 2013-08-21 Joseph Myers <joseph@codesourcery.com>
604
605 [BZ #15797]
606 * math/s_fdim.c (__fdim): Check for infinite arguments if result
607 is infinite, not alongside NaN test.
608 * math/s_fdimf.c (__fdimf): Likewise.
609 * math/s_fdiml.c (__fdiml): Likewise.
610 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
611 errno is unchanged.
612
613 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
614
615 * argp/argp-help.c: Fix typos.
616 * crypt/speeds.c: Likewise.
617 * csu/check_fds.c: Likewise.
618 * elf/dl-load.c: Likewise.
619 * elf/dl-open.c: Likewise.
620 * elf/reldep3.c: Likewise.
621 * elf/reldep.c: Likewise.
622 * elf/sprof.c: Likewise.
623 * iconv/iconv_charmap.c: Likewise.
624 * iconv/skeleton.c: Likewise.
625 * iconv/strtab.c: Likewise.
626 * io/lockf64.c: Likewise.
627 * libio/libioP.h: Likewise.
628 * resolv/gai_notify.c: Likewise.
629 * resolv/ns_name.c: Likewise.
630 * resolv/ns_samedomain.c: Likewise.
631 * resolv/res_send.c: Likewise.
632 * stdlib/random.c: Likewise.
633 * sunrpc/rpc/xdr.h: Likewise.
634 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
635 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
636 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
637 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
638 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
639 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
640 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
641 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
642 * sysdeps/mach/hurd/check_fds.c: Likewise.
643 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
644 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
645 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
646 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
647 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
648 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
649 * sysdeps/pthread/aio_notify.c: Likewise.
650 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
651 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
652 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
653 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
654 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
655
656 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
657
658 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
659 version if bit_Slow_SSE4_2 is set.
660 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
661 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
662
663 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
664
665 [BZ #15867]
666 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
667 trampoline stack frame information.
668 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
669 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
670 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
671 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
672 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
673 * sysdeps/unix/sysv/linux/powerpc/init-first.c
674 (_libc_vdso_platform_setup): Initialize the signal trampolines.
675 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
676 sa_flags value.
677 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
678 interrupting a syscall and set with option SA_SIGINFO.
679
680 2013-08-20 Joseph Myers <joseph@codesourcery.com>
681
682 [BZ #15531]
683 * math/s_cproj.c (__cproj): Only return an infinity if one part of
684 argument is infinite.
685 * math/s_cprojf.c (__cprojf): Likewise.
686 * math/s_cprojl.c (__cprojl): Likewise.
687 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
688 * math/libm-test.inc (cproj_test_data): Add more tests.
689
690 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
691
692 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
693 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
694 size. Use __ffs to determine corresponding shift.
695
696 2013-08-20 Joseph Myers <joseph@codesourcery.com>
697 Roland McGrath <roland@hack.frob.com>
698
699 * Makefile (INSTALL): Remove trailing blank lines from output of
700 makeinfo.
701
702 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
703
704 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
705 Align 32 bit compat elf_greg to 8 bytes.
706
707 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
708
709 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
710
711 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
712
713 * string/strcoll_l.c (coll_seq): New structure.
714 (get_next_seq_cached): New function.
715 (get_next_seq): New function.
716 (do_compare): New function.
717 (STRCOLL): Use GNU style definition. Simplify implementation
718 by using get_next_seq, get_next_seq_cached and do_compare.
719
720 2013-08-16 Florian Weimer <fweimer@redhat.com>
721
722 [BZ #14699]
723 CVE-2013-4237
724 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
725 member.
726 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
727 member.
728 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
729 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
730 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
731 conditional.
732 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
733 GETDENTS_64BIT_ALIGNED.
734 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
735 * manual/filesys.texi (Reading/Closing Directory): Document
736 ENAMETOOLONG return value of readdir_r. Recommend readdir more
737 strongly.
738 * manual/conf.texi (Limits for Files): Add portability note to
739 NAME_MAX, PATH_MAX.
740 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
741
742 2013-08-13 Andreas Schwab <schwab@suse.de>
743
744 [BZ #15749]
745 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
746 of fabs.
747 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
748 LDBL_MAX_EXP >= 16384]: Add tests for it.
749
750 2013-08-12 David S. Miller <davem@davemloft.net>
751
752 * version.h (RELEASE): Set to "development".
753 (VERSION): Set to "2.18.90".
754 * NEWS: Add 2.19 section.
755
756 2013-08-03 David S. Miller <davem@davemloft.net>
757
758 * po/ko.po: Update Korean translation from translation project.
759
760 2013-08-01 David S. Miller <davem@davemloft.net>
761
762 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
763 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
764 Bilka.
765
766 2013-07-30 David S. Miller <davem@davemloft.net>
767
768 * po/fr.po: Update French translation from translation project.
769
770 2013-07-28 David S. Miller <davem@davemloft.net>
771
772 * po/cs.po: Update Czech translation from translation project.
773
774 * po/sv.po: Update Swedish translation from translation project.
775
776 2013-07-27 David S. Miller <davem@davemloft.net>
777
778 * po/eo.po: Update Esperanto translation from translation project.
779
780 * po/vi.po: Update Vietnamese translation from translation project.
781
782 * po/de.po: Update German translation from translation project.
783
784 2013-07-26 David S. Miller <davem@davemloft.net>
785
786 * po/bg.po: Update Bulgarian translation from translation project.
787
788 * po/nl.po: Update Dutch translation from translation project.
789 * po/pl.po: Update Polish translation from translation project.
790 * po/ru.po: Update Russian translation from translation project.
791
792 2013-07-24 David S. Miller <davem@davemloft.net>
793
794 * po/libc.pot: Update.
795
796 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
797
798 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
799 variable page size.
800 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
801 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
802 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
803
804 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
805
806 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
807
808 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
809 Andreas Schwab <schwab@suse.de>
810 Roland McGrath <roland@hack.frob.com>
811 Joseph Myers <joseph@codesourcery.com>
812 Carlos O'Donell <carlos@redhat.com>
813
814 [BZ #15755]
815 * config.h.in: Define HAVE_PT_CHOWN.
816 * config.make.in (build-pt-chown): New variable.
817 * configure.in (--enable-pt_chown): New configure option.
818 * configure: Regenerate.
819 * login/Makefile: Include Makeconfig. Build pt_chown only if
820 build-pt-chown is enabled.
821 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
822 pt_chown to fix pty ownership.
823 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
824 CLOSE_ALL_FDS.
825 * manual/install.texi (Configuring and compiling): Mention
826 --enable-pt_chown. Add @findex for grantpt.
827 * INSTALL: Regenerate.
828
829 2013-07-20 David S. Miller <davem@davemloft.net>
830
831 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
832 difference between 32-bit and 64-bit.
833
834 2013-07-15 Carlos O'Donell <carlos@redhat.com>
835
836 [BZ #15711]
837 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
838 Avoid system header dependency with -ffreestanding.
839 ($(objpfx)bits/syscall%d): Likewise.
840
841 2013-07-13 David S. Miller <davem@davemloft.net>
842
843 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
844 underflows from atanl/atan2l due to bug 15319.
845 (casinh_test_data): Likewise.
846
847 2013-07-07 David S. Miller <davem@davemloft.net>
848
849 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
850
851 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
852
853 * sysdeps/i386/fpu/libm-test-ulps: Update.
854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
855
856 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
857
858 * configure.in (--enable-lock-elision): Fix message text.
859 * INSTALL: Regenerate.
860 * configure: Regenerate.
861
862 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
863
864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
865
866 2013-07-03 Andreas Jaeger <aj@suse.de>
867
868 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
869 define.
870 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
871 (ptrace_peeksiginfo_args): Add.
872 (__ptrace_peeksiginfo_flags): Add.
873 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
874 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
875 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
876
877 2013-07-03 Allan McRae <allan@archlinux.org>
878
879 * sysdeps/i386/fpu/libm-test-ulps: Update.
880
881 2013-07-02 David S. Miller <davem@davemloft.net>
882
883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
884
885 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
886
887 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
888
889 2013-07-02 Joseph Myers <joseph@codesourcery.com>
890
891 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
893
894 2013-07-02 Andi Kleen <ak@linux.intel.com>
895
896 * config.h.in (ENABLE_LOCK_ELISION): Add.
897 * configure.in (--enable-lock-elision): Add option.
898 * manual/install.texi: Document --enable lock elision.
899 * configure: Regenerate
900 * INSTALL: Regenerate.
901
902 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
903
904 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
905 SSE4.2 strcasecmp for libc.a.
906 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
907
908 2013-07-02 Joseph Myers <joseph@codesourcery.com>
909
910 [BZ #13304]
911 * soft-fp/op-common.h (_FP_FMA): New macro.
912 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
913 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
914 (_FP_MUL_MEAT_1_imm): ... here.
915 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
916 (_FP_MUL_MEAT_1_wide): ... here.
917 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
918 (_FP_MUL_MEAT_1_hard): ... here.
919 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
920 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
921 (_FP_MUL_MEAT_2_wide): ... here.
922 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
923 (_FP_MUL_MEAT_2_wide_3mul): ... here.
924 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
925 (_FP_MUL_MEAT_2_gmp): ... here.
926 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
927 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
928 (_FP_MUL_MEAT_4_wide): ... here.
929 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
930 (_FP_MUL_MEAT_4_gmp): ... here.
931 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
932 (_FP_WFRACBITS_DW_S): Likewise.
933 (_FP_WFRACXBITS_DW_S): Likewise.
934 (_FP_HIGHBIT_DW_S): Likewise.
935 (FP_FMA_S): Likewise.
936 (_FP_FRAC_HIGH_DW_S): Likewise.
937 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
938 (_FP_WFRACBITS_DW_D): Likewise.
939 (_FP_WFRACXBITS_DW_D): Likewise.
940 (_FP_HIGHBIT_DW_D): Likewise.
941 (FP_FMA_D): Likewise.
942 (_FP_FRAC_HIGH_DW_D): Likewise.
943 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
944 (_FP_WFRACBITS_DW_E): Likewise.
945 (_FP_WFRACXBITS_DW_E): Likewise.
946 (_FP_HIGHBIT_DW_E): Likewise.
947 (FP_FMA_E): Likewise.
948 (_FP_FRAC_HIGH_DW_E): Likewise.
949 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
950 (_FP_WFRACBITS_DW_Q): Likewise.
951 (_FP_WFRACXBITS_DW_Q): Likewise.
952 (_FP_HIGHBIT_DW_Q): Likewise.
953 (FP_FMA_Q): Likewise.
954 (_FP_FRAC_HIGH_DW_Q): Likewise.
955 * soft-fp/fmasf4.c: New file.
956 * soft-fp/fmadf4.c: Likewise.
957 * soft-fp/fmatf4.c: Likewise.
958
959 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
960
961 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
962 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
963 Silvermont.
964 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
965 macro.
966 (index_Slow_SSE4_2): Likewise.
967 (index_Prefer_PMINUB_for_stringop): Likewise.
968 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
969 bit_Slow_SSE4_2 is set.
970 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
971 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
972
973 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
974
975 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
976 rtld_global._dl_hwcap2.
977 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
978 POWER8.
979 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
980 POWER8 feature descriptions defined in _dl_hwcap2.
981 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
982 string handling for POWER8 feature bits.
983 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
984 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
985 _dl_powerpc_cap_flags.
986 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
987 * sysdeps/powerpc/rtld-global-offsets.sym
988 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
989 _dl_hwcap2 in the rtld_global_ro structure.
990
991 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
992
993 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
994 hardware capabilities in support of AT_HWCAP2.
995 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
996 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
997 GLRO(dl_hwcap2).
998 (_dl_show_auxv): Add support for calling _dl_procinfo to display
999 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1000 explicitly the unknown a_type display mechanism is used.
1001 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1002 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1003 struct member.
1004 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1005 to macro prototype for AT_HWCAP2 support.
1006 * sysdeps/i386/dl-procinfo.h: Likewise.
1007 * sysdeps/s390/dl-procinfo.h: Likewise.
1008 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1009 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1010 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1011 return -1 for unknown a_type display fallback.
1012 * sysdeps/sparc/dl-procinfo.h: Likewise.
1013 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1014 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1015
1016 2013-06-28 Joseph Myers <joseph@codesourcery.com>
1017
1018 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1019 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1020
1021 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1022
1023 [BZ #12492]
1024 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1025 mprotect making __stack_prot writable.
1026
1027 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1028 Joseph Myers <joseph@codesourcery.com>
1029
1030 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1031 as being properly aligned.
1032
1033 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1034
1035 * dlfcn/modstatic5.c: New file.
1036 * dlfcn/tststatic5.c: New file.
1037 * dlfcn/Makefile (tests): Add tststatic5.
1038 (tests-static): Likewise.
1039 (modules-names): Add modstatic5.
1040 (tststatic5-ENV): New variable.
1041 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1042
1043 [BZ #15022]
1044 * elf/dl-support.c (_dl_main_map): New variable.
1045 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1046 (_dl_nns, _dl_load_adds): Set to 1.
1047 (_dl_initial_searchlist): Refer to _dl_main_map.
1048 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1049 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1050 call to _dl_get_origin.
1051 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1052 around call_map.
1053 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1054 * dlfcn/modstatic3.c: New file.
1055 * dlfcn/tststatic3.c: New file.
1056 * dlfcn/tststatic4.c: New file.
1057 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1058 (tests-static): Likewise.
1059 (modules-names): Add modstatic3.
1060 (tststatic3-ENV, tststatic4-ENV): New variables.
1061 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1062 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1063
1064 2013-06-26 Joseph Myers <joseph@codesourcery.com>
1065
1066 * configure.in (CC): Require GCC version 4.4 or later.
1067 * configure: Regenerated.
1068 * manual/install.texi (Tools for Compilation): Update GCC version
1069 requirement.
1070 * INSTALL: Regenerated.
1071
1072 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1073
1074 [BZ #15674]
1075 * string/test-memcmp.c (check2): New.
1076 (main): Call check2.
1077
1078 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1079
1080 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1081
1082 [BZ #15022]
1083 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1084 over to...
1085 (dl_open_worker) [!SHARED]: ... here.
1086
1087 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1088
1089 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1090
1091 2013-06-25 Richard Henderson <rth@redhat.com>
1092
1093 * locale/programs/locarchive.c: Include <libc-internal.h>
1094
1095 2013-06-25 Joseph Myers <joseph@codesourcery.com>
1096
1097 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1098 trailing whitespace removed.
1099
1100 2013-06-24 Mike Frysinger <vapier@gentoo.org>
1101
1102 [BZ #10283]
1103 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1104 * locale/programs/locarchive.c: Include libc-mmap.h.
1105 (prepare_address_space): Take two new outputs (the mmap base and len).
1106 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1107 values.
1108 (create_archive): Declare new mmap base and len values for
1109 prepare_address_space, and store the result in ah.
1110 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1111 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1112 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1113 Declare new mmap base and len values for
1114 prepare_address_space, and store the result in new_ah.
1115 (open_archive): Declare new mmap base and len values for
1116 prepare_address_space, and store the result in ah.
1117 (close_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 * sysdeps/generic/libc-mmap.h: New file.
1120
1121 2013-06-24 Mike Frysinger <vapier@gentoo.org>
1122
1123 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1124 (ALIGN_UP): Likewise.
1125 (PTR_ALIGN_DOWN): Likewise.
1126 (PTR_ALIGN_UP): Likewise.
1127
1128 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1129
1130 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1131 entry mapped to PPC_PLATFORM_POWER8.
1132 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1133 POWER8.
1134 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1135 (_dl_string_platform): Add case for exporting platform position for
1136 POWER8.
1137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1138 search path to sysdeps/powerpc/powerpc32/power8 directory.
1139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1140 search path to sysdeps/powerpc/powerpc64/power8 directory.
1141 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1142 power7 directories.
1143 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1144 power7 directories.
1145
1146 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1147
1148 * INSTALL: Regenerate.
1149
1150 * nscd/connections.c (nscd_init): Fix comment.
1151
1152 2013-06-22 Joseph Myers <joseph@codesourcery.com>
1153
1154 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1155
1156 [BZ #15667]
1157 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1158 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1159
1160 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1161
1162 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1163 DL_DST_REQ_STATIC.
1164 (DL_DST_REQ_STATIC): Remove macro.
1165
1166 2013-06-21 Joseph Myers <joseph@codesourcery.com>
1167
1168 [BZ #7006]
1169 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1170 with a shift of 0 bits.
1171
1172 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1173
1174 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1175 $(tststatic-ENV).
1176
1177 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1178
1179 [BZ #15655]
1180 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1181
1182 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1183
1184 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1185 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1186 accepts -fno-tree-loop-distribute-patterns.
1187 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1188 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1189 recursive call.
1190 * string/memset.c (memset): Likewise.
1191 * string/test-memmove.c (simple_memmove): Disable loop transformation
1192 to library calls.
1193 * string/test-memset.c (simple_memset): Likewise.
1194 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1195 * benchtests/bench-memset.c (simple_memset): Likewise.
1196 * configure: Regenerated.
1197
1198 2013-06-20 Joseph Myers <joseph@codesourcery.com>
1199
1200 * math/test-misc.c (main): Ignore fesetround failure when failures
1201 of subsequent rounding tests would be ignored.
1202
1203 [BZ #15654]
1204 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1205 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1206 * math/fegetenv.c (__fegetenv): Return 0.
1207 * math/fegetexcept.c (fegetexcept): Return 0.
1208 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1209 FE_TONEAREST.
1210 * math/feholdexcpt.c (feholdexcept): Return 0.
1211 * math/fesetenv.c (__fesetenv): Return 0.
1212 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1213 argument FE_TONEAREST.
1214 * math/feupdateenv.c (__feupdateenv): Return 0.
1215 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1216
1217 2013-06-18 Roland McGrath <roland@hack.frob.com>
1218
1219 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1220 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1221 ($(objpfx)rtld-%.os rules): Use them.
1222
1223 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1224
1225 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1226 fields.
1227
1228 2013-06-17 Roland McGrath <roland@hack.frob.com>
1229
1230 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1231 length of target pattern, then descending length of dependency pattern.
1232 * configure.in (AWK): Require gawk 3.1.2 or newer.
1233 * manual/install.texi (Tools for Compilation): Say that we do.
1234 * configure: Regenerated.
1235
1236 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1237 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1238 * scripts/sysd-rules.awk: ... this new script.
1239 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1240 than a glob-style pattern.
1241
1242 2013-06-17 Joseph Myers <joseph@codesourcery.com>
1243
1244 * math/test-misc.c (main): Do not treat incorrectly rounded
1245 conversions as failure unless ROUNDING_TESTS passes.
1246
1247 2013-06-15 Joseph Myers <joseph@codesourcery.com>
1248
1249 [BZ #15631]
1250 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1251 restore exception state around main square root computation, then
1252 check for inexactness explicitly.
1253
1254 * math/libm-test.inc (fma_test_data): Add another test.
1255
1256 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1257
1258 * manual/threads.texi (Non-POSIX Extensions): New document
1259 node. Document pthread_getattr_default_np and
1260 pthread_setattr_default_np.
1261
1262 * Versions.def (libpthread): Add GLIBC_2.18.
1263 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1265 Likewise.
1266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1267 Likewise.
1268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1269 Likewise.
1270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1271 Likewise.
1272 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1273 Likewise.
1274 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1275 Likewise.
1276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1277 Likewise.
1278 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1279 Likewise.
1280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1281 Likewise.
1282
1283 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1284
1285 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1286 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1287
1288 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1289 H.J. Lu <hjl.tools@gmail.com>
1290
1291 [BZ #15627]
1292 * sysdeps/x86_64/rtld-memset.c: Remove file.
1293 * sysdeps/x86_64/rtld-memset.S: New file.
1294
1295 2013-06-14 Joseph Myers <joseph@codesourcery.com>
1296
1297 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1298 (test_in_one_mode): Take arguments for whether the rounding mode
1299 is supported for each floating-point type.
1300 (do_test): Pass new arguments to test_in_one_mode using
1301 ROUNDING_TESTS.
1302
1303 2013-06-13 Roland McGrath <roland@hack.frob.com>
1304
1305 * posix/tst-waitid.c (do_test): Distinguish different instances of
1306 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1307 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1308 before entering the kernel for waitpid.
1309
1310 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1311
1312 * NEWS: Fix note on clock function precision. Text by Roland
1313 McGrath.
1314
1315 2013-06-13 Roland McGrath <roland@hack.frob.com>
1316
1317 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1318 it into place only when and if the sanity check passes.
1319
1320 2013-06-13 Joseph Myers <joseph@codesourcery.com>
1321
1322 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1323 output for whether conversion result is exact. Take argument
1324 indicating whether type is IBM long double.
1325 (round_for_all): Change need_exact field to ibm_ld.
1326 * stdlib/tst-strtod-round.c (struct exactness): New type.
1327 (struct test): Change bool ld_ok field to struct exactness exact.
1328 (TEST): Update all definitions for change to field.
1329 (tests): Regenerate array contents.
1330 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1331 field value. Check for IBM long double here.
1332 (do_test): Update calls to test_in_one_mode.
1333
1334 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1335
1336 [BZ #12515]
1337 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1338 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1339
1340 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1341
1342 [BZ #15605]
1343 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1344 generated by the compiler on loop optimizations.
1345 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1346 general definitions.
1347
1348 2013-06-12 Joseph Myers <joseph@codesourcery.com>
1349
1350 * math/bug-nextafter.c: Include <math-tests.h>.
1351 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1352 the relevant type.
1353 * math/bug-nexttoward.c: Include <math-tests.h>.
1354 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1355 the relevant type.
1356 * math/test-misc.c: Include <math-tests.h>.
1357 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1358 the relevant type.
1359
1360 2013-06-12 Andreas Jaeger <aj@suse.de>
1361
1362 * po/ia.po: Update Interlingua translation from translation
1363 project.
1364
1365 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1366
1367 * include/fenv.h: Include stdbool.h.
1368 (struct rm_ctx): New structure.
1369 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1370 Define macro.
1371 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1372 (SET_RESTORE_ROUNDF): Likewise.
1373 (SET_RESTORE_ROUNDL): Likewise.
1374 (SET_RESTORE_ROUND_NOEX): Likewise.
1375 (SET_RESTORE_ROUND_NOEXF): Likewise.
1376 (SET_RESTORE_ROUND_NOEXL): Likewise.
1377 (SET_RESTORE_ROUND_53BIT): Likewise.
1378 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1379 (libc_feresetround_noexf_ctx): Likewise.
1380 (libc_feresetround_noexl_ctx): Likewise.
1381 (libc_feholdsetround_53bit_ctx): Likewise.
1382 (libc_feresetround_53bit_ctx): Likewise.
1383 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1384 (libc_feholdexcept_setround_sse_ctx): New function.
1385 (libc_fesetenv_sse_ctx): Likewise.
1386 (libc_feupdateenv_sse_ctx): Likewise.
1387 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1388 (libc_feholdexcept_setround_387_ctx): Likewise.
1389 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1390 (libc_feholdsetround_387_prec_ctx): Likewise.
1391 (libc_feholdsetround_387_ctx): Likewise.
1392 (libc_feholdsetround_387_53bit_ctx): Likewise.
1393 (libc_feholdsetround_sse_ctx): Likewise.
1394 (libc_feresetround_sse_ctx): Likewise.
1395 (libc_feresetround_387_ctx): Likewise.
1396 (libc_feupdateenv_387_ctx): Likewise.
1397 (libc_feholdexcept_setroundf_ctx): Define macro.
1398 (libc_fesetenvf_ctx): Likewise.
1399 (libc_feupdateenvf_ctx): Likewise.
1400 (libc_feholdsetroundf_ctx): Likewise.
1401 (libc_feresetroundf_ctx): Likewise.
1402 (libc_feholdexcept_setround_ctx): Likewise.
1403 (libc_fesetenv_ctx): Likewise.
1404 (libc_feupdateenv_ctx): Likewise.
1405 (libc_feholdsetround_ctx): Likewise.
1406 (libc_feresetround_ctx): Likewise.
1407 (libc_feholdexcept_setroundl_ctx): Likewise.
1408 (libc_feupdateenvl_ctx): Likewise.
1409 (libc_feholdsetroundl_ctx): Likewise.
1410 (libc_feresetroundl_ctx): Likewise.
1411 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1412 (libc_feresetround_53bit_ctx): Likewise.
1413
1414 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1415
1416 * locale/iso-639.def: Convert to UTF-8.
1417
1418 2013-06-11 Joseph Myers <joseph@codesourcery.com>
1419
1420 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1421 (EXCEPTION_TESTS_double): Likewise.
1422 (EXCEPTION_TESTS_long_double): Likewise.
1423 (EXCEPTION_TESTS): Likewise.
1424 * math/libm-test.inc (test_exceptions): Only test exceptions if
1425 EXCEPTION_TESTS (FLOAT).
1426
1427 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1428
1429 * benchtests/Makefile (string-bench): Add strcpy_chk and
1430 stpcpy_chk.
1431 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1432 * benchtests/bench-stpcpy_chk.c: New file.
1433 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1434 * benchtests/bench-strcpy_chk.c: New file.
1435 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1436 code.
1437 (do_test): Likewise.
1438
1439 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1440
1441 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1442 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1443 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1444 with tabs where appropriate.
1445 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1446 dl-procinfo.h.
1447 [PPC_PLATFORM_PPC440]: Likewise.
1448 [PPC_PLATFORM_PPC464]: Likewise.
1449 [PPC_PLATFORM_PPC476]: Likewise.
1450 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1451 ppc464, and ppc476 platform strings merging from ports/
1452 dl-procinfo.h.
1453
1454 2013-06-11 Andreas Schwab <schwab@suse.de>
1455
1456 [BZ #14991]
1457 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1458 (from_ucs4_idx): Regenerate.
1459 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1460 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1461 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1462 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1463 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1464 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1465 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1466 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1467 from FROM_LOOP and TO_LOOP specific macros.
1468 (BODY): Handle combining characters.
1469 * iconvdata/BIG5HKSCS.irreversible: Update.
1470 * iconvdata/BIG5HKSCS.precomposed: New file.
1471 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1472 characters.
1473 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1474
1475 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1476
1477 * include/sys/time.h: Fix indentation and add copyright header.
1478
1479 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1480 (do_test): Likewise.
1481 * string/test-memchr.c (do_one_test): Likewise.
1482 (do_test): Likewise.
1483 * string/test-memcmp.c (do_one_test): Likewise.
1484 (do_test): Likewise.
1485 * string/test-memcpy.c (do_one_test): Likewise.
1486 (do_test): Likewise.
1487 * string/test-memmem.c (do_one_test): Likewise.
1488 (do_test): Likewise.
1489 (do_random_tests): Likewise.
1490 * string/test-memmove.c (do_one_test): Likewise.
1491 (do_test): Likewise.
1492 * string/test-memset.c (do_one_test): Likewise.
1493 (do_test): Likewise.
1494 * string/test-rawmemchr.c (do_one_test): Likewise.
1495 (do_test): Likewise.
1496 * string/test-strcasecmp.c (do_one_test): Likewise.
1497 (do_test): Likewise.
1498 * string/test-strcasestr.c (do_one_test): Likewise.
1499 (do_test): Likewise.
1500 * string/test-strcat.c (do_one_test): Likewise.
1501 (do_test): Likewise.
1502 * string/test-strchr.c (do_one_test): Likewise.
1503 (do_test): Likewise.
1504 * string/test-strcmp.c (do_one_test): Likewise.
1505 (do_test): Likewise.
1506 * string/test-strcpy.c (do_one_test): Likewise.
1507 (do_test): Likewise.
1508 * string/test-string.h: Likewise.
1509 (test_init): Likewise.
1510 * string/test-strlen.c (do_one_test): Likewise.
1511 (do_test): Likewise.
1512 * string/test-strncasecmp.c (do_one_test): Likewise.
1513 (do_test): Likewise.
1514 * string/test-strncat.c (do_one_test): Likewise.
1515 (do_test): Likewise.
1516 * string/test-strncmp.c (do_one_test): Likewise.
1517 (do_test_limit): Likewise.
1518 (do_test): Likewise.
1519 * string/test-strncpy.c (do_one_test): Likewise.
1520 (do_test): Likewise.
1521 * string/test-strnlen.c (do_one_test): Likewise.
1522 (do_test): Likewise.
1523 * string/test-strpbrk.c (do_one_test): Likewise.
1524 (do_test): Likewise.
1525 * string/test-strrchr.c (do_one_test): Likewise.
1526 (do_test): Likewise.
1527 * string/test-strspn.c (do_one_test): Likewise.
1528 (do_test): Likewise.
1529 * string/test-strstr.c (do_one_test): Likewise.
1530 (do_test): Likewise.
1531
1532 * benchtests/Makefile (string-bench): Add string benchmarks.
1533 * benchtests/bench-bcopy-ifunc.c: New file.
1534 * benchtests/bench-bcopy.c: New file.
1535 * benchtests/bench-bzero-ifunc.c: New file.
1536 * benchtests/bench-bzero.c: New file.
1537 * benchtests/bench-memccpy-ifunc.c: New file.
1538 * benchtests/bench-memccpy.c: New file.
1539 * benchtests/bench-memchr-ifunc.c: New file.
1540 * benchtests/bench-memchr.c: New file.
1541 * benchtests/bench-memcmp-ifunc.c: New file.
1542 * benchtests/bench-memcmp.c: New file.
1543 * benchtests/bench-memmem-ifunc.c: New file.
1544 * benchtests/bench-memmem.c: New file.
1545 * benchtests/bench-memmove-ifunc.c: New file.
1546 * benchtests/bench-memmove.c: New file.
1547 * benchtests/bench-mempcpy-ifunc.c: New file.
1548 * benchtests/bench-mempcpy.c: New file.
1549 * benchtests/bench-memset-ifunc.c: New file.
1550 * benchtests/bench-memset.c: New file.
1551 * benchtests/bench-rawmemchr-ifunc.c: New file.
1552 * benchtests/bench-rawmemchr.c: New file.
1553 * benchtests/bench-stpcpy-ifunc.c: New file.
1554 * benchtests/bench-stpcpy.c: New file.
1555 * benchtests/bench-stpncpy-ifunc.c: New file.
1556 * benchtests/bench-stpncpy.c: New file.
1557 * benchtests/bench-strcasecmp-ifunc.c: New file.
1558 * benchtests/bench-strcasecmp.c: New file.
1559 * benchtests/bench-strcasestr-ifunc.c: New file.
1560 * benchtests/bench-strcasestr.c: New file.
1561 * benchtests/bench-strcat-ifunc.c: New file.
1562 * benchtests/bench-strcat.c: New file.
1563 * benchtests/bench-strchr-ifunc.c: New file.
1564 * benchtests/bench-strchr.c: New file.
1565 * benchtests/bench-strchrnul-ifunc.c: New file.
1566 * benchtests/bench-strchrnul.c: New file.
1567 * benchtests/bench-strcmp-ifunc.c: New file.
1568 * benchtests/bench-strcmp.c: New file.
1569 * benchtests/bench-strcpy-ifunc.c: New file.
1570 * benchtests/bench-strcpy.c: New file.
1571 * benchtests/bench-strcspn-ifunc.c: New file.
1572 * benchtests/bench-strcspn.c: New file.
1573 * benchtests/bench-strlen-ifunc.c: New file.
1574 * benchtests/bench-strlen.c: New file.
1575 * benchtests/bench-strncasecmp-ifunc.c: New file.
1576 * benchtests/bench-strncasecmp.c: New file.
1577 * benchtests/bench-strncat-ifunc.c: New file.
1578 * benchtests/bench-strncat.c: New file.
1579 * benchtests/bench-strncmp-ifunc.c: New file.
1580 * benchtests/bench-strncmp.c: New file.
1581 * benchtests/bench-strncpy-ifunc.c: New file.
1582 * benchtests/bench-strncpy.c: New file.
1583 * benchtests/bench-strnlen-ifunc.c: New file.
1584 * benchtests/bench-strnlen.c: New file.
1585 * benchtests/bench-strpbrk-ifunc.c: New file.
1586 * benchtests/bench-strpbrk.c: New file.
1587 * benchtests/bench-strrchr-ifunc.c: New file.
1588 * benchtests/bench-strrchr.c: New file.
1589 * benchtests/bench-strspn-ifunc.c: New file.
1590 * benchtests/bench-strspn.c: New file.
1591 * benchtests/bench-strstr-ifunc.c: New file.
1592 * benchtests/bench-strstr.c: New file.
1593
1594 * benchtests/Makefile: Disable parallel execution of targets.
1595 (string-bench): Add memcpy.
1596 (benchset): New variable to store a list of benchmark sets.
1597 (bench-func): Renamed from bench.
1598 (bench-set): New target.
1599 (bench): Depend on bench-func and bench-set.
1600 * benchtests/README: Add section on benchmark sets.
1601 * benchtests/bench-memcpy-ifunc.c: New file.
1602 * benchtests/bench-memcpy.c: New file.
1603 * benchtests/bench-string.h: New file.
1604
1605 2013-06-11 Andreas Schwab <schwab@suse.de>
1606
1607 [BZ #15577]
1608 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1609 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1610 values in the triple.
1611 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1612 terminator in the group key.
1613
1614 2013-06-11 Andreas Jaeger <aj@suse.de>
1615
1616 * po/zh_TW.po: Update Chinese (traditional) translation from
1617 translation project.
1618
1619 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1620
1621 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1622 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1623 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1624 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1625 (clock_getcpuclockid): Likewise.
1626 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1627 Add weak_alias and libc_hidden_def.
1628 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1629 * rt/clock_gettime.c (clock_gettime): Rename to
1630 __clock_gettime. Add weak_alias and libc_hidden_def.
1631 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1632 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1633 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1634 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1635 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1636 Likewise.
1637 * rt/clock_settime.c (clock_settime): Rename to
1638 __clock_settime. Add weak_alias and libc_hidden_def.
1639 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1640
1641 2013-06-10 Joseph Myers <joseph@codesourcery.com>
1642
1643 * mach/err_boot.sub: Remove trailing whitespace.
1644 * mach/err_ipc.sub: Likewise.
1645 * mach/err_mach.sub: Likewise.
1646
1647 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1648 (ROUNDING_TESTS_double): Likewise.
1649 (ROUNDING_TESTS_long_double): Likewise.
1650 (ROUNDING_TESTS): Likewise.
1651 * math/libm-test.inc: Include <math-tests.h>.
1652 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1653 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1654 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1655 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1656
1657 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1658
1659 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1660 of assigning.
1661
1662 2013-06-08 Joseph Myers <joseph@codesourcery.com>
1663
1664 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1665 otherwise empty TRANS lines.
1666 * sysdeps/gnu/errlist.c: Regenerated.
1667
1668 * catgets/gencat.c (error_print): Use (void) in function
1669 definition.
1670 * crypt/crypt_util.c (__init_des): Likewise.
1671 * crypt/speeds.c (Stop): Likewise.
1672 (main): Likewise.
1673 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1674 * inet/ruserpass.c (token): Likewise.
1675 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1676 * intl/localealias.c (extend_alias_table): Likewise.
1677 * intl/plural-exp.c (init_germanic_plural): Likewise.
1678 * libio/fcloseall.c (__fcloseall): Likewise.
1679 * libio/genops.c (_IO_flush_all): Likewise.
1680 (_IO_flush_all_linebuffered): Likewise.
1681 (_IO_cleanup): Likewise.
1682 (_IO_iter_begin): Likewise.
1683 (_IO_iter_end): Likewise.
1684 (_IO_list_lock): Likewise.
1685 (_IO_list_unlock): Likewise.
1686 (_IO_list_resetlock): Likewise.
1687 * libio/getchar.c (getchar): Likewise.
1688 * libio/getchar_u.c (getchar_unlocked): Likewise.
1689 * libio/getwchar.c (getwchar): Likewise.
1690 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1691 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1692 * login/getpt.c (__getpt): Likewise.
1693 * login/tst-utmp.c (main): Likewise.
1694 * malloc/hooks.c (__malloc_check_init): Likewise.
1695 * malloc/malloc.c (__malloc_stats): Likewise.
1696 * malloc/mtrace.c (tr_break): Likewise.
1697 (mtrace): Likewise.
1698 (muntrace): Likewise.
1699 * misc/fstab.c (endfsent): Likewise.
1700 * misc/getclktck.c (__getclktck): Likewise.
1701 * misc/getdtsz.c (__getdtablesize): Likewise.
1702 * misc/gethostid.c (gethostid): Likewise.
1703 * misc/getpagesize.c (__getpagesize): Likewise.
1704 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1705 (__get_nprocs): Likewise.
1706 (__get_phys_pages): Likewise.
1707 (__get_avphys_pages): Likewise.
1708 * misc/getttyent.c (getttyent): Likewise.
1709 (setttyent): Likewise.
1710 (endttyent): Likewise.
1711 * misc/getusershell.c (getusershell): Likewise.
1712 (endusershell): Likewise.
1713 (setusershell): Likewise.
1714 (initshells): Likewise.
1715 * misc/hsearch.c (__hdestroy): Likewise.
1716 * misc/sync.c (sync): Likewise.
1717 * misc/syslog.c (closelog_internal): Likewise.
1718 (closelog): Likewise.
1719 * misc/ttyslot.c (ttyslot): Likewise.
1720 * misc/vhangup.c (vhangup): Likewise.
1721 * posix/fork.c (__fork): Likewise.
1722 * posix/getegid.c (__getegid): Likewise.
1723 * posix/geteuid.c (__geteuid): Likewise.
1724 * posix/getgid.c (__getgid): Likewise.
1725 * posix/getpid.c (__getpid): Likewise.
1726 * posix/getppid.c (__getppid): Likewise.
1727 * posix/getuid.c (__getuid): Likewise.
1728 * posix/pause.c (pause): Likewise.
1729 * posix/setpgrp.c (setpgrp): Likewise.
1730 * posix/setsid.c (__setsid): Likewise.
1731 * posix/test-vfork.c (noop): Likewise.
1732 * resolv/gethnamaddr.c (_endhtent): Likewise.
1733 (_gethtent): Likewise.
1734 (ht_endhostent): Likewise.
1735 (gethostent): Likewise.
1736 (dns_service): Likewise.
1737 * stdlib/drand48.c (drand48): Likewise.
1738 * stdlib/lrand48.c (lrand48): Likewise.
1739 * stdlib/mrand48.c (mrand48): Likewise.
1740 * stdlib/rand.c (rand): Likewise.
1741 * stdlib/random.c (__random): Likewise.
1742 * stdlib/setenv.c (clearenv): Likewise.
1743 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1744 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1745 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1746 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1747 (__get_nprocs): Likewise.
1748 (__get_phys_pages): Likewise.
1749 (__get_avphys_pages): Likewise.
1750 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1751 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1752 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1753 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1754 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1755 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1756 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1757 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1758 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1759 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1760 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1761 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1762 * sysdeps/posix/clock.c (clock): Likewise.
1763 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1764 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1765 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1766 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1767 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1768 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1769 (__get_nprocs_conf): Likewise.
1770 (__get_phys_pages): Likewise.
1771 (__get_avphys_pages): Likewise.
1772 * time/clock.c (clock): Likewise.
1773 * time/tzset.c (__tzname_max): Likewise.
1774
1775 2013-06-07 Joseph Myers <joseph@codesourcery.com>
1776
1777 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1778 (__bswap_32): Do not use "register".
1779 * crypt/crypt.c (_ufc_doit_r): Likewise.
1780 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1781 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1782 * gmon/gmon.c (__monstartup): Likewise.
1783 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1784 * hurd/hurdmalloc.c (more_memory): Likewise.
1785 (malloc): Likewise.
1786 (free): Likewise.
1787 (realloc): Likewise.
1788 (malloc_fork_prepare): Likewise.
1789 (malloc_fork_parent): Likewise.
1790 (malloc_fork_child): Likewise.
1791 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1792 (_svcauth_des): Likewise.
1793 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1794 * inet/inet_net.c (inet_network): Likewise.
1795 * inet/inet_netof.c (inet_netof): Likewise.
1796 * inet/rcmd.c (__validuser2_sa): Likewise.
1797 * io/fts.c (fts_open): Likewise.
1798 (fts_load): Likewise.
1799 (fts_close): Likewise.
1800 (fts_read): Likewise.
1801 (fts_children): Likewise.
1802 (fts_build): Likewise.
1803 (fts_stat): Likewise.
1804 (fts_sort): Likewise.
1805 (fts_alloc): Likewise.
1806 (fts_lfree): Likewise.
1807 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1808 (_IO_file_xsgetn): Likewise.
1809 (_IO_file_xsgetn_mmap): Likewise.
1810 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1811 (_IO_cookie_write): Likewise.
1812 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1813 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1814 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1815 * malloc/obstack.c (_obstack_begin): Likewise.
1816 (_obstack_begin_1): Likewise.
1817 (_obstack_newchunk): Likewise.
1818 (_obstack_allocated_p): Likewise.
1819 (obstack_free): Likewise.
1820 (_obstack_memory_used): Likewise.
1821 * misc/getttyent.c (getttynam): Likewise.
1822 (getttyent): Likewise.
1823 (skip): Likewise.
1824 (value): Likewise.
1825 * misc/getusershell.c (initshells): Likewise.
1826 * misc/syslog.c (__vsyslog_chk): Likewise.
1827 * misc/ttyslot.c (ttyslot): Likewise.
1828 * nis/nis_hash.c (__nis_hash): Likewise.
1829 * posix/fnmatch_loop.c (FCT): Likewise.
1830 * posix/getconf.c (print_all): Likewise.
1831 (main): Likewise.
1832 * posix/getopt.c (exchange): Likewise.
1833 * posix/glob.c (globfree): Likewise.
1834 (prefix_array): Likewise.
1835 (__glob_pattern_type): Likewise.
1836 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1837 (NS_GET32): Likewise.
1838 (NS_PUT16): Likewise.
1839 (NS_PUT32): Likewise.
1840 * resolv/gethnamaddr.c (getanswer): Likewise.
1841 (gethostbyname2): Likewise.
1842 (gethostbyaddr): Likewise.
1843 (_gethtent): Likewise.
1844 (_gethtbyname2): Likewise.
1845 (_gethtbyaddr): Likewise.
1846 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1847 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1848 * resolv/res_init.c (__res_vinit): Likewise.
1849 (net_mask): Likewise.
1850 * resolv/res_mkquery.c (outchar): Likewise.
1851 (PRINT): Likewise.
1852 * stdio-common/printf_fp.c (outchar): Likewise.
1853 (PRINT): Likewise.
1854 * stdio-common/printf_fphex.c (outchar): Likewise.
1855 (PRINT): Likewise.
1856 * stdio-common/printf_size.c (outchar): Likewise.
1857 (PRINT): Likewise.
1858 * stdio-common/test_rdwr.c (main): Likewise.
1859 * stdio-common/tfformat.c (matches): Likewise.
1860 * stdio-common/vfprintf.c (outchar): Likewise.
1861 (printf_unknown): Likewise.
1862 (buffered_vfprintf): Likewise.
1863 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1864 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1865 (ReadFile): Likewise.
1866 * stdlib/qsort.c (SWAP): Likewise.
1867 (_quicksort): Likewise.
1868 * stdlib/setenv.c (__add_to_environ): Likewise.
1869 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1870 * stdlib/strtol_l.c (__strtol_l): Likewise.
1871 * stdlib/tst-strtod.c (main): Likewise.
1872 * stdlib/tst-strtol.c (main): Likewise.
1873 * stdlib/tst-strtoll.c (main): Likewise.
1874 * string/bits/string2.h (__strcmp_cc): Likewise.
1875 (__strcmp_cg): Likewise.
1876 (__strcspn_c1): Likewise.
1877 (__strcspn_c2): Likewise.
1878 (__strcspn_c3): Likewise.
1879 (__strspn_c1): Likewise.
1880 (__strspn_c2): Likewise.
1881 (__strspn_c3): Likewise.
1882 (__strsep_1c): Likewise.
1883 (__strsep_2c): Likewise.
1884 (__strsep_3c): Likewise.
1885 * string/memccpy.c (__memccpy): Likewise.
1886 * string/stpcpy.c (__stpcpy): Likewise.
1887 * string/strcmp.c (strcmp): Likewise.
1888 * string/strrchr.c (strrchr): Likewise.
1889 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1890 Likewise.
1891 * sysdeps/mach/hurd/getcwd.c
1892 (_hurd_canonicalize_directory_name_internal): Likewise.
1893 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1894 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1895 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1896 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1897 Likewise, in both definitions.
1898 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1899 definitions.
1900 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1901 64] (__bswap_64): Likewise.
1902 * time/test_time.c (main): Likewise.
1903 * time/tzfile.c (__tzfile_read): Likewise.
1904 (__tzfile_compute): Likewise.
1905 * time/tzset.c (__tzset_parse_tz): Likewise.
1906 (tzset_internal): Likewise.
1907 (compute_change): Likewise.
1908 * wcsmbs/wcscat.c (__wcscat): Likewise.
1909 * wcsmbs/wcschr.c (wcschr): Likewise.
1910 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1911 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1912 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1913 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1914 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1915 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1916 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1917 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1918 * wcsmbs/wmemset.c (wmemset): Likewise.
1919
1920 2013-06-06 Joseph Myers <joseph@codesourcery.com>
1921
1922 * scripts/config.guess: Update to version 2013-05-16.
1923 * scripts/config.sub: Update to version 2013-04-24.
1924 * scripts/install-sh: Update to version 2011-11-20.07.
1925 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1926 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1927
1928 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
1929
1930 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1931 * elf/sln.c: Likewise.
1932 * hurd/hurd/ioctl.h: Likewise.
1933 * hurd/hurdmalloc.c: Likewise.
1934 * hurd/xattr.c: Likewise.
1935 * include/shlib-compat.h: Likewise.
1936 * inet/ruserpass.c: Likewise.
1937 * libio/iofgets_u.c: Likewise.
1938 * libio/iofgetws_u.c: Likewise.
1939 * locale/programs/ld-identification.c: Likewise.
1940 * locale/programs/ld-time.c: Likewise.
1941 * mach/msg-destroy.c: Likewise.
1942 * nss/nss_files/files-netgrp.c: Likewise.
1943 * resolv/res_data.c: Likewise.
1944 * soft-fp/op-1.h: Likewise.
1945 * soft-fp/op-2.h: Likewise.
1946 * soft-fp/op-4.h: Likewise.
1947 * soft-fp/op-common.h: Likewise.
1948 * stdio-common/printf_fphex.c: Likewise.
1949 * stdlib/strtod_l.c: Likewise.
1950 * sunrpc/rpc/clnt.h: Likewise.
1951 * sysdeps/generic/framestate.c: Likewise.
1952 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1953 * sysdeps/i386/bsd-setjmp.S: Likewise.
1954 * sysdeps/i386/__longjmp.S: Likewise.
1955 * sysdeps/i386/setjmp.S: Likewise.
1956 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1957 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1958 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1959 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1960 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1961 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1962 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1963 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1964 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1965 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1966 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1967 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1968 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1969 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1970 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1971 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1972 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1973 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1974 * sysdeps/ieee754/support.c: Likewise.
1975 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1976 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1977 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1978 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1979 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1980 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1981 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1982 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1983 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1984 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1985 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1986 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1987 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1988 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1989 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1990 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1991 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1993
1994 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
1995
1996 * posix/transbug.c: Remove executable mode.
1997
1998 2013-06-05 Joseph Myers <joseph@codesourcery.com>
1999
2000 * crypt/speeds.c: Remove trailing whitespace.
2001 * dlfcn/default.c: Likewise.
2002 * elf/ifuncdep2.c: Likewise.
2003 * elf/ifuncmain1.c: Likewise.
2004 * elf/ifuncmain1vis.c: Likewise.
2005 * elf/testobj.h: Likewise.
2006 * elf/tst-stackguard1.c: Likewise.
2007 * gmon/sys/gmon.h: Likewise.
2008 * hurd/hurdmsg.c: Likewise.
2009 * hurd/new-fd.c: Likewise.
2010 * hurd/ports-get.c: Likewise.
2011 * iconvdata/ibm1008_420.c: Likewise.
2012 * inet/tst-getni1.c: Likewise.
2013 * inet/tst-getni2.c: Likewise.
2014 * libio/ioungetc.c: Likewise.
2015 * libio/wfiledoalloc.c: Likewise.
2016 * manual/libm-err-tab.pl: Likewise.
2017 * math/w_dremf.c: Likewise.
2018 * misc/ftruncate.c: Likewise.
2019 * posix/bug-glob2.c: Likewise.
2020 * posix/tst-pcre.c: Likewise.
2021 * posix/wait4.c: Likewise.
2022 * resolv/README: Likewise.
2023 * resolv/res_debug.h: Likewise.
2024 * resolv/tst-inet_ntop.c: Likewise.
2025 * setjmp/bug269-setjmp.c: Likewise.
2026 * soft-fp/extended.h: Likewise.
2027 * soft-fp/op-1.h: Likewise.
2028 * soft-fp/op-2.h: Likewise.
2029 * soft-fp/op-4.h: Likewise.
2030 * soft-fp/op-8.h: Likewise.
2031 * soft-fp/testit.c: Likewise.
2032 * stdio-common/bug16.c: Likewise.
2033 * stdlib/random.c: Likewise.
2034 * sunrpc/rpcsvc/rquota.x: Likewise.
2035 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2036 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2037 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2038 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2039 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2040 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2041 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2042 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2043 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2044 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2045 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2046 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2047 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2048 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2049 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2050 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2051 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2052 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2053 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2054 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2055 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2056 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2057 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2058 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2059 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2060 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2061 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2062 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2063 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2064 * sysdeps/ieee754/s_lib_version.c: Likewise.
2065 * sysdeps/mach/hurd/check_fds.c: Likewise.
2066 * sysdeps/mach/hurd/getsockname.c: Likewise.
2067 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2068 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2069 * sysdeps/powerpc/bits/link.h: Likewise.
2070 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2071 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2072 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2073 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2074 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2075 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2076 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2077 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2078 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2079 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2080 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2081 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2082 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2083 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2084 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2085 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2086 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2087 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2088 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2089 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2090 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2091 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2092 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2093 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2094 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2095 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2096 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2097 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2098 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2099 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2100 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2101 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2102 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2103 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2104 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2105 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2106 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2107 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2108 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2109 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2110 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2111 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2112 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2113 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2114 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2115 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2116 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2117 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2118 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2119 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2120 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2121 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2122 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2123 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2124 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2125 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2126 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2127 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2128 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2129 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2130 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2131 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2132 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2133 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2134 * sysdeps/powerpc/sysdep.h: Likewise.
2135 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2136 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2137 * sysdeps/sh/dl-trampoline.S: Likewise.
2138 * sysdeps/sh/memset.S: Likewise.
2139 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2140 * sysdeps/sh/strlen.S: Likewise.
2141 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2142 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2143 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2144 * sysdeps/sparc/sparc32/rem.S: Likewise.
2145 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2146 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2147 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2148 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2149 * sysdeps/sparc/sparc32/urem.S: Likewise.
2150 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2151 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2152 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2153 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2154 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2155 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2156 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2157 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2158 * sysdeps/unix/bsd/times.c: Likewise.
2159 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2160 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2164 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2165 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2166 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2167 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2168 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2169 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2170 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2171 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2172 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2173 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2174 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2175 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2176 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2177 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2178 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2179 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2180 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2181 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2182 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2183 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2184 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2185 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2186 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2187 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2188 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2189 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2190 * sysdeps/x86_64/strcspn.S: Likewise.
2191
2192 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2193
2194 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2195 generated file. Regenerate properly from gen-translit.pl.
2196 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2197 locale/C-translit.h.
2198
2199 2013-06-05 Andreas Schwab <schwab@suse.de>
2200
2201 [BZ #15100]
2202 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2203 week as 6 instead of -1.
2204 * time/tst-strptime.c (day_tests): Add test case.
2205
2206 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2207
2208 * sysdeps/generic/math_private.h
2209 (libc_feholdexcept_setround_53bit): Replace with
2210 libc_feholdsetround_53bit.
2211 (libc_feupdateenv_53bit): Replace with
2212 libc_feresetround_53bit.
2213 (SET_RESTORE_ROUND_53BIT): Adjust.
2214
2215 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2216
2217 * string/test-strchrnul.c: Add copyright header.
2218
2219 * posix/tst-getaddrinfo4.c: Increase test timeout.
2220
2221 2013-06-03 Carlos O'Donell <carlos@redhat.com>
2222
2223 [BZ #15536]
2224 * math/libm-test.inc (MAX_EXP): Remove
2225 (MIN_EXP): Define.
2226 (ulp): Use MIN_EXP - MANT_DIG.
2227 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2228
2229 2013-05-31 Carlos O'Donell <carlos@redhat.com>
2230
2231 * po/be.po: Revert last change.
2232 * po/zh_CN.po: Likewise.
2233 * po/header.pot: Likewise.
2234
2235 2013-05-31 Joseph Myers <joseph@codesourcery.com>
2236
2237 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2238 link-libc-deps to empty as target-specific variable.
2239 * Makerules (link-libc-args): New variable.
2240 (libc-for-link): Likewise.
2241 (link-libc-deps): Likewise.
2242 (lib%.so): Depend on $(link-libc-deps). Link with
2243 $(link-libc-args).
2244 (build-module): Link with $(link-libc-args).
2245 (build-module-asneeded): Likewise.
2246 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2247 list of objects.
2248 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2249 target-specific variable.
2250 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2251 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2252 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2253 libc.
2254 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2255 libc and ld.so.
2256 ($(objpfx)libpcprofile.so): Likewise.
2257 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2258 libc_nonshared.a.
2259 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2260 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2261 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2262 $(link-libc-deps).
2263 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2264 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2265 * login/Makefile ($(objpfx)libutil.so): Likewise.
2266 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2267 * math/Makefile ($(objpfx)libm.so): Likewise.
2268 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2269 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2270 variable instead of depending directly on libc.
2271 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2272 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2273 $(link-libc-deps).
2274 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2275 libc.
2276 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2277 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2278 ($(objpfx)libanl.so): Likewise.
2279 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2280 ld.so.
2281 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2282 $(link-libc-deps).
2283 * sysdeps/i386/fpu/Makefile: Remove file.
2284 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2285 ($(objpfx)libm.so): Remove dependency on ld.so.
2286
2287 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
2288
2289 [BZ # 15553]
2290 * nis/yp_xdr.c (XDRMAXNAME): Define.
2291 (XDRMAXRECORD): Define.
2292 (xdr_domainname): Use XDRMAXNAME.
2293 (xdr_mapname): Likewise.
2294 (xdr_peername): Likewise.
2295 (xdr_keydat): Use XDRMAXRECORD.
2296 (xdr_valdat): Likewise.
2297
2298 2013-05-30 Jeff Law <law@redhat.com>
2299
2300 [BZ #14256]
2301 * manual/errno.texi (ESTALE): Update to account for more than
2302 just NFS file systems.
2303 * sysdeps/gnu/errlist.c: Regenerated.
2304
2305 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2306
2307 [BZ #15465]
2308 * elf/Makefile (tests): Add tst-null-argv.
2309 (modules-names): Add tst-null-argv-lib.
2310 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2311 (tst-null-argv-ENV): Set environment for tst-null-argv.
2312 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2313 (RTLD_PROGNAME): New macro.
2314 * elf/tst-null-argv.c: New test case.
2315 * elf/tst-null-argv-lib.c: Library for test case.
2316 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2317 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2318 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2319 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2320 * elf/dl-init.c (call_init): Likewise.
2321 (_dl_init): Likewise.
2322 * elf/dl-load.c (print_search_path): Likewise.
2323 (_dl_map_object): Likewise.
2324 * elf/dl-lookup.c (do_lookup_x): Likewise.
2325 (add_dependency): Likewise.
2326 (_dl_lookup_symbol_x): Likewise.
2327 (_dl_debug_bindings): Likewise.
2328 * elf/dl-open.c (_dl_show_scope): Likewise.
2329 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2330 * elf/dl-version.c (match_symbol): Likewise.
2331 (_dl_check_map_versions): Likewise.
2332 * elf/rtld.c (dl_main): Likewise.
2333 (print_unresolved): Use RTLD_PROGNAME.
2334 (print_missing_version): Likewise.
2335 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2336 (elf_machine_rela): Likewise.
2337 * sysdeps/powerpc/powerpc32/dl-machine.c
2338 (__process_machine_rela): Likewise.
2339 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2340 Likewise.
2341 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2342 Likewise.
2343 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2344 Likewise.
2345 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2346 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2347 Likewise.
2348 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2349 Likewise.
2350 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2351
2352 2013-05-28 Carlos O'Donell <carlos@redhat.com>
2353
2354 * po/be.po: Add descriptive title.
2355 * po/zh_CN.po: Likewise.
2356 * po/header.pot: Likewise.
2357
2358 2013-05-28 Mike Frysinger <vapier@gentoo.org>
2359
2360 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2361 error message.
2362 (enlarge_archive): Likewise.
2363
2364 2013-05-28 Ben North <ben@redfrontdoor.org>
2365
2366 * manual/arith.texi (frexp): It is the magnitude of the return
2367 value which lies in [0.5, 1), not the return value itself.
2368
2369 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2370
2371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2372
2373 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2374
2375 * stdio-common/bug26.c (main): Correct fscanf template.
2376
2377 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2378 declare _dl_skip_args.
2379
2380 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2381 Don't declare.
2382
2383 * manual/platform.texi: Add missing @end deftypefun.
2384
2385 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2386
2387 [BZ #15529]
2388 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2389 bit of mantissa of 2^16382.
2390 * math/libm-test.inc (hypot_test_data): Add more tests.
2391
2392 * math/libm-test.inc: Add drem and pow10 to list of tested
2393 functions.
2394 (pow10_test): New function.
2395 (drem_test): Likewise.
2396 (drem_test_tonearest): Likewise.
2397 (drem_test_towardzero): Likewise.
2398 (drem_test_downward): Likewise.
2399 (drem_test_upward): Likewise.
2400 (main): Call the new functions.
2401
2402 * math/libm-test.inc (finite_test_data): Remove.
2403 (finite_test): Run tests from isfinite_test_data.
2404 (gamma_test_data): Remove.
2405 (gamma_test): Run tests from lgamma_test_data.
2406 * sysdeps/i386/fpu/libm-test-ulps: Update.
2407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2408
2409 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2410
2411 * manual/platform.texi: Add PowerPC PPR function set documentation.
2412 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2413 implementation.
2414
2415 2013-05-24 Carlos O'Donell <carlos@redhat.com>
2416
2417 * math/libm-test.inc (MAX_EXP): Define.
2418 (ULPDIFF): Define.
2419 (ulp): New function.
2420 (check_float_internal): Use ULPDIFF.
2421 (cpow_test): Disable failing test.
2422 (check_ulp): Test ulp() implemetnation.
2423 (main): Call check_ulp before starting tests.
2424
2425 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2426
2427 * math/gen-libm-test.pl (generate_testfile): Do not handle
2428 START_DATA and END_DATA.
2429 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2430 END_DATA.
2431 (acos_tonearest_test_data): Likewise.
2432 (acos_towardzero_test_data): Likewise.
2433 (acos_downward_test_data): Likewise.
2434 (acos_upward_test_data): Likewise.
2435 (acosh_test_data): Likewise.
2436 (asin_test_data): Likewise.
2437 (asin_tonearest_test_data): Likewise.
2438 (asin_towardzero_test_data): Likewise.
2439 (asin_downward_test_data): Likewise.
2440 (asin_upward_test_data): Likewise.
2441 (asinh_test_data): Likewise.
2442 (atan_test_data): Likewise.
2443 (atanh_test_data): Likewise.
2444 (atan2_test_data): Likewise.
2445 (cabs_test_data): Likewise.
2446 (cacos_test_data): Likewise.
2447 (cacosh_test_data): Likewise.
2448 (carg_test_data): Likewise.
2449 (casin_test_data): Likewise.
2450 (casinh_test_data): Likewise.
2451 (catan_test_data): Likewise.
2452 (catanh_test_data): Likewise.
2453 (cbrt_test_data): Likewise.
2454 (ccos_test_data): Likewise.
2455 (ccosh_test_data): Likewise.
2456 (ceil_test_data): Likewise.
2457 (cexp_test_data): Likewise.
2458 (cimag_test_data): Likewise.
2459 (clog_test_data): Likewise.
2460 (clog10_test_data): Likewise.
2461 (conj_test_data): Likewise.
2462 (copysign_test_data): Likewise.
2463 (cos_test_data): Likewise.
2464 (cos_tonearest_test_data): Likewise.
2465 (cos_towardzero_test_data): Likewise.
2466 (cos_downward_test_data): Likewise.
2467 (cos_upward_test_data): Likewise.
2468 (cosh_test_data): Likewise.
2469 (cosh_tonearest_test_data): Likewise.
2470 (cosh_towardzero_test_data): Likewise.
2471 (cosh_downward_test_data): Likewise.
2472 (cosh_upward_test_data): Likewise.
2473 (cpow_test_data): Likewise.
2474 (cproj_test_data): Likewise.
2475 (creal_test_data): Likewise.
2476 (csin_test_data): Likewise.
2477 (csinh_test_data): Likewise.
2478 (csqrt_test_data): Likewise.
2479 (ctan_test_data): Likewise.
2480 (ctan_tonearest_test_data): Likewise.
2481 (ctan_towardzero_test_data): Likewise.
2482 (ctan_downward_test_data): Likewise.
2483 (ctan_upward_test_data): Likewise.
2484 (ctanh_test_data): Likewise.
2485 (ctanh_tonearest_test_data): Likewise.
2486 (ctanh_towardzero_test_data): Likewise.
2487 (ctanh_downward_test_data): Likewise.
2488 (ctanh_upward_test_data): Likewise.
2489 (erf_test_data): Likewise.
2490 (erfc_test_data): Likewise.
2491 (exp_test_data): Likewise.
2492 (exp_tonearest_test_data): Likewise.
2493 (exp_towardzero_test_data): Likewise.
2494 (exp_downward_test_data): Likewise.
2495 (exp_upward_test_data): Likewise.
2496 (exp10_test_data): Likewise.
2497 (exp2_test_data): Likewise.
2498 (expm1_test_data): Likewise.
2499 (fabs_test_data): Likewise.
2500 (fdim_test_data): Likewise.
2501 (finite_test_data): Likewise.
2502 (floor_test_data): Likewise.
2503 (fma_test_data): Likewise.
2504 (fma_towardzero_test_data): Likewise.
2505 (fma_downward_test_data): Likewise.
2506 (fma_upward_test_data): Likewise.
2507 (fmax_test_data): Likewise.
2508 (fmin_test_data): Likewise.
2509 (fmod_test_data): Likewise.
2510 (fpclassify_test_data): Likewise.
2511 (frexp_test_data): Likewise.
2512 (gamma_test_data): Likewise.
2513 (hypot_test_data): Likewise.
2514 (ilogb_test_data): Likewise.
2515 (isfinite_test_data): Likewise.
2516 (isgreater_test_data): Likewise.
2517 (isgreaterequal_test_data): Likewise.
2518 (isinf_test_data): Likewise.
2519 (isless_test_data): Likewise.
2520 (islessequal_test_data): Likewise.
2521 (islessgreater_test_data): Likewise.
2522 (isnan_test_data): Likewise.
2523 (isnormal_test_data): Likewise.
2524 (issignaling_test_data): Likewise.
2525 (isunordered_test_data): Likewise.
2526 (j0_test_data): Likewise.
2527 (j1_test_data): Likewise.
2528 (jn_test_data): Likewise.
2529 (ldexp_test_data): Likewise.
2530 (lgamma_test_data): Likewise.
2531 (lrint_test_data): Likewise.
2532 (lrint_tonearest_test_data): Likewise.
2533 (lrint_towardzero_test_data): Likewise.
2534 (lrint_downward_test_data): Likewise.
2535 (lrint_upward_test_data): Likewise.
2536 (llrint_test_data): Likewise.
2537 (llrint_tonearest_test_data): Likewise.
2538 (llrint_towardzero_test_data): Likewise.
2539 (llrint_downward_test_data): Likewise.
2540 (llrint_upward_test_data): Likewise.
2541 (log_test_data): Likewise.
2542 (log10_test_data): Likewise.
2543 (log1p_test_data): Likewise.
2544 (log2_test_data): Likewise.
2545 (logb_test_data): Likewise.
2546 (logb_downward_test_data): Likewise.
2547 (lround_test_data): Likewise.
2548 (llround_test_data): Likewise.
2549 (modf_test_data): Likewise.
2550 (nearbyint_test_data): Likewise.
2551 (nextafter_test_data): Likewise.
2552 (nexttoward_test_data): Likewise.
2553 (pow_test_data): Likewise.
2554 (pow_tonearest_test_data): Likewise.
2555 (pow_towardzero_test_data): Likewise.
2556 (pow_downward_test_data): Likewise.
2557 (pow_upward_test_data): Likewise.
2558 (remainder_test_data): Likewise.
2559 (remainder_tonearest_test_data): Likewise.
2560 (remainder_towardzero_test_data): Likewise.
2561 (remainder_downward_test_data): Likewise.
2562 (remainder_upward_test_data): Likewise.
2563 (remquo_test_data): Likewise.
2564 (rint_test_data): Likewise.
2565 (rint_tonearest_test_data): Likewise.
2566 (rint_towardzero_test_data): Likewise.
2567 (rint_downward_test_data): Likewise.
2568 (rint_upward_test_data): Likewise.
2569 (round_test_data): Likewise.
2570 (scalb_test_data): Likewise.
2571 (scalbn_test_data): Likewise.
2572 (scalbln_test_data): Likewise.
2573 (signbit_test_data): Likewise.
2574 (sin_test_data): Likewise.
2575 (sin_tonearest_test_data): Likewise.
2576 (sin_towardzero_test_data): Likewise.
2577 (sin_downward_test_data): Likewise.
2578 (sin_upward_test_data): Likewise.
2579 (sincos_test_data): Likewise.
2580 (sinh_test_data): Likewise.
2581 (sinh_tonearest_test_data): Likewise.
2582 (sinh_towardzero_test_data): Likewise.
2583 (sinh_downward_test_data): Likewise.
2584 (sinh_upward_test_data): Likewise.
2585 (sqrt_test_data): Likewise.
2586 (tan_test_data): Likewise.
2587 (tan_tonearest_test_data): Likewise.
2588 (tan_towardzero_test_data): Likewise.
2589 (tan_downward_test_data): Likewise.
2590 (tan_upward_test_data): Likewise.
2591 (tanh_test_data): Likewise.
2592 (tgamma_test_data): Likewise.
2593 (trunc_test_data): Likewise.
2594 (y0_test_data): Likewise.
2595 (y1_test_data): Likewise.
2596 (yn_test_data): Likewise.
2597 (significand_test_data): Likewise.
2598
2599 * math/gen-libm-test.pl (@functions): Remove variable.
2600 (generate_testfile): Don't handle START and END lines.
2601 * math/libm-test.inc (START): New macro.
2602 (END): Likewise.
2603 (END_COMPLEX): Likewise.
2604 (acos_test): Use END macro without arguments.
2605 (acos_test_tonearest): Likewise.
2606 (acos_test_towardzero): Likewise.
2607 (acos_test_downward): Likewise.
2608 (acos_test_upward): Likewise.
2609 (acosh_test): Likewise.
2610 (asin_test): Likewise.
2611 (asin_test_tonearest): Likewise.
2612 (asin_test_towardzero): Likewise.
2613 (asin_test_downward): Likewise.
2614 (asin_test_upward): Likewise.
2615 (asinh_test): Likewise.
2616 (atan_test): Likewise.
2617 (atanh_test): Likewise.
2618 (atan2_test): Likewise.
2619 (cabs_test): Likewise.
2620 (cacos_test): Use END_COMPLEX macro without arguments.
2621 (cacosh_test): Likewise.
2622 (carg_test): Use END macro without arguments.
2623 (casin_test): Use END_COMPLEX macro without arguments.
2624 (casinh_test): Likewise.
2625 (catan_test): Likewise.
2626 (catanh_test): Likewise.
2627 (cbrt_test): Use END macro without arguments.
2628 (ccos_test): Use END_COMPLEX macro without arguments.
2629 (ccosh_test): Likewise.
2630 (ceil_test): Use END macro without arguments.
2631 (cexp_test): Use END_COMPLEX macro without arguments.
2632 (cimag_test): Use END macro without arguments.
2633 (clog_test): Use END_COMPLEX macro without arguments.
2634 (clog10_test): Likewise.
2635 (conj_test): Likewise.
2636 (copysign_test): Use END macro without arguments.
2637 (cos_test): Likewise.
2638 (cos_test_tonearest): Likewise.
2639 (cos_test_towardzero): Likewise.
2640 (cos_test_downward): Likewise.
2641 (cos_test_upward): Likewise.
2642 (cosh_test): Likewise.
2643 (cosh_test_tonearest): Likewise.
2644 (cosh_test_towardzero): Likewise.
2645 (cosh_test_downward): Likewise.
2646 (cosh_test_upward): Likewise.
2647 (cpow_test): Use END_COMPLEX macro without arguments.
2648 (cproj_test): Likewise.
2649 (creal_test): Use END macro without arguments.
2650 (csin_test): Use END_COMPLEX macro without arguments.
2651 (csinh_test): Likewise.
2652 (csqrt_test): Likewise.
2653 (ctan_test): Likewise.
2654 (ctan_test_tonearest): Likewise.
2655 (ctan_test_towardzero): Likewise.
2656 (ctan_test_downward): Likewise.
2657 (ctan_test_upward): Likewise.
2658 (ctanh_test): Likewise.
2659 (ctanh_test_tonearest): Likewise.
2660 (ctanh_test_towardzero): Likewise.
2661 (ctanh_test_downward): Likewise.
2662 (ctanh_test_upward): Likewise.
2663 (erf_test): Use END macro without arguments.
2664 (erfc_test): Likewise.
2665 (exp_test): Likewise.
2666 (exp_test_tonearest): Likewise.
2667 (exp_test_towardzero): Likewise.
2668 (exp_test_downward): Likewise.
2669 (exp_test_upward): Likewise.
2670 (exp10_test): Likewise.
2671 (exp2_test): Likewise.
2672 (expm1_test): Likewise.
2673 (fabs_test): Likewise.
2674 (fdim_test): Likewise.
2675 (finite_test): Likewise.
2676 (floor_test): Likewise.
2677 (fma_test): Likewise.
2678 (fma_test_towardzero): Likewise.
2679 (fma_test_downward): Likewise.
2680 (fma_test_upward): Likewise.
2681 (fmax_test): Likewise.
2682 (fmin_test): Likewise.
2683 (fmod_test): Likewise.
2684 (fpclassify_test): Likewise.
2685 (frexp_test): Likewise.
2686 (gamma_test): Likewise.
2687 (hypot_test): Likewise.
2688 (ilogb_test): Likewise.
2689 (isfinite_test): Likewise.
2690 (isgreater_test): Likewise.
2691 (isgreaterequal_test): Likewise.
2692 (isinf_test): Likewise.
2693 (isless_test): Likewise.
2694 (islessequal_test): Likewise.
2695 (islessgreater_test): Likewise.
2696 (isnan_test): Likewise.
2697 (isnormal_test): Likewise.
2698 (issignaling_test): Likewise.
2699 (isunordered_test): Likewise.
2700 (j0_test): Likewise.
2701 (j1_test): Likewise.
2702 (jn_test): Likewise.
2703 (ldexp_test): Likewise.
2704 (lgamma_test): Likewise.
2705 (lrint_test): Likewise.
2706 (lrint_test_tonearest): Likewise.
2707 (lrint_test_towardzero): Likewise.
2708 (lrint_test_downward): Likewise.
2709 (lrint_test_upward): Likewise.
2710 (llrint_test): Likewise.
2711 (llrint_test_tonearest): Likewise.
2712 (llrint_test_towardzero): Likewise.
2713 (llrint_test_downward): Likewise.
2714 (llrint_test_upward): Likewise.
2715 (log_test): Likewise.
2716 (log10_test): Likewise.
2717 (log1p_test): Likewise.
2718 (log2_test): Likewise.
2719 (logb_test): Likewise.
2720 (logb_test_downward): Likewise.
2721 (lround_test): Likewise.
2722 (llround_test): Likewise.
2723 (modf_test): Likewise.
2724 (nearbyint_test): Likewise.
2725 (nextafter_test): Likewise.
2726 (nexttoward_test): Likewise.
2727 (pow_test): Likewise.
2728 (pow_test_tonearest): Likewise.
2729 (pow_test_towardzero): Likewise.
2730 (pow_test_downward): Likewise.
2731 (pow_test_upward): Likewise.
2732 (remainder_test): Likewise.
2733 (remainder_test_tonearest): Likewise.
2734 (remainder_test_towardzero): Likewise.
2735 (remainder_test_downward): Likewise.
2736 (remainder_test_upward): Likewise.
2737 (remquo_test): Likewise.
2738 (rint_test): Likewise.
2739 (rint_test_tonearest): Likewise.
2740 (rint_test_towardzero): Likewise.
2741 (rint_test_downward): Likewise.
2742 (rint_test_upward): Likewise.
2743 (round_test): Likewise.
2744 (scalb_test): Likewise.
2745 (scalbn_test): Likewise.
2746 (scalbln_test): Likewise.
2747 (signbit_test): Likewise.
2748 (sin_test): Likewise.
2749 (sin_test_tonearest): Likewise.
2750 (sin_test_towardzero): Likewise.
2751 (sin_test_downward): Likewise.
2752 (sin_test_upward): Likewise.
2753 (sincos_test): Likewise.
2754 (sinh_test): Likewise.
2755 (sinh_test_tonearest): Likewise.
2756 (sinh_test_towardzero): Likewise.
2757 (sinh_test_downward): Likewise.
2758 (sinh_test_upward): Likewise.
2759 (sqrt_test): Likewise.
2760 (tan_test): Likewise.
2761 (tan_test_tonearest): Likewise.
2762 (tan_test_towardzero): Likewise.
2763 (tan_test_downward): Likewise.
2764 (tan_test_upward): Likewise.
2765 (tanh_test): Likewise.
2766 (tgamma_test): Likewise.
2767 (trunc_test): Likewise.
2768 (y0_test): Likewise.
2769 (y1_test): Likewise.
2770 (yn_test): Likewise.
2771 (significand_test): Likewise.
2772
2773 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
2774
2775 [BZ #15381]
2776 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2777
2778 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2779
2780 [BZ #14894]
2781 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2782 __ppc_mdoio and __ppc_mdoom.
2783 * manual/platform.texi: Document new functions __ppc_yield,
2784 __ppc_mdoio and __ppc_mdoom.
2785
2786 2013-05-22 Carlos O'Donell <carlos@redhat.com>
2787
2788 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2789 (main): Mention "tls" pseudo-hwcap is legacy.
2790 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2791
2792 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2793
2794 * math/gen-libm-test.pl (parse_args): Output only string of
2795 arguments as text for test name, not full call or descriptions of
2796 tests for extra outputs.
2797 (generate_testfile): Do not pass function name to parse_args.
2798 Generate this_func variable from START.
2799 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2800 field to arg_str.
2801 (struct test_ff_f_data): Likewise.
2802 (test_ff_f_data_nexttoward): Likewise.
2803 (struct test_fi_f_data): Likewise.
2804 (struct test_fl_f_data): Likewise.
2805 (struct test_if_f_data): Likewise.
2806 (struct test_fff_f_data): Likewise.
2807 (struct test_c_f_data): Likewise.
2808 (struct test_f_f1_data): Likewise. Remove field extra_name.
2809 (struct test_fF_f1_data): Likewise.
2810 (struct test_ffI_f1_data): Likewise.
2811 (struct test_c_c_data): Rename test_name field to arg_str.
2812 (struct test_cc_c_data): Likewise.
2813 (struct test_f_i_data): Likewise.
2814 (struct test_ff_i_data): Likewise.
2815 (struct test_f_l_data): Likewise.
2816 (struct test_f_L_data): Likewise.
2817 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2818 and extra2_name.
2819 (COMMON_TEST_SETUP): New macro.
2820 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2821 (COMMON_TEST_CLEANUP): Likewise.
2822 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2823 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2824 macros.
2825 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2826 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2827 macros.
2828 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2829 (RUN_TEST_fff_f): Take argument string. Call new setup and
2830 cleanup macros.
2831 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2832 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2833 macros.
2834 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2835 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2836 macros.
2837 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2838 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2839 cleanup macros.
2840 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2841 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2842 cleanup macros.
2843 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2844 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2845 cleanup macros.
2846 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2847 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2848 macros.
2849 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2850 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2851 macros.
2852 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2853 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2854 macros.
2855 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2856 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2857 cleanup macros.
2858 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2859 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2860 cleanup macros.
2861 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2862 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2863 macros.
2864 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2865 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2866 cleanup macros.
2867 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2868 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2869 macros.
2870 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2871 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2872 macros.
2873 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2874 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2875 cleanup macros.
2876 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2877
2878 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2879
2880 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2881 to _sifields.sigfault.
2882 (si_addr_lsb): Define new macro.
2883 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2884 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2885 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2886
2887 2013-05-03 Carlos O'Donell <carlos at redhat.com>
2888
2889 [BZ #15441]
2890 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2891 returns -1.
2892 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2893 null return -1.
2894 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2895 loading the domain.
2896
2897 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2898
2899 * math/gen-libm-test.pl (parse_args): Do not include expected
2900 result in test name.
2901 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2902 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2903 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2904 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2905 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2907
2908 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2909
2910 * benchtests/Makefile: Sort function entries.
2911
2912 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2913 tanh, asinh, acosh, atanh.
2914 * benchtests/acos-inputs: New file.
2915 * benchtests/acosh-inputs: New file.
2916 * benchtests/asin-inputs: New file.
2917 * benchtests/asinh-inputs: New file.
2918 * benchtests/atanh-inputs: New file.
2919 * benchtests/cosh-inputs: New file.
2920 * benchtests/log-inputs: New file.
2921 * benchtests/sinh-inputs: New file.
2922 * benchtests/tanh-inputs: New file.
2923
2924 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2925
2926 [BZ #15339]
2927 * posix/tst-getaddrinfo4.c: New test.
2928 * posix/Makefile (tests): Add it.
2929
2930 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2931
2932 [BZ #15339]
2933 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2934 when no services were used.
2935 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2936 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2937
2938 2013-05-21 Andreas Schwab <schwab@suse.de>
2939
2940 [BZ #15014]
2941 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2942 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2943 successful.
2944 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2945 redundant variable declarations and reallocation of buffer when
2946 parsing as IPv6 address. Always set NSS status when called from
2947 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2948 buffer too small. Correct computation of needed size.
2949 * nss/Makefile (tests): Add test-digits-dots.
2950 * nss/test-digits-dots.c: New test.
2951
2952 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2953
2954 * benchtests/Makefile: Remove instructions for adding
2955 benchmark tests.
2956 * benchtests/README: New file to explain how to execute and
2957 enhance the benchmark tests.
2958
2959 2013-05-21 Andreas Schwab <schwab@suse.de>
2960
2961 [BZ #15493]
2962 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2963 * setjmp/tst-sigsetjmp.c: New test.
2964
2965 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
2966
2967 * sysdeps/x86_64/memset.S (memset): New implementation.
2968 (__bzero): Likewise.
2969 (__memset_tail): New function.
2970
2971 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
2972
2973 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2974 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2975 __memcpy_sse2_unaligned ifunc selection.
2976 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2977 Add memcpy-sse2-unaligned.S.
2978 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2979 Add: __memcpy_sse2_unaligned.
2980
2981 2013-05-19 Joseph Myers <joseph@codesourcery.com>
2982
2983 [BZ #15490]
2984 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2985 math_force_eval before restoring floating-point envrionment.
2986 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2987 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2988 Likewise.
2989 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2990 <math_private.h>.
2991 (__nearbyintl): Use math_force_eval before restoring
2992 floating-point environment.
2993 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2994
2995 * math/gen-libm-test.pl (special_functions): Remove.
2996 (parse_args): Don't handle TEST_extra. Handle functions with no
2997 return value.
2998 * math/libm-test.inc (struct test_sincos_data): Replace with
2999 struct test_fFF_11_data.
3000 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3001 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3002 (sincos_test_data): Change element type to struct
3003 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3004 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3005 RUN_TEST_LOOP_sincos.
3006 * math/README.libm-test: Don't mention special handling of
3007 individual functions.
3008 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3009 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3010 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3011 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3012 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3014
3015 * math/gen-libm-test.pl (get_variable): Remove function.
3016 (parse_args): Don't show pointer parameters to call in test
3017 names. Use "extra output N" in test names for extra outputs
3018 rather than naming variables.
3019
3020 2013-05-18 Joseph Myers <joseph@codesourcery.com>
3021
3022 [BZ #15488]
3023 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3024 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3025 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3026 double tests.
3027 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3028 disable.
3029 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3030 check_long_double.
3031
3032 * math/gen-libm-test.pl (@tests): Remove variable.
3033 ($count): Likewise.
3034 (new_test): Remove function.
3035 (show_exceptions): New function.
3036 (special_functions): Use show_exceptions instead of new_test.
3037 (parse_args): Likewise.
3038 (generate_testfile): Pass only function name in generated call to
3039 print_max_error or print_complex_max_error.
3040 (get_ulps): Do not handle complex tests specially.
3041 (output_test): Rename to ...
3042 (get_all_ulps_for_test): ... this. Return a string rather than
3043 printing to a file. Require ulps to be present.
3044 (output_ulps): Generate arrays rather than #defines.
3045 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3046 (struct ulp_data): New type.
3047 (BUILD_COMPLEX_ULP): Remove macro.
3048 (compare_ulp_data): New function.
3049 (find_ulps): Likewise.
3050 (find_test_ulps): Likewise.
3051 (find_function_ulps): Likewise.
3052 (find_complex_function_ulps): Likewise.
3053 (print_max_error): Determine allowed ulps using
3054 find_function_ulps.
3055 (print_complex_max_error): Determine allowed ulps using
3056 find_complex_function_ulps.
3057 (check_float_internal): Determine max ulps using find_test_ulps.
3058 (check_float): Do not take max_ulp parameter. Update call to
3059 check_float_internal.
3060 (check_complex): Likewise.
3061 (check_int): Do not take max_ulp parameter.
3062 (check_long): Likewise.
3063 (check_bool): Likewise.
3064 (check_longlong): Likewise.
3065 (struct test_f_f_data): Remove max_ulp field.
3066 (struct test_ff_f_data): Likewise.
3067 (struct test_ff_f_data_nexttoward): Likewise.
3068 (struct test_fi_f_data): Likewise.
3069 (struct test_fl_f_data): Likewise.
3070 (struct test_if_f_data): Likewise.
3071 (struct test_fff_f_data): Likewise.
3072 (struct test_c_f_data): Likewise.
3073 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3074 (struct test_fF_f1_data): Likewise.
3075 (struct test_ffI_f1_data): Likewise.
3076 (struct test_c_c_data): Remove max_ulp field.
3077 (struct test_cc_c_data): Likewise.
3078 (struct test_f_i_data): Likewise.
3079 (struct test_ff_i_data): Likewise.
3080 (struct test_f_l_data): Likewise.
3081 (struct test_f_L_data): Likewise.
3082 (struct test_sincos_data): Likewise.
3083 (RUN_TEST_f_f): Do not handle ulps.
3084 (RUN_TEST_LOOP_f_f): Likewise.
3085 (RUN_TEST_2_f): Likewise.
3086 (RUN_TEST_LOOP_2_f): Likewise.
3087 (RUN_TEST_fff_f): Likewise.
3088 (RUN_TEST_LOOP_fff_f): Likewise.
3089 (RUN_TEST_c_f): Likewise.
3090 (RUN_TEST_LOOP_c_f): Likewise.
3091 (RUN_TEST_f_f1): Likewise.
3092 (RUN_TEST_LOOP_f_f1): Likewise.
3093 (RUN_TEST_fF_f1): Likewise.
3094 (RUN_TEST_LOOP_fF_f1): Likewise.
3095 (RUN_TEST_fI_f1): Likewise.
3096 (RUN_TEST_LOOP_fI_f1): Likewise.
3097 (RUN_TEST_ffI_f1): Likewise.
3098 (RUN_TEST_LOOP_ffI_f1): Likewise.
3099 (RUN_TEST_c_c): Likewise.
3100 (RUN_TEST_LOOP_c_c): Likewise.
3101 (RUN_TEST_cc_c): Likewise.
3102 (RUN_TEST_LOOP_cc_c): Likewise.
3103 (RUN_TEST_f_i): Likewise.
3104 (RUN_TEST_LOOP_f_i): Likewise.
3105 (RUN_TEST_f_i_tg): Likewise.
3106 (RUN_TEST_LOOP_f_i_tg): Likewise.
3107 (RUN_TEST_ff_i_tg): Likewise.
3108 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3109 (RUN_TEST_f_b): Likewise.
3110 (RUN_TEST_LOOP_f_b): Likewise.
3111 (RUN_TEST_f_b_tg): Likewise.
3112 (RUN_TEST_LOOP_f_b_tg): Likewise.
3113 (RUN_TEST_f_l): Likewise.
3114 (RUN_TEST_LOOP_f_l): Likewise.
3115 (RUN_TEST_f_L): Likewise.
3116 (RUN_TEST_LOOP_f_L): Likewise.
3117 (RUN_TEST_sincos): Likewise.
3118 (RUN_TEST_LOOP_sincos): Likewise.
3119
3120 2013-05-17 Joseph Myers <joseph@codesourcery.com>
3121
3122 [BZ #15480]
3123 [BZ #15485]
3124 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3125 main case of finite arguments, set rounding mode to FE_TONEAREST
3126 and discard exceptions.
3127 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3128 exceptions.
3129 (remainder_tonearest_test_data): New variable.
3130 (remainder_test_tonearest): New function.
3131 (remainder_towardzero_test_data): New variable.
3132 (remainder_test_towardzero): New function.
3133 (remainder_downward_test_data): New variable.
3134 (remainder_test_downward): New function.
3135 (remainder_upward_test_data): New variable.
3136 (remainder_test_upward): New function.
3137 (main): Call the new test functions.
3138
3139 * math/libm-test.inc (struct test_f_f1_data): Remove field
3140 extra_init.
3141 (struct test_fF_f1_data): Likewise.
3142 (struct test_ffI_f1_data): Likewise.
3143 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3144 based on value of EXTRA_EXPECTED.
3145 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3146 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3147 EXTRA_VAR based on value of EXTRA_EXPECTED.
3148 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3149 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3150 EXTRA_VAR based on value of EXTRA_EXPECTED.
3151 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3152 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3153 EXTRA_VAR based on value of EXTRA_EXPECTED.
3154 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3155 * math/gen-libm-test.pl (parse_args): Don't output initializers
3156 for extra output values.
3157
3158 * math/libm-test.inc (check_int): Expect result to be exactly
3159 equal to expected value and do not handle ulps.
3160 (check_long): Likewise.
3161 (check_longlong): Likewise.
3162
3163 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3164 exceptions.
3165 (cimag_test_data): Likewise.
3166 (conj_test_data): Likewise.
3167 (copysign_test_data): Likewise.
3168 (cproj_test_data): Likewise.
3169 (creal_test_data): Likewise.
3170 (fabs_test_data): Likewise.
3171 (fdim_test_data): Likewise.
3172 (finite_test_data): Likewise.
3173 (floor_test_data): Likewise.
3174 (fmax_test_data): Likewise.
3175 (fmin_test_data): Likewise.
3176 (fmod_test_data): Likewise.
3177 (fpclassify_test_data): Likewise.
3178 (frexp_test_data): Likewise.
3179 (ilogb_test_data): Likewise.
3180 (isfinite_test_data): Likewise.
3181 (isgreater_test_data): Likewise.
3182 (isgreaterequal_test_data): Likewise.
3183 (isinf_test_data): Likewise.
3184 (isless_test_data): Likewise.
3185 (islessequal_test_data): Likewise.
3186 (islessgreater_test_data): Likewise.
3187 (isnan_test_data): Likewise.
3188 (isnormal_test_data): Likewise.
3189 (issignaling_test_data): Likewise.
3190 (isunordered_test_data): Likewise.
3191 (ldexp_test_data): Likewise.
3192 (lrint_test_data): Likewise.
3193 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3194 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3195 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3196 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3197 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3198 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3199 test input.
3200 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3201 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3202 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3203 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3204 that test input.
3205 (lrint_downward_test_data): Test for "inexact" exceptions.
3206 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3207 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3208 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3209 test input.
3210 (lrint_upward_test_data): Test for "inexact" exceptions.
3211 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3212 test input.
3213 (llrint_test_data): Test for "inexact" exceptions.
3214 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3215 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3216 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3217 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3218 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3219 (llrint_downward_test_data): Test for "inexact" exceptions.
3220 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3221 (llrint_upward_test_data): Test for "inexact" exceptions.
3222 (logb_test_data): Likewise.
3223 (logb_downward_test_data): Likewise.
3224 (nextafter_test_data): Likewise.
3225 (nexttoward_test_data): Likewise.
3226 (remainder_test_data): Likewise.
3227 (remquo_test_data): Likewise.
3228 (scalbn_test_data): Likewise.
3229 (scalbln_test_data): Likewise.
3230 (signbit_test_data): Likewise.
3231 (sqrt_test_data): Likewise.
3232 (significand_test_data): Likewise.
3233
3234 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3235
3236 [BZ #15424]
3237 * benchtests/bench-modf.c (struct args): Mark arg0 as
3238 volatile.
3239 * scripts/bench.pl: Mark members of struct args as volatile.
3240
3241 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3242
3243 [BZ # 15497]
3244 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3245 negative infinity on POWER6 or lower.
3246 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3247
3248 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3249
3250 [BZ #15442]
3251 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3252 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3253 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3254 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3255 (_FP_SETQNAN): New macro.
3256 (_FP_SETQNAN_SEMIRAW): Likewise.
3257 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3258 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3259 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3260 (FP_EXTEND): Use _FP_FRAC_SNANP.
3261 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3262 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3263 into account.
3264 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3265 New macro.
3266 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3267 Likewise.
3268
3269 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3270
3271 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3272 with DIVIDE_BY_ZERO_EXCEPTION.
3273 (gamma_test_data): Likewise.
3274 (lgamma_test_data): Likewise.
3275 (log_test_data): Likewise.
3276 (log10_test_data): Likewise.
3277 (log2_test_data): Likewise.
3278 (tgamma_test_data): Likewise.
3279
3280 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3281 (acos_test_tonearest): Likewise.
3282 (acos_test_towardzero): Likewise.
3283 (acos_test_downward): Likewise.
3284 (acos_test_upward): Likewise.
3285 (acosh_test): Likewise.
3286 (asin_test): Likewise.
3287 (asin_test_tonearest): Likewise.
3288 (asin_test_towardzero): Likewise.
3289 (asin_test_downward): Likewise.
3290 (asin_test_upward): Likewise.
3291 (asinh_test): Likewise.
3292 (atan_test): Likewise.
3293 (atanh_test): Likewise.
3294 (atan2_test): Likewise.
3295 (cabs_test): Likewise.
3296 (cacos_test): Likewise.
3297 (cacosh_test): Likewise.
3298 (casin_test): Likewise.
3299 (casinh_test): Likewise.
3300 (catan_test): Likewise.
3301 (catanh_test): Likewise.
3302 (cbrt_test): Likewise.
3303 (ccos_test): Likewise.
3304 (ccosh_test): Likewise.
3305 (cexp_test): Likewise.
3306 (clog_test): Likewise.
3307 (clog10_test): Likewise.
3308 (cos_test): Likewise.
3309 (cos_test_tonearest): Likewise.
3310 (cos_test_towardzero): Likewise.
3311 (cos_test_downward): Likewise.
3312 (cos_test_upward): Likewise.
3313 (cosh_test): Likewise.
3314 (cosh_test_tonearest): Likewise.
3315 (cosh_test_towardzero): Likewise.
3316 (cosh_test_downward): Likewise.
3317 (cosh_test_upward): Likewise.
3318 (cpow_test): Likewise.
3319 (csin_test): Likewise.
3320 (csinh_test): Likewise.
3321 (csqrt_test): Likewise.
3322 (ctan_test): Likewise.
3323 (ctan_test_tonearest): Likewise.
3324 (ctan_test_towardzero): Likewise.
3325 (ctan_test_downward): Likewise.
3326 (ctan_test_upward): Likewise.
3327 (ctanh_test): Likewise.
3328 (ctanh_test_tonearest): Likewise.
3329 (ctanh_test_towardzero): Likewise.
3330 (ctanh_test_downward): Likewise.
3331 (ctanh_test_upward): Likewise.
3332 (erf_test): Likewise.
3333 (erfc_test): Likewise.
3334 (exp_test): Likewise.
3335 (exp_test_tonearest): Likewise.
3336 (exp_test_towardzero): Likewise.
3337 (exp_test_downward): Likewise.
3338 (exp_test_upward): Likewise.
3339 (exp10_test): Likewise.
3340 (exp2_test): Likewise.
3341 (expm1_test): Likewise.
3342 (fmod_test): Likewise.
3343 (gamma_test): Likewise.
3344 (hypot_test): Likewise.
3345 (j0_test): Likewise.
3346 (j1_test): Likewise.
3347 (jn_test): Likewise.
3348 (lgamma_test): Likewise.
3349 (log_test): Likewise.
3350 (log10_test): Likewise.
3351 (log1p_test): Likewise.
3352 (log2_test): Likewise.
3353 (logb_test_downward): Likewise.
3354 (pow_test): Likewise.
3355 (pow_test_tonearest): Likewise.
3356 (pow_test_towardzero): Likewise.
3357 (pow_test_downward): Likewise.
3358 (pow_test_upward): Likewise.
3359 (remainder_test): Likewise.
3360 (remquo_test): Likewise.
3361 (sin_test): Likewise.
3362 (sin_test_tonearest): Likewise.
3363 (sin_test_towardzero): Likewise.
3364 (sin_test_downward): Likewise.
3365 (sin_test_upward): Likewise.
3366 (sincos_test): Likewise.
3367 (sinh_test): Likewise.
3368 (sinh_test_tonearest): Likewise.
3369 (sinh_test_towardzero): Likewise.
3370 (sinh_test_downward): Likewise.
3371 (sinh_test_upward): Likewise.
3372 (sqrt_test): Likewise.
3373 (tan_test): Likewise.
3374 (tan_test_tonearest): Likewise.
3375 (tan_test_towardzero): Likewise.
3376 (tan_test_downward): Likewise.
3377 (tan_test_upward): Likewise.
3378 (tanh_test): Likewise.
3379 (tgamma_test): Likewise.
3380 (y0_test): Likewise.
3381 (y1_test): Likewise.
3382 (yn_test): Likewise.
3383
3384 * math/gen-libm-test.pl (adjust_arg): Remove function.
3385 (special_function): Remove argument $in_func. Only handle
3386 generating output for tables of tests, not inside functions.
3387 (parse_args): Likewise.
3388 (generate_testfile): Remove variable $in_func. Update call to
3389 parse_args.
3390 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3391 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3392 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3393 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3394 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3395 (MAX_VALUE_INIT): Rename macro to max_value.
3396 (MIN_VALUE_INIT): Rename macro to min_value.
3397 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3398 (plus_zero): Remove variable.
3399 (minus_zero): Likewise.
3400 (plus_infty): Likewise.
3401 (minus_infty): Likewise.
3402 (qnan_value): Likewise.
3403 (max_value): Likewise.
3404 (min_value): Likewise.
3405 (min_subnorm_value): Likewise.
3406
3407 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3408
3409 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3410 uint64_t or uint32_t usage.
3411 * crypt/sha256-block.c: Likewise.
3412 * crypt/sha256-crypt.c: Likewise.
3413 * crypt/sha256.c: Likewise.
3414 * crypt/sha512-block.c: Likewise.
3415 * crypt/sha512-crypt.c: Likewise.
3416 * crypt/sha512.c: Likewise.
3417 * debug/backtrace-tst.c: Likewise.
3418 * debug/pcprofiledump.c: Likewise.
3419 * elf/cache.c: Likewise.
3420 * elf/dl-cache.c: Likewise.
3421 * elf/dl-misc.c: Likewise.
3422 * elf/dl-profile.c: Likewise.
3423 * elf/dl-support.c: Likewise.
3424 * elf/ldconfig.c: Likewise.
3425 * elf/sprof.c: Likewise.
3426 * iconv/dummy-repertoire.c: Likewise.
3427 * iconv/iconv_charmap.c: Likewise.
3428 * iconv/skeleton.c: Likewise.
3429 * iconvdata/8bit-generic.c: Likewise.
3430 * iconvdata/cp737.h: Likewise.
3431 * iconvdata/cp775.h: Likewise.
3432 * iconvdata/ibm1008.h: Likewise.
3433 * iconvdata/ibm1025.h: Likewise.
3434 * iconvdata/ibm1046.h: Likewise.
3435 * iconvdata/ibm1097.h: Likewise.
3436 * iconvdata/ibm1112.h: Likewise.
3437 * iconvdata/ibm1122.h: Likewise.
3438 * iconvdata/ibm1123.h: Likewise.
3439 * iconvdata/ibm1124.h: Likewise.
3440 * iconvdata/ibm1129.h: Likewise.
3441 * iconvdata/ibm1130.h: Likewise.
3442 * iconvdata/ibm1132.h: Likewise.
3443 * iconvdata/ibm1133.h: Likewise.
3444 * iconvdata/ibm1137.h: Likewise.
3445 * iconvdata/ibm1140.h: Likewise.
3446 * iconvdata/ibm1141.h: Likewise.
3447 * iconvdata/ibm1142.h: Likewise.
3448 * iconvdata/ibm1143.h: Likewise.
3449 * iconvdata/ibm1144.h: Likewise.
3450 * iconvdata/ibm1145.h: Likewise.
3451 * iconvdata/ibm1146.h: Likewise.
3452 * iconvdata/ibm1147.h: Likewise.
3453 * iconvdata/ibm1148.h: Likewise.
3454 * iconvdata/ibm1149.h: Likewise.
3455 * iconvdata/ibm1153.h: Likewise.
3456 * iconvdata/ibm1154.h: Likewise.
3457 * iconvdata/ibm1155.h: Likewise.
3458 * iconvdata/ibm1156.h: Likewise.
3459 * iconvdata/ibm1157.h: Likewise.
3460 * iconvdata/ibm1158.h: Likewise.
3461 * iconvdata/ibm1160.h: Likewise.
3462 * iconvdata/ibm1161.h: Likewise.
3463 * iconvdata/ibm1162.h: Likewise.
3464 * iconvdata/ibm1163.h: Likewise.
3465 * iconvdata/ibm1164.h: Likewise.
3466 * iconvdata/ibm1166.h: Likewise.
3467 * iconvdata/ibm1167.h: Likewise.
3468 * iconvdata/ibm12712.h: Likewise.
3469 * iconvdata/ibm1390.h: Likewise.
3470 * iconvdata/ibm1399.h: Likewise.
3471 * iconvdata/ibm16804.h: Likewise.
3472 * iconvdata/ibm4517.h: Likewise.
3473 * iconvdata/ibm4899.h: Likewise.
3474 * iconvdata/ibm4909.h: Likewise.
3475 * iconvdata/ibm4971.h: Likewise.
3476 * iconvdata/ibm5347.h: Likewise.
3477 * iconvdata/ibm803.h: Likewise.
3478 * iconvdata/ibm856.h: Likewise.
3479 * iconvdata/ibm901.h: Likewise.
3480 * iconvdata/ibm902.h: Likewise.
3481 * iconvdata/ibm9030.h: Likewise.
3482 * iconvdata/ibm9066.h: Likewise.
3483 * iconvdata/ibm921.h: Likewise.
3484 * iconvdata/ibm922.h: Likewise.
3485 * iconvdata/ibm9448.h: Likewise.
3486 * iconvdata/isiri-3342.h: Likewise.
3487 * iconvdata/jis0201.h: Likewise.
3488 * include/link.h: Likewise.
3489 * include/netdb.h: Likewise.
3490 * inet/check_native.c: Likewise.
3491 * inet/check_pf.c: Likewise.
3492 * inet/getipv4sourcefilter.c: Likewise.
3493 * inet/getnameinfo.c: Likewise.
3494 * inet/getsourcefilter.c: Likewise.
3495 * inet/htonl.c: Likewise.
3496 * inet/setipv4sourcefilter.c: Likewise.
3497 * inet/setsourcefilter.c: Likewise.
3498 * inet/test-inet6_opt.c: Likewise.
3499 * inet/tst-network.c: Likewise.
3500 * locale/C-collate.c: Likewise.
3501 * locale/C-ctype.c: Likewise.
3502 * locale/C-time.c: Likewise.
3503 * locale/C-translit.h: Likewise.
3504 * locale/loadarchive.c: Likewise.
3505 * locale/programs/3level.h: Likewise.
3506 * locale/programs/charmap.c: Likewise.
3507 * locale/programs/charmap.h: Likewise.
3508 * locale/programs/ld-address.c: Likewise.
3509 * locale/programs/ld-collate.c: Likewise.
3510 * locale/programs/ld-ctype.c: Likewise.
3511 * locale/programs/ld-identification.c: Likewise.
3512 * locale/programs/ld-measurement.c: Likewise.
3513 * locale/programs/ld-messages.c: Likewise.
3514 * locale/programs/ld-monetary.c: Likewise.
3515 * locale/programs/ld-name.c: Likewise.
3516 * locale/programs/ld-numeric.c: Likewise.
3517 * locale/programs/ld-paper.c: Likewise.
3518 * locale/programs/ld-telephone.c: Likewise.
3519 * locale/programs/ld-time.c: Likewise.
3520 * locale/programs/linereader.c: Likewise.
3521 * locale/programs/locale.c: Likewise.
3522 * locale/programs/locarchive.c: Likewise.
3523 * locale/programs/locfile.h: Likewise.
3524 * locale/programs/repertoire.c: Likewise.
3525 * locale/programs/simple-hash.c: Likewise.
3526 * locale/programs/simple-hash.h: Likewise.
3527 * malloc/memusage.c: Likewise.
3528 * malloc/memusagestat.c: Likewise.
3529 * nis/nis_defaults.c: Likewise.
3530 * nis/nis_hash.c: Likewise.
3531 * nis/nis_print.c: Likewise.
3532 * nis/nis_xdr.c: Likewise.
3533 * nscd/connections.c: Likewise.
3534 * nscd/hstcache.c: Likewise.
3535 * nscd/nscd_gethst_r.c: Likewise.
3536 * nscd/nscd_getserv_r.c: Likewise.
3537 * nscd/nscd_helper.c: Likewise.
3538 * nscd/servicescache.c: Likewise.
3539 * nss/makedb.c: Likewise.
3540 * nss/nss_db/db-XXX.c: Likewise.
3541 * nss/nss_db/db-initgroups.c: Likewise.
3542 * nss/nss_db/db-netgrp.c: Likewise.
3543 * nss/nss_files/files-network.c: Likewise.
3544 * nss/nss_files/files-parse.c: Likewise.
3545 * posix/bug-regex5.c: Likewise.
3546 * posix/fnmatch_loop.c: Likewise.
3547 * posix/regcomp.c: Likewise.
3548 * posix/regexec.c: Likewise.
3549 * posix/tst-rfc3484-2.c: Likewise.
3550 * posix/tst-rfc3484-3.c: Likewise.
3551 * posix/tst-rfc3484.c: Likewise.
3552 * resolv/nss_dns/dns-canon.c: Likewise.
3553 * resolv/nss_dns/dns-network.c: Likewise.
3554 * resolv/res_init.c: Likewise.
3555 * resolv/res_mkquery.c: Likewise.
3556 * resolv/tst-aton.c: Likewise.
3557 * stdlib/cxa_atexit.c: Likewise.
3558 * stdlib/cxa_finalize.c: Likewise.
3559 * stdlib/gen-fpioconst.c: Likewise.
3560 * stdlib/strtol_l.c: Likewise.
3561 * string/tst-endian.c: Likewise.
3562 * sunrpc/auth_des.c: Likewise.
3563 * sunrpc/clnt_udp.c: Likewise.
3564 * sunrpc/rtime.c: Likewise.
3565 * sunrpc/svcauth_des.c: Likewise.
3566 * sunrpc/xdr.c: Likewise.
3567 * sunrpc/xdr_intXX_t.c: Likewise.
3568 * sunrpc/xdr_rec.c: Likewise.
3569 * sysdeps/generic/ldconfig.h: Likewise.
3570 * sysdeps/generic/ldsodefs.h: Likewise.
3571 * sysdeps/generic/memusage.h: Likewise.
3572 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3573 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3574 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3575 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3576 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3577 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3578 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3579 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3580 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3581 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3582 * sysdeps/posix/getaddrinfo.c: Likewise.
3583 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3584 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3585 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3586 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3587 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3588 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3589 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3590 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3591 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3592 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3593 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3594 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3595 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3596 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3597 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3598 * sysdeps/x86_64/dl-tls.h: Likewise.
3599 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3600 * time/alt_digit.c: Likewise.
3601 * time/era.c: Likewise.
3602 * wcsmbs/tst-c16c32-1.c: Likewise.
3603
3604 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3605
3606 * math/libm-test.inc (struct test_sincos_data): New type.
3607 (RUN_TEST_LOOP_sincos): New macro.
3608 (sincos_test_data): New variable.
3609 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3610
3611 2013-05-16 Richard Henderson <rth@redhat.com>
3612
3613 * math/atest-exp2.c (LIMB64): New macro.
3614 (CONSTSZ): New macro.
3615 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3616 (hexdig): Move ...
3617 (print_mpn_fp): ... to function scope.
3618 (read_mpn_hex): Remove.
3619 (get_log2): Remove.
3620 (exp2_mpn): Use mp_log2.
3621 (main): Use mp_exp1.
3622
3623 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3624
3625 * math/libm-test.inc: Remove comment about not testing "inexact"
3626 exceptions.
3627 (INEXACT_EXCEPTION): New macro.
3628 (NO_INEXACT_EXCEPTION): Likewise.
3629 (INVALID_EXCEPTION_OK): Update value.
3630 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3631 (OVERFLOW_EXCEPTION_OK): Likewise.
3632 (UNDERFLOW_EXCEPTION_OK): Likewise.
3633 (IGNORE_ZERO_INF_SIGN): Likewise.
3634 (ERRNO_UNCHANGED): Likewise.
3635 (ERRNO_EDOM): Likewise.
3636 (ERRNO_ERANGE): Likewise.
3637 (test_exceptions): Handle testing "inexact" exceptions.
3638 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3639 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3640 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3641 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3642 INEXACT_EXCEPTION.
3643 (rint_towardzero_test_data): Likewise.
3644 (rint_downward_test_data): Likewise.
3645 (rint_upward_test_data): Likewise.
3646
3647 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3648 with OVERFLOW_EXCEPTION.
3649 (exp10_test_data): Likewise.
3650 (exp2_test_data): Likewise.
3651 (expm1_test_data): Likewise.
3652 (lgamma_test_data): Likewise.
3653 (pow_test_data): Likewise.
3654 (tgamma_test_data): Likewise.
3655 (yn_test_data): Remove duplicate test of overflow.
3656
3657 * math/libm-test.inc (struct test_cc_c_data): New type.
3658 (RUN_TEST_LOOP_cc_c): New macro.
3659 (cpow_test_data): New variable.
3660 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3661
3662 * math/libm-test.inc (struct test_f_L_data): New type.
3663 (RUN_TEST_LOOP_f_L): New macro.
3664 (llrint_test_data): New variable.
3665 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3666 (llrint_tonearest_test_data): New variable.
3667 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3668 (llrint_towardzero_test_data): New variable.
3669 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3670 (llrint_downward_test_data): New variable.
3671 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3672 (llrint_upward_test_data): New variable.
3673 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3674 (llround_test_data): New variable.
3675 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3676
3677 2013-05-13 Peter Collingbourne <pcc@google.com>
3678
3679 * math/atest-exp2.c (get_log2): Remove const attribute.
3680
3681 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3682
3683 * math/libm-test.inc (struct test_f_l_data): New type.
3684 (RUN_TEST_LOOP_f_l): New macro.
3685 (lrint_test_data): New variable.
3686 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3687 (lrint_tonearest_test_data): New variable.
3688 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3689 (lrint_towardzero_test_data): New variable.
3690 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3691 (lrint_downward_test_data): New variable.
3692 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3693 (lrint_upward_test_data): New variable.
3694 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3695 (lround_test_data): New variable.
3696 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3697
3698 2013-05-15 Peter Collingbourne <pcc@google.com>
3699
3700 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3701 (EXTRACT_WORDS64) Use where appropriate.
3702 (INSERT_WORDS64) Likewise.
3703
3704 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3705 constraints with x constraints.
3706 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3707
3708 * malloc/obstack.c (_obstack_compat): Add initializer.
3709
3710 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3711
3712 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3713 si_trapno and add si_addr_lsb to _sifields.sigfault.
3714 (si_trapno): Remove macro.
3715 (si_addr_lsb): Define new macro.
3716 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3717
3718 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3719
3720 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3721 instead of TEST_f_l.
3722 (llrint_test_tonearest): Likewise.
3723 (llrint_test_towardzero): Likewise.
3724 (llrint_test_downward): Likewise.
3725 (llrint_test_upward): Likewise.
3726 (llround_test): Likewise.
3727
3728 * math/libm-test.inc (struct test_f_i_data): Add comment.
3729 (RUN_TEST_LOOP_f_b): New macro.
3730 (RUN_TEST_LOOP_f_b_tg): Likewise.
3731 (finite_test_data): New variable.
3732 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3733 (isfinite_test_data): New variable.
3734 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3735 (isinf_test_data): New variable.
3736 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3737 (isnan_test_data): New variable.
3738 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3739 (isnormal_test_data): New variable.
3740 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3741 (issignaling_test_data): New variable.
3742 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3743 (signbit_test_data): New variable.
3744 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3745
3746 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3747 with INVALID_EXCEPTION.
3748 (acosh_test_data): Likewise.
3749 (asin_test_data): Likewise.
3750 (atanh_test_data): Likewise.
3751 (fmod_test_data): Likewise.
3752 (log_test_data): Likewise.
3753 (log10_test_data): Likewise.
3754 (log2_test_data): Likewise.
3755 (pow_test_data): Likewise.
3756 (sqrt_test_data): Likewise.
3757 (y0_test_data): Likewise.
3758 (y1_test_data): Likewise.
3759 (yn_test_data): Likewise.
3760
3761 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3762 function contents.
3763
3764 * math/libm-test.inc (struct test_ff_i_data): New type.
3765 (RUN_TEST_LOOP_ff_i_tg): New macro.
3766 (isgreater_test_data): New variable.
3767 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3768 (isgreaterequal_test_data): New variable.
3769 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3770 (isless_test_data): New variable.
3771 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3772 (islessequal_test_data): New variable.
3773 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3774 (islessgreater_test_data): New variable.
3775 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3776 (isunordered_test_data): New variable.
3777 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3778
3779 2013-05-14 David S. Miller <davem@davemloft.net>
3780
3781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3782
3783 2013-05-14 Joseph Myers <joseph@codesourcery.com>
3784
3785 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3786
3787 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3788 extra_test to int.
3789 (struct test_f_i_data): Change type of max_ulp to int.
3790
3791 * math/libm-test.inc (test_ffI_f1_data): New type.
3792 (RUN_TEST_LOOP_ffI_f1): New macro.
3793 (remquo_test_data): New variable.
3794 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3795
3796 * setjmp/tst-setjmp-fp.c: New file.
3797 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3798 (link-libm): New variable.
3799 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3800
3801 * math/libm-test.inc (struct test_f_i_data): New type.
3802 (RUN_TEST_LOOP_f_i): New macro.
3803 (RUN_TEST_LOOP_f_i_tg): Likewise.
3804 (fpclassify_test_data): New variable.
3805 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3806 (ilogb_test_data): New variable.
3807 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3808
3809 * math/libm-test.inc (scalbln_test): Correct function name in END
3810 call.
3811
3812 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3813 (RUN_TEST_LOOP_fI_f1): New macro.
3814 (frexp_test_data): New variable.
3815 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3816
3817 * math/libm-test.inc (struct test_fF_f1_data): New type.
3818 (RUN_TEST_LOOP_fF_f1): New macro.
3819 (modf_test_data): New variable.
3820 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3821
3822 * math/libm-test.inc (struct test_f_f1_data): New type.
3823 (RUN_TEST_LOOP_f_f1): New macro.
3824 (gamma_test_data): New variable.
3825 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3826 (lgamma_test_data): New variable.
3827 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3828
3829 2013-05-13 Carlos O'Donell <carlos@redhat.com>
3830
3831 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3832 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3833 (main): Comment "tls" pseudo-hwcap.
3834
3835 2013-05-13 Joseph Myers <joseph@codesourcery.com>
3836
3837 * math/libm-test.inc (struct test_fl_f_data): New type.
3838 (RUN_TEST_LOOP_fl_f): New variable.
3839 (scalbln_test_data): New variable.
3840 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3841
3842 * math/libm-test.inc (struct test_fi_f_data): New type.
3843 (RUN_TEST_LOOP_fi_f): New macro.
3844 (ldexp_test_data): New variable.
3845 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3846 (scalbn_test_data): New variable.
3847 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3848
3849 * math/libm-test.inc (struct test_c_f_data): New type.
3850 (RUN_TEST_LOOP_c_f): New macro.
3851 (cabs_test_data): New variable.
3852 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3853 (carg_test_data): New variable.
3854 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3855 (cimag_test_data): New variable.
3856 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3857 (creal_test_data): New variable.
3858 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3859
3860 * math/libm-test.inc (struct test_if_f_data): New type.
3861 (RUN_TEST_LOOP_if_f): New macro.
3862 (jn_test_data): New variable.
3863 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3864 (yn_test_data): New variable.
3865 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3866
3867 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3868
3869 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3870
3871 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3872 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3873
3874 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3875
3876 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3877 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3878 (bench-deps): Add bench-timing.h.
3879 * benchtests-bench-skeleton.c: Include bench-timing.h.
3880 (main): Use TIMING_* macros instead of clock_gettime.
3881 * benchtests/bench-timing.h: New file.
3882
3883 [BZ #14582]
3884 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3885 Renamed from _LIB_VERSION.
3886 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3887
3888 2013-05-12 Joseph Myers <joseph@codesourcery.com>
3889
3890 * math/libm-test.inc (struct test_fff_f_data): New type.
3891 (RUN_TEST_LOOP_fff_f): New macro.
3892 (fma_test_data): New variable.
3893 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3894 (fma_towardzero_test_data): New variable.
3895 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3896 (fma_downward_test_data): New variable.
3897 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3898 (fma_upward_test_data): New variable.
3899 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3900
3901 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3902 (struct test_c_c_data): New type.
3903 (RUN_TEST_LOOP_c_c): New macro.
3904 (cacos_test_data): New variable.
3905 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3906 (cacosh_test_data): New variable.
3907 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3908 (casin_test_data): New variable.
3909 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3910 (casinh_test_data): New variable.
3911 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3912 (catan_test_data): New variable.
3913 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3914 (catanh_test_data): New variable.
3915 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3916 (ccos_test_data): New variable.
3917 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3918 (ccosh_test_data): New variable.
3919 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3920 (cexp_test_data): New variable.
3921 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3922 (clog_test_data): New variable.
3923 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3924 (clog10_test_data): New variable.
3925 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3926 (conj_test_data): New variable.
3927 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3928 (cproj_test_data): New variable.
3929 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3930 (csin_test_data): New variable.
3931 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3932 (csinh_test_data): New variable.
3933 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3934 (csqrt_test_data): New variable.
3935 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3936 (ctan_test_data): New variable.
3937 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3938 (ctan_tonearest_test_data): New variable.
3939 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3940 (ctan_towardzero_test_data): New variable.
3941 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3942 (ctan_downward_test_data): New variable.
3943 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3944 (ctan_upward_test_data): New variable.
3945 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3946 (ctanh_test_data): New variable.
3947 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3948 (ctanh_tonearest_test_data): New variable.
3949 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3950 (ctanh_towardzero_test_data): New variable.
3951 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3952 (ctanh_downward_test_data): New variable.
3953 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3954 (ctanh_upward_test_data): New variable.
3955 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3956 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3957 of BUILD_COMPLEX.
3958
3959 * math/libm-test.inc (struct test_ff_f_data): New type.
3960 (struct test_ff_f_data_nexttoward): Likewise.
3961 (RUN_TEST_LOOP_2_f): New macro.
3962 (RUN_TEST_LOOP_ff_f): Likewise.
3963 (atan2_test_data): New variable.
3964 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3965 (copysign_test_data): New variable.
3966 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3967 (fdim_test_data): New variable.
3968 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3969 (fmax_test_data): New variable.
3970 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3971 (fmin_test_data): New variable.
3972 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3973 (fmod_test_data): New variable.
3974 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3975 (hypot_test_data): New variable.
3976 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3977 (nextafter_test_data): New variable.
3978 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3979 (nexttoward_test_data): New variable.
3980 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3981 (pow_test_data): New variable.
3982 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3983 (pow_tonearest_test_data): New variable.
3984 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3985 (pow_towardzero_test_data): New variable.
3986 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3987 (pow_downward_test_data): New variable.
3988 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3989 (pow_upward_test_data): New variable.
3990 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3991 (remainder_test_data): New variable.
3992 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3993 (scalb_test_data): New variable.
3994 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3995 * sysdeps/i386/fpu/libm-test-ulps: Update.
3996
3997 2013-05-11 Joseph Myers <joseph@codesourcery.com>
3998
3999 * math/libm-test.inc (fma_test): Use max_value instead of local
4000 variable fltmax.
4001 (nextafter_test): Likewise.
4002
4003 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4004 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4005 (acos_downward_test_data): New variable.
4006 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4007 (acos_upward_test_data): New variable.
4008 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4009 (acosh_test_data): New variable.
4010 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4011 (asin_test_data): New variable.
4012 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4013 (asin_tonearest_test_data): New variable.
4014 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4015 (asin_towardzero_test_data): New variable.
4016 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4017 (asin_downward_test_data): New variable.
4018 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4019 (asin_upward_test_data): New variable.
4020 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4021 (asinh_test_data): New variable.
4022 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4023 (atan_test_data): New variable.
4024 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4025 (atanh_test_data): New variable.
4026 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4027 (cbrt_test_data): New variable.
4028 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4029 (ceil_test_data): New variable.
4030 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4031 (cos_test_data): New variable.
4032 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4033 (cos_tonearest_test_data): New variable.
4034 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4035 (cos_towardzero_test_data): New variable.
4036 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4037 (cos_downward_test_data): New variable.
4038 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4039 (cos_upward_test_data): New variable.
4040 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4041 (cosh_test_data): New variable.
4042 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4043 (cosh_tonearest_test_data): New variable.
4044 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4045 (cosh_towardzero_test_data): New variable.
4046 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4047 (cosh_downward_test_data): New variable.
4048 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4049 (cosh_upward_test_data): New variable.
4050 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4051 (erf_test_data): New variable.
4052 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4053 (erfc_test_data): New variable.
4054 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4055 (exp_test_data): New variable.
4056 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4057 (exp_tonearest_test_data): New variable.
4058 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4059 (exp_towardzero_test_data): New variable.
4060 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4061 (exp_downward_test_data): New variable.
4062 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4063 (exp_upward_test_data): New variable.
4064 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4065 (exp10_test_data): New variable.
4066 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4067 (exp2_test_data): New variable.
4068 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4069 (expm1_test_data): New variable.
4070 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4071 (fabs_test_data): New variable.
4072 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4073 (floor_test_data): New variable.
4074 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4075 (j0_test_data): New variable.
4076 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4077 (j1_test_data): New variable.
4078 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4079 (log_test_data): New variable.
4080 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4081 (log10_test_data): New variable.
4082 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4083 (log1p_test_data): New variable.
4084 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4085 (log2_test_data): New variable.
4086 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4087 (logb_test_data): New variable.
4088 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4089 (logb_downward_test_data): New variable.
4090 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4091 (nearbyint_test_data): New variable.
4092 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4093 (rint_test_data): New variable.
4094 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4095 (rint_tonearest_test_data): New variable.
4096 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4097 (rint_towardzero_test_data): New variable.
4098 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4099 (rint_downward_test_data): New variable.
4100 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4101 (rint_upward_test_data): New variable.
4102 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4103 (round_test_data): New variable.
4104 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4105 (sin_test_data): New variable.
4106 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4107 (sin_tonearest_test_data): New variable.
4108 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4109 (sin_towardzero_test_data): New variable.
4110 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4111 (sin_downward_test_data): New variable.
4112 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4113 (sin_upward_test_data): New variable.
4114 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4115 (sinh_test_data): New variable.
4116 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4117 (sinh_tonearest_test_data): New variable.
4118 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4119 (sinh_towardzero_test_data): New variable.
4120 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4121 (sinh_downward_test_data): New variable.
4122 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4123 (sinh_upward_test_data): New variable.
4124 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4125 (sqrt_test_data): New variable.
4126 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4127 (tan_test_data): New variable.
4128 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4129 (tan_tonearest_test_data): New variable.
4130 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4131 (tan_towardzero_test_data): New variable.
4132 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4133 (tan_downward_test_data): New variable.
4134 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4135 (tan_upward_test_data): New variable.
4136 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4137 (tanh_test_data): New variable.
4138 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4139 (tgamma_test_data): New variable.
4140 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4141 (trunc_test_data): New variable.
4142 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4143 (y0_test_data): New variable.
4144 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4145 (y1_test_data): New variable.
4146 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4147 (significand_test_data): New variable.
4148 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4149
4150 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4151
4152 [BZ #12387]
4153 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4154
4155 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4156
4157 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4158
4159 2013-05-10 Andreas Jaeger <aj@suse.de>
4160
4161 [BZ #15448]
4162 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4163 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4164
4165 2013-05-10 Joseph Myers <joseph@codesourcery.com>
4166
4167 * math/gen-libm-test.pl (adjust_arg): New function.
4168 (special_functions): Handle generating output in both functions
4169 and arrays.
4170 (parse_args): Likewise.
4171 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4172 $in_func argument to parse_args.
4173 * math/libm-test.inc (struct test_f_f_data): New type.
4174 (IF_ROUND_INIT_): New macro.
4175 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4176 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4177 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4178 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4179 (ROUND_RESTORE_): Likewise.
4180 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4181 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4182 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4183 (ROUND_RESTORE_FE_UPWARD): Likewise.
4184 (RUN_TEST_LOOP_f_f): New macro.
4185 (acos_test_data): New variable.
4186 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4187 (acos_tonearest_test_data): New variable.
4188 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4189
4190 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4191
4192 * benchtests/bench-skeleton.c (startup): Fix coding style.
4193
4194 2013-05-10 Joseph Myers <joseph@codesourcery.com>
4195
4196 [BZ #6809]
4197 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4198 negative infinity argument.
4199 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4200 negative infinity argument.
4201 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4202 negative infinity argument.
4203 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4204 domain errors.
4205
4206 2013-05-10 Florian Weimer <fweimer@redhat.com>
4207
4208 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4209 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4210 * iconv/iconv_prog.c (main): Likewise.
4211 * locale/programs/charmap-dir.c (charmap_readdir)
4212 (fopen_uncompressed): Likewise.
4213 * locale/programs/locfile.c (siblings_uncached)
4214 (write_locale_data): Use lstat64 instead of lstat.
4215 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4216 stat.
4217
4218 2013-05-10 Andreas Jaeger <aj@suse.de>
4219
4220 [BZ #15395]
4221 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4222 localization.
4223 Include <locale.h>.
4224
4225 2013-05-09 Carlos O'Donell <carlos@redhat.com>
4226
4227 * elf/dl-close.c (_dl_close_worker): Add comments.
4228
4229 2013-05-09 Joseph Myers <joseph@codesourcery.com>
4230
4231 [BZ #15359]
4232 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4233 high part of pi/2.
4234 (__ieee754_rem_pio2l): Update comments.
4235
4236 [BZ #15429]
4237 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4238 high part of pi/2.
4239 (__ieee754_rem_pio2l): Update comments.
4240
4241 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4242 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4243
4244 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4245 M_PI_4l.
4246
4247 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4248 (M_PI_34_LOG10El): Likewise.
4249 (M_PI2_LOG10El): Likewise.
4250 (M_PI4_LOG10El): Likewise.
4251 (M_PI_LOG10El): Likewise.
4252
4253 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4254
4255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4256
4257 2013-05-08 Joseph Myers <joseph@codesourcery.com>
4258
4259 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4260 (MINUS_ZERO_INIT): Likewise.
4261 (PLUS_INFTY_INIT): Likewise.
4262 (MINUS_INFTY_INIT): Likewise.
4263 (QNAN_VALUE_INIT): Likewise.
4264 (MAX_VALUE_INIT): Likewise.
4265 (MIN_VALUE_INIT): Likewise.
4266 (MIN_SUBNORM_VALUE_INIT): Likewise.
4267 (plus_zero): Initialize with PLUS_ZERO_INIT.
4268 (minus_zero): Initialize with MINUS_ZERO_INIT.
4269 (plus_infty): Initialize with PLUS_INFTY_INIT.
4270 (minus_infty): Initialize with MINUS_INFTY_INIT.
4271 (qnan_value): Initialize with QNAN_VALUE_INIT.
4272 (max_value): Initialize with MAX_VALUE_INIT.
4273 (min_value): Initialize with MIN_VALUE_INIT.
4274 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4275
4276 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4277 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4278 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4279 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4280
4281 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4282 (RUN_TEST_2_f): Likewise.
4283 (RUN_TEST_ff_f): Likewise.
4284 (RUN_TEST_fi_f): Likewise.
4285 (RUN_TEST_fl_f): Likewise.
4286 (RUN_TEST_fff_f): Likewise.
4287 (RUN_TEST_c_f): Likewise.
4288 (RUN_TEST_f_f1): Likewise.
4289 (RUN_TEST_fF_f1): Likewise.
4290 (RUN_TEST_fI_f1): Likewise.
4291 (RUN_TEST_ffI_f1): Likewise.
4292 (RUN_TEST_c_c): Likewise.
4293 (RUN_TEST_cc_c): Likewise.
4294 (RUN_TEST_f_i): Likewise.
4295 (RUN_TEST_f_i_tg): Likewise.
4296 (RUN_TEST_ff_i_tg): Likewise.
4297 (RUN_TEST_f_b): Likewise.
4298 (RUN_TEST_f_b_tg): Likewise.
4299 (RUN_TEST_f_l): Likewise.
4300 (RUN_TEST_f_L): Likewise.
4301 (RUN_TEST_sincos): Likewise.
4302 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4303 whether to show exceptions. Do not include ");\n" in return
4304 value.
4305 (special_functions): Output call to RUN_TEST_sincos instead of
4306 check_float calls. Update calls to new_test.
4307 (parse_args): Output call to single RUN_TEST_* macro instead of
4308 check_* calls and other assignments. Update calls to new_test.
4309
4310 [BZ #2546]
4311 [BZ #2560]
4312 [BZ #5159]
4313 [BZ #15426]
4314 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4315 input to result for tgamma overflow.
4316 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4317 (gamma_coeff): New variable.
4318 (NCOEFF): New macro.
4319 (gamma_positive): New function.
4320 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4321 underflow here. Use gamma_positive instead of exp (lgamma) for
4322 other arguments.
4323 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4324 (gamma_coeff): New variable.
4325 (NCOEFF): New macro.
4326 (gammaf_positive): New function.
4327 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4328 underflow here. Use gamma_positive instead of exp (lgamma) for
4329 other arguments.
4330 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4331 (gamma_coeff): New variable.
4332 (NCOEFF): New macro.
4333 (gammal_positive): New function.
4334 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4335 underflow here. Use gamma_positive instead of exp (lgamma) for
4336 other arguments.
4337 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4338 (gamma_coeff): New variable.
4339 (NCOEFF): New macro.
4340 (gammal_positive): New function.
4341 (__ieee754_gammal_r): Handle positive infinity, overflow and
4342 underflow here. Handle NaN the same as positive infinity. Remove
4343 check x < 0xffffffff for negative integers. Use gamma_positive
4344 instead of exp (lgamma) for other arguments.
4345 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4346 (gamma_coeff): New variable.
4347 (NCOEFF): New macro.
4348 (gammal_positive): New function.
4349 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4350 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4351 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4352 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4353 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4354 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4355 * sysdeps/generic/math_private.h (__gamma_productf): New
4356 prototype.
4357 (__gamma_product): Likewise.
4358 (__gamma_productl): Likewise.
4359 * math/Makefile (libm-calls): Add gamma_product.
4360 * math/libm-test.inc (tgamma_test): Add more tests.
4361 * sysdeps/i386/fpu/libm-test-ulps: Update.
4362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4363
4364 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
4365
4366 * benchtests/bench-skeleton.c (main): Preheat CPU.
4367
4368 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4369
4370 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4371
4372 2013-05-07 Roland McGrath <roland@hack.frob.com>
4373
4374 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4375 and _dl_skip_args_internal.
4376
4377 2013-05-07 Carlos O'Donell <carlos@redhat.com>
4378
4379 * manual/message.texi (Message Translation): Talk about users.
4380 Message to key mapping impacts design.
4381
4382 2013-05-06 Roland McGrath <roland@hack.frob.com>
4383
4384 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4385
4386 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4387
4388 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4389 * sysdeps/wordsize-64/glob64.c: ... here.
4390
4391 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4392 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4393 New macros.
4394
4395 * debug/getlogin_r_chk.c: Moved to ...
4396 * login/getlogin_r_chk.c: ... here.
4397 * debug/Makefile (routines): Move getlogin_r_chk to ...
4398 * login/Makefile (routines): ... here.
4399 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4400 * login/Versions (libc: GLIBC_2.4): ... here.
4401
4402 * io/poll.c (__poll): Renamed from poll.
4403 Add libc_hidden_def.
4404 (poll): Define as weak alias.
4405
4406 * debug/ptsname_r_chk.c: Moved to ...
4407 * login/ptsname_r_chk.c: ... here.
4408 * debug/Makefile (routines): Move ptsname_r_chk to ...
4409 * login/Makefile (routines): ... here.
4410 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4411 * login/Versions (libc: GLIBC_2.4): ... here.
4412
4413 * posix/getlogin.c: Moved to ...
4414 * login/getlogin.c: ... here.
4415 * posix/getlogin_r.c: Moved to ...
4416 * login/getlogin_r.c: ... here.
4417 * posix/getlogin_r.c: Moved to ...
4418 * login/getlogin_r.c: ... here.
4419 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4420 * login/Makefile (routines): ... here.
4421 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4422 * login/Versions (libc: GLIBC_2.0): ... here.
4423
4424 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4425 (setrlimit): Define as weak alias.
4426
4427 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4428 Call __ names for open, ftruncate, and close.
4429 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4430 (truncate): Define as weak alias.
4431
4432 2013-05-06 Joseph Myers <joseph@codesourcery.com>
4433
4434 * math/gen-libm-test.pl (parse_args): Initialize x before each
4435 test of frexp, modf and remquo.
4436
4437 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4438 test signgam value.
4439
4440 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4441
4442 [BZ #15418]
4443 [BZ #15419]
4444 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4445 internal tests.
4446 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4447
4448 2013-05-06 Roland McGrath <roland@hack.frob.com>
4449
4450 * elf/dl-writev.h: New file.
4451 * elf/dl-misc.c: Include it.
4452 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4453 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4454
4455 2013-05-04 Joseph Myers <joseph@codesourcery.com>
4456
4457 * math/libm-test.inc (noXFails): Remove variable.
4458 (noXPasses): Likewise.
4459 (BUILD_COMPLEX_INT): Remove macro.
4460 (print_screen): Remove xfail argument.
4461 (print_screen_max_error): Likewise.
4462 (update_stats): Likewise.
4463 (print_max_error): Likewise. Update calls to other affected
4464 functions.
4465 (print_complex_max_error): Likewise.
4466 (test_single_exception): Update calls to print_screen.
4467 (test_single_errno): Likewise.
4468 (check_float_internal): Remove xfail argument. Update calls to
4469 other affected functions.
4470 (check_float): Likewise.
4471 (check_complex): Likewise.
4472 (check_int): Likewise.
4473 (check_long): Likewise.
4474 (check_bool): Likewise.
4475 (check_longlong): Likewise.
4476 (main): Don't print noXFails and noXPasses.
4477 * math/gen-libm-test.pl (top level): Don't mention expected
4478 failure handling in comment.
4479 (new_test): Don't handle expected failures.
4480 (parse_args): Don't mention expected failure handling in comment.
4481 (generate_testfile): Don't handle expected failures.
4482 (parse_ulps): Likewise.
4483 (print_ulps_file): Likewise.
4484 (get_failure): Remove function.
4485 (output_test): Don't handle expected failures.
4486 * make/README.libm-test: Don't mention expected failure handling.
4487
4488 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4489 (minus_zero): Likewise.
4490 (plus_infty): Likewise.
4491 (minus_infty): Likewise.
4492 (qnan_value): Likewise.
4493 (max_value): Likewise.
4494 (min_value): Likewise.
4495 (min_subnorm_value): Likewise.
4496 (initialize): Do not initialize those variables dynamically.
4497
4498 2013-05-03 Roland McGrath <roland@hack.frob.com>
4499
4500 * io/open.c (__open_2): Moved to ...
4501 * io/open_2.c: ... this new file.
4502 * io/open64.c (__open64_2): Moved to ...
4503 * io/open64_2.c: ... this new file.
4504 * io/openat.c (__openat_2): Moved to ...
4505 * io/openat_2.c: ... this new file.
4506 * io/openat64.c (__openat64_2): Moved to ...
4507 * io/openat64_2.c: ... this new file.
4508 * io/Makefile (routines): Add them.
4509 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4510 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4511 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4512 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4513 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4514 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4515 (__openat64): Add hidden_ver.
4516 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4517 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4518
4519 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4520 Separately conditionalize setting of GLRO(dl_sysinfo) so
4521 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4522 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4523
4524 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4525
4526 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4527 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4528 definition.
4529 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4530 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4531 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4532 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4533 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4534
4535 2013-05-03 Joseph Myers <joseph@codesourcery.com>
4536
4537 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4538 test signgam value.
4539
4540 * math/libm-test.inc (hypot_test): Do not use
4541 IGNORE_ZERO_INF_SIGN.
4542
4543 2013-05-03 Andreas Jaeger <aj@suse.de>
4544
4545 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4546 Linux 3.9.
4547 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4548 (PF_MAX): Adjust for VSOCK change.
4549
4550 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4551
4552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4553
4554 2013-05-02 Carlos O'Donell <carlos@redhat.com>
4555
4556 [BZ #15264]
4557 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4558 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4559 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4560
4561 2013-05-02 David S. Miller <davem@davemloft.net>
4562
4563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4564
4565 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
4566
4567 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4568
4569 2013-05-01 Roland McGrath <roland@hack.frob.com>
4570
4571 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4572
4573 2013-05-01 Richard Smith <richard@metafoo.co.uk>
4574
4575 [BZ #14952]
4576 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4577 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4578 Use __attribute__ ((__gnu_inline__)).
4579 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4580 Don't use __attribute__ ((__gnu_inline__)).
4581
4582 2013-05-01 Joseph Myers <joseph@codesourcery.com>
4583
4584 [BZ #15423]
4585 * math/s_catan.c (__catan): Handle small real or imaginary part of
4586 input specially to avoid spurious underflow.
4587 * math/s_catanf.c (__catanf): Likewise.
4588 * math/s_catanh.c (__catanh): Likewise.
4589 * math/s_catanhf.c (__catanhf): Likewise.
4590 * math/s_catanhl.c (__catanhl): Likewise.
4591 * math/s_catanl.c (__catanl): Likewise.
4592 * math/libm-test.inc (catan_test): Add more tests.
4593 (catanh_test): Likewise.
4594 * sysdeps/i386/fpu/libm-test-ulps: Update.
4595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4596
4597 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4598
4599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4600
4601 2013-04-30 Joseph Myers <joseph@codesourcery.com>
4602
4603 [BZ #15416]
4604 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4605 accurately for denominator in atan2.
4606 * math/s_catanf.c (__catanf): Likewise.
4607 * math/s_catanh.c (__catanh): Likewise.
4608 * math/s_catanhf.c (__catanhf): Likewise.
4609 * math/s_catanhl.c (__catanhl): Likewise.
4610 * math/s_catanl.c (__catanl): Likewise.
4611 * math/libm-test.inc (catan_test): Add more tests.
4612 (catanh_test): Likewise.
4613 * sysdeps/i386/fpu/libm-test-ulps: Update.
4614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4615
4616 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4617
4618 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4619
4620 * benchtests/Makefile (bench): Remove slow benchmarks.
4621 * benchtests/atan-inputs: Add slow benchmark inputs.
4622 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4623 (BENCH_FUNC): Accept variant offset.
4624 (VARIANT): Define.
4625 * benchtests/bench-skeleton.c (main): Run benchmark for each
4626 variant.
4627 * benchtests/cos-inputs: Add slow benchmark inputs.
4628 * benchtests/exp-inputs: Likewise.
4629 * benchtests/pow-inputs: Likewise.
4630 * benchtests/sin-inputs: Likewise.
4631 * benchtests/slowatan-inputs: Remove.
4632 * benchtests/slowatan.c: Remove.
4633 * benchtests/slowcos-inputs: Remove.
4634 * benchtests/slowcos.c: Remove.
4635 * benchtests/slowexp-inputs: Remove.
4636 * benchtests/slowexp.c: Remove.
4637 * benchtests/slowpow-inputs: Remove.
4638 * benchtests/slowpow.c: Remove.
4639 * benchtests/slowsin-inputs: Remove.
4640 * benchtests/slowsin.c: Remove.
4641 * benchtests/slowtan-inputs: Remove.
4642 * benchtests/slowtan.c: Remove.
4643 * benchtests/tan-inputs: Add slow benchmark inputs.
4644 * scripts/bench.pl: Parse comments and directives.
4645
4646 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4647 in CPPFLAGS.
4648 ($(objpfx)bench-%.c): Remove *-ITER.
4649 * benchtests/bench-modf.c: Remove definition of ITER.
4650 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4651 (main): Loop for DURATION seconds instead of fixed number of
4652 iterations.
4653 * scripts/bench.pl: Don't expect iterations in parameters.
4654
4655 2013-04-29 Roland McGrath <roland@hack.frob.com>
4656
4657 * io/fchdir.c (__fchdir): Renamed from fchdir.
4658 (fchdir): Define as weak alias.
4659
4660 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4661
4662 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4663 (ERRNO_EDOM): Likewise.
4664 (ERRNO_ERANGE): Likewise.
4665 (noErrnoTests): New variable.
4666 (init_max_error): Set errno to 0.
4667 (test_single_errno): New function.
4668 (test_errno): Likewise.
4669 (check_float_internal): Call test_errno. Set errno to 0.
4670 (check_complex): Refer to errno tests in comment.
4671 (check_int): Call test_errno. Set errno to 0.
4672 (check_long): Likewise.
4673 (check_bool): Likewise.
4674 (check_longlong): Likewise.
4675 (cos_test): Use ERRNO_* flags for errno tests instead of
4676 check_int.
4677 (expm1_test): Likewise.
4678 (fmod_test): Likewise.
4679 (ilogb_test): Likewise.
4680 (lgamma_test): Likewise.
4681 (pow_test): Likewise.
4682 (remainder_test): Likewise.
4683 (sin_test): Likewise.
4684 (tan_test): Likewise.
4685 (yn_test): Likewise.
4686 (initialize): Set errno to 0.
4687 (main): Print number of errno tests.
4688 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4689
4690 2013-04-29 Andreas Jaeger <aj@suse.de>
4691
4692 [BZ #15084]
4693 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4694 and RES_USEVC.
4695
4696 [BZ #15085]
4697 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4698 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4699 unimplemented.
4700
4701 [BZ #15380]
4702 * stdlib/random.c (__initstate): Return NULL if
4703 __initstate fails.
4704
4705 [BZ #15086]
4706 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4707 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4708 RES_SNGLKUPREOP.
4709
4710 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4711
4712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4713
4714 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4715
4716 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4717 of individual tests.
4718 (casin_test): Likewise.
4719 (casinh_test): Likewise.
4720
4721 2013-04-27 Joseph Myers <joseph@codesourcery.com>
4722
4723 [BZ #15409]
4724 * math/s_catan.c (__catan): Handle arguments with large real or
4725 imaginary part separately without squaring.
4726 * math/s_catanf.c (__catanf): Likewise.
4727 * math/s_catanh.c (__catanh): Likewise.
4728 * math/s_catanhf.c (__catanhf): Likewise.
4729 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4730 and redefine.
4731 (__catanhl): Handle arguments with large real or imaginary part
4732 separately without squaring.
4733 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4734 and redefine.
4735 (__catanl): Handle arguments with large real or imaginary part
4736 separately without squaring.
4737 * math/libm-test.inc (catan_test): Add more tests.
4738 (catanh_test): Likewise.
4739 * sysdeps/i386/fpu/libm-test-ulps: Update.
4740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4741
4742 2013-04-27 Andreas Jaeger <aj@suse.de>
4743
4744 [BZ #15007]
4745 * stdlib/stdlib.h: Update guards for qecvt.
4746 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4747 <stdlib.h>.
4748
4749 2013-04-27 Allan McRae <allan@archlinux.org>
4750
4751 * sysdeps/i386/fpu/libm-test-ulps: Update.
4752
4753 2013-04-26 Joseph Myers <joseph@codesourcery.com>
4754
4755 [BZ #15406]
4756 * math/s_catan.c: Include <float.h>.
4757 (__catan): Ensure underflow exception occurs for underflowed
4758 result.
4759 * math/s_catanf.c: Include <float.h>.
4760 (__catanf): Ensure underflow exception occurs for underflowed
4761 result.
4762 * math/s_catanh.c: Include <float.h>.
4763 (__catanh): Ensure underflow exception occurs for underflowed
4764 result.
4765 * math/s_catanhf.c: Include <float.h>.
4766 (__catanhf): Ensure underflow exception occurs for underflowed
4767 result.
4768 * math/s_catanhl.c: Include <float.h>.
4769 (__catanhl): Ensure underflow exception occurs for underflowed
4770 result.
4771 * math/s_catanl.c: Include <float.h>.
4772 (__catanl): Ensure underflow exception occurs for underflowed
4773 result.
4774 * math/libm-test.inc (catan_test): Add more tests.
4775 (catanh_test): Likewise.
4776
4777 [BZ #15405]
4778 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4779 underflowed result.
4780 * math/s_ccoshf.c (__ccoshf): Likewise.
4781 * math/s_ccoshl.c (__ccoshl): Likewise.
4782 * math/s_csin.c (__csin): Likewise.
4783 * math/s_csinf.c (__csinf): Likewise.
4784 * math/s_csinh.c (__csinh): Likewise.
4785 * math/s_csinhf.c (__csinhf): Likewise.
4786 * math/s_csinhl.c (__csinhl): Likewise.
4787 * math/s_csinl.c (__csinl): Likewise.
4788 * math/libm-test.inc (ccos_test): Add more tests.
4789 (ccosh_test): Likewise.
4790 (csin_test): Likewise.
4791 (csinh_test): Likewise.
4792
4793 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4794
4795 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4796 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4797 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4798 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4799 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4800 powerpc/power5+/fpu folders.
4801 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4802
4803
4804 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4805
4806 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4807
4808 2013-04-25 Joseph Myers <joseph@codesourcery.com>
4809
4810 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4811 additions to variable.
4812 [$(config-machine) = x86_64] (modules-names): Likewise.
4813 ($(objpfx)tst-audit3): Remove dependency.
4814 ($(objpfx)tst-audit3.out): Likewise.
4815 ($(objpfx)tst-audit4): Likewise.
4816 ($(objpfx)tst-audit4.out): Likewise.
4817 ($(objpfx)tst-audit5): Likewise.
4818 ($(objpfx)tst-audit5.out): Likewise.
4819 ($(objpfx)tst-audit6): Likewise.
4820 ($(objpfx)tst-audit6.out): Likewise.
4821 ($(objpfx)tst-audit7): Likewise.
4822 ($(objpfx)tst-audit7.out): Likewise.
4823 (tst-audit3-ENV): Remove variable.
4824 (tst-audit4-ENV): Likewise.
4825 (tst-audit5-ENV): Likewise.
4826 (tst-audit6-ENV): Likewise.
4827 (tst-audit7-ENV): Likewise.
4828 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4829 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4830 addition to variable.
4831 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4832 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4833 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4834 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4835 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4836 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4837 tst-audit3, tst-audit4 and tst-audit5.
4838 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4839 tst-audit6 and tst-audit7.
4840 [$(subdir) = elf] (modules-names): Add audit modules for those
4841 tests.
4842 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4843 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4844 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4845 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4846 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4847 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4848 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4849 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4850 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4851 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4852 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4853 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4854 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4855 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4856 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4857 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4858 Likewise.
4859 [$(subdir) = elf && $(config-cflags-avx) = yes]
4860 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4861 [$(subdir) = elf && $(config-cflags-avx) = yes]
4862 (CFLAGS-tst-auditmod4a.c): Likewise.
4863 [$(subdir) = elf && $(config-cflags-avx) = yes]
4864 (CFLAGS-tst-auditmod4b.c): Likewise.
4865 [$(subdir) = elf && $(config-cflags-avx) = yes]
4866 (CFLAGS-tst-auditmod6b.c): Likewise.
4867 [$(subdir) = elf && $(config-cflags-avx) = yes]
4868 (CFLAGS-tst-auditmod6c.c): Likewise.
4869 [$(subdir) = elf && $(config-cflags-avx) = yes]
4870 (CFLAGS-tst-auditmod7b.c): Likewise.
4871 * elf/tst-audit3.c: Move to ...
4872 * sysdeps/x86_64/tst-audit3.c: ... here.
4873 * elf/tst-audit4.c: Move to ...
4874 * sysdeps/x86_64/tst-audit4.c: ... here.
4875 * elf/tst-audit5.c: Move to ...
4876 * sysdeps/x86_64/tst-audit5.c: ... here.
4877 * elf/tst-audit6.c: Move to ...
4878 * sysdeps/x86_64/tst-audit6.c: ... here.
4879 * elf/tst-audit7.c: Move to ...
4880 * sysdeps/x86_64/tst-audit7.c: ... here.
4881 * elf/tst-auditmod3a.c: Move to ...
4882 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4883 * elf/tst-auditmod3b.c: Move to ...
4884 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4885 * elf/tst-auditmod4a.c: Move to ...
4886 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4887 * elf/tst-auditmod4b.c: Move to ...
4888 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4889 * elf/tst-auditmod5a.c: Move to ...
4890 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4891 * elf/tst-auditmod5b.c: Move to ...
4892 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4893 * elf/tst-auditmod6a.c: Move to ...
4894 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4895 * elf/tst-auditmod6b.c: Move to ...
4896 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4897 * elf/tst-auditmod6c.c: Move to ...
4898 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4899 * elf/tst-auditmod7a.c: Move to ...
4900 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4901 * elf/tst-auditmod7b.c: Move to ...
4902 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4903
4904 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4905
4906 [BZ #15366]
4907 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4908 define unconditionally.
4909 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4910 define unconditionally.
4911 (INT8_C, INT16_C, etc.): Likewise.
4912
4913 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4914
4915 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4916 __ehdr_start with hidden visibility.
4917
4918 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4919
4920 2013-04-24 Carlos O'Donell <carlos@redhat.com>
4921
4922 * math/libm-test.inc (cos_test): Use accurate hex constants.
4923 (sincost_test): Likewise.
4924
4925 2013-04-24 Joseph Myers <joseph@codesourcery.com>
4926
4927 * math/libm-test.inc (catan_test): Add more tests.
4928 (catanh_test): Likewise.
4929
4930 * math/s_catanf.c (__catanf): Use suffixed floating-point
4931 constants.
4932 * math/s_catanhf.c (__catanhf): Likewise.
4933 * math/s_catanhl.c (__catanhl): Likewise.
4934 * math/s_catanl.c (__catanl): Likewise.
4935
4936 [BZ #15394]
4937 * math/s_catan.c (__catan): Calculate imaginary part of result
4938 with log1p not log unless computing log of number close to 0.
4939 * math/s_catanf.c (__catanf): Likewise.
4940 * math/s_catanl.c (__catanl): Likewise.
4941 * math/s_catanh.c (__catanh): Calculate real part of result with
4942 log1p not log unless computing log of number close to 0.
4943 * math/s_catanhf.c (__catanhf): Likewise.
4944 * math/s_catanhl.c (__catanhl): Likewise.
4945 * math/libm-test.inc (catan_test): Add more tests.
4946 (catanh_test): Likewise.
4947 * sysdeps/i386/fpu/libm-test-ulps: Update.
4948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4949
4950 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4951
4952 * benchtests/Makefile: Mention files in which fast and slow
4953 paths of math functions are implemented.
4954
4955 2013-04-23 Roland McGrath <roland@hack.frob.com>
4956
4957 * sysdeps/posix/timespec_get.c: New file.
4958
4959 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4960
4961 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4962 POWER.
4963 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4964 for POWER.
4965 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4966 powerpc/power5/fpu folders.
4967 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4968 * benchtests/Makefile: Add modf testcase.
4969 * benchtests/bench-modf.c: New file: Benchmark test for mo
4970
4971 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4972
4973 [BZ #14888]
4974 * time/Makefile (tests): Add tst-strptime-whitespace.
4975 * time/strptime_l.c (get_number): Use ISSPACE.
4976 (__strptime_internal): Likewise.
4977 * time/tst-strptime-whitespace.c: New test case.
4978
4979 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4980
4981 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4982 member.
4983 (_nss_files_init): Set it here.
4984
4985 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4986
4987 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4988 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4989 unsigned.
4990
4991 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4992
4993 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4994
4995 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4996
4997 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4998 size just once.
4999
5000 2013-04-21 David S. Miller <davem@davemloft.net>
5001
5002 * po/ru.po: Update Russion translation from translation project.
5003
5004 2013-04-17 Adam Conrad <adconrad@0c3.net>
5005
5006 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5007 and setfsgid.
5008
5009 2013-04-17 Carlos O'Donell <carlos@redhat.com>
5010
5011 * configure.in: Remove i386 configure warning. Remove i386 case.
5012 * configure: Regenerate.
5013 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
5014 Add example to error message.
5015 * sysdeps/i386/configure: Regenerate.
5016
5017 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5018
5019 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5020 slowtan.
5021 * benchtests/cos-inputs: New file.
5022 * benchtests/slowcos-inputs: New file.
5023 * benchtests/slowcos.c: New file.
5024 * benchtests/slowtan-inputs: New file.
5025 * benchtests/slowtan.c: New file.
5026 * benchtests/tan-inputs: New file.
5027
5028 2013-04-16 Roland McGrath <roland@hack.frob.com>
5029
5030 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5031 considered kosher.
5032
5033 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5034
5035 * benchtests/Makefile: Include cppflags-iterator.mk to add
5036 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5037
5038 * Makefile.in (bench-clean): New target.
5039 * benchtests/Makefile (bench-clean): Likewise.
5040
5041 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5042
5043 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5044
5045 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5046
5047 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5048
5049 2013-04-15 Andreas Schwab <schwab@suse.de>
5050
5051 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5052 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5053 * nscd/pwdcache.c (cache_addpw): Likewise.
5054 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5055 more than recsize.
5056
5057 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5058
5059 * benchtests/Makefile (bench): Write all output to
5060 bench-out.tmp together.
5061
5062 2013-04-15 Andreas Schwab <schwab@suse.de>
5063
5064 * nscd/nscd.c (main): Don't fork again after closing files.
5065
5066 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5067
5068 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5069
5070 * benchtests/Rules (bench-deps): Collect dependencies into a
5071 single variable. Add Makefile to dependencies.
5072 ($(objpfx)bench-%.c): Depend on bench-deps.
5073
5074 2013-04-12 Roland McGrath <roland@hack.frob.com>
5075 Xavier Roche <roche+kml2@exalead.com>
5076
5077 [BZ #15361]
5078 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5079 just that it's a file descriptor.
5080 * manual/llio.texi (Synchronizing AIO Operations): Update description
5081 for EBADF error from aio_fsync.
5082
5083 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5084
5085 * Rules (bench): Move target definition...
5086 * benchtests/Makefile: ... here.
5087
5088 2013-04-11 Carlos O'Donell <carlos@redhat.com>
5089
5090 * math/libm-test.inc (cos_test): Fix PI/2 test.
5091 (sincos_test): Likewise.
5092 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5093 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5094
5095 2013-04-11 Andreas Schwab <schwab@suse.de>
5096
5097 [BZ #13988]
5098 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5099 accept exponent character only when digits were seen.
5100 * stdio-common/Makefile (tests): Add bug26.
5101 * stdio-common/bug26.c: New file.
5102
5103 [BZ #14293]
5104 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5105 non-freeable.
5106
5107 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5108
5109 * Makeconfig (rtld-prefix): Define built linker prefix.
5110 * Rules (run-bench): Use it.
5111 * math/Makefile (run-regen-ulps): Likewise.
5112
5113 * Rules (bench): Remove eval.
5114
5115 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5116 Roland McGrath <roland@hack.frob.com>
5117 Ondrej Bilka <neleai@seznam.cz>
5118
5119 [BZ #15346]
5120 * time/getdate.c: Include ctype.h and alloca.h.
5121 (__getdate_r): Trim leading and trailing spaces of input.
5122 * time/tst-getdate.c (tests): Add tests with leading and
5123 trailing spaces.
5124
5125 2013-04-08 Roland McGrath <roland@hack.frob.com>
5126
5127 [BZ #14280]
5128 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5129 when computing value.
5130
5131 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5132
5133 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5134 Use testrun.sh to run libm tests.
5135
5136 [BZ #15309]
5137 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5138
5139 2013-04-06 Marko Myllynen <myllynen@redhat.com>
5140
5141 [BZ #15264]
5142 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5143
5144 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5145
5146 * Makefile.in (regen-ulps): New target.
5147 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5148 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5149 [ifneq (no,$(PERL)] (regen-ulps): New target.
5150 [ifeq (no,$(PERL)] (regen-ulps): New target.
5151 * math/libm-test.inc (ulps_file_name): Define.
5152 (output_dir): New variable.
5153 (options): Add "output-dir" option.
5154 (parse_opt): Handle 'o' case.
5155 (main): If output_dir is non-NULL use it as a prefix
5156 otherwise use "".
5157 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5158
5159 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5160
5161 [BZ #10060, #10062]
5162 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5163 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5164 fail configure if __sync_val_compare_and_swap is not inlined.
5165 * sysdeps/i386/configure: Regenerate.
5166 * configure.in: Build for i686 when configured for i386.
5167 * configure: Regenerate.
5168 * README: Remove i386 reference.
5169
5170 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5171
5172 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5173 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5174
5175 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5176
5177 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5178 (lmsnanval): New variables.
5179 (F): Add conversion tests.
5180 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5181 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5182
5183 * stdio-common/tstdiomisc.c (F): Properly collect individual
5184 tests' results.
5185
5186 [BZ #14686, #15336]
5187 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5188 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5189 Instead, use input NaN values or generate a qNaN by arithmetic
5190 operation. Also fix bugs to comply with the standard.
5191 * math/libm-test.inc (remainder_test): Add more tests.
5192
5193 [BZ #15335, #15342]
5194 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5195 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5196 input NaN values or generate a qNaN by arithmetic operation.
5197
5198 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5199 unreachable code.
5200
5201 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5202 definitions.
5203
5204 2013-04-03 Joseph Myers <joseph@codesourcery.com>
5205
5206 [BZ #14478]
5207 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5208 underflowed result.
5209 * math/s_cexpf.c (__cexpf): Likewise.
5210 * math/s_cexpl.c (__cexpl): Likewise.
5211 * math/libm-test.inc (cexp_test): Add more tests.
5212
5213 2013-04-03 Andreas Schwab <schwab@suse.de>
5214
5215 [BZ #15330]
5216 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5217 order arrays from heap if bigger than alloca cutoff.
5218
5219 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5220
5221 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5222 (SNAN_TESTS_double): Refer to GCC PR56831.
5223 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5224 GCC PR56828.
5225
5226 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5227
5228 * Rules (bench): Move bench.out after the run is complete.
5229
5230 * Rules (bench): Echo currently running benchmark.
5231
5232 * benchtests/Makefile (bench): Add atan and slowatan.
5233 * benchtests/atan-inputs: New file.
5234 * benchtests/slowatan-inputs: New file.
5235 * benchtests/slowatan.c: New file.
5236
5237 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5238 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5239 its value.
5240
5241 [BZ #15305]
5242 * sysdeps/unix/sysv/linux/kernel-features.h
5243 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5244 __ASSUME_XFS_RESTRICTED_CHOWN.
5245 * sysdeps/unix/sysv/linux/pathconf.c
5246 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5247 Save and restore errno.
5248
5249 2013-04-02 Joseph Myers <joseph@codesourcery.com>
5250
5251 [BZ #15327]
5252 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5253 arguments using __kernel_casinh.
5254 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5255 arguments using __kernel_casinhf.
5256 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5257 arguments using __kernel_casinhl.
5258 * math/libm-test.inc (cacosh_test): Add more tests.
5259 * sysdeps/i386/fpu/libm-test-ulps: Update.
5260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5261
5262 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5263
5264 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5265 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5266
5267 * bench/Makefile (bench): Add sin and slowsin.
5268 * benchtests/sin-inputs: New file.
5269 * benchtests/slowsin-inputs: New file.
5270 * benchtests/slowsin.c: New file.
5271
5272 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5273 (bench): Add slowexp and slowpow.
5274 (exp-ITER): Increase iterations.
5275 (pow-ITER): Likewise.
5276 * benchtests/exp-inputs: Change input.
5277 * benchtests/pow-inputs: Likewise.
5278 * benchtests/slowexp-inputs: New file.
5279 * benchtests/slowexp.c: New file.
5280 * benchtests/slowpow-inputs: New file.
5281 * benchtests/slowpow.c: New file.
5282
5283 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5284
5285 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5286 instructions.
5287 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5288 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5289 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5290 * benchtests/Makefile: Add rint benchtest.
5291 * benchtests/rint-inputs: Input for rint benchtest.
5292
5293 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5294
5295 * Versions.def (libm): Add GLIBC_2.18.
5296 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5297 hidden libm prototypes.
5298 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5299 * math/Makefile (libm-calls): Add s_issignaling.
5300 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5301 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5302 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5303 declaration.
5304 * math/math.h [__USE_GNU] (issignaling): New macro.
5305 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5306 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5307 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5308 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5309 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5310 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5311 * manual/arith.texi (issignaling): New section.
5312 * manual/libm-err-tab.pl (@all_functions): Update comment.
5313 * math/gen-libm-test.pl (parse_args): Apply special handling for
5314 issignaling.
5315 * math/libm-test.inc (print_float, issignaling_test): New
5316 functions.
5317 (check_float_internal): Add issignaling checks.
5318 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5319 default definition.
5320 * sysdeps/powerpc/math-tests.h: New file.
5321 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5322 tests.
5323 * math/test-snan.c (TEST_FUNC): Likewise.
5324
5325 2013-03-30 David S. Miller <davem@davemloft.net>
5326
5327 * po/de.po: Update from translation team.
5328
5329 2013-03-30 Joseph Myers <joseph@codesourcery.com>
5330
5331 [BZ #10357]
5332 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5333 imaginary part less than 1.0 and real part less than 0.5
5334 specially.
5335 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5336 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5337 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5338 (cacos_test): Add more tests.
5339 (casin_test): Likewise.
5340 (casinh_test): Likewise.
5341 * sysdeps/i386/fpu/libm-test-ulps: Update.
5342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5343
5344 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5345
5346 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5347 ONE with its value.
5348
5349 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5350 (__pow_mp): Replace ONE and MONE with their values.
5351 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5352 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5353 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5354 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5355 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5356 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5357
5358 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5359
5360 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5361 (__pow_mp): Replace ZERO and MZERO with their values.
5362 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5363 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5364 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5365 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5366 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5367 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5368 (__sqr): Likewise.
5369
5370 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5371
5372 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5373
5374 2013-03-28 Roland McGrath <roland@hack.frob.com>
5375
5376 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5377 Declare with __attribute__ ((weak)).
5378 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5379 Call __call_tls_dtors only if it's not NULL.
5380
5381 2013-03-28 Roland McGrath <roland@hack.frob.com>
5382
5383 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5384 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5385 magic __ehdr_start linker symbol if it's defined.
5386 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5387 them up here if it was already done.
5388
5389 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5390 (_dl_aux_init): Use const in cast when setting it.
5391 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5392 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5393 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5394
5395 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5396 Declare them here.
5397 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5398 * csu/libc-tls.c: Nor here.
5399 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5400
5401 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5402 (__libc_message): Never call vsyslog.
5403
5404 2013-03-28 Alan Modra <amodra@gmail.com>
5405
5406 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5407 Define as empty.
5408 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5409 Likewise.
5410
5411 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5412
5413 [BZ #15214]
5414 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5415 underflow.
5416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5417
5418 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5419
5420 [BZ #15304]
5421 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5422 Don't add gid passed as argument.
5423
5424 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5425
5426 2013-03-27 Joseph Myers <joseph@codesourcery.com>
5427
5428 [BZ #15307]
5429 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5430 imaginary part between 1.0 and 1.5 and real part less than 0.5
5431 specially.
5432 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5433 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5434 * math/libm-test.inc (cacos_test): Add more tests.
5435 (casin_test): Likewise.
5436 (casinh_test): Likewise.
5437 * sysdeps/i386/fpu/libm-test-ulps: Update.
5438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5439
5440 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5441
5442 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5443 constants.
5444 (norm): Likewise.
5445 (denorm): Likewise.
5446 (__dbl_mp): Likewise.
5447 (add_magnitudes): Likewise.
5448 (sub_magnitudes): Likewise.
5449 (__add): Likewise.
5450 (__sub): Likewise.
5451 (__mul): Likewise.
5452 (__sqr): Likewise.
5453 (__inv): Likewise.
5454 (__dvd): Likewise.
5455
5456 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5457 commented code.
5458 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5459 (__dubcos): Likewise.
5460 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5461 (__ieee754_acos): Likewise.
5462 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5463 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5464 (__exp1): Likewise.
5465 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5466 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5467 (log1): Likewise.
5468 (my_log2): Likewise.
5469 (checkint): Likewise.
5470 * sysdeps/ieee754/dbl-64/e_remainder.c
5471 (__ieee754_remainder): Likewise.
5472 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5473 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5474 (bsloww): Likewise.
5475 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5476
5477 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5478 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5479 MANTISSA_STORE_T to store computations on mantissa. Use
5480 macros for rounding and division.
5481 (denorm): Likewise.
5482 (__dbl_mp): Likewise.
5483 (add_magnitudes): Likewise.
5484 (sub_magnitudes): Likewise.
5485 (__mul): Likewise.
5486 (__sqr): Likewise.
5487 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5488 powers of two in terms of TWOPOW macro.
5489 (mp_no): Make type of mantissa as MANTISSA_T.
5490 [!RADIXI]: Define RADIXI.
5491 [!TWO52]: Define TWO52.
5492 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5493
5494 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5495
5496 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5497 llroundl symbol when building for PPC32.
5498
5499 2013-03-24 Mark H Weaver <mhw@netris.org>
5500
5501 * manual/arith.texi (Normalization Functions): Fix prototypes for
5502 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5503
5504 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5505
5506 [BZ #13889]
5507 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5508 high value to check if expl overflow.
5509 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5510 to check for underflow and overflow.
5511 * math/libm-test.inc: Add exp test.
5512
5513 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5514
5515 [BZ #11120]
5516 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5517 with NOT_IN_libc.
5518
5519 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5520
5521 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5522 symbol.
5523
5524 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5525
5526 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5527 wrap blocks consisting of several statements.
5528
5529 * sysdeps/generic/math-tests.h: New file.
5530 * sysdeps/i386/fpu/math-tests.h: Likewise.
5531 * math/test-snan.c: Include it.
5532 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5533
5534 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5535
5536 [BZ #15285]
5537 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5538 (__ieee754_j0l): Do not improve calculations using cos of twice
5539 input for inputs above LDBL_MAX / 2.0L.
5540 (__ieee754_y0l): Likewise.
5541 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5542 (__ieee754_j1l): Do not improve calculations using cos of twice
5543 input for inputs above LDBL_MAX / 2.0L.
5544 (__ieee754_y1l): Likewise.
5545 * math/libm-test.inc (j0_test): Add another test.
5546 (j1_test): Likewise.
5547 (y0_test): Likewise.
5548 (y1_test): Likewise.
5549 * sysdeps/i386/fpu/libm-test-ulps: Update.
5550
5551 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5552
5553 * Rules ($(objpfx)bench-%.c): Include code from a C source
5554 file.
5555
5556 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5557
5558 [BZ #15287]
5559 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5560 imaginary part 1.0 and real part less than 0.5 specially.
5561 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5562 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5563 * math/libm-test.inc (cacos_test): Add more tests.
5564 (casin_test): Likewise.
5565 (casinh_test): Likewise.
5566 * sysdeps/i386/fpu/libm-test-ulps: Update.
5567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5568
5569 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5570
5571 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5572 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5573
5574 2013-03-20 Joseph Myers <joseph@codesourcery.com>
5575
5576 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5577 * config.make.in (config-cflags-sse4): Remove variable.
5578 (config-cflags-avx): Likewise.
5579 (config-cflags-sse2avx): Likewise.
5580 (config-cflags-novzeroupper): Likewise.
5581 (config-asflags-i686): Likewise.
5582 (have-mfma4): Likewise.
5583 (have-as-vis3): Likewise.
5584 (MIG): Likewise.
5585 * configure.in (MIG): Do not AC_SUBST.
5586 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5587 (libc_cv_cc_sse4): Do not AC_SUBST.
5588 (libc_cv_cc_avx): Likewise.
5589 (libc_cv_cc_sse2avx): Likewise.
5590 (libc_cv_cc_novzeroupper): Likewise.
5591 (libc_cv_cc_fma4): Likewise.
5592 (libc_cv_as_i686): Likewise.
5593 (libc_cv_sparc_as_vis3): Likewise.
5594 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5595 LIBC_CONFIG_VAR.
5596 (config-asflags-i686): Likewise.
5597 (config-cflags-avx): Likewise.
5598 (config-cflags-sse2avx): Likewise.
5599 (have-mfma4): Likewise.
5600 (config-cflags-novzeroupper): Likewise.
5601 * sysdeps/mach/configure.in (MIG): Likewise.
5602 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5603 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5604 LIBC_CONFIG_VAR.
5605 (config-cflags-avx): Likewise.
5606 (config-cflags-sse2avx): Likewise.
5607 (have-mfma4): Likewise.
5608 (config-cflags-novzeroupper): Likewise.
5609 * configure: Regenerated.
5610 * sysdeps/i386/configure: Likewise.
5611 * sysdeps/mach/configure: Likewise.
5612 * sysdeps/sparc/configure: Likewise.
5613 * sysdeps/x86_64/configure: Likewise.
5614
5615 2013-03-20 Roland McGrath <roland@hack.frob.com>
5616
5617 [BZ #14812]
5618 * locale/programs/localedef.c (options): Put N_ translation marker
5619 on argument names, not just descriptions.
5620
5621 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5622
5623 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5624
5625 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
5626
5627 [BZ #14176]
5628 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5629
5630 2013-03-19 Roland McGrath <roland@hack.frob.com>
5631
5632 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5633 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5634 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5635 [!BEFORE_ABORT] (before_abort): New function.
5636 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5637 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5638 (writev_for_fatal): New function.
5639 (WRITEV_FOR_FATAL): New macro; call that.
5640 (backtrace_and_maps): New function.
5641 (BEFORE_ABORT): New macro; call that.
5642 (struct str_list): Type removed.
5643 (__libc_message, __libc_fatal): Functions removed.
5644 Include <sysdeps/posix/libc_fatal.c> instead.
5645
5646 2013-03-19 Joseph Myers <joseph@codesourcery.com>
5647
5648 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5649 constants.
5650 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5651 double constants.
5652
5653 2013-03-19 Andreas Schwab <schwab@suse.de>
5654
5655 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5656 * sysdeps/gnu/configure: Regenerate.
5657
5658 * configure.in: Substitute libc_cv_rtlddir.
5659 * configure: Regenerate.
5660 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5661 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5662 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5663 * elf/Makefile (install-others, CFLAGS-interp.c)
5664 (ldso_install, common-ldd-rewrite): Likewise.
5665 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5666 $(inst_slibdir)/$(rtld-installed-name).
5667 * scripts/rellns-sh: Add -p option.
5668 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5669 for source.
5670
5671 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5672
5673 * manual/nptl.texi: Renamed to ...
5674 * manual/threads.texi: ... this.
5675 * manual/Makefile (chapters): Update.
5676
5677 2013-03-18 Roland McGrath <roland@hack.frob.com>
5678
5679 [BZ #14812]
5680 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5681 on argument names, not just descriptions.
5682 * malloc/memusagestat.c (options): Likewise.
5683 * nss/getent.c (options): Likewise.
5684
5685 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
5686
5687 [BZ #14812]
5688 * iconv/iconv_prog.c (options): Put N_ translation marker
5689 on argument names, not just descriptions.
5690 * iconv/iconvconfig.c (options): Likewise.
5691
5692 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
5693
5694 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5695 implementation which is faster on all x86_64 architectures.
5696 Tested on AMD, Intel Nehalem, SNB, IVB.
5697 * sysdeps/x86_64/strnlen.S: Likewise.
5698
5699 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5700 Remove all multiarch strlen and strnlen versions.
5701 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5702 Remove strlen and strnlen related parts.
5703
5704 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5705 Inline strlen part.
5706 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5707
5708 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5709 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5710 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5711 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5712 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5713 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5714
5715 2013-03-17 Carlos O'Donell <carlos@redhat.com>
5716
5717 * manual/memory.texi (Malloc Tunable Parameters):
5718 Sort parameters alphabetically. Add comments for missing entries.
5719
5720 2013-03-17 David S. Miller <davem@davemloft.net>
5721
5722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5723
5724 2013-03-16 Joseph Myers <joseph@codesourcery.com>
5725
5726 [BZ #15283]
5727 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5728 for arguments at most half maximum finite value.
5729 * math/libm-test.inc (j0_test): Add more tests.
5730 (j1_test): Likewise.
5731 (y0_test): Likewise.
5732 (y1_test): Likewise.
5733 * sysdeps/i386/fpu/libm-test-ulps: Update.
5734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5735
5736 [BZ #14155]
5737 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5738 1 / x and functions P and Q for arguments above 0x1p256L.
5739 (__ieee754_y0l): Likewise.
5740 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5741 (__ieee754_y1l): Likewise.
5742 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5743 (j1_test): Likewise.
5744 (y0_test): Likewise.
5745 (y1_test): Likewise.
5746
5747 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5748
5749 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5750 variable.
5751
5752 2013-03-15 Roland McGrath <roland@hack.frob.com>
5753
5754 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5755 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5756 zero since it's initialized to EXEC_PAGESIZE.
5757
5758 * sysdeps/unix/sysv/linux/ldsodefs.h
5759 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5760 * sysdeps/generic/ldsodefs.h: ... here.
5761
5762 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5763
5764 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5765
5766 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5767 math/test-snan.c.
5768 * math/test-snan.c: Renamed from
5769 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5770 * math/Makefile (tests): Add test-snan.
5771 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5772 test-powerpc-snan.
5773
5774 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5775 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5776 functions.
5777 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5778 __builtin_nan family of functions.
5779 * math/libm-test.inc (initialize): Initialize qnan_value with
5780 __builtin_nan family of functions.
5781 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5782 Remove variables.
5783 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5784 Remove functions.
5785 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5786 storage class. Initialize qNaN_var and sNaN_var with
5787 __builtin_nan and __builtin_nans families of functions,
5788 respectively.
5789
5790 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5791 (sqrt_test): Remove duplicate test with qNaN input.
5792 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5793 (round_test, signbit_test, significand_test): Note missing +/-Inf
5794 as well as qNaN tests.
5795
5796 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5797 qNaN_var. Fix a few strings, too.
5798 * math/libm-test.inc (nan_value): Rename to qnan_value.
5799 * math/gen-libm-test.pl (%beautify): Adjust to that.
5800 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5801 * math/test-misc.c (main): Likewise.
5802 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5803 to __qnan_bytes, and __qnan_union, respectively.
5804 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5805 Likewise.
5806 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5807 and lqnanval, respectively.
5808 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5809 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5810 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5811 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5812
5813 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5814 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5815 doubles.
5816
5817 * math/test-misc.c (main): Fix copy'n'pastos.
5818 * misc/tst-efgcvt.c (special): Likewise.
5819
5820 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5821 Remove declarations.
5822
5823 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5824
5825 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5826 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5827 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5828 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5829
5830 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5831
5832 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5833 macro to return vdso values correctly in IFUNC implementations.
5834 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5835 Optimization by using IFUNC.
5836
5837 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5838 Richard Henderson <rth@redhat.com>
5839 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5840
5841 * Makefile.in (bench): New target.
5842 * NEWS: Mention the benchmark framework.
5843 * Rules (bench): Likewise.
5844 (binaries-bench): Generate binaries for functions to
5845 benchmark.
5846 * benchtests/Makefile: New makefile for benchmark tests.
5847 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5848 programs.
5849 * benchtests/exp-inputs: New input file for EXP function.
5850 * benchtests/pow-inputs: New input file for POW function.
5851 * scripts/bench.pl: New script to generate source files for
5852 benchmark programs.
5853
5854 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5855
5856 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5857 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5858 computations on mantissa. Use macros for rounding and
5859 division.
5860 (denorm): Likewise.
5861 (__dbl_mp): Likewise.
5862 (add_magnitudes): Likewise.
5863 (sub_magnitudes): Likewise.
5864 (__mul): Likewise.
5865 (__sqr): Likewise.
5866 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5867 powers of two in terms of TWOPOW macro.
5868 (mp_no): Make type of mantissa as MANTISSA_T.
5869 [!RADIXI]: Define RADIXI.
5870 [!TWO52]: Define TWO52.
5871 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5872
5873 * manual/nptl.texi (cindex): Modify threads to pthreads.
5874
5875 2013-03-15 Joseph Myers <joseph@codesourcery.com>
5876
5877 * sysdeps/x86_64/preconfigure: Regenerated.
5878
5879 2013-03-14 Joseph Myers <joseph@codesourcery.com>
5880
5881 [BZ #14155]
5882 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5883 0x1p28 and above.
5884 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5885 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5886 0x1p28 and above.
5887 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5888 * math/libm-test.inc (j0_test): Do not allow one spurious
5889 underflow exception.
5890 (y1_test): Likewise.
5891
5892 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5893
5894 * manual/Makefile (chapters): Add nptl.
5895 * manual/debug.texi (Debugging Support): Add link to Threads
5896 chapter.
5897 * manual/nptl.texi: New file.
5898
5899 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5900
5901 2013-03-14 Petr Baudis <pasky@ucw.cz>
5902
5903 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5904 for non-NULL pointer before the memory validity test. Pointed
5905 out by Holger Brunck <holger.brunck@keymile.com>.
5906
5907 2013-03-13 Andreas Schwab <schwab@suse.de>
5908
5909 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5910 instead of .os.
5911
5912 2013-03-13 Joseph Myers <joseph@codesourcery.com>
5913
5914 * timezone/zic.c: Update from tzcode 2013b.
5915
5916 2013-03-12 Carlos O'Donell <carlos@redhat.com>
5917
5918 * manual/install.texi (Configuring and compiling):
5919 Mention i686 and i586.
5920 * INSTALL: Regenerate.
5921
5922 2013-03-12 Roland McGrath <roland@hack.frob.com>
5923
5924 * sysdeps/init_array/elf-init.c: New file.
5925 * csu/elf-init.c
5926 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5927 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5928
5929 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5930 __gmon_start__ as global, but as static with a .preinit_array pointer.
5931 * sysdeps/init_array/gmon-start.c: New file. Use that.
5932 * sysdeps/init_array/crti.S: New file, empty except for comments.
5933 * sysdeps/init_array/crtn.S: Likewise.
5934
5935 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
5936
5937 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5938 definining bcopy.
5939 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5940 Remove Prefer_SSE_for_memop.
5941 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5942 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5943 HAS_PREFER_SSE_FOR_MEMOP.
5944 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5945 memset-x86-64.
5946 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5947 Remove bzero, memset ifunc support.
5948 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5949 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5950 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5951 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5952
5953 2013-03-11 Andreas Schwab <schwab@suse.de>
5954
5955 [BZ #15234]
5956 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5957 by SHLIB_COMPAT.
5958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5959 (GLIBC_2.16): Remove pthread_atfork.
5960
5961 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5962
5963 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5964 (ptestcases.h): Likewise.
5965
5966 2013-03-08 Roland McGrath <roland@hack.frob.com>
5967
5968 * Makeconfig ($(common-objpfx)config.status): Depend on
5969 sysdeps/*/preconfigure{,.in} too.
5970
5971 2013-03-08 Joseph Myers <joseph@codesourcery.com>
5972
5973 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5974 (__free_hook): Use void * instead of __malloc_ptr_t.
5975 (__malloc_hook): Likewise.
5976 (__realloc_hook): Likewise.
5977 (__memalign_hook): Likewise.
5978 (__after_morecore_hook): Likewise.
5979 * malloc/arena.c (save_malloc_hook): Likewise.
5980 (save_free_hook): Likewise.
5981 * malloc/hooks.c (malloc_hook_ini): Likewise.
5982 (realloc_hook_ini): Likewise.
5983 (memalign_hook_ini): Likewise.
5984 * malloc/malloc.c (malloc_hook_ini): Likewise.
5985 (realloc_hook_ini): Likewise.
5986 (memalign_hook_ini): Likewise.
5987 (__free_hook): Likewise.
5988 (__malloc_hook): Likewise.
5989 (__realloc_hook): Likewise.
5990 (__memalign_hook): Likewise.
5991 (__libc_malloc): Likewise.
5992 (__libc_free): Likewise.
5993 (__libc_realloc): Likewise.
5994 (__libc_memalign): Likewise.
5995 (__libc_valloc): Likewise.
5996 (__libc_pvalloc): Likewise.
5997 (__libc_calloc): Likewise.
5998 (__posix_memalign): Likewise.
5999 * malloc/morecore.c (__sbrk): Likewise.
6000 (__default_morecore): Likewise.
6001
6002 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6003
6004 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6005 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6006 __malloc_ptrdiff_t.
6007
6008 * malloc/malloc.h (__malloc_size_t): Remove macro.
6009 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6010 __malloc_size_t.
6011 (old_memalign_hook): Likewise.
6012 (old_realloc_hook): Likewise.
6013 (struct hdr): Likewise.
6014 (flood): Likewise.
6015 (mallochook): Likewise.
6016 (memalignhook): Likewise.
6017 (reallochook): Likewise.
6018 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6019 (tr_old_realloc_hook): Likewise.
6020 (tr_old_memalign_hook): Likewise.
6021 (tr_mallochook): Likewise.
6022 (tr_reallochook): Likewise.
6023 (tr_memalignhook): Likewise.
6024
6025 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6026
6027 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6028 default_ldbl_pack and using as default implementation.
6029 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6030 implementation.
6031 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6032 redundant definition.
6033 (ldbl_insert_mantissa): Likewise.
6034 (ldbl_canonicalize): Likewise.
6035 (ldbl_nearbyint): Likewise.
6036 (ldbl_pack): Rename to ldbl_pack_ppc.
6037 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6038 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6039 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6040
6041 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6042
6043 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6044 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6045 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6046 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6047 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6048 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6049 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6050 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6051
6052 2013-03-07 Andreas Jaeger <aj@suse.de>
6053
6054 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6055 bits/mman-linux.h.
6056
6057 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6058
6059 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6060 Include mpa.h and declare __MPEXP.
6061 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6062 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6063 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6064 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6065 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6066 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6067 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6068
6069 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6070 (__slowpow): Use long double EXPL and LOGL functions to
6071 compute POW.
6072 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6073 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6074 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6075 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6076 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6077 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6078
6079 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6080 intermediate variable to calculate exponent.
6081 (__sqr): Likewise.
6082 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6083 Likewise.
6084 (__sqr): Likewise.
6085
6086 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6087 [!NO__SQR]: Define __sqr.
6088 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6089 and NO__SQR. Remove all code except __mul and __sqr. Include
6090 sysdeps/ieee754/dbl-64/mpa.c.
6091 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6092
6093 [BZ #12723]
6094 * posix/Makefile (tests): Add tst-pathconf.
6095 * posix/tst-pathconf.c: New test case.
6096 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6097 _PC_PIPE_BUF.
6098 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6099
6100 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
6101
6102 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6103
6104 2013-03-06 Andreas Jaeger <aj@suse.de>
6105
6106 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6107 definition via __MAP_ANONYMOUS.
6108
6109 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6110 it's not part of Linux headers.
6111
6112 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6113 (MAP_HUGE_MASK): Define.
6114
6115 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6116 Define.
6117 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6118 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6119 Define.
6120 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6121 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6122 Define.
6123 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6124 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6125 Define.
6126 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6127
6128 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6129 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6130 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6131 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6132 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6133 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6134
6135 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6136 Handle f2fs.
6137
6138 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6139 Handle f2fs and efivarfs.
6140
6141 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6142 f2fs.
6143
6144 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6145 (EFIVARFS_MAGIC): Add.
6146 (F2FS_LINK_MAX): Add.
6147
6148 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6149
6150 * stdio-common/vfprintf.c: Replace __builtin_expect with
6151 __glibc_unlikely.
6152
6153 2013-03-06 Joseph Myers <joseph@codesourcery.com>
6154
6155 [BZ #13550]
6156 * sysdeps/generic/bp-sym.h: Remove file.
6157 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6158 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6159 <bp-sym.h> and <bp-asm.h>.
6160 (__longjmp): Don't use BP_SYM.
6161 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6162 and <bp-asm.h>.
6163 (memcpy): Don't use BP_SYM.
6164 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6165 <bp-sym.h> and <bp-asm.h>.
6166 (memcpy): Don't use BP_SYM.
6167 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6168 <bp-asm.h>.
6169 (memcpy): Don't use BP_SYM.
6170 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6171 <bp-asm.h>.
6172 (memset): Don't use BP_SYM.
6173 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6174 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6175 (__bzero): Don't use BP_SYM.
6176 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6177 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6178 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6179 <bp-sym.h> and <bp-asm.h>.
6180 (memcmp): Don't use BP_SYM. Remove comment about bounded
6181 pointers.
6182 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6183 <bp-sym.h> and <bp-asm.h>.
6184 (memcpy): Don't use BP_SYM.
6185 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6186 <bp-sym.h> and <bp-asm.h>.
6187 (memset): Don't use BP_SYM.
6188 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6189 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6190 (__bzero): Don't use BP_SYM.
6191 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6192 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6193 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6194 <bp-sym.h> and <bp-asm.h>.
6195 (strncmp): Don't use BP_SYM. Remove comment about bounded
6196 pointers.
6197 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6198 <bp-sym.h> and <bp-asm.h>.
6199 (memcpy): Don't use BP_SYM.
6200 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6201 <bp-sym.h> and <bp-asm.h>.
6202 (memset): Don't use BP_SYM.
6203 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6204 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6205 (__bzero): Don't use BP_SYM.
6206 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6207 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6208 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6209 <bp-sym.h> and <bp-asm.h>.
6210 (__memchr): Don't use BP_SYM.
6211 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6212 <bp-sym.h> and <bp-asm.h>.
6213 (memcmp): Don't use BP_SYM. Remove comment about bounded
6214 pointers.
6215 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6216 <bp-sym.h> and <bp-asm.h>.
6217 (memcpy): Don't use BP_SYM.
6218 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6219 <bp-sym.h> and <bp-asm.h>.
6220 (__mempcpy): Don't use BP_SYM.
6221 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6222 <bp-sym.h> and <bp-asm.h>.
6223 (__memrchr): Don't use BP_SYM.
6224 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6225 <bp-sym.h> and <bp-asm.h>.
6226 (memset): Don't use BP_SYM.
6227 (__bzero): Likewise.
6228 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6229 <bp-sym.h> and <bp-asm.h>.
6230 (__rawmemchr): Don't use BP_SYM.
6231 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6232 <bp-sym.h> and <bp-asm.h>.
6233 (__STRCMP): Don't use BP_SYM.
6234 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6235 <bp-sym.h> and <bp-asm.h>.
6236 (strchr): Don't use BP_SYM.
6237 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6238 <bp-sym.h> and <bp-asm.h>.
6239 (__strchrnul): Don't use BP_SYM.
6240 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6241 <bp-sym.h> and <bp-asm.h>.
6242 (strlen): Don't use BP_SYM.
6243 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6244 <bp-sym.h> and <bp-asm.h>.
6245 (strncmp): Don't use BP_SYM. Remove comment about bounded
6246 pointers.
6247 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6248 <bp-sym.h> and <bp-asm.h>.
6249 (__strnlen): Don't use BP_SYM.
6250 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6251 <bp-sym.h> and <bp-asm.h>.
6252 (__GI__setjmp): Don't use BP_SYM.
6253 (_setjmp): Likewise.
6254 (__sigsetjmp): Likewise.
6255 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6256 (L(start_addresses)): Don't use BP_SYM.
6257 (_start): Likewise.
6258 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6259 <bp-asm.h>.
6260 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6261 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6262 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6263 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6264 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6265 <bp-asm.h>.
6266 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6267 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6268 about bounded pointers.
6269 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6270 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6271 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6272 <bp-asm.h>.
6273 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6274 about bounded pointers. Remove GKM FIXME comments.
6275 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6276 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6277 <bp-asm.h>.
6278 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6279 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6280 Remove GKM FIXME comments.
6281 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6282 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6283 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6284 <bp-asm.h>.
6285 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6286 about bounded pointers. Remove GKM FIXME comment.
6287 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6288 and <bp-asm.h>.
6289 (strncmp): Don't use BP_SYM. Remove comment about bounded
6290 pointers.
6291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6292 <bp-sym.h> and <bp-asm.h>.
6293 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6295 <bp-sym.h> and <bp-asm.h>.
6296 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6297 comment.
6298
6299 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6300
6301 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6302 call free(NULL).
6303
6304 2013-03-05 David S. Miller <davem@davemloft.net>
6305
6306 * po/es.po: Update from translation team.
6307
6308 2013-03-05 Andreas Jaeger <aj@suse.de>
6309
6310 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6311 <bits/mman-linux.h>.
6312 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6313 is fine.
6314 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6315 <bits/mman-linux.h> to end of file.
6316 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6317 is fine.
6318 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6319 <bits/mman-linux.h> to end of file.
6320 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6321 is fine.
6322 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6323 <bits/mman-linux.h> to end of file.
6324
6325 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6326 (MCL_CURRENT, MCL_FUTURE): Define here.
6327
6328 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6329
6330 [BZ #15232]
6331 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6332 attribute_hidden.
6333 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6334
6335 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6336
6337 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6338 fourth parameter needed for rt_sigprocmask syscall.
6339 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6340 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6341 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6342 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6343 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6344 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6345
6346 2013-03-04 Joseph Myers <joseph@codesourcery.com>
6347
6348 [BZ #13550]
6349 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6350 comment about bounded pointers.
6351 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6352 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6353
6354 2013-03-04 Andreas Jaeger <aj@suse.de>
6355
6356 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6357 common definitions.
6358
6359 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6360 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6361 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6362 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6363 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6364 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6365
6366 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6367
6368 [BZ #15055]
6369 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6370 __ieee754_sqrl instead of __sqrl.
6371
6372 2013-03-01 Joseph Myers <joseph@codesourcery.com>
6373
6374 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6375 * sysdeps/powerpc/fpu_control.h: ... here.
6376 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6377 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6378 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6379 * sysdeps/powerpc/bits/mathinline.h: ... here.
6380
6381 2013-03-01 Roland McGrath <roland@hack.frob.com>
6382
6383 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6384 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6385 to just [NEED_DL_SYSINFO_DSO].
6386 * elf/dl-support.c: Likewise.
6387 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6388 * elf/rtld.c (dl_main): Likewise.
6389 * elf/setup-vdso.h (setup_vdso): Likewise.
6390 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6391 * sysdeps/unix/sysv/linux/dl-sysdep.c
6392 (_dl_discover_osversion): Likewise.
6393
6394 2013-03-01 Carlos O'Donell <carlos@redhat.com>
6395
6396 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6397 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6398
6399 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6400
6401 * NEWS: Mention libm performance improvements and non-x86 PI
6402 futex support.
6403
6404 * csu/libc-start.c (__pthread_initialize_minimal): Change
6405 function arguments.
6406 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6407
6408 2013-02-28 Joseph Myers <joseph@codesourcery.com>
6409
6410 [BZ #13550]
6411 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6412 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6413 <bp-sym.h> and <bp-asm.h>.
6414 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6415 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6416 and <bp-asm.h>.
6417 (memcpy): Don't use BP_SYM.
6418 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6419 <bp-asm.h>.
6420 (__mpn_add_n): Don't use BP_SYM.
6421 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6422 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6423 and <bp-asm.h>.
6424 (__mpn_addmul_1): Don't use BP_SYM.
6425 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6426 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6427 <bp-sym.h>.
6428 (_setjmp): Don't use BP_SYM.
6429 (__novmx_setjmp): Likewise.
6430 (__GI__setjmp): Likewise.
6431 (__vmx_setjmp): Likewise.
6432 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6433 <bp-sym.h>.
6434 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6435 (__bzero): Don't use BP_SYM.
6436 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6437 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6438 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6439 <bp-sym.h> and <bp-asm.h>.
6440 (memcpy): Don't use BP_SYM.
6441 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6442 <bp-sym.h> and <bp-asm.h>.
6443 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6444 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6445 <bp-sym.h> and <bp-asm.h>.
6446 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6447 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6448 <bp-asm.h>.
6449 (__mpn_lshift): Don't use BP_SYM.
6450 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6451 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6452 <bp-asm.h>.
6453 (memset): Don't use BP_SYM.
6454 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6455 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6456 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6457 <bp-asm.h>.
6458 (__mpn_mul_1): Don't use BP_SYM.
6459 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6460 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6461 <bp-sym.h> and <bp-asm.h>.
6462 (memcmp): Don't use BP_SYM.
6463 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6464 <bp-sym.h> and <bp-asm.h>.
6465 (memcpy): Don't use BP_SYM.
6466 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6467 <bp-sym.h> and <bp-asm.h>.
6468 (memset): Don't use BP_SYM.
6469 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6470 <bp-sym.h> and <bp-asm.h>.
6471 (strncmp): Don't use BP_SYM.
6472 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6473 <bp-sym.h> and <bp-asm.h>.
6474 (memcpy): Don't use BP_SYM.
6475 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6476 <bp-sym.h> and <bp-asm.h>.
6477 (memset): Don't use BP_SYM.
6478 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6479 <bp-sym.h> and <bp-asm.h>.
6480 (__memchr): Don't use BP_SYM.
6481 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6482 <bp-sym.h> and <bp-asm.h>.
6483 (memcmp): Don't use BP_SYM.
6484 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6485 <bp-sym.h> and <bp-asm.h>.
6486 (memcpy): Don't use BP_SYM.
6487 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6488 <bp-sym.h> and <bp-asm.h>.
6489 (__mempcpy): Don't use BP_SYM.
6490 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6491 <bp-sym.h> and <bp-asm.h>.
6492 (__memrchr): Don't use BP_SYM.
6493 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6494 <bp-sym.h> and <bp-asm.h>.
6495 (memset): Don't use BP_SYM.
6496 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6497 <bp-sym.h> and <bp-asm.h>.
6498 (__rawmemchr): Don't use BP_SYM.
6499 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6500 <bp-sym.h> and <bp-asm.h>.
6501 (__STRCMP): Don't use BP_SYM.
6502 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6503 <bp-sym.h> and <bp-asm.h>.
6504 (strchr): Don't use BP_SYM.
6505 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6506 <bp-sym.h> and <bp-asm.h>.
6507 (__strchrnul): Don't use BP_SYM.
6508 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6509 <bp-sym.h> and <bp-asm.h>.
6510 (strlen): Don't use BP_SYM.
6511 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6512 <bp-sym.h> and <bp-asm.h>.
6513 (strncmp): Don't use BP_SYM.
6514 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6515 <bp-sym.h> and <bp-asm.h>.
6516 (__strnlen): Don't use BP_SYM.
6517 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6518 <bp-asm.h>.
6519 (__mpn_rshift): Don't use BP_SYM.
6520 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6521 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6522 <bp-sym.h> and <bp-asm.h>.
6523 (__sigsetjmp): Don't use BP_SYM.
6524 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6525 (L(start_addresses)): Don't use BP_SYM.
6526 (_start): Likewise.
6527 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6528 <bp-asm.h>.
6529 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6530 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6531 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6532 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6533 <bp-asm.h>.
6534 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6535 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6536 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6537 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6538 <bp-asm.h>.
6539 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6540 comments.
6541 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6542 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6543 <bp-asm.h>.
6544 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6545 FIXME comments.
6546 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6547 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6548 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6549 <bp-asm.h>.
6550 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6551 comment.
6552 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6553 and <bp-asm.h>.
6554 (strncmp): Don't use BP_SYM,
6555 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6556 <bp-asm.h>.
6557 (__mpn_sub_n): Don't use BP_SYM.
6558 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6559 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6560 and <bp-asm.h>.
6561 (__mpn_submul_1): Don't use BP_SYM.
6562 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6564 <bp-sym.h> and <bp-asm.h>.
6565 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6567 <bp-sym.h> and <bp-asm.h>.
6568 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6569 comment.
6570
6571 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6572
6573 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6574 Use ZK to minimize writes to Z.
6575 (sub_magnitudes): Simplify code a bit.
6576 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6577 Use ZK to minimize writes to Z.
6578 (sub_magnitudes): Simplify code a bit.
6579
6580 2013-02-27 Roland McGrath <roland@hack.frob.com>
6581
6582 * csu/gmon-start.c: Add special exception to license text.
6583
6584 2013-02-27 Richard Henderson <rth@redhat.com>
6585
6586 * scripts/config.guess: Update from config.git.
6587 * scripts/config.sub: Likewise.
6588
6589 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6590
6591 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6592
6593 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6594
6595 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6596
6597 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6598
6599 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6600
6601 2013-02-26 Roland McGrath <roland@hack.frob.com>
6602
6603 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6604 [$(build-shared = yes].
6605
6606 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6607
6608 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6609 (__mul): Reduce iterations for calculating mantissa.
6610
6611 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6612 MPTWO.
6613 (__mpranred): Likewise.
6614
6615 [BZ #15160]
6616 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6617 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6618
6619 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6620
6621 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6622 Define __attribute__.
6623
6624 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6625
6626 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6627 unused.
6628 * posix/regex_internal.h (__attribute): Remove.
6629 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6630 (re_string_context_at): Likewise.
6631 (bitset_not): Use __attribute__ and mark function as possibly
6632 unused.
6633 (bitset_merge): Likewise.
6634 (bitset_mask): Likewise.
6635 (re_string_char_size_at): Likewise.
6636 (re_string_wchar_at): Likewise.
6637 (re_string_elem_size_at): Likewise.
6638
6639 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6640
6641 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6642 code.
6643 (cc32): Likewise.
6644
6645 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6646 (__acr): Likewise.
6647 (__cpy): Likewise.
6648 (norm): Likewise.
6649 (denorm): Likewise.
6650 (__dbl_mp): Likewise.
6651 (add_magnitudes): Likewise.
6652 (sub_magnitudes): Likewise.
6653 (__mul): Likewise.
6654 (__inv): Likewise.
6655
6656 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6657 style.
6658
6659 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6660 style.
6661
6662 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6663 code.
6664
6665 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6666 up changes with default code.
6667 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6668 Likewise.
6669
6670 2013-02-24 Allan McRae <allan@archlinux.org>
6671
6672 * manual/socket.texi (The Internet Namespace): Order menu items
6673 to match that in the file.
6674
6675 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6676 node listing of the info page menu.
6677
6678 2013-02-21 Joseph Myers <joseph@codesourcery.com>
6679
6680 [BZ #13550]
6681 * sysdeps/i386/bp-asm.h: Remove file.
6682 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6683 (PARMS): Do not use macros from bp-asm.h.
6684 (S1): Likewise.
6685 (S2): Likewise.
6686 (SIZE): Likewise.
6687 (__mpn_add_n): Do not use BP_SYM
6688 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6689 "bp-asm.h".
6690 (PARMS): Do not use macros from bp-asm.h.
6691 (S1): Likewise.
6692 (SIZE): Likewise.
6693 (__mpn_addmul_1): Do not use BP_SYM
6694 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6695 "bp-asm.h".
6696 (PARMS): Do not use macros from bp-asm.h.
6697 (SIGMSK): Likewise.
6698 (_setjmp): Likewise. Do not use BP_SYM.
6699 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6700 "bp-asm.h".
6701 (PARMS): Do not use macros from bp-asm.h.
6702 (SIGMSK): Likewise.
6703 (setjmp): Likewise. Do not use BP_SYM.
6704 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6705 "bp-asm.h".
6706 (PARMS): Do not use macros from bp-asm.h.
6707 (__frexp): Do not use BP_SYM.
6708 (frexp): Likewise.
6709 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6710 "bp-asm.h".
6711 (PARMS): Do not use macros from bp-asm.h.
6712 (__frexpf): Do not use BP_SYM.
6713 (frexpf): Likewise.
6714 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6715 "bp-asm.h".
6716 (PARMS): Do not use macros from bp-asm.h.
6717 (__frexpl): Do not use BP_SYM.
6718 (frexpl): Likewise.
6719 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6720 "bp-asm.h".
6721 (PARMS): Do not use macros from bp-asm.h.
6722 (__remquo): Do not use BP_SYM.
6723 (remquo): Likewise.
6724 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6725 "bp-asm.h".
6726 (PARMS): Do not use macros from bp-asm.h.
6727 (__remquof): Do not use BP_SYM.
6728 (remquof): Likewise.
6729 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6730 "bp-asm.h".
6731 (PARMS): Do not use macros from bp-asm.h.
6732 (__remquol): Do not use BP_SYM.
6733 (remquol): Likewise.
6734 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6735 "bp-asm.h".
6736 (PARMS): Do not use macros from bp-asm.h.
6737 (DEST): Likewise.
6738 (SRC): Likewise.
6739 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6740 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6741 "bp-asm.h".
6742 (PARMS): Do not use macros from bp-asm.h.
6743 (strlen): Do not use BP_SYM.
6744 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6745 "bp-asm.h".
6746 (PARMS): Do not use macros from bp-asm.h.
6747 (S1): Likewise.
6748 (S2): Likewise.
6749 (SIZE): Likewise.
6750 (__mpn_add_n): Do not use BP_SYM.
6751 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6752 "bp-asm.h".
6753 (PARMS): Do not use macros from bp-asm.h.
6754 (S1): Likewise.
6755 (SIZE): Likewise.
6756 (__mpn_addmul_1): Do not use BP_SYM.
6757 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6758 weak_alias.
6759 (bzero): Likewise.
6760 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6761 "bp-asm.h".
6762 (PARMS): Do not use macros from bp-asm.h.
6763 (S): Likewise.
6764 (SIZE): Likewise.
6765 (__mpn_lshift): Do not use BP_SYM.
6766 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6767 "bp-asm.h".
6768 (PARMS): Do not use macros from bp-asm.h.
6769 (DEST): Likewise.
6770 (SRC): Likewise.
6771 (LEN): Likewise.
6772 (memcpy): Likewise. Do not use BP_SYM.
6773 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6774 libc_hidden_def and weak_alias.
6775 (mempcpy): Do not use BP_SYM in weak_alias.
6776 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6777 "bp-asm.h".
6778 (PARMS): Do not use macros from bp-asm.h.
6779 (DEST): Likewise.
6780 (LEN): Likewise.
6781 [!BZERO_P] (CHR): Likewise.
6782 (memset): Likewise. Do not use BP_SYM.
6783 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6784 "bp-asm.h".
6785 (PARMS): Do not use macros from bp-asm.h.
6786 (S1): Likewise.
6787 (SIZE): Likewise.
6788 (__mpn_mul_1): Do not use BP_SYM.
6789 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6790 "bp-asm.h".
6791 (PARMS): Do not use macros from bp-asm.h.
6792 (S): Likewise.
6793 (SIZE): Likewise.
6794 (__mpn_rshift): Do not use BP_SYM.
6795 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6796 "bp-asm.h".
6797 (PARMS): Do not use macros from bp-asm.h.
6798 (STR): Likewise.
6799 (CHR): Likewise.
6800 (strchr): Likewise. Do not use BP_SYM.
6801 (index): Do not use BP_SYM in weak_alias.
6802 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6803 "bp-asm.h".
6804 (PARMS): Do not use macros from bp-asm.h.
6805 (DEST): Likewise.
6806 (SRC): Likewise.
6807 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6808 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6809 "bp-asm.h".
6810 (PARMS): Do not use macros from bp-asm.h.
6811 (strlen): Do not use BP_SYM.
6812 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6813 "bp-asm.h".
6814 (PARMS): Do not use macros from bp-asm.h.
6815 (S1): Likewise.
6816 (S2): Likewise.
6817 (SIZE): Likewise.
6818 (__mpn_sub_n): Do not use BP_SYM.
6819 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6820 "bp-asm.h".
6821 (PARMS): Do not use macros from bp-asm.h.
6822 (S1): Likewise.
6823 (SIZE): Likewise.
6824 (__mpn_submul_1): Do not use BP_SYM.
6825 * sysdeps/i386/i686/add_n.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 (S2): Likewise.
6830 (SIZE): Likewise.
6831 (__mpn_add_n): Do not use BP_SYM.
6832 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6833 weak_alias.
6834 (bzero): Likewise.
6835 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6836 "bp-asm.h".
6837 (PARMS): Do not use macros from bp-asm.h.
6838 (BLK2): Likewise.
6839 (LEN): Likewise.
6840 (memcmp): Do not use BP_SYM.
6841 (bcmp): Do not use BP_SYM in weak_alias.
6842 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6843 "bp-asm.h".
6844 (PARMS): Do not use macros from bp-asm.h.
6845 (DEST): Likewise.
6846 (SRC): Likewise.
6847 (LEN): Likewise.
6848 (memcpy): Likewise. Do not use BP_SYM.
6849 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6850 "bp-asm.h".
6851 (PARMS): Do not use macros from bp-asm.h.
6852 (DEST): Likewise.
6853 (SRC): Likewise.
6854 (LEN): Likewise.
6855 (memmove): Likewise. Do not use BP_SYM.
6856 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6857 "bp-asm.h".
6858 (PARMS): Do not use macros from bp-asm.h.
6859 (DEST): Likewise.
6860 (SRC): Likewise.
6861 (LEN): Likewise.
6862 (__mempcpy): Likewise. Do not use BP_SYM.
6863 (mempcpy): Do not use BP_SYM in weak_alias.
6864 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6865 "bp-asm.h".
6866 (PARMS): Do not use macros from bp-asm.h.
6867 (DEST): Likewise.
6868 (LEN): Likewise.
6869 [!BZERO_P] (CHR): Likewise.
6870 (memset): Likewise. Do not use BP_SYM.
6871 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6872 "bp-asm.h".
6873 (PARMS): Do not use macros from bp-asm.h.
6874 (STR2): Likewise.
6875 (strcmp): Do not use BP_SYM.
6876 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6877 "bp-asm.h".
6878 (PARMS): Do not use macros from bp-asm.h.
6879 (STR): Likewise.
6880 (DELIM): Likewise.
6881 [USE_AS_STRTOK_R] (SAVE): Likewise.
6882 (FUNCTION): Likewise. Do not use BP_SYM.
6883 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6884 aliases.
6885 (strtok_r): Likewise.
6886 (__GI___strtok_r): Likewise.
6887 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6888 (PARMS): Do not use macros from bp-asm.h.
6889 (S): Likewise.
6890 (SIZE): Likewise.
6891 (__mpn_lshift): Do not use BP_SYM.
6892 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6893 (PARMS): Do not use macros from bp-asm.h.
6894 (STR): Likewise.
6895 (CHR): Likewise.
6896 (__memchr): Do not use BP_SYM.
6897 (memchr): Do not use BP_SYM in weak_alias.
6898 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6899 (PARMS): Do not use macros from bp-asm.h.
6900 (BLK2): Likewise.
6901 (LEN): Likewise.
6902 (memcmp): Do not use BP_SYM.
6903 (bcmp): Do not use BP_SYM in weak_alias.
6904 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6905 (PARMS): Do not use macros from bp-asm.h.
6906 (S1): Likewise.
6907 (SIZE): Likewise.
6908 (__mpn_mul_1): Do not use BP_SYM.
6909 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6910 "bp-asm.h".
6911 (PARMS): Do not use macros from bp-asm.h.
6912 (STR): Likewise.
6913 (CHR): Likewise.
6914 (__rawmemchr): Do not use BP_SYM.
6915 (rawmemchr): Do not use BP_SYM in weak_alias.
6916 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6917 (PARMS): Do not use macros from bp-asm.h.
6918 (S): Likewise.
6919 (SIZE): Likewise.
6920 (__mpn_rshift): Do not use BP_SYM.
6921 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6922 (PARMS): Do not use macros from bp-asm.h.
6923 (SIGMSK): Likewise.
6924 (__sigsetjmp): Likewise. Do not use BP_SYM.
6925 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6926 (_start): Do not use BP_SYM.
6927 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6928 (PARMS): Do not use macros from bp-asm.h.
6929 (DEST): Likewise.
6930 (SRC): Likewise.
6931 (__stpcpy): Likewise. Do not use BP_SYM.
6932 (stpcpy): Do not use BP_SYM in weak_alias.
6933 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6934 "bp-asm.h".
6935 (PARMS): Do not use macros from bp-asm.h.
6936 (DEST): Likewise.
6937 (SRC): Likewise.
6938 (LEN): Likewise.
6939 (__stpncpy): Likewise. Do not use BP_SYM.
6940 (stpncpy): Do not use BP_SYM in weak_alias.
6941 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6942 (PARMS): Do not use macros from bp-asm.h.
6943 (STR): Likewise.
6944 (CHR): Likewise.
6945 (strchr): Likewise. Do not use BP_SYM.
6946 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6947 "bp-asm.h".
6948 (PARMS): Do not use macros from bp-asm.h.
6949 (STR): Likewise.
6950 (CHR): Likewise.
6951 (__strchrnul): Likewise. Do not use BP_SYM.
6952 (strchrnul): Do not use BP_SYM in weak_alias.
6953 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6954 "bp-asm.h".
6955 (PARMS): Do not use macros from bp-asm.h.
6956 (STOP): Likewise.
6957 (strcspn): Do not use BP_SYM.
6958 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6959 "bp-asm.h".
6960 (PARMS): Do not use macros from bp-asm.h.
6961 (STR): Likewise.
6962 (STOP): Likewise.
6963 (strpbrk): Likewise. Do not use BP_SYM.
6964 * sysdeps/i386/strrchr.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 (CHR): Likewise.
6969 (strrchr): Likewise. Do not use BP_SYM.
6970 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6971 (PARMS): Do not use macros from bp-asm.h.
6972 (SKIP): Likewise.
6973 (strspn): Do not use BP_SYM.
6974 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6975 (PARMS): Do not use macros from bp-asm.h.
6976 (STR): Likewise.
6977 (DELIM): Likewise.
6978 (SAVE): Likewise.
6979 (FUNCTION): Likewise. Do not use BP_SYM.
6980 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6981 aliases.
6982 (strtok_r): Likewise.
6983 (__GI___strtok_r): Likewise.
6984 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6985 (PARMS): Do not use macros from bp-asm.h.
6986 (S1): Likewise.
6987 (S2): Likewise.
6988 (SIZE): Likewise.
6989 (__mpn_sub_n): Do not use BP_SYM.
6990 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6991 "bp-asm.h".
6992 (PARMS): Do not use macros from bp-asm.h.
6993 (S1): Likewise.
6994 (SIZE): Likewise.
6995 (__mpn_submul_1): Do not use BP_SYM.
6996 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6997 <bp-sym.h>.
6998 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6999 and <bp-asm.h>.
7000 (PARMS): Do not use macros from bp-asm.h.
7001 (FLAGS): Likewise.
7002 (PTID): Likewise.
7003 (TLS): Likewise.
7004 (CTID): Likewise.
7005 (__clone): Do not use BP_SYM.
7006 (clone): Do not use BP_SYM in weak_alias.
7007 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7008 and <bp-asm.h>.
7009 (PARMS): Do not use macros from bp-asm.h.
7010 (LEN): Likewise.
7011 (__mmap64): Do not use BP_SYM.
7012 (mmap64): Do not use BP_SYM in weak_alias.
7013 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7014 <bp-sym.h> and <bp-asm.h>.
7015 (PARMS): Do not use macros from bp-asm.h.
7016 (__posix_fadvise64_l64): Do not use BP_SYM.
7017 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7018 (PARMS): Do not use macros from bp-asm.h.
7019 (NSOPS): Likewise.
7020 (semtimedop): Do not use BP_SYM.
7021 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7022 and <bp-asm.h>.
7023
7024 2013-02-21 Allan McRae <allan@archlinux.org>
7025
7026 * manual/message.texi (Charset conversion in gettext):
7027 Move @end statement to beginning of line.
7028
7029 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7030
7031 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7032 static.
7033 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7034 Likewise.
7035
7036 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7037 (denorm): Likewise.
7038 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7039 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7040
7041 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7042
7043 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7044 tail-call to the resolved function if pltexit isn't needed.
7045
7046 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7047
7048 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7049 or Y being zero as being unlikely.
7050 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7051 Likewise.
7052
7053 2013-02-20 Carlos O'Donell <carlos@redhat.com>
7054
7055 * manual/nss.texi (System Databases and Name Service Switch):
7056 Remove frobnicate @pxref.
7057
7058 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7059
7060 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7061 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7062
7063 2013-02-20 Petr Machata <pmachata@redhat.com>
7064
7065 * elf/elf.h (R_ARM_TARGET1): New macro.
7066 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7067 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7068 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7069 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7070 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7071 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7072 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7073 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7074 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7075 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7076 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7077 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7078 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7079 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7080 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7081 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7082 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7083 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7084 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7085 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7086 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7087 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7088 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7089 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7090 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7091 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7092 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7093 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7094 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7095 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7096 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7097 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7098 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7099 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7100 (R_ARM_THM_GOT_BREL12): Likewise.
7101 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7102 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7103 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7104 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7105 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7106 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7107 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7108 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7109 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7110
7111 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7112
7113 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7114 __attribute_used__ to __attribute__ ((unused)).
7115
7116 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7117
7118 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7119 powerpc mpa.c.
7120 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7121 comment formatting.
7122 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7123
7124 2013-02-19 Joseph Myers <joseph@codesourcery.com>
7125
7126 [BZ #13550]
7127 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7128 Remove macro.
7129 (ENTER): Remove both macro definitions.
7130 (LEAVE): Likewise.
7131 (CHECK_BOUNDS_LOW): Likewise.
7132 (CHECK_BOUNDS_HIGH): Likewise.
7133 (CHECK_BOUNDS_BOTH): Likewise.
7134 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7135 (RETURN_BOUNDED_POINTER): Likewise.
7136 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7137 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7138 (POP_ERRNO_LOCATION_RETURN): Likewise.
7139 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7140 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7141 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7142 macros.
7143 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7144 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7145 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7146 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7147 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7148 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7149 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7150 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7151 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7152 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7153 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7154 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7155 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7156 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7157 removed macros.
7158 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7159 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7160 macros.
7161 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7162 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7163 * sysdeps/i386/i586/memset.S (memset): Likewise.
7164 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7165 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7166 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7167 macros.
7168 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7169 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7170 Change uses of L(2) to L(out).
7171 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7172 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7173 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7174 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7175 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7176 removed macros.
7177 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7178 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7179 macros.
7180 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7181 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7182 (RETURN): Do not use macro LEAVE.
7183 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7184 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7185 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7186 * sysdeps/i386/i686/memset.S (memset): Likewise.
7187 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7188 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7189 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7190 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7191 Likewise.
7192 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7193 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7194 L(1_2) and L(1_3) into L(1).
7195 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7196 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7197 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7198 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7199 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7200 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7201 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7202 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7203 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7204 macros.
7205 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7206 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7207 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7208 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7209 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7210 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7211 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7212 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7213 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7214 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7215 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7216 * sysdeps/i386/strspn.S (strspn): Likewise.
7217 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7218 conditional code.
7219 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7220 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7221 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7222 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7223 L(1_3) into L(1_1).
7224 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7225 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7226 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7227 macros.
7228 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7229
7230 2013-02-19 Jakub Jelinek <jakub@redhat.com>
7231
7232 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7233 macro.
7234
7235 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7236
7237 * math/atest-exp.c (exp_mpn): Remove ROUND.
7238 * math/atest-exp2.c (exp_mpn): Likewise.
7239 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7240
7241 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7242 * stdlib/tst-tls-atexit-lib.c: Likewise.
7243 * stdlib/tst-tls-atexit.c: Likewise.
7244
7245 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7246
7247 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7248 and __attribute_alloc_size__.
7249
7250 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7251
7252 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7253 __attribute_alloc_size__.
7254 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7255 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7256
7257 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7258
7259 * include/programs/xmalloc.h: New file.
7260 * catgets/gencat.c: Include it.
7261 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7262 * elf/pldd.c: Likewise.
7263 * iconv/iconv_charmap.c: Likewise.
7264 * iconv/iconvconfig.c: Likewise.
7265 * iconv/strtab.c: Likewise.
7266 * locale/programs/locale.c: Likewise.
7267 * locale/programs/localedef.h: Likewise.
7268 * locale/programs/simple-hash.c: Likewise.
7269 * nscd/nscd.h: Likewise.
7270 * nss/makedb.c: Likewise.
7271 * sysdeps/generic/ldconfig.h: Likewise.
7272
7273 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7274
7275 * Versions.def: Add GLIBC_2.18.
7276 * include/link.h (struct link_map): New member l_tls_dtor_count.
7277 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7278 (__call_tls_dtors): Likewise.
7279 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7280 __cxa_thread_atexit_impl.
7281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7282 Likewise.
7283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7284 Likewise.
7285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7286 Likewise.
7287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7288 Likewise.
7289 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7290 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7291 Likewise.
7292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7293 Likewise.
7294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7295 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7296 Likewise.
7297 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7298 (tests): Add test case tst-tls-atexit.
7299 (modules-names): Add shared library for tst-tls-atexit.
7300 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
7301 (GLIBC_PRIVATE): Add __call_tls_dtors.
7302 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7303 for libstdc++.
7304 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7305 * stdlib/tst-tls-atexit.c: New test case.
7306 * stdlib/tst-tls-atexit-lib.c: New test case.
7307
7308 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
7309
7310 * elf/Versions (ld): Add _dl_find_dso_for_object.
7311 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7312 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7313 (dl_open_worker): Use _dl_find_dso_for_object.
7314 * elf/dl-sym.c (do_sym): Likewise.
7315 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7316
7317 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7318
7319 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7320 Syntactic changes only.
7321 (_dl_runtime_profile): Do a tail-call to the resolved function.
7322
7323 2013-02-17 Joseph Myers <joseph@codesourcery.com>
7324
7325 [BZ #13550]
7326 * sysdeps/x86_64/bp-asm.h: Remove file.
7327 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7328 <bp-sym.h> and <bp-asm.h>.
7329 (__clone): Do not use BP_SYM.
7330 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7331 <bp-sym.h> and <bp-asm.h>.
7332 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7333 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7334 "bp-asm.h".
7335 (_setjmp): Do not use BP_SYM.
7336 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7337 "bp-asm.h".
7338 (setjmp): Do not use BP_SYM.
7339 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7340 libc_hidden_def.
7341 (mempcpy): Do not use BP_SYM in weak_alias.
7342 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7343 "bp-asm.h".
7344 (strchr): Do not use BP_SYM.
7345 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7346 "bp-asm.h".
7347 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7348 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7349 (_start): Do not use BP_SYM.
7350 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7351 "bp-asm.h".
7352 (strcat): Do not use BP_SYM.
7353 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7354 "bp-asm.h".
7355 (STRCMP): Do not use BP_SYM.
7356 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7357 "bp-asm.h".
7358 (STRCPY): Do not use BP_SYM.
7359 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7360 "bp-asm.h".
7361 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7362 "bp-asm.h".
7363 (FUNCTION): Do not use BP_SYM.
7364 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7365 weak_alias.
7366 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7367
7368 2013-02-17 Andreas Jaeger <aj@suse.de>
7369
7370 * time/Versions: Sort entries.
7371 * string/Versions: Likewise.
7372 * resolv/Versions: Likewise.
7373 * posix/Versions: Likewise.
7374 * iconv/Versions: Likewise.
7375 * elf/Versions: Likewise.
7376 * wcsmbs/Versions: Likewise.
7377
7378 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7379
7380 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7381 loop termination condition.
7382
7383 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7384 variable to calculate EZ.
7385 (__sqr): Likewise.
7386
7387 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7388 the lower precision input.
7389
7390 2013-02-15 Joseph Myers <joseph@codesourcery.com>
7391
7392 [BZ #13550]
7393 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7394 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7395 (run-via-rtld-prefix): Do not handle %-bp tests.
7396 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7397 (all-object-suffixes): Remove .ob.
7398 (bppfx): Remove variable.
7399 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7400 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7401 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7402 [$(build-bounded) = yes] (libtype.ob): Likewise.
7403 * Makerules (elide-routines.ob): Remove variable.
7404 (do-tests-clean): Do not handle *-bp.out.
7405 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7406 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7407 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7408 (tests): Do not include $(tests-bp.out).
7409 (xtests): Do not include $(xtests-bp.out).
7410 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7411 [$(build-bounded) = yes] ($(addprefix
7412 $(objpfx),$(binaries-bounded))): Remove rule.
7413 ($(objpfx)%-bp.out): Remove rule.
7414 * config.make.in (build-bounded): Remove variable.
7415 * crypt/Makefile [$(build-bounded) = yes]
7416 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7417 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7418 append to variable.
7419 [$(build-bounded) = yes] (install-lib): Likewise.
7420 [$(build-bounded) = yes] (generated): Likewise.
7421 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7422 Remove rule.
7423 * intl/Makefile [$(build-bounded) = yes]
7424 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7425 * math/Makefile [$(build-bounded) = yes]
7426 ($(tests:%=$(objpfx)%-bp): Likewise.
7427 * misc/Makefile [$(build-bounded) = yes]
7428 ($(objpfx)tst-tsearch-bp): Likewise.
7429 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7430 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7431 Remove dependency.
7432 * string/Makefile (o-objects.ob): Remove variable.
7433 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7434 (CFLAGS-.ob): Remove variable.
7435 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7436 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7437 both definitions of variable.
7438 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7439 (ASFLAGS-.ob): Remove variable.
7440
7441 2013-02-14 Joseph Myers <joseph@codesourcery.com>
7442
7443 [BZ #13550]
7444 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7445 Remove __BOUNDED_POINTERS__ from condition.
7446 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7447 * string/bits/string2.h [!__NO_STRING_INLINES &&
7448 !__BOUNDED_POINTERS__]: Likewise.
7449 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7450 Likewise.
7451 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7452 Remove conditional code.
7453 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7454 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7455 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7456 condition.
7457
7458 [BZ #13550]
7459 * csu/libc-start.c: Do not include <bp-sym.h>.
7460 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7461 * elf/dl-open.c: Do not include <bp-sym.h>.
7462 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7463 * math/fegetenv.c: Do not include <bp-sym.h>.
7464 (fegetenv): Do not use BP_SYM in versioned symbols.
7465 * nptl/sysdeps/pthread/bits/libc-lockP.h
7466 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7467 <bp-sym.h>.
7468 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7469 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7470 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7471 (__pthread_mutex_destroy): Likewise.
7472 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7473 (__pthread_mutex_lock): Likewise.
7474 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7475 (__pthread_mutex_trylock): Likewise.
7476 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7477 (__pthread_mutex_unlock): Likewise.
7478 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7479 (__pthread_mutexattr_init): Likewise.
7480 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7481 (__pthread_mutexattr_destroy): Likewise.
7482 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7483 (__pthread_mutexattr_settype): Likewise.
7484 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7485 (__pthread_rwlock_init): Likewise.
7486 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7487 (__pthread_rwlock_destroy): Likewise.
7488 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7489 (__pthread_rwlock_rdlock): Likewise.
7490 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7491 (__pthread_rwlock_tryrdlock): Likewise.
7492 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7493 (__pthread_rwlock_wrlock): Likewise.
7494 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7495 (__pthread_rwlock_trywrlock): Likewise.
7496 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7497 (__pthread_rwlock_unlock): Likewise.
7498 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7499 (__pthread_key_create): Likewise.
7500 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7501 (__pthread_setspecific): Likewise.
7502 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7503 (__pthread_getspecific): Likewise.
7504 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7505 Likewise.
7506 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7507 (_pthread_cleanup_push_defer): Likewise.
7508 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7509 (_pthread_cleanup_pop_restore): Likewise.
7510 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7511 (pthread_setcancelstate): Likewise.
7512 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7513 <bp-sym.h>.
7514 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7515 (memchr): Do not use BP_SYM in weak_alias.
7516 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7517 (fegetenv): Do not use BP_SYM in versioned symbols.
7518 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7519 (fesetenv): Do not use BP_SYM in versioned symbols.
7520 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7521 (feupdateenv): Do not use BP_SYM in versioned symbols.
7522 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7523 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7524 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7525 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7526 (open64): Do not use BP_SYM in weak_alias.
7527 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7528 (fegetenv): Do not use BP_SYM in versioned symbols.
7529 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7530 (fesetenv): Do not use BP_SYM in versioned symbols.
7531 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7532 (feupdateenv): Do not use BP_SYM in versioned symbols.
7533 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7534 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7535 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7536 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7537 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7538 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7539 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7540 <bp-sym.h>.
7541 (__libc_start_main): Do not use BP_SYM.
7542
7543 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7544
7545 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7546 redundant return line.
7547 (norm): Likewise.
7548 (denorm): Likewise.
7549 (dbl_mp): Likewise.
7550 (sub_magnitudes): Likewise.
7551 (__add): Likewise.
7552 (__sub): Likewise.
7553 (__mul): Likewise.
7554 (__inv): Likewise.
7555 (__dvd): Likewise.
7556 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7557 (norm): Likewise.
7558 (denorm): Likewise.
7559 (dbl_mp): Likewise.
7560 (sub_magnitudes): Likewise.
7561 (__add): Likewise.
7562 (__sub): Likewise.
7563 (__mul): Likewise.
7564 (__inv): Likewise.
7565 (__dvd): Likewise.
7566
7567 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7568 instead of __mul.
7569 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7570 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7571 (cc32): Likewise.
7572
7573 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7574 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7575 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7576 of __mul for squares.
7577 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7578 function
7579 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7580 Likewise.
7581 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7582 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7583
7584 2013-02-13 Joseph Myers <joseph@codesourcery.com>
7585
7586 [BZ #13550]
7587 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7588 code.
7589 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7590 prototype or function definition. Rename ubp_* variables and
7591 parameters. Remove argv definitions conditional on
7592 [__BOUNDED_POINTERS__].
7593 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7594 * elf/dl-runtime.c (_dl_fixup): Likewise.
7595 * include/set-hooks.h (RUN_HOOK): Likewise.
7596 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7597 definition.
7598 * string/strcpy.c (strcpy): Do not use __unbounded.
7599 * sysdeps/generic/frame.h (struct layout): Likewise.
7600 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7601 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7602 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7603 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7604 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7605 (__backtrace): Likewise.
7606 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7607 use __ptrvalue.
7608 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7609 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7610 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7611 Likewise.
7612 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7613 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7614 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7615 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7616 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7617 Do not use __unbounded.
7618 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7619 Rename __unboundedrlimits parameter to rlimits in prototype.
7620 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7621 Do not use __unbounded.
7622 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7623 not use __ptrvalue.
7624 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7625 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7626 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7627 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7628 __ptrvalue or __unbounded.
7629 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7630 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7631 use __unbounded.
7632 (__new_msgctl): Do not use __ptrvalue.
7633 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7634 __unbounded.
7635 (__libc_msgrcv): Do not use __ptrvalue.
7636 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7637 startup_info): Do not use __unbounded.
7638 (__libc_start_main): Likewise. Rename ubp_* variables and
7639 parameters. Remove argv definitions conditional on
7640 [__BOUNDED_POINTERS__].
7641 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7642 __ptrvalue.
7643 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7644 use __unbounded.
7645 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7646 or __ptrvalue.
7647 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7648 use __unbounded.
7649 (__new_shmctl): Do not use __ptrvalue.
7650 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7651 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7652 Likewise.
7653 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7654 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7655 (__libc_sigaction): Likewise.
7656 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7657 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7658 Likewise.
7659 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7660
7661 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
7662
7663 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
7664
7665 * string/mempcpy.c: Implement by calling memcpy.
7666
7667 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7668
7669 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7670
7671 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7672 evaluation.
7673
7674 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7675 values in the mantissa.
7676
7677 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7678 minimize writes to Z.
7679 (sub_magnitudes): Simplify code a bit.
7680
7681 2013-02-12 Roland McGrath <roland@hack.frob.com>
7682
7683 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7684 from the message. The linker prefixes all warnings with that already.
7685
7686 2013-02-12 Andreas Schwab <schwab@suse.de>
7687
7688 [BZ #15078]
7689 * posix/regexec.c (extend_buffers): Add parameter min_len.
7690 (check_matching): Pass minimum needed length.
7691 (clean_state_log_if_needed): Likewise.
7692 (get_subexp): Likewise.
7693 * posix/Makefile (tests): Add bug-regex34.
7694 (bug-regex34-ENV): Define.
7695 * posix/bug-regex34.c: New file.
7696
7697 [BZ #11561]
7698 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7699 elements compare against the byte sequence of it, not its name.
7700 * posix/Makefile (tests): Add bug-regex35.
7701 (bug-regex35-ENV): Define.
7702 * posix/bug-regex35.c: New file.
7703
7704 2013-02-11 Tom de Vries <tom@codesourcery.com>
7705
7706 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7707 comment.
7708 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7709 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7710 (CHECK_EOL): Add undef.
7711
7712 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
7713
7714 * bits/stdlib-bsearch.h: New file.
7715 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
7716 * stdlib/stdlib.h: Likewise.
7717
7718 2013-02-11 Roland McGrath <roland@hack.frob.com>
7719
7720 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7721 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7722 declaration.
7723 * manual/search.texi (Array Search Function): Add missing const in
7724 lfind prototype.
7725 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7726 declaration to use rlim_t.
7727 (Basic Scheduling Functions): Remove erroneous const from
7728 sched_getparam prototype. Remove erroneous * from
7729 sched_get_priority_max and sched_get_priority_min prototypes.
7730 (Resource Usage): Fix summary @comment on vtimes to refer to
7731 sys/vtimes.h rather than vtimes.h.
7732 Add missing *s in vtimes prototype.
7733 (Limits on Resources): Fix ulimit prototype to return long int.
7734 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7735 prototypes to use long int rather than double.
7736 (BSD Random): Fix initstate and setstate to use char *, not void *.
7737 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7738 prototype to make second argument 'struct aiocb64 *const[]'.
7739 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7740 (Status of AIO Operations): Remove erroneous const in aio_return and
7741 aio_return64 prototypes.
7742 (Synchronizing I/O): Fix sync prototype to return void.
7743 * manual/startup.texi (Suboptions): Remove an erroneous const in
7744 getsubopt prototype.
7745 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7746 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7747 use size_t rather than int.
7748 (Scanning All Users): Likewise for getpwent_r.
7749 (Setting Groups): Add missing const to setgroups prototype.
7750 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7751 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7752 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7753 'const void *' rather than 'const char *'.
7754 (Host Address Functions): Likewise for inet_ntop.
7755 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7756 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7757 ssize_t for return value.
7758 (Sending Data): Likewise for send, sendto, sendmsg.
7759 (Socket Option Functions): Add a missing const in setsockopt prototype.
7760 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7761 use wchar_t for the argument.
7762 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7763 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7764 take no arguments.
7765 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7766 double/float/long double for second argument.
7767 Fix return types of significand, significandf, significandl.
7768 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7769 argument in fchmod prototype.
7770 (File Owner): Use uid_t and gid_t in fchown prototype.
7771 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7772 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7773 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7774 use 'const struct dirent **' as argument types to CMP function pointer
7775 argument.
7776 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7777 (File Times): Fix summary magic @comment for struct utimbuf and utime
7778 to refer to utime.h, not time.h.
7779 * manual/string.texi (Argz Functions): Add missing const in
7780 argz_extract and argz_next prototypes.
7781 (Finding Tokens in a String): Likewise for basename.
7782 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7783 (Copying and Concatenation): Fix typo in wmemmove prototype.
7784 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7785 (Signal Stack): Remove erroneous const in sigstack prototype.
7786 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7787 prototype.
7788 (Simple Calendar Time): Likewise for stime.
7789 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7790 prototype.
7791 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7792 say sys/sysctl.h instead.
7793 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7794 and vsyslog prototypes.
7795
7796 2013-02-11 Tom de Vries <tom@codesourcery.com>
7797
7798 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7799 Remove.
7800
7801 2013-02-11 Roland McGrath <roland@hack.frob.com>
7802
7803 * misc/sys/mman.h: Fix typo in mremap comment.
7804
7805 2013-02-08 Roland McGrath <roland@hack.frob.com>
7806
7807 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7808 the '\0' terminator.
7809
7810 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7811
7812 [BZ #13550]
7813 * debug/segfault.c: Don't include <bp-checks.h>.
7814 * sysdeps/generic/bp-checks.h: Remove file.
7815 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7816 (__GETDENTS): Don't use CHECK_N.
7817 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7818 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7819 (__getgroups): Don't use CHECK_N.
7820 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7821 (setgroups): Don't use CHECK_N.
7822 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7823 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7824 (__libc_msgrcv): Don't use CHECK_N.
7825 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7826 (__libc_msgsnd): Don't use CHECK_N.
7827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7828 <bp-checks.h>.
7829 (__libc_pread): Don't use CHECK_N.
7830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7831 include <bp-checks.h>.
7832 (__libc_pread64): Don't use CHECK_N.
7833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7834 include <bp-checks.h>.
7835 (__libc_pwrite): Don't use CHECK_N.
7836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7837 include <bp-checks.h>.
7838 (__libc_pwrite64): Don't use CHECK_N.
7839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7840 <bp-checks.h>.
7841 (__libc_pread): Don't use CHECK_N.
7842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7843 include <bp-checks.h>.
7844 (__libc_pread64): Don't use CHECK_N.
7845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7846 include <bp-checks.h>.
7847 (__libc_pwrite): Don't use CHECK_N.
7848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7849 include <bp-checks.h>.
7850 (__libc_pwrite64): Don't use CHECK_N.
7851 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7852 (do_pread): Don't use CHECK_N.
7853 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7854 (do_pread64): Don't use CHECK_N.
7855 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7856 (do_pwrite): Don't use CHECK_N.
7857 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7858 (do_pwrite64): Don't use CHECK_N.
7859 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7860 (__libc_readv): Don't use CHECK_N.
7861 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7862 (semop): Don't use CHECK_N.
7863 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7864 <bp-checks.h>.
7865 (semtimedop): Don't use CHECK_N.
7866 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7867 (__libc_pread): Don't use CHECK_N.
7868 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7869 <bp-checks.h>.
7870 (__libc_pread64): Don't use CHECK_N.
7871 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7872 <bp-checks.h>.
7873 (__libc_pwrite): Don't use CHECK_N.
7874 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7875 <bp-checks.h>.
7876 (__libc_pwrite64): Don't use CHECK_N.
7877 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7878 <bp-checks.h>.
7879 (__libc_msgrcv): Don't use CHECK_N.
7880 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7881 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7882 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7883 (__libc_writev): Don't use CHECK_N.
7884
7885 2013-02-08 Roland McGrath <roland@hack.frob.com>
7886
7887 * string/strcpy.c: Removed unused variable.
7888
7889 * Makeconfig (+sysdep-includes): Define with := rather than =.
7890 Use an existing include/ subdir of each sysdeps dir before it.
7891
7892 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7893
7894 * nscd/connection.c (register_traced_file): Comment function.
7895 [HAVE_INOTIFY] (union __inev): Define.
7896 [HAVE_INOTIFY] (inotify_check_files): New function.
7897 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7898 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7899 clear_db_cache.
7900 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7901
7902 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7903
7904 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7905 loaded if not already and that a failure is permanent.
7906
7907 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7908
7909 [BZ #15006]
7910 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7911 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7912
7913 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7914
7915 [BZ #13550]
7916 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7917 (CHECK_1_NULL_OK): Likewise.
7918 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7919 (__fxstat): Do not use CHECK_1.
7920 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7921 <bp-checks.h>.
7922 (___fxstat64): Do not use CHECK_1.
7923 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7924 <bp-checks.h>.
7925 (__fxstatat): Do not use CHECK_1.
7926 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7927 <bp-checks.h>.
7928 (__fxstatat64): Do not use CHECK_1.
7929 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7930 <bp-checks.h>.
7931 (__fxstat): Do not use CHECK_1.
7932 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7933 <bp-checks.h>.
7934 (__fxstatat): Do not use CHECK_1.
7935 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7936 <bp-checks.h>.
7937 (__getresgid): Do not use CHECK_1.
7938 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7939 <bp-checks.h>.
7940 (__getresuid): Do not use CHECK_1.
7941 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7942 <bp-checks.h>.
7943 (__lxstat): Do not use CHECK_1.
7944 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7945 <bp-checks.h>.
7946 (__old_msgctl): Do not use CHECK_1.
7947 (__new_msgctl): Likewise.
7948 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7949 <bp-checks.h>.
7950 (__new_setrlimit): Do not use CHECK_1.
7951 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7952 <bp-checks.h>.
7953 (__old_shmctl): Do not use CHECK_1.
7954 (__new_shmctl): Likewise.
7955 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7956 <bp-checks.h>.
7957 (__xstat): Do not use CHECK_1.
7958 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7959 (__lxstat): Do not use CHECK_1.
7960 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7961 <bp-checks.h>.
7962 (___lxstat64): Do not use CHECK_1.
7963 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7964 (__old_msgctl): Do not use CHECK_1.
7965 (__new_msgctl): Likewise.
7966 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7967 <bp-checks.h>.
7968 (__gettimeofday): Do not use CHECK_1.
7969 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7970 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7971 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7972 <bp-checks.h>.
7973 (__gettimeofday): Do not use CHECK_1.
7974 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7975 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7976 (__new_shmctl): Do not use CHECK_1.
7977 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7978 <bp-checks.h>.
7979 (do_sigtimedwait): Do not use CHECK_1.
7980 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7981 <bp-checks.h>.
7982 (do_sigwaitinfo): Do not use CHECK_1.
7983 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7984 <bp-checks.h>.
7985 (msgctl): Do not use CHECK_1.
7986 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7987 <bp-checks.h>.
7988 (shmctl): Do not use CHECK_1.
7989 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7990 (ustat): Do not use CHECK_1.
7991 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7992 <bp-checks.h>.
7993 (__fxstat): Do not use CHECK_1.
7994 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7995 <bp-checks.h>.
7996 (__fxstatat): Do not use CHECK_1.
7997 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7998 <bp-checks.h>.
7999 (__lxstat): Do not use CHECK_1.
8000 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8001 <bp-checks.h>.
8002 (__xstat): Do not use CHECK_1.
8003 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8004 (__xstat): Do not use CHECK_1.
8005 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8006 (___xstat64): Do not use CHECK_1.
8007
8008 [BZ #13550]
8009 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8010 definitions.
8011 (CHECK_BOUNDS_HIGH): Likewise.
8012 * string/strcpy.c: Do not include <bp-checks.h>.
8013 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8014
8015 2013-02-07 Roland McGrath <roland@hack.frob.com>
8016
8017 * nscd/nscd-client.h (__nscd_drop_map_ref):
8018 Add __attribute__ ((unused)).
8019 * nis/nss-nisplus.h (niserr2nss): Likewise.
8020
8021 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8022 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8023
8024 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8025 Remove inline keyword.
8026 * include/rounding-mode.h (round_away): Likewise.
8027 * libio/wfileops.c (adjust_wide_data): Likewise.
8028 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8029 (__m128i_strloadu_tolower): Likewise.
8030 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8031 (__m128i_strloadu_tolower): Likewise.
8032 * time/mktime.c (ydhms_diff): Likewise.
8033 * locale/elem-hash.h (elem_hash): Likewise.
8034 * locale/setlocale.c (setdata): Likewise.
8035 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8036 (re_string_wchar_at): Likewise.
8037 (bitset_not, bitset_merge, bitset_mask): Likewise.
8038 [!(__GNUC__ > 3)] (inline): Remove macro.
8039 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8040 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8041 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8042 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8043 * string/memcmp.c (memcmp_bytes): Likewise.
8044 * locale/programs/locarchive.c (compute_hashval): Likewise.
8045 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8046 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8047 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8048 * nss/getent.c (print_rpc, print_protocols): Likewise.
8049 (print_passwd, print_group, print_aliases): Likewise.
8050 * nis/nss-nisplus.h (niserr2nss): Likewise.
8051 * nscd/connections.c (restart_p): Likewise.
8052 Change return type to bool.
8053
8054 2013-02-05 Roland McGrath <roland@hack.frob.com>
8055
8056 * Makeconfig (all-Depend-files): Add existing
8057 $(sorted-subdirs:=/Depend) files.
8058 (all-subdirs): Remove nss.
8059 * sysdeps/unix/inet/Subdirs: Add it here instead.
8060 * hesiod/Depend: New file.
8061
8062 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8063 instead of calling alloca.
8064
8065 * io/lseek.c (__lseek): Rename to __libc_lseek.
8066 Define __lseek as an alias.
8067
8068 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8069
8070 2013-02-04 Carlos O'Donell <carlos@redhat.com>
8071
8072 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8073 else clause and remove check for non-standard endianness.
8074
8075 2013-02-04 David S. Miller <davem@davemloft.net>
8076
8077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8078
8079 2013-02-04 Joseph Myers <joseph@codesourcery.com>
8080
8081 [BZ #13550]
8082 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8083 (__ubp_memchr): Remove prototype.
8084 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8085 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8086 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8087 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8088 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8089 Remove alias.
8090 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8091 (__ubp_memchr): Likewise.
8092 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8093 (__ubp_memchr): Likewise.
8094 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8095 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8096 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8097 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8098 CHECK_STRING.
8099 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8100 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8101 (__getcwd): Do not use CHECK_STRING.
8102 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8103 <bp-checks.h>.
8104 (__real_chown): Do not use CHECK_STRING.
8105 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8106 <bp-checks.h>.
8107 (fchownat): Do not use CHECK_STRING.
8108 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8109 CHECK_STRING.
8110 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8111 <bp-checks.h>.
8112 (__lchown): Do not use CHECK_STRING.
8113 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8114 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8115 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8116 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8118 include <bp-checks.h>.
8119 (truncate64): Do not use CHECK_STRING.
8120 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8121 <bp-checks.h>.
8122 (__real_chown): Do not use CHECK_STRING.
8123 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8124 <bp-checks.h>.
8125 (__lchown): Do not use CHECK_STRING.
8126 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8127 <bp-checks.h>.
8128 (__chown): Do not use CHECK_STRING.
8129 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8130 <bp-checks.h>.
8131 (truncate64): Do not use CHECK_STRING.
8132 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8133 Likewise.
8134 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8135 (__xmknod): Do not use CHECK_STRING.
8136 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8137 <bp-checks.h>.
8138 (__xmknodat): Do not use CHECK_STRING.
8139 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8140 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8141
8142 2013-02-04 Andreas Schwab <schwab@suse.de>
8143
8144 [BZ #14142]
8145 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8146 * include/netdb.h: Likewise for h_errno.
8147 * elf/tst-stackguard1.c: Include <tls.h>.
8148
8149 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8150
8151 * elf/link.h (struct link_map): Extend the l_addr comment.
8152 * include/link.h (struct link_map): Likewise.
8153
8154 2013-02-01 Joseph Myers <joseph@codesourcery.com>
8155
8156 [BZ #13550]
8157 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8158 (BOUNDED_1): Remove macro.
8159 * debug/backtrace.c: Don't include <bp-checks.h>.
8160 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8161 (__backtrace): Likewise.
8162 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8163 <bp-checks.h>.
8164 (__backtrace): Don't use BOUNDED_1.
8165 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8166 <bp-checks.h>.
8167 (__backtrace): Don't use BOUNDED_1.
8168 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8169 (__backtrace): Don't use BOUNDED_1.
8170 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8171 (shmat): Don't use BOUNDED_N.
8172
8173 2013-01-31 Joseph Myers <joseph@codesourcery.com>
8174
8175 [BZ #13550]
8176 * sysdeps/generic/bp-start.h: Remove file.
8177 * csu/libc-start.c: Don't include <bp-start.h>.
8178 (LIBC_START_MAIN): Set up __environ directly instead of using
8179 INIT_ARGV_and_ENVIRON.
8180 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8181 <bp-start.h>.
8182
8183 [BZ #13550]
8184 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8185 definitions.
8186 (CHECK_FCNTL): Likewise.
8187 (CHECK_N_PAGES): Likewise.
8188
8189 [BZ #13550]
8190 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8191 definitions.
8192 (CHECK_SIGSET_NULL_OK): Likewise.
8193 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8194 <bp-checks.h>.
8195 (sigpending): Don't use CHECK_SIGSET.
8196 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8197 <bp-checks.h>.
8198 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8199 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8200 <bp-checks.h>.
8201 (do_sigsuspend): Don't use CHECK_SIGSET.
8202 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8203 use CHECK_SIGSET.
8204 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8205 (do_sigwait): Don't use CHECK_SIGSET.
8206 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8207 use CHECK_SIGSET.
8208 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8209 include <bp-checks.h>.
8210 (sigpending): Don't use CHECK_SIGSET.
8211 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8212 include <bp-checks.h>.
8213 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8214 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8215 <bp-checks.h>.
8216 (sigpending): Don't use CHECK_SIGSET.
8217 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8218 <bp-checks.h>.
8219 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8220
8221 [BZ #13550]
8222 * sysdeps/generic/bp-semctl.h: Remove file.
8223 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8224 <bp-checks.h> and <bp-semctl.h>.
8225 (__old_semctl): Don't use CHECK_SEMCTL.
8226 (__new_semctl): Likewise.
8227 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8228 and <bp-semctl.h>.
8229 (__old_semctl): Don't use CHECK_SEMCTL.
8230 (__new_semctl): Likewise.
8231 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8232 <bp-checks.h> and <bp-semctl.h>.
8233 (__old_semctl): Don't use CHECK_SEMCTL.
8234 (__new_semctl): Likewise.
8235 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8236 <bp-checks.h> and <bp-semctl.h>.
8237 (semctl): Don't use CHECK_SEMCTL.
8238
8239 [BZ #13550]
8240 * Makerules (elide-bp-thunks): Remove variable.
8241 (elide-routines.oS): Don't use $(elide-bp-thunks).
8242 (elide-routines.os): Likewise.
8243 (elide-routines.o): Likewise.
8244 (elide-routines.op): Likewise.
8245 (elide-routines.og): Likewise.
8246 (objects): Don't use $(bp-thunks).
8247 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8248 include.
8249 (common-generated): Do not add s-proto-bp.d.
8250 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8251 (int): Likewise.
8252 (typ): Likewise.
8253 Do not generate makefile rules for bounded-pointer thunks.
8254 * sysdeps/generic/bp-thunks.h: Remove file.
8255 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8256 * sysdeps/unix/s-proto-bp.S: Likewise.
8257
8258 [BZ #15062]
8259 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8260 parts of result separately when argument is not close to line from
8261 -i to i and one part of argument is small.
8262 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8263 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8264 * math/libm-test.inc (cacos_test): Add more tests.
8265 (casin_test): Likewise.
8266 (casinh_test): Likewise.
8267 * sysdeps/i386/fpu/libm-test-ulps: Update.
8268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8269
8270 2013-01-31 David S. Miller <davem@davemloft.net>
8271
8272 * po/de.po: Update from translation team.
8273
8274 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8275
8276 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8277
8278 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8279
8280 * configure.in (_AC_PROG_CC_C89): New definition.
8281 * configure: Regenerate.
8282
8283 * configure.in (AC_PROG_CPP): New definition.
8284 * configure: Regenerate.
8285
8286 2013-01-23 Joseph Myers <joseph@codesourcery.com>
8287
8288 * debug/tst-backtrace.h: New file.
8289 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8290 (ret): Remove variable.
8291 (x): Likewise.
8292 (FAIL): Remove macro.
8293 (NO_INLINE): Likewise.
8294 (fn1): Use match function instead of strstr.
8295 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8296 (ret): Remove variable.
8297 (x): Likewise.
8298 (FAIL): Remove macro.
8299 (NO_INLINE): Likewise.
8300 (fn): Use match function instead of strstr.
8301 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8302 (ret): Remove variable.
8303 (x): Likewise.
8304 (FAIL): Remove macro.
8305 (NO_INLINE): Likewise.
8306 (handle_signal): Use match function instead of strstr.
8307 * debug/tst-backtrace5.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
8314 2013-01-23 Roland McGrath <roland@hack.frob.com>
8315
8316 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8317
8318 2013-01-23 David S. Miller <davem@davemloft.net>
8319
8320 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8321 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8322 argument of CAS if possible.
8323 * sysdeps/sparc/sparc64/bits/atomic.h
8324 (__arch_compare_and_exchange_val_32_acq): Likewise.
8325 (__arch_compare_and_exchange_val_64_acq): Likewise.
8326
8327 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8328
8329 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8330 * sysdeps/posix/ulimit.c: ... this.
8331 Include <limits.h>.
8332 * sysdeps/unix/bsd/ulimit.c: Remove file.
8333
8334 2013-01-23 Adam Conrad <adconrad@0c3.net>
8335
8336 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8337 (LDFLAGS-tst-array5): Likewise.
8338
8339 2013-01-23 Joseph Myers <joseph@codesourcery.com>
8340
8341 [BZ #15036]
8342 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8343 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8344 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8345 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8346
8347 2013-01-21 David S. Miller <davem@davemloft.net>
8348
8349 * sysdeps/sparc/backtrace.c: New file.
8350 * sysdeps/sparc/sparc32/backtrace.h: New file.
8351 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8352 * sysdeps/sparc/sparc64/backtrace.h: New file.
8353 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8354 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8355 -funwind-tables.
8356
8357 2013-01-21 Andreas Schwab <schwab@suse.de>
8358
8359 [BZ #15020]
8360 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8361 closed its stdout.
8362
8363 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8364
8365 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8366 "mpa2.h".
8367 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8368
8369 2013-01-18 Joseph Myers <joseph@codesourcery.com>
8370 Mark Mitchell <mark@codesourcery.com>
8371 Tom de Vries <tom@codesourcery.com>
8372 Paul Pluzhnikov <ppluzhnikov@google.com>
8373
8374 * debug/tst-backtrace2.c: New file.
8375 * debug/tst-backtrace3.c: Likewise.
8376 * debug/tst-backtrace4.c: Likewise.
8377 * debug/tst-backtrace5.c: Likewise.
8378 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8379 (CFLAGS-tst-backtrace3.c): Likewise.
8380 (CFLAGS-tst-backtrace4.c): Likewise.
8381 (CFLAGS-tst-backtrace5.c): Likewise.
8382 (LDFLAGS-tst-backtrace2): Likewise.
8383 (LDFLAGS-tst-backtrace3): Likewise.
8384 (LDFLAGS-tst-backtrace4): Likewise.
8385 (LDFLAGS-tst-backtrace5): Likewise.
8386 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8387 tst-backtrace4 and tst-backtrace5.
8388
8389 2013-01-18 Anton Blanchard <anton@samba.org>
8390 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8391
8392 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8393 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8394 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8395 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8397 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8398 "+r" and remove output regs list as redundant. Add explicit inline
8399 asm to specify register of return val to work around compiler codegen
8400 bug. Remove (int) cast on return value. Add return type parameter to
8401 use in macro so that this macro does not truncate return value for
8402 64-bit values.
8403 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8404 pass to INTERNAL_VSYSCALL_NCS.
8405 (INLINE_VSYSCALL): Add 'long int' as return type to
8406 INTERNAL_VSYSCALL_NCS macro invocation.
8407 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8408 INTERNAL_VSYSCALL_NCS macro invocation.
8409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8410
8411 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8412
8413 [BZ #14496]
8414 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8415 Fix application of SIMD FP exception mask.
8416
8417 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8418 mp_no from a power of two.
8419 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8420 __mpexp_twomm1. Use __pow_mp.
8421
8422 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8423 multiplication.
8424
8425 2013-01-17 David S. Miller <davem@davemloft.net>
8426
8427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8428
8429 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8430
8431 [BZ #15023]
8432 * include/complex.h: Condition contents on [!_COMPLEX_H].
8433 (__kernel_casinhf): New prototype.
8434 (__kernel_casinh): Likewise.
8435 (__kernel_casinhl): Likewise.
8436 * math/Makefile (libm_calls): Add k_casinh.
8437 * math/k_casinh.c: New file.
8438 * math/k_casinhf.c: Likewise.
8439 * math/k_casinhl.c: Likewise.
8440 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8441 finite nonzero arguments.
8442 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8443 finite nonzero arguments.
8444 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8445 finite nonzero arguments.
8446 * math/s_casinh.c: Do not include <float.h>.
8447 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8448 * math/s_casinhf.c: Do not include <float.h>.
8449 (__casinhf): Move code for finite nonzero arguments to
8450 k_casinhf.c.
8451 * math/s_casinhl.c: Do not include <float.h>.
8452 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8453 redefine.
8454 (__casinhl): Move code for finite nonzero arguments to
8455 k_casinhl.c.
8456 * math/libm-test.inc (cacos_test): Add more tests.
8457 * sysdeps/i386/fpu/libm-test-ulps: Update.
8458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8459
8460 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8461
8462 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8463 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8464 [!HAVE_MREMAP]: Remove [defined linux] case.
8465 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8466
8467 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8468
8469 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8470
8471 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
8472
8473 * elf/elf.h (R_386_SIZE32): New relocation.
8474 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8475 R_386_SIZE32.
8476 (elf_machine_rela): Likewise.
8477 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8478 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8479
8480 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8481
8482 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8483 (FP_FAST_FMA): Do not define.
8484 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8485 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8486 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8487 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8488 !_SOFT_FLOAT]: Likewise.
8489 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8490 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8491 value.
8492 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8493 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8494 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8495 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8496 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8497 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8498 file.
8499
8500 2013-01-16 Andreas Schwab <schwab@suse.de>
8501
8502 [BZ #14327]
8503 * include/stdlib.h (__mktemp): Add declaration.
8504 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8505 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8506
8507 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8508
8509 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8510 definitions.
8511 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8512 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8513 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8514 definitions here.
8515 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8516 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8517 definitions.
8518 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8519 and ONE.
8520 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8521 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8522 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8523 definitions.
8524 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8525 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8526 definitions.
8527 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8528
8529 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8530
8531 2013-01-15 David S. Miller <davem@davemloft.net>
8532
8533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8534 trunc{,f} to libm-sysdep_routes.
8535 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8537 file.
8538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8540 file.
8541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8542 file.
8543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8545 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8546 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8547 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8548 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8549 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8550 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8551
8552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8553 nearbyint{,f} to libm-sysdep_routes.
8554 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8556 New file.
8557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8558 file.
8559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8560 New file.
8561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8562 file.
8563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8565 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8566 file.
8567 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8568 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8569 file.
8570 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8571 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8572 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8573
8574 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8575 libc_feholdexcept and libc_fesetenv.
8576
8577 2013-01-15 Mike Frysinger <vapier@gentoo.org>
8578
8579 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8580
8581 2013-01-14 David S. Miller <davem@davemloft.net>
8582
8583 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8584 (SPARC_ASM_VIS2_IFUNC): Likewise.
8585 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8587 use of 'siam' instruction.
8588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8589 Likewise.
8590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8591 Likewise.
8592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8593 Likewise.
8594 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8595 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8596 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8597 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8599 file.
8600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8601 file.
8602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8603 file.
8604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8605 file.
8606 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8607 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8608 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8609 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8611 new VIS2 routines.
8612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8615 Likewise.
8616 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8617 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8618 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8619 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8621 routines to libm-sysdep_routines.
8622 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8623
8624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8625 fdim/fdimf to libm-sysdep_routines.
8626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8627 file.
8628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8630 file.
8631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8634 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8635 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8636 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8637 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8638
8639 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8640
8641 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8642 to optimize copies.
8643
8644 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8645 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8646 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8647
8648 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8649 local variable MPTWO.
8650 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8651 Likewise.
8652
8653 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8654
8655 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8656 GLOB_NOESCAPE.
8657
8658 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8659
8660 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8661
8662 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8663
8664 * manual/pattern.texi (glob_t): Document gl_flags.
8665 (glob64_t): Likewise.
8666
8667 2013-01-11 David S. Miller <davem@davemloft.net>
8668
8669 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8670 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8671 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
8672 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8673 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8674 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8675 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8676 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8677 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8678 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8679 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8680 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8681 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8682
8683 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8684 sparc V9 rather than using V8 code.
8685 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8686 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8687
8688 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8689 Move to...
8690 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8691 Here.
8692
8693 2013-01-11 Roland McGrath <roland@hack.frob.com>
8694
8695 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8696 not in the main loop.
8697 * configure: Regenerated.
8698
8699 2013-01-11 Joseph Myers <joseph@codesourcery.com>
8700
8701 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8702 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8703 to just #else.
8704 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8705 [!__GLIBC_HAVE_LONG_LONG] case.
8706 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8707 condition to just #else.
8708 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8709 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8710 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8711 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8712 unconditional.
8713 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8714 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8715 #elif condition to just #else.
8716 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8717 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8718 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8719 #elif condition to just #else.
8720
8721 2013-01-11 Steve Ellcey <sellcey@mips.com>
8722
8723 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8724 (EF_MIPS_ARCH_64): Fix value.
8725 (EF_MIPS_ARCH_32R2): New.
8726 (EF_MIPS_ARCH_64R2): New.
8727
8728 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8729
8730 * Makeconfig (+link-pie-before-libc): New.
8731 (+link-pie-after-libc): Likewise.
8732 (+link-pie-tests): Likewise.
8733 (+link-pie): Rewritten.
8734 (link-before-libc): Remove $(config-LDFLAGS).
8735 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8736 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8737 (config-LDFLAGS): Renamed to ...
8738 (rtld-LDFLAGS): This.
8739 (rtld-tests-LDFLAGS): New macro.
8740 (link-libc-rpath-link): Likewise.
8741 (link-libc-tests-rpath-link): Likewise.
8742 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8743 (link-libc): Prepand $(link-libc-rpath-link).
8744 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8745 (test-program-prefix): New macro.
8746 (test-via-rtld-prefix): Likewise.
8747 (test-program-cmd): Likewise.
8748 (host-test-program-cmd): Likewise.
8749 * Makefile ($(common-objpfx)testrun.sh): Replace
8750 $(run-program-prefix) with $(test-program-prefix).
8751 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8752 $(rtld-LDFLAGS).
8753 ($(common-objpfx)shlib.lds): Likewise.
8754 (build-module-helper): Likewise.
8755 ($(common-objpfx)format.lds): Likewise.
8756 * Rules (binaries-pie-tests): New.
8757 (binaries-pie-notests): Likewise.
8758 (binaries-pie): Rewritten.
8759 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8760 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8761 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8762 (make-test-out): Replace $(host-built-program-cmd) with
8763 $(host-test-program-cmd).
8764 * config.make.in (build-hardcoded-path-in-tests): New variable.
8765 * configure.in (--enable-hardcoded-path-in-tests): New configure
8766 option.
8767 (hardcoded_path_in_tests): New AC_SUBST.
8768 * configure: Regenerated.
8769 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8770 $(built-program-cmd) with $(test-program-cmd).
8771 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8772 (test_program_cmd): This.
8773 * elf/Makefile ($(objpfx)order.out): Run test with
8774 $(test-program-prefix).
8775 ($(objpfx)order2.out): Likewise.
8776 ($(objpfx)tst-initorder.out): Likewise.
8777 ($(objpfx)tst-initorder2.out): Likewise.
8778 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8779 $(test-program-cmd).
8780 ($(objpfx)tst-array1-static.out): Likewise.
8781 ($(objpfx)tst-array2.out): Likewise.
8782 ($(objpfx)tst-array3.out): Likewise.
8783 ($(objpfx)tst-array4.out): Likewise.
8784 ($(objpfx)tst-array5.out): Likewise.
8785 ($(objpfx)tst-array5-static.out): Likewise.
8786 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8787 $(test-program-cmd).
8788 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8789 $(run-program-prefix) with $(test-program-prefix).
8790 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8791 (test_program_prefix): This.
8792 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8793 $(run-program-prefix) with $(test-program-prefix).
8794 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8795 (test_program_prefix): This.
8796 * iconvdata/tst-tables.sh: Likewise.
8797 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8798 $(run-program-prefix) with $(test-program-prefix).
8799 ($(objpfx)tst-translit.out): Likewise.
8800 ($(objpfx)tst-gettext2.out): Likewise.
8801 ($(objpfx)tst-gettext4.out): Likewise.
8802 ($(objpfx)tst-gettext6.out): Likewise.
8803 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8804 (test_program_prefix): This.
8805 * intl/tst-gettext2.sh: Likewise.
8806 * intl/tst-gettext4.sh Likewise.
8807 * intl/tst-gettext6.sh: Likewise.
8808 * intl/tst-translit.sh: Likewise.
8809 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8810 with $(test-program-cmd).
8811 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8812 $(run-program-prefix) with $(test-program-prefix).
8813 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8814 (test_program_prefix): This.
8815 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8816 $(run-program-prefix) with $(test-program-prefix).
8817 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8818 (test_program_prefix): This.
8819 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8820 * posix/Makefile ($(objpfx)globtest.out): Replace
8821 $(run-via-rtld-prefix) and $(test-wrapper) with
8822 $(test-program-prefix) and $(test-via-rtld-prefix).
8823 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8824 $(test-program-prefix).
8825 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8826 $(host-test-program-cmd).
8827 (tst-spawn-ARGS): Likewise.
8828 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8829 $(test-program-prefix).
8830 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8831 (test_via_rtld_prefix): This.
8832 (test_wrapper): Renamed to ...
8833 (test_program_prefix): This.
8834 (run_program_prefix): Replaced by test_program_prefix.
8835 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8836 (test_program_prefix): This.
8837 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8838 with $(host-test-program-cmd).
8839 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8840 $(run-program-prefix) with $(test-program-prefix).
8841 ($(objpfx)tst-printf.out): Likewise.
8842 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8843 $(test-program-cmd).
8844 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8845 (test_program_prefix): This.
8846 * stdio-common/tst-unbputc.sh: Likewise.
8847 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8848 $(run-program-prefix) with $(test-program-prefix).
8849 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8850 (test_program_prefix): This.
8851 * string/Makefile ($(objpfx)tst-svc.out): Replace
8852 $(built-program-cmd) with $(test-program-cmd).
8853
8854 2013-01-11 Andreas Jaeger <aj@suse.de>
8855
8856 [BZ #15003]
8857 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8858 value. Sync with Linux 3.7.
8859
8860 2013-01-10 David S. Miller <davem@davemloft.net>
8861
8862 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8863 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8864 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8865
8866 2013-01-10 Roland McGrath <roland@hack.frob.com>
8867
8868 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8869 never set.
8870 * configure: Regenerated.
8871
8872 2013-01-10 David S. Miller <davem@davemloft.net>
8873
8874 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8875 sparc V9 rather than using V8 code.
8876 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8877 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8878
8879 2013-01-10 Roland McGrath <roland@hack.frob.com>
8880
8881 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8882 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8883 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8884 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8885 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8886 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8887 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8888 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8889 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8890 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8891 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8892 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8893 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8894 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8895 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8896 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8897 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8898 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8899 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8900 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8901 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8902 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8903 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8904 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8905 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8906 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8907 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8908
8909 2013-01-10 David S. Miller <davem@davemloft.net>
8910
8911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8912
8913 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8914
8915 * posix/Makefile (tests-static): New variable.
8916 (tests): Add $(tests-static).
8917 (tst-exec-static-ARGS): New variable.
8918 (tst-spawn-static-ARGS): Likewise.
8919 * posix/tst-exec-static.c: New file.
8920 * posix/tst-spawn-static.c: Likewise.
8921 * posix/tst-exec.c: Support run directly.
8922 * posix/tst-spawn.c: Likewise.
8923
8924 2013-01-10 Joseph Myers <joseph@codesourcery.com>
8925
8926 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8927 long.
8928 * math/bits/mathcalls.h (llrint): Likewise.
8929 (llround): Likewise.
8930 * stdlib/stdlib.h (struct drand48_data): Likewise.
8931 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8932 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8933 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8934 Likewise.
8935 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8936 Likewise.
8937 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8938 (elf_greg_t): Likewise.
8939 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8940 (__jmp_buf): Likewise.
8941 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8942 definitions.
8943 (llrint): Likewise, for all definitions.
8944 (llrintl): Likewise.
8945
8946 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8947 Remove [__GNUC__] condition.
8948 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8949 condition to just [__USE_ISOC99].
8950 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8951
8952 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8953
8954 [BZ #14200]
8955 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8956 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8957 defined.
8958 (_POSIX_V6_ILP32_OFF32): Likewise.
8959 (_XBS5_ILP32_OFF32): Likewise.
8960 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8961 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8962
8963 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8964
8965 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8966
8967 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8968 doubles __mpexp_twomm1. Adjust usage.
8969 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8970 Remove.
8971
8972 2013-01-10 Andreas Schwab <schwab@suse.de>
8973
8974 [BZ #14964]
8975 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8976 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8977
8978 2013-01-09 David S. Miller <davem@davemloft.net>
8979
8980 [BZ #15003]
8981 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8982 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8983 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8984 TCP_FASTOPEN): Define.
8985 (tcp_repair_opt): New structure.
8986 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8987 enum values.
8988 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8989 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8990 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8991 (tcp_cookie_transactions): New structure.
8992
8993 2013-01-09 Anton Blanchard <anton@samba.org>
8994
8995 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8996 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8997 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8998 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8999
9000 2013-01-09 Joseph Myers <joseph@codesourcery.com>
9001
9002 * include/features.h (__USE_ANSI): Remove.
9003
9004 2013-01-09 Roland McGrath <roland@hack.frob.com>
9005
9006 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9007
9008 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9009
9010 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9011
9012 * sysdeps/s390/fpu/libm-test-ulps: Update.
9013
9014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9015
9016 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9017 (__acr): Likewise.
9018 (__cpy): Likewise.
9019 (norm): Likewise.
9020 (denorm): Likewise.
9021 (__mp_dbl): Likewise.
9022 (__dbl_mp): Likewise.
9023 (add_magnitudes): Likewise.
9024 (sub_magnitudes): Likewise.
9025 (__add): Likewise.
9026 (__sub): Likewise.
9027 (__mul): Likewise.
9028 (__inv): Likewise.
9029 (__dvd): Likewise.
9030 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9031 (__acr): Likewise.
9032 (__cpy): Likewise.
9033 (norm): Likewise.
9034 (denorm): Likewise.
9035 (__mp_dbl): Likewise.
9036 (__dbl_mp): Likewise.
9037 (add_magnitudes): Likewise.
9038 (sub_magnitudes): Likewise.
9039 (__add): Likewise.
9040 (__sub): Likewise.
9041 (__mul): Likewise.
9042 (__inv): Likewise.
9043 (__dvd): Likewise.
9044 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9045 (__acr): Likewise.
9046 (__cpy): Likewise.
9047 (norm): Likewise.
9048 (denorm): Likewise.
9049 (__mp_dbl): Likewise.
9050 (__dbl_mp): Likewise.
9051 (add_magnitudes): Likewise.
9052 (sub_magnitudes): Likewise.
9053 (__add): Likewise.
9054 (__sub): Likewise.
9055 (__mul): Likewise.
9056 (__inv): Likewise.
9057 (__dvd): Likewise.
9058
9059 2013-01-08 Joseph Myers <joseph@codesourcery.com>
9060
9061 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9062 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9063 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9064 2 && __USE_EXTERN_INLINES]: Likewise.
9065
9066 2013-01-08 Andreas Jaeger <aj@suse.de>
9067
9068 [BZ# 14985]
9069 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9070 Remove.
9071 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9072 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9073
9074 2013-01-07 Anton Blanchard <anton@samba.org>
9075
9076 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9077 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9078 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9079 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9080 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9081 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9082 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9083 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9084 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9085 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9086 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9087 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9088 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9089 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9090 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9091 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9092 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9093 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9094 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9095 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9096 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9097 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9098 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9099 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9100 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9101 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9102 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9103 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9104 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9105 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9106 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9107 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9108 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9109 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9110 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9111 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9112 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9113 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9114 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9115 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9116 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9117 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9118 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9119
9120 2013-01-07 Joseph Myers <joseph@codesourcery.com>
9121
9122 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9123 (__MALLOC_PMT): Likewise.
9124 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9125 [__GNUC__], only on [_LIBC].
9126 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9127 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9128 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9129 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9130 forward declaration.
9131 (realloc_hook_ini): Likewise.
9132 (memalign_hook_ini): Likewise.
9133 (__libc_memalign): Do not use __MALLOC_PMT in variable
9134 declaration.
9135 (__libc_valloc): Likewise.
9136 (__libc_pvalloc): Likewise.
9137 (__libc_calloc): Likewise.
9138 (__posix_memalign): Likewise.
9139
9140 [BZ #14996]
9141 * math/s_casinh.c: Include <float.h>.
9142 (__casinh): Do not do computation with squaring and square root
9143 for large arguments.
9144 * math/s_casinhf.c: Include <float.h>.
9145 (__casinhf): Do not do computation with squaring and square root
9146 for large arguments.
9147 * math/s_casinhl.c: Include <float.h>.
9148 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9149 (__casinhl): Do not do computation with squaring and square root
9150 for large arguments.
9151 * math/libm-test.inc (casin_test): Add more tests.
9152 (casinh_test): Likewise.
9153 * sysdeps/i386/fpu/libm-test-ulps: Update.
9154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9155
9156 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9157
9158 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9159 (__x86_64_raw_data_cache_size): Likewise.
9160 (__x86_64_data_cache_size_half): Likewise.
9161 (__x86_64_raw_data_cache_size_half): Likewise.
9162 (__x86_64_shared_cache_size): Likewise.
9163 (__x86_64_raw_shared_cache_size): Likewise.
9164 (__x86_64_shared_cache_size_half): Likewise.
9165 (__x86_64_raw_shared_cache_size_half): Likewise.
9166 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9167 to ...
9168 (__x86_data_cache_size): This.
9169 (__x86_64_raw_data_cache_size): Renamed to ...
9170 (__x86_raw_data_cache_size): This.
9171 (__x86_64_data_cache_size_half): Renamed to ...
9172 (__x86_data_cache_size_half): This.
9173 (__x86_64_raw_data_cache_size_half): Renamed to ...
9174 (__x86_raw_data_cache_size_half): This.
9175 (__x86_64_shared_cache_size): Renamed to ...
9176 (__x86_shared_cache_size): This.
9177 (__x86_64_raw_shared_cache_size): Renamed to ...
9178 (__x86_raw_shared_cache_size): This.
9179 (__x86_64_shared_cache_size_half): Renamed to ...
9180 (__x86_shared_cache_size_half): This.
9181 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9182 (__x86_raw_shared_cache_size_half): This.
9183 * sysdeps/x86_64/memcpy.S: Updated.
9184 * sysdeps/x86_64/memset.S: Likewise.
9185 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9186 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9187 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9188
9189 2013-01-04 David S. Miller <davem@davemloft.net>
9190
9191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9192
9193 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9194
9195 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9196 1 to avoid redefinition warning.
9197 (__USE_GNU): Don't define.
9198 (init_signaling_nan): Protoize.
9199
9200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9201
9202 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9203
9204 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9205 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9206 (__cpymn): Likewise.
9207 (norm): Remove commented code.
9208 (denorm): Likewise.
9209 (__mp_dbl): Likewise.
9210 (__inv): Likewise.
9211 * sysdeps/powerpc/powerpc64/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
9218 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9219 mp_no value for 1.0 and 2.0.
9220 (norm): Use RADIXI instead of radixi.d.
9221 (denorm): Likewise.
9222 (__mul): Use 0.0 instead of zero.d.
9223 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9224 mp_no value for 1.0 and 2.0.
9225 (norm): Use RADIXI instead of radixi.d.
9226 (denorm): Likewise.
9227 (__mul): Use 0.0 instead of zero.d.
9228
9229 2013-01-04 Joseph Myers <joseph@codesourcery.com>
9230
9231 [BZ #14994]
9232 * math/s_casinh.c (__casinh): Reduce finite argument to first
9233 quadrant then set signs of results at the end.
9234 * math/s_casinhf.c (__casinhf): Likewise.
9235 * math/s_casinhl.c (__casinhl): Likewise.
9236 * math/libm-test.inc (casin_test): Add more tests.
9237 (casinh_test): Likewise.
9238 * sysdeps/i386/fpu/libm-test-ulps: Update.
9239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9240
9241 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9242
9243 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9244
9245 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9246
9247 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9248 declarations.
9249 (denorm): Likewise.
9250 (__mp_dbl): Likewise.
9251 (__inv): Likewise.
9252
9253 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9254 and adjust the header comment.
9255
9256 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9257 variable name from declaration.
9258
9259 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9260
9261 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9262 Initialize COMMON_CPUID_INDEX_7 element.
9263 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9264 (CPUID_RTM): Likewise.
9265 (HAS_RTM): Likewise.
9266 (COMMON_CPUID_INDEX_7): New enum.
9267
9268 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9269
9270 [BZ #14981]
9271 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9272 size is zero, record memory as freed.
9273
9274 2013-01-03 Andreas Jaeger <aj@suse.de>
9275
9276 * po/ia.po: Add new Interlingua translation.
9277
9278 2012-01-03 Allan McRae <allan@archlinux.org>
9279
9280 * locale/programs/localedef.c: Fix description of '--posix' flag.
9281
9282 2013-01-02 Joseph Myers <joseph@codesourcery.com>
9283
9284 * NEWS: Update dates in second copyright notice.
9285 * README: Update copyright dates in example.
9286 * manual/libc.texinfo: Update copyright dates.
9287 * scripts/test-installation.pl: Update copyright date in --version
9288 output.
9289
9290 * hurd/ctty-input.c: Fix copyright notice formatting.
9291 * hurd/ctty-output.c: Likewise.
9292 * hurd/dtable.c: Likewise.
9293 * hurd/hurd-raise.c: Likewise.
9294 * hurd/hurdprio.c: Likewise.
9295 * hurd/msgportdemux.c: Likewise.
9296 * misc/sys/file.h: Likewise.
9297 * misc/sys/ioctl.h: Likewise.
9298 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9299 * sysdeps/mach/hurd/chdir.c: Likewise.
9300 * sysdeps/mach/hurd/fchdir.c: Likewise.
9301 * sysdeps/mach/hurd/rename.c: Likewise.
9302 * sysdeps/mach/hurd/rmdir.c: Likewise.
9303 * sysdeps/mach/hurd/seekdir.c: Likewise.
9304 * sysdeps/mach/hurd/setsid.c: Likewise.
9305 * sysdeps/posix/wait3.c: Likewise.
9306
9307 * All files with FSF copyright notices: Update copyright dates
9308 using scripts/update-copyrights.
9309 * intl/plural.c: Regenerated.
9310 * locale/programs/charmap-kw.h: Likewise.
9311 * locale/programs/locfile-kw.h: Likewise.
9312
9313 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9314
9315 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9316 four values.
9317
9318 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9319 calculation loop and add branch prediction.
9320
9321 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9322 check access beyond bounds of m1np.
9323
9324 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9325 MPTWO.
9326 (__inv): Remove local variable MPTWO to use the global
9327 constant.
9328 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9329 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9330 variable MPTWO.
9331 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9332 MP3HALFS static const.
9333
9334 2013-01-01 David S. Miller <davem@davemloft.net>
9335
9336 * po/ca.po: Update from translation team.
9337
9338 2013-01-01 Joseph Myers <joseph@codesourcery.com>
9339
9340 * scripts/update-copyrights: New file.
9341 * Makeconfig: Reformat copyright notice.
9342 * ctype/ctype.h: Likewise.
9343 * debug/swprintf_chk.c: Likewise.
9344 * elf/dl-cache.c: Likewise.
9345 * elf/dl-debug.c: Likewise.
9346 * elf/dl-object.c: Likewise.
9347 * grp/initgroups.c: Likewise.
9348 * hurd/Makefile: Likewise.
9349 * hurd/hurd/signal.h: Likewise.
9350 * hurd/hurdfault.c: Likewise.
9351 * hurd/hurdioctl.c: Likewise.
9352 * hurd/hurdlookup.c: Likewise.
9353 * hurd/intr-msg.c: Likewise.
9354 * iconv/gconv_open.c: Likewise.
9355 * libio/swprintf.c: Likewise.
9356 * locale/lc-ctype.c: Likewise.
9357 * locale/nl_langinfo.c: Likewise.
9358 * mach/Machrules: Likewise.
9359 * mach/Makefile: Likewise.
9360 * malloc/obstack.h: Likewise.
9361 * manual/Makefile: Likewise.
9362 * manual/tsort.awk: Likewise.
9363 * misc/bits/stab.def: Likewise.
9364 * nis/nis_print_group_entry.c: Likewise.
9365 * nis/nis_table.c: Likewise.
9366 * nis/nss_compat/compat-pwd.c: Likewise.
9367 * nis/nss_compat/compat-spwd.c: Likewise.
9368 * po/Makefile: Likewise.
9369 * posix/fnmatch.c: Likewise.
9370 * posix/regex.h: Likewise.
9371 * resolv/Makefile: Likewise.
9372 * resolv/nss_dns/dns-network.c: Likewise.
9373 * resolv/res_hconf.c: Likewise.
9374 * scripts/gen-sorted.awk: Likewise.
9375 * soft-fp/soft-fp.h: Likewise.
9376 * stdio-common/printf.h: Likewise.
9377 * stdlib/monetary.h: Likewise.
9378 * stdlib/random.c: Likewise.
9379 * stdlib/random_r.c: Likewise.
9380 * sysdeps/generic/Makefile: Likewise.
9381 * sysdeps/gnu/Makefile: Likewise.
9382 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9383 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9384 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9385 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9386 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9387 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9388 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9389 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9390 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9391 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9392 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9393 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9394 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9395 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9396 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9397 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9398 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9399 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9400 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9401 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9402 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9403 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9404 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9405 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9406 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9407 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9408 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9409 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9410 * sysdeps/mach/hurd/errnos.awk: Likewise.
9411 * sysdeps/mach/hurd/fork.c: Likewise.
9412 * sysdeps/mach/hurd/getcwd.c: Likewise.
9413 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9414 * sysdeps/mach/hurd/mmap.c: Likewise.
9415 * sysdeps/mach/hurd/utimes.c: Likewise.
9416 * sysdeps/mach/hurd/xmknod.c: Likewise.
9417 * sysdeps/posix/profil.c: Likewise.
9418 * sysdeps/posix/readdir_r.c: Likewise.
9419 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9420 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9421 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9422 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9423 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9424 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9425 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9426 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9427 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9428 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9429 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9430 * sysdeps/pthread/lio_listio.c: Likewise.
9431 * sysdeps/sparc/dl-procinfo.h: Likewise.
9432 * sysdeps/unix/i386/sysdep.S: Likewise.
9433 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9434 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9435 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9436 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9438 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9439 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9440 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9441 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9442 * sysdeps/wordsize-32/divdi3.c: Likewise.
9443 * time/sys/time.h: Likewise.
9444 * wcsmbs/Makefile: Likewise.
9445
9446 2013-01-01 David S. Miller <davem@davemloft.net>
9447
9448 * po/fr.po: Update from translation team.
9449
9450 * catgets/gencat.c: Update copyright year.
9451 * csu/version.c: Likewise.
9452 * debug/catchsegv.sh: Likewise.
9453 * debug/pcprofiledump.c: Likewise.
9454 * debug/xtrace.sh: Likewise.
9455 * elf/ldconfig.c: Likewise.
9456 * elf/ldd.bash.in: Likewise.
9457 * elf/pldd.c: Likewise.
9458 * elf/sotruss.ksh: Likewise.
9459 * elf/sprof.c: Likewise.
9460 * iconv/iconv_prog.c: Likewise.
9461 * iconv/iconvconfig.c: Likewise.
9462 * locale/programs/locale.c: Likewise.
9463 * locale/programs/localedef.c: Likewise.
9464 * login/programs/pt_chown.c: Likewise.
9465 * malloc/memusage.sh: Likewise.
9466 * malloc/memusagestat.c: Likewise.
9467 * malloc/mtrace.pl: Likewise.
9468 * nscd/nscd.c: Likewise.
9469 * nss/getent.c: Likewise.
9470 * nss/makedb.c: Likewise.
9471 * posix/getconf.c: Likewise.
9472
9473 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9474
9475 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9476 numbers.
9477
9478 2012-12-30 Mike Frysinger <vapier@gentoo.org>
9479
9480 * math/bits/mathcalls.h (modf): Use __nonnull.
9481
9482 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9483
9484 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9485 (split): Use macro CN instead of the bare value.
9486 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9487 could be used.
9488 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9489 instead of the bare value.
9490 (power1): Likewise.
9491
9492 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9493
9494 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9495 __ATAN_TWOM.
9496 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9497
9498 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9499 their values.
9500 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9501 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9502 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9503 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9504
9505 2012-12-28 Andreas Jaeger <aj@suse.de>
9506
9507 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9508 values are from Linux 3.7.
9509
9510 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9511 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9512
9513 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9514
9515 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
9516 TRUE case.
9517
9518 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9519 (norm): Likewise.
9520 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9521 variables with preprocessor constants.
9522 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9523 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9524 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9525
9526 2012-12-27 Bruno Haible <bruno@clisp.org>
9527
9528 [BZ #14317]
9529 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9530 only if needed.
9531
9532 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9533
9534 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9535 and use variable directly.
9536 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9537
9538 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9539 MPONE.
9540 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9541 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9542 variable MPONE.
9543 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9544 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9545 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9546 include directive. Remove local variable MPONE.
9547 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9548 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9549 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9550
9551 2012-12-25 David S. Miller <davem@davemloft.net>
9552
9553 * version.h (RELEASE): Set to "development".
9554 (VERSION): Set to "2.17.90".
9555 * NEWS: Add 2.18 section.
9556
9557 2012-12-21 David S. Miller <davem@davemloft.net>
9558
9559 * po/hr.po: Update from translation team.
9560
9561 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9562
9563 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9564
9565 2012-12-19 Steve Ellcey <sellcey@mips.com>
9566
9567 * NEWS: Mention new memcpy for MIPS.
9568
9569 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9570
9571 * manual/contrib.texi (Contributors): Spelling correction.
9572
9573 2012-12-15 David S. Miller <davem@davemloft.net>
9574
9575 * po/ru.po: Update from translation team.
9576
9577 2012-12-13 David S. Miller <davem@davemloft.net>
9578
9579 * NEWS: Mention IFUNC testsuite enhancements.
9580
9581 * po/pl.po: Update from translation team.
9582 * po/bg.po: Likewise.
9583
9584 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9585 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9586
9587 2012-12-11 David S. Miller <davem@davemloft.net>
9588
9589 * po/sv.po: Update from translation team.
9590
9591 * po/vi.po: Update from translation team.
9592
9593 * po/cs.po: Update from translation team.
9594
9595 * po/de.po: Update from translation team.
9596 * po/eo.po: Likewise.
9597 * po/nl.po: Likewise.
9598
9599 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9600
9601 [BZ #14246]
9602 * manual/argp.texi (Argp Helper Functions): Move node to follow
9603 Argp Parsing State.
9604
9605 [BZ #14872]
9606 * manual/conf.texi (Limits on File System Capacity): Mention if
9607 terminating null is included in the max size.
9608
9609 2012-12-10 Andreas Jaeger <aj@suse.de>
9610
9611 * po/cs.po: Update from translation team.
9612
9613 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9614
9615 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9616 void pointer and cast to uintptr_t.
9617 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9618 path.
9619 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9620 * sysdeps/s390/s390-64/memset.S: Likewise.
9621
9622 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
9623
9624 [BZ #14833]
9625 * menual/message.texi (Message Translation): Fix typos.
9626 (Helper programs for gettext): Likewise.
9627
9628 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9629
9630 [BZ #14898]
9631 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9632 Change to -1.
9633
9634 2012-12-07 David S. Miller <davem@davemloft.net>
9635
9636 * po/libc.pot: Update.
9637
9638 2012-12-07 Richard Henderson <rth@redhat.com>
9639
9640 [BZ #10114]
9641 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9642 normal/normal case to before the switch.
9643 (_FP_DIV): Likewise.
9644
9645 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9646 Mike Frysinger <vapier@gentoo.org>
9647
9648 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9649 check for __NR_fadvise64_64.
9650
9651 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9652
9653 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9654 0, not just to plain "0" as a statement.
9655 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9656 with cw.
9657
9658 2012-12-06 Joseph Myers <joseph@codesourcery.com>
9659
9660 * NEWS: Use sourceware.org in Bugzilla URL.
9661
9662 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9663
9664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9665 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9666
9667 * stdio-common/tst-put-error.c (do_test): Add newline to the
9668 padded test to ensure flush.
9669
9670 2012-12-05 Jeff Law <law@redhat.com>
9671
9672 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9673
9674 2012-12-05 Joseph Myers <joseph@codesourcery.com>
9675
9676 * README: Don't refer to ports add-on as distributed separately.
9677 Mention AArch64 in list of systems supported in the ports add-on.
9678
9679 * LICENSES: Add more non-FSF copyright and license notices.
9680
9681 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9682 ((unused)).
9683
9684 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9685
9686 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9687 10000 as width of padded output.
9688
9689 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9690
9691 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9692
9693 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9694 variable LX with __attribute__ ((unused)).
9695 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9696 Likewise.
9697 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9698 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9699 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9700 with __attribute__ ((unused)).
9701
9702 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
9703
9704 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9705
9706 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9707
9708 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9709 (CFLAGS-nldbl-acos.c): New variable.
9710 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9711 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9712 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9713 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9714 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9715 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9716 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9717 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9718 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9719 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9720 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9721 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9722 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9723 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9724 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9725 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9726 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9727 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9728 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9729 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9730 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9731 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9732 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9733 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9734 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9735 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9736 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9737 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9738 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9739 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9740 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9741 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9742 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9743 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9744 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9745 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9746 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9747 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9748 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9749 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9750 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9751 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9752 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9753 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9754 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9755 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9756 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9757 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9758 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9759 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9760 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9761 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9762 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9763 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9764 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9765 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9766 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9767 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9768 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9769 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9770 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9771 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9772 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9773 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9774 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9775 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9776 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9777 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9778 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9779 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9780 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9781 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9782 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9783 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9784 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9785 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9786 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9787 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9788 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9789 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9790 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9791 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9792 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9793 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9794 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9795 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9796 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9797 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9798 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9799 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9800 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9801 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9802 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9803 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9804 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9805 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9806 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9807
9808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9809 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9810
9811 [BZ #14914]
9812 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9813 whole low double instead of just low 47 bits when splitting values
9814 into two parts.
9815
9816 2012-12-03 Allan McRae <allan@archlinux.org>
9817
9818 * manual/stdio.texi (Predefined Printf Handlers): Remove
9819 @hsep and @vsep usage.
9820
9821 2012-12-03 Mike Frysinger <vapier@gentoo.org>
9822
9823 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9824 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9825
9826 2012-12-03 Jeff Law <law@redhat.com>
9827
9828 * time/sys/time.h (settimeofday): Do not mark TV argument
9829 as __nonnull.
9830
9831 2012-12-01 Mike Frysinger <vapier@gentoo.org>
9832
9833 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9834 when currently writing and seek to current position when not.
9835 * libio/Makefile (tests): Remove bug-fclose1.
9836 * libio/bug-fclose1.c: Delete.
9837
9838 2012-12-01 Joseph Myers <joseph@codesourcery.com>
9839
9840 * manual/arith.texi (feenableexcept): Fix typo.
9841 (fedisableexcept): Likewise.
9842
9843 2012-11-30 Roland McGrath <roland@hack.frob.com>
9844
9845 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9846 second, differently-typed declaration, rather than a cast.
9847
9848 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9849
9850 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9851 * include/rpc/svc.h: ... here.
9852
9853 2012-11-30 Aurelien Jarno <aurel32@debian.org>
9854
9855 [BZ #13013]
9856 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9857 depending n and resplen2 to catch cases where answer
9858 equals answerp2.
9859
9860 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9861
9862 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9863 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9864
9865 2012-11-29 Mike Frysinger <vapier@gentoo.org>
9866
9867 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9868
9869 2012-11-29 Roland McGrath <roland@hack.frob.com>
9870
9871 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9872
9873 2012-11-28 Jeff Law <law@redhat.com>
9874
9875 [BZ #13761]
9876 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9877 dataset_temporary. Track alloca usage into alloca_used.
9878 If dataset is large allocate and release it via malloc/free.
9879
9880 2012-06-04 Florian Weimer <fweimer@redhat.com>
9881
9882 [BZ #14197]
9883 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9884
9885 2012-11-28 David S. Miller <davem@davemloft.net>
9886
9887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9888
9889 2012-11-28 Joseph Myers <joseph@codesourcery.com>
9890
9891 [BZ #14803]
9892 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9893 of pi/2 rounded to nearest to 64 bits.
9894 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9895 nearest to 64 bits.
9896 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9897 bits.
9898
9899 2012-11-28 Jeff Law <law@redhat.com>
9900 Martin Osvald <mosvald@redhat.com>
9901
9902 [BZ #14889]
9903 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9904 * sunrpc/svc.c: Include time.h.
9905 (__svc_accept_failed): New function.
9906 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9907 any reason other than EINTR, call __svc_accept_failed.
9908 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9909 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9910
9911 2012-11-28 Andreas Schwab <schwab@suse.de>
9912
9913 * scripts/abilist.awk: Also handle indirect functions in .opd
9914 section.
9915
9916 2012-11-28 Joseph Myers <joseph@codesourcery.com>
9917
9918 [BZ #13881]
9919 * sysdeps/x86/fpu/powl_helper.c: New file.
9920 * sysdeps/x86/fpu/Makefile: Likewise.
9921 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9922 (p3): New object.
9923 (__ieee754_powl): Use __powl_helper for finite arguments except
9924 integer exponents below 8.
9925 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9926 (p3): New object.
9927 (__ieee754_powl): Use __powl_helper for finite arguments except
9928 integer exponents below 8.
9929 * math/libm-test.inc (pow_test): Add more tests and enable some
9930 previously disabled tests.
9931 * sysdeps/i386/fpu/libm-test-ulps: Update.
9932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9933
9934 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9935 Carlos O'Donell <carlos_odonell@mentor.com>
9936
9937 * nss/makedb.c (is_prime): Assert that input is odd and greater
9938 than 4. Note that fact in a comment too.
9939 (next_prime): Add 4 to input.
9940
9941 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9942
9943 [BZ #11741]
9944 * libio/Makefile (tests): Add test case tst-fwrite-error.
9945 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9946 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9947 * libio/tst-fwrite-error.c: New test case.
9948
9949 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9950
9951 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9952 before casting to void *.
9953 * include/libc-internal.h (__pointer_type): New macro.
9954 (__integer_if_pointer_type_sub): Likewise.
9955 (__integer_if_pointer_type): Likewise.
9956 (cast_to_integer): Likewise.
9957 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9958 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9959 before casting to atomic64_t.
9960 (atomic_exchange_acq): Likewise.
9961 (__arch_exchange_and_add_body): Likewise.
9962 (__arch_add_body): Likewise.
9963 (atomic_add_negative): Likewise.
9964 (atomic_add_zero): Likewise.
9965
9966 2012-11-26 Joseph Myers <joseph@codesourcery.com>
9967
9968 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9969 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9970 (add_fdes): Likewise.
9971 (linear_search_fdes): Likewise.
9972 (binary_search_unencoded_fdes): Likewise.
9973
9974 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9975
9976 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9977
9978 2012-11-24 Adam Conrad <adconrad@0c3.net>
9979
9980 * configure.in: Autodetect C++ header directories.
9981 * configure: Regenerated.
9982
9983 2012-11-23 Mike Frysinger <vapier@gentoo.org>
9984
9985 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9986
9987 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9988
9989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9990
9991 2012-11-22 Joseph Myers <joseph@codesourcery.com>
9992
9993 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9994 LDBL_MANT_DIG == 106]: Disable some tests.
9995 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9996 Likewise.
9997 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9998 Likewise.
9999
10000 [BZ #14871]
10001 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10002 input for small inputs. Return +/- pi/2 for large inputs.
10003 * math/libm-test.inc (atan_test): Add more tests.
10004
10005 * sysdeps/generic/unwind-dw2-fde-glibc.c
10006 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10007 __attribute__ ((unused)).
10008
10009 [BZ #14645]
10010 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10011 x * y if x and y are nonzero and z is zero.
10012
10013 [BZ #14811]
10014 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10015 nonzero exponents with absolute value below 0x1p-117 to +/-
10016 0x1p-117.
10017
10018 [BZ #14869]
10019 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10020 up arguments below 2**-450, not just those below 2**-500.
10021 * math/libm-test.inc (hypot_test): Add another test.
10022
10023 [BZ #14868]
10024 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10025 Return a+b for ratio over 2**120, not 2**60.
10026 * math/libm-test.inc (hypot_test): Add another test.
10027
10028 * math/libm-test.inc (clog_test): Use
10029 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10030 (clog10_test): Likewise.
10031
10032 [BZ #6778]
10033 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10034
10035 2012-11-22 Andreas Schwab <schwab@suse.de>
10036
10037 * sysdeps/i386/fpu/libm-test-ulps: Update.
10038
10039 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10040
10041 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10042 printf output with newline.
10043
10044 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10045
10046 [BZ #14865]
10047 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10048 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10049 -z nodlopen, -z initfirst and -z execstack support.
10050 * configure: Regenerated.
10051
10052 * elf/elf.h (DF_1_NODIRECT): New macro.
10053 (DF_1_IGNMULDEF): Likewise.
10054 (DF_1_NOKSYMS): Likewise.
10055 (DF_1_NOHDR): Likewise.
10056 (DF_1_EDITED): Likewise.
10057 (DF_1_NORELOC): Likewise.
10058 (DF_1_SYMINTPOSE): Likewise.
10059 (DF_1_GLOBAUDIT): Likewise.
10060 (DF_1_SINGLETON): Likewise.
10061 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10062 DT_1_SUPPORTED_MASK bits.
10063 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10064
10065 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10066
10067 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10068
10069 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10070
10071 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10072 macro.
10073
10074 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10075 (sendmmsg): Move declarations...
10076 * socket/sys/socket.h: ... here.
10077 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10078 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10079 include it from...
10080 * socket/recvmmsg.c: ... this new file.
10081 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10082 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10083 definition of __sendmmsg hidden.
10084 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10085 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10086 Move ENOSYS stub into and include it from...
10087 * socket/sendmmsg.c: ... this new file.
10088 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10089 (sysdep_routines): Move recvmmsg and sendmmsg...
10090 * socket/Makefile (routines): ... here.
10091 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10092 (GLIBC_PRIVATE): Add __sendmmsg.
10093 * include/sys/socket.h (__sendmmsg): Add declarations.
10094 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10095 sendmmsg.
10096
10097 2012-11-20 Joseph Myers <joseph@codesourcery.com>
10098
10099 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10100 variable I1 with __attribute__ ((unused)).
10101 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10102
10103 2012-11-19 Joseph Myers <joseph@codesourcery.com>
10104
10105 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10106 DUMMY variables with __attribute__ ((unused)).
10107
10108 * bits/byteswap.h: Include <bits/types.h>.
10109 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10110
10111 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10112
10113 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10114 string_t. Do not manually set errno.
10115 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10116 length with __strnlen. Make sure to both set errno and return it on
10117 failure.
10118
10119 2012-11-19 David S. Miller <davem@davemloft.net>
10120
10121 With help from Joseph Myers.
10122 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10123 very large arguments properly.
10124 * math/libm-test.inc (atan_test): New tests.
10125 (atan2_test): New tests.
10126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10127 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10128
10129 2012-11-19 Joseph Myers <joseph@codesourcery.com>
10130
10131 [BZ #14856]
10132 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10133 Define to 3.
10134
10135 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10136 [POSIX] (EADDRNOTAVAIL): Likewise.
10137 [POSIX] (EAFNOSUPPORT): Likewise.
10138 [POSIX] (EALREADY): Likewise.
10139 [POSIX] (ECONNABORTED): Likewise.
10140 [POSIX] (ECONNREFUSED): Likewise.
10141 [POSIX] (ECONNRESET): Likewise.
10142 [POSIX] (EDESTADDRREQ): Likewise.
10143 [POSIX] (EDQUOT): Likewise.
10144 [POSIX] (EHOSTUNREACH): Likewise.
10145 [POSIX] (EIDRM): Likewise.
10146 [POSIX] (EISCONN): Likewise.
10147 [POSIX] (ELOOP): Likewise.
10148 [POSIX] (EMULTIHOP): Likewise.
10149 [POSIX] (ENETDOWN): Likewise.
10150 [POSIX] (ENETUNREACH): Likewise.
10151 [POSIX] (ENOBUFS): Likewise.
10152 [POSIX] (ENODATA): Likewise.
10153 [POSIX] (ENOLINK): Likewise.
10154 [POSIX] (ENOMSG): Likewise.
10155 [POSIX] (ENOPROTOOPT): Likewise.
10156 [POSIX] (ENOSR): Likewise.
10157 [POSIX] (ENOSTR): Likewise.
10158 [POSIX] (ENOTCONN): Likewise.
10159 [POSIX] (ENOTSOCK): Likewise.
10160 [POSIX] (EOPNOTSUPP): Likewise.
10161 [POSIX] (EOVERFLOW): Likewise.
10162 [POSIX] (EPROTO): Likewise.
10163 [POSIX] (EPROTONOSUPPORT): Likewise.
10164 [POSIX] (EPROTOTYPE): Likewise.
10165 [POSIX] (ESTALE): Likewise.
10166 [POSIX] (ETIME): Likewise.
10167 [POSIX] (ETXTBSY): Likewise.
10168 [POSIX] (EWOULDBLOCK): Likewise.
10169 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10170 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10171 [POSIX] (SEEK_CUR): Likewise.
10172 [POSIX] (SEEK_END): Likewise.
10173 [POSIX || UNIX98] (mode_t): Do not require.
10174 [POSIX] (off_t): Likewise.
10175 [POSIX] (pid_t): Likewise.
10176 [POSIX] (sys/stat.h): Do not allow header.
10177 [POSIX] (unistd.h): Likewise.
10178 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10179 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10180 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10181 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10182 require.
10183 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10184 sigevent): Specify elements.
10185 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10186 entry.
10187 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10188 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10189
10190 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10191 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10192 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10193 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10194 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10195 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10196 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10197 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10198 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10199 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10200 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10201 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10202 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10203 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10204 Likewise.
10205 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10206 Likewise.
10207 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10208 Likewise.
10209 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10210 Likewise.
10211 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10212 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10213 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10214 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10215 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10216 Specify lower bound on value.
10217 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10218 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10219 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10220 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10221 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10222 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10223 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10224 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10225 value.
10226 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10227 as optional.
10228 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10229 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10230 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10231 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10232 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10233 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10234 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10235 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10236 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10237 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10238 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10239 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10240 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10241 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10242 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10243 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10244 entry.
10245 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10246 optional.
10247 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10248 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10249 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10250 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10251 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10252 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10253 Likewise.
10254 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10255 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10256 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10257 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10258 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10259 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10260 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10261 as optional.
10262 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10263 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10264 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10265 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10266 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10267 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10268 specify as optional.
10269 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10270 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10271 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10272 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10273 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10274 [XPG3] (NL_LANGMAX): Likewise.
10275 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10276 [POSIX || XPG3] (NL_NMAX): Likewise.
10277 [POSIX || XPG3] (NL_SETMAX): Likewise.
10278 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10279 [XPG3] (NZERO): Likewise.
10280 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10281 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10282 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10283 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10284 (REG_ERANGE): Expect.
10285 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10286 optional-constant.
10287 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10288 Use (void) in prototype.
10289 [POSIX] (*_t): Allow.
10290 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10291 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10292 (WRDE_BADVAL): Expect.
10293
10294 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10295 expect.
10296 [XPG3 || XPG4] (O_RSYNC): Likewise.
10297 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10298 Likewise.
10299 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10300 [XPG3 || XPG4] (sigqueue): Likewise.
10301 [XPG3 || XPG4] (sigtimedwait): Likewise.
10302 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10303 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10304 [XPG3 || XPG4] (vsnprintf): Likewise.
10305 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10306 Likewise.
10307 [XPG3 || XPG4] (blksize_t): Likewise.
10308 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10309 Likewise.
10310 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10311 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10312 [XPG3 || XPG4] (struct itimerspec): Likewise.
10313 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10314 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10315 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10316 [XPG3 || XPG4] (clockid_t): Likewise.
10317 [XPG3 || XPG4] (timer_t): Likewise.
10318 [XPG3 || XPG4] (clock_getres): Likewise.
10319 [XPG3 || XPG4] (clock_gettime): Likewise.
10320 [XPG3 || XPG4] (clock_settime): Likewise.
10321 [XPG3 || XPG4] (nanosleep): Likewise.
10322 [XPG3 || XPG4] (timer_create): Likewise.
10323 [XPG3 || XPG4] (timer_delete): Likewise.
10324 [XPG3 || XPG4] (timer_gettime): Likewise.
10325 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10326 [XPG3 || XPG4] (timer_settime): Likewise.
10327 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10328 [XPG3 || XPG4] (getlogin_r): Likewise.
10329 [XPG3 || XPG4] (pread): Likewise.
10330 [XPG3 || XPG4] (pthread_atfork): Likewise.
10331 [XPG3 || XPG4] (pwrite): Likewise.
10332
10333 [BZ #14835]
10334 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10335 <bits/siginfo.h>.
10336
10337 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10338
10339 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10340 finalizing MALLSTREAM.
10341
10342 * sysdeps/mach/hurd/syncfs.c: New file.
10343
10344 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10345
10346 [BZ #14719]
10347 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10348 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10349 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10350 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10351 (_nss_dns_gethostbyname4_r): Likewise.
10352 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10353 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10354
10355 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10356
10357 [BZ #13763]
10358 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10359
10360 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10361
10362 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10363 * elf/cache.c (print_entry): Print ",AArch64" for
10364 FLAG_AARCH64_LIB64
10365
10366 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10367 * elf/cache.c (print_entry): Print ",hard-float" for
10368 FLAG_ARM_LIBHF.
10369
10370 2012-11-18 David S. Miller <davem@davemloft.net>
10371
10372 With help from Joseph Myers.
10373 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10374 cutoff to 2**-13.
10375 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10376 cutoff to 2**-25.
10377 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10378 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10379 small.
10380 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10381 * math/libm-test.inc (y0_test): New tests.
10382 (y1_test): New tests.
10383 * sysdeps/i386/fpu/libm-test-ulps: Update.
10384 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10386
10387 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10388
10389 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10390 64-bit targets.
10391 * configure: Regenerated.
10392
10393 2012-11-17 David S. Miller <davem@davemloft.net>
10394
10395 [BZ #14811]
10396 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10397 nonzero exponents with absolute value below 0x1p-128 to +/-
10398 0x1p-128.
10399
10400 2012-11-17 Joseph Myers <joseph@codesourcery.com>
10401
10402 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10403
10404 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10405
10406 * posix/getconf-speclist.c: New file.
10407 * posix/posix-envs.def: Likewise.
10408 * posix/confstr.c (START_ENV_GROUP): New macro.
10409 (END_ENV_GROUP): Likewise.
10410 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10411 (KNOWN_PRESENT_ENV_STRING): Likewise.
10412 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10413 (UNKNOWN_ENVIRONMENT): Likewise.
10414 (confstr): Include posix-envs.def instead of handling
10415 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10416 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10417 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10418 (END_ENV_GROUP): Likewise.
10419 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10420 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10421 (UNKNOWN_ENVIRONMENT): Likewise.
10422 (__sysconf): Include posix-envs.def instead of handling associated
10423 cases directly here.
10424 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10425 preprocessing getconf-speclist.c rather than running getconf or
10426 generating empty file.
10427
10428 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10429
10430 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10431
10432 2012-11-16 Andrej Lajovic <natrij@gmail.com>
10433
10434 [BZ #14672]
10435 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10436
10437 2012-11-16 David S. Miller <davem@davemloft.net>
10438
10439 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10440 smaller than LDBL_EPSILON/2.0L, just return xm1.
10441
10442 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10443
10444 * elf/tst-array1.c (init): Set constructor priority to 1000.
10445 (fini): Set destructor priority to 1000.
10446 * elf/tst-array2dep.c: Likewise.
10447
10448 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10449
10450 [BZ #11741]
10451 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10452 (_IO_new_file_xsputn): Also return EOF if none of the input
10453 data was written when overflow failed.
10454 * libio/iopadn.c (_IO_padn): Likewise.
10455 * libio/iowpadn.c (_IO_wpadn): Likewise.
10456 * stdio-common/tst-put-error.c: Add copyright notice.
10457 (do_test): Add case for printing padded string.
10458 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10459 _IO_padn returned error.
10460 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10461 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10462 return EOF.
10463
10464 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10465
10466 * libio/libioP.h: Add comment note that the references to C++
10467 bits are now obsolete.
10468
10469 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10470
10471 * math/libm-test.inc (check_complex): Use asprintf.
10472
10473 2012-11-14 Joseph Myers <joseph@codesourcery.com>
10474
10475 * debug/pcprofiledump.c (print_version): Update copyright year.
10476 * malloc/memusagestat.c (print_version): Likewise.
10477
10478 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10479
10480 [BZ #14831]
10481 * elf/Makefile (tests): Add tst-audit8.
10482 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10483 ($(objpfx)tst-audit8.out): New target.
10484 (tst-audit8-ENV): New variable.
10485 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10486 audit if l_reloc_result is NULL.
10487 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10488 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10489 * elf/tst-audit8.c: New file.
10490
10491 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10492
10493 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10494 * misc/Makefile (CFLAGS-select.c): Define.
10495 * posix/Makefile (CFLAGS-pause.c): Define.
10496
10497 2012-11-13 David S. Miller <davem@davemloft.net>
10498
10499 * crypt/Makefile: Move test targets after toplevel Rules
10500 inclusion. Grab any necessary sysdep routines when linking.
10501 * crypt/md5.c (md5_process_block): Remove define, we will always
10502 name it __md5_process_block.
10503 (md5_finish_ctx): Update md5_process_block call.
10504 (md5_stream): Likewise.
10505 (md5_process_bytes): Likewise.
10506 (md5_process_block): Rename to __md5_process_block and move to ...
10507 * crypt/md5-block.c: ... here.
10508 * crypt/sha256.c (sha256_process_block): Move to ...
10509 * crypt/sha256-block.c: ... here.
10510 * crypt/sha512.c (sha512_process_block): Move to ...
10511 * crypt/sha512-block.c: ... here.
10512 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10513 path.
10514 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10515 * sysdeps/sparc/sparc64/multiarch/Makefile
10516 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10517 crypt subdir.
10518 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10519 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10520 multiarch changes.
10521 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10522 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10523 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10524 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10525 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10526 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10527 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10528 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10529 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10530 file.
10531 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10532 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10533 file.
10534 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10535
10536 2012-11-13 Joseph Myers <joseph@codesourcery.com>
10537
10538 * timezone/tzselect.ksh: Update from tzcode git revision
10539 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10540 * timezone/zdump.c: Likewise.
10541 * timezone/zic.c: Likewise.
10542 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10543 in TZVERSION setting, not $(PKGVERSION).
10544 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10545 REPORT_BUGS_TO settings.
10546
10547 [BZ #14838]
10548 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10549 macro.
10550
10551 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10552
10553 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10554 detection to immediately after _FP_ROUND().
10555 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10556 bits are 0.
10557
10558 2012-11-11 David S. Miller <davem@davemloft.net>
10559
10560 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10561 inttypes.h
10562 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10563 __close rather than their public counterparts.
10564
10565 2012-11-10 Joseph Myers <joseph@codesourcery.com>
10566
10567 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10568 file.
10569 [UNIX98] (sem_timedwait): Do not expect.
10570 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10571 [XPG4 || UNIX98] (sockatmark): Do not expect.
10572 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10573 (clock_getcpuclockid): Do not expect.
10574 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10575 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10576 Do not expect.
10577 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10578 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10579 [UNIX98] (vwscanf): Likewise.
10580 [UNIX98] (vswscanf): Likewise.
10581
10582 2012-11-09 Joseph Myers <joseph@codesourcery.com>
10583
10584 * timezone/version.h: Remove file.
10585 * timezone/README: Do not refer to version.h.
10586 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10587 $(objpfx)version.h.
10588 ($(objpfx)zdump.o): Likewise.
10589 ($(objpfx)version.h): New target.
10590
10591 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10592 2012i.
10593 * timezone/README: Don't mention modification to tzselect.ksh.
10594 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10595 work on unmodified tzselect.ksh. Substitute version numbers in
10596 tzselect.ksh.
10597
10598 * Makefile (format-me): Remove.
10599 (INSTALL): Adjust indentation. Use commands directly instead of
10600 using $(format-me).
10601
10602 * aclocal.m4 (ACX_PKGVERSION): New macro.
10603 (ACX_BUGURL): Likewise.
10604 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10605 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10606 (REPORT_BUGS_TO): Likewise.
10607 * configure: Regenerated.
10608 * config.h.in (PKGVERSION): New macro.
10609 (REPORT_BUGS_TO): Likewise.
10610 * config.make.in (PKGVERSION): New variable.
10611 (PKGVERSION_TEXI): Likewise.
10612 (REPORT_BUGS_TO): Likewise.
10613 (REPORT_BUGS_TEXI): Likewise.
10614 * Makefile (format-me): Use -I$(common-objpfx)manual.
10615 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10616 ($(common-objpfx)manual/%): New target.
10617 (manual/%): Remove target.
10618 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10619 (print_version): Use PKGVERSION.
10620 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10621 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10622 and REPORT_BUGS_TO.
10623 ($(objpfx)xtrace): Likewise.
10624 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10625 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10626 (print_version): Use PKGVERSION.
10627 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10628 (do_version): Use PKGVERSION.
10629 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10630 REPORT_BUGS_TO.
10631 (common-ldd-rewrite): Likewise.
10632 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10633 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10634 (print_version): Use PKGVERSION.
10635 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10636 * elf/pldd.c (argp_program_bug_address): Remove variable.
10637 (more_help): New function.
10638 (argp): Use more_help.
10639 (print_version): Use PKGVERSION.
10640 * elf/sln.c (main): Use PKGVERSION.
10641 (usage): Use REPORT_BUGS_TO.
10642 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10643 (top level): Use PKGVERSION.
10644 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10645 (print_version): Use PKGVERSION.
10646 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10647 (print_version): Use PKGVERSION.
10648 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10649 (print_version): Use PKGVERSION.
10650 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10651 (print_version): Use PKGVERSION.
10652 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10653 (print_version): Use PKGVERSION.
10654 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10655 (print_version): Use PKGVERSION.
10656 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10657 and BUGURL.
10658 ($(objpfx)memusage): Likewise.
10659 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10660 (do_version): Use PKGVERSION.
10661 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10662 (print_version): Use PKGVERSION.
10663 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10664 ($PKGVERSION): New variable.
10665 ($REPORT_BUGS_TO): Likewise.
10666 (usage): Use $REPORT_BUGS_TO.
10667 (top level): Use $PKGVERSION.
10668 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10669 ($(objpfx)pkgvers.texi): New rule.
10670 ($(objpfx)stamp-pkgvers): Likewise.
10671 * manual/install.texi: Include pkgvers.texi.
10672 (--with-pkgversion): Document new configure option.
10673 (--with-bugurl): Likewise.
10674 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10675 than necessarily for this particular distribution. Use
10676 REPORT_BUGS_TO for where to report bugs.
10677 * INSTALL: Regenerated.
10678 * manual/libc.texinfo: Include pkgvers.texi.
10679 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10680 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10681 (print_version): Use PKGVERSION.
10682 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10683 (print_version): Use PKGVERSION.
10684 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10685 (print_version): Use PKGVERSION.
10686 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10687 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10688 macro.
10689 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10690 (print_version): Use PKGVERSION.
10691 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10692 (print_version): Use PKGVERSION.
10693 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10694 and PKGVERSION.
10695
10696 * timezone/checktab.awk: Update from tzcode 2012i.
10697 * timezone/ialloc.c: Likewise.
10698 * timezone/private.h: Likewise.
10699 * timezone/scheck.c: Likewise.
10700 * timezone/tzfile.h: Likewise.
10701 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10702 (TZVERSION): Hardcode tzcode version number.
10703 * timezone/zdump.c: Update from tzcode 2012i.
10704 * timezone/zic.c: Likewise.
10705 * timezone/version.h: New file.
10706 * timezone/README: Describe version.h. Update upstream location.
10707
10708 [BZ #14824]
10709 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10710 (mktemp): Enable declaration.
10711 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10712 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10713 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10714 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10715 Likewise.
10716 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10717 Likewise.
10718 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10719 Likewise.
10720 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10721 Likewise.
10722 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10723 Likewise.
10724 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10725 Likewise.
10726
10727 [BZ #14821]
10728 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10729 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10730 for copies of such integer values.
10731 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10732 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10733
10734 2012-11-09 Andreas Jaeger <aj@suse.de>
10735
10736 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10737 definitions and declarations that are provided by
10738 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10739
10740 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10741
10742 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
10743 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10744 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10745 definition.
10746
10747 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10748
10749 * elf/elf.h: Update comment before AArch64 relocations.
10750
10751 2012-11-07 David S. Miller <davem@davemloft.net>
10752
10753 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10754 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10755 (__start_context): Declare.
10756 (__makecontext_ret): Delete.
10757 (__makecontext): Hook up __start_context instead of
10758 __makecontext_ret.
10759 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10760 (sysdep_routines): Add __start_context when in stdlib.
10761
10762 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10763
10764 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10765 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10766 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10767 hardcoded "nm".
10768 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10769 (READELF): New variable. Use it instead of hardcoded "readelf".
10770
10771 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10772
10773 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10774 * sysdeps/x86/Makefile: Here.
10775 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10776 * sysdeps/x86/tst-xmmymm.sh: This.
10777
10778 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10779
10780 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10781 expectations.
10782 [UNIX98] (pthread_barrier_t): Do not expect.
10783 [UNIX98] (pthread_barrierattr_t): Likewise.
10784 [UNIX98] (pthread_spinlock_t): Likewise.
10785 [UNIX98] (pthread_barrier_destroy): Likewise.
10786 [UNIX98] (pthread_barrier_init): Likewise.
10787 [UNIX98] (pthread_barrier_wait): Likewise.
10788 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10789 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10790 [UNIX98] (pthread_barrierattr_init): Likewise.
10791 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10792 [UNIX98] (pthread_getcpuclockid): Likewise.
10793 [UNIX98] (pthread_mutex_timedlock): Likewise.
10794 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10795 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10796 [UNIX98] (pthread_sigmask): Likewise.
10797 [UNIX98] (pthread_spin_destroy): Likewise.
10798 [UNIX98] (pthread_spin_init): Likewise.
10799 [UNIX98] (pthread_spin_lock): Likewise.
10800 [UNIX98] (pthread_spin_trylock): Likewise.
10801 [UNIX98] (pthread_spin_unlock): Likewise.
10802 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10803 Do not expect.
10804 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10805 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10806 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10807 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10808 [XPG3 || XPG4] (pthread_key_t): Likewise.
10809 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10810 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10811 [XPG3 || XPG4] (pthread_once_t): Likewise.
10812 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10813 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10814 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10815 [XPG3 || XPG4] (pthread_t): Likewise.
10816
10817 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10818 not expect.
10819 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10820
10821 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10822 Change function return type to int.
10823
10824 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10825 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10826 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10827 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10828 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10829 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10830 [!POSIX] (posix_madvise): Likewise.
10831 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10832 && !UNIX98].
10833 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10834 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10835 (mode_t): Likewise.
10836 (posix_mem_offset): Likewise.
10837 (posix_typed_mem_get_info): Likewise.
10838 (posix_typed_mem_open): Likewise.
10839
10840 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10841 Change condition to [XOPEN2K8].
10842
10843 * conform/conformtest.pl: Preprocess allow-header data with -x c
10844 instead of from stdin.
10845 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10846 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10847 [C99-based standards] (cerfc): Likewise.
10848 [C99-based standards] (cexp2): Likewise.
10849 [C99-based standards] (cexpm1): Likewise.
10850 [C99-based standards] (clog10): Likewise.
10851 [C99-based standards] (clog1p): Likewise.
10852 [C99-based standards] (clog2): Likewise.
10853 [C99-based standards] (clgamma): Likewise.
10854 [C99-based standards] (ctgamma): Likewise.
10855 [C99-based standards] (cerff): Likewise.
10856 [C99-based standards] (cerfcf): Likewise.
10857 [C99-based standards] (cexp2f): Likewise.
10858 [C99-based standards] (cexpm1f): Likewise.
10859 [C99-based standards] (clog10f): Likewise.
10860 [C99-based standards] (clog1pf): Likewise.
10861 [C99-based standards] (clog2f): Likewise.
10862 [C99-based standards] (clgammaf): Likewise.
10863 [C99-based standards] (ctgammaf): Likewise.
10864 [C99-based standards] (cerfl): Likewise.
10865 [C99-based standards] (cerfcl): Likewise.
10866 [C99-based standards] (cexp2l): Likewise.
10867 [C99-based standards] (cexpm1l): Likewise.
10868 [C99-based standards] (clog10l): Likewise.
10869 [C99-based standards] (clog1pl): Likewise.
10870 [C99-based standards] (clog2l): Likewise.
10871 [C99-based standards] (clgammal): Likewise.
10872 [C99-based standards] (ctgammal): Likewise.
10873 * conform/data/inttypes.h-data [C99-based standards]: Include
10874 stdint.h-data. Remove all expectations for stdint.h contents.
10875 [C99-based standards] (PRI*): Do not allow.
10876 [C99-based standards] (SCN*): Likewise.
10877 [C99-based standards] (*_t): Likewise.
10878 [C99-based-standards] (PRId8): Expect macro.
10879 [C99-based-standards] (PRIi8): Likewise.
10880 [C99-based-standards] (PRIo8): Likewise.
10881 [C99-based-standards] (PRIu8): Likewise.
10882 [C99-based-standards] (PRIx8): Likewise.
10883 [C99-based-standards] (PRIX8): Likewise.
10884 [C99-based-standards] (SCNd8): Likewise.
10885 [C99-based-standards] (SCNi8): Likewise.
10886 [C99-based-standards] (SCNo8): Likewise.
10887 [C99-based-standards] (SCNu8): Likewise.
10888 [C99-based-standards] (SCNx8): Likewise.
10889 [C99-based-standards] (PRIdLEAST8): Likewise.
10890 [C99-based-standards] (PRIiLEAST8): Likewise.
10891 [C99-based-standards] (PRIoLEAST8): Likewise.
10892 [C99-based-standards] (PRIuLEAST8): Likewise.
10893 [C99-based-standards] (PRIxLEAST8): Likewise.
10894 [C99-based-standards] (PRIXLEAST8): Likewise.
10895 [C99-based-standards] (SCNdLEAST8): Likewise.
10896 [C99-based-standards] (SCNiLEAST8): Likewise.
10897 [C99-based-standards] (SCNoLEAST8): Likewise.
10898 [C99-based-standards] (SCNuLEAST8): Likewise.
10899 [C99-based-standards] (SCNxLEAST8): Likewise.
10900 [C99-based-standards] (PRIdFAST8): Likewise.
10901 [C99-based-standards] (PRIiFAST8): Likewise.
10902 [C99-based-standards] (PRIoFAST8): Likewise.
10903 [C99-based-standards] (PRIuFAST8): Likewise.
10904 [C99-based-standards] (PRIxFAST8): Likewise.
10905 [C99-based-standards] (PRIXFAST8): Likewise.
10906 [C99-based-standards] (SCNdFAST8): Likewise.
10907 [C99-based-standards] (SCNiFAST8): Likewise.
10908 [C99-based-standards] (SCNoFAST8): Likewise.
10909 [C99-based-standards] (SCNuFAST8): Likewise.
10910 [C99-based-standards] (SCNxFAST8): Likewise.
10911 [C99-based-standards] (PRId16): Likewise.
10912 [C99-based-standards] (PRIi16): Likewise.
10913 [C99-based-standards] (PRIo16): Likewise.
10914 [C99-based-standards] (PRIu16): Likewise.
10915 [C99-based-standards] (PRIx16): Likewise.
10916 [C99-based-standards] (PRIX16): Likewise.
10917 [C99-based-standards] (SCNd16): Likewise.
10918 [C99-based-standards] (SCNi16): Likewise.
10919 [C99-based-standards] (SCNo16): Likewise.
10920 [C99-based-standards] (SCNu16): Likewise.
10921 [C99-based-standards] (SCNx16): Likewise.
10922 [C99-based-standards] (PRIdLEAST16): Likewise.
10923 [C99-based-standards] (PRIiLEAST16): Likewise.
10924 [C99-based-standards] (PRIoLEAST16): Likewise.
10925 [C99-based-standards] (PRIuLEAST16): Likewise.
10926 [C99-based-standards] (PRIxLEAST16): Likewise.
10927 [C99-based-standards] (PRIXLEAST16): Likewise.
10928 [C99-based-standards] (SCNdLEAST16): Likewise.
10929 [C99-based-standards] (SCNiLEAST16): Likewise.
10930 [C99-based-standards] (SCNoLEAST16): Likewise.
10931 [C99-based-standards] (SCNuLEAST16): Likewise.
10932 [C99-based-standards] (SCNxLEAST16): Likewise.
10933 [C99-based-standards] (PRIdFAST16): Likewise.
10934 [C99-based-standards] (PRIiFAST16): Likewise.
10935 [C99-based-standards] (PRIoFAST16): Likewise.
10936 [C99-based-standards] (PRIuFAST16): Likewise.
10937 [C99-based-standards] (PRIxFAST16): Likewise.
10938 [C99-based-standards] (PRIXFAST16): Likewise.
10939 [C99-based-standards] (SCNdFAST16): Likewise.
10940 [C99-based-standards] (SCNiFAST16): Likewise.
10941 [C99-based-standards] (SCNoFAST16): Likewise.
10942 [C99-based-standards] (SCNuFAST16): Likewise.
10943 [C99-based-standards] (SCNxFAST16): Likewise.
10944 [C99-based-standards] (PRId32): Likewise.
10945 [C99-based-standards] (PRIi32): Likewise.
10946 [C99-based-standards] (PRIo32): Likewise.
10947 [C99-based-standards] (PRIu32): Likewise.
10948 [C99-based-standards] (PRIx32): Likewise.
10949 [C99-based-standards] (PRIX32): Likewise.
10950 [C99-based-standards] (SCNd32): Likewise.
10951 [C99-based-standards] (SCNi32): Likewise.
10952 [C99-based-standards] (SCNo32): Likewise.
10953 [C99-based-standards] (SCNu32): Likewise.
10954 [C99-based-standards] (SCNx32): Likewise.
10955 [C99-based-standards] (PRIdLEAST32): Likewise.
10956 [C99-based-standards] (PRIiLEAST32): Likewise.
10957 [C99-based-standards] (PRIoLEAST32): Likewise.
10958 [C99-based-standards] (PRIuLEAST32): Likewise.
10959 [C99-based-standards] (PRIxLEAST32): Likewise.
10960 [C99-based-standards] (PRIXLEAST32): Likewise.
10961 [C99-based-standards] (SCNdLEAST32): Likewise.
10962 [C99-based-standards] (SCNiLEAST32): Likewise.
10963 [C99-based-standards] (SCNoLEAST32): Likewise.
10964 [C99-based-standards] (SCNuLEAST32): Likewise.
10965 [C99-based-standards] (SCNxLEAST32): Likewise.
10966 [C99-based-standards] (PRIdFAST32): Likewise.
10967 [C99-based-standards] (PRIiFAST32): Likewise.
10968 [C99-based-standards] (PRIoFAST32): Likewise.
10969 [C99-based-standards] (PRIuFAST32): Likewise.
10970 [C99-based-standards] (PRIxFAST32): Likewise.
10971 [C99-based-standards] (PRIXFAST32): Likewise.
10972 [C99-based-standards] (SCNdFAST32): Likewise.
10973 [C99-based-standards] (SCNiFAST32): Likewise.
10974 [C99-based-standards] (SCNoFAST32): Likewise.
10975 [C99-based-standards] (SCNuFAST32): Likewise.
10976 [C99-based-standards] (SCNxFAST32): Likewise.
10977 [C99-based-standards] (PRId64): Likewise.
10978 [C99-based-standards] (PRIi64): Likewise.
10979 [C99-based-standards] (PRIo64): Likewise.
10980 [C99-based-standards] (PRIu64): Likewise.
10981 [C99-based-standards] (PRIx64): Likewise.
10982 [C99-based-standards] (PRIX64): Likewise.
10983 [C99-based-standards] (SCNd64): Likewise.
10984 [C99-based-standards] (SCNi64): Likewise.
10985 [C99-based-standards] (SCNo64): Likewise.
10986 [C99-based-standards] (SCNu64): Likewise.
10987 [C99-based-standards] (SCNx64): Likewise.
10988 [C99-based-standards] (PRIdLEAST64): Likewise.
10989 [C99-based-standards] (PRIiLEAST64): Likewise.
10990 [C99-based-standards] (PRIoLEAST64): Likewise.
10991 [C99-based-standards] (PRIuLEAST64): Likewise.
10992 [C99-based-standards] (PRIxLEAST64): Likewise.
10993 [C99-based-standards] (PRIXLEAST64): Likewise.
10994 [C99-based-standards] (SCNdLEAST64): Likewise.
10995 [C99-based-standards] (SCNiLEAST64): Likewise.
10996 [C99-based-standards] (SCNoLEAST64): Likewise.
10997 [C99-based-standards] (SCNuLEAST64): Likewise.
10998 [C99-based-standards] (SCNxLEAST64): Likewise.
10999 [C99-based-standards] (PRIdFAST64): Likewise.
11000 [C99-based-standards] (PRIiFAST64): Likewise.
11001 [C99-based-standards] (PRIoFAST64): Likewise.
11002 [C99-based-standards] (PRIuFAST64): Likewise.
11003 [C99-based-standards] (PRIxFAST64): Likewise.
11004 [C99-based-standards] (PRIXFAST64): Likewise.
11005 [C99-based-standards] (SCNdFAST64): Likewise.
11006 [C99-based-standards] (SCNiFAST64): Likewise.
11007 [C99-based-standards] (SCNoFAST64): Likewise.
11008 [C99-based-standards] (SCNuFAST64): Likewise.
11009 [C99-based-standards] (SCNxFAST64): Likewise.
11010 [C99-based-standards] (PRIdMAX): Likewise.
11011 [C99-based-standards] (PRIiMAX): Likewise.
11012 [C99-based-standards] (PRIoMAX): Likewise.
11013 [C99-based-standards] (PRIuMAX): Likewise.
11014 [C99-based-standards] (PRIxMAX): Likewise.
11015 [C99-based-standards] (PRIXMAX): Likewise.
11016 [C99-based-standards] (SCNdMAX): Likewise.
11017 [C99-based-standards] (SCNiMAX): Likewise.
11018 [C99-based-standards] (SCNoMAX): Likewise.
11019 [C99-based-standards] (SCNuMAX): Likewise.
11020 [C99-based-standards] (SCNxMAX): Likewise.
11021 [C99-based-standards] (PRIdPTR): Likewise.
11022 [C99-based-standards] (PRIiPTR): Likewise.
11023 [C99-based-standards] (PRIoPTR): Likewise.
11024 [C99-based-standards] (PRIuPTR): Likewise.
11025 [C99-based-standards] (PRIxPTR): Likewise.
11026 [C99-based-standards] (PRIXPTR): Likewise.
11027 [C99-based-standards] (SCNdPTR): Likewise.
11028 [C99-based-standards] (SCNiPTR): Likewise.
11029 [C99-based-standards] (SCNoPTR): Likewise.
11030 [C99-based-standards] (SCNuPTR): Likewise.
11031 [C99-based-standards] (SCNxPTR): Likewise.
11032 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11033 allow.
11034 * conform/data/stdint.h-data: Update comments to clarify
11035 requirements.
11036 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11037 type.
11038 [C99-based standards] (INT8_MAX): Likewise.
11039 [C99-based standards] (INT16_MIN): Likewise.
11040 [C99-based standards] (INT16_MAX): Likewise.
11041 [C99-based standards] (INT32_MIN): Likewise.
11042 [C99-based standards] (INT32_MAX): Likewise.
11043 [C99-based standards] (INT64_MIN): Likewise.
11044 [C99-based standards] (INT64_MAX): Likewise.
11045 [C99-based standards] (UINT8_MAX): Likewise.
11046 [C99-based standards] (UINT16_MAX): Likewise.
11047 [C99-based standards] (UINT32_MAX): Likewise.
11048 [C99-based standards] (UINT64_MAX): Likewise.
11049 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11050 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11051 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11052 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11053 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11054 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11055 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11056 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11057 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11058 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11059 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11060 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11061 [C99-based standards] (INT_FAST8_MIN): Likewise.
11062 [C99-based standards] (INT_FAST8_MAX): Likewise.
11063 [C99-based standards] (INT_FAST16_MIN): Likewise.
11064 [C99-based standards] (INT_FAST16_MAX): Likewise.
11065 [C99-based standards] (INT_FAST32_MIN): Likewise.
11066 [C99-based standards] (INT_FAST32_MAX): Likewise.
11067 [C99-based standards] (INT_FAST64_MIN): Likewise.
11068 [C99-based standards] (INT_FAST64_MAX): Likewise.
11069 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11070 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11071 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11072 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11073 [C99-based standards] (INTPTR_MIN): Likewise.
11074 [C99-based standards] (INTPTR_MAX): Likewise.
11075 [C99-based standards] (UINTPTR_MAX): Likewise.
11076 [C99-based standards] (INTMAX_MIN): Likewise.
11077 [C99-based standards] (INTMAX_MAX): Likewise.
11078 [C99-based standards] (UINTMAX_MAX): Likewise.
11079 [C99-based standards] (PTRDIFF_MIN): Likewise.
11080 [C99-based standards] (PTRDIFF_MAX): Likewise.
11081 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11082 [C99-based standards] (SIZE_MAX): Likewise.
11083 [C99-based standards] (WCHAR_MAX): Likewise.
11084 [C99-based standards] (WINT_MAX): Likewise.
11085 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11086 constraint on value.
11087 [C99-based standards] (WCHAR_MIN): Likewise.
11088 [C99-based standards] (WINT_MIN): Likewise.
11089 [C99-based standards] (*_t): Allow.
11090 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11091 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11092 Include math.h-data and complex.h-data. Remove all expectations
11093 of math.h and complex.h contents.
11094 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11095 at end of line.
11096 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11097 (struct tm): Expect tag.
11098 [C99-based-standards] (wcstof): Expect function.
11099 [C99-based-standards] (wcstold): Likewise.
11100 [C99-based-standards] (wcstoll): Likewise.
11101 [C99-based-standards] (wcstoull): Likewise.
11102 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11103 macro-int-constant. Specify type.
11104 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11105 constraint on value.
11106 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11107 Specify type.
11108 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11109 Specify value.
11110 [ISO C standards]: Do not allow headers.
11111 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11112 wcs[abcdefghijklmnopqrstuvwxyz]*.
11113 [ISO C standards] (*_t): Do not allow.
11114 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11115 Expect function.
11116 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11117 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11118 Specify type.
11119 [ISO C standards]: Do not allow headers.
11120 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11121 is[abcdefghijklmnopqrstuvwxyz]*.
11122 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11123 to[abcdefghijklmnopqrstuvwxyz]*.
11124 [ISO C standards] (*_t): Do not allow.
11125 * conform/data/stdalign.h-data: New file.
11126 * conform/data/stdbool.h-data: Likewise.
11127 * conform/data/stdnoreturn.h-data: Likewise.
11128
11129 2012-11-07 Roland McGrath <roland@hack.frob.com>
11130
11131 [BZ #14815]
11132 * manual/filesys.texi (Directory Entries): Typo fix.
11133 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11134
11135 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11136
11137 * elf/elf.h (EM_AARCH64): New macro.
11138 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11139 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11140 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11141 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11142 (R_AARCH64_TLSDESC): Likewise.
11143 (NT_ARM_TLS): Likewise.
11144 (NT_ARM_HW_BREAK): Likewise.
11145 (NT_ARM_HW_WATCH): Likewise.
11146
11147 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11148
11149 [BZ #14811]
11150 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11151 (__ieee754_powl): Saturate nonzero exponents with absolute value
11152 below 0x1p-79 to +/- 0x1p-79.
11153 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11154 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11155 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11156 nonzero exponents with absolute value below 0x1p-32 to +/-
11157 0x1p-32.
11158 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11159 (__ieee754_powl): Saturate nonzero exponents with absolute value
11160 below 0x1p-79 to +/- 0x1p-79.
11161 * math/libm-test.inc (pow_test): Add more tests.
11162
11163 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11164
11165 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11166 _dl_s390_cap_flags with kernel. Increase string length.
11167 (_dl_s390_platforms): Add z196 and zEC12.
11168
11169 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11170
11171 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11172 Change XOPEN21K to XOPEN2K.
11173
11174 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11175
11176 * string/memmove.c: Use memcpy when possible.
11177
11178 2012-11-06 Andreas Jaeger <aj@suse.de>
11179
11180 * po/eo.po: Update from translation team.
11181
11182 2012-11-06 Joseph Myers <joseph@codesourcery.com>
11183
11184 [BZ #14793]
11185 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11186 exponent and small x and y exponents, scale x or y up. Increase
11187 by 2 the exponent used in scaling up.
11188 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11189 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11190 * math/libm-test.inc (fma_test): Add more tests.
11191 (fma_test_towardzero): Likewise.
11192 (fma_test_downward): Likewise.
11193 (fma_test_upward): Likewise.
11194
11195 2012-11-05 Joseph Myers <joseph@codesourcery.com>
11196
11197 [BZ #14805]
11198 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11199 fenv_t *.
11200
11201 [BZ #14801]
11202 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11203 namespace for names of struct fields.
11204 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11205 fenv_t fields.
11206 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11207 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11208
11209 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11210
11211 [BZ #3665]
11212 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11213
11214 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11215
11216 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11217 PTR_DEMANGLE.
11218
11219 [BZ #5246]
11220 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11221 PTR_DEMANGLE.
11222
11223 2012-11-04 Joseph Myers <joseph@codesourcery.com>
11224
11225 [BZ #14797]
11226 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11227 definitely overflow as x * y not x * y + z.
11228 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11229 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11230 * math/libm-test.inc (fma_test): Add more tests.
11231 (fma_test_towardzero): Likewise.
11232 (fma_test_downward): Likewise.
11233 (fma_test_upward): Likewise.
11234
11235 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11236
11237 [BZ #157]
11238
11239 * include/stub-tag.h: Remove file.
11240 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11241 '#include' of it.
11242 * manual/maint.texi (Porting): Don't reference it.
11243 * Makerules ($(objpfx)stubs): Likewise.
11244 * dirent/closedir.c: Don't include <stub-tag.h>.
11245 * dirent/dirfd.c: Likewise.
11246 * dirent/fdopendir.c: Likewise.
11247 * dirent/getdents.c: Likewise.
11248 * dirent/getdents64.c: Likewise.
11249 * dirent/opendir.c: Likewise.
11250 * dirent/readdir.c: Likewise.
11251 * dirent/readdir64.c: Likewise.
11252 * dirent/readdir64_r.c: Likewise.
11253 * dirent/readdir_r.c: Likewise.
11254 * dirent/rewinddir.c: Likewise.
11255 * dirent/seekdir.c: Likewise.
11256 * dirent/telldir.c: Likewise.
11257 * gmon/profil.c: Likewise.
11258 * grp/setgroups.c: Likewise.
11259 * inet/if_index.c: Likewise.
11260 * io/access.c: Likewise.
11261 * io/chdir.c: Likewise.
11262 * io/chmod.c: Likewise.
11263 * io/chown.c: Likewise.
11264 * io/close.c: Likewise.
11265 * io/dup.c: Likewise.
11266 * io/dup2.c: Likewise.
11267 * io/dup3.c: Likewise.
11268 * io/euidaccess.c: Likewise.
11269 * io/faccessat.c: Likewise.
11270 * io/fchdir.c: Likewise.
11271 * io/fchmod.c: Likewise.
11272 * io/fchmodat.c: Likewise.
11273 * io/fchown.c: Likewise.
11274 * io/fchownat.c: Likewise.
11275 * io/fcntl.c: Likewise.
11276 * io/flock.c: Likewise.
11277 * io/fstatfs.c: Likewise.
11278 * io/fstatfs64.c: Likewise.
11279 * io/fstatvfs.c: Likewise.
11280 * io/fstatvfs64.c: Likewise.
11281 * io/futimens.c: Likewise.
11282 * io/fxstat.c: Likewise.
11283 * io/fxstat64.c: Likewise.
11284 * io/fxstatat.c: Likewise.
11285 * io/fxstatat64.c: Likewise.
11286 * io/getcwd.c: Likewise.
11287 * io/isatty.c: Likewise.
11288 * io/lchmod.c: Likewise.
11289 * io/lchown.c: Likewise.
11290 * io/link.c: Likewise.
11291 * io/linkat.c: Likewise.
11292 * io/lseek.c: Likewise.
11293 * io/lseek64.c: Likewise.
11294 * io/lxstat64.c: Likewise.
11295 * io/mkdir.c: Likewise.
11296 * io/mkdirat.c: Likewise.
11297 * io/mkfifo.c: Likewise.
11298 * io/mkfifoat.c: Likewise.
11299 * io/open.c: Likewise.
11300 * io/open64.c: Likewise.
11301 * io/openat.c: Likewise.
11302 * io/openat64.c: Likewise.
11303 * io/pipe.c: Likewise.
11304 * io/pipe2.c: Likewise.
11305 * io/poll.c: Likewise.
11306 * io/posix_fadvise.c: Likewise.
11307 * io/posix_fadvise64.c: Likewise.
11308 * io/posix_fallocate.c: Likewise.
11309 * io/posix_fallocate64.c: Likewise.
11310 * io/read.c: Likewise.
11311 * io/readlink.c: Likewise.
11312 * io/readlinkat.c: Likewise.
11313 * io/rmdir.c: Likewise.
11314 * io/sendfile.c: Likewise.
11315 * io/sendfile64.c: Likewise.
11316 * io/statfs.c: Likewise.
11317 * io/statfs64.c: Likewise.
11318 * io/statvfs.c: Likewise.
11319 * io/statvfs64.c: Likewise.
11320 * io/symlink.c: Likewise.
11321 * io/symlinkat.c: Likewise.
11322 * io/ttyname.c: Likewise.
11323 * io/ttyname_r.c: Likewise.
11324 * io/umask.c: Likewise.
11325 * io/unlink.c: Likewise.
11326 * io/unlinkat.c: Likewise.
11327 * io/utime.c: Likewise.
11328 * io/utimensat.c: Likewise.
11329 * io/write.c: Likewise.
11330 * io/xmknod.c: Likewise.
11331 * io/xmknodat.c: Likewise.
11332 * io/xstat.c: Likewise.
11333 * io/xstat64.c: Likewise.
11334 * login/getpt.c: Likewise.
11335 * login/grantpt.c: Likewise.
11336 * login/unlockpt.c: Likewise.
11337 * math/e_acoshl.c: Likewise.
11338 * math/e_acosl.c: Likewise.
11339 * math/e_asinl.c: Likewise.
11340 * math/e_atan2l.c: Likewise.
11341 * math/e_atanhl.c: Likewise.
11342 * math/e_coshl.c: Likewise.
11343 * math/e_expl.c: Likewise.
11344 * math/e_fmodl.c: Likewise.
11345 * math/e_gammal_r.c: Likewise.
11346 * math/e_hypotl.c: Likewise.
11347 * math/e_j0l.c: Likewise.
11348 * math/e_j1l.c: Likewise.
11349 * math/e_jnl.c: Likewise.
11350 * math/e_lgammal_r.c: Likewise.
11351 * math/e_log10l.c: Likewise.
11352 * math/e_log2l.c: Likewise.
11353 * math/e_logl.c: Likewise.
11354 * math/e_powl.c: Likewise.
11355 * math/e_rem_pio2l.c: Likewise.
11356 * math/e_sinhl.c: Likewise.
11357 * math/e_sqrtl.c: Likewise.
11358 * math/fclrexcpt.c: Likewise.
11359 * math/fedisblxcpt.c: Likewise.
11360 * math/feenablxcpt.c: Likewise.
11361 * math/fegetenv.c: Likewise.
11362 * math/fegetexcept.c: Likewise.
11363 * math/fegetround.c: Likewise.
11364 * math/feholdexcpt.c: Likewise.
11365 * math/fesetenv.c: Likewise.
11366 * math/fesetround.c: Likewise.
11367 * math/feupdateenv.c: Likewise.
11368 * math/fgetexcptflg.c: Likewise.
11369 * math/fraiseexcpt.c: Likewise.
11370 * math/fsetexcptflg.c: Likewise.
11371 * math/ftestexcept.c: Likewise.
11372 * math/k_cosl.c: Likewise.
11373 * math/k_rem_pio2l.c: Likewise.
11374 * math/k_sinl.c: Likewise.
11375 * math/k_tanl.c: Likewise.
11376 * math/s_asinhl.c: Likewise.
11377 * math/s_atanl.c: Likewise.
11378 * math/s_cbrtl.c: Likewise.
11379 * math/s_erfl.c: Likewise.
11380 * math/s_expm1l.c: Likewise.
11381 * math/s_log1pl.c: Likewise.
11382 * math/s_tanhl.c: Likewise.
11383 * misc/acct.c: Likewise.
11384 * misc/brk.c: Likewise.
11385 * misc/chflags.c: Likewise.
11386 * misc/chroot.c: Likewise.
11387 * misc/fchflags.c: Likewise.
11388 * misc/fgetxattr.c: Likewise.
11389 * misc/flistxattr.c: Likewise.
11390 * misc/fremovexattr.c: Likewise.
11391 * misc/fsetxattr.c: Likewise.
11392 * misc/fsync.c: Likewise.
11393 * misc/ftruncate.c: Likewise.
11394 * misc/futimes.c: Likewise.
11395 * misc/futimesat.c: Likewise.
11396 * misc/getdomain.c: Likewise.
11397 * misc/getdtsz.c: Likewise.
11398 * misc/gethostid.c: Likewise.
11399 * misc/gethostname.c: Likewise.
11400 * misc/getloadavg.c: Likewise.
11401 * misc/getpagesize.c: Likewise.
11402 * misc/getsysstats.c: Likewise.
11403 * misc/getxattr.c: Likewise.
11404 * misc/gtty.c: Likewise.
11405 * misc/ioctl.c: Likewise.
11406 * misc/lgetxattr.c: Likewise.
11407 * misc/listxattr.c: Likewise.
11408 * misc/llistxattr.c: Likewise.
11409 * misc/lremovexattr.c: Likewise.
11410 * misc/lsetxattr.c: Likewise.
11411 * misc/lutimes.c: Likewise.
11412 * misc/madvise.c: Likewise.
11413 * misc/mincore.c: Likewise.
11414 * misc/mlock.c: Likewise.
11415 * misc/mlockall.c: Likewise.
11416 * misc/mmap.c: Likewise.
11417 * misc/mprotect.c: Likewise.
11418 * misc/msync.c: Likewise.
11419 * misc/munlock.c: Likewise.
11420 * misc/munlockall.c: Likewise.
11421 * misc/munmap.c: Likewise.
11422 * misc/preadv.c: Likewise.
11423 * misc/preadv64.c: Likewise.
11424 * misc/ptrace.c: Likewise.
11425 * misc/pwritev.c: Likewise.
11426 * misc/pwritev64.c: Likewise.
11427 * misc/readv.c: Likewise.
11428 * misc/reboot.c: Likewise.
11429 * misc/remap_file_pages.c: Likewise.
11430 * misc/removexattr.c: Likewise.
11431 * misc/revoke.c: Likewise.
11432 * misc/select.c: Likewise.
11433 * misc/setdomain.c: Likewise.
11434 * misc/setegid.c: Likewise.
11435 * misc/seteuid.c: Likewise.
11436 * misc/sethostid.c: Likewise.
11437 * misc/sethostname.c: Likewise.
11438 * misc/setregid.c: Likewise.
11439 * misc/setreuid.c: Likewise.
11440 * misc/setxattr.c: Likewise.
11441 * misc/sstk.c: Likewise.
11442 * misc/stty.c: Likewise.
11443 * misc/swapoff.c: Likewise.
11444 * misc/swapon.c: Likewise.
11445 * misc/sync.c: Likewise.
11446 * misc/syncfs.c: Likewise.
11447 * misc/syscall.c: Likewise.
11448 * misc/truncate.c: Likewise.
11449 * misc/ualarm.c: Likewise.
11450 * misc/usleep.c: Likewise.
11451 * misc/ustat.c: Likewise.
11452 * misc/utimes.c: Likewise.
11453 * misc/vhangup.c: Likewise.
11454 * misc/writev.c: Likewise.
11455 * posix/_exit.c: Likewise.
11456 * posix/alarm.c: Likewise.
11457 * posix/execve.c: Likewise.
11458 * posix/fexecve.c: Likewise.
11459 * posix/fork.c: Likewise.
11460 * posix/fpathconf.c: Likewise.
11461 * posix/getaddrinfo.c: Likewise.
11462 * posix/getegid.c: Likewise.
11463 * posix/geteuid.c: Likewise.
11464 * posix/getgid.c: Likewise.
11465 * posix/getgroups.c: Likewise.
11466 * posix/getlogin.c: Likewise.
11467 * posix/getlogin_r.c: Likewise.
11468 * posix/getpgid.c: Likewise.
11469 * posix/getpid.c: Likewise.
11470 * posix/getppid.c: Likewise.
11471 * posix/getresgid.c: Likewise.
11472 * posix/getresuid.c: Likewise.
11473 * posix/getsid.c: Likewise.
11474 * posix/getuid.c: Likewise.
11475 * posix/glob64.c: Likewise.
11476 * posix/nanosleep.c: Likewise.
11477 * posix/pathconf.c: Likewise.
11478 * posix/pause.c: Likewise.
11479 * posix/posix_madvise.c: Likewise.
11480 * posix/pread.c: Likewise.
11481 * posix/pread64.c: Likewise.
11482 * posix/pwrite.c: Likewise.
11483 * posix/pwrite64.c: Likewise.
11484 * posix/sched_getaffinity.c: Likewise.
11485 * posix/sched_getp.c: Likewise.
11486 * posix/sched_gets.c: Likewise.
11487 * posix/sched_primax.c: Likewise.
11488 * posix/sched_primin.c: Likewise.
11489 * posix/sched_rr_gi.c: Likewise.
11490 * posix/sched_setaffinity.c: Likewise.
11491 * posix/sched_setp.c: Likewise.
11492 * posix/sched_sets.c: Likewise.
11493 * posix/sched_yield.c: Likewise.
11494 * posix/setgid.c: Likewise.
11495 * posix/setlogin.c: Likewise.
11496 * posix/setpgid.c: Likewise.
11497 * posix/setresgid.c: Likewise.
11498 * posix/setresuid.c: Likewise.
11499 * posix/setsid.c: Likewise.
11500 * posix/setuid.c: Likewise.
11501 * posix/sleep.c: Likewise.
11502 * posix/spawni.c: Likewise.
11503 * posix/sysconf.c: Likewise.
11504 * posix/times.c: Likewise.
11505 * posix/wait.c: Likewise.
11506 * posix/wait3.c: Likewise.
11507 * posix/wait4.c: Likewise.
11508 * posix/waitpid.c: Likewise.
11509 * resolv/gai_sigqueue.c: Likewise.
11510 * resource/getpriority.c: Likewise.
11511 * resource/getrlimit.c: Likewise.
11512 * resource/getrusage.c: Likewise.
11513 * resource/nice.c: Likewise.
11514 * resource/setpriority.c: Likewise.
11515 * resource/setrlimit.c: Likewise.
11516 * resource/ulimit.c: Likewise.
11517 * rt/aio_cancel.c: Likewise.
11518 * rt/aio_fsync.c: Likewise.
11519 * rt/aio_read.c: Likewise.
11520 * rt/aio_sigqueue.c: Likewise.
11521 * rt/aio_suspend.c: Likewise.
11522 * rt/aio_write.c: Likewise.
11523 * rt/clock_getres.c: Likewise.
11524 * rt/clock_gettime.c: Likewise.
11525 * rt/clock_nanosleep.c: Likewise.
11526 * rt/clock_settime.c: Likewise.
11527 * rt/lio_listio.c: Likewise.
11528 * rt/mq_close.c: Likewise.
11529 * rt/mq_getattr.c: Likewise.
11530 * rt/mq_notify.c: Likewise.
11531 * rt/mq_open.c: Likewise.
11532 * rt/mq_receive.c: Likewise.
11533 * rt/mq_send.c: Likewise.
11534 * rt/mq_setattr.c: Likewise.
11535 * rt/mq_timedreceive.c: Likewise.
11536 * rt/mq_timedsend.c: Likewise.
11537 * rt/mq_unlink.c: Likewise.
11538 * rt/shm_open.c: Likewise.
11539 * rt/shm_unlink.c: Likewise.
11540 * rt/timer_create.c: Likewise.
11541 * rt/timer_delete.c: Likewise.
11542 * rt/timer_getoverr.c: Likewise.
11543 * rt/timer_gettime.c: Likewise.
11544 * rt/timer_settime.c: Likewise.
11545 * setjmp/__longjmp.c: Likewise.
11546 * setjmp/setjmp.c: Likewise.
11547 * signal/kill.c: Likewise.
11548 * signal/killpg.c: Likewise.
11549 * signal/raise.c: Likewise.
11550 * signal/sigaction.c: Likewise.
11551 * signal/sigaltstack.c: Likewise.
11552 * signal/sigblock.c: Likewise.
11553 * signal/sigignore.c: Likewise.
11554 * signal/sigintr.c: Likewise.
11555 * signal/signal.c: Likewise.
11556 * signal/sigpause.c: Likewise.
11557 * signal/sigpending.c: Likewise.
11558 * signal/sigqueue.c: Likewise.
11559 * signal/sigreturn.c: Likewise.
11560 * signal/sigset.c: Likewise.
11561 * signal/sigsetmask.c: Likewise.
11562 * signal/sigstack.c: Likewise.
11563 * signal/sigsuspend.c: Likewise.
11564 * signal/sigtimedwait.c: Likewise.
11565 * signal/sigvec.c: Likewise.
11566 * signal/sigwait.c: Likewise.
11567 * signal/sigwaitinfo.c: Likewise.
11568 * signal/sysv_signal.c: Likewise.
11569 * socket/accept.c: Likewise.
11570 * socket/accept4.c: Likewise.
11571 * socket/bind.c: Likewise.
11572 * socket/connect.c: Likewise.
11573 * socket/getpeername.c: Likewise.
11574 * socket/getsockname.c: Likewise.
11575 * socket/getsockopt.c: Likewise.
11576 * socket/isfdtype.c: Likewise.
11577 * socket/listen.c: Likewise.
11578 * socket/recv.c: Likewise.
11579 * socket/recvfrom.c: Likewise.
11580 * socket/recvmsg.c: Likewise.
11581 * socket/send.c: Likewise.
11582 * socket/sendmsg.c: Likewise.
11583 * socket/sendto.c: Likewise.
11584 * socket/setsockopt.c: Likewise.
11585 * socket/shutdown.c: Likewise.
11586 * socket/sockatmark.c: Likewise.
11587 * socket/socket.c: Likewise.
11588 * socket/socketpair.c: Likewise.
11589 * stdio-common/ctermid.c: Likewise.
11590 * stdio-common/cuserid.c: Likewise.
11591 * stdio-common/remove.c: Likewise.
11592 * stdio-common/rename.c: Likewise.
11593 * stdio-common/renameat.c: Likewise.
11594 * stdio-common/tempname.c: Likewise.
11595 * stdlib/getcontext.c: Likewise.
11596 * stdlib/makecontext.c: Likewise.
11597 * stdlib/setcontext.c: Likewise.
11598 * stdlib/swapcontext.c: Likewise.
11599 * stdlib/system.c: Likewise.
11600 * streams/fattach.c: Likewise.
11601 * streams/fdetach.c: Likewise.
11602 * streams/getmsg.c: Likewise.
11603 * streams/getpmsg.c: Likewise.
11604 * streams/putmsg.c: Likewise.
11605 * streams/putpmsg.c: Likewise.
11606 * sysdeps/unix/bsd/getpt.c: Likewise.
11607 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11608 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11609 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11611 Likewise.
11612 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11613 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11614 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11615 * sysvipc/msgctl.c: Likewise.
11616 * sysvipc/msgget.c: Likewise.
11617 * sysvipc/msgrcv.c: Likewise.
11618 * sysvipc/msgsnd.c: Likewise.
11619 * sysvipc/semctl.c: Likewise.
11620 * sysvipc/semget.c: Likewise.
11621 * sysvipc/semop.c: Likewise.
11622 * sysvipc/semtimedop.c: Likewise.
11623 * sysvipc/shmat.c: Likewise.
11624 * sysvipc/shmctl.c: Likewise.
11625 * sysvipc/shmdt.c: Likewise.
11626 * sysvipc/shmget.c: Likewise.
11627 * termios/tcdrain.c: Likewise.
11628 * termios/tcflow.c: Likewise.
11629 * termios/tcflush.c: Likewise.
11630 * termios/tcgetattr.c: Likewise.
11631 * termios/tcgetpgrp.c: Likewise.
11632 * termios/tcsendbrk.c: Likewise.
11633 * termios/tcsetattr.c: Likewise.
11634 * termios/tcsetpgrp.c: Likewise.
11635 * time/adjtime.c: Likewise.
11636 * time/clock.c: Likewise.
11637 * time/getitimer.c: Likewise.
11638 * time/gettimeofday.c: Likewise.
11639 * time/setitimer.c: Likewise.
11640 * time/settimeofday.c: Likewise.
11641 * time/stime.c: Likewise.
11642 * time/time.c: Likewise.
11643
11644 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
11645
11646 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11647 /usr/old/bin.
11648
11649 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11650 instead of spaces.
11651 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11652
11653 2012-11-03 Joseph Myers <joseph@codesourcery.com>
11654
11655 [BZ #14796]
11656 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11657 FE_TONEAREST before applying Dekker multiplication and Knuth
11658 addition. Clear inexact exceptions and check for exact zero
11659 results afterwards.
11660 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11661 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11662 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11663 * math/libm-test.inc (fma_test): Add more tests.
11664 (fma_test_towardzero): Likewise.
11665 (fma_test_downward): Likewise.
11666 (fma_test_upward): Likewise.
11667 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11668 function.
11669 (libc_fesetround): New macro.
11670 (libc_fesetroundf): Likewise.
11671 (libc_fesetroundl): Likewise.
11672 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11673 function.
11674 (libc_fesetround_387): Likewise.
11675 (libc_fesetroundf): New macro.
11676 (libc_fesetround): Likewise.
11677 (libc_fesetroundl): Likewise.
11678 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11679 function.
11680 (libc_fesetroundf): New macro.
11681 (libc_fesetround): Likewise.
11682 (libc_fesetroundl): Likewise.
11683 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11684 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11685 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11686 libm_hidden_ver.
11687 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11688 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11689 libm_hidden_def.
11690 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11691 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11692 libm_hidden_ver.
11693 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11694 libm_hidden_def.
11695
11696 [BZ #3439]
11697 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11698 integer constant usable in #if and use that to give value to enum
11699 constant.
11700 (FE_DIVBYZERO): Likewise.
11701 (FE_UNDERFLOW): Likewise.
11702 (FE_OVERFLOW): Likewise.
11703 (FE_INVALID): Likewise.
11704 (FE_INVALID_SNAN): Likewise.
11705 (FE_INVALID_ISI): Likewise.
11706 (FE_INVALID_IDI): Likewise.
11707 (FE_INVALID_ZDZ): Likewise.
11708 (FE_INVALID_IMZ): Likewise.
11709 (FE_INVALID_COMPARE): Likewise.
11710 (FE_INVALID_SOFTWARE): Likewise.
11711 (FE_INVALID_SQRT): Likewise.
11712 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11713 (FE_TONEAREST): Likewise.
11714 (FE_TOWARDZERO): Likewise.
11715 (FE_UPWARD): Likewise.
11716 (FE_DOWNWARD): Likewise.
11717 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11718 (FE_DIVBYZERO): Likewise.
11719 (FE_OVERFLOW): Likewise.
11720 (FE_UNDERFLOW): Likewise.
11721 (FE_INEXACT): Likewise.
11722 (FE_TONEAREST): Likewise.
11723 (FE_DOWNWARD): Likewise.
11724 (FE_UPWARD): Likewise.
11725 (FE_TOWARDZERO): Likewise.
11726 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11727 (FE_UNDERFLOW): Likewise.
11728 (FE_OVERFLOW): Likewise.
11729 (FE_DIVBYZERO): Likewise.
11730 (FE_INVALID): Likewise.
11731 (FE_TONEAREST): Likewise.
11732 (FE_TOWARDZERO): Likewise.
11733 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11734 (FE_OVERFLOW): Likewise.
11735 (FE_UNDERFLOW): Likewise.
11736 (FE_DIVBYZERO): Likewise.
11737 (FE_INEXACT): Likewise.
11738 (FE_TONEAREST): Likewise.
11739 (FE_TOWARDZERO): Likewise.
11740 (FE_UPWARD): Likewise.
11741 (FE_DOWNWARD): Likewise.
11742 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11743 (FE_DIVBYZERO): Likewise.
11744 (FE_OVERFLOW): Likewise.
11745 (FE_UNDERFLOW): Likewise.
11746 (FE_INEXACT): Likewise.
11747 (FE_TONEAREST): Likewise.
11748 (FE_DOWNWARD): Likewise.
11749 (FE_UPWARD): Likewise.
11750 (FE_TOWARDZERO): Likewise.
11751
11752 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11753
11754 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11755
11756 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11757
11758 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11759 commands. Quote $PWD.
11760 (blacklist_exports): Don't use remove_newlines. Replace "declare
11761 -x" by "export".
11762 (remove_newlines): Remove.
11763
11764 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11765
11766 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11767 * stdlib/stdlib.h (atof): Moved to ...
11768 * include/bits/stdlib-float.h: Here. New file.
11769 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11770 * stdlib/bits/stdlib-float.h: New file.
11771 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11772 -mno-sse -mno-mmx.
11773 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11774 <xmmintrin.h>.
11775
11776 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11777
11778 * conform/conformtest.pl (@headers): Add fenv.h.
11779 * conform/data/fenv.h-data: New file.
11780 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11781 include of <math/fenv.h>.
11782
11783 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11784 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11785 && !UNIX98]. Enables tests for XOPEN2K8.
11786 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11787 POSIX2008]: Likewise.
11788
11789 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11790 (struct rusage): Do not expect type or its members.
11791
11792 [BZ #3439]
11793 * math/math.h (FP_NAN): Define macro to integer constant usable in
11794 #if and use that to give value to enum constant.
11795 (FP_INFINITE): Likewise.
11796 (FP_ZERO): Likewise.
11797 (FP_SUBNORMAL): Likewise.
11798 (FP_NORMAL): Likewise.
11799
11800 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11801
11802 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11803 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11804 arguments.
11805
11806 2012-11-02 Roland McGrath <roland@hack.frob.com>
11807
11808 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11809 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11810 autoconf-time if not.
11811 * configure.in: Remove AC_PREREQ.
11812
11813 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11814
11815 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11816 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11817 of the internal implementation.
11818
11819 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11820
11821 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11822 except include of <misc/sys/syslog.h>.
11823
11824 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11825
11826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11827 function returns with a NULL context exit with zero.
11828
11829 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11830
11831 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11832
11833 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11834
11835 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11836 (run_program_cmd): This.
11837 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11838 (tst_langinfo): New variable. Use it.
11839
11840 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11841
11842 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11843 floating point opcodes.
11844
11845 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11846
11847 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11848 variable.
11849
11850 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11851
11852 * sysdeps/mach/hurd/powerpc: Remove directory.
11853 * sysdeps/mach/powerpc: Likewise.
11854
11855 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11856
11857 * scripts/check-local-headers.sh: Ignore c++ headers.
11858
11859 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11860
11861 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11862 __libc_cleanup_region_start argument.
11863
11864 2012-11-01 Joseph Myers <joseph@codesourcery.com>
11865
11866 [BZ #14784]
11867 [BZ #14785]
11868 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11869 x * y using scaling, not as x * y + z.
11870 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11871 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11872 * math/libm-test.inc (fma_test): Add more tests.
11873 (fma_test_towardzero): Likewise.
11874 (fma_test_downward): Likewise.
11875 (fma_test_upward): Likewise.
11876
11877 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11878
11879 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11880
11881 2012-10-31 Joseph Myers <joseph@codesourcery.com>
11882
11883 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11884 New variable.
11885
11886 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11887
11888 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11889
11890 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11891
11892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11893 Fix sort order.
11894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11895 Likewise.
11896
11897 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11898
11899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11900 Fix the order of the list for glibc 2.17.
11901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11902 Likewise.
11903
11904 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11905
11906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11907
11908 2012-10-31 Joseph Myers <joseph@codesourcery.com>
11909
11910 [BZ #14610]
11911 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11912 for low part of x being zero before using __atanl (y).
11913 * math/libm-test.inc (atan2_test): Add another test.
11914
11915 * manual/install.texi (Configuring and compiling): Document
11916 general use of test-wrapper and test-wrapper-env.
11917 * INSTALL: Regenerated.
11918
11919 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11920 (__fma): Do not extract and scale down low bits on after-rounding
11921 systems when result rounded to normal precision would have normal
11922 exponent.
11923 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11924 (__fmal): Do not extract and scale down low bits on after-rounding
11925 systems when result rounded to normal precision would have normal
11926 exponent.
11927 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11928 (__fmal): Do not extract and scale down low bits on after-rounding
11929 systems when result rounded to normal precision would have normal
11930 exponent.
11931 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11932 macro.
11933 (fma_test): Add more tests.
11934 (fma_test_towardzero): Likewise.
11935 (fma_test_downward): Likewise.
11936 (fma_test_upward): Likewise.
11937
11938 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11939
11940 * sysdeps/i386/tininess.h: Renamed to ...
11941 * sysdeps/x86/tininess.h: This.
11942 * sysdeps/x86_64/tininess.h: Removed.
11943
11944 2012-10-30 Joseph Myers <joseph@codesourcery.com>
11945
11946 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11947 input. Use $(build-program-cmd).
11948 ($(objpfx)tst-array1-static.out): Likewise.
11949 ($(objpfx)tst-array2.out): Likewise.
11950 ($(objpfx)tst-array3.out): Likewise.
11951 ($(objpfx)tst-array4.out): Likewise.
11952 ($(objpfx)tst-array5.out): Likewise.
11953 ($(objpfx)tst-array5-static.out): Likewise.
11954
11955 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11956
11957 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11958 if defined.
11959
11960 * nss/nsswitch.h (nss_interface_function): Provide new
11961 macro for use with NSS functions.
11962 * grp/initgroups.c: Use new macro.
11963 * nss/getXXbyYY.c: Likewise.
11964 * nss/getXXbyYY_r.c: Likewise.
11965 * nss/getXXent.c: Likewise.
11966 * nss/getXXent_r.c: Likewise.
11967 * sysdeps/posix/getaddrinfo.c: Likewise.
11968
11969 2012-10-30 Andreas Jaeger <aj@suse.de>
11970
11971 * po/ru.po: Update Russion translation from translation project.
11972
11973 2012-10-30 Joseph Myers <joseph@codesourcery.com>
11974
11975 [BZ #14152]
11976 [BZ #14783]
11977 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11978 result and shift together with sticky bit instead of replicating
11979 round-to-nearest rounding.
11980 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11981 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11982 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11983 missing underflow exceptions.
11984 (fma_test_towardzero): Add more tests.
11985 (fma_test_downward): Likewise.
11986 (fma_test_upward): Likewise.
11987
11988 [BZ #14047]
11989 * sysdeps/generic/tininess.h: New file.
11990 * sysdeps/i386/tininess.h: Likewise.
11991 * sysdeps/sh/tininess.h: Likewise.
11992 * sysdeps/x86_64/tininess.h: Likewise.
11993 * stdlib/tst-strtod-underflow.c: Likewise.
11994 * stdlib/tst-tininess.c: Likewise.
11995 * stdlib/strtod_l.c: Include <tininess.h>.
11996 (round_and_return): Do not set errno for exact underflow cases.
11997 Force an underflow exception when setting errno for underflow.
11998 Determine underflow based on rounding to normal precision if
11999 TININESS_AFTER_ROUNDING.
12000 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12001 ERANGE for exact underflow cases.
12002 * stdlib/Makefile (tests): Add tst-tininess and
12003 tst-strtod-underflow.
12004 ($(objpfx)tst-tininess): Use $(link-libm).
12005 ($(objpfx)tst-strtod-underflow): Likewise.
12006
12007 2012-10-30 Andreas Jaeger <aj@suse.de>
12008
12009 [BZ#14767]
12010 * elf/Makefile (tests): Remove conditional for have-initfini-array
12011 since this is now always required and the variable does not exist
12012 anymore.
12013 (tests-static): Likewise.
12014 (modules-names): Likewise.
12015
12016 * po/eo.po: Add Esperanto translation from translation project.
12017
12018 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12019 merged with constructor/destructor.
12020 (init_array): Likewise.
12021 * elf/tst-array2dep.c (fini_array): Likewise.
12022 (init_array): Likewise.
12023
12024 2012-10-29 Mike Frysinger <vapier@gentoo.org>
12025
12026 * manual/message.texi: Delete @cartouche tags.
12027
12028 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12029
12030 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12031 EOPNOTSUPP.
12032 * sysdeps/mach/hurd/fsync.c: Likewise.
12033
12034 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12035 [_POSIX_REALTIME_SIGNALS]: Change condition to
12036 [_POSIX_REALTIME_SIGNALS > 0].
12037
12038 2012-10-27 Andreas Jaeger <aj@suse.de>
12039
12040 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12041 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12042 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12043 [__WORDSIZE != 64]: Likewise.
12044
12045 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12046
12047 * iconvdata/tst-table.sh: Remove ${SHELL}.
12048 * iconvdata/tst-tables.sh: Likewise.
12049
12050 2012-10-25 David S. Miller <davem@davemloft.net>
12051
12052 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12053 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12054 of strtoull.
12055
12056 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12057 ifunc-impl-list.c
12058 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12059 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12060 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12061 file.
12062
12063 2012-10-25 Roland McGrath <roland@hack.frob.com>
12064
12065 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12066 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12067 __getdirentries.
12068
12069 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12070 Jim Blandy <jimb@codesourcery.com>
12071
12072 * scripts/cross-test-ssh.sh: New file.
12073 * manual/install.texi (Configuring and compiling): Document use of
12074 cross-test-ssh.sh.
12075 * INSTALL: Regenerated.
12076
12077 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12078
12079 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12080 EOPNOTSUPP.
12081
12082 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12083
12084 * Makeconfig (run-program-prefix): Fix comment.
12085
12086 2012-10-24 Joseph Myers <joseph@codesourcery.com>
12087 Jim Blandy <jimb@codesourcery.com>
12088
12089 * Makeconfig (test-wrapper): New variable,
12090 (test-wrapper-env): Likewise.
12091 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12092 (run-built-tests): Define to yes.
12093 (run-program-prefix): Use $(test-wrapper).
12094 (built-program-cmd): Likewise.
12095 * Rules (make-test-out): Use $(test-wrapper-env) and
12096 $(host-built-program-cmd).
12097 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12098 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12099 tst-pathopt.sh.
12100 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12101 $(test-wrapper-env) to tst-rtld-load-self.sh.
12102 ($(objpfx)order2.out): Use $(test-wrapper).
12103 ($(objpfx)tst-initorder.out): Likewise.
12104 ($(objpfx)tst-initorder2.out): Likewise.
12105 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12106 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12107 (test_wrapper_env): New variable. Use it to run ld.so.
12108 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12109 Use it to run ld.so.
12110 (test_wrapper_env): Likewise.
12111 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12112 $(test-wrapper) to run-iconv-test.sh.
12113 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12114 (ICONV): Use $test_wrapper.
12115 * posix/Makefile ($(objpfx)globtest.out): Pass
12116 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12117 globtest.sh, not $(run-program-prefix).
12118 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12119 (test_wrapper): Likewise.
12120 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12121 set together with run_via_rtld_prefix.
12122 (run_program_prefix): Define in terms of test_wrapper and
12123 run_via_rtld_prefix.
12124
12125 2012-10-24 Roland McGrath <roland@hack.frob.com>
12126
12127 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12128 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12129 Targets removed.
12130
12131 [BZ #14743]
12132 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12133 Declare __clock_getres, __clock_gettime, __clock_settime,
12134 __clock_nanosleep, and __clock_getcpuclockid.
12135 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12136 Remove librt_hidden_def (clock_gettime).
12137 * sysdeps/unix/clock_gettime.c: Likewise.
12138 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12139 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12140 * rt/clock_getres.c: Define __clock_getres as an alias.
12141 * sysdeps/posix/clock_getres.c: Likewise.
12142 * rt/clock_settime.c: Define __clock_settime as an alias.
12143 * sysdeps/unix/clock_settime.c: Likewise.
12144 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12145 * sysdeps/unix/clock_nanosleep.c: Likewise.
12146 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12147 * rt/clock-compat.c: New file.
12148 * rt/Makefile (librt-routines): Add clock-compat and move
12149 $(clock-routines) to ...
12150 (routines): ... here, new variable.
12151 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12152 Don't add get_clockfreq here.
12153 * rt/Versions (libc: GLIBC_2.17): New version set.
12154 Add clock_* symbols here.
12155 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12156 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12157 (GLIBC_2.17): Add clock_* symbols.
12158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12160 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12162 Likewise.
12163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12164 Likewise.
12165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12169 * NEWS: Mention the move.
12170
12171 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12172 Use __open, __read, __close rather than their public counterparts.
12173 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12174 (__get_clockfreq_via_cpuinfo): Likewise.
12175 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12176 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12177
12178 * config.h.in (HAVE_IFUNC): New #undef.
12179 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12180 was successful.
12181 * configure: Regenerated.
12182
12183 2012-10-24 Mike Frysinger <vapier@gentoo.org>
12184
12185 * configure.in: Move READELF check to start of file.
12186 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12187 libc_cv_asm_gnu_indirect_function in the process.
12188 * configure: Regenerated.
12189
12190 2012-10-24 Mike Frysinger <vapier@gentoo.org>
12191
12192 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12193 send the output to /dev/null.
12194 (libc_cv_cc_with_libunwind): Likewise.
12195 (libc_cv_as_noexecstack): Likewise.
12196 * configure: Regenerate.
12197
12198 2012-10-24 Joseph Myers <joseph@codesourcery.com>
12199
12200 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12201
12202 * posix/globtest.sh (TMPDIR): Do not set.
12203 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12204 (testout): Likewise.
12205
12206 2012-10-24 Andreas Jaeger <aj@suse.de>
12207
12208 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12209 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12210 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12211 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12212 posix_fadvise64, posix_fallocate64.
12213
12214 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12215 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12216 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12217 Likewise.
12218 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12219 Likewise.
12220 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12221
12222 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12223 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12224 <bits/fcntl-linux.h>.
12225 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12226
12227 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12228 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12229 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12230 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12231 [__WORDSIZE != 64]: Likewise.
12232
12233 2012-10-23 Joseph Myers <joseph@codesourcery.com>
12234
12235 * Makeconfig (run-built-tests): New variable.
12236 * Rules [$(cross-compiling) = yes]: Change condition to
12237 [$(run-built-tests) = no].
12238 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12239 to [$(run-built-tests) = yes].
12240 * elf/Makefile [$(cross-compiling) = no]: Likewise
12241 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12242 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12243 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12244 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12245 * io/Makefile [$(cross-compiling) = no]: Likewise.
12246 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12247 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12248 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12249 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12250 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12251 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12252 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12253 * string/Makefile [$(cross-compiling) = no]: Likewise.
12254
12255 * posix/Makefile ($(objpfx)globtest.out): Pass
12256 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12257 $(rtld-installed-name).
12258 * posix/globtest.sh (elf_objpfx): Remove variable.
12259 (rtld_installed_name): Likewise.
12260 (library_path): Likewise.
12261 (run_program_prefix): New variable. Use for running globtest
12262 binary.
12263
12264 2012-10-23 Jim Blandy <jimb@codesourcery.com>
12265 Joseph Myers <joseph@codesourcery.com>
12266
12267 * Makeconfig (host-built-program-cmd): New variable.
12268 * elf/Makefile (tst-stackguard1-ARGS): Use
12269 $(host-built-program-cmd).
12270 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12271 (tst-spawn-ARGS): Likewise.
12272 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12273
12274 2012-10-23 Joseph Myers <joseph@codesourcery.com>
12275 Jim Blandy <jimb@codesourcery.com>
12276
12277 * Makeconfig (run-via-rtld-prefix): New variable.
12278 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12279 (built-program-cmd): Likewise.
12280
12281 2012-10-22 Andreas Jaeger <aj@suse.de>
12282
12283 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12284 __O_RSYNC if it exists, otherwise to O_SYNC.
12285
12286 2012-10-22 Jim Blandy <jimb@codesourcery.com>
12287 Joseph Myers <joseph@codesourcery.com>
12288
12289 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12290 /dev/null.
12291 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12292 from /dev/null
12293 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12294 /dev/null.
12295
12296 2012-10-22 Andreas Jaeger <aj@suse.de>
12297
12298 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12299 Define always.
12300 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12301
12302 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12303 bits/fcntl-linux.h.
12304
12305 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12306 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12307
12308 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12309 to __O_LARGEFILE.
12310 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12311 to __O_LARGEFILE.
12312
12313 2012-10-21 Jim Blandy <jimb@codesourcery.com>
12314 Joseph Myers <joseph@codesourcery.com>
12315
12316 * config.make.in (NM): New variable.
12317
12318 2012-10-21 Andreas Jaeger <aj@suse.de>
12319
12320 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12321 definitions and declarations that are provided by
12322 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12323
12324 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12325
12326 [BZ #14683]
12327 * elf/Makefile (tests-static): Add tst-leaks1-static.
12328 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12329 ($(objpfx)tst-leaks1-static): New rule.
12330 ($(objpfx)tst-leaks1-static-mem): Likewise.
12331 (tst-leaks1-static-ENV): New macro.
12332 * elf/dl-open.c (dl_open_worker): Check the main application
12333 only if SHARED is defined.
12334 * elf/tst-leaks1-static.c: New file.
12335
12336 2012-10-20 Andreas Jaeger <aj@suse.de>
12337
12338 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12339 generic values for Linux.
12340 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12341 and declarations that are provided by <bits/fcntl-linux.h> and
12342 include <bits/fcntl-linux.h>.
12343 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12344 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12345
12346 2012-10-20 Roland McGrath <roland@hack.frob.com>
12347
12348 * io/fcntl.h: Move include of <bits/types.h> to the top and
12349 include it unconditionally.
12350
12351 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12352
12353 * wcsmbs/Makefile (tests-ifunc): New variable.
12354 (tests): Add $(tests-ifunc).
12355 * wcsmbs/test-wcschr-ifunc.c: New file.
12356 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12357 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12358 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12359 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12360 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12361
12362 * string/Makefile (tests-ifunc): New variable.
12363 (tests): Add $(tests-ifunc).
12364 * string/test-memccpy.c (TEST_NAME): New macro.
12365 * string/test-memchr.c (TEST_NAME): Likewise.
12366 * string/test-memcmp.c (TEST_NAME): Likewise.
12367 * string/test-memcpy.c (TEST_NAME): Likewise.
12368 * string/test-memmem.c (TEST_NAME): Likewise.
12369 * string/test-memmove.c (TEST_NAME): Likewise.
12370 * string/test-memset.c (TEST_NAME): Likewise.
12371 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12372 * string/test-stpcpy.c (TEST_NAME): Likewise.
12373 * string/test-stpncpy.c (TEST_NAME): Likewise.
12374 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12375 * string/test-strcasestr.c (TEST_NAME): Likewise.
12376 * string/test-strcat.c (TEST_NAME): Likewise.
12377 * string/test-strchr.c (TEST_NAME): Likewise.
12378 * string/test-strcmp.c(TEST_NAME): Likewise.
12379 * string/test-strcpy.c (TEST_NAME): Likewise.
12380 * string/test-strcspn.c (TEST_NAME): Likewise.
12381 * string/test-strlen.c (TEST_NAME): Likewise.
12382 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12383 * string/test-strncmp.c (TEST_NAME): Likewise.
12384 * string/test-strncpy.c (TEST_NAME): Likewise.
12385 * string/test-strnlen.c (TEST_NAME): Likewise.
12386 * string/test-strpbrk.c (TEST_NAME): Likewise.
12387 * string/test-strrchr.c (TEST_NAME): Likewise.
12388 * string/test-strspn.c (TEST_NAME): Likewise.
12389 * string/test-strstr.c (TEST_NAME): Likewise.
12390 * string/test-bcopy-ifunc.c: New file.
12391 * string/test-bzero-ifunc.c: Likewise.
12392 * string/test-memccpy-ifunc.c: Likewise.
12393 * string/test-memchr-ifunc.c: Likewise.
12394 * string/test-memcmp-ifunc.c: Likewise.
12395 * string/test-memcpy-ifunc.c: Likewise.
12396 * string/test-memmem-ifunc.c: Likewise.
12397 * string/test-memmove-ifunc.c: Likewise.
12398 * string/test-mempcpy-ifunc.c: Likewise.
12399 * string/test-memset-ifunc.c: Likewise.
12400 * string/test-rawmemchr-ifunc.c: Likewise.
12401 * string/test-stpcpy-ifunc.c: Likewise.
12402 * string/test-stpncpy-ifunc.c: Likewise.
12403 * string/test-strcasecmp-ifunc.c: Likewise.
12404 * string/test-strcasestr-ifunc.c: Likewise.
12405 * string/test-strcat-ifunc.c: Likewise.
12406 * string/test-strchr-ifunc.c: Likewise.
12407 * string/test-strchrnul-ifunc.c: Likewise.
12408 * string/test-strcmp-ifunc.c: Likewise.
12409 * string/test-strcpy-ifunc.c: Likewise.
12410 * string/test-strcspn-ifunc.c: Likewise.
12411 * string/test-strlen-ifunc.c: Likewise.
12412 * string/test-strncasecmp-ifunc.c: Likewise.
12413 * string/test-strncat-ifunc.c: Likewise.
12414 * string/test-strncmp-ifunc.c: Likewise.
12415 * string/test-strncpy-ifunc.c: Likewise.
12416 * string/test-strnlen-ifunc.c: Likewise.
12417 * string/test-strpbrk-ifunc.c: Likewise.
12418 * string/test-strrchr-ifunc.c: Likewise.
12419 * string/test-strspn-ifunc.c: Likewise.
12420 * string/test-strstr-ifunc.c: Likewise.
12421
12422 * debug/Makefile (tests-ifunc): New variable.
12423 (tests): Add $(tests-ifunc).
12424 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12425 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12426 * debug/test-stpcpy_chk-ifunc.c: New file.
12427 * debug/test-strcpy_chk-ifunc.c: Likewise.
12428
12429 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12430
12431 [BZ #13601]
12432 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12433 header is not read in.
12434
12435 2012-10-19 Joseph Myers <joseph@codesourcery.com>
12436
12437 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12438 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12439 directly. Pass built executable to script as
12440 $(built-program-cmd).
12441 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12442 $testprogram without using LD_LIBRARY_PATH and $ldso.
12443
12444 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12445 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12446 $(rtld-installed-name).
12447 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12448 (rtld_installed_name): Likewise.
12449 (library_path): Likewise.
12450 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12451 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12452 $(run-program-prefix) to tst-tables.sh.
12453 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12454 it to run tst-table-from and tst-table-to.
12455 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12456 Pass it to tst-table.sh.
12457 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12458 $(run-program-prefix) to tst-gettext.sh.
12459 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12460 tst-translit.sh.
12461 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12462 tst-gettext2.sh.
12463 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12464 to run tst-gettext.
12465 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12466 to run tst-gettext2.
12467 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12468 to run tst-translit.
12469 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12470 $(run-program-prefix) to tst-mtrace.sh.
12471 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12472 to run tst-mtrace.
12473 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12474 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12475 $(rtld-installed-name).
12476 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12477 (rtld_installed_name): Likewise.
12478 (run_program_prefix): New variable. Use it to run wordexp-test.
12479
12480 * Makeconfig (ARCH): Remove all definitions.
12481 (machine): Likewise.
12482 [ARCH]: Remove conditional code.
12483 [!objdir]: Give error.
12484 [!objdir] (objpfx): Remove.
12485 [!objdir] (common-objpfx): Likewise.
12486 [!objdir] (common-objdir): Likewise.
12487 * configure.in (config_makefile): Remove. Hardcode Makefile in
12488 AC_CONFIG_FILES call.
12489 * configure: Regenerated.
12490
12491 [BZ #13888]
12492 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12493 or TMPDIR.
12494 (testout): Likewise.
12495
12496 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12497 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12498 $(rtld-installed-name).
12499 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12500 (rtld_installed_name): Likwise.
12501 (runit): Remove function.
12502 (run_getconf): New variable, Use it for running getconf binary.
12503
12504 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12505
12506 [BZ #14716]
12507 * string/test-memmem.c (check_result): New function.
12508 (do_one_test): Use it.
12509 (check1): New function.
12510 (test_main): Use it.
12511
12512 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12513
12514 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12515
12516 2012-10-18 Joseph Myers <joseph@codesourcery.com>
12517
12518 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12519 (_G_LSEEK64): Likewise.
12520 (_G_MMAP64): Likewise.
12521 (_G_FSTAT64): Likewise.
12522 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12523 (_G_LSEEK64): Likewise.
12524 (_G_MMAP64): Likewise.
12525 (_G_FSTAT64): Likewise.
12526 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12527 unconditional. Call __mmap64 directly.
12528 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12529 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12530 __lseek64 directly.
12531 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12532 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12533 __mmap64 directly.
12534 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12535 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12536 __lseek64 directly.
12537 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12538 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12539 __lseek64 directly.
12540 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12541 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12542 __lseek64 directly.
12543 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12544 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12545 __fxstat64 directly.
12546 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12547 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12548 unconditional.
12549 (freopen64) [!_G_OPEN64]: Remove conditional code.
12550 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12551 unconditional.
12552 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12553 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12554 unconditional.
12555 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12556 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12557 unconditional.
12558 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12559 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12560 unconditional.
12561 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12562 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12563 unconditional.
12564 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12565 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12566 unconditional.
12567 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12568 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12569 unconditional.
12570 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12571
12572 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12573
12574 [BZ #12140]
12575 * manual/memory.texi (Malloc Tunable Parameters): Add note
12576 about free list pointers overwriting some perturb bytes.
12577 Wording suggested by Roland McGrath.
12578
12579 2012-10-17 Joseph Myers <joseph@codesourcery.com>
12580
12581 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12582 (lgamma_test): Likewise.
12583 (tgamma_test): Likewise.
12584
12585 2012-10-16 Florian Weimer <fweimer@redhat.com>
12586
12587 [BZ #14700]
12588 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12589 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12590
12591 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12592
12593 * NEWS: Mention BZ #14716.
12594 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12595 when removing AVAILABLE1_USES_J macro.
12596
12597 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12598
12599 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12600 (__bswap_64): __uint64_t for unsigned 64-bit int.
12601
12602 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12603
12604 * include/string.h (memmem): Declare libc hidden alias.
12605 * string/memmem.c (memmem): Define libc hidden alias.
12606 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12607 __read, __close instead of open, read, close.
12608
12609 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12610
12611 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12612 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12613 global and hidden.
12614 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12615 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12616 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12617 Likewise.
12618 (__rawmemchr_sse2): Likewise.
12619 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12620 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12621 (__strchr_sse2): Likewise.
12622 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12623 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12624 (__strcasecmp_sse2): Likewise.
12625 (__strncasecmp_sse2): Likewise.
12626 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12627 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12628 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12629 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12630 (__strrchr_sse2): Likewise.
12631 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12632 ifunc-impl-list.c.
12633 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12634 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12635 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12636 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12637 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12638 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12639 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12640 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12641 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12642 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12643 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12644 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12645 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12646 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12647 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12648 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12649 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12650 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12651 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12652 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12653 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12654 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12655 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12656 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12657 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12658 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12659 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12660 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12661 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12662 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12663
12664 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12665 global and hidden.
12666 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12667 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12668 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12669 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12670 Likewise.
12671 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12672 Likewise.
12673 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12674 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12675 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12676 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12677 ifunc-impl-list.c.
12678 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12679 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12680 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12681 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12682 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12683 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12684 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12685 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12686 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12687 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12688 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12689 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12690 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12691 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12692 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12693 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12694 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12695 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12696 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12697 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12698 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12699 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12700 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12701 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12702 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12703 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12704 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12705 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12706 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12707 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12708 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12709 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12710 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12711 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12712 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12713 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12714 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12715 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12716 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12717 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12718 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12719
12720 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12721 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12722 * include/ifunc-impl-list.h: New file.
12723 * misc/ifunc-impl-list.c: Likewise.
12724 * misc/Makefile (routines): Add ifunc-impl-list.
12725 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12726 * string/test-string.h: Include <ifunc-impl-list.h>.
12727 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12728 impl_array): New variables.
12729 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12730 are defined.
12731 (test_init): Call __libc_ifunc_impl_list to initialize
12732 func_list if TEST_IFUNC and TEST_NAME are defined.
12733
12734 * string/Makefile (strop-tests): Add bcopy and bzero.
12735 * string/test-bcopy.c: New file.
12736 * string/test-bzero.c: Likewise.
12737 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12738 defined.
12739 * string/test-memset.c: Support bzero test if TEST_BZERO is
12740 defined.
12741 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12742 __libc_memmove.
12743 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12744 __libc_memset.
12745 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12746 of memset.
12747
12748 2012-10-10 Joseph Myers <joseph@codesourcery.com>
12749
12750 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12751 * configure: Regenerated.
12752
12753 * Makeconfig (+link-static-before-libc): Don't include
12754 $(link-static-libc).
12755
12756 * libio/libio.h (_IO_pos_t): Remove.
12757
12758 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12759
12760 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12761 McGrath.
12762
12763 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12764
12765 * crypt/crypt-entry.c: Include fips-private.h.
12766 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12767 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12768 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12769 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12770
12771 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12772
12773 * crypt/crypt-private.h: Include stdbool.h.
12774 (_ufc_setup_salt_r): Return bool.
12775 * crypt/crypt-entry.c: Include errno.h.
12776 (__crypt_r): Return NULL with EINVAL for bad salt.
12777 * crypt/crypt_util.c (bad_for_salt): New.
12778 (_ufc_setup_salt_r): Check that salt is long enough and within
12779 the specified alphabet.
12780 * crypt/badsalttest.c: New file.
12781 * crypt/Makefile (tests): Add it.
12782 ($(objpfx)badsalttest): New.
12783
12784 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12785
12786 * NEWS: Add entry for BZ #14602.
12787
12788 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12789
12790 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12791 type-generic.
12792 * math/libm-test.inc: Update comment listing what functions and
12793 macros are tested.
12794 (isgreater_test): New function.
12795 (isgreaterequal_test): Likewise.
12796 (isless_test): Likewise.
12797 (islessequal_test): Likewise.
12798 (islessgreater_test): Likewise.
12799 (isunordered_test): Likewise.
12800 (main): Call the new functions.
12801
12802 2012-10-09 Roland McGrath <roland@hack.frob.com>
12803
12804 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12805 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12806 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12807 * sysdeps/i386/configure: Regenerated.
12808 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12809 * sysdeps/mach/configure: Regenerated.
12810 * sysdeps/mach/hurd/configure: Regenerated.
12811 * sysdeps/powerpc/configure: Regenerated.
12812 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12813 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12814 * sysdeps/s390/s390-32/configure: Regenerated.
12815 * sysdeps/s390/s390-64/configure: Regenerated.
12816 * sysdeps/sh/configure: Regenerated.
12817 * sysdeps/sparc/configure: Regenerated.
12818 * sysdeps/unix/sysv/linux/configure: Regenerated.
12819 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12820 * sysdeps/x86_64/configure: Regenerated.
12821
12822 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12823 defined. Don't check if MAP is NULL.
12824
12825 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12826
12827 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12828 (_G_stat64): Likewise.
12829 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12830 (_G_stat64): Likewise.
12831 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12832 instead of struct _G_stat64.
12833 * libio/fileops.c (mmap_remap_check): Likewise.
12834 (decide_maybe_mmap): Likewise.
12835 (_IO_new_file_seekoff): Likewise.
12836 (_IO_file_stat): Likewise.
12837 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12838 _G_off64_t.
12839 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12840 instead of struct _G_stat64.
12841 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12842
12843 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12844
12845 [BZ #14602]
12846 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12847 Replace with ...
12848 (CHECK_EOL): New macro.
12849 (two_way_short_needle): Check beginning of haystack for EOL. Use
12850 CHECK_EOL.
12851 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12852 Replace with CHECK_EOL.
12853 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12854 Replace with CHECK_EOL.
12855
12856 2012-10-08 Joseph Myers <joseph@codesourcery.com>
12857
12858 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12859 type-generic.
12860 * math/libm-test.inc: Update comment listing what functions and
12861 macros are tested.
12862 (finite_test): New function.
12863 (isinf_test): Likewise.
12864 (isnan_test): Likewise.
12865 (fpclassify_test): Test subnormal input.
12866 (isfinite_test): Likewise.
12867 (isnormal_test): Likewise.
12868 (main): Call the new functions.
12869
12870 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12871
12872 [BZ #14660]
12873 * Makerules (%.dynsym): Force C locale when running
12874 $(OBJDUMP) --dynamic-syms.
12875
12876 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12877
12878 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12879 <stdint.h>.
12880
12881 2012-10-06 David S. Miller <davem@davemloft.net>
12882
12883 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12884 upper 32-bits of the length value in %o2 since we use branch-on-register
12885 tests which consider the entire 64-bit register.
12886
12887 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12888
12889 * string/test-strstr.c (check2): Add a test for page boundary.
12890
12891 2012-10-05 David S. Miller <davem@davemloft.net>
12892
12893 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12894 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12895 file.
12896 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12897 sysdep_routines.
12898 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12899 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12900 and bzero when HWCAP_SPARC_CRYPTO is present.
12901
12902 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12903
12904 [BZ #14602]
12905 * string/test-strstr.c (check2): New function.
12906 (test_main): Call check2.
12907
12908 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12909 and bug-strchr1.
12910 * string/bug-strcasestr1.c (do_test): Moved to ...
12911 * string/test-strcasestr.c (check1): Here. New function.
12912 (do_one_test): Break out result checking code into ...
12913 (check_result): This. New function.
12914 (do_one_test): Call check_result.
12915 (test_main): Call check1.
12916 * string/bug-strchr1.c (do_test): Moved to ...
12917 * string/test-strchr.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-strstr1.c (main): Moved to ...
12923 * string/test-strstr.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-strcasestr1.c: Removed.
12929 * string/bug-strchr1.c: Likewise.
12930 * string/bug-strstr1.c: Likewise.
12931
12932 * elf/Makefile (dl-routines): Add hwcaps.
12933 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12934 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12935 (_dl_important_hwcaps): Moved to ...
12936 * elf/dl-hwcaps.c: Here. New file.
12937 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12938
12939 [BZ #14557]
12940 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12941 if IS_IN_rtld isn't defined.
12942
12943 * elf/dl-support.c (_dl_sysinfo_map): New.
12944 Include "get-dynamic-info.h" and "setup-vdso.h".
12945 (_dl_non_dynamic_init): Call setup_vdso.
12946 * elf/dynamic-link.h: Don't include <assert.h>.
12947 (elf_get_dynamic_info): Moved to ...
12948 * elf/get-dynamic-info.h: Here. New file.
12949 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12950 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12951 * elf/setup-vdso.h: Here. New file.
12952 * elf/rtld.c: Include "setup-vdso.h".
12953 (dl_main): Call setup_vdso.
12954
12955 2012-10-05 Joseph Myers <joseph@codesourcery.com>
12956
12957 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12958 creal in comment listing functions tested. List finite, isinf,
12959 isnan, isless, islessequal, isgreater, isgreaterequal,
12960 islessgreater, isunordered, lgamma_r and pow10 as functions and
12961 macros not tested. Mention which functions not tested are aliases
12962 for other functions. Fix typo. Note that signs of NaNs are not
12963 tested.
12964
12965 * scripts/config.guess: Update from config.git.
12966 * scripts/config.sub: Likewise.
12967
12968 2012-10-04 Roland McGrath <roland@hack.frob.com>
12969
12970 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12971 * misc/madvise.c (madvise): Renamed to __madvise.
12972 Make madvise a weak alias.
12973 * include/sys/mman.h: Declare __madvise.
12974 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12975 * sysdeps/unix/syscalls.list
12976 (madvise): Make __madvise the strong name, and madvise a weak alias.
12977 * sysdeps/unix/sysv/linux/syscalls.list
12978 (madvise, mmap): Remove redundant entries.
12979 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12980 * malloc/malloc.c (mtrim): Likewise.
12981 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12982
12983 2012-10-03 Roland McGrath <roland@hack.frob.com>
12984
12985 * sysdeps/mach/hurd/dl-cache.c: File removed.
12986 * config.h.in (USE_LDCONFIG): New #undef.
12987 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12988 * configure: Regenerated.
12989 * elf/Makefile (dl-routines): Add dl-cache only under
12990 [$(use-ldconfig) = yes].
12991 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12992 cache on [USE_LDCONFIG].
12993 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12994 [USE_LDCONFIG].
12995 * elf/rtld.c (dl_main): Likewise.
12996
12997 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12998
12999 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13000 _SC_LEVEL4_CACHE_LINESIZE.
13001
13002 2012-10-03 Roland McGrath <roland@hack.frob.com>
13003
13004 * sysdeps/unix/bsd/confstr.h: File removed.
13005
13006 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
13007
13008 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13009 sys/sdt-config.h.
13010
13011 2012-10-02 Roland McGrath <roland@hack.frob.com>
13012
13013 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13014 Make 'mapoff' field ElfW(Off) rather than off_t.
13015
13016 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13017
13018 * nscd/Makefile: Remove nscd-cflags and all its users.
13019 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13020 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13021
13022 [BZ #10631]
13023 * malloc.c (malloc_printerr): Clarify error message.
13024
13025 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13026
13027 [BZ #14648]
13028 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13029 Set bit_FMA_Usable if FMA is supported.
13030 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13031 macro.
13032 (bit_FMA4_Usable): Updated.
13033 (index_FMA_Usable): New macro.
13034 (CPUID_FMA): Likewise
13035 (HAS_FMA): Defined with bit_FMA_Usable.
13036
13037 2012-10-01 Roland McGrath <roland@hack.frob.com>
13038
13039 * bits/types.h (__swblk_t): Type removed.
13040 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13041 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13042 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13043 (__SWBLK_T_TYPE): Likewise.
13044 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13045 (__SWBLK_T_TYPE): Likewise.
13046 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13047 (__SWBLK_T_TYPE): Likewise.
13048 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13049 (__SWBLK_T_TYPE): Likewise.
13050
13051 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
13052 Honza Horak <hhorak@redhat.com>
13053
13054 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13055 (xdr_mapname): Use YPMAXMAP as maxsize.
13056 (xdr_peername): Use YPMAXPEER as maxsize.
13057 (xdr_keydat): Use YPAXRECORD as maxsize.
13058 (xdr_valdat): Use YPMAXRECORD as maxsize.
13059
13060 2012-10-01 Roland McGrath <roland@hack.frob.com>
13061
13062 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13063
13064 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13065 * csu/init-first.c: ... here.
13066 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13067 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13068 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13069 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13070 * sysdeps/i386/init-first.c: File removed.
13071 * sysdeps/sh/init-first.c: File removed.
13072
13073 2012-10-01 Joseph Myers <joseph@codesourcery.com>
13074
13075 [BZ #14645]
13076 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13077 if x * y might underflow to zero and z is zero.
13078 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13079 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13080 * math/libm-test.inc (min_subnorm_value): New variable.
13081 (fma_test): Add more tests.
13082 (fma_test_towardzero): Likewise.
13083 (fma_test_downward): Likewise
13084 (fma_test_upward): Likewise.
13085 (initialize): Set min_subnorm_value.
13086
13087 2012-09-29 Joseph Myers <joseph@codesourcery.com>
13088
13089 [BZ #14638]
13090 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13091 0 + 0.
13092 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13093 mode for addition resulting in exact zero.
13094 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13095 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13096 exact 0 + 0.
13097 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13098 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13099 * math/libm-test.inc (fma_test): Add more tests.
13100 (fma_test_towardzero): New function.
13101 (fma_test_downward): Likewise.
13102 (fma_test_upward): Likewise.
13103 (main): Call the new functions.
13104
13105 2012-09-28 David S. Miller <davem@davemloft.net>
13106
13107 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13108
13109 2012-09-28 Roland McGrath <roland@hack.frob.com>
13110
13111 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13112 instead of SIGALRM.
13113
13114 * sysdeps/gnu/_G_config.h: Moved to ...
13115 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13116 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13117 * sysdeps/generic/_G_config.h: ... here.
13118
13119 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13120
13121 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13122
13123 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13124 Conditionalize target on [libnss_test1.so-version].
13125
13126 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13127
13128 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13129 (elfobjdir): Move out of conditionals.
13130
13131 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13132 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13133 (__nss_lookup_function): Conditionalize label remove_from_tree on
13134 [!DO_STATIC_NSS || SHARED], matching its only use.
13135
13136 2012-09-28 David S. Miller <davem@davemloft.net>
13137
13138 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13139 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13140 file.
13141 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13142 sysdep_routines.
13143 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13144 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13145 when HWCAP_SPARC_CRYPTO is present.
13146
13147 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13148
13149 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13150
13151 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13152
13153 [BZ #6530]
13154 * stdio-common/vfprintf.c (process_string_arg): Revert
13155 2000-07-22 change.
13156
13157 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13158
13159 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13160 for testcase.
13161 * stdio-common/tst-sprintf.c: Include <locale.h>
13162 (main): Test sprintf's handling of incomplete multibyte
13163 characters.
13164
13165 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13166
13167 * elf/dl-runtime.c (VERSYMIDX): Removed.
13168 * elf/dl-version.c (VERSYMIDX): Likewise.
13169 * elf/do-rel.h (VERSYMIDX): Likewise.
13170 (VALIDX): Likewise.
13171 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13172 * elf/rtld.c (VALIDX): Likewise.
13173 (ADDRIDX): Likewise.
13174 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13175 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13176 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
13177 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13178 (VALIDX): Likewise.
13179 (ADDRIDX): Likewise.
13180
13181 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13182
13183 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13184
13185 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13186
13187 [BZ #11438]
13188 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13189 to global scope.
13190 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13191 addresses are in the same scope as 192.0.2/24.
13192 * posix/gai.conf: Document new scope table defaults.
13193
13194 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13195
13196 [BZ #5298]
13197 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13198 for ftell. Compute offsets from write pointers instead.
13199 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13200
13201 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13202
13203 [BZ #14543]
13204 * libio/Makefile (tests): New test case tst-fseek.
13205 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13206 combination works in wide mode.
13207 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13208 state when the external buffer state changes.
13209
13210 2012-09-27 David S. Miller <davem@davemloft.net>
13211
13212 [BZ #14376]
13213 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13214 pass reloc->r_addend in as the 'high' argument to
13215 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13216
13217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13218
13219 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13220
13221 * rt/tst-aio2.c: Include <pthread.h>.
13222 * rt/tst-aio3.c: Likewise.
13223
13224 2012-09-27 Steve Ellcey <sellcey@mips.com>
13225
13226 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13227
13228 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13229
13230 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13231 contents on [SHARED].
13232
13233 2012-09-26 Marek Polacek <polacek@redhat.com>
13234
13235 [BZ #14530]
13236 [BZ #13741]
13237 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13238 for C++ and GCC <4.3 as well as for non GCC compilers.
13239
13240 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13241
13242 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13243
13244 2012-09-25 Roland McGrath <roland@hack.frob.com>
13245
13246 * Makefile.in (all, install): Declare with .PHONY.
13247 Reported by Michael Hope <michael.hope@linaro.org>.
13248
13249 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13250
13251 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13252 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13253 system header.
13254 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13255 Likewise.
13256 (sydep_routines): Add the new and the internal functions.
13257 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13258 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13260 (GLIBC_2.17): Add the new function.
13261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13262 (GLIBC_2.17): Likewise.
13263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13264 (GLIBC_2.17): Likewise.
13265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13266 (GLIBC_2.17): Likewise.
13267 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13268
13269 2012-09-25 Alan Modra <amodra@gmail.com>
13270
13271 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13272 Add release barrier before setting once_control to say
13273 initialisation is done. Add hints on lwarx. Use macro in
13274 place of isync.
13275 (clear_once_control): Add release barrier.
13276
13277 2012-09-25 Joseph Myers <joseph@codesourcery.com>
13278
13279 [BZ #13629]
13280 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13281 specially.
13282 * math/s_clog10.c (__clog10): Likewise.
13283 * math/s_clog10f.c (__clog10f): Likewise.
13284 * math/s_clog10l.c (__clog10l): Likewise.
13285 * math/s_clogf.c (__clogf): Likewise.
13286 * math/s_clogl.c (__clogl): Likewise.
13287 * math/Makefile (libm-calls): Add x2y2m1.
13288 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13289 (__x2y2m1): Likewise.
13290 (__x2y2m1l): Likewise.
13291 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13292 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13293 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13294 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13295 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13296 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13297 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13298 * sysdeps/i386/fpu/libm-test-ulps: Update.
13299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13300
13301 [BZ #14621]
13302 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13303 int as type of variable DEPTH.
13304 (glob): Use size_t instead of int as type of variables NEWCOUNT
13305 and OLD_PATHC.
13306
13307 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13308
13309 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13310 Add s_sincosf-sse2.
13311 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13312 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13313 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13314 macros for using routine as __sincosf_ia32.
13315 Use macro for function declaration and weak_alias.
13316 * sysdeps/i386/fpu/libm-test-ulps: Update.
13317
13318 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13319 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13320
13321 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
13322 subnormal argument.
13323 * math/s_cexpf.c (__cexpf): Likewise.
13324 * math/s_csinf.c (__csinf): Likewise.
13325 * math/s_csinhf.c (__csinhf): Likewise.
13326 * math/s_ctanf.c (__ctanf): Likewise.
13327 * math/s_ctanhf.c (__ctanhf): Likewise.
13328 * math/s_ccosh.c (__ccoshf): Likewise.
13329 * math/s_cexp.c (__cexpl): Likewise.
13330 * math/s_csin.c (__csin): Likewise.
13331 * math/s_csinh.c (__csinh): Likewise.
13332 * math/s_ctan.c (__ctan): Likewise.
13333 * math/s_ctanh.c (ctanh): Likewise.
13334 * math/s_ccoshl.c (__ccoshl): Likewise.
13335 * math/s_cexpl.c (__cexpl): Likewise.
13336 * math/s_csinl.c (__csinl): Likewise.
13337 * math/s_csinhl.c (__csinhl): Likewise.
13338 * math/s_ctanl.c (__ctanl): Likewise.
13339 * math/s_ctanhl.c (__ctanhl): Likewise.
13340
13341 2012-09-25 Joseph Myers <joseph@codesourcery.com>
13342
13343 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13344 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13345 (_IO_off_t): Define to __off_t, not _G_off_t.
13346 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13347 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13348 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13349 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13350 type of __dummy and __dummy2 fields.
13351 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13352 (_G_ssize_t): Likewise.
13353 (_G_off_t): Likewise.
13354 (_G_pid_t): Likewise.
13355 (_G_uid_t): Likewise.
13356 (_G_wchar_t): Likewise.
13357 (_G_wint_t): Likewise.
13358 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13359 (_G_ssize_t): Likewise.
13360 (_G_off_t): Likewise.
13361 (_G_pid_t): Likewise.
13362 (_G_uid_t): Likewise.
13363 (_G_wchar_t): Likewise.
13364 (_G_wint_t): Likewise.
13365 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13366 (_G_ssize_t): Likewise.
13367 (_G_off_t): Likewise.
13368 (_G_pid_t): Likewise.
13369 (_G_uid_t): Likewise.
13370 (_G_wchar_t): Likewise.
13371 (_G_wint_t): Likewise.
13372
13373 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13374
13375 * malloc/arena.c: Include malloc-sysdep.h.
13376 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13377 is sufficient to shrink the heap or an unmap is needed.
13378 * sysdeps/generic/malloc-sysdep.h: New file. Define
13379 new function check_may_shrink_heap.
13380 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13381 new function check_may_shrink_heap.
13382
13383 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13384
13385 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13386 comments.
13387
13388 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13389
13390 * catgets/test-gencat.sh: Add "set -e".
13391 * elf/tst-pathopt.sh: Likewise.
13392 * grp/tst_fgetgrent.sh: Likewise.
13393 * iconvdata/run-iconv-test.sh: Likewise.
13394 * intl/tst-gettext.sh: Likewise.
13395 * intl/tst-gettext2.sh: Likewise.
13396 * intl/tst-gettext4.sh: Likewise.
13397 * intl/tst-gettext6.sh: Likewise.
13398 * intl/tst-translit.sh: Likewise.
13399 * io/ftwtest-sh: Likewise.
13400 * libio/test-freopen.sh: Likewise.
13401 * malloc/tst-mtrace.sh: Likewise.
13402 * posix/globtest.sh: Likewise.
13403 * posix/tst-getconf.sh: Likewise.
13404 * posix/wordexp-tst.sh: Likewise.
13405 * stdio-common/tst-printf.sh: Likewise.
13406 * stdio-common/tst-unbputc.sh: Likewise.
13407 * stdlib/tst-fmtmsg.sh: Likewise.
13408 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13409 * catgets/Makefile: Do not specify -e option when running
13410 testsuite shell scripts.
13411 * elf/Makefile: Likewise.
13412 * grp/Makefile: Likewise.
13413 * iconvdata/Makefile: Likewise.
13414 * intl/Makefile: Likewise.
13415 * io/Makefile: Likewise.
13416 * libio/Makefile: Likewise.
13417 * malloc/Makefile: Likewise.
13418 * posix/Makefile: Likewise.
13419 * stdio-common/Makefile: Likewise.
13420 * stdlib/Makefile: Likewise.
13421 * sysdeps/x86_64/Makefile: Likewise.
13422
13423 * io/ftwtest-sh: Add copyright header.
13424 * posix/globtest.sh: Likewise.
13425 * posix/tst-getconf.sh: Likewise.
13426 * posix/wordexp-tst.sh: Likewise.
13427 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13428
13429 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13430
13431 [BZ #13679]
13432 * Makeconfig (+link): Defined as $(+link-static) if
13433 $(build-shared) isn't yes.
13434 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13435 isn't yes.
13436 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13437
13438 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13439
13440 [BZ #14562]
13441 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13442 new chunk size with MALLOC_ALIGN_MASK.
13443
13444 2012-09-24 Joseph Myers <joseph@codesourcery.com>
13445
13446 [BZ #5044]
13447 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13448 <rounding-mode.h>.
13449 (__printf_fphex): Determine rounding using get_rounding_mode and
13450 round_away.
13451 * stdio-common/tst-printf-round.c (struct hex_test): New
13452 structure.
13453 (hex_tests): New variable.
13454 (test_hex_in_one_mode): New function.
13455 (do_test): Also run tests for hex float output.
13456
13457 2012-09-21 Joseph Myers <joseph@codesourcery.com>
13458
13459 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13460 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13461 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13462 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13463 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13464 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13465 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13466 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13467
13468 2012-09-20 Joseph Myers <joseph@codesourcery.com>
13469
13470 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13471 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13472 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13473 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13474
13475 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13476
13477 [BZ #14579]
13478 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13479 mode only.
13480 * elf/tst-rtld-load-self.sh: New test.
13481 * elf/Makefile: Run it.
13482
13483 2012-09-18 Joseph Myers <joseph@codesourcery.com>
13484
13485 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13486 (tst-writev-ENV): Remove.
13487 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13488
13489 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13490
13491 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13492
13493 2012-09-17 Joseph Myers <joseph@codesourcery.com>
13494
13495 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13496 unconditional.
13497 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13498 Likewise.
13499 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13500 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13501 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13502 Likewise.
13503
13504 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13505
13506 [BZ #14587]
13507 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13508 * config.make.in (have-cpp-asm-debuginfo): Removed.
13509 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13510 * configure: Regenerated.
13511
13512 2012-09-14 Joseph Myers <joseph@codesourcery.com>
13513
13514 [BZ #5044]
13515 * stdio-common/printf_fp.c: Include <stdbool.h> and
13516 <rounding-mode.h>.
13517 (___printf_fp): Determine rounding using get_rounding_mode and
13518 round_away.
13519 * stdio-common/tst-printf-round.c: New file.
13520 * stdio-common/Makefile (tests): Add tst-printf-round.
13521 (link-libm): New variable.
13522 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13523
13524 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13525
13526 [BZ #14576]
13527 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13528 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13529 Likewise.
13530 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13531 Likewise.
13532
13533 2012-09-13 Joseph Myers <joseph@codesourcery.com>
13534
13535 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13536 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13537 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13538 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13539
13540 2012-09-12 Joseph Myers <joseph@codesourcery.com>
13541
13542 [BZ #14518]
13543 * include/rounding-mode.h: New file.
13544 * sysdeps/generic/get-rounding-mode.h: Likewise.
13545 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13546 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13547 (MAX_VALUE): New macro.
13548 (MIN_VALUE): Likewise.
13549 (overflow_value): New function.
13550 (underflow_value): Likewise.
13551 (round_and_return): Use overflow_value and underflow_value to
13552 determine return values in overflow and underflow cases. Use
13553 round_away to determine rounding depending on rounding mode.
13554 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13555 determine return values in overflow and underflow cases.
13556 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13557 (struct test_results): New structure.
13558 (struct test): Use struct test_results to store expected results
13559 for all rounding modes.
13560 (TEST): Include expected results for all rounding modes.
13561 (test_in_one_mode): New function.
13562 (do_test): Use test_in_one_mode to compute and check results.
13563 Check results for all rounding modes.
13564 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13565 $(link-libm).
13566
13567 2012-12-09 Allan McRae <allan@archlinux.org>
13568
13569 * sysdeps/i386/fpu/libm-test-ulps: Update
13570
13571 2012-09-11 Joseph Myers <joseph@codesourcery.com>
13572
13573 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13574 (_G_int32_t): Likewise.
13575 (_G_uint16_t): Likewise.
13576 (_G_uint32_t): Likewise.
13577 (_G_HAVE_BOOL): Likewise.
13578 (_G_HAVE_ATEXIT): Likewise.
13579 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13580 (_G_HAVE_IO_FILE_OPEN): Likewise.
13581 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13582 (_G_int32_t): Likewise.
13583 (_G_uint16_t): Likewise.
13584 (_G_uint32_t): Likewise.
13585 (_G_HAVE_BOOL): Likewise.
13586 (_G_HAVE_ATEXIT): Likewise.
13587 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13588 (_G_HAVE_IO_FILE_OPEN): Likewise.
13589 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13590 (_G_int32_t): Likewise.
13591 (_G_uint16_t): Likewise.
13592 (_G_uint32_t): Likewise.
13593 (_G_HAVE_BOOL): Likewise.
13594 (_G_HAVE_ATEXIT): Likewise.
13595 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13596 (_G_HAVE_IO_FILE_OPEN): Likewise.
13597
13598 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13599
13600 * csu/libc-tls.c: Update copyright years.
13601
13602 2012-09-10 Joseph Myers <joseph@codesourcery.com>
13603
13604 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13605 [!_G_USING_THUNKS]: Remove conditional code.
13606 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13607 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13608
13609 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13610 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13611 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13612 (_G_VTABLE_LABEL_PREFIX): Likewise.
13613 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13614 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13615 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13616 (_G_VTABLE_LABEL_PREFIX): Likewise.
13617 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13618 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13619 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13620 (_G_VTABLE_LABEL_PREFIX): Likewise.
13621 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13622
13623 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13624
13625 * libio/Makefile: Include ../Makeconfig before tests.
13626 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13627 only if $(build-shared) is yes.
13628
13629 * iconv/gconv_db.c: Update copyright years.
13630
13631 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13632
13633 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13634 unwind info if defined PIC. Fix special cases description.
13635 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13636
13637 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13638 DP_HI_MASK entry.
13639 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13640
13641 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13642
13643 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13644
13645 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13646 is NULL.
13647
13648 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13649 (LDLIBS-tst-chk4): This.
13650 (LDFLAGS-tst-chk5): Renamed to ...
13651 (LDLIBS-tst-chk5): This.
13652 (LDFLAGS-tst-chk6): Renamed to ...
13653 (LDLIBS-tst-chk6): This.
13654 (LDFLAGS-tst-lfschk4): Renamed to ...
13655 (LDLIBS-tst-lfschk4): This.
13656 (LDFLAGS-tst-lfschk5): Renamed to ...
13657 (LDLIBS-tst-lfschk5): This.
13658 (LDFLAGS-tst-lfschk6): Renamed to ...
13659 (LDLIBS-tst-lfschk6): This.
13660
13661 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13662 on $(common-objpfx)soversions.mk.
13663
13664 2012-09-07 Joseph Myers <joseph@codesourcery.com>
13665
13666 [BZ #10014]
13667 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13668 example host name.
13669
13670 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13671
13672 * malloc/arena.c (arena_get_retry): New function that gets
13673 another arena for the caller to try its request on.
13674 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13675 current arena cannot fulfill the request.
13676 (__libc_memalign): Likewise.
13677 (__libc_memalign): Likewise.
13678 (__libc_pvalloc): Likewise.
13679 (__libc_calloc): Likewise.
13680
13681 2012-09-05 John Tobey <john.tobey@gmail.com>
13682
13683 [BZ #13542]
13684 * manual/arith.texi (Operations on Complex): Fix description
13685 of carg branch cut.
13686
13687 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13688
13689 [BZ #10014]
13690 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13691 host name.
13692
13693 [BZ #10038]
13694 * manual/memory.texi (Memory): Make order of menu items match
13695 order of sections.
13696
13697 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13698
13699 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13700 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13701 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13702
13703 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13704
13705 * csu/libc-tls.c (static_dtv): Renamed to ...
13706 (_dl_static_dtv): This. Make it global.
13707 (_dl_initial_dtv): Removed.
13708 (__libc_setup_tls): Updated.
13709 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13710 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13711 DL_INITIAL_DTV.
13712
13713 2012-09-06 Petr Machata <pmachata@redhat.com>
13714
13715 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13716 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13717 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13718 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13719
13720 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13721
13722 [BZ #14545]
13723 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13724 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13725 freeing dtv[-1].
13726
13727 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13728
13729 [BZ #14544]
13730 * Makeconfig (link-static-before-libc): Replace $(+prector)
13731 with $(+prectorT).
13732 (link-static-after-libc): Replace $(+postctor) with
13733 $(+postctorT).
13734 (link-bounded): Replace $(+prector)/$(+postctor) with
13735 $(+prectorT)/$(+postctorT).
13736 (+prectorT): New macro.
13737 (+postctorT): Likewise.
13738
13739 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13740
13741 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13742 (round_str): Handle values above the maximum for IBM long double
13743 as inexact.
13744 * stdlib/tst-strtod-round.c (tests): Regenerated.
13745
13746 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13747
13748 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13749 assembler flag.
13750 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13751 zarch_nohighgprs around the zarch optimized routines.
13752 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13753 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13754 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13755 for zarch.
13756
13757 2012-09-05 David S. Miller <davem@davemloft.net>
13758
13759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13760
13761 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13762 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13763 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13764 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13765 entries.
13766
13767 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13768
13769 * malloc/arena.c: Fold copyright years.
13770 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13771
13772 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13773
13774 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13775
13776 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13777
13778 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13779
13780 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13781
13782 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13783 change internal state upon failure.
13784
13785 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13786
13787 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13788 * malloc/memusage.c (mmap): Likewise.
13789 (mmap64, mremap): Likewise. Adjust name in comment.
13790
13791 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13792
13793 * libio/fileops.c: Fix typos in comments.
13794 * libio/oldfileops.c: Likewise.
13795 * libio/wfileops.c: Likewise.
13796
13797 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13798
13799 [BZ #1349]
13800 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13801 (tst-malloc-usable-ENV): Set environment for test case.
13802 * malloc/hooks.c (malloc_check_get_size): New function to get
13803 requested size.
13804 * malloc/malloc.c (musable): Use malloc_check_get_size.
13805 * malloc/tst-malloc-usable.c: New test case.
13806
13807 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13808
13809 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13810
13811 2012-09-05 Allan McRae <allan@archlinux.org>
13812
13813 [BZ #13966]
13814 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13815 determine header location.
13816 * configure: Regenerated.
13817
13818 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13819
13820 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13821 float format.
13822 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
13823 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13824 format.
13825 (test): Regenerate.
13826
13827 2012-09-04 David S. Miller <davem@davemloft.net>
13828
13829 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13830 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13831 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13832
13833 2012-09-04 Florian Weimer <fweimer@redhat.com>
13834
13835 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13836 failures.
13837
13838 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13839
13840 2012-09-04 Joseph Myers <joseph@codesourcery.com>
13841
13842 [BZ #9914]
13843 * libio/iogetdelim.c: Include <limits.h>.
13844 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13845 + len + 1 would overflow.
13846
13847 2012-09-03 Andreas Jaeger <aj@suse.de>
13848
13849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13850 * sysdeps/i386/fpu/libm-test-ulps: Update.
13851
13852 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13853
13854 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13855 Add s_sinf-sse2, s_conf-sse2.
13856
13857 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13858 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13859 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13860 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13861
13862 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13863 for using routine as __sinf_ia32.
13864 Use macro for function declaration and weak_alias.
13865 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13866 for using routine as __cosf_ia32.
13867 Use macro for function declaration and weak_alias.
13868
13869 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13870 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13871
13872 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13873 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13874 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13875
13876 * math/libm-test.inc (cos_test): Add more test cases.
13877 (sin_test): Likewise.
13878 (sincos_test): Likewise.
13879
13880 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13881
13882 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13883 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13884 hidden.
13885 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13886
13887 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13888
13889 [BZ #14538]
13890 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13891 first element of the GOT.
13892 (elf_machine_load_address): Return the difference between
13893 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13894
13895 2012-09-01 Allan McRae <allan@archlinux.org>
13896
13897 [BZ #13412]
13898 * configure.in (AWK): Require gawk version 3.0 or later.
13899 * configure: Regenerated.
13900
13901 2012-09-01 Joseph Myers <joseph@codesourcery.com>
13902
13903 * sysdeps/unix/sysv/linux/kernel-features.h
13904 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13905 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13906 [__NR_clock_getres]: Make code unconditional.
13907 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13908 (clock_getcpuclockid): Remove code left unreachable by removal of
13909 conditionals.
13910 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13911 code unconditional.
13912 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13913 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13914 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13915 Make code unconditional.
13916 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13917 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13918 * sysdeps/unix/sysv/linux/clock_settime.c
13919 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13920 conditional code.
13921 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13922 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13923
13924 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13925
13926 [BZ #14476]
13927 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13928 scripts/test-installation.pl.
13929
13930 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13931 and $ld_so_version if it is set.
13932
13933 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13934
13935 [BZ #14516]
13936 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13937 failure if reading from procfs failed.
13938 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13939
13940 2012-08-27 Joseph Myers <joseph@codesourcery.com>
13941
13942 * sysdeps/unix/sysv/linux/kernel-features.h
13943 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13944 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13945 Remove conditional code.
13946 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13947 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13948 Remove conditional code.
13949 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13950 * sysdeps/unix/sysv/linux/i386/fxstat.c
13951 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13952 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13953 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13954 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13955 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13956 * sysdeps/unix/sysv/linux/i386/lxstat.c
13957 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13958 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13959 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13960 Remove conditional code.
13961 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13962 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13963 Remove conditional code.
13964 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13965 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13966 <kernel-features.h>.
13967 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13968 Remove.
13969 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13970 Remove conditional code.
13971 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13972 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13973 Remove conditional.
13974
13975 2012-08-27 Mike Frysinger <vapier@gentoo.org>
13976
13977 [BZ #5400]
13978 * NEWS: Add fixed bug number.
13979
13980 2012-08-27 Joseph Myers <joseph@codesourcery.com>
13981
13982 [BZ #14519]
13983 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13984 underflowing exponent in case of negative sign.
13985 * stdlib/tst-strtod-round-data: Add more tests.
13986 * stdlib/tst-strtod-round.c (tests): Regenerated.
13987
13988 [BZ #3479]
13989 * stdlib/strtod_l.c (NDIG): Remove.
13990 (HEXNDIG): Likewise.
13991 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13992 smallest representable value.
13993 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13994 lie within an exact representation of 1/2 ulp of the result.
13995 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13996 unconditionally.
13997 (TENS_P9_IDX): Define unconditionally.
13998 (TENS_P9_SIZE): Likewise.
13999 (TENS_P10_IDX): Likewise.
14000 (TENS_P10_SIZE): Likewise.
14001 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14002 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14003 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14004 entries for 10^2^13 and 10^2^14.
14005 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14006 (TENS_P13_IDX): Define.
14007 (TENS_P13_SIZE): Likewise.
14008 (TENS_P14_IDX): Likewise.
14009 (TENS_P14_SIZE): Likewise.
14010 (_fpioconst_pow10): Change array size to
14011 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14012 unconditional.
14013 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14014 1024]: Add entries for 10^2^13 and 10^2^14.
14015 [LAST_POW10 > _LAST_POW10]: Remove #error.
14016 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14017 (_fpioconst_pow10): Change array size to
14018 FPIOCONST_POW10_ARRAY_SIZE.
14019 * stdlib/gen-fpioconst.c: New file.
14020 * stdlib/gen-tst-strtod-round.c: Likewise.
14021 * stdlib/tst-strtod-round-data: Likewise.
14022 * stdlib/tst-strtod-round.c: Likewise.
14023 * stdlib/Makefile (tests): Add tst-strtod-round.
14024
14025 [BZ #14459]
14026 * stdlib/strtod_l.c: Include <stdint.h>.
14027 (NDEBUG): Do not define.
14028 (round_and_return): Change EXPONENT parameter to type intmax_t.
14029 Rearrange calculations to avoid internal overflow possibilities.
14030 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14031 Rearrange calculations to avoid internal overflow possibilities.
14032 Assert that number fits inside MPNSIZE limbs.
14033 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14034 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14035 calculations and add assertions to avoid internal overflow
14036 possibilities. Add casts to avoid signed/unsigned operations.
14037 * stdlib/tst-strtod-overflow.c: New file.
14038 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14039
14040 2012-08-25 Marek Polacek <polacek@redhat.com>
14041
14042 * time/time.h: Fix some typos in comments.
14043
14044 2012-08-23 Roland McGrath <roland@hack.frob.com>
14045
14046 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14047 * posix/tst-rfc3484-2.c: Likewise.
14048 * posix/tst-rfc3484-3.c: Likewise.
14049
14050 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14051
14052 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14053 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14054
14055 2012-08-23 Joseph Myers <joseph@codesourcery.com>
14056
14057 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14058 #include of fxstatat64.c.
14059
14060 2012-08-22 Roland McGrath <roland@hack.frob.com>
14061
14062 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14063 * shadow/getspent_r.c: Likewise.
14064 * shadow/getspnam.c: Likewise.
14065 * shadow/getspnam_r.c: Likewise.
14066 * gshadow/getsgent.c: Likewise.
14067 * gshadow/getsgent_r.c: Likewise.
14068 * gshadow/getsgnam.c: Likewise.
14069 * gshadow/getsgnam_r.c: Likewise.
14070 * inet/getnetbyad.c: Likewise.
14071 * inet/getnetbyad_r.c: Likewise.
14072 * inet/getnetbynm.c: Likewise.
14073 * inet/getnetbynm_r.c: Likewise.
14074 * inet/getnetent.c: Likewise.
14075 * inet/getnetent_r.c: Likewise.
14076 * inet/getproto.c: Likewise.
14077 * inet/getproto_r.c: Likewise.
14078 * inet/getprtent.c: Likewise.
14079 * inet/getprtent_r.c: Likewise.
14080 * inet/getprtname.c: Likewise.
14081 * inet/getprtname_r.c: Likewise.
14082 * inet/getrpcbyname.c: Likewise.
14083 * inet/getrpcbyname_r.c: Likewise.
14084 * inet/getrpcbynumber.c: Likewise.
14085 * inet/getrpcbynumber_r.c: Likewise.
14086 * inet/getrpcent.c: Likewise.
14087 * inet/getrpcent_r.c: Likewise.
14088 * inet/getaliasent.c: Likewise.
14089 * inet/getaliasent_r.c: Likewise.
14090 * inet/getaliasname.c: Likewise.
14091 * inet/getaliasname_r.c: Likewise.
14092 * nscd/getgrgid_r.c: Likewise.
14093 * nscd/getgrnam_r.c: Likewise.
14094 * nscd/gethstbyad_r.c: Likewise.
14095 * nscd/gethstbynm3_r.c: Likewise.
14096 * nscd/getpwnam_r.c: Likewise.
14097 * nscd/getpwuid_r.c: Likewise.
14098 * nscd/getsrvbynm_r.c: Likewise.
14099 * nscd/getsrvbypt_r.c: Likewise.
14100 * nscd/gai.c: Likewise.
14101
14102 * configure.in (build_nscd): New substituted variable, set
14103 by --disable-build-nscd and defaults to $use_nscd.
14104 * configure: Regenerated.
14105 * config.make.in (build-nscd): New substituted variable.
14106 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14107 Change conditional to require [$(build-nscd) = yes] as well.
14108 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14109
14110 [BZ# 13696]
14111 * configure.in (use_nscd): New substituted variable, set by
14112 --disable-nscd. If enabled, define USE_NSCD.
14113 * configure: Regenerated.
14114 * config.h.in: Add USE_NSCD.
14115 * config.make.in (use-nscd): New substituted variable.
14116 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14117 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14118 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14119 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14120 (CFLAGS-getgrnam_r.c): Likewise.
14121 (CFLAGS-initgroups.c): Likewise.
14122 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14123 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14124 Variables removed.
14125 * inet/getnetgrent_r.c
14126 (nscd_setnetgrent): New function, broken out of ...
14127 (setnetgrent): ... here. Call it.
14128 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14129 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14130 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14131 * nscd/Makefile (routines, aux): Move definitions after include of
14132 Makeconfig. Conditionalize on [$(use-nscd) != no].
14133 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14134 Conditionalize on [USE_NSCD].
14135 (is_nscd, nscd_init_cb): Likewise.
14136 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14137 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14138 * nss/nss_db/db-init.c: Likewise.
14139 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14140 [USE_NSCD].
14141 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14142 (make_request): Use it.
14143 (cache_valid_p): New function.
14144 (__check_pf): Use it.
14145 * NEWS: Add item for --disable-nscd.
14146
14147 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14148
14149 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14150 to support sed >= 4.2.1-20-ga9bf076.
14151 * configure: Regenerated.
14152
14153 2012-08-22 Roland McGrath <roland@hack.frob.com>
14154
14155 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14156 Conditionalize whole body on [IREL].
14157
14158 2012-08-22 Jeff Law <law@redhat.com>
14159
14160 [BZ #14505]
14161 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14162 if the family is PF_UNSPEC.
14163
14164 2012-08-22 Mike Frysinger <vapier@gentoo.org>
14165
14166 * Makerules (lib-version): Rename from V.
14167 (install-lib-nosubdir): Change V to lib-version.
14168
14169 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14170
14171 [BZ #14252]
14172 * powerpc32/power6/wcschr.c: New file.
14173 * powerpc32/power6/wcscpy.c: New file.
14174 * powerpc32/power6/wcsrchr.c: New file.
14175 * powerpc64/power6/wcschr.c: New file.
14176 * powerpc64/power6/wcscpy.c: New file.
14177 * powerpc64/power6/wcsrchr.c: New file.
14178
14179 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14180
14181 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14182 (two_way_short_needle): Use it.
14183 * string/strstr.c (AVAILABLE1_USES_J): Define.
14184 * string/strcasestr.c: Likewise.
14185
14186 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14187 array references.
14188 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14189
14190 [BZ #11607]
14191 * NEWS: Add an entry.
14192 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14193 define their defaults.
14194 (two_way_short_needle): Detect end-of-string on-the-fly.
14195 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14196 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14197 * string/bug-strcasestr1.c: New test.
14198 * string/Makefile: Run it.
14199
14200 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14201
14202 [BZ #11607]
14203 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14204 the first character.
14205
14206 2012-08-21 Roland McGrath <roland@hack.frob.com>
14207
14208 * csu/elf-init.c (__libc_csu_irel): Function removed.
14209 * csu/libc-start.c (apply_irel): New function.
14210 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14211
14212 2012-08-21 Joseph Myers <joseph@codesourcery.com>
14213
14214 * sysdeps/unix/sysv/linux/kernel-features.h
14215 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14216 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14217 <kernel-features.h>.
14218 [__NR_fadvise64_64]: Make code unconditional.
14219 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14220 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14221 !__NR_fadvise64_64)]: Likewise.
14222 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14223 !__NR_fadvise64_64))]: Likewise.
14224 [__NR_fadvise64]: Make code unconditional.
14225 [!__NR_fadvise64]: Remove conditional code.
14226 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14227 <kernel-features.h>.
14228 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14229 unconditional.
14230 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14231 conditional code.
14232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14233 not include <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/s390/s390-32/posix_fadvise64.c: Do not
14239 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
14245 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14246
14247 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14248 slight instruction rearrangements per scrollpipe analysis.
14249 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14250
14251 2012-08-20 Roland McGrath <roland@hack.frob.com>
14252
14253 * manual/syslog.texi (syslog; vsyslog, closelog):
14254 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14255 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14256
14257 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14258 DSOCAPS to match condition on defining it.
14259
14260 2012-08-20 Joseph Myers <joseph@codesourcery.com>
14261
14262 * sysdeps/unix/sysv/linux/kernel-features.h
14263 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14265 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14266 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14268 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14269 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14271 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14272 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14273
14274 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14275 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14276
14277 * sysdeps/unix/sysv/linux/kernel-features.h
14278 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14279 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14280 unconditional.
14281 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14282 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14283 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14284 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14285 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14286 Make code unconditional.
14287 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14288 (__mmap64) [!__NR_mmap2]: Likewise.
14289 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14290 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14291 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14292 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14293 [__NR_mmap2]: Make code unconditional.
14294 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14295 (__mmap64) [!__NR_mmap2]: Likewise.
14296
14297 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14298
14299 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14300
14301 2012-08-18 Andreas Jaeger <aj@suse.de>
14302
14303 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14304
14305 2012-08-18 Mike Frysinger <vapier@gentoo.org>
14306
14307 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14308 * include/unistd.h (__have_sock_cloexec): Likewise.
14309 (__have_pipe2): Likewise.
14310 (__have_dup3): Likewise.
14311
14312 2012-08-18 Mike Frysinger <vapier@gentoo.org>
14313
14314 [BZ #9685]
14315 * include/unistd.h (__have_pipe2): Change define into an extern int.
14316 (__have_dup3): Likewise.
14317 * socket/have_sock_cloexec.c: Include fcntl.h.
14318 (__have_pipe2): New variable.
14319 (__have_dup3): Likewise.
14320
14321 2012-08-17 Mike Frysinger <vapier@gentoo.org>
14322
14323 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14324
14325 2012-08-17 Marek Polacek <polacek@redhat.com>
14326
14327 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14328 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14329
14330 2012-08-17 Roland McGrath <roland@hack.frob.com>
14331
14332 * configure.in: Add AC_SUBST for sysheaders.
14333 * configure: Regenerated.
14334 * config.make.in (sysheaders): New substituted variable.
14335
14336 * sysdeps/unix/mkfifo.c: Moved ...
14337 * sysdeps/posix/mkfifo.c: ... here.
14338 * sysdeps/unix/mkfifoat.c: Moved ...
14339 * sysdeps/posix/mkfifoat.c: ... here.
14340
14341 * sysdeps/unix/utime.c: Moved ...
14342 * sysdeps/posix/utime.c: ... here.
14343
14344 * sysdeps/unix/time.c: Moved ...
14345 * sysdeps/posix/time.c: ... here.
14346 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14347 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
14348
14349 * sysdeps/unix/nice.c: Moved ...
14350 * sysdeps/posix/nice.c: ... here.
14351
14352 * sysdeps/unix/alarm.c: Moved ...
14353 * sysdeps/posix/alarm.c: ... here.
14354
14355 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14356
14357 2012-08-17 Jeff Law <law@redhat.com>
14358
14359 * intl/Makefile (codeset_mo): New variable.
14360 ($(codeset_mo)): New target.
14361 (tst-codeset.out): Depend on that. Remove explicit rule.
14362 (tst-gettext3.out, tst-gettext5.out): Likewise.
14363 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14364 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14365 * intl/tst-codeset.sh: Remove.
14366 * intl/tst-gettext3.sh: Likewise.
14367 * intl/tst-gettext5.sh: Likewise.
14368
14369 2012-08-17 Roland McGrath <roland@hack.frob.com>
14370
14371 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14372 * sysdeps/unix/syscalls.list: ... here.
14373
14374 * sysdeps/posix/getaddrinfo.c
14375 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14376 (gaiconf_init, gaiconf_reload): Use them.
14377 [!_STATBUF_ST_NSEC]
14378 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14379 Define using time_t rather than struct timespec.
14380
14381 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14382 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14383 Macros removed.
14384 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14385 [!NO_THREADS].
14386 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14387 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14388 Likewise.
14389
14390 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14391 __libc_cleanup_push argument.
14392
14393 * bits/param.h: New file.
14394 * misc/sys/param.h: New file.
14395 * include/sys/param.h: New file.
14396 * misc/Makefile (headers): Add bits/param.h.
14397 * sysdeps/generic/sys/param.h: File removed.
14398 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14399 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14400 * sysdeps/mach/hurd/bits/param.h: New file.
14401 * sysdeps/mach/hurd/sys/param.h: File removed.
14402
14403 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14404 last change.
14405
14406 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14407 [_IO_MTSAFE_IO].
14408 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14409 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14410 New macros.
14411
14412 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14413 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14414 rather than -D_IO_MTSAFE_IO conditionally.
14415 * stdio-common/Makefile (CPPFLAGS): Likewise.
14416 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14417 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14418 Use $(libio-mtsafe).
14419 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14420 of -D_IO_MTSAFE_IO.
14421 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14422 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14423 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14424 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14425 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14426 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14427 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14428 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14429 (CFLAGS-fread_u_chk.c): Likewise.
14430 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14431 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14432 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14433 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14434 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14435 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14436 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14437 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14438 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14439
14440 * libio/Makefile: Test [$(libc-reentrant) = yes]
14441 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14442
14443 * Makeconfig
14444 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14445 * sysdeps/pthread/configure: File removed.
14446 * sysdeps/pthread/Makeconfig: New file.
14447 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14448 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14449
14450 2012-08-16 Gary Benson <gbenson@redhat.com>
14451
14452 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14453 unmapping the first object in a namespace.
14454
14455 2012-08-16 Roland McGrath <roland@hack.frob.com>
14456
14457 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14458 (__internal_setnetgrent): ... this. Add internal_function to
14459 definition. Add libc_hidden_def.
14460 (setnetgrent): Update caller.
14461 (internal_endnetgrent): Renamed to ...
14462 (__internal_endnetgrent): ... this. Add internal_function to
14463 definition. Add libc_hidden_def.
14464 (endnetgrent): Update caller.
14465 (internal_getnetgrent_r): Renamed to ...
14466 (__internal_getnetgrent_r): ... this. Add internal_function to
14467 definition. Add libc_hidden_def.
14468 (__getnetgrent_r): Update caller.
14469 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14470
14471 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14472
14473 * stdlib/longlong.h: Update from GCC.
14474
14475 2012-08-16 Roland McGrath <roland@hack.frob.com>
14476
14477 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14478 on _QL, which is set by umul_ppmm but never used.
14479 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14480 variables, which are set by GMP macros but never used.
14481 * stdio-common/_itowa.c (_itowa): Likewise.
14482 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14483 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14484
14485 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14486
14487 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14488 struct La_sh_regs is not constant.
14489 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14490 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14491 and struct La_sparc64_regs are not constant.
14492
14493 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14494
14495 * sysdeps/unix/sysv/linux/kernel-features.h
14496 (__ASSUME_POSIX_TIMERS): Remove.
14497 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14498 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14499 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14500 Make code unconditional.
14501 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14502 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14503 Make code unconditional.
14504 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14505 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14506 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14507 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14508 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14509 Make code unconditional.
14510 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14511 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14512 (__libc_missing_posix_timers): Remove.
14513
14514 2012-08-15 Roland McGrath <roland@hack.frob.com>
14515
14516 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14517 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14518
14519 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14520
14521 * elf/dl-sym.c: Include <stdlib.h>.
14522
14523 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14524 constants, which avoids warnings in 32-bit builds.
14525
14526 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14527 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14528
14529 * misc/lseek.c: File moved to ...
14530 * io/lseek.c: ... here.
14531
14532 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14533
14534 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14535 shifting LEN more than 31 bits at once.
14536
14537 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14538
14539 [BZ #14195]
14540 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14541 segmentation fault for a case of two empty input strings.
14542 * string/test-strncasecmp.c (check1): Renamed to...
14543 (bz12205): ...this.
14544 (bz14195): Add new testcase for two empty input strings and N > 0.
14545 (test_main): Call new testcase, adapt for renamed function.
14546
14547 2012-08-15 Andreas Jaeger <aj@suse.de>
14548
14549 [BZ #14090]
14550 * crypt/md5test2.c: New test, based on test supplied by Serge
14551 Belyshev <belyshev@depni.sinp.msu.ru>.
14552 * crypt/Makefile (xtests): Add md5test-giant..
14553 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14554
14555 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14556
14557 [BZ #14090]
14558 * crypt/md5.c (md5_process_block): Don't assume the buffer
14559 length is less than 2**32.
14560 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14561 length is less than 2**64.
14562
14563 2012-08-15 Roland McGrath <roland@hack.frob.com>
14564
14565 * string/str-two-way.h: Include <sys/param.h>.
14566 (MAX): Macro removed.
14567
14568 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14569 Move #define and #undef of memmove to just before and after
14570 including <string.h>.
14571
14572 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14573 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14574 and after including <string.h>. Move declarations of
14575 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14576 to before #include "string/memmove.c".
14577
14578 * include/dirent.h: Declare __getdirentries.
14579
14580 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14581 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14582
14583 2012-08-14 Mike Frysinger <vapier@gentoo.org>
14584
14585 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14586 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14587 * sysdeps/i386/configure: Regenerated.
14588 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14589 STABS_CURRENT_FILE, and STABS_FUN.
14590 (END): Remove call to STABS_FUN_END.
14591 (STABS_CURRENT_FILE1): Delete.
14592 (STABS_CURRENT_FILE): Likewise.
14593 (STABS_FUN): Likewise.
14594 (STABS_FUN_END): Likewise.
14595 (STABS_FUN2): Likewise.
14596 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14597 * sysdeps/x86_64/configure: Regenerated.
14598
14599 2012-08-14 Roland McGrath <roland@hack.frob.com>
14600
14601 * elf/dl-open.c: Include <atomic.h>.
14602 * elf/dl-lookup.c: Likewise.
14603
14604 2012-08-14 Joseph Myers <joseph@codesourcery.com>
14605
14606 * sysdeps/unix/sysv/linux/kernel-features.h
14607 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14608 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14609 unconditionally.
14610 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14611 unconditionally.
14612 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14613 condition on __ASSUME_CLONE_THREAD_FLAGS.
14614
14615 2012-08-14 Andreas Jaeger <aj@suse.de>
14616
14617 * sysdeps/i386/fpu/libm-test-ulps: Update.
14618
14619 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14620
14621 * include/atomic.h (atomic_exchange_and_add): Split into ...
14622 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14623 New atomic macros.
14624
14625 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14626
14627 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14628
14629 2012-08-13 Jeff Law <law@redhat.com>
14630
14631 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14632 null byte in the output string.
14633
14634 2012-08-10 Joseph Myers <joseph@codesourcery.com>
14635
14636 * sysdeps/unix/sysv/linux/kernel-features.h
14637 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14638 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14639 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14640 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14641 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14642 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14643 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14644
14645 2012-08-09 Jeff Law <law@redhat.com>
14646
14647 [BZ #13939]
14648 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14649 When avoid_arena is set, don't retry in the that arena. Pick the
14650 next one, whatever it might be.
14651 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14652 (arena_lock): Pass in new parameter to arena_get2.
14653 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14654 arena_get2.
14655 (__libc_malloc): Unify retrying after main arena failure with
14656 __libc_memalign version.
14657 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14658
14659 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14660
14661 [BZ #14166]
14662 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14663 to __redirect_strstr.
14664 (__strstr_sse42): Use typeof __redirect_strstr.
14665 (__strstr_ia32): Likewise.
14666 (__libc_strstr): New prototype.
14667 (strstr): Renamed to ...
14668 (__libc_strstr): This.
14669 (strstr): New strong alias of __libc_strstr.
14670 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14671 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14672 __redirect_time.
14673 Include <time.h>.
14674 (__libc_time): New prototype.
14675 (time_ifunc): Replace time with __libc_time.
14676 (time): New strong alias and hidden definition of __libc_time.
14677 (__GI_time): Remove strong alias.
14678 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14679 Include <stddef.h>.
14680 (memmove): Redefined to __redirect_memmove.
14681 (__memmove_sse2): Use typeof __redirect_memmove.
14682 (__memmove_ssse3): Likewise.
14683 (__memmove_ssse3_back): Likewise.
14684 (__libc_memmove): New prototype.
14685 (memmove): Renamed to ...
14686 (__libc_memmove): This.
14687 (memmove): New strong alias of __libc_memmove.
14688
14689 2012-08-08 Mark Salter <msalter@redhat.com>
14690
14691 * elf/elf.h
14692 (R_MN10300_TLS_GD): Define.
14693 (R_MN10300_TLS_LD): Likewise.
14694 (R_MN10300_TLS_LDO): Likewise.
14695 (R_MN10300_TLS_GOTIE): Likewise.
14696 (R_MN10300_TLS_IE): Likewise.
14697 (R_MN10300_TLS_LE): Likewise.
14698 (R_MN10300_TLS_DTPMOD): Likewise.
14699 (R_MN10300_TLS_DTPOFF): Likewise.
14700 (R_MN10300_TLS_TPOFF): Likewise.
14701 (R_MN10300_SYM_DIFF): Likewise.
14702 (R_MN10300_ALIGN): Likewise.
14703 (R_MN10300_NUM): Update.
14704
14705 2012-08-08 Joseph Myers <joseph@codesourcery.com>
14706
14707 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14708 Remove.
14709
14710 2012-08-08 Roland McGrath <roland@hack.frob.com>
14711
14712 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14713
14714 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14715 sysdeps/unix -> sysdeps/posix move.
14716 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14717
14718 2012-08-07 Allan McRae <allan@archlinux.org>
14719
14720 [BZ #14303]
14721 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14722 (SUNOS_CPP): Likewise.
14723 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14724 not found.
14725 (open_input): Call CPP using execvp.
14726
14727 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14728
14729 * sysdeps/unix/sysv/linux/kernel-features.h
14730 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14731 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14732 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14733 (__ASSUME_WAITID_SYSCALL): Likewise.
14734 * sysdeps/unix/sysv/linux/dl-execstack.c
14735 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14736 code unconditional.
14737 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14738 conditional code.
14739 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14740 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14741 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14742 code.
14743 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14744 unconditional.
14745 [__ASSUME_WAITID_SYSCALL]: Likewise.
14746 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14747
14748 2012-08-07 Roland McGrath <roland@hack.frob.com>
14749
14750 * sysdeps/unix/closedir.c: Renamed to ...
14751 * sysdeps/posix/closedir.c: ... here.
14752 * sysdeps/unix/dirfd.c: Renamed to ...
14753 * sysdeps/posix/dirfd.c: ... here.
14754 * sysdeps/unix/dirstream.h: Renamed to ...
14755 * sysdeps/posix/dirstream.h: ... here.
14756 * sysdeps/unix/fdopendir.c: Renamed to ...
14757 * sysdeps/posix/fdopendir.c: ... here.
14758 * sysdeps/unix/opendir.c: Renamed to ...
14759 * sysdeps/posix/opendir.c: ... here.
14760 * sysdeps/unix/readdir.c: Renamed to ...
14761 * sysdeps/posix/readdir.c: ... here.
14762 * sysdeps/unix/readdir_r.c: Renamed to ...
14763 * sysdeps/posix/readdir_r.c: ... here.
14764 * sysdeps/unix/rewinddir.c: Renamed to ...
14765 * sysdeps/posix/rewinddir.c: ... here.
14766 * sysdeps/unix/seekdir.c: Renamed to ...
14767 * sysdeps/posix/seekdir.c: ... here.
14768 * sysdeps/unix/telldir.c: Renamed to ...
14769 * sysdeps/posix/telldir.c: ... here.
14770 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14771 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14772 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14773 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14774
14775 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14776 * bits/fcntl.h: ... here.
14777
14778 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14779 not 0.
14780 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14781 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14782 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14783 (struct flock): Move l_start, l_len to the beginning.
14784 Use __pid_t for l_pid.
14785 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14786 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14787 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14788 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14789 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14790 [__USE_LARGEFILE64] (struct flock64): New type.
14791 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14792
14793 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14794 * bits/dirent.h: ... here.
14795
14796 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14797 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14798
14799 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14800
14801 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14802 Change from 2.6.0 to 2.6.16.
14803 * sysdeps/unix/sysv/linux/configure: Regenerated.
14804 * sysdeps/unix/sysv/linux/kernel-features.h
14805 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14806 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14807 version.
14808 (__ASSUME_UTIMES): Likewise.
14809 (__ASSUME_CLONE_STOPPED): Remove.
14810 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14811 architectures, not kernel version.
14812 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14813 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14814 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14815 (__ASSUME_WAITID_SYSCALL): Likewise.
14816 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14817 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14818 * README: State 2.6.16 as minimum Linux kernel version. Do not
14819 refer to older versions.
14820
14821 2012-08-06 Roland McGrath <roland@hack.frob.com>
14822
14823 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14824 Define alphasort64 as an alias.
14825 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14826 Define versionsort64 as an alias.
14827 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14828 Define scandir64 as an alias.
14829 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14830 Define scandirat64 as an alias.
14831 * dirent/alphasort64.c (alphasort64):
14832 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14833 * dirent/versionsort64.c: Likewise.
14834 * dirent/scandir64.c: Likewise.
14835 * dirent/scandirat64.c: Likewise.
14836 * sysdeps/wordsize-64/alphasort.c: File removed.
14837 * sysdeps/wordsize-64/alphasort64.c: File removed.
14838 * sysdeps/wordsize-64/scandir.c: File removed.
14839 * sysdeps/wordsize-64/scandir64.c: File removed.
14840 * sysdeps/wordsize-64/scandirat.c: File removed.
14841 * sysdeps/wordsize-64/scandirat64.c: File removed.
14842 * sysdeps/wordsize-64/versionsort.c: File removed.
14843 * sysdeps/wordsize-64/versionsort64.c: File removed.
14844 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14845 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14846 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14847 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14848 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14849 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14850 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14851 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14852
14853 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14854 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14855 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14856 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14857 [defined __arch64__ || defined __sparcv9]
14858 (__INO_T_MATCHES_INO64_T): New macro.
14859 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14860 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14861 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14862 * sysdeps/unix/sysv/linux/bits/dirent.h
14863 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14864 (_DIRENT_MATCHES_DIRENT64): New macro.
14865
14866 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14867 Define lockf64 as an alias.
14868 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14869 Define fseeko64 as an alias.
14870 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14871 Define ftello64 as an alias.
14872 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14873 Define _IO_fgetpos64 and fgetpos64 as aliases.
14874 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14875 Define _IO_fsetpos64 and fsetpos64 as aliases.
14876 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14877 Conditionalize body on this.
14878 * libio/fseeko64.c: Likewise.
14879 * libio/ftello64.c: Likewise.
14880 * libio/iofgetpos64.c: Likewise.
14881 * libio/iofsetpos64.c: Likewise.
14882 * sysdeps/wordsize-64/lockf.c: File removed.
14883 * sysdeps/wordsize-64/lockf64.c: File removed.
14884 * sysdeps/wordsize-64/fseeko.c: File removed.
14885 * sysdeps/wordsize-64/fseeko64.c: File removed.
14886 * sysdeps/wordsize-64/ftello.c: File removed.
14887 * sysdeps/wordsize-64/ftello64.c: File removed.
14888 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14889 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14890 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14891 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14892 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14893 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14894 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14895 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14896 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14897 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14898 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14899 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14900 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14901 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14902
14903 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14904 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14905 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14906 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14907 [defined __arch64__ || defined __sparcv9]
14908 (__OFF_T_MATCHES_OFF64_T): New macro.
14909 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14910 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14911 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14912 (__OFF_T_MATCHES_OFF64_T): New macro.
14913
14914 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14915
14916 * stdlib/secure-getenv.c (__secure_getenv): Replace
14917 GLIBC_2_16 with GLIBC_2_17.
14918
14919 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14920
14921 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14922 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14923
14924 2012-08-03 David S. Miller <davem@davemloft.net>
14925
14926 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14927
14928 2012-08-03 Joseph Myers <joseph@codesourcery.com>
14929
14930 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14931 Remove.
14932 (__ASSUME_CORRECT_SI_PID): Likewise.
14933 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14934 (__ASSUME_TMPFS_NAME): Likewise.
14935 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14936 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14937 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14938 (HAVE_AUX_SECURE): Make definition unconditional.
14939 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14940 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14941
14942 2012-08-03 Roland McGrath <roland@hack.frob.com>
14943
14944 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14945 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14946 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14947 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14948 __eloop_threshold instead of SYMLOOP_MAX.
14949
14950 * sysdeps/generic/eloop-threshold.h: New file.
14951 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14952 of MAXSYMLINKS.
14953 * elf/chroot_canon.c (chroot_canon): Likewise.
14954
14955 2012-08-03 Joseph Myers <joseph@codesourcery.com>
14956
14957 [BZ #13717]
14958 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14959 Change to 2.6.0 everywhere.
14960 * sysdeps/unix/sysv/linux/configure: Regenerated.
14961 * sysdeps/unix/sysv/linux/kernel-features.h
14962 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14963 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14964 kernel versions.
14965 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14966 (__ASSUME_FUTEX_REQUEUE): Remove.
14967 (__ASSUME_STATFS64): Define unconditionally.
14968 (__ASSUME_AT_SECURE): Likewise.
14969 (__ASSUME_CORRECT_SI_PID): Likewise.
14970 (__ASSUME_TGKILL): Define without depending on kernel version for
14971 i386.
14972 (__ASSUME_UTIMES): Likewise.
14973 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14974 kernel version.
14975 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14976 (__ASSUME_TMPFS_NAME): Likewise.
14977 * README: Update reference to Linux kernel versions.
14978
14979 2012-08-02 Marek Polacek <polacek@redhat.com>
14980
14981 [BZ# 14150]
14982 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14983 libc_cv_asm_type_prefix with %.
14984 * configure: Regenerated.
14985 * include/libc-symbols.h: Remove comment about
14986 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14987 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14988 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14989 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14990 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14991 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14992 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14993 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14994 * elf/tst-unique2mod1.c: Likewise.
14995 * elf/tst-unique1mod2.c: Likewise.
14996 * elf/tst-unique1mod1.c: Likewise.
14997 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14998 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14999 Replace ASM_TYPE_DIRECTIVE with .type.
15000 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15001 * sysdeps/i386/sysdep.h: Likewise.
15002 * sysdeps/x86_64/sysdep.h: Likewise.
15003 * sysdeps/sh/sysdep.h: Likewise.
15004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15005 Do not define ASM_TYPE_DIRECTIVE.
15006 * sysdeps/powerpc/sysdep.h: Likewise.
15007 * sysdeps/powerpc/powerpc32/sysdep.h:
15008 Replace ASM_TYPE_DIRECTIVE with .type.
15009 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15010 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15011 * sysdeps/i386/fpu/e_powf.S: Likewise.
15012 * sysdeps/i386/fpu/e_expl.S: Likewise.
15013 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15014 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15015 * sysdeps/i386/fpu/e_pow.S: Likewise.
15016 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15017 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15018 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15019 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15020 * sysdeps/i386/fpu/e_log2.S: Likewise.
15021 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15022 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15023 * sysdeps/i386/fpu/e_powl.S: Likewise.
15024 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15025 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15026 * sysdeps/i386/fpu/e_logl.S: Likewise.
15027 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15028 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15029 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15030 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15031 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15032 * sysdeps/i386/fpu/e_log.S: Likewise.
15033 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15034 * sysdeps/i386/fpu/e_logf.S: Likewise.
15035 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15036 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15037 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15038 * sysdeps/i386/fpu/e_log10.S: Likewise.
15039 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15040 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15041 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15042 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15043 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15044 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15045 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15046 * sysdeps/i386/i686/strtok.S: Likewise.
15047 * sysdeps/i386/i386-mcount.S: Likewise.
15048 * sysdeps/i386/strtok.S: Likewise.
15049 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15050 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15051 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15052 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15053 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15054 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15055 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15056 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15057 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15058 * sysdeps/x86_64/_mcount.S: Likewise.
15059 * sysdeps/x86_64/strtok.S: Likewise.
15060 * sysdeps/sh/_mcount.S: Likewise.
15061
15062 2012-08-01 Roland McGrath <roland@hack.frob.com>
15063
15064 * libio/iofopen.c: Include <fcntl.h>.
15065 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15066 (_IO_fopen64, fopen64): Define as aliases.
15067 * libio/iofopen64.c: Include <fcntl.h>.
15068 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15069 Conditionalize body on this.
15070 * sysdeps/wordsize-64/iofopen.c: File removed.
15071 * sysdeps/wordsize-64/iofopen64.c: File removed.
15072
15073 2012-08-01 Marek Polacek <polacek@redhat.com>
15074
15075 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15076 Use dlfcn directly instead of a variable.
15077 (binfmt-subdir): Do not define.
15078 (dlfcn): Likewise.
15079
15080 2012-08-01 Joseph Myers <joseph@codesourcery.com>
15081
15082 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15083 Remove all definitions.
15084 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15085 <kernel-features.h>.
15086 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15087 (miss_F_GETOWN_EX): Remove all definitions.
15088 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15089 macro definition.
15090 [!__ASSUME_FCNTL64]: Remove conditional code.
15091 [__ASSUME_FCNTL64]: Make code unconditional.
15092 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15093 <kernel-features.h>.
15094 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15095 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15096 (lockf64) [__NR_fcntl64]: Make code unconditional.
15097 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15098
15099 * sysdeps/unix/sysv/linux/kernel-features.h
15100 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15101 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15102 Make code unconditional.
15103 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15104 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15106 [__NR_vfork]: Make code unconditional.
15107 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15108 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15110 [__NR_vfork]: Make code unconditional.
15111 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15112 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15113
15114 2012-08-01 Roland McGrath <roland@hack.frob.com>
15115
15116 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15117 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15118
15119 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15120 Define mkstemp64 as an alias.
15121 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15122 Define mkstemps64 as an alias.
15123 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15124 Define mkostemp64 as an alias.
15125 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15126 Define mkostemps64 as an alias.
15127 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15128 Conditionalize body on this.
15129 * misc/mkostemp64.c: Likewise.
15130 * misc/mkostemps64.c: Likewise.
15131 * misc/mkstemps64.c: Likewise.
15132 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15133 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15134 * sysdeps/wordsize-64/mkostemp.c: File removed.
15135 * sysdeps/wordsize-64/mkstemp.c: File removed.
15136 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15137 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15138 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15139 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15140
15141 [BZ #14138]
15142 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15143 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15144 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15145 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15146
15147 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15148 compat_symbol macros from <shlib-compat.h> rather than the underlying
15149 default_symbol_version and symbol_version macros, so that DEFAULT
15150 lines in shlib-versions are respected.
15151 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15152
15153 2012-08-01 Florian Weimer <fweimer@redhat.com>
15154
15155 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15156 Declare with warn_unused_result.
15157 (setgid, setregid, setegid, setresgid): Likewise.
15158 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15159 Likewise.
15160 * WUR-REPORT: Remove set*id functions.
15161
15162 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15163
15164 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15165
15166 2012-07-31 Roland McGrath <roland@hack.frob.com>
15167
15168 [BZ #10191]
15169 * include/sys/socket.h (__libc_accept, __libc_accept4):
15170 Add attribute_hidden.
15171 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15172
15173 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15174 use of PTR_MANGLE.
15175 * inet/getnetgrent_r.c (setup): Likewise.
15176
15177 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15178
15179 2012-07-31 David S. Miller <davem@davemloft.net>
15180
15181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15182
15183 2012-07-31 Joseph Myers <joseph@codesourcery.com>
15184
15185 [BZ #13629]
15186 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15187 value between 1.0 and 2.0 and smaller part has absolute value less
15188 than 1.0.
15189 * math/s_clog10.c (__clog10): Likewise.
15190 * math/s_clog10f.c (__clog10f): Likewise.
15191 * math/s_clog10l.c (__clog10l): Likewise.
15192 * math/s_clogf.c (__clogf): Likewise.
15193 * math/s_clogl.c (__clogl): Likewise.
15194 * math/libm-test.inc (clog_test): Add more tests.
15195 (clog10_test): Likewise.
15196 * sysdeps/i386/fpu/libm-test-ulps: Update.
15197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15198
15199 2012-07-31 Florian Weimer <fweimer@redhat.com>
15200
15201 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15202 Exit with zero in case no suitable GID is found, and write a
15203 message to standard error.
15204
15205 2012-07-30 Roland McGrath <roland@hack.frob.com>
15206
15207 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15208 rather than to 1.
15209 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15210 (MAXPATHLEN): Removed.
15211 (NOGROUP, NODEV): New macros.
15212 (setbit, clrbit, isset, isclr): New macros.
15213 (howmany, roundup, powerof2): New macros.
15214 (DEV_BSIZE): New macro.
15215
15216 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15217 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15218
15219 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15220 definition on [!__NO_LONG_DOUBLE_MATH].
15221
15222 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15223 PTR_MANGLE and PTR_DEMANGLE.
15224
15225 * socket/accept4.c (accept4): Rename to __libc_accept4.
15226 Define accept4 as a weak alias.
15227
15228 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15229 on [_DIRENT_HAVE_D_TYPE].
15230 * io/ftw.c (ftw_dir): Likewise.
15231
15232 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15233
15234 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15235
15236 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15237 Use the BSD numbers rather than the arbitrary ones we had.
15238 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15239 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15240 (SIGXCPU, SIGXFSZ): New macros.
15241 (_NSIG): Now 32.
15242
15243 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15244 initializer on [_LIBC_REENTRANT].
15245
15246 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15247 definitions inside [_POSIX_MAPPED_FILES].
15248
15249 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15250
15251 * dirent/opendir.c: Include <fcntl.h>.
15252
15253 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15254 (__libc_getspecific): Likewise.
15255 (__libc_key_create): Likewise.
15256
15257 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15258 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15259 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15260 (tmpfile64): Define as alias.
15261 * sysdeps/wordsize-64/tmpfile.c: File removed.
15262 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15263 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15264 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15265
15266 * stdio-common/vfscanf.c: Include <stdbool.h>.
15267 * nss/makedb.c: Likewise.
15268 * stdio-common/_i18n_number.h: Likewise.
15269 * argp/argp-help.c: Likewise.
15270 * posix/wordexp.c: Likewise.
15271 * sysdeps/posix/spawni.c: Likewise.
15272 * nss/nss_files/files-initgroups.c: Likewise.
15273 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15274 * nss/nss_files/files-initgroups.c: Likewise.
15275 * nss/nss_db/db-netgrp.c: Likewise.
15276 * nss/nss_db/db-initgroups.c: Likewise.
15277 * io/fchmodat.c: Include <sys/stat.h>.
15278
15279 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15280 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15281
15282 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15283 [HAVE_MMAP].
15284
15285 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15286 Add multiple inclusion protection.
15287
15288 2012-07-27 David S. Miller <davem@davemloft.net>
15289
15290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15291
15292 2012-07-27 Gary Benson <gbenson@redhat.com>
15293
15294 [BZ #14298]
15295 * elf/rtld.c: Include <stap-probe.h>.
15296 (dl_main): Added static probes "init_start" and "init_complete".
15297 * elf/dl-load.c: Include <stap-probe.h>.
15298 (lose): Take new parameter "nsid".
15299 Added static probe "map_failed".
15300 (_dl_map_object_from_fd): Pass namespace id to lose.
15301 Added static probe "map_start".
15302 (open_verify): Pass namespace id to lose.
15303 * elf/dl-open.c: Include <stap-probe.h>.
15304 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15305 and "reloc_complete".
15306 * elf/dl-close.c: Include <stap-probe.h>.
15307 (_dl_close_worker): Added static probes "unmap_start" and
15308 "unmap_complete".
15309 * elf/rtld-debugger-interface.txt: New file documenting the above.
15310
15311 2012-07-26 Roland McGrath <roland@hack.frob.com>
15312
15313 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15314 rather than a string variable.
15315 * sunrpc/rpc_main.c (h_output): Likewise.
15316 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15317
15318 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15319
15320 * inet/check_native.c: New file.
15321
15322 2012-07-26 Joseph Myers <joseph@codesourcery.com>
15323
15324 [BZ #13629]
15325 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15326 if larger part has absolute value 1.0.
15327 * math/s_clog10.c (__clog10): Likewise.
15328 * math/s_clog10f.c (__clog10f): Likewise.
15329 * math/s_clog10l.c (__clog10l): Likewise.
15330 * math/s_clogf.c (__clogf): Likewise.
15331 * math/s_clogl.c (__clogl): Likewise.
15332 * math/libm-test.inc (clog_test): Add more tests.
15333 (clog10_test): Likewise.
15334 * sysdeps/i386/fpu/libm-test-ulps: Update.
15335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15336
15337 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15338 (pltexit): Likewise.
15339 (La_regs): Likewise.
15340 (La_retval): Likewise.
15341 (int_retval): Likewise.
15342 Update #error for removed macros to refer only to definitions in
15343 tst-audit.h.
15344 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15345 macro.
15346 (pltexit): Likewise.
15347 (La_regs): Likewise.
15348 (La_retval): Likewise.
15349 (int_retval): Likewise.
15350 * elf/tst-auditmod4b.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-auditmod5b.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-auditmod6b.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-auditmod6c.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-auditmod7b.c (pltenter): Remove all definitions of
15375 macro.
15376 (pltexit): Likewise.
15377 (La_regs): Likewise.
15378 (La_retval): Likewise.
15379 (int_retval): Likewise.
15380 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15381 macro definitions in tst-audit.h.
15382 * sysdeps/i386/tst-audit.h: New file.
15383 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15384 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15385 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15386 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15387 * sysdeps/sh/tst-audit.h: Likewise.
15388 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15389 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15390 * sysdeps/x86_64/tst-audit.h: Likewise.
15391
15392 2012-07-26 Andreas Jaeger <aj@suse.de>
15393
15394 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15395 ptrace.
15396
15397 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15398 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15399 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15400 PTRACE_O_MASK.
15401 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15402 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15403 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15404
15405 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15406 value.
15407
15408 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15409 _sigsys.
15410 (si_call_addr, si_syscall, si_arch): Define new macro.
15411 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15412 _sigsys.
15413 (si_call_addr, si_syscall, si_arch): Define new marcro.
15414 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15415 _sigsys.
15416 (si_call_addr, si_syscall, si_arch): Define new macro.
15417 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15418 _sigsys.
15419 (si_call_addr, si_syscall, si_arch): Define new macro.
15420
15421 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15422
15423 [BZ #13717]
15424 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15425 Change to 2.4.21 where previously 2.4.1.
15426 * sysdeps/unix/sysv/linux/configure: Regenerated.
15427 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15428 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15429 Linux kernel version.
15430 (__ASSUME_STD_AUXV): Remove.
15431 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15432 kernel version.
15433 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15434 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15435 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15436 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15437 (__ASSUME_NETLINK_SUPPORT): Likewise.
15438 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15439 (__no_netlink_support): Remove conditional definition.
15440 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15441 Remove.
15442 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15443 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15444 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15445 (if_nameindex_ioctl): Remove.
15446 (if_nameindex_netlink): Do not handle __no_netlink_support.
15447 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15448 code.
15449 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15450 Remove conditional code.
15451 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15452 code.
15453 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15454 unconditional.
15455 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15456 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15457 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15458 Remove.
15459 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15460 [!__ASSUME_STD_AUXV]: Remove conditional code.
15461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15462 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15463 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15465 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15466 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15467 code.
15468 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15470 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15471 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15472 conditional code.
15473 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15475 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15476 code.
15477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15478 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15479 conditional code.
15480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15481 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15482 code unconditional.
15483 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15484 conditional code.
15485 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15486 unconditional.
15487 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15488 conditional code.
15489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15490 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15491 unconditional.
15492 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15493 conditional code.
15494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15495 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15496 code unconditional.
15497 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15498 conditional code.
15499 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15500 unconditional.
15501 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15502 conditional code.
15503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15504 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15505 code unconditional.
15506 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15507 conditional code.
15508 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15509 unconditional.
15510 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15511 conditional code.
15512
15513 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15514
15515 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15516 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15517 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15518 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15519 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15520 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15521 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15522 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15523 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15524 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15525 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15526 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15527 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15528 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15529 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15530 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15531 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15532 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15533 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15534 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15535 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15536 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15537 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15538
15539 2012-07-25 Florian Weimer <fweimer@redhat.com>
15540
15541 * Versions.def: Add GLIBC_2.17.
15542 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15543 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15544 Introduce __libc_secure_getenv.
15545 * stdlib/Versions (2.17): Add secure_getenv
15546 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15547 * stdlib/secure-getenv.c: Rename __secure_getenv to
15548 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15549 symbol __secure_getenv for GLIBC_2.0.
15550 * stdlib/tst-secure-getenv.c: New.
15551 * stdlib/Makefile (tests): Add testcase.
15552 * manual/startup.texi (Environment Access): Document
15553 secure_getenv.
15554 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15555 __libc_secure_getenv.
15556 * inet/ruserpass.c (ruserpass): Likewise.
15557 * malloc/mtrace.c (mtrace): Likewise.
15558 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
15559 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15560 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15561 * sysdeps/posix/tempname.c: Likewise. Evaluate
15562 HAVE_SECURE_GETENV.
15563 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
15564 __secure_getenv to __libc_secure_getenv.
15565 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
15566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15567 Likewise.
15568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15569 Likewise.
15570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15572 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15577
15578 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15579
15580 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15581 (struct La_i86_retval): Likewise.
15582 (struct La_x86_64_regs): Likewise.
15583 (struct La_x86_64_retval): Likewise.
15584 (struct La_x32_regs): Likewise.
15585 (struct La_x32_retval): Likewise.
15586 (struct La_ppc32_regs): Likewise.
15587 (struct La_ppc32_retval): Likewise.
15588 (struct La_ppc64_regs): Likewise.
15589 (struct La_ppc64_retval): Likewise.
15590 (struct La_sh_regs): Likewise.
15591 (struct La_sh_retval): Likewise.
15592 (struct La_s390_32_regs): Likewise.
15593 (struct La_s390_32_retval): Likewise.
15594 (struct La_s390_64_regs): Likewise.
15595 (struct La_s390_64_retval): Likewise.
15596 (struct La_sparc32_regs): Likewise.
15597 (struct La_sparc32_retval): Likewise.
15598 (struct La_sparc64_regs): Likewise.
15599 (struct La_sparc64_retval): Likewise.
15600 (struct audit_ifaces): Remove architecture-specific pltenter and
15601 pltexit members.
15602 * sysdeps/i386/ldsodefs.h: New file.
15603 * sysdeps/powerpc/ldsodefs.h: Likewise.
15604 * sysdeps/s390/ldsodefs.h: Likewise.
15605 * sysdeps/sh/ldsodefs.h: Likewise.
15606 * sysdeps/sparc/ldsodefs.h: Likewise.
15607 * sysdeps/x86_64/ldsodefs.h: Likewise.
15608
15609 2012-07-25 Marek Polacek <polacek@redhat.com>
15610
15611 [BZ #6808]
15612 * math/libm-test.inc (yn_test): Add another test.
15613 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15614 to ERANGE when the result is +-Inf.
15615 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15616 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15617 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15618 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15619
15620 2012-07-24 Joseph Myers <joseph@codesourcery.com>
15621
15622 * conform/data/time.h-data (NULL): Use macro-constant. Require
15623 equal to 0.
15624 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15625 clock_t.
15626 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15627
15628 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15629
15630 * configure.in <sysdeps resolving>: Correct printing
15631 Implies_before.
15632 * configure: Regenerate.
15633
15634 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15635
15636 * math/w_ilogb.c: Include <limits.h>.
15637 * math/w_ilogbl.c: Likewise.
15638
15639 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15640
15641 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15642 va_copy. Document allowing for unavailable va_copy only as
15643 pre-C99 compatibility.
15644 * manual/string.texi (Copying and Concatenation): Use va_copy
15645 instead of __va_copy in concat example.
15646
15647 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15648
15649 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15650 (__sendto): Use create_address_port. Initialize APORT and deallocate
15651 it if not null.
15652
15653 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15654 with O_NOLINK passed to __file_name_lookup.
15655
15656 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15657 with O_NOLINK passed to __file_name_lookup.
15658
15659 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15660 negative N or less than NGIDS.
15661
15662 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15663 type to string_t. Set ERANGE as errno and return it if NAME is not big
15664 enough. Use memcpy instead of strncpy.
15665
15666 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15667
15668 * elf/Makefile (check-data): Remove.
15669 (localplt.data): New vpath directive.
15670 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15671 instead of $(check-data).
15672 * scripts/data/localplt-generic.data: Move to ...
15673 * sysdeps/generic/localplt.data: ... here.
15674 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15675 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15676 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15678 ... here.
15679 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15681 ... here.
15682 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15684 ... here.
15685 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15687 ... here.
15688 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15689 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15690 ... here.
15691 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15693 ... here.
15694
15695 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15696
15697 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15698 PPC32 and PPC64 files.
15699 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15700 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15701
15702 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15703
15704 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15705 __makecontext_ret to ...
15706 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15707 ... here and call exit if uc_link is NULL. New file.
15708 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15709 __makecontext_ret.S.
15710 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15711 __makecontext_ret to ...
15712 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15713 ... here and call exit if uc_link is NULL. New file.
15714 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15715 __makecontext_ret.S.
15716
15717 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15718
15719 * elf/elf.h (R_390_IRELATIVE): New definition.
15720 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15721 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15722 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15723 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15724 (elf_machine_lazy_rel): Likewise.
15725 * sysdeps/s390/dl-irel.h: New file.
15726 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15727 * sysdeps/s390/s390-64/memset.S: New asm code.
15728 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15729 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15730 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15731 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15732 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15733 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15734 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15735 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15736 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15737 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15738 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15739 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15740 * sysdeps/s390/s390-32/memset.S: New asm code.
15741 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15742
15743 2012-07-17 Marek Polacek <polacek@redhat.com>
15744
15745 [BZ #14349]
15746 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15747 * sysdeps/s390/s390-64/configure.in: Likewise.
15748 * sysdeps/sparc/configure.in: Likewise.
15749 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15750 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15751 * sysdeps/i386/configure.in: Likewise.
15752 * sysdeps/x86_64/configure.in: Likewise.
15753 * sysdeps/sh/configure.in: Likewise.
15754 * sysdeps/s390/s390-32/configure: Regenerated.
15755 * sysdeps/s390/s390-64/configure: Likewise.
15756 * sysdeps/x86_64/configure: Likewise.
15757 * sysdeps/sh/configure: Likewise.
15758 * sysdeps/powerpc/powerpc64/configure: Likewise.
15759 * sysdeps/powerpc/powerpc32/configure: Likewise.
15760 * sysdeps/sparc/configure: Likwise.
15761 * sysdeps/i386/configure: Likewise.
15762
15763 * elf/dl-open.c: Comment fixes.
15764
15765 2012-07-17 Joseph Myers <joseph@codesourcery.com>
15766
15767 * Makefile [CXX] (check-data): Remove.
15768 [CXX] (c++-types.data): New vpath directive.
15769 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15770 vpath. Do not allow for C++ type data being missing.
15771 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15772 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15773 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15774 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15775 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15776 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15777 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15779 ... here.
15780 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15782 ... here.
15783 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15785 ... here.
15786 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15788 ... here.
15789 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15790 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15791 ... here.
15792 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15794 ... here.
15795 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15797 ... here.
15798 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15800
15801 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15802 definitions to architecture-specific files.
15803 (TLS_IE): Likewise.
15804 (TLS_LD): Likewise.
15805 (TLS_GD): Likewise.
15806 * sysdeps/i386/tls-macros.h: New file.
15807 * sysdeps/powerpc/tls-macros.h: Likewise.
15808 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15809 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15810 * sysdeps/sh/tls-macros.h: Likewise.
15811 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15812 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15813 * sysdeps/x86_64/tls-macros.h: Likewise.
15814
15815 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15816
15817 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15818 zero value for regular exit case.
15819
15820 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15821 (__start_context): Preserve zero value for regular exit case.
15822
15823 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15824 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15825
15826 * manual/setjmp.texi (setcontext): Clarify normal process
15827 termination when uc_link is the null pointer.
15828 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15829 exit call.
15830
15831 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15832
15833 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15834 preprocessor. Test for each exception mask separately.
15835
15836 2012-07-16 Andreas Jaeger <aj@suse.de>
15837
15838 * po/ru.po: Update from translation team.
15839
15840 2012-07-15 Joseph Myers <joseph@codesourcery.com>
15841
15842 * conform/data/string.h-data (NULL): Use macro-constant. Require
15843 equal to 0.
15844 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15845 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15846 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15847 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15848 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15849
15850 2012-07-13 Andreas Jaeger <aj@suse.de>
15851
15852 * po/fr.po: Update from translation team.
15853
15854 2012-07-12 Marek Polacek <polacek@redhat.com>
15855
15856 [BZ #14173]
15857 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15858 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15859 loop condition.
15860
15861 2012-07-12 Joseph Myers <joseph@codesourcery.com>
15862
15863 [BZ #13717]
15864 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15865 Change to 2.4.1 where previously 2.4.0.
15866 * sysdeps/unix/sysv/linux/configure: Regenerated.
15867 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15868 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15869 version.
15870 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15871 (__ASSUME_AT_CLKTCK): Remove.
15872 (__ASSUME_AT_PAGESIZE): Likewise.
15873 (__ASSUME_AT_XID): Likewise.
15874 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15875 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15876 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15877 unconditionally.
15878 (HAVE_AUX_PAGESIZE): Likewise.
15879 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15880 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15881 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15882
15883 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15884
15885 [BZ #14307]
15886 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15887 the temporary buffer used to invoke __gethostbyname2_r,
15888 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15889 host_data / struct gaih_addrtuple.
15890 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15891 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15892 header file nss/nsswitch.h.
15893 * nss/nsswitch.h (global scope): Add definition of implementation
15894 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15895 resolv/nss_dns/dns-host.c).
15896
15897 2012-07-11 Andreas Jaeger <aj@suse.de>
15898
15899 * po/fr.po: Update from translation team.
15900
15901 * po/sv.po: Update from translation team
15902 * po/fr.po: Another update from translation team.
15903
15904 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15905
15906 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15907 for subnormals or multiply small sinh result by itself.
15908 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15910
15911 2012-07-11 David S. Miller <davem@davemloft.net>
15912
15913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15914
15915 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15916
15917 [BZ #14347]
15918 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15919 (INTERNAL_MARK): Shift it here.
15920
15921 2012-07-10 Marek Polacek <polacek@redhat.com>
15922
15923 [BZ #14151]
15924 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15925 libc_cv_asm_global_directive with .globl.
15926 * configure: Regenerated.
15927 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15928 with .globl.
15929 * sysdeps/i386/configure: Regenerated.
15930 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15931 with .globl.
15932 * sysdeps/x86_64/configure: Regenerated.
15933 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15934 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15935 * elf/tst-unique2mod2.c: Likewise.
15936 * elf/tst-unique2mod1.c: Likewise.
15937 * elf/tst-unique1mod2.c: Likewise.
15938 * elf/tst-unique1mod1.c: Likewise.
15939 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15940 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15941 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15942 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15943 * sysdeps/mach/sysdep.h: Likewise.
15944 * sysdeps/i386/sysdep.h: Likewise.
15945 * sysdeps/i386/i386-mcount.S: Likewise.
15946 * sysdeps/x86_64/_mcount.S: Likewise.
15947 * sysdeps/x86_64/sysdep.h: Likewise.
15948 * sysdeps/sh/_mcount.S: Likewise.
15949 * sysdeps/sh/sysdep.h: Likewise.
15950 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15951 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15952 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15953 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15954 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15955 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15956 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15957 * locale/localeinfo.h: Likewise.
15958 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15959 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15960
15961 2012-07-09 Roland McGrath <roland@hack.frob.com>
15962
15963 [BZ #14336]
15964 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15965 system".
15966 * manual/message.texi (The Uniforum approach): Likewise.
15967 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15968 (glibc iconv Implementation): Likewise.
15969
15970 2012-07-09 Joseph Myers <joseph@codesourcery.com>
15971
15972 [BZ #14337]
15973 * math/s_clog.c (__clog): Avoid scaling a value down where that
15974 could result in underflow.
15975 * math/s_clog10.c (__clog10): Likewise.
15976 * math/s_clog10f.c (__clog10f): Likewise.
15977 * math/s_clog10l.c (__clog10l): Likewise.
15978 * math/s_clogf.c (__clogf): Likewise.
15979 * math/s_clogl.c (__clogl): Likewise.
15980 * math/libm-test.inc (clog_test): Add more tests.
15981 (clog10_test): Likewise.
15982 * sysdeps/i386/fpu/libm-test-ulps: Update.
15983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15984
15985 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15986
15987 [BZ #14283]
15988 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15989 by 7 not 8 to examine high bit of fractional part.
15990
15991 [BZ #14042]
15992 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15993 for call to __mcount_internal.
15994 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15995 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15996 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15997
15998 2012-07-06 Joseph Myers <joseph@codesourcery.com>
15999
16000 [BZ #14154]
16001 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16002 approximation for values within 0x1p-13f of an odd multiple of
16003 pi/4.
16004 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16005 exception. Add more tests.
16006 * sysdeps/i386/fpu/libm-test-ulps: Update.
16007
16008 [BZ #6778]
16009 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16010 inputs and return -1 for them. Do not check for +Inf in case not
16011 reachable for +Inf.
16012 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16013 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16014 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16015 and return -1 for them. Do not check for +Inf in case not
16016 reachable for +Inf.
16017 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16018 define.
16019 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16020 and return -1 for them. Do not check for +Inf in case not
16021 reachable for +Inf.
16022 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16023 spurious underflow.
16024 * sysdeps/i386/fpu/libm-test-ulps: Update.
16025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16026
16027 2012-07-06 Mike Frysinger <vapier@gentoo.org>
16028
16029 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16030
16031 2012-07-05 Joseph Myers <joseph@codesourcery.com>
16032
16033 [BZ #14157]
16034 [BZ #14331]
16035 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16036 could result in spurious underflow. Scale down values above
16037 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16038 * math/s_csqrtf.c (__csqrtf): Likewise.
16039 * math/s_csqrtl.c (__csqrtl): Likewise.
16040 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16041 spurious underflow.
16042 * sysdeps/i386/fpu/libm-test-ulps: Update.
16043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16044
16045 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16046
16047 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16048 xopen-msg.sed.
16049 * catgets/xopen-msg.awk: New file.
16050 * catgets/xopen-msg.sed: Removed.
16051
16052 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16053 po2text.sed.
16054 * intl/po2test.awk: New file.
16055 * intl/po2test.sed: Removed.
16056
16057 2012-07-04 Joseph Myers <joseph@codesourcery.com>
16058
16059 [BZ #14328]
16060 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16061 or multiply small sinh result by itself.
16062 * math/s_ctanf.c (__ctanf): Likewise.
16063 * math/s_ctanh.c (__ctanh): Likewise.
16064 * math/s_ctanhf.c (__ctanhf): Likewise.
16065 * math/s_ctanhl.c (__ctanhl): Likewise.
16066 * math/s_ctanl.c (__ctanl): Likewise.
16067 * math/libm-test.inc (ctan_test_tonearest): New function.
16068 (ctan_test_towardzero): Likewise.
16069 (ctan_test_downward): Likewise.
16070 (ctan_test_upward): Likewise.
16071 (ctanh_test_tonearest): Likewise.
16072 (ctanh_test_towardzero): Likewise.
16073 (ctanh_test_downward): Likewise.
16074 (ctanh_test_upward): Likewise.
16075 (main): Call these new functions.
16076 * sysdeps/i386/fpu/libm-test-ulps: Update.
16077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16078
16079 2012-07-03 Mike Frysinger <vapier@gentoo.org>
16080
16081 * .gitignore: Delete /ports entry.
16082
16083 2012-07-03 Andreas Jaeger <aj@suse.de>
16084
16085 * po/bg.po: Update from translation team.
16086 * po/cs.po: Likewise.
16087 * po/de.po: Likewise.
16088 * po/hr.po: Likewise.
16089 * po/nl.pl: Likewise.
16090 * po/pl.po: Likewise.
16091 * po/vi.po: Likewise.
16092
16093 2012-07-03 Joseph Myers <joseph@codesourcery.com>
16094
16095 * Makeconfig [!+link] (+link-before-libc): New variable.
16096 [!+link] (+link-after-libc): Likewise.
16097 [!+link] (+link-tests): Likewise.
16098 [!+link] (+link): Define in terms of $(+link-before-libc) and
16099 $(+link-after-libc).
16100 [!+link-static] (+link-static-before-libc): New variable.
16101 [!+link-static] (+link-static-after-libc): Likewise.
16102 [!+link-static] (+link-static-tests): Likewise.
16103 [!+link-static] (+link-static): Define in terms of
16104 $(+link-static-before-libc) and $(+link-static-after-libc).
16105 [build-shared] (link-libc-before-gnulib): New variable.
16106 [build-shared] (link-libc-tests): Likewise.
16107 [build-shared] (link-libc): Define in terms of
16108 $(link-libc-before-gnulib).
16109 [!build-shared] (link-libc-tests): New variable.
16110 (link-libc-static-tests): New variable.
16111 [!gnulib] (gnulib-arch): New variable.
16112 [!gnulib] (gnulib-tests): Likewise.
16113 [!gnulib] (static-gnulib-arch): Likewise.
16114 [!gnulib] (static-gnulib-tests): Likewise.
16115 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16116 Define with "=" instead of ":=".
16117 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16118 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16119 * Rules (binaries-all-notests): New variable.
16120 (binaries-all-tests): Likewise.
16121 (binaries-static-notests): Likewise.
16122 (binaries-static-tests): Likewise.
16123 (binaries-all): Define using $(binaries-all-notests) and
16124 $(binaries-all-tests).
16125 (binaries-static): Define using $(binaries-static-notests) and
16126 $(binaries-static-tests).
16127 (binaries-shared-tests): New variable.
16128 (binaries-shared-notests): Likewise.
16129 (binaries-shared): Remove variable.
16130 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16131 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16132 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16133 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16134 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16135 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16136 * elf/Makefile (sln-modules): New variable.
16137 (extra-objs): Add $(sln-modules:=.o).
16138 (ldconfig-modules): Add static-stubs.
16139 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16140 * elf/static-stubs.c: New file.
16141
16142 [BZ #14283]
16143 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16144 by 7 not 8 to examine high bit of fractional part. Use volatile
16145 variables when splitting into final array of floats if
16146 __FLT_EVAL_METHOD__ != 0.
16147 * math/libm-test.inc (cos_test): Add another test.
16148 (sin_test): Likewise.
16149 * sysdeps/i386/fpu/libm-test-ulps: Update.
16150
16151 [BZ #14273]
16152 * math/libm-test.inc (cosh_test): Add more tests.
16153
16154 * version.h (RELEASE): Set to "development".
16155 (VERSION): Set to "2.16.90".
16156
16157 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16158
16159 * NEWS: Update copyright. Remove last-updated date.
16160 Mention math library bug fixes and timezone data changes.
16161 * README: Mention GNU/Hurd, x32, and HPPA support status.
16162
16163 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16164
16165 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16166
16167 2012-06-27 Andreas Jaeger <aj@suse.de>
16168
16169 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16170
16171 2012-06-25 Andreas Jaeger <aj@suse.de>
16172
16173 * sysdeps/s390/fpu/libm-test-ulps: Update.
16174
16175 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16176 Thomas Schwinge <thomas@codesourcery.com>
16177
16178 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16179 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16180 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16181 fanotify_mark.
16182
16183 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16184
16185 * sysdeps/mach/start.c: Remove file.
16186 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16187 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16188 * sysdeps/sh/init-first.c: Likewise.
16189
16190 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16191 registers for frame unwinding purposes, add CFI directives.
16192 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16193 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16194 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16195 Likewise.
16196
16197 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16198 __fortify_fail returning.
16199 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16200
16201 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16202 sysdeps/sh/____longjmp_chk.S.
16203 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16204 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16205 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16206 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16207
16208 * sysdeps/sh/abort-instr.h: New file.
16209 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16210 process in case exit returns.
16211
16212 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16213 initialize the GOT register before use.
16214
16215 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16216 calculation of ARGC > 4.
16217
16218 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16219 meaningful names to some local labels.
16220
16221 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16222 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16223
16224 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16225 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16226 (__arch_compare_and_exchange_val_16_acq): Likewise.
16227 (__arch_compare_and_exchange_val_32_acq): Likewise.
16228 (atomic_exchange_and_add): Fix gUSA sequence.
16229 (atomic_add): Likewise.
16230 (atomic_add_negative): Likewise.
16231 (atomic_add_zero): Likewise.
16232 (atomic_bit_test_set): Likewise.
16233
16234 2012-06-22 Andreas Schwab <schwab@redhat.com>
16235
16236 [BZ #13579]
16237 * include/link.h (struct link_map): Add l_free_initfini.
16238 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16239 l_initfini.
16240 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16241 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16242 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16243 set.
16244
16245 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16246
16247 * configure.in: Use AC_LANG_SOURCE.
16248 * configure: Regenerate.
16249
16250 2012-06-22 Roland McGrath <roland@hack.frob.com>
16251
16252 * configure.in (libc_cv_localstatedir): New substituted variable.
16253 * configure: Regenerated.
16254 * config.make.in (localstatedir): New variable, substituted from
16255 libc_cv_localstatedir.
16256 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16257 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16258 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16259 * sysdeps/gnu/configure: Regenerated.
16260
16261 2012-06-21 Jeff Law <law@redhat.com>
16262
16263 [BZ #14277]
16264 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16265 free. Simplify list management for _LIBC case.
16266
16267 2012-06-21 Joseph Myers <joseph@codesourcery.com>
16268
16269 [BZ #14273]
16270 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16271 Clear sign bit of 64-bit integer value before comparing against
16272 overflow value.
16273
16274 * sysdeps/mach/configure: Regenerated.
16275
16276 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16277
16278 [BZ #14278]
16279 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16280
16281 2012-06-21 Jeff Law <law@redhat.com>
16282
16283 [BZ #13882]
16284 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16285 uint16_t for elements in the "seen" array to avoid char overflows.
16286 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16287 * elf/dl-open.c (dl_open_worker): Likewise.
16288
16289 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16290
16291 * scripts/list-sources.sh: Scan PORTS for translations.
16292 * po/libc.pot: Regenerated.
16293
16294 2012-06-21 Andreas Jaeger <aj@suse.de>
16295
16296 [BZ #12194]
16297 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16298 warning.
16299 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16300 * bits/byteswap-16.h (__bswap_16): Likewise.
16301 * bits/byteswap.h (__bswap_constant_16): Likewise.
16302
16303 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16304
16305 [BZ #14117]
16306 * sysdeps/i386/fpu_control.h: Removed.
16307 * sysdeps/x86_64/fpu_control.h: Moved to ...
16308 * sysdeps/x86/fpu_control.h: Here.
16309
16310 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16311 (_FPU_SETCW): Likewise.
16312
16313 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16314
16315 [BZ #14117]
16316 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16317 * sysdeps/x86/fpu/bits/mathinline.h: This.
16318 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16319
16320 [BZ #14050]
16321 [BZ #14117]
16322 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16323 functions if __x86_64__ is defined.
16324
16325 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16326
16327 * string/endian.h: Add !__ASSEMBLER__ condition for including
16328 conversion interfaces.
16329
16330 2012-06-15 Joseph Myers <joseph@codesourcery.com>
16331
16332 [BZ #14241]
16333 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16334 of ABS(x) in calculating zero to negative powers other than odd
16335 integers.
16336 * math/libm-test.inc (pow_test): Add more tests.
16337
16338 2012-06-15 Andreas Jaeger <aj@suse.de>
16339
16340 * manual/contrib.texi (Contributors): Update entry of Liubov
16341 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16342 Machado Filho.
16343
16344 2012-06-15 Cyril Hrubis <metan@ucw.cz>
16345
16346 * string/string.h: Add __wur to GNU version of strerror_r.
16347
16348 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16349
16350 [BZ #14229]
16351 * string/Makefile (tests): Add tst-strtok_r.
16352 * string/tst-strtok_r.c: New file.
16353 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16354 RAX_LP/RDX_LP on SAVE_PTR.
16355
16356 2012-06-14 Roland McGrath <roland@hack.frob.com>
16357
16358 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16359
16360 2012-06-14 Joseph Myers <joseph@codesourcery.com>
16361
16362 * libm_test.inc (csqrt_test): Allow more spurious underflow
16363 exceptions.
16364 (j0_test): Likewise.
16365 (j1_test): Likewise.
16366 (y0_test): Likewise.
16367 (y1_test): Likewise.
16368
16369 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16370
16371 * po/Makefile (libc.pot): Use UTF-8 charset.
16372
16373 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16374
16375 [BZ #14210]
16376 Suppress sign-conversion warning from FD_SET.
16377 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16378 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16379 not unsigned long int.
16380 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16381
16382 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16383
16384 [BZ #14050]
16385 [BZ #14117]
16386 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16387 __extern_always_inline instead of __extern_inline.
16388 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16389 (__signbit): Likewise.
16390 (__signbitl): Support C++ namespace.
16391 (lrintf): New inline function.
16392 (lrint): Likewise.
16393 (llrintf): Likewise.
16394 (llrint): Likewise.
16395 (fmaxf): Likewise.
16396 (fmax): Likewise.
16397 (fminf): Likewise.
16398 (fmin): Likewise.
16399 (rint): Likewise.
16400 (rintf): Likewise.
16401 (ceil): Likewise.
16402 (ceilf): Likewise.
16403 (floor): Likewise.
16404 (floorf): Likewise.
16405 (nearbyint): Likewise.
16406 (nearbyintf): Likewise.
16407
16408 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16409
16410 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16411 non-default versions.
16412
16413 2012-06-11 Roland McGrath <roland@hack.frob.com>
16414
16415 [BZ #14218]
16416 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16417
16418 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16419
16420 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16421 (FE_UPWARD, FE_DOWNWARD): Don't define.
16422 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16423 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16424
16425 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16426 reading it.
16427 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16428 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16429
16430 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16431
16432 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16433 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16434 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16435 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16436
16437 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16438
16439 [BZ #14117]
16440 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16441 * sysdeps/i386/fpu/Implies: New file.
16442 * sysdeps/x86_64/fpu/Implies: Likewise.
16443 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16444 * sysdeps/x86/fpu/bits/fenv.h: This.
16445
16446 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16447 __SSE_MATH__.
16448
16449 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16450
16451 [BZ #14134]
16452 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16453 character 0xffff that matches the last element of the
16454 conversion table.
16455
16456 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16457
16458 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16459 fmodl commit.
16460
16461 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16462
16463 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16464 values higher than 25.6283.
16465
16466 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16467
16468 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16469 subnormal exponent extraction and add some __builtin_expect.
16470 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16471 Fix for subnormal mantissa calculation.
16472
16473 2012-06-04 Mike Frysinger <vapier@gentoo.org>
16474
16475 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16476 cpu2 is -1 and errno is not ENOSYS.
16477
16478 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16479
16480 [BZ #14117]
16481 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16482 * sysdeps/x86/bits/string.h: This.
16483 * sysdeps/x86_64/bits/string.h: Removed.
16484
16485 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16486 if not compiling for x86-64, but compiling for >= i486.
16487
16488 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16489 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16490
16491 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16492 New macro from Linux kernel 3.4.0.
16493 (FP_XSTATE_MAGIC2): Likewise.
16494 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16495 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16496 (struct _fpx_sw_bytes): New struct.
16497 (struct _xsave_hdr): Likewise.
16498 (struct _ymmh_state): Likewise.
16499 (struct _xstate): Likewise.
16500
16501 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16502 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16503 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16504 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16505 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16506 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16507
16508 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16509 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16510 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16511 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16512 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16513 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16514
16515 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16516
16517 [BZ #13743]
16518 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16519 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16520 (sysdep_headers): Include sys/platform/ppc.h.
16521 * sysdeps/powerpc/test-gettimebase.c: Test for
16522 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16523 * manual/Makefile (appendices): Include platform.texi.
16524 * manual/contrib.texi (Contributors): Update @node pointers.
16525 * manual/maint.texi (Maintenance): Likewise.
16526 (Platform): New node.
16527 * manual/platform.texi: New file. Document the new features.
16528
16529 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16530 Jakub Jelinek <jakub@redhat.com>
16531
16532 [BZ #14188]
16533 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16534 where __builtin_expect is unavailable.
16535
16536 2012-06-03 David S. Miller <davem@davemloft.net>
16537
16538 * stdlib/longlong.h: Updated from GCC.
16539
16540 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16541
16542 [BZ #14042]
16543 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16544 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16545 __mcount_internal.
16546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16547 (GLIBC_2.16): Likewise.
16548
16549 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16550
16551 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16552
16553 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16554
16555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16556 (default-abi): New variable.
16557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16558 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16559 variable.
16560 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16561 Likewise.
16562 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16563 Likewise.
16564 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16565 Likewise.
16566
16567 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16568 definition. Document in comment.
16569
16570 2012-06-01 David S. Miller <davem@davemloft.net>
16571
16572 * stdlib/longlong.h: Updated from GCC.
16573
16574 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16575
16576 [BZ #14117]
16577 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16578 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16579 sys/debugreg.h sys/io.h here.
16580 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16581 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16582 sys/io.h.
16583 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16584 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16585 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16586 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16587 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16588 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16589
16590 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16591 Define only if __x86_64__ is defined.
16592
16593 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16594
16595 [BZ #14048]
16596 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16597 Use int64_t for variable i.
16598 * math/libm-test.inc (fmod_test): Add more tests.
16599
16600 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16601 z computation is not scheduled after fetestexcept.
16602 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16603 Use math_force_eval instead of asm to ensure calculation scheduled
16604 before exception test.
16605 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16606 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16607
16608 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16609
16610 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16611 computation is not scheduled after fetestexcept.
16612
16613 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16614
16615 [BZ #14117]
16616 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16617 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16618
16619 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16620
16621 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16622 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16623
16624 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16625
16626 [BZ #14117]
16627 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16628 <bits/wordsize.h>.
16629 (__WCHAR_MIN): Support __WORDSIZE == 64.
16630 (__WCHAR_MAX): Likewise.
16631
16632 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16633 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16634
16635 [BZ #14183]
16636 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16637 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16638
16639 [BZ #14117]
16640 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16641 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16642
16643 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16644 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16645
16646 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16647 Defined to 1 if __x86_64__ isn't defined.
16648 (_STAT_VER_LINUX_OLD): New.
16649 (st_atime): Remove duplicate.
16650 (st_mtime): Likewise.
16651 (st_ctime): Likewise.
16652
16653 2012-05-31 David S. Miller <davem@davemloft.net>
16654
16655 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16656 entries.
16657
16658 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16659
16660 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16661 gen-libm-test.pl.
16662
16663 [BZ #14132]
16664 * elf/dl-reloc.c: Include <_itoa.h>.
16665 (_dl_reloc_bad_type): Remove use of INTUSE.
16666 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16667 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16668 * stdio-common/psiginfo.c (psiginfo): Likewise.
16669 * stdio-common/psignal.c (psignal): Likewise.
16670 * string/strsignal.c (strsignal): Likewise.
16671 * include/signal.h (_sys_siglist): Declare hidden proto.
16672 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16673 INTVARDEF with libc_hidden_data_def.
16674 * stdio-common/itoa-udigits.c: Likewise.
16675 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16676 (_itoa_lower_digits_internal): Remove declaration.
16677 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16678 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16679 (_sys_sigabbrev_internal): Remove aliases.
16680 (_sys_siglist): Define hidden alias.
16681
16682 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16683
16684 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16685 bits/sysctl.h.
16686
16687 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16688
16689 [BZ #14117]
16690 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16691 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16692
16693 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16694 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16695 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16696 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16697 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16698 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16699
16700 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16701 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16702 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16703
16704 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16705 with __addr.
16706 (insw): Likewise.
16707 (insl): Likewise.
16708 (outsb): Likewise.
16709 (outsw): Likewise.
16710 (outsl): Likewise.
16711
16712 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16713 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16714 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16715
16716 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16717 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16718 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16719 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16720 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16721 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16722
16723 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16724 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16725
16726 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16727 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16728
16729 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16730 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16731 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16732
16733 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16734 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16735 to ...
16736 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16737
16738 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16739 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16740 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16741
16742 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16743 for x86-64.
16744 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16745
16746 2012-05-31 Joseph Myers <joseph@codesourcery.com>
16747
16748 * math/math.h (M_El): Use two more decimal places.
16749 (M_LOG2El): Likewise.
16750 (M_LOG10El): Likewise.
16751 (M_LN2l): Likewise.
16752 (M_LN10l): Likewise.
16753 (M_PIl): Likewise.
16754 (M_PI_2l): Likewise.
16755 (M_PI_4l): Likewise.
16756 (M_1_PIl): Likewise.
16757 (M_2_PIl): Likewise.
16758 (M_2_SQRTPIl): Likewise.
16759 (M_SQRT2l): Likewise.
16760 (M_SQRT1_2l): Likewise.
16761
16762 2012-05-31 David S. Miller <davem@davemloft.net>
16763
16764 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16765 values between float registers.
16766 * sysdeps/sparc/sparc64/memset.S: Likewise.
16767 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16768
16769 2012-05-31 Mike Frysinger <vapier@gentoo.org>
16770
16771 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16772 -D_FORTIFY_SOURCE=1.
16773 (CPPFLAGS-tst-longjmp_chk.c): Define.
16774 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16775 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16776 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16777 CFLAGS-tst-wchar-h.c.
16778
16779 2012-05-31 Marek Polacek <polacek@redhat.com>
16780
16781 [BZ #14132]
16782 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16783 __endmntent_internal): Remove declaration.
16784 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16785 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16786 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16787
16788 2012-05-30 David S. Miller <davem@davemloft.net>
16789
16790 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16791 (___Q_simulate_exceptions): Use real FP ops rather than writing
16792 into the %fsr.
16793 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16794 Likewise.
16795
16796 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16797
16798 [BZ #14117]
16799 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16800 * sysdeps/x86/bits/xtitypes.h: This.
16801
16802 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16803 * sysdeps/x86/bits/wordsize.h: This.
16804
16805 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16806 * sysdeps/x86/bits/huge_vall.h: This.
16807
16808 * sysdeps/i386/bits/select.h: Removed.
16809 * sysdeps/x86_64/bits/select.h: Renamed to ...
16810 * sysdeps/x86/bits/select.h: This.
16811
16812 * sysdeps/i386/bits/setjmp.h: Removed.
16813 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16814 * sysdeps/x86/bits/setjmp.h: This.
16815
16816 * sysdeps/i386/bits/mathdef.h: Removed.
16817 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16818 * sysdeps/x86/bits/mathdef.h: This.
16819
16820 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16821
16822 [BZ #14132]
16823 * include/sys/socket.h (__connect_internal)
16824 (__libc_sa_len_internal): Remove declaration.
16825 (__connect, __libc_sa_len): Declare hidden_proto.
16826 (SA_LEN): Remove use of INTUSE.
16827 * socket/connect.c: Add libc_hidden_def.
16828 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16829 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16830 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16831 alias.
16832 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16833 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16834 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16835 of adding _internal alias.
16836
16837 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16838
16839 [BZ #14117]
16840 * sysdeps/i386/bits/link.h: Removed.
16841 * sysdeps/i386/bits/linkmap.h: Likewise.
16842 * sysdeps/x86_64/bits/link.h: Renamed to ...
16843 * sysdeps/x86/bits/link.h: This.
16844 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16845 * sysdeps/x86/bits/linkmap.h: This.
16846
16847 * sysdeps/i386/bits/endian.h: Removed.
16848 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16849 * sysdeps/x86/bits/endian.h: This.
16850
16851 * sysdeps/i386/bits/byteswap.h: Removed.
16852 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16853 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16854 * sysdeps/x86/bits/byteswap.h: This.
16855 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16856 * sysdeps/x86/bits/byteswap-16.h: This.
16857 * sysdeps/i386/Implies: Add x86.
16858 * sysdeps/x86_64/Implies: Likewise.
16859
16860 2012-05-30 David S. Miller <davem@davemloft.net>
16861
16862 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16863 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16864 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16865 (FP_TRAPPING_EXCEPTIONS): Define.
16866 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16867 (FP_TRAPPING_EXCEPTIONS): Define.
16868 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16869 subnormals only when inexact has been signalled or underflow
16870 exceptions are enabled.
16871 (_FP_PACK_CANONICAL): Likewise.
16872
16873 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16874
16875 [BZ #14183]
16876 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16877 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16878
16879 2012-05-30 Richard Henderson <rth@twiddle.net>
16880
16881 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16882 with #ifndef NOT_IN_libc.
16883
16884 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16885 marked to avoid plt entry.
16886
16887 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16888
16889 [BZ #14112]
16890 * Makeconfig (default-abi): New macro.
16891 (abi-includes): Likewise.
16892 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16893 $(abi-$(default-abi)-lib-soname) for soname if defined.
16894 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16895 abi-variants.
16896 * Makefile (installed-stubs): Likewise.
16897 * include/stubs-biarch.h: Removed.
16898 * scripts/lib-names.awk: Only handle one library at a time.
16899 * scripts/soversions.awk: Remove WORDSIZE support.
16900 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16901 entries.
16902 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16903 Removed.
16904 (syscall-list-default-condition): Likewise.
16905 (syscall-list-default-condition): Likewise.
16906 (syscall-list-includes): Likewise.
16907 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16908 syscall-list-* with abi-*. Handle undefined abi-variants.
16909 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16910 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16911 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16912 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16913 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16914 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16915 Removed.
16916 (syscall-list-32-options): Likewise.
16917 (syscall-list-32-condition): Likewise.
16918 (syscall-list-64-options): Likewise.
16919 (syscall-list-64-condition): Likewise.
16920 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16921 macro.
16922 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16923 Renamed to ...
16924 (abi-*): This.
16925 (abi-64-ld-soname): New macro.
16926 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16927 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16928 Renamed to ...
16929 (abi-*): This.
16930 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16931 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16932
16933 2012-05-30 Joseph Myers <joseph@codesourcery.com>
16934
16935 * sysdeps/unix/sysv/linux/kernel-features.h
16936 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16937 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16938 include <kernel-features.h>.
16939 [!__NR_ftruncate64]: Remove conditional code.
16940 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16941 [__NR_ftruncate64]: Make code unconditional.
16942 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16943 * sysdeps/unix/sysv/linux/truncate64.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/powerpc/powerpc32/ftruncate64.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/truncate64.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
16962 * configure.in (libc_cv_fpie): Weaken to a compile test using
16963 LIBC_TRY_CC_OPTION.
16964 * configure: Regenerated.
16965
16966 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16967
16968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16972 Refreshed.
16973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16979 Refreshed.
16980
16981 2012-05-27 David S. Miller <davem@davemloft.net>
16982
16983 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16984 (___Q_zero): New.
16985 (__Q_simulate_exceptions): Return void. Change to simulate
16986 exceptions by writing into the %fsr.
16987 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16988 (__Qp_handle_exceptions): Likewise.
16989 (numbers): Delete.
16990 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16991 __Qp_handle_exceptions.
16992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16993 __Qp_handle_exceptions.
16994 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16995 as unused and give dummy FP_RND_NEAREST initializer.
16996 (FP_INHIBIT_RESULTS): Define.
16997 (___Q_simulate_exceptions): Update declaration.
16998 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16999 formatting.
17000 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17001 as unused and give dummy FP_RND_NEAREST initializer.
17002 (__Qp_handle_exceptions): Update declaration.
17003 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17004 formatting.
17005
17006 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17007
17008 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17009 the temporary FPU control word.
17010 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17011 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17012 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17013 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17014 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17015 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17016 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17017 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17018 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17019 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17020 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17021
17022 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17023
17024 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17025 fields.
17026
17027 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17028
17029 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17030 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17031 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17032 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17033 Likewise.
17034 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17035 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17036 Likewise.
17037
17038 2012-05-27 Ulrich Drepper <drepper@gmail.com>
17039
17040 * po/h.po: Update from translation team.
17041
17042 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17043
17044 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17045
17046 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17047 handling of denormals.
17048 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17049 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17050 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17051 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17052 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17053 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17054 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17055 Likewise.
17056
17057 2012-05-26 Marek Polacek <polacek@redhat.com>
17058
17059 [BZ #14152]
17060 * math/libm-test.inc (fma_test): Don't always expect underflow
17061 exception.
17062
17063 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17064
17065 [BZ #12416]
17066 * elf/tst-execstack.c: Include stackinfo.h.
17067 (do_test): Adjust test case to ensure that pthread_getattr_np
17068 behaviour remains the same after marking stack executable.
17069
17070 2012-05-25 Joseph Myers <joseph@codesourcery.com>
17071
17072 * sysdeps/unix/sysv/linux/kernel-features.h
17073 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17074 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17075 kernel-features.h.
17076 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17077 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17078 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17079 kernel-features.h.
17080 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17081 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17082
17083 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17084
17085 * configure.in: Define the default includes to being none.
17086 * configure: Regenerated.
17087
17088 2012-05-25 Roland McGrath <roland@hack.frob.com>
17089
17090 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17091 * sysdeps/x86_64/setjmp.S: Likewise.
17092 * sysdeps/i386/bsd-setjmp.S: Likewise.
17093 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17094 * sysdeps/i386/setjmp.S: Likewise.
17095 * sysdeps/i386/__longjmp.S: Likewise.
17096 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17097 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17098
17099 * include/stap-probe.h: New file.
17100 * configure.in: Handle --enable-systemtap.
17101 * configure: Regenerated.
17102 * config.h.in (USE_STAP_PROBE): New #undef.
17103 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17104 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17105 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17106
17107 2012-05-25 Joseph Myers <joseph@codesourcery.com>
17108
17109 [BZ #13717]
17110 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17111 to 2.4.0 where earlier.
17112 * sysdeps/unix/sysv/linux/configure: Regenerated.
17113 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17114 <kernel-features.h>.
17115 [__ASSUME_32BITUIDS]: Make code unconditional.
17116 [!__ASSUME_32BITUIDS]: Remove conditional code.
17117 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17118 <kernel-features.h>.
17119 [__ASSUME_32BITUIDS]: Make code unconditional.
17120 [!__ASSUME_32BITUIDS]: Remove conditional code.
17121 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17122 [__ASSUME_32BITUIDS]: Make code unconditional.
17123 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17124 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17125 <kernel-features.h>.
17126 [__ASSUME_32BITUIDS]: Make code unconditional.
17127 [!__ASSUME_32BITUIDS]: Remove conditional code.
17128 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17129 <kernel-features.h>.
17130 [__ASSUME_32BITUIDS]: Make code unconditional.
17131 [!__ASSUME_32BITUIDS]: Remove conditional code.
17132 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17133 <kernel-features.h>.
17134 [__ASSUME_32BITUIDS]: Make code unconditional.
17135 [!__ASSUME_32BITUIDS]: Remove conditional code.
17136 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17137 <kernel-features.h>.
17138 [__ASSUME_32BITUIDS]: Make code unconditional.
17139 [!__ASSUME_32BITUIDS]: Remove conditional code.
17140 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17141 <kernel-features.h>.
17142 [__ASSUME_32BITUIDS]: Make code unconditional.
17143 [!__ASSUME_32BITUIDS]: Remove conditional code.
17144 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17145 <kernel-features.h>.
17146 [__ASSUME_32BITUIDS]: Make code unconditional.
17147 [!__ASSUME_32BITUIDS]: Remove conditional code.
17148 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17149 <kernel-features.h>.
17150 [__ASSUME_32BITUIDS]: Make code unconditional.
17151 [!__ASSUME_32BITUIDS]: Remove conditional code.
17152 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17153 <kernel-features.h>.
17154 [__ASSUME_32BITUIDS]: Make code unconditional.
17155 [!__ASSUME_32BITUIDS]: Remove conditional code.
17156 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17157 <kernel-features.h>.
17158 [__ASSUME_32BITUIDS]: Make code unconditional.
17159 [!__ASSUME_32BITUIDS]: Remove conditional code.
17160 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17161 <kernel-features.h>.
17162 [__ASSUME_32BITUIDS]: Make code unconditional.
17163 [!__ASSUME_32BITUIDS]: Remove conditional code.
17164 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17165 <kernel-features.h>.
17166 [__NR_setresgid] (__setresgid): Do not declare.
17167 [__ASSUME_32BITUIDS]: Make code unconditional.
17168 [!__ASSUME_32BITUIDS]: Remove conditional code.
17169 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17170 <kernel-features.h>.
17171 [__NR_setresuid] (__setresuid): Do not declare.
17172 [__ASSUME_32BITUIDS]: Make code unconditional.
17173 [!__ASSUME_32BITUIDS]: Remove conditional code.
17174 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17175 <kernel-features.h>.
17176 [__ASSUME_32BITUIDS]: Make code unconditional.
17177 [!__ASSUME_32BITUIDS]: Remove conditional code.
17178 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17179 <kernel-features.h>.
17180 [__ASSUME_32BITUIDS]: Make code unconditional.
17181 [!__ASSUME_32BITUIDS]: Remove conditional code.
17182 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17183 <kernel-features.h>.
17184 [__ASSUME_32BITUIDS]: Make code unconditional.
17185 [!__ASSUME_32BITUIDS]: Remove conditional code.
17186 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17187 <kernel-features.h>.
17188 [__ASSUME_32BITUIDS]: Make code unconditional.
17189 [!__ASSUME_32BITUIDS]: Remove conditional code.
17190 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17191 <kernel-features.h>.
17192 [__ASSUME_32BITUIDS]: Make code unconditional.
17193 [!__ASSUME_32BITUIDS]: Remove conditional code.
17194 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17195 <kernel-features.h>.
17196 [__ASSUME_32BITUIDS]: Make code unconditional.
17197 [!__ASSUME_32BITUIDS]: Remove conditional code.
17198 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17199 <kernel-features.h>.
17200 [__ASSUME_32BITUIDS]: Make code unconditional.
17201 [!__ASSUME_32BITUIDS]: Remove conditional code.
17202 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17203 <kernel-features.h>.
17204 [__ASSUME_32BITUIDS]: Make code unconditional.
17205 [!__ASSUME_32BITUIDS]: Remove conditional code.
17206 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17207 <kernel-features.h>.
17208 [__ASSUME_32BITUIDS]: Make code unconditional.
17209 [!__ASSUME_32BITUIDS]: Remove conditional code.
17210 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17211 <kernel-features.h>.
17212 [__ASSUME_32BITUIDS]: Make code unconditional.
17213 [!__ASSUME_32BITUIDS]: Remove conditional code.
17214 * sysdeps/unix/sysv/linux/kernel-features.h
17215 (__ASSUME_SETRESUID_SYSCALL): Remove.
17216 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17217 (__ASSUME_32BITUIDS): Likewise.
17218 (__ASSUME_LDT_WORKS): Likewise.
17219 (__ASSUME_O_DIRECTORY): Likewise.
17220 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17221 architecture but not kernel version.
17222 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17223 (__ASSUME_MMAP2_SYSCALL): Likewise.
17224 (__ASSUME_STAT64_SYSCALL): Likewise.
17225 (__ASSUME_IPC64): Likewise.
17226 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17227 <kernel-features.h>.
17228 [__ASSUME_32BITUIDS]: Make code unconditional.
17229 [!__ASSUME_32BITUIDS]: Remove conditional code.
17230 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17231 <kernel-features.h>.
17232 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17233 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17234 132096]: Remove conditional code.
17235 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17236 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17237 <kernel-features.h>.
17238 [__ASSUME_32BITUIDS]: Make code unconditional.
17239 [!__ASSUME_32BITUIDS]: Remove conditional code.
17240 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17241 <kernel-features.h>.
17242 [__ASSUME_32BITUIDS]: Make code unconditional.
17243 [!__ASSUME_32BITUIDS]: Remove conditional code.
17244 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17245 <kernel-features.h>.
17246 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17247 unconditional.
17248 (__setresgid): Do not declare.
17249 [__ASSUME_32BITUIDS]: Make code unconditional.
17250 [!__ASSUME_32BITUIDS]: Remove conditional code.
17251 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17252 <kernel-features.h>.
17253 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17254 unconditional.
17255 (__setresuid): Do not declare.
17256 [__ASSUME_32BITUIDS]: Make code unconditional.
17257 [!__ASSUME_32BITUIDS]: Remove conditional code.
17258 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17259 <kernel-features.h>.
17260 [__ASSUME_32BITUIDS]: Make code unconditional.
17261 [!__ASSUME_32BITUIDS]: Remove conditional code.
17262 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17263 <kernel-features.h>.
17264 [__ASSUME_32BITUIDS]: Make code unconditional.
17265 [!__ASSUME_32BITUIDS]: Remove conditional code.
17266
17267 2012-05-25 Richard Henderson <rth@twiddle.net>
17268
17269 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17270 dl_hwcap to ifunc resolver.
17271 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17272 elf_ifunc_invoke.
17273 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17274 dl_hwcap to ifunc resolver.
17275 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17276
17277 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17278
17279 [BZ #14153]
17280 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17281 for |x| <= 2**-26, not 2**-57.
17282 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17283 exception.
17284
17285 2012-05-24 Jeff Law <law@redhat.com>
17286
17287 * stdio-common/Makefile (tests): Add bug25.
17288 * stdio-common/bug25.c: New test.
17289
17290 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17291
17292 [BZ #13576]
17293 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17294 multiple of MALLOC_ALIGNMENT in size.
17295 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17296
17297 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17298
17299 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17300 Require >= 256.
17301 (FILENAME_MAX): Use macro-int-constant.
17302 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17303 (_IOFBF): Use macro-int-constant.
17304 (_IOLBF): Likewise.
17305 (_IONBF): Likewise.
17306 (SEEK_CUR): Likewise.
17307 (SEEK_END): Likewise.
17308 (SEEK_SET): Likewise.
17309 (TMP_MAX): Likewise.
17310 (EOF): Use macro-int-constant. Require < 0.
17311 (NULL): Use macro-constant. Require == 0.
17312 (stdin): Require type to be FILE *.
17313 (stdout): Likewise.
17314 (stderr): Likewise.
17315 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17316 macro-int-constant.
17317 (EXIT_SUCCESS): Likewise.
17318 (NULL): Use macro-constant. Require == 0.
17319 (RAND_MAX): Use macro-int-constant.
17320 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17321 [C99-based standards] (strtof): Require function.
17322 [C99-based standards] (strtold): Likewise.
17323 [C99-based standards] (strtoll): Likewise.
17324 [C99-based standards] (strtoull): Likewise.
17325 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17326 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17327 [ISO || ISO99 || ISO11] (math.h): Likewise.
17328 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17329 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17330 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17331
17332 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17333
17334 [BZ #14132]
17335 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17336 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17337 * intl/dgettext.c (DCGETTEXT): Likewise.
17338 * intl/gettext.c (DCGETTEXT): Likewise.
17339 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17340 * posix/regex_internal.h (gettext): Likewise.
17341 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17342 Remove declaration.
17343 * include/argz.h (__argz_count_internal)
17344 (__argz_stringify_internal): Remove declaration.
17345 (__argz_count, __argz_stringify): Declare hidden proto.
17346 * intl/dcgettext.c: Remove use of INTDEF.
17347 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17348 * string/argz-stringify.c: Likewise.
17349 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17350 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17351 Declare hidden proto.
17352 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17353 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17354 Declare hidden proto.
17355 * include/stdio.h (__asprintf_internal): Don't declare.
17356 (__asprintf): Don't define as macro. Declare hidden proto.
17357 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17358 (__fsetlocking): Declare hidden proto.
17359 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17360 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17361 hidden proto.
17362 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17363 (_IO_setlinebuf): Remove use of INTUSE.
17364 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17365 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17366 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17367 Remove declaration.
17368 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17369 (_IO_do_flush): Remove use of INTUSE.
17370 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17371 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17372 (_IO_adjust_column, _IO_least_wmarker)
17373 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17374 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17375 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17376 (_IO_default_doallocate, _IO_wdefault_doallocate)
17377 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17378 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17379 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17380 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17381 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17382 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17383 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17384 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17385 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17386 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17387 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17388 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17389 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17390 proto.
17391 (_IO_flush_all_internal, _IO_adjust_column_internal)
17392 (_IO_default_uflow_internal, _IO_default_finish_internal)
17393 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17394 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17395 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17396 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17397 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17398 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17399 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17400 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17401 (_IO_file_close_internal, _IO_file_close_it_internal)
17402 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17403 (_IO_file_init_internal, _IO_file_attach_internal)
17404 (_IO_file_fopen_internal, _IO_file_read_internal)
17405 (_IO_file_sync_internal, _IO_file_seek_internal)
17406 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17407 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17408 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17409 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17410 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17411 (_IO_list_all_internal, _IO_link_in_internal)
17412 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17413 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17414 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17415 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17416 (_IO_do_write_internal, _IO_padn_internal)
17417 (_IO_getline_info_internal, _IO_getline_internal)
17418 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17419 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17420 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17421 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17422 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17423 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17424 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17425 with libc_hidden_ver, remove use of INTUSE.
17426 * libio/genops.c: Likewise.
17427 * libio/freopen.c: Likewise.
17428 * libio/freopen64.c: Likewise.
17429 * libio/iofclose.c: Likewise.
17430 * libio/iofdopen.c: Likewise.
17431 * libio/iofflush.c: Likewise.
17432 * libio/iofflush_u.c: Likewise.
17433 * libio/iofgets.c: Likewise.
17434 * libio/iofgets_u.c: Likewise.
17435 * libio/iofopen.c: Likewise.
17436 * libio/iofopncook.c: Likewise.
17437 * libio/iofread.c: Likewise.
17438 * libio/iofread_u.c: Likewise.
17439 * libio/ioftell.c: Likewise.
17440 * libio/iofwrite.c: Likewise.
17441 * libio/iogetline.c: Likewise.
17442 * libio/iogets.c: Likewise.
17443 * libio/iogetwline.c: Likewise.
17444 * libio/iopadn.c: Likewise.
17445 * libio/iopopen.c: Likewise.
17446 * libio/ioseekoff.c: Likewise.
17447 * libio/ioseekpos.c: Likewise.
17448 * libio/iosetbuffer.c: Likewise.
17449 * libio/iosetvbuf.c: Likewise.
17450 * libio/ioungetc.c: Likewise.
17451 * libio/ioungetwc.c: Likewise.
17452 * libio/iovdprintf.c: Likewise.
17453 * libio/iovsprintf.c: Likewise.
17454 * libio/iovsscanf.c: Likewise.
17455 * libio/memstream.c: Likewise.
17456 * libio/obprintf.c: Likewise.
17457 * libio/oldfileops.c: Likewise.
17458 * libio/oldiofclose.c: Likewise.
17459 * libio/oldiofdopen.c: Likewise.
17460 * libio/oldiofopen.c: Likewise.
17461 * libio/oldiopopen.c: Likewise.
17462 * libio/oldstdfiles.c: Likewise.
17463 * libio/putc.c: Likewise.
17464 * libio/setbuf.c: Likewise.
17465 * libio/setlinebuf.c: Likewise.
17466 * libio/stdfiles.c: Likewise.
17467 * libio/strops.c: Likewise.
17468 * libio/vasprintf.c: Likewise.
17469 * libio/vscanf.c: Likewise.
17470 * libio/vsnprintf.c: Likewise.
17471 * libio/vswprintf.c: Likewise.
17472 * libio/wfiledoalloc.c: Likewise.
17473 * libio/wfileops.c: Likewise.
17474 * libio/wgenops.c: Likewise.
17475 * libio/wmemstream.c: Likewise.
17476 * libio/wstrops.c: Likewise.
17477 * libio/__fpurge.c: Likewise.
17478 * libio/__fsetlocking.c: Likewise.
17479 * assert/assert.c: Likewise.
17480 * debug/fgets_chk.c: Likewise.
17481 * debug/fgets_u_chk.c: Likewise.
17482 * debug/fread_chk.c: Likewise.
17483 * debug/fread_u_chk.c: Likewise.
17484 * debug/gets_chk.c: Likewise.
17485 * debug/obprintf_chk.c: Likewise.
17486 * debug/vasprintf_chk.c: Likewise.
17487 * debug/vdprintf_chk.c: Likewise.
17488 * debug/vsnprintf_chk.c: Likewise.
17489 * debug/vsprintf_chk.c: Likewise.
17490 * malloc/mtrace.c: Likewise.
17491 * misc/error.c: Likewise.
17492 * misc/syslog.c: Likewise.
17493 * stdio-common/asprintf.c: Likewise.
17494 * stdio-common/fxprintf.c: Likewise.
17495 * stdio-common/getw.c: Likewise.
17496 * stdio-common/isoc99_fscanf.c: Likewise.
17497 * stdio-common/isoc99_scanf.c: Likewise.
17498 * stdio-common/isoc99_vfscanf.c: Likewise.
17499 * stdio-common/isoc99_vscanf.c: Likewise.
17500 * stdio-common/isoc99_vsscanf.c: Likewise.
17501 * stdio-common/printf-prs.c: Likewise.
17502 * stdio-common/printf_fp.c: Likewise.
17503 * stdio-common/printf_fphex.c: Likewise.
17504 * stdio-common/printf_size.c: Likewise.
17505 * stdio-common/putw.c: Likewise.
17506 * stdio-common/scanf.c: Likewise.
17507 * stdio-common/sprintf.c: Likewise.
17508 * stdio-common/tmpfile.c: Likewise.
17509 * stdio-common/vfprintf.c: Likewise.
17510 * stdio-common/vfscanf.c: Likewise.
17511 * stdlib/strfmon_l.c: Likewise.
17512 * sunrpc/openchild.c: Likewise.
17513 * sunrpc/xdr_stdio.c: Likewise.
17514 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17515 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17516
17517 2012-05-24 Roland McGrath <roland@hack.frob.com>
17518
17519 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17520
17521 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17522 in the third column, to generate for the shared library an IFUNC
17523 that uses _dl_vdso_vsym.
17524 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17525 * Makeconfig (object-suffixes-noshared): New variable.
17526
17527 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17528 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17529 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17530 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17531
17532 [BZ #14132]
17533 * include/sys/time.h (__gettimeofday): Remove macro.
17534 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17535 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17536 Remove INTDEF.
17537 (__gettimeofday): Add libc_hidden_def.
17538 (gettimeofday): Add libc_hidden_weak.
17539 * sysdeps/mach/gettimeofday.c: Likewise.
17540 * sysdeps/posix/gettimeofday.c: Likewise.
17541 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17542 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17543 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17544 (__gettimeofday_internal): Remove strong_alias.
17545 (__gettimeofday): Add libc_hidden_def.
17546 (gettimeofday): Add libc_hidden_weak.
17547 * sysdeps/unix/syscalls.list (gettimeofday):
17548 Remove __gettimeofday_internal alias.
17549
17550 2012-05-24 Daniel Jacobowitz <drow@false.org>
17551 H.J. Lu <hongjiu.lu@intel.com>
17552
17553 [BZ #12495]
17554 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17555 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17556 (largebin_index_32_big): New.
17557 (largebin_index): Use it for 16-byte alignment.
17558 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17559 correction with front_misalign.
17560
17561 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17562
17563 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17564 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17565 Likewise.
17566 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17567 Likewise.
17568 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17569 Likewise.
17570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17571 Likewise.
17572 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17573 Likewise.
17574 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17575 Likewise.
17576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17577 Likewise.
17578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17579 Likewise.
17580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17581 Likewise.
17582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17583 Likewise.
17584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17585 Likewise.
17586 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17587 Likewise.
17588
17589 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17590 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17591
17592 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17593
17594 [BZ #10846]
17595 [BZ #14036]
17596 * math/libm-test.inc (exp_test): Add test from bug 14036.
17597 (pow_test): Add test from bug 10846.
17598
17599 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17600 and other flags.
17601 (special_function): Do not include flags in test name.
17602 (parse_args): Likewise.
17603 * sysdeps/i386/fpu/libm-test-ulps: Update.
17604 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17605 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17606 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17608
17609 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17610 exceptions.
17611 * math/libm-test.inc ("Philosophy"): Update comment about
17612 exception testing.
17613 (UNDERFLOW_EXCEPTION): New macro.
17614 (UNDERFLOW_EXCEPTION_OK): Likewise.
17615 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17616 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17617 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17618 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17619 (INVALID_EXCEPTION_OK): Update value.
17620 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17621 (OVERFLOW_EXCEPTION_OK): Likewise.
17622 (IGNORE_ZERO_INF_SIGN): Likewise.
17623 (test_exceptions): Handle underflow exceptions.
17624 (acos_test): Update for underflow exception expectations.
17625 (cexp_test): Likewise.
17626 (clog_test): Likewise.
17627 (clog10_test): Likewise.
17628 (csqrt_test): Likewise.
17629 (ctan_test): Likewise.
17630 (ctanh_test): Likewise.
17631 (exp_test): Likewise.
17632 (exp10_test): Likewise.
17633 (exp2_test): Likewise.
17634 (expm1_test): Likewise.
17635 (fma_test): Likewise.
17636 (j0_test): Likewise.
17637 (jn_test): Likewise.
17638 (nexttoward_test): Likewise.
17639 (pow_test): Likewise.
17640 (scalbn_test): Likewise.
17641 (scalbln_test): Likewise.
17642 (tan_test): Likewise.
17643 (y1_test): Likewise.
17644 * sysdeps/i386/fpu/libm-test-ulps: Update.
17645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17646
17647 2012-05-23 David S. Miller <davem@davemloft.net>
17648
17649 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17650 (__libc_sigaction): Remove unused local variables.
17651
17652 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17653
17654 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17655
17656 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17657
17658 mktime: avoid signed integer overflow
17659 * time/mktime.c (__mktime_internal): Do not mishandle the case
17660 where diff == INT_MIN.
17661
17662 mktime: simplify computation of average
17663 * time/mktime.c (ranged_convert): Use new time_t_avg function
17664 instead of rolling our own (probably-slower) code.
17665
17666 mktime: do not assume signed right shift propagates sign bit
17667 * time/mktime.c (isdst_differ): New static function.
17668 (__mktime_internal): No need to normalize tm_isdst now.
17669 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17670 tm_isdst values.
17671
17672 mktime: merge another wrapv change from gnulib
17673 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17674 from some compilers.
17675
17676 mktime: remove incorrect attempt at unusual arithmetics
17677 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17678 The code didn't really work on such machines anyway.
17679 (TYPE_MINIMUM): Assume two's complement.
17680 (twos_complement_arithmetic): Verify that long_int and time_t
17681 are two's complement (or unsigned, in the latter case).
17682
17683 mktime: check signed shifts on long_int and time_t, too
17684 * time/mktime.c (SHR): Check that shifts work as desired
17685 on the types long_int and time_t too, as SHR is used on
17686 such types.
17687
17688 mktime: do not assume 'long' is wide enough
17689 * time/mktime.c (verify): Move decl up.
17690 (long_int): New type.
17691 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17692 to remove assumption in the code that 'long' is wide enough to
17693 store year values. This assumption is not true on x32 and on
17694 some non-glibc platforms.
17695
17696 mktime: merge wrapv change from gnulib
17697 * time/mktime.c (WRAPV): New macro.
17698 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17699 (guess_time_tm, __mktime_internal): Do not assume that signed
17700 integer overflow wraps around; modern compilers generate code
17701 where this assumption is no longer valid.
17702
17703 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17704
17705 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17706 Replace "jmp L(pseudo_end)" with "ret".
17707 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17708 Likewise.
17709
17710 2012-05-23 Andreas Jaeger <aj@suse.de>
17711
17712 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17713 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17714
17715 2012-05-23 Andreas Jaeger <aj@suse.de>
17716 Maximilian Attems <max@stro.at>
17717
17718 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17719 New macros.
17720
17721 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17722
17723 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17724 code so that pseudo_end is just ret and the stack pointer is
17725 correct also for static library in error case.
17726
17727 2012-05-23 Joseph Myers <joseph@codesourcery.com>
17728
17729 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17730 move to syscalls.list.
17731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17735
17736 * manual/install.texi (Running make install): Do not mention Linux
17737 kernel version for which pt_chown is not needed.
17738 (Linux): Do not mention problems with nscd with 2.0 kernels.
17739 * INSTALL: Regenerated.
17740
17741 2012-05-23 Andreas Jaeger <aj@suse.de>
17742
17743 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17744 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17745 macro.
17746 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17747 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17748 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17749 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17750 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17751 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17752 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17753 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17754 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17755 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17756 * sysdeps/unix/sysv/linux/bits/in.h
17757 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17758
17759 2012-05-22 Roland McGrath <roland@hack.frob.com>
17760
17761 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17762 (PREPARE_VERSION): Just use assert instead, it will be elided
17763 under [NDEBUG] anyway.
17764
17765 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17766
17767 * sysdeps/unix/sysv/linux/Makefile: Include
17768 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
17769 (sysdep_routines): Remove sysctl.
17770 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17771 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17772 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17773 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17774 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17775
17776 2012-05-22 Andreas Jaeger <aj@suse.de>
17777
17778 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17779 that pseudo_end is just ret and the stack pointer is correct also
17780 for static library in error case.
17781
17782 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17783
17784 [BZ #14122]
17785 * nss/nsswitch.c (defconfig_entries): New variable.
17786 (__nss_database_lookup): Don't leak defconfig entries.
17787 (nss_parse_service_list): Don't leak on error paths.
17788 (free_database_entries): New function.
17789 (free_defconfig): New function.
17790 (free_mem): Move common code to free_database_entries.
17791
17792 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17793
17794 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17795 Add arch_prctl.
17796 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17797
17798 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17799 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17800 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17801 New macro.
17802 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17803 (INTERNAL_SYSCALL_TYPES): Likewise.
17804 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17805 (LOAD_REGS_TYPES_[1-6]): Likewise.
17806 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17807 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17808
17809 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17810
17811 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17812 copysignl for GLIBC_2_0.
17813 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17814 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17815 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17816 logbl for GLIBC_2_0.
17817 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17818 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17819
17820 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17821
17822 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17823 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17824
17825 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17826 Use "neg %eax".
17827
17828 * time/mktime.c: Update copyright years.
17829
17830 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17831
17832 mktime: merge comment-quoting-style change from gnulib
17833 * time/mktime.c: Quote 'like this' in comments.
17834 The GNU coding standards suggest that we no longer quote `like this',
17835 as "`" and "'" are typically rendered asymmetrically nowadays.
17836 The typical gnulib style is to quote 'like this' when quoting
17837 code, and "like this" when quoting English.
17838
17839 * time/mktime.c (compile-command): Add "-I.".
17840
17841 mktime: merge mktime-internal.h change from gnulib
17842 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17843
17844 mktime: merge time_r change from gnulib
17845 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17846
17847 mktime: merge DEBUG change from gnulib
17848 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17849 case system <time.h> has a #define.
17850
17851 mktime: merge <sys/types.h> change from gnulib
17852 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17853 since <time.t> is now guaranteed to define time_t.
17854
17855 mktime: merge HAVE_CONFIG_H change from gnulib
17856 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17857
17858 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17859
17860 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17861 Use "neg %eax".
17862
17863 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17864 __rlim_t cast.
17865 (struct rusage): Use anonymous union to pad each field to
17866 __syscall_slong_t.
17867
17868 2012-05-21 David S. Miller <davem@davemloft.net>
17869
17870 * Makefules (o-iterator): Remove .s cases.
17871 (compile-command.s): Delete.
17872 (COMPILE.s): Delete.
17873 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17874
17875 2012-05-21 Joseph Myers <joseph@codesourcery.com>
17876
17877 * configure.in (libc_cv_predef_stack_protector): Only consider
17878 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17879 * configure: Regenerated.
17880
17881 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17882
17883 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17884 New macro. Use R*LP on int and pointer.
17885 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
17886 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17887 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
17888 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17889
17890 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17891 [__WORDSIZE_TIME64_COMPAT32] instead of
17892 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17893 (struct utmp): Likewise.
17894 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17895 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17896 Renamed to ...
17897 (__WORDSIZE_TIME64_COMPAT32): This.
17898 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17899 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17900 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17901 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17902 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17903 (__WORDSIZE_TIME64_COMPAT32): New macro.
17904
17905 2012-05-21 Andreas Jaeger <aj@suse.de>
17906
17907 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17908 only if [SHARED]. Add prototype for __wcschr_ia32.
17909
17910 2012-05-21 Roland McGrath <roland@hack.frob.com>
17911
17912 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17913 of %rbp unmolested in the jmp_buf while mangling the low bits.
17914 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17915 unmolested high bits of %rbp while demangling the low bits.
17916 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17917
17918 2012-05-21 Andreas Jaeger <aj@suse.de>
17919
17920 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17921 * sunrpc/svc_simple.c: Use it for registerrpc.
17922 * sunrpc/xcrypt.c: Use it for passwd2des.
17923
17924 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17925
17926 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17927
17928 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17929 Don't define if [__SYSCALL_WORDSIZE != 32].
17930 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17931 New macro.
17932
17933 2012-05-21 Bruno Haible <bruno@clisp.org>
17934 Andreas Jaeger <aj@suse.de>
17935
17936 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17937 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17938 inptr and inend for must_buffer_ch.
17939 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17940 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17941 * stdio-common/Makefile (tests): Remove bug15.
17942 (bug15-ENV): Remove macro.
17943 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17944 anymore.
17945
17946 2012-05-19 Andreas Jaeger <aj@suse.de>
17947 Roland McGrath <roland@hack.frob.com>
17948
17949 * manual/contrib.texi: Completely rewritten. It contains now an
17950 alphabetical list of contributors and their contributions.
17951
17952 2012-05-21 Richard Henderson <rth@twiddle.net>
17953
17954 * misc/getauxval.c (__getauxval): Use unsigned long int.
17955 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17956 (getauxval): Use unsigned long int.
17957
17958 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17959
17960 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17961
17962 2012-05-21 Roland McGrath <roland@hack.frob.com>
17963
17964 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17965 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17966 __alignof__ (long double).
17967
17968 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17969
17970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17971
17972 2012-05-20 Richard Henderson <rth@twiddle.net>
17973
17974 * misc/getauxval.c: New file.
17975 * misc/sys/auxv.h: New file.
17976 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17977 (routines): Add getauxval.
17978 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17979 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17980 * elf/dl-sysdep.c (_dl_auxv): Remove.
17981 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17982 * elf/dl-support.c (_dl_auxv): New variable.
17983 (_dl_aux_init): Initialize it.
17984 * manual/startup.texi (Auxiliary Vector): New node.
17985 * sysdeps/generic/bits/hwcap.h: New file.
17986 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17987 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17988 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17989 * sysdeps/sparc/sysdep.h: ... here. Include it.
17990 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17991 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
17992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17993 Update.
17994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17997 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17998 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18002
18003 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18004
18005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18006
18007 2012-05-19 David S. Miller <davem@davemloft.net>
18008
18009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18010
18011 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18012
18013 [BZ #14123]
18014 * math/s_ccosh.c: Include <float.h>
18015 (__ccosh): Avoid internal overflow calculating sinh and cosh
18016 values before multiplying by sin and cos values.
18017 * math/s_ccoshf.c: Likewise.
18018 * math/s_ccoshl.c: Likewise.
18019 * math/s_csin.c: Likewise.
18020 * math/s_csinf.c: Likewise.
18021 * math/s_csinl.c: Likewise.
18022 * math/s_csinh.c: Likewise.
18023 * math/s_csinhf.c: Likewise.
18024 * math/s_csinhl.c: Likewise.
18025 * math/libm-test.inc (ccos_test): Add more tests.
18026 (ccosh_test): Likewise.
18027 (csin_test): Likewise.
18028 (csinh_test): Likewise.
18029 * sysdeps/i386/fpu/libm-test-ulps: Update.
18030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18031
18032 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18033
18034 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18035 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18036
18037 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18038
18039 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18040
18041 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18042 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18043 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18044 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18045 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18046 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18047 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18048 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18049 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18050 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18051 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18052 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18053 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18054 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18055 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18056 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18057 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18058 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18059 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18060 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18061 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18062 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18063 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18064 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18065 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18066 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18067 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18068 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18069 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18070 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18071 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18072
18073 2012-05-18 Andreas Jaeger <aj@suse.de>
18074
18075 * csu/.gitignore: Delete.
18076
18077 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18078
18079 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18080 (timex): Use __syscall_slong_t.
18081
18082 2012-05-18 Andreas Jaeger <aj@suse.de>
18083 Carlos O'Donell <carlos_odonell@mentor.com>
18084
18085 * manual/install.texi (Configuring and compiling): Update
18086 description about files modified in the source directory.
18087 * INSTALL: Regenerated.
18088
18089 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18090
18091 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18092 value. Use "or" to set return value to -1.
18093 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18094 negate return value.
18095
18096 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18097
18098 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18099 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18100 failure if the compiler has Graphite support disabled.
18101 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18102 Likewise.
18103 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18104 CFLAGS-memmove.c): Likewise.
18105 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18106 Likewise.
18107
18108 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18109
18110 * sysdeps/x86_64/x32/_itoa.h: New file.
18111
18112 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18113 getdents system call only if kernel and user dirents have the
18114 same d_ino and d_off.
18115
18116 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18117 LLONG_MAX != LONG_MAX.
18118 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18119 (_fitoa_word): Likewise.
18120
18121 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18122 years.
18123 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18124 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18125 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18126
18127 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18128 include <bits/wordsize.h>. Check __x86_64__ instead of
18129 __WORDSIZE.
18130 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18131 if __x86_64__ is defined. Use anonymous union on fpstate.
18132
18133 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18134 anonymous union.
18135
18136 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18137
18138 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18139 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18140 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18141 Refer to _rtld_local_ro instead of _rtld_global_ro.
18142 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18143 Likewise.
18144 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18145 Likewise.
18146 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18147 Likewise.
18148 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18149 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18150 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18151
18152 * sysdeps/powerpc/powerpc32/dl-machine.c
18153 (__elf_machine_runtime_setup) [PROF]: Don't reference
18154 _dl_prof_resolve.
18155
18156 2012-05-18 Andreas Jaeger <aj@suse.de>
18157
18158 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18159 function only available for GCCs before 3.4 since GCC 3.4
18160 introduced a builtin.
18161 (lrint): Likewise.
18162 (llrintf): Likewise.
18163 (llrint): Likewise.
18164 (fmaxf): Likewise.
18165 (fmax): Likewise.
18166 (fminf): Likewise.
18167 (fmin): Likewise.
18168 (rint): Likewise.
18169 (rintf): Likewise.
18170 (nearbyint): Likewise.
18171 (nearbyintf): Likewise.
18172 (ceil): Likewise.
18173 (ceilf): Likewise.
18174 (floor): Likewise.
18175 (floorf): Likewise.
18176
18177 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18178
18179 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18180 on both fields and cast pointer to __syscall_ulong_t.
18181
18182 * bits/types.h (__fsword_t): New type.
18183 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18184 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18185 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18186 (__FSWORD_T_TYPE): Likewise.
18187 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18188 (__FSWORD_T_TYPE): Likewise.
18189 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18190 (__FSWORD_T_TYPE): Likewise.
18191 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18192 (__FSWORD_T_TYPE): Likewise.
18193 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18194 __SWORD_TYPE with __fsword_t.
18195 (statfs64): Likewise.
18196
18197 2012-05-17 David S. Miller <davem@davemloft.net>
18198
18199 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18200
18201 2012-05-17 Andreas Jaeger <aj@suse.de>
18202
18203 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18204 warning.
18205
18206 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18207
18208 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18209
18210 2012-05-17 Andreas Jaeger <aj@suse.de>
18211
18212 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18213 when it is used.
18214
18215 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18216
18217 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18218
18219 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18220
18221 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18222 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18223
18224 2012-05-17 Andreas Jaeger <aj@suse.de>
18225 Carlos O'Donell <carlos_odonell@mentor.com>
18226
18227 [BZ #14059]
18228 * sysdeps/x86_64/multiarch/init-arch.h
18229 (bit_YMM_Usable): Rename to...
18230 (bit_AVX_Usable): ... this.
18231 (bit_FMA4_Usable): New macro.
18232 (bit_XMM_state): New macro.
18233 (bit_YMM_state): New macro.
18234 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18235 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18236 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18237 (CPUID_OSXSAVE): New macro.
18238 (CPUID_AVX): New macro.
18239 (CPUID_FMA4): New macro.
18240 (index_YMM_Usable): Rename to...
18241 (index_AVX_Usable): ... this.
18242 (HAS_AVX): Use HAS_ARCH_FEATURE.
18243 (HAS_FMA4): Likewise.
18244 (HAS_YMM_USABLE): Remove.
18245 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18246 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18247 are present.
18248 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18249 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18250 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18251 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18252 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18253
18254 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18255
18256 * math/libm-test.c: Support platforms without multiple rounding modes.
18257 * math/bug-nextafter.c: Support platforms without FP exceptions.
18258 * math/bug-nexttoward.c: Likewise.
18259 * math/test-fenv.c: Likewise.
18260 * math/test-misc.c: Likewise.
18261 * stdlib/bug-getcontext.c: Likewise.
18262
18263 2012-05-17 Andreas Jaeger <aj@suse.de>
18264
18265 * manual/examples/search.c (critter_cmp): Change signature to
18266 avoid warnings.
18267 * manual/string.texi (Collation Functions): Likewise.
18268
18269 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18270
18271 * bits/types.h: Fold copyright years.
18272 * bits/typesizes.h: Likewise.
18273 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18274 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18275 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18276 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18277 * time/time.h: Likewise.
18278
18279 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18280
18281 [BZ #208]
18282 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18283 in instead of returning them. Return void.
18284 (__libc_mallinfo): Accumulate over all arenas.
18285 (__malloc_stats): Adjust for change in int_mallinfo interface.
18286
18287 2012-05-16 Roland McGrath <roland@hack.frob.com>
18288
18289 [BZ #10375]
18290 * configure.in (NM): Add AC_CHECK_TOOL for it.
18291 (libc_extra_cflags): New substituted variable.
18292 Check for -fstack-protector being used implicitly.
18293 * configure: Regenerated.
18294 * config.make.in (config-extra-cflags): New variable,
18295 gets @libc_extra_cflags@.
18296 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18297
18298 [BZ #10375]
18299 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18300 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18301 * configure: Regenerated.
18302 * config.make.in (CPPUNDEFS): New substituted variable.
18303 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18304 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18305 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18306
18307 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18308
18309 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18310 (mq_attr): Use __syscall_slong_t.
18311
18312 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18313
18314 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18315 Check __x86_64__ instead of __WORDSIZE.
18316 (_STAT_VER_LINUX): Likewise.
18317 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18318 __syscall_ulong_t and __syscall_slong_t.
18319 (stat64): Likewise.
18320
18321 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18322
18323 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18324
18325 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18326
18327 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18328
18329 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18330
18331 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18332 __syscall_ulong_t.
18333
18334 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18335 include <bits/wordsize.h>. Check __x86_64__ instead of
18336 __WORDSIZE.
18337 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18338 defined.
18339 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18340
18341 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18342 include <bits/wordsize.h>. Check __x86_64__ instead of
18343 __WORDSIZE.
18344 (user_regs_struct): Use "__extension__ unsigned long long"
18345 instead of "unsigned long" if __x86_64__ is defined.
18346 (user): Likewise. Pad after pointer field if __ILP32__ is
18347 defined.
18348
18349 2012-05-16 Joseph Myers <joseph@codesourcery.com>
18350
18351 * configure.in (makeinfo): Require version 4.5 or later. Allow
18352 versions 5 to 9.
18353 * configure: Regenerated.
18354 * manual/install.texi (texinfo): Increase version requirement to
18355 4.5 or later.
18356 * INSTALL: Regenerated.
18357
18358 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18359
18360 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18361
18362 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18363
18364 * sysdeps/x86_64/x32/ffs.c: New file.
18365
18366 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18367 __syscall_ulong_t.
18368 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18369 defined. Use __syscall_ulong_t.
18370 (shminfo): Use __syscall_ulong_t.
18371 (shm_info): Likewise.
18372
18373 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18374 __syscall_ulong_t.
18375
18376 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18377 <bits/wordsize.h>.
18378 (msgqnum_t): Use __syscall_ulong_t.
18379 (msglen_t): Likewise.
18380 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18381 __syscall_ulong_t.
18382
18383 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18384 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18385
18386 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18387
18388 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18389 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18390
18391 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18392 __syscall_slong_t.
18393
18394 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18395 include <bits/wordsize.h>. Check __x86_64__ instead of
18396 __WORDSIZE.
18397
18398 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18399 "unsigned long long int" if __x86_64__ is defined.
18400 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18401
18402 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18403 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18404 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18405
18406 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18407 <stdint.h>.
18408 (GET_PC): Cast to uintptr_t first.
18409 (GET_FRAME): Likewise.
18410 (GET_STACK): Likewise.
18411
18412 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18413 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18414 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18415 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18416 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18417 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18418 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18419 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18420 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18421 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18422 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18423 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18424 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18425 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18426 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18427 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18428 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18429 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18430 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18431 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18432 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18433 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18434 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18435 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18436 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18437 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18438 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18439 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18440 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18441
18442 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18443
18444 * Makerules (+depfiles): Also collect depfiles from .oS in
18445 $(extra-objs).
18446 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18447 .oS, $(libnldbl-routines)).
18448
18449 * Makerules (native-compile-mkdep-flags): Define.
18450 * sunrpc/Makefile (extra-objs): Add $(addprefix
18451 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18452 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18453 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18454 calling $(make-target-directory).
18455
18456 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18457
18458 * bits/types.h (__snseconds_t): Removed.
18459 * time/time.h (struct timespec): Replace __snseconds_t with
18460 __syscall_slong_t.
18461 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18462 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18463 Likewise.
18464 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18465 (__SNSECONDS_T_TYPE): Likewise.
18466 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18467 (__SNSECONDS_T_TYPE): Likewise.
18468 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18469 (__SNSECONDS_T_TYPE): Likewise.
18470
18471 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18472
18473 * sysdeps/mach/hurd/bits/typesizes.h
18474 (__SYSCALL_SLONG_TYPE): New macro.
18475 (__SYSCALL_ULONG_TYPE): Likewise.
18476
18477 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18478
18479 * bits/types.h (__syscall_slong_t): New type.
18480 (__syscall_ulong_t): Likewise.
18481
18482 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18483 (__SYSCALL_ULONG_TYPE): Likewise.
18484 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18485 (__SYSCALL_SLONG_TYPE): Likewise.
18486 (__SYSCALL_ULONG_TYPE): Likewise.
18487 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18488 (__SYSCALL_SLONG_TYPE): Likewise.
18489 (__SYSCALL_ULONG_TYPE): Likewise.
18490 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18491 (__SYSCALL_SLONG_TYPE): Likewise.
18492 (__SYSCALL_ULONG_TYPE): Likewise.
18493
18494 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18495
18496 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18497 Add sigaltstack-offsets.sym.
18498 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18499 <sigaltstack-offsets.h>.
18500 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18501 longjmp_msg pointer.
18502 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18503 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18504 signal stack.
18505 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18506
18507 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18508
18509 * elf/stackguard-macros.h: Remove file.
18510 * sysdeps/generic/stackguard-macros.h: New file.
18511 * sysdeps/i386/stackguard-macros.h: Likewise.
18512 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18513 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18514 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18515 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18516 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18517 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18518 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18519 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18520 <elf/stackguard-macros.h>.
18521
18522 [BZ #14109]
18523 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18524 __aligned__ in attribute.
18525 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18526 (gregset_t): Likewise.
18527
18528 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18529
18530 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18531 * sysdeps/x86_64/64/Implies-after: Here. New file.
18532 * sysdeps/x86_64/x32/Implies-after: New file.
18533
18534 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18535
18536 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18537 and access return value for _dl_profile_fixup. Use R10_LP to
18538 load frame size.
18539
18540 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18541
18542 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18543
18544 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18545
18546 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18547 * sysdeps/x86_64/x32/sysdep.h: New file.
18548
18549 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18550
18551 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18552 * sysdeps/x86_64/setjmp.S: Likewise.
18553
18554 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18555
18556 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18557 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18558 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18559 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18560 remove unused global constant.
18561
18562 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18563
18564 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18565 include of <not-cancel.h>.
18566
18567 2012-05-15 Roland McGrath <roland@hack.frob.com>
18568
18569 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18570
18571 2012-05-15 Jeff Law <law@redhat.com>
18572 Andreas Jaeger <aj@suse.de>
18573
18574 [BZ #13594]
18575 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18576 out from...
18577 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18578 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18579 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18580 code changing __hst_map_handle.map.
18581
18582 2012-05-15 Roland McGrath <roland@hack.frob.com>
18583
18584 * configure.in (sysnames): Look for Implies-before and Implies-after
18585 files.
18586 * configure: Regenerated.
18587
18588 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18589
18590 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18591 8-byte data alignment with LP_SIZE alignment.
18592
18593 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18594
18595 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18596 into R10_LP.
18597
18598 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18599
18600 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18601
18602 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18603
18604 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18605 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18606 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18607 Likewise.
18608 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18609
18610 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18611
18612 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18613 (stackinfo_sub_sp): Likewise.
18614
18615 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18616
18617 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18618 RAX_LP.
18619
18620 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18621
18622 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18623 into R*_LP.
18624
18625 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18626
18627 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18628 sizes into R*_LP.
18629
18630 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18631
18632 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18633
18634 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18635
18636 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18637 into R11_LP and load __x86_64_shared_cache_size_half into
18638 R8_LP.
18639
18640 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18641
18642 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18643 R8_LP.
18644
18645 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18646
18647 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18648 logb for POWER7.
18649 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18650 logbf for POWER7.
18651 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18652 logbl for POWER7.
18653 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18654 powerpc32/power7/fpu/s_logb.c via #include.
18655 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18656 powerpc32/power7/fpu/s_logbf.c via #include.
18657 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18658 powerpc32/power7/fpu/s_logbl.c via #include.
18659
18660 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18661
18662 * README.libm: Remove file.
18663
18664 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18665
18666 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18667 count for x32. Use R*_LP and omit operand-size suffix.
18668
18669 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18670
18671 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18672 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18673 * sysdeps/x86_64/x32/shlib-versions: New file.
18674
18675 2012-05-14 Roland McGrath <roland@hack.frob.com>
18676
18677 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18678 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18679 Use _dl_fatal_printf instead.
18680
18681 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18682
18683 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18684 set if not set by the user. Do not allow for being unset.
18685 * sysdeps/unix/sysv/linux/configure: Regenerated.
18686
18687 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18688
18689 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18690 the `q' suffix from lea and replace .quad with ASM_ADDR.
18691
18692 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18693
18694 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18695 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18696 instead of $17.
18697 (PTR_DEMANGLE): Likewise.
18698
18699 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18700
18701 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18702 (LP_OP): Likewise.
18703 (ASM_ADDR): Likewise.
18704 (RAX_LP): Likewise.
18705 (RBP_LP): Likewise.
18706 (RBX_LP): Likewise.
18707 (RCX_LP): Likewise.
18708 (RDI_LP): Likewise.
18709 (RSI_LP): Likewise.
18710 (RSP_LP): Likewise.
18711 (R8_LP): Likewise.
18712 (R9_LP): Likewise.
18713 (R10_LP): Likewise.
18714 (R10_LP): Likewise.
18715 (R11_LP): Likewise.
18716 (R12_LP): Likewise.
18717 (R13_LP): Likewise.
18718 (R14_LP): Likewise.
18719 (R15_LP): Likewise.
18720
18721 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18722
18723 * sysdeps/x86_64/x32/dl-machine.h: New file.
18724
18725 2012-05-14 Andreas Jaeger <aj@suse.de>
18726
18727 * manual/Makefile (subdir): Remove export of subdir.
18728 (all): Remove target.
18729 (.PHONY): Remove all from list.
18730 (mkinstalldirs): Remove.
18731 (.PHONY): Remove installdirs from list.
18732 ($(inst_infodir)/libc.info): Use make-target-directory.
18733 (installdirs): Remove.
18734 (subdir_%): Remove.
18735 (glibc-targets): Remove.
18736 (lib): Remove.
18737 (stubs): Remove.
18738 ($(objpfx)stubs ../po/manual.pot): Remove.
18739 ($(objpfx)stamp%): Remove.
18740 (make-target-directory): Remove.
18741 (subdir_install): Remove.
18742 (routines): Remove.
18743 (aux): Remove.
18744 (sources): Remove.
18745 (objects): Remove.
18746 (headers): Remove.
18747
18748 [BZ #13750]
18749 * manual/.gitignore: Remove, it's not needed anymore.
18750 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18751 all files in it.
18752 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18753 directory.
18754 (texis): Renamed to $(objpfx)texis.
18755 (texis-path): New, contains path to generated files.
18756 (chapters.%): Use texis-path for complete path, add extra argument
18757 libc-texinfo.sh.
18758 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18759 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18760 (summary,texi, stamp-summary): Use complete path of
18761 files. Generate files in build dir.
18762 (dir-add.texi): Build in build dir.
18763 (libm-err.texi,stamp-libm-err): Likewise.
18764 (version.texi, stamp-version): Likewise.
18765 (.%c.texi): Likewise.
18766 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18767 (mostlyclean): Remove target.
18768 (realclean): Remove target.
18769 (generated): Add new variable with contents from mostlyclean and
18770 realclean, remove entries duplicated in common-mostlyclean, add
18771 stamp-libm-err and stamp-version.
18772 (generated-dirs): Add libc directory.
18773 ($(inst_infodir)/libc.info): Install files from build dir.
18774
18775 * manual/install.texi (Configuring and compiling): Adjust since
18776 the info files are not part of the tar ball anymore.
18777
18778 2012-05-14 Andreas Jaeger <aj@suse.de>
18779
18780 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18781 variable.
18782
18783 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18784
18785 [BZ #13717]
18786 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18787 to 2.2.0 where earlier.
18788 * sysdeps/unix/sysv/linux/configure: Regenerated.
18789 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18790 Remove conditional code.
18791 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18792 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18793 Remove conditional code.
18794 [!__NR_lchown]: Likewise.
18795 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18796 [__NR_lchown]: Likewise.
18797 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18798 comment referencing __ASSUME_LCHOWN_SYSCALL.
18799 * sysdeps/unix/sysv/linux/i386/sigaction.c
18800 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18801 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18802 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18803 Remove conditional code.
18804 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18805 (__protocol_available): Remove #if 0 code.
18806 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18807 conditional code.
18808 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18809 * sysdeps/unix/sysv/linux/kernel-features.h
18810 (__ASSUME_GETCWD_SYSCALL): Don't define.
18811 (__ASSUME_REALTIME_SIGNALS): Likewise.
18812 (__ASSUME_PREAD_SYSCALL): Likewise.
18813 (__ASSUME_PWRITE_SYSCALL): Likewise.
18814 (__ASSUME_POLL_SYSCALL): Likewise.
18815 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18816 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18817 non-SPARC.
18818 (__ASSUME_SIOCGIFNAME): Don't define.
18819 (__ASSUME_MSG_NOSIGNAL): Likewise.
18820 (__ASSUME_SENDFILE): Define unconditionally.
18821 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18822 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18823 conditional code.
18824 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18825 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18826 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18827 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18828 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18829 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18830 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18832 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18833 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18835 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18836 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18838 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18839 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18841 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18842 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18844 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18845 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18847 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18848 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18850 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18851 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18853 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18854 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18855 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18856 Remove conditional code.
18857 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18858 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18859 Remove conditional code.
18860 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18861 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18862 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18863 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18864 Remove conditional code.
18865 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18866 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18867 Remove conditional code.
18868 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18869 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18870 Remove conditional code.
18871 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18872 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18873 Remove conditional code.
18874 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18875 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18876 Remove conditional code.
18877 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18878 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18879 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18880 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18881 * sysdeps/unix/sysv/linux/sigaction.c
18882 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18883 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18884 * sysdeps/unix/sysv/linux/sigpending.c
18885 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18886 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18887 * sysdeps/unix/sysv/linux/sigprocmask.c
18888 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18889 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18890 * sysdeps/unix/sysv/linux/sigsuspend.c
18891 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18892 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18893 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18894 (__libc_missing_rt_sigs): Remove.
18895 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18896 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18897 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18898 Remove conditional code.
18899 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18900 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18901 return 1.
18902 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18903 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18904 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18905 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18906
18907 2012-05-14 Andreas Jaeger <aj@suse.de>
18908
18909 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18910 it's not used in glibc.
18911 (__coshm1): Likewise.
18912 (__acosh1p): Likewise.
18913 (__sgn): Likewise.
18914
18915 * manual/string.texi (Copying and Concatenation): Add missing
18916 variable in concat example.
18917 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18918
18919 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18920
18921 [BZ #14103]
18922 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18923 __builtin_clzl with __builtin_clzll.
18924
18925 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18926
18927 [BZ #14104]
18928 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18929 libc_freeres_ptr.
18930
18931 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18932
18933 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18934 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18935 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18936 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18937
18938 2012-05-14 Mike Frysinger <vapier@gentoo.org>
18939
18940 * NEWS: Update ia64 info.
18941
18942 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18943
18944 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18945 used as bcopy.
18946
18947 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18948
18949 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18950 * sysdeps/unix/syscalls.list (dup3): Likewise.
18951 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18952 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18953
18954 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18955
18956 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18957 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18958
18959 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18960
18961 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18962 thread pointer.
18963 (TLS_IE): Use mov/add instead of movq/addq to load thread
18964 pointer.
18965 (TLS_GD_PREFIX): New.
18966 (TLS_GD): Use it.
18967
18968 2012-05-11 David S. Miller <davem@davemloft.net>
18969
18970 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18971 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18972 (_FPU_SETCW): Likewise.
18973
18974 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18975
18976 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18977 is 32-byte aligned.
18978
18979 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18980
18981 [BZ #11837]
18982 * iconvdata/gb18030.c: Update tables.
18983 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18984 characters specially.
18985 (BODY for TO_LOOP): Add encoding of missing ranges.
18986
18987 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18988
18989 [BZ #13673]
18990 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18991 * sysdeps/mach/hurd/dup3.c: Likewise.
18992 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18993 * sysdeps/powerpc/memmove.c:: Likewise.
18994
18995 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18996
18997 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18998 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18999
19000 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19001
19002 * elf/elf.h (R_X86_64_RELATIVE64): New.
19003 (R_X86_64_NUM): Updated.
19004 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19005 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19006 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19007 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19008 tst-quad1pie tst-quad2pie
19009 (modules-names): Add tst-quadmod1 tst-quadmod2.
19010 ($(objpfx)tst-quad1): New dependency.
19011 ($(objpfx)tst-quad2): Likewise.
19012 ($(objpfx)tst-quad1pie): Likewise.
19013 ($(objpfx)tst-quad2pie): Likewise.
19014 * sysdeps/x86_64/tst-quad1.c: New file.
19015 * sysdeps/x86_64/tst-quad1pie.c: New file.
19016 * sysdeps/x86_64/tst-quad2.c: Likewise.
19017 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19018 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19019 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19020 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19021 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19022
19023 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19024
19025 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19026 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19027 * streams/stropts.h (t_scalar_t): Define type.
19028
19029 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19030 (_PATH_PRESERVE): Set to "/var/lib".
19031 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19032
19033 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19034 instead of int.
19035
19036 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19037 if __dir_mkfile succeeded.
19038
19039 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19040 checking for _hurd_dtablesize. Unlock it right after having
19041 finished _hurd_dtable allocation.
19042
19043 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19044
19045 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19046 * sysdeps/mach/hurd/configure: Regenerated.
19047 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19048 special-casing to...
19049 * sysdeps/gnu/configure.in: ... this new file.
19050 * sysdeps/unix/sysv/linux/configure: Regenerated.
19051 * sysdeps/gnu/configure: New generated file.
19052
19053 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19054 for Linux: use nsec instead of usec, as well as:
19055 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19056 members of type struct timespec.
19057 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19058 New macros.
19059 (struct stat64): Likewise.
19060 (_STATBUF_ST_NSEC): New macro.
19061 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19062
19063 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19064 __strtoul_internal rather than strtoul.
19065
19066 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19067
19068 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19069 and reject them.
19070
19071 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19072
19073 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19074 which preserves existing values.
19075 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19076
19077 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19078
19079 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19080 TIMEOUT values. Return EINVAL for NFDS values either negative or
19081 greater than FD_SETSIZE.
19082
19083 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19084
19085 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19086 allocated, call __vm_protect to finish enabling the existing space, and
19087 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19088 allocate the remainder.
19089
19090 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19091
19092 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19093 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19094
19095 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19096
19097 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19098 sysdeps/mach/hurd/readlink.c.
19099
19100 * posix/tst-sysconf.c (posix_options): Only use
19101 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19102 _POSIX_SYNCHRONIZED_IO when they are defined
19103 * sysdeps/mach/hurd/bits/posix_opt.h:
19104 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19105 (_XOPEN_REALTIME): Undefine macro.
19106 (_XOPEN_REALTIME_THREADS): Undefine macro.
19107 (_XOPEN_SHM): Undefine macro.
19108 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19109 macro to -1.
19110 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19111 macro to -1.
19112 (_POSIX_ASYNC_IO): Undefine macro.
19113 (_POSIX_PRIORITIZED_IO): Undefine macro.
19114 (_POSIX_SPIN_LOCKS): Define macro to -1.
19115
19116 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19117 SA_NODEFER, SA_RESETHAND.
19118 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19119 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19120 F_DUPFD_CLOEXEC.
19121
19122 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19123
19124 * elf/Makefile (pldd-modules): Define unconditionally.
19125
19126 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19127
19128 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19129
19130 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19131
19132 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19133 Return ENOENT when name is empty.
19134 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19135
19136 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19137
19138 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19139
19140 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19141
19142 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19143
19144 Fix mlock in all cases except non-readable pages.
19145 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19146 instead of VM_PROT_ALL as parameter to __vm_wire function.
19147
19148 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19149 (__mkdir): When path is `/', just fail with EEXIST.
19150 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19151
19152 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19153
19154 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19155 <sys/uio.h> (for writev).
19156 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19157 and <sys/param.h> (for MIN).
19158
19159 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19160
19161 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19162 REQUESTED_TIME. Properly set the remaining time and return EINTR
19163 if interrupted.
19164
19165 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19166
19167 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19168 Depend on against $(link-rpcuserlibs).
19169
19170 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19171
19172 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19173 (__libc_stack_end): Do not use attribute_relro.
19174 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19175 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
19176 to libthread-provided value.
19177 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19178 attribute_relro.
19179
19180 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19181
19182 [BZ #3748]
19183 * bits/libc-lock.h (__libc_once_get): New macro.
19184 * sysdeps/mach/bits/libc-lock.h: Likewise.
19185 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19186 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19187 instead of using implementation details.
19188
19189 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19190 * libio/freopen.c: Likewise.
19191 * libio/freopen64.c: Likewise.
19192 * misc/syslog.c: Likewise.
19193 * nscd/connections.c: Likewise.
19194 * nscd/netgroupcache.c: Likewise.
19195 * sysdeps/posix/getcwd.c: Likewise.
19196
19197 2012-05-10 Roland McGrath <roland@hack.frob.com>
19198
19199 * math/w_ilogbf.c: Add #include <limits.h>.
19200
19201 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19202
19203 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
19204 path instead of returning without unlocking.
19205
19206 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19207 immediate-write ioctls.
19208 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19209
19210 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19211
19212 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19213 __builtin_frame_address instead of making assumptions about the
19214 location of the return address relative to DATA. Force early load of
19215 the return address.
19216 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19217 __builtin_frame_address.
19218
19219 dup3 for GNU Hurd.
19220 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19221 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19222 implement dup3 and do some further code clean-ups.
19223 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19224 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19225
19226 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19227
19228 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19229
19230 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19231 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19232 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19233 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19234 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19235 d->port.lock.
19236
19237 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19238 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19239 when handler == SIG_ERR, not when handler != SIG_ERR.
19240
19241 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19242
19243 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19244 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19245 definitions.
19246
19247 accept4 for GNU Hurd.
19248 * include/sys/socket.h (__libc_accept4): New prototype.
19249 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19250 to implement __libc_accept4.
19251 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19252 __libc_accept4.
19253 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19254
19255 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19256 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19257 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19258 signal-defines.sym.
19259
19260 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19261
19262 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
19263
19264 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19265
19266 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19267 assertion on O_CLOEXEC flag.
19268 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19269 * hurd/intern-fd.c: Likewise.
19270 * hurd/port2fd.c: Likewise.
19271
19272 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19273
19274 [BZ #3906]
19275 * bits/in.h (IPV6_PKTINFO): Define new macro.
19276 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19277
19278 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19279
19280 [BZ #13954]
19281 [BZ #13955]
19282 [BZ #13956]
19283 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19284 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19285 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19286 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19287 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19288 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19289 * math/libm-test.inc (logb_test) : Additional logb tests.
19290
19291 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19292 Andreas Jaeger <aj@suse.de>
19293
19294 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19295 * configure: Regenerated.
19296 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19297 * config.make.in (link-obsolete-rpc): New substituted variable.
19298 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19299 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19300 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19301 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19302 so that libc.a contains the symbols.
19303 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19304 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19305 * sunrpc/auth_none.c: Likewise.
19306 * sunrpc/auth_unix.c: Likewise.
19307 * sunrpc/authdes_prot.c: Likewise.
19308 * sunrpc/authuxprot.c: Likewise.
19309 * sunrpc/clnt_gen.c: Likewise.
19310 * sunrpc/clnt_perr.c: Likewise.
19311 * sunrpc/clnt_raw.c: Likewise.
19312 * sunrpc/clnt_simp.c: Likewise.
19313 * sunrpc/clnt_tcp.c: Likewise.
19314 * sunrpc/clnt_udp.c: Likewise.
19315 * sunrpc/clnt_unix.c: Likewise.
19316 * sunrpc/des_crypt.c: Likewise.
19317 * sunrpc/des_soft.c: Likewise.
19318 * sunrpc/get_myaddr.c: Likewise.
19319 * sunrpc/key_call.c: Likewise.
19320 * sunrpc/key_prot.c: Likewise.
19321 * sunrpc/netname.c: Likewise.
19322 * sunrpc/pm_getmaps.c: Likewise.
19323 * sunrpc/pm_getport.c: Likewise.
19324 * sunrpc/pmap_clnt.c: Likewise.
19325 * sunrpc/pmap_prot.c: Likewise.
19326 * sunrpc/pmap_prot2.c: Likewise.
19327 * sunrpc/pmap_rmt.c: Likewise.
19328 * sunrpc/publickey.c: Likewise.
19329 * sunrpc/rpc_cmsg.c: Likewise.
19330 * sunrpc/rpc_common.c: Likewise.
19331 * sunrpc/rpc_dtable.c: Likewise.
19332 * sunrpc/rpc_prot.c: Likewise.
19333 * sunrpc/rpc_thread.c: Likewise.
19334 * sunrpc/rtime.c: Likewise.
19335 * sunrpc/svc.c: Likewise.
19336 * sunrpc/svc_auth.c: Likewise.
19337 * sunrpc/svc_raw.c: Likewise.
19338 * sunrpc/svc_run.c: Likewise.
19339 * sunrpc/svc_tcp.c: Likewise.
19340 * sunrpc/svc_udp.c: Likewise.
19341 * sunrpc/svc_unix.c: Likewise.
19342 * sunrpc/svcauth_des.c: Likewise.
19343 * sunrpc/xcrypt.c: Likewise.
19344 * sunrpc/xdr.c: Likewise.
19345 * sunrpc/xdr_array.c: Likewise.
19346 * sunrpc/xdr_float.c: Likewise.
19347 * sunrpc/xdr_intXX_t.c: Likewise.
19348 * sunrpc/xdr_mem.c: Likewise.
19349 * sunrpc/xdr_rec.c: Likewise.
19350 * sunrpc/xdr_ref.c: Likewise.
19351 * sunrpc/xdr_sizeof.c: Likewise.
19352 * sunrpc/xdr_stdio.c: Likewise.
19353
19354 2012-05-10 Roland McGrath <roland@hack.frob.com>
19355
19356 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19357 change. Update copyright years.
19358
19359 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19360
19361 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19362
19363 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19364 Joseph Myers <joseph@codesourcery.com>
19365 Paul Pluzhnikov <ppluzhnikov@google.com>
19366
19367 [BZ #14012]
19368 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19369 requiring rpcgen.
19370 [cross-compiling] (extra-libs): Likewise.
19371 [cross-compiling] (extra-libs-others): Likewise.
19372 [cross-compiling] (librpcsvc-routines): Likewise.
19373 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19374 [cross-compiling] (omit-deps): Likewise.
19375 (sunrpc-CPPFLAGS): New variable.
19376 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19377 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19378 (cross-rpcgen-objs): New variable.
19379 (extra-objs): Append $(cross-rpcgen-objs).
19380 ($(cross-rpcgen-objs)): New rule.
19381 ($(objpfx)cross-rpcgen): Likewise.
19382 (rpcgen-cmd): Define to use $(built-program-file). Expand
19383 comment.
19384 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19385 ($(objpfx)x%.stmp): Likewise.
19386 * sunrpc/proto.h [IS_IN_build] (_): Define.
19387 [IS_IN_build] (_libc_intl_domainname): Likewise.
19388
19389 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19390
19391 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19392 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19393 and R_X86_64_TPOFF64.
19394
19395 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19396
19397 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19398 sysdeps/unix/sysv/syscalls.list.
19399 (stime): Likewise.
19400 (utime): Likewise.
19401 * sysdeps/unix/sysv/syscalls.list: Remove file.
19402
19403 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19404
19405 [BZ #3440]
19406 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19407 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19408 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19409 (__LC_IDENTIFICATION): Make these macros useful in #if
19410 expressions, as required by C99.
19411
19412 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19413
19414 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19415 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19416 after this.
19417
19418 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19419
19420 * stdlib/longlong.h: Updated from GCC.
19421
19422 2012-05-09 Andreas Jaeger <aj@suse.de>
19423
19424 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19425 default is first entry.
19426 (run_mode): Set type.
19427 (main): Remove informal message about syslog.
19428 (options): Fix typo.
19429
19430 [BZ #14053]
19431 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
19432 to asm.
19433 (lrint): Likewise.
19434 (llrintf): Likewise.
19435 (llrint): Likewise.
19436 (rint): Likewise.
19437 (rintf): Likewise.
19438 (nearbyint): Likewise.
19439 (nearbyintf): Likewise.
19440
19441 2012-05-09 Andreas Jaeger <aj@suse.de>
19442 Pedro Alves <palves@redhat.com>
19443
19444 * nscd/nscd.c (run_mode): Use enum.
19445 (main): Cleanup coding style issue.
19446
19447 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
19448 Andreas Jaeger <aj@suse.de>
19449
19450 * nscd/nscd.c (go_background): Replaced with...
19451 (run_mode): ... this.
19452 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
19453 (options): Add -F --foreground.
19454 (main): Implement it.
19455 (parse_opt): Parse it.
19456
19457 2012-05-09 Andreas Jaeger <aj@suse.de>
19458
19459 [BZ #14083]
19460 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19461 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19462 -Wconversion warning.
19463 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19464 Likewise.
19465
19466 2012-05-09 Joseph Myers <joseph@codesourcery.com>
19467
19468 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19469 == 0.
19470 (LC_ALL): Use macro-int-constant.
19471 (LC_COLLATE): Likewise.
19472 (LC_CTYPE): Likewise.
19473 (LC_MESSAGES): Likewise.
19474 (LC_MONETARY): Likewise.
19475 (LC_NUMERIC): Likewise.
19476 (LC_TIME): Likewise.
19477 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19478 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19479 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19480 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19481 Specify type.
19482 [C99-based standards] (float_t): Expect type.
19483 [C99-based standards] (double_t): Expect type.
19484 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19485 type.
19486 [C99-based standards] (HUGE_VALL): Likewise.
19487 [C99-based standards] (INFINITY): Likewise.
19488 [C99-based standards] (NAN): Likewise.
19489 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19490 [C99-based standards] (FP_NAN): Likewise.
19491 [C99-based standards] (FP_NORMAL): Likewise.
19492 [C99-based standards] (FP_SUBNORMAL): Likewise.
19493 [C99-based standards] (FP_ZERO): Likewise.
19494 [C99-based standards] (FP_FAST_FMA): Use
19495 optional-macro-int-constant. Specify type. Require == 1.
19496 [C99-based standards] (FP_FAST_FMAF): Likewise.
19497 [C99-based standards] (FP_FAST_FMAL): Likewise.
19498 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19499 [C99-based standards] (FP_ILOGBNAN): Likewise.
19500 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19501 Specify type.
19502 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19503 [C99-based standards] (math_errhandling): Specify type.
19504 [ISO99 || ISO11] (signgam): Do not allow.
19505 [non-C99-based standards] (copysignf): Do not allow.
19506 [non-C99-based standards] (exp2f): Likewise.
19507 [non-C99-based standards] (log2f): Likewise.
19508 [non-C99-based standards] (modff): Allow.
19509 [non-C99-based standards] (erff): Do not allow.
19510 [non-C99-based standards] (erfcf): Likewise.
19511 [non-C99-based standards] (gammaf): Likewise.
19512 [non-C99-based standards] (hypotf): Likewise.
19513 [non-C99-based standards] (j0f): Likewise.
19514 [non-C99-based standards] (j1f): Likewise.
19515 [non-C99-based standards] (jnf): Likewise.
19516 [non-C99-based standards] (lgammaf): Likewise.
19517 [non-C99-based standards] (tgammaf): Likewise.
19518 [non-C99-based standards] (y0f): Likewise.
19519 [non-C99-based standards] (y1f): Likewise.
19520 [non-C99-based standards] (ynf): Likewise.
19521 [non-C99-based standards] (isnanf): Likewise.
19522 [non-C99-based standards] (acoshf): Likewise.
19523 [non-C99-based standards] (asinhf): Likewise.
19524 [non-C99-based standards] (atanhf): Likewise.
19525 [non-C99-based standards] (cbrtf): Likewise.
19526 [non-C99-based standards] (expm1f): Likewise.
19527 [non-C99-based standards] (ilogbf): Likewise.
19528 [non-C99-based standards] (log1pf): Likewise.
19529 [non-C99-based standards] (logbf): Likewise.
19530 [non-C99-based standards] (nextafterf): Likewise.
19531 [non-C99-based standards] (remainderf): Likewise.
19532 [non-C99-based standards] (rintf): Likewise.
19533 [non-C99-based standards] (scalbf): Likewise.
19534 [non-C99-based standards] (copysignl): Likewise.
19535 [non-C99-based standards] (exp2l): Likewise.
19536 [non-C99-based standards] (log2l): Likewise.
19537 [non-C99-based standards] (modfl): Allow.
19538 [non-C99-based standards] (erfl): Do not allow.
19539 [non-C99-based standards] (erfcl): Likewise.
19540 [non-C99-based standards] (gammal): Likewise.
19541 [non-C99-based standards] (hypotl): Likewise.
19542 [non-C99-based standards] (j0l): Likewise.
19543 [non-C99-based standards] (j1l): Likewise.
19544 [non-C99-based standards] (jnl): Likewise.
19545 [non-C99-based standards] (lgammal): Likewise.
19546 [non-C99-based standards] (tgammal): Likewise.
19547 [non-C99-based standards] (y0l): Likewise.
19548 [non-C99-based standards] (y1l): Likewise.
19549 [non-C99-based standards] (ynl): Likewise.
19550 [non-C99-based standards] (isnanl): Likewise.
19551 [non-C99-based standards] (acoshl): Likewise.
19552 [non-C99-based standards] (asinhl): Likewise.
19553 [non-C99-based standards] (atanhl): Likewise.
19554 [non-C99-based standards] (cbrtl): Likewise.
19555 [non-C99-based standards] (expm1l): Likewise.
19556 [non-C99-based standards] (ilogbl): Likewise.
19557 [non-C99-based standards] (log1pl): Likewise.
19558 [non-C99-based standards] (logbl): Likewise.
19559 [non-C99-based standards] (nextafterl): Likewise.
19560 [non-C99-based standards] (remainderl): Likewise.
19561 [non-C99-based standards] (rintl): Likewise.
19562 [non-C99-based standards] (scalbl): Likewise.
19563 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19564 [non-C99-based standards] (FP_*): Do not allow.
19565 [C99-based standards] (FP_*): Change to
19566 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19567 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19568 allow.
19569 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19570 (SIG_ERR): Likewise.
19571 [X/Open-based standards] (SIG_HOLD): Likewise.
19572 (SIG_IGN): Likewise.
19573 (SIGABRT): Use macro-int-constant. Specify type. Require
19574 positive value.
19575 (SIGFPE): Likewise.
19576 (SIGILL): Likewise.
19577 (SIGINT): Likewise.
19578 (SIGSEGV): Likewise.
19579 (SIGTER): Likewise.
19580 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19581 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19582 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19583 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19584 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19585 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19586 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19587 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19588 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19589 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19590 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19591 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19592 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19593 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19594 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19595 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19596 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19597 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19598 [X/Open-based standards] (SIGTRAP): Likewise.
19599 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19600 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19601 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19602 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19603 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19604 allow.
19605
19606 2012-05-08 Ian Wienand <ianw@vmware.com>
19607
19608 [BZ #14080]
19609 * time/tzset.c (__tzset_parse_tz): Update default rules for
19610 daylight time changes in the Energy Policy Act of 2005.
19611
19612 2012-05-09 Andreas Jaeger <aj@suse.de>
19613
19614 [BZ #13983]
19615 * elf/ldconfig.c (parse_conf): Change string to make clear that
19616 ldconfig only issued a warning if ld.so.conf does not exist.
19617
19618 2012-05-08 David S. Miller <davem@davemloft.net>
19619
19620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19621 movxtod instead of popping the value on the stack.
19622
19623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19624
19625 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19626
19627 * config.h.in: Add HAVE_ARM_PCS_VFP.
19628
19629 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
19630
19631 [BZ #13979]
19632 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19633 checking but the checks are disabled for any reason.
19634
19635 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19636
19637 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19638 and ELF64_R_TYPE with ELFW(R_TYPE).
19639
19640 2012-05-08 Joseph Myers <joseph@codesourcery.com>
19641
19642 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19643 (ulimit): Likewise.
19644
19645 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19646 (settimeofday): Likewise.
19647
19648 2012-05-08 Mike Frysinger <vapier@gentoo.org>
19649
19650 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19651 a struct th_u2 inside the union, and move tu_block/tu_code into
19652 a new th_u3 union of tu_block/tu_code inside of that. Move
19653 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19654 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19655 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19656 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19657 (th_stuff): Change to th_u1.tu_stuff.
19658 (th_data): Define.
19659 (th_msg): Change to th_u1.th_u2.tu_data.
19660
19661 2012-05-07 David S. Miller <davem@davemloft.net>
19662
19663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19664
19665 [BZ #14074]
19666 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19667 (SETUP_PIC_REG): Use it.
19668 (SETUP_PIC_REG_LEAF): Use it.
19669
19670 2012-05-07 Joseph Myers <joseph@codesourcery.com>
19671
19672 [BZ #13885]
19673 [BZ #13923]
19674 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19675 USE_AS_EXPM1L.
19676 (EXPL_FINITE): Likewise.
19677 (FLDLOG): Likewise.
19678 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19679 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19680 e_expl.S.
19681 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19682 USE_AS_EXPM1L.
19683 (EXPL_FINITE): Likewise.
19684 (FLDLOG): Likewise.
19685 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19686 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19687 e_expl.S.
19688 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19689 test of -max_value argument for long double.
19690 * sysdeps/i386/fpu/libm-test-ulps: Update.
19691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19692
19693 2012-05-06 David S. Miller <davem@davemloft.net>
19694
19695 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19696 quad soft-float symbols whose references which are compiler
19697 generated.
19698 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19699
19700 2012-05-06 Joseph Myers <joseph@codesourcery.com>
19701
19702 [BZ #13884]
19703 [BZ #13914]
19704 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19705 USE_AS_EXP10L.
19706 (EXPL_FINITE): Likewise.
19707 (FLDLOG): Likewise.
19708 (c0): Likewise.
19709 (c1): Likewise.
19710 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19711 Adjust comments for base varying.
19712 (__expl_finite): Change alias to EXPL_FINITE.
19713 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19714 e_expl.S.
19715 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19716 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19717 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19718 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19719 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19720 USE_AS_EXP10L.
19721 (EXPL_FINITE): Likewise.
19722 (FLDLOG): Likewise.
19723 (c0): Likewise.
19724 (c1): Likewise.
19725 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19726 Adjust comments for base varying.
19727 (__expl_finite): Change alias to EXPL_FINITE.
19728 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19729 tests for bugs.
19730 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19731
19732 [BZ #14064]
19733 * math/libm-test.inc (check_float_internal): Correct ulp
19734 calculation for subnormal expected results.
19735
19736 2012-05-06 Andreas Jaeger <aj@suse.de>
19737
19738 * Makeconfig (+math-flags): New, set to -frounding-math.
19739 (+cflags): Add +math-flags so that all of glibc gets compiled with
19740 it.
19741
19742 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19743
19744 2012-05-05 Joseph Myers <joseph@codesourcery.com>
19745
19746 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19747 Disable one test.
19748
19749 [BZ #13787]
19750 [BZ #13922]
19751 [BZ #14036]
19752 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19753 (__ieee754_expl): Allow for and saturate large arguments.
19754 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19755 (u_threshold): Likewise.
19756 (__exp): Call __ieee754_exp before checking for overflow and
19757 underflow.
19758 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19759 (u_threshold): Likewise.
19760 (__expf): Call __ieee754_expf before checking for overflow and
19761 underflow.
19762 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19763 (u_threshold): Likewise.
19764 (__expl): Call __ieee754_expl before checking for overflow and
19765 underflow.
19766 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19767 (__ieee754_expl): Allow for and saturate large arguments.
19768 * math/libm-test.inc (exp_test): Add another test. Do not allow
19769 missing overflow exception on overflow.
19770 (expm1_test): Do not allow missing overflow exception on overflow.
19771
19772 * sysdeps/i386/fpu/e_expl.c: Move to ...
19773 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19774 rather than using inline asm.
19775 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19776 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19777 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19778
19779 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19780 (nice): Likewise.
19781 (poll): Likewise.
19782 (signal): Likewise.
19783 (time): Likewise.
19784 (times): Likewise.
19785
19786 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19787
19788 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19789 sysdeps/unix/common/syscalls.list.
19790 (fchmod): Likewise.
19791 (fchown): Likewise.
19792 (ftruncate): Likewise.
19793 (getrusage): Likewise.
19794 (gettimeofday): Likewise.
19795 (setpgid): Likewise.
19796 (setregid): Likewise.
19797 (setreuid): Likewise.
19798 (sigaction): Likewise.
19799 (truncate): Likewise.
19800 (vhangup): Likewise.
19801 * sysdeps/unix/common/syscalls.list: Remove file.
19802 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19803 * sysdeps/unix/sysv/linux/Implies: Likewise.
19804
19805 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19806
19807 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19809 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19810 Moved to ...
19811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19812 Here.
19813 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19814 to ...
19815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19816 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19817 to ...
19818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19819 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19820 to ...
19821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19822 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19823 to ...
19824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19825 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19826 to ...
19827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19828 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19829 to ...
19830 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19831 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19832 to ...
19833 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19834 Here.
19835 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19836 to ...
19837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19838 Here.
19839 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19840 to ...
19841 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19842 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19843 Moved to ...
19844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19845 Here.
19846 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19847 to ...
19848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19849
19850 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19851
19852 * sysdeps/unix/common/bits/dirent.h: Remove file.
19853 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19854
19855 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19856 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19857 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19858 * sysdeps/unix/bsd/isatty.c: Likewise.
19859 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19860 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19861 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19862
19863 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19864
19865 [BZ #13563]
19866 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19867 long double comparison inaccuracies.
19868 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19870
19871 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19872
19873 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19874 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19875
19876 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19877
19878 [BZ #14049]
19879 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19880 nonzero digits before rounding a hex value.
19881 * stdlib/tst-strtod.c (tests): Add another test.
19882
19883 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19884
19885 * sysdeps/s390/fpu/libm-test-ulps: Update.
19886
19887 2012-05-03 Andreas Jaeger <aj@suse.de>
19888
19889 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19890 does not get optimized out.
19891 (malloc_opt_barrier): New.
19892
19893 2012-05-03 Andreas Jaeger <aj@suse.de>
19894 Roland McGrath <roland@hack.frob.com>
19895
19896 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
19897 intermediate file deletion.
19898 (generated): Add .symlist files.
19899
19900 2012-05-03 Joseph Myers <joseph@codesourcery.com>
19901
19902 [BZ #13775]
19903 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19904 Redirect under this condition.
19905 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19906 [__USE_GNU] (__dprintf_chk): Not under this condition.
19907 [__USE_GNU] (__vdprintf_chk): Likewise.
19908 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19909 under this condition.
19910 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19911 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19912 [__USE_XOPEN2K8] (vdprintf): Likewise.
19913 [__USE_GNU] (__dprintf_chk): Not under this condition.
19914 [__USE_GNU] (__vdprintf_chk): Likewise.
19915 [__USE_GNU] (dprintf): Likewise.
19916 [__USE_GNU] (vdprintf): Likewise.
19917
19918 2012-05-03 Roland McGrath <roland@hack.frob.com>
19919
19920 * elf/Makefile (common-generated): Set this instead of generated for
19921 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19922 $(all-built-dso)-derived lists.
19923
19924 2012-05-03 Andreas Jaeger <aj@suse.de>
19925
19926 * sysdeps/i386/fpu/libm-test-ulps: Update.
19927
19928 * FAQ: Removed.
19929 * FAQ.in: Likewise.
19930 * scripts/gen-FAQ.pl: Likewise.
19931 * manual/install.texi (Installation): Point to online location of
19932 FAQ.
19933 * Makefile (files-for-dist): Remove FAQ.
19934 (FAQ): Remove.
19935
19936 2012-05-02 Allan McRae <allan@archlinux.org>
19937
19938 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19939 (LDFLAGS-reldepmod5.so): Likewise.
19940 (LDFLAGS-reldep6mod1.so): Likewise.
19941 (LDFLAGS-reldep6mod4.so): Likewise.
19942 (LDFLAGS-reldep8mod3.so): Likewise.
19943 (LDFLAGS-unload4mod1.so): Likewise.
19944 (LDFLAGS-unload4mod2.so): Likewise.
19945 (LDFLAGS-tst-initorder): Likewise.
19946 (LDFLAGS-tst-initordera2.so): Likewise.
19947 (LDFLAGS-tst-initordera3.so): Likewise.
19948 (LDFLAGS-tst-initordera4.so): Likewise.
19949 (LDFLAGS-tst-initorderb2.so): Likewise.
19950 (LDFLAGS-noload): Likewise.
19951 (LDFLAGS-next): Likewise.
19952 (LDFLAGS-order2mod1.so): Likewise.
19953 (LDFLAGS-order2mod2.so): Likewise.
19954 (LDFLAGS-tst-initorder2): Likewise.
19955 (LDFLAGS-tst-initorder2a.so): Likewise.
19956 (LDFLAGS-tst-initorder2b.so): Likewise.
19957 (LDFLAGS-tst-initorder2c.so): Likewise.
19958 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19959
19960 2012-05-02 David S. Miller <davem@davemloft.net>
19961
19962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19963
19964 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19965
19966 [BZ #14055]
19967 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19968
19969 2012-05-02 Andreas Jaeger <aj@suse.de>
19970
19971 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19972 since we manipulate rounding mode.
19973 (CPPFLAGS-test-idouble.c): Likewise.
19974 (CPPFLAGS-test-ifloat.c): Likewise.
19975 (CFLAGS-test-ldouble.c): Likewise.
19976 (CFLAGS-test-double.c): Likewise.
19977 (CFLAGS-test-float.c): Likewise.
19978 (CFLAGS-test-misc.c): Likewise.
19979 (CFLAGS-test-test-fenv.c): Likewise.
19980
19981 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19982
19983 [BZ #2550]
19984 [BZ #2570]
19985 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19986 comparisons to determine direction to adjust input.
19987
19988 2012-05-01 Roland McGrath <roland@hack.frob.com>
19989
19990 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19991 output to the target.
19992
19993 * scripts/localplt.awk: New file.
19994 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19995 (check-localplt-CFLAGS): Variable removed.
19996 ($(all-built-dso:=.jmprel)): New static pattern rule.
19997 (generated): Add those targets.
19998 (localplt-built-dso): New variable.
19999 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20000
20001 * elf/check-localplt.c: File removed.
20002
20003 * scripts/check-execstack.awk: New file.
20004 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20005 (check-execstack-CFLAGS): Variable removed.
20006 ($(objpfx)check-execstack.h): Target removed.
20007 ($(objpfx)execstack-default): New target.
20008 (generated): Add that instead of check-execstack.h.
20009 ($(all-built-dso:=.phdr)): New static pattern rule.
20010 (generated): Add those targets.
20011 * elf/check-execstack.c: File removed.
20012
20013 * scripts/check-textrel.awk: New file.
20014 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20015 (check-textrel-CFLAGS): Variable removed.
20016 (all-built-dso): Use := to define.o
20017 ($(all-built-dso:=.dyn)): New static pattern rule.
20018 (generated): Add those targets.
20019 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20020 * config.make.in (READELF): New substituted variable.
20021 * elf/check-textrel.c: File removed.
20022
20023 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20024
20025 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20026 allow.
20027 * conform/data/ctype.h-data [C99-based standards] (isblank):
20028 Expect function.
20029 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20030 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20031 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20032 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20033 Specify type. Require positive value.
20034 (EILSEQ): Likewise.
20035 (ERANGE): Likewise.
20036 [ISO || POSIX] (EILSEQ): Do not expect.
20037 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20038 Specify type. Require positive value.
20039 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20040 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20041 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20042 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20043 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20044 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20045 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20046 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20047 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20048 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20049 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20050 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20051 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20052 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20053 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20054 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20055 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20056 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20057 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20058 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20059 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20060 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20061 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20062 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20063 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20064 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20065 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20066 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20067 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20068 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20069 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20070 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20071 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20072 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20073 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20074 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20075 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20076 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20077 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20078 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20079 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20080 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20081 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20082 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20083 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20084 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20085 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20086 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20087 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20088 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20089 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20090 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20091 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20092 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20093 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20094 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20095 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20096 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20097 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20098 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20099 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20100 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20101 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20102 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20103 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20104 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20105 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20106 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20107 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20108 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20109 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20110 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20111 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20112 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20113 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20114 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20115 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20116 Require >= 2.
20117 (FLT_ROUNDS): Expect as macro, not constant.
20118 (FLT_MANT_DIG): Use macro-int-constant.
20119 (DBL_MANT_DIG): Likewise.
20120 (LDBL_MANT_DIG): Likewise.
20121 (FLT_DIG): Likewise.
20122 (DBL_DIG): Likewise.
20123 (LDBL_DIG): Likewise.
20124 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20125 (DBL_MIN_EXP): Likewise.
20126 (LDBL_MIN_EXP): Likewise.
20127 (FLT_MAX_EXP): Use macro-int-constant.
20128 (DBL_MAX_EXP): Likewise.
20129 (LDBL_MAX_EXP): Likewise.
20130 (FLT_MAX_10_EXP): Likewise.
20131 (DBL_MAX_10_EXP): Likewise.
20132 (LDBL_MAX_10_EXP): Likewise.
20133 (FLT_MAX): Use macro-constant.
20134 (DBL_MAX): Likewise.
20135 (LDBL_MAX): Likewise.
20136 (FLT_EPSILON): Use macro-constant. Give upper bound.
20137 (DBL_EPSILON): Likewise.
20138 (LDBL_EPSILON): Likewise.
20139 (FLT_MIN): Likewise.
20140 (DBL_MIN): Likewise.
20141 (LDBL_MIN): Likewise.
20142 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20143 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20144 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20145 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20146 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20147 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20148 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20149 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20150 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20151 [ISO11] (FLT_TRUE_MIN): Likewise.
20152 [ISO11] (LDBL_TRUE_MIN): Likewise.
20153 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20154 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20155 (SCHAR_MIN): Use macro-int-constant. Specify type.
20156 (SCHAR_MAX): Likewise.
20157 (UCHAR_MAX): Likewise.
20158 (CHAR_MIN): Likewise.
20159 (CHAR_MAX): Likewise.
20160 (MB_LEN_MAX): Use macro-int-constant.
20161 (SHRT_MIN): Use macro-int-constant. Specify type.
20162 (SHRT_MAX): Likewise.
20163 (USHRT_MAX): Likewise.
20164 (INT_MAX): Likewise.
20165 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20166 bound negative.
20167 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20168 bound with "U".
20169 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20170 bound with "L".
20171 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20172 bound negative. Suffix upper bound with "L".
20173 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20174 bound with "UL".
20175 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20176 Specify type.
20177 [C99-based standards] (LLONG_MAX): Likewise.
20178 [C99-based standards] (ULLONG_MAX): Likewise.
20179 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20180 == 0.
20181 [ISO11] (max_align_t): Require type.
20182 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20183
20184 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20185 from $CFLAGS, without defining away __attribute__ calls.
20186 (checknamespace): Use $CFLAGS_namespace.
20187
20188 * conform/conformtest.pl (@keywords): Only include C99 keywords
20189 for standards based on C99 or C11.
20190
20191 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20192 Disable tests.
20193 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20194 UNIX98]: Likewise.
20195
20196 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20197 usability of symbols in #if.
20198
20199 * conform/conformtest.pl: If macro or constant types start
20200 "promoted:", expect the symbol to be of the following type
20201 promoted by the integer promotions.
20202
20203 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20204 in one place. Also handle "macro-constant".
20205
20206 * conform/conformtest.pl: Only accept expected macro values with
20207 "==". Parse all "macro" lines in one place.
20208 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20209
20210 * conform/conformtest.pl: Handle braced types on "constant" lines
20211 instead of handling "typed-constant".
20212 * conform/data/signal.h-data: Use "constant" instead of
20213 "typed-constant".
20214
20215 * conform/conformtest.pl: Handle "optional-" at start of lines in
20216 one place rather than duplicating several cases. Handle each
20217 format of "macro" line with initial "optional-".
20218
20219 * conform/conformtest.pl: Only accept expected constant or
20220 optional-constant values with "==". Parse all "constant" lines in
20221 one place. Parse all "optional-constant" lines in one place.
20222 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20223 * conform/data/fmtmsg.h-data: Likewise.
20224 * conform/data/netinet/in.h-data: Likewise.
20225 * conform/data/tar.h-data: Likewise.
20226 * conform/data/limits.h-data: Use "==" form on "constant" and
20227 "optional-constant" lines.
20228
20229 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20230 Use -std=c99 for XOPEN2K.
20231 (@knownproblems): Remove.
20232 (newtoken): Don't check %isknown.
20233
20234 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20235 Do not expect macro.
20236 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20237 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20238 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20239 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20240 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20241 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20242 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20243 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20244 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20245 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20246 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20247 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20248 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20249 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20250 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20251 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20252 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20253 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20254 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20255 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20256 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20257 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20258 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20259 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20260 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20261 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20262 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20263 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20264 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20265 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20266 [XPG3] (acosh): Likewise.
20267 [XPG3] (asinh): Likewise.
20268 [XPG3] (atanh): Likewise.
20269 [XPG3] (cbrt): Likewise.
20270 [XPG3] (expm1): Likewise.
20271 [XPG3] (ilogb): Likewise.
20272 [XPG3] (log1p): Likewise.
20273 [XPG3] (logb): Likewise.
20274 [XPG3] (nextafter): Likewise.
20275 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20276 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20277 [XPG3] (remainder): Likewise.
20278 [XPG3] (rint): Likewise.
20279 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20280 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20281 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20282 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20283 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20284 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20285 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20286 [UNIX98 || XOPEN2K] (scalb): Expect.
20287 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20288 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20289 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20290 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20291 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20292 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20293 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20294 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20295 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20296 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20297 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20298 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20299 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20300 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20301 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20302 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20303 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20304 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20305 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20306 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20307 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20308 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20309 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20310 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20311 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20312 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20313 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20314 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20315 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20316 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20317 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20318 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20319 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20320 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20321 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20322 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20323 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20324 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20325 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20326 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20327 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20328 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20329 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20330 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20331 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20332 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20333 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20334 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20335 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20336 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20337 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20338 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20339 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20340 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20341 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20342 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20343 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20344 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20345 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20346 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20347 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20348 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20349 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20350 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20351 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20352 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20353 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20354 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20355 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20356 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20357 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20358 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20359 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20360 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20361 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20362 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20363 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20364 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20365 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20366 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20367 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20368 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20369 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20370 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20371 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20372 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20373 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20374 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20375 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20376 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20377 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20378 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20379 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20380 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20381 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20382 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20383 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20384 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20385 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20386 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20387 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20388 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20389 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20390 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20391 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20392 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20393 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20394 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20395 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20396 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20397 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20398 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20399 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20400 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20401 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20402 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20403 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20404 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20405 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20406 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20407 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20408 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20409 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20410 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20411 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20412 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20413 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20414 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20415 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20416 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20417 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20418 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20419 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20420 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20421 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20422 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20423 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20424
20425 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20426 _XOPEN_SOURCE_EXTENDED for XPG4.
20427
20428 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20429
20430 * Makeconfig (localtime): Remove variable.
20431 (inst_localtime-file): Likewise.
20432
20433 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20434
20435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20436 Update.
20437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20438 Update.
20439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20440 Update.
20441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20442 Update.
20443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20444 Update.
20445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20446 Update.
20447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20448 Update.
20449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20450 Update.
20451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20452 Update.
20453
20454 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20455
20456 [BZ #2550]
20457 [BZ #2570]
20458 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20459 comparisons to determine direction to adjust input.
20460 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20461 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20462 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20463 Likewise.
20464 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20465 Likewise.
20466 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20467 Likewise.
20468 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20469 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20470 Likewise.
20471 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20472 Likewise.
20473 * math/libm-test.inc (nexttoward_test): Add more tests.
20474
20475 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20476
20477 [BZ #14040]
20478 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20479 in version GLIBC_2.1, not GLIBC_2.0.
20480 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20481 Likewise.
20482
20483 2012-04-30 Joseph Myers <joseph@codesourcery.com>
20484
20485 [BZ #13942]
20486 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20487 (1 - x) * (1 + x).
20488 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20489 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20490 * math/libm-test.inc (acos_test): Add more tests.
20491 (asin_test): Likewise.
20492 * sysdeps/i386/fpu/libm-test-ulps: Update.
20493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20494
20495 [BZ #14034]
20496 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20497 of square root.
20498 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20499 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20500 * math/libm-test.inc (acos_test_tonearest): New function.
20501 (acos_test_towardzero): Likewise.
20502 (acos_test_downward): Likewise.
20503 (acos_test_upward): Likewise.
20504 (asin_test_tonearest): Likewise.
20505 (asin_test_towardzero): Likewise.
20506 (asin_test_downward): Likewise.
20507 (asin_test_upward): Likewise.
20508 (main): Call the new functions.
20509 * sysdeps/i386/fpu/libm-test-ulps: Update.
20510 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20511
20512 [BZ #13884]
20513 [BZ #13924]
20514 * math/e_exp10.c: Include <float.h>.
20515 (__ieee754_exp10): Handle underflow here rather than multiplying
20516 large negative argument by M_LN10.
20517 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20518 of __ieee754_expf.
20519 * math/e_exp10l.c: Include <float.h>.
20520 (__ieee754_exp10l): Handle underflow here rather than multiplying
20521 large negative argument by M_LN10l.
20522 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20523 spurious overflow exception on underflow.
20524
20525 2012-04-29 Marek Polacek <polacek@redhat.com>
20526
20527 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20528 (__fortify_function): New macro.
20529 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20530 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20531 __extern_always_inline.
20532 * libio/bits/stdio2.h: Likewise.
20533 * libio/bits/stdio.h: Likewise.
20534 * string/string.h: Likewise.
20535 * string/bits/string3.h: Likewise.
20536 * include/stdio.h: Likewise.
20537 * stdlib/bits/stdlib.h: Likewise.
20538 * stdlib/stdlib.h: Likewise.
20539 * rt/bits/mqueue2.h: Likewise.
20540 * rt/mqueue.h: Likewise.
20541 * posix/bits/unistd.h: Likewise.
20542 * posix/unistd.h: Likewise.
20543 * io/bits/poll2.h: Likewise.
20544 * io/bits/fcntl2.h: Likewise.
20545 * io/fcntl.h: Likewise.
20546 * io/sys/poll.h: Likewise.
20547 * misc/bits/syslog.h: Likewise.
20548 * misc/bits/syslog-ldbl.h: Likewise.
20549 * misc/sys/syslog.h: Likewise.
20550 * socket/bits/socket2.h: Likewise.
20551 * socket/sys/socket.h: Likewise.
20552 * debug/tst-chk1.c: Likewise.
20553 * wcsmbs/bits/wchar2.h: Likewise.
20554 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20555 * wcsmbs/wchar.h: Likewise.
20556
20557 2012-04-29 Andreas Jaeger <aj@suse.de>
20558
20559 * Makerules (tests): Remove enable-check-abi protection.
20560 (check-abi-warn): Remove.
20561 (check-abi-%): Remove check-abi-warn usage.
20562
20563 * configure.in: Remove check-abi configure option.
20564 * configure: Regenerated.
20565 * config.make.in (enable-check-abi): Remove.
20566
20567 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20568
20569 [BZ #14033]
20570 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20571 double functions to double *_finite functions.
20572
20573 [BZ #13941]
20574 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20575 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20576 LDBL_MIN_EXP.
20577 * stdio-common/Makefile (tests): Add tst-sprintf3.
20578 * stdio-common/tst-sprintf3.c: New file.
20579
20580 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20581 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20582
20583 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20584
20585 * conform/conformtest.pl: Remove duplicate typed-constant
20586 handling.
20587
20588 2012-04-28 David S. Miller <davem@davemloft.net>
20589
20590 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20591 (check-abi-%): Remove AWK script prerequisite and explicit
20592 abilist directory.
20593 (check-abi): Rewrite to just diff the symlist with the abilist.
20594 (config-tls, config-abi-config): Delete, no longer used.
20595 (update-abi-%): Remove AWK script and explicit abilist directory.
20596 (update-abi): Rewrite to simply compare and conditionally copy the
20597 symlist and the sysdep abilist file. Remove update-abi-config
20598 checks.
20599 * abilist/ld.abilist: Remove.
20600 * abilist/libBrokenLocale.abilist: Remove.
20601 * abilist/libanl.abilist: Remove.
20602 * abilist/libcrypt.abilist: Remove.
20603 * abilist/libdl.abilist: Remove.
20604 * abilist/librt.abilist: Remove.
20605 * abilist/libthread_db.abilist: Remove.
20606 * abilist/libutil.abilist: Remove.
20607 * scripts/extract-abilist.awk: Remove.
20608 * scripts/merge-abilist.awk: Remove.
20609 * sysdeps/generic/libcidn.abilist: New file.
20610 * sysdeps/generic/libnss_compat.abilist: New file.
20611 * sysdeps/generic/libnss_db.abilist: New file.
20612 * sysdeps/generic/libnss_dns.abilist: New file.
20613 * sysdeps/generic/libnss_files.abilist: New file.
20614 * sysdeps/generic/libnss_hesiod.abilist: New file.
20615 * sysdeps/generic/libnss_nis.abilist: New file.
20616 * sysdeps/generic/libnss_nisplus.abilist: New file.
20617 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20618 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20619 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20620 file.
20621 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20622 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20623 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20624 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20625 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20626 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20627 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20628 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20629 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20630 file.
20631 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20632 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20633 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20634 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20635 file.
20636 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20637 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20638 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20639 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20640 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20641 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20642 file.
20643 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20644 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20645 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20646 file.
20647 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20648 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20649 New file.
20650 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20651 New file.
20652 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20653 New file.
20654 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20655 New file.
20656 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20657 New file.
20658 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20659 New file.
20660 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20661 New file.
20662 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20663 New file.
20664 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20665 New file.
20666 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20667 New file.
20668 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20669 New file.
20670 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20671 New file.
20672 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20673 New file.
20674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20675 file.
20676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20677 New file.
20678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20679 New file.
20680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20681 file.
20682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20683 New file.
20684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20685 New file.
20686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20687 file.
20688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20689 New file.
20690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20691 New file.
20692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20693 New file.
20694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20695 New file.
20696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20697 New file.
20698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20699 New file.
20700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20702 file.
20703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20704 New file.
20705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20706 file.
20707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20708 file.
20709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20710 file.
20711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20712 file.
20713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20714 file.
20715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20716 New file.
20717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20718 file.
20719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20720 file.
20721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20722 New file.
20723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20724 file.
20725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20727 file.
20728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20729 New file.
20730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20731 file.
20732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20733 file.
20734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20735 file.
20736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20737 file.
20738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20739 file.
20740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20741 New file.
20742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20743 file.
20744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20745 file.
20746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20747 New file.
20748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20749 file.
20750 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20751 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20752 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20753 file.
20754 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20755 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20756 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20757 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20758 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20759 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20760 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20761 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20762 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20763 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20764 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20766 file.
20767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20768 New file.
20769 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20770 file.
20771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20772 file.
20773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20774 file.
20775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20776 file.
20777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20778 file.
20779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20780 New file.
20781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20782 New file.
20783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20784 file.
20785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20786 New file.
20787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20788 file.
20789 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20791 file.
20792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20793 New file.
20794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20795 file.
20796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20797 file.
20798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20799 file.
20800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20801 file.
20802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20803 file.
20804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20805 New file.
20806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20807 New file.
20808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20809 file.
20810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20811 New file.
20812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20813 file.
20814
20815 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20816
20817 * conform/conformtest.pl: Fix typo in handling typed-constant from
20818 allow-header.
20819
20820 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20821
20822 * README: Cut down references to pre-2.6 Linux kernels and
20823 Linuxthreads. Update lists of configurations in libc and ports
20824 and sort alphabetically. Say "or newer" with Linux kernel version
20825 requirements.
20826
20827 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20828
20829 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20830
20831 [BZ #887]
20832 * math/libm-test.inc (logb_test_downward): New test to expose
20833 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20834 rounding mode.
20835
20836 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20837
20838 [BZ #14027]
20839 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20840 to be done.
20841 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20842 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20843
20844 2012-04-26 Joseph Myers <joseph@codesourcery.com>
20845
20846 * sysdeps/unix/i386/brk.S: Remove file.
20847 * sysdeps/unix/i386/dl-brk.S: Likewise.
20848 * sysdeps/unix/i386/pipe.S: Likewise.
20849 * sysdeps/unix/i386/sigreturn.S: Likewise.
20850 * sysdeps/unix/i386/syscall.S: Likewise.
20851 * sysdeps/unix/i386/vfork.S: Likewise.
20852 * sysdeps/unix/i386/wait.S: Likewise.
20853
20854 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20855 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20856
20857 * configure.in (arm*-none*): Do not allow without
20858 --enable-hacker-mode.
20859 (netbsd*): Remove case setting base_os.
20860 (386bsd*): Likewise.
20861 (freebsd*): Likewise.
20862 (bsdi*): Likewise.
20863 (osf*): Likewise.
20864 (sunos*): Likewise.
20865 (ultrix*): Likewise.
20866 (newsos*): Likewise.
20867 (dynix*): Likewise.
20868 (*bsd*): Likewise.
20869 (sysv*): Likewise.
20870 (isc*): Likewise.
20871 (esix*): Likewise.
20872 (sco*): Likewise.
20873 (minix*): Likewise.
20874 (irix4*): Likewise.
20875 (irix6*): Likewise.
20876 (solaris[2-9]*): Likewise.
20877 (none): Likewise.
20878 * configure: Regenerated.
20879
20880 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20881
20882 [BZ #11521]
20883 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20884 overflow or cancellation in calculating denominator.
20885 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20886 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20887 down expression to avoid unexpected rounding in newer GCCs.
20888 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20889
20890 2012-04-26 David S. Miller <davem@davemloft.net>
20891
20892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20893 long-double compat symbols.
20894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20907
20908 2012-04-25 David S. Miller <davem@davemloft.net>
20909
20910 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20911 HWCAP_* values only after the memory barriers have been defined.
20912 (atomic_full_barrier): Define.
20913 (atomic_read_barrier): Define.
20914 (atomic_write_barrier): Define.
20915
20916 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20917
20918 * shlib-versions: Add libgcc_s version information.
20919 * sysdeps/generic/libgcc_s.h: Remove.
20920 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20921 libgcc_s.h.
20922 * sysdeps/gnu/unwind-resume.c: Likewise.
20923 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20924
20925 2012-04-25 David S. Miller <davem@davemloft.net>
20926
20927 * sysdeps/unix/sparc/brk.S: Delete.
20928 * sysdeps/unix/sparc/dl-brk.S: Delete.
20929 * sysdeps/unix/sparc/pipe.S: Delete.
20930 * sysdeps/unix/sparc/sysdep.S: Delete.
20931 * sysdeps/unix/sparc/sysdep.h: Delete.
20932 * sysdeps/unix/sparc/vfork.S: Delete.
20933 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20934 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20935 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20936 ret_ERRVAL, r0, r1, MOVE): Define.
20937 (JUMPTARGET): Remove.
20938 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20939 sysdeps/unix/sparc/sysdep.h
20940 (ENTRY, END): Remove.
20941 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20942
20943 2012-04-25 Joseph Myers <joseph@codesourcery.com>
20944
20945 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20946 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20947 -DIS_IN_build.
20948
20949 * timezone/README: Update upstream location and email address for
20950 tzcode and tzdata.
20951 * timezone/zdump.c: Update from tzcode 2012b.
20952 * timezone/zic.c: Likewise.
20953
20954 * configure.in (libc_cv_as_needed): Remove test.
20955 * configure: Regenerated.
20956 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20957 conditional definition.
20958 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20959 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20960 * config.make.in (have-as-needed): Remove variable.
20961
20962 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20963 Paul Pluzhnikov <ppluzhnikov@google.com>
20964
20965 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20966 strings correctly.
20967
20968 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20969
20970 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20971 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20972 * sysdeps/sh/strlen.S: Likewise.
20973
20974 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20975
20976 * sysdeps/unix/fork.S: Remove file.
20977 * sysdeps/unix/i386/fork.S: Likewise.
20978 * sysdeps/unix/sparc/fork.S: Likewise.
20979
20980 * sysdeps/unix/system.c: Remove file.
20981 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20982
20983 * sysdeps/unix/getegid.S: Remove file.
20984 * sysdeps/unix/geteuid.S: Likewise.
20985
20986 2012-04-24 Roland McGrath <roland@hack.frob.com>
20987
20988 * scripts/check-localplt.awk: New file.
20989 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20990 of diff.
20991 * scripts/data/localplt-generic.data: Add a comment.
20992
20993 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20994 NODE when __dir_mkfile failed.
20995 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20996 Reported by Ludovic Courtès <ludo@gnu.org>.
20997
20998 2012-04-24 Andreas Jaeger <aj@suse.de>
20999
21000 * Makerules (common-clean): Also remove gen-as-const-headers
21001 files.
21002
21003 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21004
21005 * Makerules (native-compile): Do not change working directory for
21006 build. Use $(OUTPUT_OPTION) in command.
21007 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21008
21009 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21010
21011 [BZ #13886]
21012 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21013 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21014 * math/libm-test.inc (floor_test): Add more tests.
21015 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21016
21017 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21018
21019 * sysdeps/unix/getdents.c: Remove file.
21020 * sysdeps/unix/sysv/getdents.c: Likewise.
21021 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21022
21023 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21024 sysdeps/unix/mman/syscalls.list.
21025 (mmap): Likewise.
21026 (mprotect): Likewise.
21027 (msync): Likewise.
21028 (munmap): Likewise.
21029 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21030 * sysdeps/unix/mman/syscalls.list: Remove.
21031 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21032
21033 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21034 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21035 * configure: Regenerated.
21036 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21037 $(libgcc_s_suffix).
21038 * config.make.in (libgcc_s_suffix): Remove variable.
21039
21040 2012-04-23 Joseph Myers <joseph@codesourcery.com>
21041
21042 * sysdeps/unix/sysv/gethostname.c: Move to ...
21043 * sysdeps/posix/gethostname.c: ... here.
21044
21045 * sysdeps/unix/execve.S: Remove file.
21046
21047 * sysdeps/unix/_exit.S: Remove file.
21048
21049 2012-04-23 Andreas Jaeger <aj@suse.de>
21050
21051 [BZ #13739]
21052 * manual/Makefile: Remove make dist support, there's no
21053 need for a stand-alone documentation tar ball.
21054 (TEXI2DVI): Define always, it's not in Makeconfig.
21055 (dist): Removed.
21056 (tar-it): Removed.
21057 (edition): Removed.
21058 (glibc-doc-$(edition).tar): Removed
21059 (%.Z): Removed.
21060 (%.gz): Removed.
21061 (%.uu): Removed.
21062 (ETAGS): Remove, it's in Makeconfig.
21063 (move-if-change): Remove, it's in Makeconfig.
21064
21065 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
21066
21067 [BZ #13970]
21068 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21069 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21070 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21071 (strtod_l, strtof_l, strtold_l): Remove __wur.
21072 It is not necessarily an error to ignore strtol's return value.
21073 One can reliably look at the stored endptr to decide whether
21074 the number had valid syntax.
21075
21076 2012-04-21 Andreas Jaeger <aj@suse.de>
21077
21078 [BZ #13739]
21079 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21080
21081 2012-04-21 Joseph Myers <joseph@codesourcery.com>
21082
21083 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21084 * sysdeps/unix/sysv/Versions: Remove file.
21085
21086 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21087
21088 [BZ #13927]
21089 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21090
21091 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
21092
21093 [BZ #7064]
21094 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21095 version from __vm86.
21096
21097 2012-04-20 Joseph Myers <joseph@codesourcery.com>
21098
21099 * sysdeps/unix/common/lxstat.c: Remove file.
21100 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21101
21102 * sysdeps/unix/sysv/Makefile: Remove file.
21103
21104 * sysdeps/unix/sysv/direct.h: Remove file.
21105
21106 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21107 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21108 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21109 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21110 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21111 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21112 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21113
21114 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21115
21116 * sysdeps/unix/xmknod.c: Remove file.
21117 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21118
21119 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21120
21121 * sysdeps/unix/sysv/i386/time.S: Remove file.
21122
21123 * sysdeps/unix/fxstat.c: Remove file.
21124 * sysdeps/unix/xstat.c: Likewise.
21125 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21126
21127 * sysdeps/unix/sysv/sigaction.c: Remove file.
21128
21129 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21130 (sysdep_headers): Remove variable.
21131 [termio.h not in sysdep_headers] (generated): Likewise.
21132 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21133 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21134 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21135 * sysdeps/unix/sysv/tcflow.c: Likewise.
21136 * sysdeps/unix/sysv/tcflush.c: Likewise.
21137 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21138 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21139 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21140 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21141 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21142
21143 * sysdeps/unix/siglist.c: Remove file.
21144
21145 * sysdeps/unix/getppid.S: Remove file.
21146
21147 * sysdeps/unix/mkdir.c: Remove file.
21148 * sysdeps/unix/rmdir.c: Likewise.
21149
21150 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21151
21152 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21153 ERR_MAX value.
21154 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21155 errlist-compat value.
21156
21157 2012-04-18 David S. Miller <davem@davemloft.net>
21158
21159 * sysdeps/generic/memcopy.h (reg_char): Delete.
21160 * debug/strcat_chk.c: Use char, not reg_char.
21161 * debug/strcpy_chk.c: Likewise.
21162 * debug/strncat_chk.c: Likewise.
21163 * debug/strncpy_chk.c: Likewise.
21164 * string/memchr.c: Likewise.
21165 * string/memrchr.c: Likewise.
21166 * string/rawmemchr.c: Likewise.
21167 * string/strcat.c: Likewise.
21168 * string/strchr.c: Likewise.
21169 * string/strchrnul.c: Likewise.
21170 * string/strcmp.c: Likewise.
21171 * string/strcpy.c: Likewise.
21172 * string/strncat.c: Likewise.
21173 * string/strncmp.c: Likewise.
21174 * string/strncpy.c: Likewise.
21175
21176 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21177
21178 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21179 __builtin_memcopy is called when src and dest ranges are known to not
21180 overlap.
21181
21182 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21183
21184 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21185 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21186 fwd_align_merge macro call.
21187 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21188 bwd_align_merge macro call.
21189 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21190
21191 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21192
21193 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21194 bwd_align_merge macros.
21195 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21196 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21197 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21198
21199 2012-04-18 David S. Miller <davem@davemloft.net>
21200
21201 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21202
21203 2012-04-18 Andreas Jaeger <aj@suse.de>
21204
21205 [BZ# 6794]
21206 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21207 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21208 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21209
21210 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21211 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21212 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21213
21214 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21215 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21216 Adjust for changed ldbl-128 files.
21217
21218 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21219 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21220 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21221
21222 2012-04-17 David S. Miller <davem@davemloft.net>
21223
21224 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21225
21226 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21227
21228 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21229 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21230 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21231 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21232 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21233 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21234
21235 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21236
21237 [BZ #6794]
21238 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21239 * math/libm-test.inc: Add ilogb errno and exception tests.
21240 * math/w_ilogb.c: New file: ilogb wrapper.
21241 * math/w_ilogbf.c: New file: ilogbf wrapper.
21242 * math/w_ilogbl.c: New file: ilogbl wrapper.
21243 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21244 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21245 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21246 exception being thrown with 0.0 as argument.
21247 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21248 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21249 exception being thrown with 0.0 as argument.
21250 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21251 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21252 exception being thrown with 0.0 as argument.
21253 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21254 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21255 exception being thrown with 0.0 as argument.
21256 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21257 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
21258 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
21259 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21260 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21261 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21262 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21263 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21264 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21265
21266 2012-04-17 Petr Baudis <pasky@ucw.cz>
21267
21268 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21269 with altivec.
21270
21271 2012-04-16 Marek Polacek <polacek@redhat.com>
21272
21273 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21274
21275 2012-04-16 Marek Polacek <polacek@redhat.com>
21276
21277 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21278 operands of fdivp instruction.
21279
21280 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21281
21282 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21283 * elf/tst-auditmod3b.c: Likewise.
21284 * elf/tst-auditmod4b.c: Likewise.
21285 * elf/tst-auditmod5b.c: Likewise.
21286 * elf/tst-auditmod6b.c: Likewise.
21287 * elf/tst-auditmod6c.c: Likewise.
21288 * elf/tst-auditmod7b.c: Likewise.
21289 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21290 * sysdeps/x86_64/preconfigure.in: Likewise.
21291 * sysdeps/x86_64/preconfigure: Regenerated.
21292
21293 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21294
21295 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21296 __ILP32__.
21297
21298 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
21299
21300 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21301 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21302
21303 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21304
21305 [BZ #13973]
21306 * locale/iso-639.def: Fix gl language name. Spotted by
21307 Yaron Shahrabani.
21308
21309 2012-04-12 Roland McGrath <roland@hack.frob.com>
21310
21311 [BZ #2074]
21312 * libio/libio.h (__io_write_fn): Update comment.
21313
21314 2012-04-12 Petr Baudis <pasky@ucw.cz>
21315
21316 [BZ #2074]
21317 * stdio.texi (Hook Functions): The user provided writer function
21318 is not allowed to return -1.
21319
21320 2012-04-11 David S. Miller <davem@davemloft.net>
21321
21322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21323
21324 2012-04-11 Mike Frysinger <vapier@gentoo.org>
21325
21326 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21327 Add a leading slash to rtkaio.
21328
21329 2012-04-11 Jim Meyering <meyering@redhat.com>
21330
21331 [BZ #11959]
21332 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21333 It is not necessarily an error to ignore fwrite's return
21334 value. One can reliably use ferror to test for errors after
21335 the fact.
21336
21337 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21338
21339 * bits/types.h (__snseconds_t): New type.
21340 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21341
21342 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21343 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21344 (__SNSECONDS_T_TYPE): Likewise.
21345 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21346 (__SNSECONDS_T_TYPE): Likewise.
21347 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21348 (__SNSECONDS_T_TYPE): Likewise.
21349
21350 2012-04-10 Andreas Jaeger <aj@suse.de>
21351
21352 [BZ #2636]
21353 * manual/time.texi (Processor Time): Return type of times is
21354 elapsed real time since an arbitrary point in the past.
21355 (CPU Time): Move CLK_TCK from here...
21356 (Processor Time): ...to here. Correct description.
21357 * manual/conf.texi (Constants for Sysconf): Correct description of
21358 _SC_CLK_TCK.
21359
21360 2012-04-10 David S. Miller <davem@davemloft.net>
21361
21362 [BZ #13967]
21363 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21364 where the is a gap between DT_REL(A) and DT_JMPREL.
21365
21366 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21367
21368 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21369 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21370 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21371
21372 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21373
21374 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21375 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21376 (dl_main): Handle --inhibit-cache.
21377 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21378 _dl_inhibit_cache.
21379 * elf/dl-load.c (_dl_map_object): Use it.
21380 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21381
21382 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21383
21384 [BZ #13872]
21385 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21386 (__ieee754_powl): Saturate large exponents rather than testing for
21387 overflow of y*log2(x).
21388 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21389 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21390 exceptions.
21391
21392 [BZ #11521]
21393 * math/s_ctan.c: Include <float.h>.
21394 (__ctan): Avoid internal overflow or cancellation in calculating
21395 denominator.
21396 * math/s_ctanf.c: Likewise.
21397 * math/s_ctanl.c: Likewise.
21398 * math/s_ctanh.c: Likewise.
21399 * math/s_ctanhf.c: Likewise.
21400 * math/s_ctanhl.c: Likewise.
21401 * math/libm-test.inc (ctan_test): Add more tests.
21402 (ctanh_test): Likewise.
21403 * sysdeps/i386/fpu/libm-test-ulps: Update.
21404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21405
21406 2012-04-09 Andreas Jaeger <aj@suse.de>
21407
21408 [BZ #6894]
21409 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21410 is an optional BSD extension.
21411
21412 [BZ #10254]
21413 * manual/stdio.texi (Opening Streams): Document additional fopen
21414 parameters.
21415
21416 2012-04-09 Roland McGrath <roland@hack.frob.com>
21417
21418 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21419 %eax without telling the compiler.
21420
21421 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21422
21423 [BZ # 13963]
21424 * manual/install.texi: Use sourceware.org.
21425
21426 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21427
21428 [BZ #13873]
21429 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21430 (__ieee754_pow): Generate overflow and underflow using huge*huge
21431 and tiny*tiny rather than just returning constant infinity or zero
21432 for large exponents.
21433 * math/libm-test.inc (pow_test): Require overflow exceptions for
21434 applicable cases of large exponents.
21435
21436 [BZ #706]
21437 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21438 (__ieee754_pow): Use iterative multiplication algorithm only for
21439 integer exponents with absolute value below 1024. Check for odd
21440 integer exponents when using algorithm for real exponents.
21441 * math/libm-test.inc (pow_test): Add more tests.
21442 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21443
21444 2012-04-08 Joseph Myers <joseph@codesourcery.com>
21445
21446 [BZ #13705]
21447 * math/libm-test.inc (exp_test): Do not allow overflow exception
21448 on underflow test.
21449
21450 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21451
21452 [BZ #13705]
21453 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21454 instead of __kernel_standard_f.
21455
21456 2012-04-08 Mike Frysinger <vapier@gentoo.org>
21457
21458 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21459 * sysdeps/x86_64/memset_chk.S: Likewise.
21460
21461 2012-04-08 Andreas Jaeger <aj@suse.de>
21462
21463 [BZ #10153]
21464 * manual/startup.texi (Environment Access): Describe return value
21465 for putenv and setenv.
21466
21467 [BZ #6895]
21468 * manual/filesys.texi (Directory Entries): Add description for
21469 DT_LNK.
21470
21471 [BZ #6890]
21472 * manual/filesys.texi (Directory Entries): Clarify that it's file
21473 system not operating system in the description of DT_UNKNOWN.
21474
21475 [BZ #6578]
21476 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21477
21478 2012-04-08 Stephen Compall <s11@member.fsf.org>
21479
21480 [BZ #6649]
21481 * manual/llio.texi (Opening and Closing Files): Add cross
21482 reference to explain mode argument.
21483
21484 2012-04-07 Mike Frysinger <vapier@gentoo.org>
21485
21486 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21487 * sysdeps/x86_64/memset_chk.S: Likewise.
21488
21489 2012-04-07 David S. Miller <davem@davemloft.net>
21490
21491 * elf/elf.h (R_SPARC_WDISP10): Define.
21492 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21493 R_SPARC_SIZE32.
21494 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21495 R_SPARC_SIZE64 and R_SPARC_H34.
21496
21497 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21498
21499 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21500 conditions and remove no longer applicable assertion.
21501
21502 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21503
21504 * bits/byteswap.h: Include <features.h>.
21505 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21506 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21507
21508 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21509
21510 * bits/byteswap.h (__bswap_16): Removed.
21511 Include <bits/byteswap-16.h> to get __bswap_16.
21512 * sysdeps/i386/bits/byteswap.h: Likewise.
21513 * sysdeps/s390/bits/byteswap.h: Likewise.
21514 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21515 * bits/byteswap-16.h: New file.
21516 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21517 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21518 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21519 * string/Makefile (headers): Add bits/byteswap-16.h.
21520
21521 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21522
21523 [BZ #13895]
21524 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21525 extra indirection.
21526 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21527 * nss/tst-nss-static.c: New.
21528
21529 2012-04-06 Robert Millan <rmh@gnu.org>
21530
21531 [BZ #6486]
21532 * manual/llio.texi (File Position Primitive): lseek
21533 refers to WHENCE when it really means OFFSET.
21534
21535 2012-04-06 Andreas Jaeger <aj@suse.de>
21536
21537 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21538 strncmp declarations.
21539
21540 * abilist/libc.abilist: Add __poll and __ppoll.
21541
21542 2012-04-05 David S. Miller <davem@davemloft.net>
21543
21544 * scripts/check-local-headers.sh: Accept a host triplet in the
21545 path matched by the exclude regexp.
21546
21547 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21548 definition.
21549 * sysdeps/powerpc/powerpc32/dl-machine.h
21550 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21551 * sysdeps/s390/s390-32/dl-machine.h
21552 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21553 * sysdeps/sparc/sparc32/dl-machine.h
21554 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21555 * sysdeps/sparc/sparc64/dl-machine.h
21556 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21557
21558 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21559 lazy binding.
21560 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
21561 undefined symbol errors.
21562
21563 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
21564 DT_NEEDED entries.
21565
21566 2012-04-05 Michael Matz <matz@suse.de>
21567
21568 [BZ #13592]
21569 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21570
21571 2012-04-05 Andreas Jaeger <aj@suse.de>
21572
21573 [BZ #13908]
21574 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21575 comment.
21576
21577 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21578
21579 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21580 which ROUND is no valid rounding mode.
21581
21582 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21583
21584 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21585 read again.
21586 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21587
21588 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21589
21590 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21591 an exception using FPU order intentionally.
21592
21593 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21594
21595 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21596 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21597 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21598 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21599
21600 2012-04-05 Simon Josefsson <simon@josefsson.org>
21601
21602 [BZ #12340]
21603 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21604 EINVAL when BUFLEN is too smal.
21605
21606 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21607
21608 [BZ #13553]
21609 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21610 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21611
21612 2012-04-03 Andreas Jaeger <aj@suse.de>
21613
21614 [BZ #13938]
21615 * manual/setjmp.texi (System V contexts): Fix sentence.
21616
21617 [BZ #13926]
21618 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21619 New macro for this case.
21620 [!__GNUC__] (__bswap_64): New inline function for this case.
21621 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21622 * bits/byteswap.h: Likewise.
21623 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21624 ull, guard with __GLIBC_HAVE_LONG_LONG.
21625
21626 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21627 __GLIBC_HAVE_LONG_LONG.
21628
21629 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21630 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21631
21632 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21633
21634 [BZ #13691]
21635 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21636 inptr and inend, rather than using last_ch.
21637
21638 2012-04-02 David S. Miller <davem@davemloft.net>
21639
21640 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21641 * stdio-common/printf-parse.h (read_int): Change return type to
21642 'int', return -1 on INT_MAX overflow.
21643 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21644 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21645 overflows INT_MAX. Check for overflow of in-format-string precision
21646 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21647 SIZE_MAX not INT_MAX for integer overflow test.
21648 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21649 skip the construct in the format string but do not record anything.
21650 * stdio-common/bug22.c: Adjust to test both width/prevision
21651 INT_MAX overflow as well as total length INT_MAX overflow. Check
21652 explicitly for proper errno values.
21653
21654 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21655
21656 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21657 CHAR_MAX.
21658 * string/test-strcmp.c [! WIDE]: Likewise.
21659 * time/tst-mktime2.c: Likewise for INT_MAX.
21660 * string/test-string.h: #include <sys/param.h> for MIN.
21661
21662 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21663 * sysdeps/i386/init-first.c (init): Likewise.
21664 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21665 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21666 * sysdeps/sh/init-first.c (init): Likewise.
21667
21668 2012-04-01 Ulrich Drepper <drepper@gmail.com>
21669
21670 * po/ru.po: Update from translation team.
21671 * po/vi.po: Likewise.
21672
21673 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21674
21675 * resolv/nss_dns/dns-host.c: Merge copyright years.
21676
21677 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21678
21679 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21680 Optimize memcpy with prefetch if
21681 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21682 src, dst pointers have unequal 16 byte alignments.
21683
21684 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21685
21686 [BZ #13928]
21687 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21688 from a CNAME entry and return the minimum ttl for the query.
21689 (gaih_getanswer_slice): Likewise.
21690
21691 2012-03-30 Jeff Law <law@redhat.com>
21692
21693 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21694 due to long keys.
21695 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21696 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21697
21698 * resolv/nss_dns/dns-host.c: Update copyright year.
21699
21700 2012-03-30 Ulrich Drepper <drepper@gmail.com>
21701
21702 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
21703 requests to save a system call. Fix check that all bytes are sent.
21704
21705 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21706 comments for sendmmsg.
21707
21708 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21709
21710 [BZ #13691]
21711 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21712 with only 1 character between 0x0041 and 0x01b0.
21713 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21714 * wcsmbs/tst-mbsnrtowcs.c: New file.
21715
21716 2012-03-29 David S. Miller <davem@davemloft.net>
21717
21718 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21719 small copies by hand.
21720
21721 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21722
21723 [BZ #13761]
21724 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21725 _nss_compat_initgroups_dyn): Fall back to malloc/free
21726 for large group memberships.
21727
21728 2012-03-28 David S. Miller <davem@davemloft.net>
21729
21730 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21731 that branches into memcpy.
21732 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21733 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21734 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21735 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21736 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21737 bits.
21738 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21739 implementation too.
21740 * sysdeps/sparc/mempcpy.S: New file.
21741
21742 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21743 the IFUNC routine in the libc case.
21744 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21745
21746 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21747 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21748 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21749 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21750 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21751 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21752 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21753 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21754
21755 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21756 loop to 256 bytes instead of 64 bytes and fix test signedness.
21757
21758 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21759 * sysdeps/sparc/sparc32/Makefile: rather than here...
21760 * sysdeps/sparc/sparc64/Makefile: and here.
21761
21762 2012-03-28 Ulrich Drepper <drepper@gmail.com>
21763
21764 * malloc/mallocbug.c: Avoid warnings about unused variables.
21765
21766 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21767
21768 [BZ #13760]
21769 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21770 in the right place. Discard and retry query if response is
21771 larger than input buffer size.
21772
21773 2012-03-28 Joseph Myers <joseph@codesourcery.com>
21774
21775 [BZ #369]
21776 [BZ #2678]
21777 [BZ #3866]
21778 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21779 x for large integer exponent.
21780 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21781 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21782 sign of result as needed afterwards.
21783 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21784 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21785 result for underflowing pow the same as for overflow.
21786 (__kernel_standard_l): Handle powl overflow and underflow here
21787 rather than calling __kernel_standard.
21788 * math/libm-test.inc (pow_test): Add more tests.
21789
21790 [BZ #3868]
21791 [BZ #13879]
21792 [BZ #13910]
21793 [BZ #13911]
21794 [BZ #13912]
21795 [BZ #13913]
21796 [BZ #13915]
21797 [BZ #13916]
21798 [BZ #13917]
21799 [BZ #13918]
21800 [BZ #13919]
21801 [BZ #13920]
21802 [BZ #13921]
21803 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21804 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21805 (__kernel_standard_l): New function.
21806 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21807 __kernel_standard.
21808 * math/w_acosl.c (__acosl): Likewise.
21809 * math/w_asinl.c (__asinl): Likewise.
21810 * math/w_atan2l.c (__atan2l): Likewise.
21811 * math/w_atanhl.c (__atanhl): Likewise.
21812 * math/w_coshl.c (__coshl): Likewise.
21813 * math/w_exp10l.c (__exp10l): Likewise.
21814 * math/w_exp2l.c (__exp2l): Likewise.
21815 * math/w_fmodl.c (__fmodl): Likewise.
21816 * math/w_hypotl.c (__hypotl): Likewise.
21817 * math/w_j0l.c (__j0l, __y0l): Likewise.
21818 * math/w_j1l.c (__j1l, __y1l): Likewise.
21819 * math/w_jnl.c (__jnl, __ynl): Likewise.
21820 * math/w_lgammal.c (__lgammal): Likewise.
21821 * math/w_log10l.c (__log10l): Likewise.
21822 * math/w_log2l.c (__log2l): Likewise.
21823 * math/w_logl.c (__logl): Likewise.
21824 * math/w_powl.c (__powl): Likewise.
21825 * math/w_remainderl.c (__remainderl): Likewise.
21826 * math/w_scalbl.c (sysv_scalbl): Likewise.
21827 * math/w_sinhl.c (__sinhl): Likewise.
21828 * math/w_sqrtl.c (__sqrtl): Likewise.
21829 * math/w_tgammal.c (__tgammal): Likewise.
21830 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21831 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21832 * math/libm-test.inc (acos_test): Add more tests.
21833 (acosh_test): Likewise.
21834 (asin_test): Likewise.
21835 (atanh_test): Likewise.
21836 (exp_test): Likewise.
21837 (exp10_test): Likewise.
21838 (exp2_test): Likewise.
21839 (expm1_test): Likewise.
21840 (lgamma_test): Likewise.
21841 (log_test): Likewise.
21842 (log10_test): Likewise.
21843 (log1p_test): Likewise.
21844 (log2_test): Likewise.
21845 (pow_test): Do not allow some spurious overflow exceptions.
21846 (sqrt_test): Add more tests.
21847 (tgamma_test): Likewise.
21848 (y0_test): Likewise.
21849 (y1_test): Likewise.
21850 (yn_test): Likewise.
21851
21852 2012-03-27 Anton Blanchard <anton@samba.org>
21853
21854 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21855 MAP_HUGETLB.
21856 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21857 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21858 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21859
21860 2012-03-27 David S. Miller <davem@davemloft.net>
21861
21862 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21863
21864 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21865 have-as-vis3 check.
21866
21867 2012-03-27 Andreas Jaeger <aj@suse.de>
21868
21869 * sysdeps/x86_64/elf/configure.in: Moved to ...
21870 * sysdeps/x86_64/configure.in: ... here.
21871 * sysdeps/x86_64/elf/start.S: Moved to ...
21872 * sysdeps/x86_64/start.S: ... here.
21873 * sysdeps/x86_64/elf/configure: Delete.
21874
21875 * sysdeps/x86_64/configure.in: Merge contents from
21876 sysdeps/i386/configure.in (without i686 check).
21877
21878 * sysdeps/i386/elf/Versions: Merge into ...
21879 * sysdeps/i386/Versions: ... this.
21880 * sysdeps/i386/elf/Versions: Delete file.
21881 * sysdeps/i386/elf/start.S: Moved to ...
21882 * sysdeps/i386/start.S: ...here.
21883 * sysdeps/i386/elf/configure.in: Merge into...
21884 * sysdeps/i386/configure.in: ...here.
21885 * sysdeps/i386/elf/configure.in: Delete file.
21886 * sysdeps/i386/elf/configure: Delete file.
21887
21888 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21889 * debug/backtracesyms.c: ... here.
21890 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21891 * debug/backtracesymsfd.c: ... here.
21892 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21893 * sysdeps/generic/ifunc-sel.h: ... here.
21894
21895 * sysdeps/unix/i386/start.c: Delete file.
21896 * sysdeps/unix/sparc/start.c: Delete file.
21897 * sysdeps/unix/start.c: Delete file.
21898
21899 * sysdeps/sh/elf/configure.in: Moved to ...
21900 * sysdeps/sh/configure.in: ... here.
21901 * sysdeps/sh/elf/start.S: Moved to ...
21902 * sysdeps/sh/start.S: ... here.
21903 * sysdeps/sh/elf/configure: Delete file.
21904
21905 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21906 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21907 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21908 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21909 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21910 * sysdeps/powerpc/powerpc64/start.S: here.
21911 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21912 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21913 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21914 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21915 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21916
21917 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21918 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21919 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21920 * sysdeps/powerpc/powerpc32/start.S: ... here.
21921 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21922 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21923 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21924
21925 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21926 * sysdeps/powerpc/ifunc-sel.h: ... here.
21927 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21928 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21929
21930 * sysdeps/sparc/elf/configure.in: Moved to ...
21931 * sysdeps/sparc/configure.in: ... here.
21932 * sysdeps/sparc/elf/configure: Delete file.
21933 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21934 * sysdeps/sparc/sparc32/start.S: ... here.
21935 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21936 * sysdeps/sparc/sparc64/start.S: ... here.
21937 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21938 * sysdeps/sparc/sparc32/Makefile: ... this.
21939 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21940 * sysdeps/sparc/sparc64/Makefile: ... this.
21941
21942 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21943 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21944 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21945 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21946 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21947 * sysdeps/s390/s390-32/setjmp.S: ... here.
21948 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21949 * sysdeps/s390/s390-32/configure.in: ... here.
21950 * sysdeps/s390/s390-32/elf/configure: Delete file.
21951 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21952 * sysdeps/s390/s390-32/start.S: ... here.
21953
21954 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21955 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21956 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21957 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21958 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21959 * sysdeps/s390/s390-64/setjmp.S: ... here.
21960 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21961 * sysdeps/s390/s390-64/configure.in: ... here
21962 * sysdeps/s390/s390-64/elf/configure: Delete file.
21963 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21964 * sysdeps/s390/s390-64/start.S: ... here.
21965 * sysdeps/s390/s390-64/elf/configure: Delete.
21966
21967 * configure.in: Remove support for elf directories in sysdeps.
21968
21969 * configure: Regenerated.
21970 * sysdeps/i386/configure: Regenerated.
21971 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21972 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21973 * sysdeps/s390/s390-32/configure: Regenerated.
21974 * sysdeps/s390/s390-64/configure: Regenerated.
21975 * sysdeps/sh/configure: Regenerated.
21976 * sysdeps/sparc/configure: Regenerated.
21977 * sysdeps/x86_64/configure: Regenerated.
21978
21979 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21980
21981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21982
21983 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21984 denormal result into account.
21985
21986 2012-03-25 Roland McGrath <roland@hack.frob.com>
21987
21988 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21989 Reported by Allan McRae <allan@archlinux.org>.
21990
21991 2012-03-23 Jeff Law <law@redhat.com>
21992
21993 * nss/getnssent.c (__nss_getent): Fix typo.
21994
21995 2012-03-23 David S. Miller <davem@davemloft.net>
21996
21997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21998
21999 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22000
22001 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22002 to pad to uint64_t for each field.
22003 (dl_tls_index): Replace unsigned long with uint64_t.
22004
22005 2012-03-23 Daniel Jacobowitz <dmj@google.com>
22006 Paul Pluzhnikov <ppluzhnikov@google.com>
22007
22008 [BZ #6528]
22009 * grp/Makefile (otherlibs): Don't set it.
22010 * inet/Makefile (otherlibs): Likewise.
22011 * login/Makefile (otherlibs): Likewise.
22012 * nscd/Makefile (otherlibs): Likewise.
22013 * posix/Makefile (otherlibs): Likewise.
22014 * pwd/Makefile (otherlibs): Likewise.
22015 * rt/Makefile (otherlibs): Likewise.
22016 * sunrpc/Makefile (otherlibs): Likewise.
22017 * nss/Makefile (otherlibs): Likewise.
22018 Add libnss_files to routines and static-only-routines.
22019 ($(objpfx)getent): Remove rule.
22020 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22021 static-only-routines.
22022
22023 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22024
22025 [BZ #13892]
22026 * math/s_cexp.c: Include <float.h>.
22027 (__cexp): Handle exp result overflowing not necessarily
22028 overflowing both real and imaginary parts of result.
22029 * math/s_cexpf.c: Likewise.
22030 * math/s_cexpl.c: Likewise.
22031 * math/libm-test.inc (cexp_test): Add more tests.
22032 * sysdeps/i386/fpu/libm-test-ulps: Update.
22033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22034
22035 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22036
22037 * include/link.h (ELFW): New macro.
22038 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22039 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22040
22041 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22042
22043 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22044 with uint64_t.
22045
22046 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22047
22048 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22049 declaration.
22050 (struct La_x32_retval): Likewise.
22051
22052 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22053
22054 * sysdeps/x86_64/preconfigure.in: New file.
22055 * sysdeps/x86_64/preconfigure: New generated file.
22056
22057 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22058
22059 [BZ #13824]
22060 * math/e_exp2l.c: Include <float.h>.
22061 (__ieee754_exp2l): Handle overflow and underflow cases
22062 separately. Only pass fractional part of argument to
22063 __ieee754_expl.
22064 * math/libm-test.inc (exp2_test): Add more tests.
22065
22066 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22067 negating x to take absolute value.
22068 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22069 Likewise.
22070 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22071 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22072 Likewise.
22073 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22074 computing low part if x was negated.
22075 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22076
22077 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22078
22079 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22080 la_x32_gnu_pltexit.
22081 (pltexit): Cast int_retval to ptrdiff_t.
22082 * elf/tst-auditmod3b.c: Likewise.
22083 * elf/tst-auditmod4b.c: Likewise.
22084 * elf/tst-auditmod5b.c: Likewise.
22085 * elf/tst-auditmod6b.c: Likewise.
22086 * elf/tst-auditmod6c.c: Likewise.
22087 * elf/tst-auditmod7b.c: Likewise.
22088
22089 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22090 and x32_gnu_pltexit.
22091
22092 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22093 __ELF_NATIVE_CLASS.
22094 (La_x32_regs): New macro.
22095 (La_x32_retval): Likewise.
22096 (la_x32_gnu_pltenter): New function prototype.
22097 (la_x32_gnu_pltexit): Likewise.
22098
22099 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22100
22101 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22102 exponent.
22103
22104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22105
22106 * configure.in (libc_cv_cc_nofma): Check for option to disable
22107 generation of FMA instructions.
22108 * configure: Regenerate.
22109 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22110 * sysdeps/ieee754/dbl-64/Makefile: New file.
22111 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22112 Remove brandred-fma4.
22113 (CFLAGS-brandred-fma4.c): Remove.
22114 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22115 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22116 define.
22117 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22118 define.
22119
22120 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22121
22122 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22123 LLONG_MAX != LONG_MAX.
22124 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22125 (_fitoa_word): Likewise.
22126 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22127 LLONG_MAX != LONG_MAX.
22128 * stdio-common/_itowa.h: Include <_itoa.h>.
22129 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22130 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22131 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22132 only if not defined.
22133 (_ITOA_WORD_TYPE): Likewise.
22134 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22135 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22136
22137 2012-03-21 David S. Miller <davem@davemloft.net>
22138
22139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22140
22141 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22142
22143 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22144 of x86_64 when setting libc_cv_slibdir, libdir and
22145 libc_cv_localedir.
22146 * sysdeps/unix/sysv/linux/configure: Regenerated.
22147
22148 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22149
22150 * manual/lang.texi (Old Varargs): Remove section.
22151 (How Variadic): Update menu.
22152 (va_start): Do not mention varargs.h.
22153
22154 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22155 Joseph Myers <joseph@codesourcery.com>
22156
22157 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22158 link test.
22159 * configure: Regenerated.
22160
22161 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22162
22163 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22164 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22165 conformtest.pl
22166
22167 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22168
22169 * NOTES: Remove.
22170 * Makefile (files-for-dist): Remove NOTES.
22171 (NOTES): Remove rule.
22172 * README: Don't refer to NOTES.
22173 * manual/creature.texi: Don't include macros.texi.
22174 * manual/intro.texi (creature.texi): Remove comment referring to
22175 NOTES.
22176
22177 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22178 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22179 * configure: Regenerated.
22180 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22181 LIBC_TRY_CC_OPTION.
22182 (libc_cv_as_i686): Likewise.
22183 (libc_cv_cc_avx): Likewise.
22184 (libc_cv_cc_sse2avx): Likewise.
22185 (libc_cv_cc_fma4): Likewise.
22186 (libc_cv_cc_novzeroupper): Likewise.
22187 * sysdeps/i386/configure: Regenerated.
22188
22189 [BZ #13883]
22190 * sysdeps/i386/fpu/s_cexp.S: Remove.
22191 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22192 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22193 * math/libm-test.inc (cexp_test): Add more tests.
22194 * sysdeps/i386/fpu/libm-test-ulps: Update.
22195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22196
22197 2012-03-21 Allan McRae <allan@archlinux.org>
22198
22199 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22200
22201 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22202
22203 [BZ #13871]
22204 * math/w_exp2.c: Do not include <float.h>.
22205 (o_threshold, u_threshold): Remove.
22206 (__exp2): Calculate result before checking finiteness and calling
22207 __kernel_standard.
22208 * math/w_exp2f.c: Likewise.
22209 * math/w_exp2l.c: Likewise.
22210 * math/libm-test.inc (exp2_test): Require overflow exception for
22211 1e6 input.
22212
22213 [BZ #3866]
22214 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22215 range of signed 64-bit integers before using fistpll. Remove
22216 checks for whether integers fit in mantissa bits.
22217 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22218 the range of signed 32-bit integers before using fistpl. Remove
22219 checks for whether integers fit in mantissa bits.
22220 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22221 (__ieee754_powl): Test for y outside the range of signed 64-bit
22222 integers before using fistpll. Reduce 64-bit values to 63-bit
22223 ones as needed.
22224 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22225 divide-by-zero is raised for zero to large negative powers.
22226 * sysdeps/x86_64/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 * math/libm-test.inc (pow_test): Add more tests.
22231
22232 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22233
22234 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22235 <stdio-common/_itoa.h>.
22236 * debug/segfault.c: Likewise.
22237 * elf/dl-cache.c: Likewise.
22238 * elf/dl-minimal.c: Likewise.
22239 * elf/dl-misc.c: Likewise.
22240 * elf/dl-sysdep.c: Likewise.
22241 * elf/dl-version.c: Likewise.
22242 * elf/rtld.c: Likewise.
22243 * hurd/hurdsock.c: Likewise.
22244 * hurd/lookup-retry.c: Likewise.
22245 * malloc/malloc.c: Likewise.
22246 * malloc/mtrace.c: Likewise.
22247 * nscd/nscd_getgr_r.c: Likewise.
22248 * nscd/nscd_getpw_r.c: Likewise.
22249 * nscd/nscd_getserv_r.c: Likewise.
22250 * posix/getopt_init.c: Likewise.
22251 * posix/wordexp.c: Likewise.
22252 * stdio-common/_itoa.c: Likewise.
22253 * stdio-common/printf_fphex.c: Likewise.
22254 * stdio-common/vfprintf.c: Likewise.
22255 * string/_strerror.c: Likewise.
22256 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22257 * sysdeps/i386/i686/hp-timing.h: Likewise.
22258 * sysdeps/mach/_strerror.c: Likewise.
22259 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22260 * sysdeps/mach/hurd/sethostid.c: Likewise.
22261 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22262 * sysdeps/mach/xpg-strerror.c: Likewise.
22263 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22264 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22265 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22266 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22267 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22268 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22269 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22270 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22271 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22272 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22273 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22274 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22275 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22276 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22277 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22278 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22279 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22280 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22281 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22282 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22283 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22284
22285 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22286
22287 * stdio-common/_itoa.h: Moved to ...
22288 * sysdeps/generic/_itoa.h: Here.
22289
22290 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22291
22292 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22293 instead of "_itoa.h" and "_itowa.h".
22294 * stdio-common/vfprintf.: Likewise.
22295
22296 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22297
22298 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22299 <bits/wordsize.h>.
22300 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22301 (__signbit): Likwise.
22302 (llrintf): Likwise.
22303 (llrint): Likwise.
22304
22305 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22306
22307 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22308 __WORDSIZE != 64.
22309
22310 2012-03-20 Joseph Myers <joseph@codesourcery.com>
22311
22312 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22313 OVERFLOW_EXCEPTION_OK.
22314 * math/libm-test.inc ("Philosophy"): Update comment about
22315 exception testing.
22316 (OVERFLOW_EXCEPTION): Define.
22317 (OVERFLOW_EXCEPTION_OK): Likewise.
22318 (INVALID_EXCEPTION_OK): Renumber.
22319 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22320 (IGNORE_ZERO_INF_SIGN): Likewise.
22321 (test_exceptions): Handle FE_OVERFLOW.
22322 (exp10_test): Expect overflow exceptions.
22323 (exp2_test): Likewise.
22324 (expm1_test): Likewise.
22325 (nextafter_test): Likewise.
22326 (pow_test): Likewise.
22327 (scalbn_test): Likewise.
22328 (scalbln_test): Likewise.
22329
22330 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22331
22332 * sysdeps/x86_64/bits/atomic.h
22333 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22334 64bit integer.
22335 (atomic_exchange_acq): Likewise.
22336 (__arch_exchange_and_add_body): Likewise.
22337 (__arch_add_body): Likewise.
22338 (atomic_add_negative): Likewise.
22339 (atomic_add_zero): Likewise.
22340
22341 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22342
22343 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
22344 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22345
22346 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22347
22348 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22349 Check __x86_64__ instead of __WORDSIZE.
22350
22351 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22352
22353 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22354
22355 2012-03-19 David S. Miller <davem@davemloft.net>
22356
22357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22358
22359 * sysdeps/sparc/fpu/fenv_private.h: New file.
22360 * sysdeps/sparc/fpu/math_private.h: Use it.
22361 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22362 Remove.
22363 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22364 (libc_feholdexcept_setroundl): Remove.
22365 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22366 Remove.
22367 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22368 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22369
22370 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22371
22372 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22373 int64_t instead of long int.
22374 (INSERT_WORDS64): Likwise.
22375
22376 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22377
22378 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22379 _Unwind_GetCFA return to _Unwind_Ptr first.
22380
22381 2012-03-19 Joseph Myers <joseph@codesourcery.com>
22382
22383 [BZ #13629]
22384 * math/s_clog.c: Include <float.h>.
22385 (__clog): Scale large or subnormal inputs.
22386 * math/s_clogf.c: Likewise.
22387 * math/s_clogl.c: Likewise.
22388 * math/s_clog10.c: Include <float.h>.
22389 (M_LOG10_2): Define.
22390 (__clog10): Scale large or subnormal inputs.
22391 * math/s_clog10f.c: Likewise.
22392 * math/s_clog10l.c: Likewise.
22393 * math/libm-test.inc (clog_test): Add more tests.
22394 (clog10_test): Likewise.
22395 * sysdeps/i386/fpu/libm-test-ulps: Update.
22396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22397
22398 [BZ #11451]
22399 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22400 x and y.
22401 * math/libm-test.inc (atan2_test): Add another test.
22402
22403 * Makerules (common-objdir-compile): Remove.
22404 * sysdeps/unix/Makefile (config-generated): Do not add
22405 $(unix-generated) to variable.
22406 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22407 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22408 Remove rule.
22409 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22410 Likewise.
22411 [generic bits/local_lim.h] (before-compile): Do not append to
22412 variable.
22413 [generic bits/local_lim.h] (common-generated): Likewise.
22414 [generic sys/param.h] (before-compile): Do not append to variable.
22415 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22416 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22417 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22418 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22419 include.
22420 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22421 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22422 [generic sys/param.h] ($(addprefix
22423 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22424 [generic sys/param.h] (common-generated): Do not append to
22425 variable.
22426 [generic sys/param.h] (sysdep_headers): Likewise.
22427 [generic bits/errno.h] (before-compile): Do not append to
22428 variable.
22429 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22430 rule.
22431 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22432 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22433 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22434 [generic bits/errno.h] (common-generated): Do not append to
22435 variable.
22436 [generic bits/ioctls.h] (before-compile): Do not append to
22437 variable.
22438 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22439 rule.
22440 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22441 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22442 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22443 rule.
22444 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22445 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22446 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22447 [generic bits/ioctls.h] (common-generated): Do not append to
22448 variable.
22449 [generic sys/syscall.h] (syscall.h): Remove variable.
22450 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22451 rule.
22452 [generic sys/syscall.h] (before-compile): Do not append to
22453 variable.
22454 [generic sys/syscall.h] (common-generated): Likewise.
22455 * sysdeps/unix/errnos-tmpl.c: Remove file.
22456 * sysdeps/unix/errnos.awk: Likewise.
22457 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22458 * sysdeps/unix/ioctls.awk: Likewise.
22459 * sysdeps/unix/mk-local_lim.c: Likewise.
22460 * sysdeps/unix/snarf-ioctls: Likewise.
22461
22462 2012-03-19 Richard Henderson <rth@twiddle.net>
22463
22464 * sysdeps/i386/fpu/fenv_private.h: New file.
22465 * sysdeps/i386/fpu/math_private.h: Use it.
22466 (math_opt_barrier, math_force_eval): Remove.
22467 (libc_feholdexcept_setround_53bit): Remove.
22468 (libc_feupdateenv_53bit): Remove.
22469 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22470 (math_opt_barrier, math_force_eval): Remove.
22471 (libc_feholdexcept): Remove.
22472 (libc_feholdexcept_setround): Remove.
22473 (libc_fetestexcept, libc_fesetenv): Remove.
22474 (libc_feupdateenv_test): Remove.
22475 (libc_feupdateenv, libc_feholdsetround): Remove.
22476 (libc_feresetround): Remove.
22477
22478 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22479 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22480
22481 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22482 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22483 (libc_feupdateenv_testl): New.
22484 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22485 (libc_feupdateenv_testf): New.
22486 (libc_feupdateenv): Use libc_feupdateenv_test.
22487 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22488 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22489
22490 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22491 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22492 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22493 (libc_feresetround_noex): New.
22494 (libc_feresetround_noexf): New.
22495 (libc_feresetround_noexl): New.
22496 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22497 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22498 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22499 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22500 SET_RESTORE_ROUND.
22501 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22502 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22503 (__cos): Likewise.
22504 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22505 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22506 SET_RESTORE_ROUND_NOEX.
22507 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22508 SET_RESTORE_ROUND_NOEXF.
22509 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22510 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22511 (libc_feholdsetroundf): New.
22512 (libc_feresetround, libc_feresetroundf): New.
22513
22514 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22515 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22516 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22517
22518 * sysdeps/generic/math_private.h: Include <fenv.h>.
22519 (default_libc_feholdexcept): New.
22520 (default_libc_feholdexcept_setround): New.
22521 (default_libc_fesetenv, default_libc_feupdateenv): New.
22522 (libc_feholdexcept): Only define if undefined.
22523 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22524 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22525 (libc_feholdexcept_setroundl): Likewise.
22526 (libc_feholdexcept_setround_53bit): Likewise.
22527 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22528 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22529 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22530 (libc_feupdateenv_53bit): Likewise.
22531 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22532 (libc_feholdexcept): Convert from macro to inline function.
22533 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22534 (libc_fesetenv, libc_feupdateenv): Likewise.
22535
22536 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22537 not previously defined.
22538 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22539 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22540 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22541 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22542 * sysdeps/ieee754/flt-32/math_private.h: New file.
22543 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22544 math_private.h below SET_FLOAT_WORD.
22545 (__isnan, __isinf_ns, __finite): Remove.
22546 (__isnanf, __isinf_nsf, __finitef): Remove.
22547
22548 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22549
22550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22551
22552 2012-03-17 David S. Miller <davem@davemloft.net>
22553
22554 [BZ #6471]
22555 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22556 for 2.16.
22557
22558 2012-03-16 David S. Miller <davem@davemloft.net>
22559
22560 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22561 warnings.
22562
22563 [BZ #6471]
22564 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22565 properly.
22566 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22567 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22568 sysdep_routines when subdir is sysvipc.
22569 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22570 __getshmlba helper.
22571
22572 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22573
22574 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22575
22576 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22577 [__LP64__].
22578
22579 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22580
22581 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22582 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22583 (__lround): Renamed to ...
22584 (__llround): This. Replace long int with long long int.
22585 Define lround functions as aliases of llround functions.
22586 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22587
22588 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22589
22590 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22591 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22592 adresses to uintptr_t. Replace "long int" and "unsigned long
22593 int" with "greg_t" on va_arg.
22594
22595 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22596
22597 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22598 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22599
22600 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22601 Move e_machine check before EI_CLASS check. Handle x32
22602 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22603 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22604 SKIP_EM_IA_64 and include
22605 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22606
22607 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22608 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22609 (add_system_dir): New macro.
22610
22611 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22612 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22613
22614 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22615
22616 [BZ #2551]
22617 [BZ #2552]
22618 [BZ #2553]
22619 [BZ #2554]
22620 [BZ #2562]
22621 [BZ #2563]
22622 [BZ #2565]
22623 [BZ #2566]
22624 [BZ #2576]
22625 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22626 (y0): Likewise.
22627 * math/w_j0f.c (j0f): Likewise.
22628 (y0f): Likewise.
22629 * math/w_j0l.c (__j0l): Likewise.
22630 (__y0l): Likewise.
22631 * math/w_j1.c (j1): Likewise.
22632 (y1): Likewise.
22633 * math/w_j1f.c (j1f): Likewise.
22634 (y1f): Likewise.
22635 * math/w_j1l.c (__j1l): Likewise.
22636 (__y1l): Likewise.
22637 * math/w_jn.c (jn): Likewise.
22638 (yn): Likewise.
22639 * math/w_jnf.c (jnf): Likewise.
22640 (ynf): Likewise.
22641 * math/w_jnl.c (__jnl): Likewise.
22642 (__ynl): Likewise.
22643 * math/libm-test.inc (j0_test): Add more tests.
22644 (j1_test): Likewise.
22645 (jn_test): Likewise. Add trailing semicolon to existing test.
22646 (y0_test): Likewise.
22647 (y1_test): Likewise.
22648 * sysdeps/i386/fpu/libm-test-ulps: Update.
22649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22650
22651 [BZ #13851]
22652 [BZ #13854]
22653 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22654 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22655 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22656 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22657 (__tanl): Set errno for infinite argument.
22658 * sysdeps/i386/fpu/mptan.c: Remove.
22659 * sysdeps/i386/fpu/s_tan.S: Likewise.
22660 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22661 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22662 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22663 * math/libm-test.inc (tan_test): Add more tests and enable more
22664 tests for double and long double.
22665 * sysdeps/i386/fpu/libm-test-ulps: Update.
22666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22667
22668 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22669
22670 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22671 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22672
22673 2012-03-16 Roland McGrath <roland@hack.frob.com>
22674
22675 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22676 * configure.in: Use it for both main tree and add-ons.
22677 * configure: Regenerated.
22678
22679 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22680
22681 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22682
22683 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22684
22685 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22686 in comment.
22687
22688 [BZ #13851]
22689 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22690 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22691 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22692 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22693 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22694 infinite argument.
22695 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22696 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22697 != 0 for prec == 2.
22698 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22699 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22700 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22701 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22702 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22703 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22704 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22705 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22706 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22707 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22708 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22709 * math/libm-test.inc (cos_test): Add more tests and enable more
22710 tests for long double.
22711 (sin_test): Likewise.
22712 (sincos_test): Likewise.
22713 * sysdeps/i386/fpu/libm-test-ulps: Update.
22714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22715
22716 2012-03-16 David S. Miller <davem@davemloft.net>
22717
22718 * sysdeps/sparc/fpu/math_private.h: New file.
22719
22720 2012-03-15 David S. Miller <davem@davemloft.net>
22721
22722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22723 file.
22724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
22725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22726 file.
22727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22731 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22732 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22733 sysdep routines.
22734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22735
22736 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22737 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22738
22739 * sysdeps/sparc/sparc-ifunc.h: New file.
22740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22741 sparc-ifunc.h
22742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22744 Likewise.
22745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22746 Likewise.
22747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22751 Likewise.
22752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
22756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22757 Likewise.
22758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22759 Likewise.
22760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22764 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22765 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22766 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22767 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22768 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22769 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22770 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22771 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22772 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22773 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22774 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22775 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22776 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22777 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22778 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22779 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22780 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22781 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22782 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22783 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22784
22785 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22786
22787 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22788 scaling.
22789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22790
22791 2012-03-15 Andreas Jaeger <aj@suse.de>
22792
22793 [BZ #13852]
22794 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22795 ieee754/flt-32 implementation for sin, cos and sincos.
22796 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22797 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22798 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22799 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22800 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22801 ieee754/flt-32 implementation for tan.
22802
22803 * math/libm-test.inc (cos_test): Enable some large input tests for
22804 float as well
22805 (sin_test): Likewise.
22806 (sincos_test): Likewise.
22807 (tan_test): Add tests for large input.
22808
22809 * sysdeps/i386/fpu/libm-test-ulps: Update.
22810
22811 2012-03-15 Andreas Jaeger <aj@suse.de>
22812
22813 [BZ #13658]
22814 * math/libm-test.inc (cos_test): Add more test cases.
22815 (sin_test): Likewise.
22816 (sincos_test): Likewise.
22817
22818 2012-03-15 Andreas Jaeger <aj@suse.de>
22819
22820 [BZ #13837]
22821 * math/libm-test.inc (cos_test): Add a test case for large input
22822 value.
22823 (sin_test): Likewise.
22824 (sincos_test): Likewise.
22825
22826 2012-03-15 Andreas Jaeger <aj@suse.de>,
22827 Joseph Myers <joseph@codesourcery.com>
22828
22829 [BZ #13658]
22830 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
22831 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22832 * sysdeps/i386/fpu/branred.c: Likewise.
22833 * sysdeps/i386/fpu/dosincos.c: Likewise.
22834 * sysdeps/i386/fpu/mpa.c: Likewise.
22835 * sysdeps/i386/fpu/s_cos.S: Likewise.
22836 * sysdeps/i386/fpu/s_sin.S: Likewise.
22837 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22838 * sysdeps/i386/fpu/sincos32.c: Likewise.
22839
22840 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22841 Define.
22842 (libc_feupdateenv_53bit): Define.
22843 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22844 Define.
22845 (libc_feupdateenv_53bit): Define.
22846
22847 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22848 53 bit (without extend i386 double precision).
22849
22850 * math/libm-test.inc (sincos_test): Add tests for large input.
22851 (sin): Likewise.
22852 (cos): Likewise.
22853
22854 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22855
22856 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22857
22858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22859
22860 2012-03-15 David S. Miller <davem@davemloft.net>
22861
22862 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22863 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22864 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22865 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22871 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22872 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22873 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22874 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22875 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22876 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
22877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22878 file.
22879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
22880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22881 file.
22882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
22883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22884 file.
22885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
22886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22887 file.
22888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22889 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22890 fmin/fmax sysdep routines.
22891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22892
22893 2012-03-14 David S. Miller <davem@davemloft.net>
22894
22895 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22896 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22897 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22898 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22899 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22900 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22901 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22902 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22903 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22904 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22905 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22906 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22907 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22908 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22909 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22910 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22911 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22912 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22913 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22914 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22915 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22916 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22917 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22918 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22919 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22920 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22921 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22922 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
22923 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22924 routines.
22925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22926 file.
22927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
22928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22929 file.
22930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
22931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22932 file.
22933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
22934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22935 file.
22936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
22937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22938 file.
22939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
22940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22941 file.
22942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22943 file.
22944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22945 file.
22946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22947 file.
22948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22949 New file.
22950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22951 file.
22952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22953 file.
22954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
22955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22956 file.
22957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
22958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22959 file.
22960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
22961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22962 file.
22963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
22964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22965 VIS3 routines.
22966
22967 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22968 New file.
22969
22970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22971
22972 * sysdeps/sparc/configure.in: New file.
22973 * sysdeps/sparc/configure: Generate.
22974 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22975 * configure: Regenerate.
22976 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22977 * config.make.in (have-as-vis3): New.
22978 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22979 available use -Av9d instead of -Av9a.
22980 * sysdeps/sparc/sparc64/Makefile: Likewise.
22981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
22982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22983 New file.
22984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22985 file.
22986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22987 New file.
22988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22989 file.
22990 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22991 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22992 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22993 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22994 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22995
22996 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22997 fzeros/fnegs to load 0x80000000 into a float register instead of
22998 using the stack.
22999 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23000
23001 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23002
23003 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23004 bits/syscall.h.
23005 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23006 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23007 ($(inst_includedir)/bits/syscall.h): Remove rule.
23008 ($(objpfx)bits/syscall.d): Include instead of
23009 $(objpfx)syscall-list.d.
23010 (generated): Change syscall-list.h and syscall-list.d to
23011 bits/syscall.h and bits/syscall.d.
23012
23013 2012-03-14 Roland McGrath <roland@hack.frob.com>
23014
23015 [BZ #13846]
23016 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23017
23018 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23019
23020 [BZ #13841]
23021 * math/s_csqrt.c: Include <float.h>.
23022 (__csqrt): Scale large or subnormal inputs.
23023 * math/s_csqrtf.c: Likewise.
23024 * math/s_csqrtl.c: Likewise.
23025 * math/libm-test.inc (csqrt_test): Add more tests.
23026 * sysdeps/i386/fpu/libm-test-ulps: Update.
23027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23028
23029 [BZ #13840]
23030 * math/libm-test.inc (hypot_test): Add more tests.
23031
23032 2012-03-13 David S. Miller <davem@davemloft.net>
23033
23034 [BZ #13840]
23035 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23036 double-precision for the calculation instead of scaling.
23037
23038 2012-03-13 Joseph Myers <joseph@codesourcery.com>
23039
23040 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23041 manipulate bits before adding and subtracting TWO52[sx].
23042 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23043 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23044 Likewise.
23045 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23046
23047 2012-03-13 David S. Miller <davem@davemloft.net>
23048
23049 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23050 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23051 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23052 rtld-global-offsets.h
23053 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23054
23055 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23056 large parameters.
23057
23058 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23059
23060 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23061 'err' in the ifdef scope in which it is actually used.
23062
23063 * nss/nss_db/db-init.c: Include string.h
23064
23065 2012-03-12 David S. Miller <davem@davemloft.net>
23066
23067 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23068 masking out of the most significant byte of random value used.
23069 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23070 Fix coding style in previous change.
23071
23072 * sysdeps/unix/sysv/linux/kernel-features.h
23073 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23074 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23075 expression.
23076 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23077 later.
23078
23079 2012-03-11 David S. Miller <davem@davemloft.net>
23080
23081 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23082 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23083 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23084 for 'resultvar' otherwise things get truncated on 64-bit.
23085
23086 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23087 Fix masking out of the most significant byte of random value used.
23088
23089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23090
23091 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23092
23093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23094
23095 2012-03-09 David S. Miller <davem@davemloft.net>
23096
23097 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23098 variables with appropriate CPP guards.
23099 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23100 frame pointer, not the stack pointer. Correct layout comments. Fix test
23101 on resulting framesize and the management of the outregs buffer for pltexit.
23102 Preserve floating point return values across _dl_call_pltexit call.
23103 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23104 framesize and the management of the outregs buffer for pltexit.
23105 Preserve floating point return values across _dl_call_pltexit
23106 call.
23107 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23108 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23109 (print_exit): Fix format string for return register value.
23110
23111 2012-03-10 Joseph Myers <joseph@codesourcery.com>
23112
23113 * sunrpc/Makefile (others): Add rpcgen.
23114 ($(objpfx)rpcgen): Remove special build rule and dependency on
23115 libc.
23116 * sunrpc/rpcgen.c: New file.
23117
23118 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23119
23120 [BZ #13673]
23121 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23122 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23123 * sysdeps/i386/crti.S: Likewise.
23124 * sysdeps/i386/crtn.S: Likewise.
23125 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23126 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23127 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23128 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23129 * sysdeps/sh/crti.S: Likewise.
23130 * sysdeps/sh/crtn.S: Likewise.
23131 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23132
23133 [BZ #13673]
23134 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23135 with URL.
23136 * locale/programs/locfile-kw.gperf: Likewise.
23137 * locale/programs/charmap-kw.h: Regenerated.
23138 * locale/programs/locfile-kw.h: Likewise.
23139
23140 [BZ #13673]
23141 * intl/plural.y: Replace FSF snail mail address with URL.
23142 * intl/plural.c: Regenerated.
23143
23144 2012-03-09 Richard Henderson <rth@twiddle.net>
23145
23146 * include/math_private.h: Remove file.
23147 * math/math_private.h: Move file ...
23148 * sysdeps/generic/math_private.h: ... here.
23149
23150 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23151 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23152 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23153
23154 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
23155 and <math_private.h>.
23156 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23157 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23158 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23159 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23160 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23161 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23162 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23163 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23164 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23165 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23166 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23167 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23168 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23169 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23170 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23171 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23172 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23173 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23174 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23175 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23176 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23177 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23178 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23179 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23180 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23181 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23182 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23183 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23184 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23185 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23186 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23187 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23188 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23189 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23190 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23191 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23192 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23193 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23194 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23195 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23196 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23197 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23198 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23199 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23200 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23201 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23202 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23203 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23204 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23205 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23206 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23207 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23208 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23209 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23210 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23211 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23212 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23213 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23214 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23215 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23216 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23217 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23218 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23219 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23220 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23221 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23222 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23223 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23224 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23225 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23226 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23227 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23228 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23229 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23230 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23231 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23232 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23233 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23234 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23235 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23236 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23237 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23238 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23239 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23240 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23241 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23242 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23243 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23244 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23245 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23246 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23247 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23248 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23249 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23250 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23251 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23252 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23253 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23254 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23255 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23256 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23257 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23258 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23259 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23260 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23261 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23262 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23263 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23264 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23265 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23266 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23267 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23268 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23269 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23270 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23271 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23272 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23273 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23274 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23275 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23276 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23277 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23278 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23279 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23280 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23281 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23282 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23283 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23284 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23285 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23286 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23287 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23288 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23289 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23290 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23291 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23292 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23293 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23294 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23295 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23296 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23297 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23298 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23299 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23300 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23301 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23302 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23303 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23304 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23305 * sysdeps/ieee754/k_standard.c: Likewise.
23306 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23307 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23308 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23309 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23310 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23311 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23312 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23313 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23314 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23315 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23316 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23317 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23318 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23319 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23320 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23321 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23322 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23323 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23324 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23325 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23326 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23327 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23328 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23329 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23330 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23331 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23332 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23333 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23334 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23335 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23336 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23337 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23338 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23339 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23340 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23341 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23342 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23343 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23344 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23345 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23346 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23347 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23348 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23349 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23350 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23351 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23352 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23353 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23354 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23355 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23356 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23357 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23358 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23359 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23360 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23361 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23362 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23363 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23364 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23365 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23366 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23367 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23368 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23369 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23370 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23371 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23372 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23373 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23374 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23375 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23376 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23377 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23378 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23379 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23380 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23381 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23382 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23383 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23384 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23385 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23386 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23387 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23388 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23389 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23390 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23391 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23392 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23393 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23394 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23395 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23396 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23397 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23398 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23399 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23400 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23401 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23402 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23403 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23404 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23405 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23406 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23407 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23408 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23409 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23410 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23411 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23412 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23413 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23414 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23415 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23416 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23417 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23418 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23419 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23420 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23421 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23422 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23423 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23424 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23425 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23426 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23427 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23428 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23429 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23430 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23431 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23432 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23433 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23434 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23435 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23436 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23437 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23438 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23439 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23440 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23441 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23442 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23443 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23444 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23445 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23446 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23447 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23448 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23449 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23450 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23451 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23452 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23453 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23454 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23455 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23456 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23457 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23458 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23459 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23460 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23461 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23462 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23463 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23464 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23465 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23466 * sysdeps/ieee754/s_lib_version.c: Likewise.
23467 * sysdeps/ieee754/s_matherr.c: Likewise.
23468 * sysdeps/ieee754/s_signgam.c: Likewise.
23469 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23470 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23471 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23472 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23473 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23474 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23475 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23476 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23477 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23478 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23479 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23480 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23481 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23482 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23483 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23484 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23485 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23486 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23487 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23488 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23489 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23490
23491 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23492
23493 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23494 * sunrpc/rpc_main.c: Likewise.
23495 * sunrpc/rpc_svcout.c: Likewise.
23496
23497 2012-03-09 David S. Miller <davem@davemloft.net>
23498
23499 * include/math_private.h: New file.
23500
23501 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23502
23503 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23504 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23505 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23506 from <bits/socket_type.h>.
23507 (enum __socket_type): Don't define here.
23508 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23509 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23510 bits/socket_type.h.
23511
23512 [BZ #13566]
23513 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23514 checking __USE_GNU.
23515
23516 * Makerules ($(inst_includedir)/%.h): New rule.
23517 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23518 (install-others): Remove variable setting.
23519 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23520
23521 2012-03-08 Richard Henderson <rth@twiddle.net>
23522
23523 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23524 from macro to inline function; merge with the
23525 !__LIBC_INTERNAL_MATH_INLINES version.
23526 (__ieee754_sqrtf): Likewise.
23527
23528 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23529 to inline function.
23530 (__rintf, __floor, __floorf): Likewise.
23531
23532 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23533 macro to inline function.
23534 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23535
23536 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23537 not <math/math_private.h>.
23538
23539 2012-03-08 David S. Miller <davem@davemloft.net>
23540
23541 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23542 copyright year.
23543 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23544
23545 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23546
23547 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23548 normalization.
23549 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23550 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23551
23552 2012-03-08 Ulrich Drepper <drepper@gmail.com>
23553
23554 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23555 be defined individually, they must be defined as a block. Define
23556 S for printing a string instead of hidint the different by using a
23557 macro for adding the 'l'.
23558 * stdio-common/tst-fphex-wide.c: Adjust.
23559
23560 2012-03-07 Marek Polacek <polacek@redhat.com>
23561
23562 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23563
23564 2012-03-08 Marek Polacek <polacek@redhat.com>
23565
23566 [BZ #13806]
23567 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23568 * stdio-common/tst-fphex.c: Define a few macros to make the
23569 test reusable. Use them.
23570 * stdio-common/tst-fphex-wide.c: New file.
23571
23572 2012-03-08 Joseph Myers <joseph@codesourcery.com>
23573
23574 [BZ #6911]
23575 * manual/macros.texi (gnusystems): New macro.
23576 (nongnusystems): Likewise.
23577 (gnulinuxhurdsystems): Likewise.
23578 (gnuhurdsystems): Likewise..
23579 (gnulinuxsystems): Likewise.
23580 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23581 variants of the GNU system, not "GNU system".
23582 * manual/conf.texi: Likewise.
23583 * manual/errno.texi: Likewise. Update example of errno macro
23584 expansion.
23585 * manual/filesys.texi: Likewise.
23586 (getumask): Document as specific to GNU/Hurd.
23587 * manual/install.texi: Likewise. Reword some references to
23588 GNU/Linux.
23589 * manual/intro.texi: Likewise.
23590 * manual/io.texi: Likewise.
23591 (File Name Portability): Detail which constraints are inapplicable
23592 to all GNU systems and which are only inapplicable to GNU/Hurd.
23593 * manual/job.texi: Likewise.
23594 * manual/llio.texi: Likewise.
23595 (O_NOCTTY): Document as present on GNU/Linux.
23596 * manual/maint.texi: Likewise.
23597 * manual/memory.texi: Likewise.
23598 * manual/pattern.texi: Likewise.
23599 * manual/pipe.texi: Likewise.
23600 * manual/process.texi: Likewise.
23601 * manual/resource.texi: Likewise.
23602 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23603 child on GNU/Hurd.
23604 * manual/setjmp.texi: Likewise.
23605 * manual/signal.texi: Likewise.
23606 * manual/startup.texi: Likewise.
23607 * manual/stdio.texi: Likewise.
23608 * manual/terminal.texi: Likewise.
23609 (ONLCR): Document as POSIX.
23610 (OXTABS): Document availability on GNU/Linux as XTABS.
23611 (ONOEOT): Document availability separately from other bits.
23612 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23613 * manual/time.texi: Likewise.
23614 * manual/users.texi: Likewise.
23615 * INSTALL: Regenerated.
23616 * sysdeps/gnu/errlist.c: Regenerated.
23617
23618 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23619 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23620 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23621 puts.
23622 * configure: Regenerated.
23623
23624 2012-03-07 Joseph Myers <joseph@codesourcery.com>
23625
23626 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23627 default includes instead of AC_HEADER_CHECK.
23628 * sysdeps/i386/configure: Regenerated.
23629
23630 [BZ #10716]
23631 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23632 * math/s_cacoshf.c (__cacoshf): Likewise.
23633 * math/s_cacoshl.c (__cacoshl): Likewise.
23634 * math/s_casinh.c (__casinh): Set signs of result from argument.
23635 * math/s_casinhf.c (__casinhf): Likewise.
23636 * math/s_casinhl.c (__casinhl): Likewise.
23637 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23638 (casinh_test): Add more tests.
23639 * sysdeps/i386/fpu/libm-test-ulps: Update.
23640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23641
23642 2012-03-07 Ulrich Drepper <drepper@gmail.com>
23643
23644 * po/zh_TW.po: Update from translation team.
23645
23646 * login/Makefile (distribute): Remove variable.
23647 * catgets/Makefile: Likewise.
23648 * mach/Makefile: Likewise.
23649 * malloc/Makefile: Likewise.
23650 * misc/Makefile: Likewise.
23651 * iconv/Makefile: Likewise.
23652 * nscd/Makefile: Likewise.
23653 * hurd/Makefile: Likewise.
23654 * manual/Makefile: Likewise.
23655 * locale/Makefile: Likewise.
23656 * intl/Makefile: Likewise.
23657 * conform/Makefile: Likewise.
23658 * nss/Makefile: Likewise.
23659 * time/Makefile: Likewise.
23660 * soft-fp/Makefile: Likewise.
23661 * dirent/Makefile: Likewise.
23662 * gmon/Makefile: Likewise.
23663 * po/Makefile: Likewise.
23664 * rt/Makefile: Likewise.
23665 * socket/Makefile: Likewise.
23666 * math/Makefile: Likewise.
23667 * signal/Makefile: Likewise.
23668 * debug/Makefile: Likewise.
23669 * elf/Makefile: Likewise.
23670 * timezone/Makefile: Likewise.
23671 * stdlib/Makefile: Likewise.
23672 * iconvdata/Makefile: Likewise.
23673 * sunrpc/Makefile: Likewise.
23674 * io/Makefile: Likewise.
23675 * argp/Makefile: Likewise.
23676 * inet/Makefile: Likewise.
23677 * hesiod/Makefile: Likewise.
23678 * grp/Makefile: Likewise.
23679 * csu/Makefile: Likewise.
23680 * wctype/Makefile: Likewise.
23681 * crypt/Makefile: Likewise.
23682 * libio/Makefile: Likewise.
23683 * string/Makefile: Likewise.
23684 * nis/Makefile: Likewise.
23685 * resolv/Makefile: Likewise.
23686 * stdio-common/Makefile: Likewise.
23687 * wcsmbs/Makefile: Likewise.
23688 * dlfcn/Makefile: Likewise.
23689 * posix/Makefile: Likewise.
23690
23691 [BZ #6959]
23692 * timezone/Makefile: Don't install timezone files, just the programs
23693 and scripts.
23694
23695 2012-03-06 Ulrich Drepper <drepper@gmail.com>
23696
23697 * nss/databases.def: Add missing gshadow entry.
23698
23699 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23700
23701 2012-03-06 Marek Polacek <polacek@redhat.com>
23702
23703 [BZ #13726]
23704 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23705 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23706 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23707 * stdio-common/tst-long-dbl-fphex.c: New file.
23708
23709 2012-03-06 David S. Miller <davem@davemloft.net>
23710
23711 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23712 (set_obp_int): New function.
23713 (get_obp_int): New function.
23714 (__get_clockfreq_via_dev_openprom): Likewise.
23715 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23716 Avoid unused variable warnings on 'val' and use builtin_expect.
23717 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23718 __builtin_expect.
23719 (INLINE_CLONE_SYSCALL): Likewise.
23720
23721 2012-03-05 David S. Miller <davem@davemloft.net>
23722
23723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23724
23725 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23726
23727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23728
23729 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23730 only for |x| >= 40.
23731 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23732
23733 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
23734
23735 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23736 Replace gettimeofday with __vdso_gettimeofday.
23737
23738 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23739 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23740 __vdso_clock_gettime and __vdso_getcpu.
23741
23742 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23743 time with __vdso_time.
23744
23745 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23746
23747 * manual/lang.texi (size_t): Note types to which size_t may be
23748 equivalent with the GNU C Library, but do not describe when
23749 differences between them are significant.
23750
23751 2012-03-05 Andreas Jaeger <aj@suse.de>
23752
23753 * sysdeps/i386/fpu/libm-test-ulps: Update.
23754
23755 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23756
23757 [BZ #3976]
23758 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23759 (__ieee754_pow): Save and restore rounding mode and use
23760 round-to-nearest for main computations.
23761 * math/libm-test.inc (pow_test_tonearest): New function.
23762 (pow_test_towardzero): Likewise.
23763 (pow_test_downward): Likewise.
23764 (pow_test_upward): Likewise.
23765 (main): Call the new functions.
23766 * sysdeps/i386/fpu/libm-test-ulps: Update.
23767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23768
23769 [BZ #3976]
23770 * math/libm-test.inc (cosh_test_tonearest): New function.
23771 (cosh_test_towardzero): Likewise.
23772 (cosh_test_downward): Likewise.
23773 (cosh_test_upward): Likewise.
23774 (sinh_test_tonearest): Likewise.
23775 (sinh_test_towardzero): Likewise.
23776 (sinh_test_downward): Likewise.
23777 (sinh_test_upward): Likewise.
23778 (main): Call the new functions.
23779 * sysdeps/i386/fpu/libm-test-ulps: Update.
23780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23781
23782 2012-03-05 Tom de Vries <tom@codesourcery.com>
23783
23784 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23785 default stack guard is set in last bytes.
23786 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23787
23788 2012-03-05 Kees Cook <keescook@chromium.org>
23789
23790 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
23791
23792 [BZ #13656]
23793 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23794 possibly allocate from heap instead of stack.
23795 * stdio-common/bug-vfprintf-nargs.c: New file.
23796 * stdio-common/Makefile (tests): Add nargs overflow test.
23797
23798 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23799
23800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23801
23802 2012-03-03 Marek Polacek <polacek@redhat.com>
23803
23804 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23805 * math/math_private.h: Likewise.
23806 * stdlib/tst-strtod.c: Likewise.
23807 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23808 * sysdeps/x86_64/bits/atomic.h: Likewise.
23809
23810 2012-03-02 David S. Miller <davem@davemloft.net>
23811
23812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23816 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23817 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23818 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23819 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23820
23821 2012-03-02 Roland McGrath <roland@hack.frob.com>
23822
23823 [BZ #13792]
23824 * manual/examples/README: New file, says the example source files
23825 can be used under GPL>=2.
23826 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23827 line containing just "*/".
23828 * manual/examples/add.c: Add copyright header (GPL>=2).
23829 * manual/examples/argp-ex1.c: Likewise.
23830 * manual/examples/argp-ex2.c: Likewise.
23831 * manual/examples/argp-ex3.c: Likewise.
23832 * manual/examples/argp-ex4.c: Likewise.
23833 * manual/examples/atexit.c: Likewise.
23834 * manual/examples/db.c: Likewise.
23835 * manual/examples/dir.c: Likewise.
23836 * manual/examples/dir2.c: Likewise.
23837 * manual/examples/execinfo.c: Likewise.
23838 * manual/examples/filecli.c: Likewise.
23839 * manual/examples/filesrv.c: Likewise.
23840 * manual/examples/fmtmsgexpl.c: Likewise.
23841 * manual/examples/genpass.c: Likewise.
23842 * manual/examples/inetcli.c: Likewise.
23843 * manual/examples/inetsrv.c: Likewise.
23844 * manual/examples/isockad.c: Likewise.
23845 * manual/examples/longopt.c: Likewise.
23846 * manual/examples/memopen.c: Likewise.
23847 * manual/examples/memstrm.c: Likewise.
23848 * manual/examples/mkfsock.c: Likewise.
23849 * manual/examples/mkisock.c: Likewise.
23850 * manual/examples/mygetpass.c: Likewise.
23851 * manual/examples/pipe.c: Likewise.
23852 * manual/examples/popen.c: Likewise.
23853 * manual/examples/rprintf.c: Likewise.
23854 * manual/examples/search.c: Likewise.
23855 * manual/examples/select.c: Likewise.
23856 * manual/examples/setjmp.c: Likewise.
23857 * manual/examples/sigh1.c: Likewise.
23858 * manual/examples/sigusr.c: Likewise.
23859 * manual/examples/stpcpy.c: Likewise.
23860 * manual/examples/strdupa.c: Likewise.
23861 * manual/examples/strftim.c: Likewise.
23862 * manual/examples/strncat.c: Likewise.
23863 * manual/examples/subopt.c: Likewise.
23864 * manual/examples/swapcontext.c: Likewise.
23865 * manual/examples/termios.c: Likewise.
23866 * manual/examples/testopt.c: Likewise.
23867 * manual/examples/testpass.c: Likewise.
23868 * manual/examples/timeval_subtract.c: Likewise.
23869
23870 [BZ #13792]
23871 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23872 function to ...
23873 * manual/timeval_subtract.c.texi: ... here, new file.
23874
23875 2012-03-02 David S. Miller <davem@davemloft.net>
23876
23877 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23878
23879 2012-03-02 Joseph Myers <joseph@codesourcery.com>
23880
23881 [BZ #3976]
23882 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23883 (__sin): Save and restore rounding mode and use round-to-nearest
23884 for all computations.
23885 (__cos): Save and restore rounding mode and use round-to-nearest
23886 for all computations.
23887 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23888 <fenv.h>.
23889 (tan): Save and restore rounding mode and use round-to-nearest for
23890 all computations.
23891 * math/libm-test.inc (cos_test_tonearest): New function.
23892 (cos_test_towardzero): Likewise.
23893 (cos_test_downward): Likewise.
23894 (cos_test_upward): Likewise.
23895 (sin_test_tonearest): Likewise.
23896 (sin_test_towardzero): Likewise.
23897 (sin_test_downward): Likewise.
23898 (sin_test_upward): Likewise.
23899 (tan_test_tonearest): Likewise.
23900 (tan_test_towardzero): Likewise.
23901 (tan_test_downward): Likewise.
23902 (tan_test_upward): Likewise.
23903 (main): Call the new functions.
23904 * sysdeps/i386/fpu/libm-test-ulps: Update.
23905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23906
23907 [BZ #10135]
23908 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23909 small n, then large n, before computing and testing k+n.
23910 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23911 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23912 Likewise.
23913 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23914 Likewise.
23915 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23916 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23917 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23918 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23919 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23920 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23921 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23922 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23923 * math/libm-test.inc (scalbn_test): Add more tests.
23924 (scalbln_test): Likewise.
23925
23926 * manual/filesys.texi (mode_t): Describe constraints on size and
23927 signedness, not exact equivalence to a particular type.
23928 (ino_t): Likewise.
23929 (ino64_t): Likewise.
23930 (dev_t): Likewise.
23931 (nlink_t): Likewise.
23932 (blkcnt_t): Likewise.
23933 (blkcnt64_t): Likewise.
23934 * manual/llio.texi (off_t): Likewise.
23935
23936 [BZ #3976]
23937 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23938 (__ieee754_exp): Save and restore rounding mode and use
23939 round-to-nearest for all computations.
23940 * math/libm-test.inc (exp_test_tonearest): New function.
23941 (exp_test_towardzero): Likewise.
23942 (exp_test_downward): Likewise.
23943 (exp_test_upward): Likewise.
23944 (main): Call the new functions.
23945 * sysdeps/i386/fpu/libm-test-ulps: Update.
23946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23947
23948 2012-03-01 Chris Demetriou <cgd@google.com>
23949
23950 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23951 have predictable order.
23952
23953 2012-03-01 David S. Miller <davem@davemloft.net>
23954
23955 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23956
23957 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23958 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23959 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23960 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23961
23962 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23963 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23964 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23966 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23967 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23968 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23969 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23970 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23971
23972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23973
23974 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23975 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23976 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23977
23978 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23979 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23980 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23981 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23982 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23983 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23984 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23985 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23986 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23987 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23988 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23989 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23990 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23991 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23992 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23993 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23994 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23995 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23996 * sysdeps/sparc/elf/configure: Regenerated.
23997
23998 2012-03-01 Joseph Myers <joseph@codesourcery.com>
23999
24000 * configure.in (AS, LD): Require binutils 2.20 or later.
24001 * configure: Regenerated.
24002 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24003 as required minimum version.
24004 * INSTALL: Regenerated.
24005
24006 [BZ #2541]
24007 [BZ #4108]
24008 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24009 before squaring exponent.
24010 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24011 bottom long double and 27 bits of top long double before squaring
24012 exponent.
24013 * math/libm-test.inc (erfc_test): Add more tests.
24014 * sysdeps/i386/fpu/libm-test-ulps: Update.
24015 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24017
24018 2012-03-01 Kai Tietz <ktietz@redhat.com>
24019
24020 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24021 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24022 containing bit-fields.
24023 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24024 * soft-fp/single.h (_FP_UNION_S): Likewise.
24025 * soft-fp/double.h (_FP_UNION_D): Likewise.
24026
24027 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24028
24029 [BZ #13786]
24030 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24031 not include ../strcmp.S.
24032 [USE_AS_STRNCASECMP_L]: Likewise.
24033 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24034 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24035 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24036 (__strncasecmp_l_ia32): Define as alias to
24037 __strncasecmp_l_nonascii.
24038
24039 [BZ #5794]
24040 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24041 * sysdeps/i386/fpu/libm-test-ulps: Update.
24042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24043
24044 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24046
24047 2012-02-29 Jeff Law <law@redhat.com>
24048
24049 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24050 out of bounds read.
24051
24052 2012-02-29 Marek Polacek <polacek@redhat.com>
24053
24054 [BZ #13706]
24055 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24056 * elf/Makefile: Add rules to run tst-unused-dep.out.
24057
24058 2012-02-28 David S. Miller <davem@davemloft.net>
24059
24060 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24061 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24062 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24063 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24064 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24065 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24066
24067 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24068
24069 * math/libm-test.inc (llround_test): Move one test from
24070 lround_test. Use TEST_f_L in moved test.
24071 (lround_test): Move misplaced test to llround_test. Add testcase
24072 from bug 2561.
24073
24074 2012-02-28 Ulrich Drepper <drepper@gmail.com>
24075
24076 * sysdeps/x86_64/fpu/e_expf.S: New file.
24077 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24078
24079 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24080
24081 [BZ #13637]
24082 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24083 of remain_len that may cause incomplete multi-byte character and
24084 false match.
24085 * posix/bug-regex33.c: New file.
24086 * posix/Makefile (tests): Add bug-regex33.
24087
24088 2012-02-28 Joseph Myers <joseph@codesourcery.com>
24089
24090 * manual/macros.texi: New file.
24091 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24092 * manual/libc.texinfo: Include macros.texi.
24093 * manual/creatute.texi: Likewise.
24094 * manual/install.texi: Likewise.
24095 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24096 @glibcadj{} in references to the GNU C Library.
24097 * manual/charset.texi: Likewise.
24098 * manual/conf.texi: Likewise.
24099 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24100 when not using those macros.
24101 * manual/creature.texi: Likewise.
24102 * manual/crypt.texi: Likewise.
24103 * manual/errno.texi: Likewise.
24104 * manual/filesys.texi: Likewise.
24105 * manual/header.texi: Likewise.
24106 * manual/install.texi: Likewise.
24107 * manual/intro.texi: Likewise.
24108 * manual/io.texi: Likewise.
24109 * manual/job.texi: Likewise.
24110 * manual/lang.texi: Likewise.
24111 * manual/libc.texiinfo: Likewise.
24112 * manual/llio.texi: Likewise.
24113 * manual/locale.texi: Likewise.
24114 * manual/maint.texi: Likewise.
24115 * manual/math.texi: Likewise.
24116 * manual/memory.texi: Likewise.
24117 * manual/message.texi: Likewise.
24118 * manual/nss.texi: Likewise.
24119 * manual/pattern.texi: Likewise.
24120 * manual/process.texi: Likewise.
24121 * manual/resource.texi: Likewise.
24122 * manual/search.texi: Likewise.
24123 * manual/setjmp.texi: Likewise.
24124 * manual/signal.texi: Likewise.
24125 * manual/socket.texi: Likewise.
24126 * manual/startup.texi: Likewise.
24127 * manual/stdio.texi: Likewise.
24128 * manual/string.texi: Likewise.
24129 * manual/sysinfo.texi: Likewise.
24130 * manual/syslog.texi: Likewise.
24131 * manual/terminal.texi: Likewise.
24132 * manual/time.texi: Likewise.
24133 * manual/users.texi: Likewise.
24134 * INSTALL: Regenerated.
24135 * NOTES: Regenerated.
24136 * sysdeps/gnu/errlist.c: Regenerated.
24137
24138 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24139
24140 * include/dirent.h: Include <dirstream.h> before
24141 <dirent/dirent.h>.
24142
24143 2012-02-28 David S. Miller <davem@davemloft.net>
24144
24145 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24146 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24147 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24148 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24149
24150 2012-02-27 David S. Miller <davem@davemloft.net>
24151
24152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24154 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24155 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24156
24157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24158 frame pointer instead of stack pointer relative arg slot.
24159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24160 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24161 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24162
24163 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24164
24165 [BZ #3992]
24166 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24167
24168 2012-02-27 David S. Miller <davem@davemloft.net>
24169
24170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24174 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24175 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24176 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24177 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24178
24179 2012-02-27 Joseph Myers <joseph@codesourcery.com>
24180
24181 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24182 later. Allow versions 5-9.
24183 * configure: Regenerated.
24184 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24185 required minimum version and 4.6 as recommended version. Do not
24186 mention bugs in GCC 2.7 and 2.8.
24187 * INSTALL: Regenerated.
24188
24189 2012-02-27 David S. Miller <davem@davemloft.net>
24190
24191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24195 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24196 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24197 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24198 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24199
24200 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24201 manipulate bits before adding and subtracting TWO112[sx].
24202 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24203
24204 2012-02-27 Roland McGrath <roland@hack.frob.com>
24205
24206 [BZ #13775]
24207 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24208 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24209 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24210 being in POSIX, because they are in 1003.1-2008.
24211
24212 * rt/tst-aio.c: Include <fcntl.h>.
24213 * rt/tst-aio7.c: Likewise.
24214 * rt/tst-aio64.c: Likewise.
24215
24216 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24217
24218 2012-02-27 Joseph Myers <joseph@codesourcery.com>
24219
24220 * manual/install.texi (--with-headers): Describe headers as
24221 interface headers, not private headers.
24222 (Specific advice for GNU/Linux systems): Describe use of headers
24223 from "make headers_install", not private headers from older
24224 kernels.
24225 * INSTALL: Regenerated.
24226 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24227 Change to 2.6.19.
24228 * sysdeps/unix/sysv/linux/configure: Regenerated.
24229
24230 * manual/llio.texi (fclean): Remove documentation.
24231
24232 * manual/Makefile (libc-texi-generated): New variable. Include
24233 version.texi.
24234 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24235 $(libc-texi-generated), not duplicated list of files.
24236 (version.texi, stamp-version): New rules.
24237 (realclean): Remove $(libc-texi-generated), not individual files
24238 from that list. Do not remove dir-add.texinfo.
24239 * manual/libc.texinfo: Comment out uses of edition numbers and
24240 references to printed manual. Remove last-updated dates.
24241 (EDITION): Comment out.
24242 (ISBN): Likewise.
24243 (VERSION, UPDATED): Remove.
24244 (version.texi): Include.
24245
24246 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24247
24248 * sysdeps/posix/spawni.c: Include <signal.h>.
24249 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24250 * sysdeps/pthread/aio_fsync.c: Likewise.
24251
24252 2012-02-26 Ulrich Drepper <drepper@gmail.com>
24253
24254 * conform/Makefile (tests): Run only when not cross-compiling and
24255 when fast-check is not defined.
24256
24257 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24258 * conform/data/limits.h-data: Fixes for POSIX2008.
24259 * conform/run-conformtest.sh: Run all tests.
24260 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24261 headers.
24262 * include/bits/dlfcn.h: Likewise.
24263 * include/langinfo.h: Likewise.
24264 * include/monetary.h: Likewise.
24265 * include/sys/poll.h: Likewise.
24266
24267 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24268 for __USE_GNU.
24269 * posix/spawn.h: Define __need_sigset_t.
24270 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24271 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24272 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24273 to get sigevent_t only.
24274 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24275 only for __USE_GNU.
24276 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24277 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24278 process_vm_writev only for __USE_GNU.
24279 * termios/termios.h: Declare tcgetsid also for POSIX2008.
24280
24281 * conform/Makefile: For now ignore errors from run-conformtest.
24282 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24283 POSIX to avoid namespace pollution. Don't prepend headers.
24284 * conform/data/aio.h-data: Fixes for POSIX testing.
24285 * conform/data/fcntl.h-data: Likewise.
24286 * conform/data/glob.h-data: Likewise.
24287 * conform/data/grp.h-data: Likewise.
24288 * conform/data/pthread.h-data: Likewise.
24289 * conform/data/pwd.h-data: Likewise.
24290 * conform/data/signal.h-data: Likewise.
24291 * conform/data/spawn.h-data: Likewise.
24292 * conform/data/stdio.h-data: Likewise.
24293 * conform/data/stdlib.h-data: Likewise.
24294 * conform/data/stropts.h-data: Likewise.
24295 * conform/data/sys/mman.h-data: Likewise.
24296 * conform/data/sys/stat.h-data: Likewise.
24297 * conform/data/sys/types.h-data: Likewise.
24298 * conform/data/sys/wait.h-data: Likewise.
24299 * conform/data/time.h-data: Likewise.
24300 * conform/data/unistd.h-data: Likewise.
24301 * conform/data/utime.h-data: Likewise.
24302
24303 * io/sys/stat.h: fchmod was always in POSIX.
24304 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24305 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24306 * rt/aio.h: Define __need_timespec before including <time.h>.
24307 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24308 struct. Add forward declaration of pthread_attr_t and use it in
24309 sigevent.
24310 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24311 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24312 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24313 always remove CLK_TCK definition.
24314
24315 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24316
24317 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24318
24319 2012-02-25 Ulrich Drepper <drepper@gmail.com>
24320
24321 * conform/run-conformtest.sh: New file.
24322 * conform/Makefile: Run run-conformtest for tests.
24323 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24324 support.
24325
24326 * conform/data/uchar.h-data: New file.
24327 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24328 * conform/data/arpa/inet.h-data: Likewise.
24329 * conform/data/assert.h-data: Likewise.
24330 * conform/data/complex.h-data: Likewise.
24331 * conform/data/cpio.h-data: Likewise.
24332 * conform/data/ctype.h-data: Likewise.
24333 * conform/data/dirent.h-data: Likewise.
24334 * conform/data/dlfcn.h-data: Likewise.
24335 * conform/data/errno.h-data: Likewise.
24336 * conform/data/fcntl.h-data: Likewise.
24337 * conform/data/float.h-data: Likewise.
24338 * conform/data/fmtmsg.h-data: Likewise.
24339 * conform/data/fnmatch.h-data: Likewise.
24340 * conform/data/ftw.h-data: Likewise.
24341 * conform/data/glob.h-data: Likewise.
24342 * conform/data/grp.h-data: Likewise.
24343 * conform/data/iconv.h-data: Likewise.
24344 * conform/data/inttypes.h-data: Likewise.
24345 * conform/data/langinfo.h-data: Likewise.
24346 * conform/data/libgen.h-data: Likewise.
24347 * conform/data/limits.h-data: Likewise.
24348 * conform/data/locale.h-data: Likewise.
24349 * conform/data/math.h-data: Likewise.
24350 * conform/data/monetary.h-data: Likewise.
24351 * conform/data/mqueue.h-data: Likewise.
24352 * conform/data/ndbm.h-data: Likewise.
24353 * conform/data/net/if.h-data: Likewise.
24354 * conform/data/netdb.h-data: Likewise.
24355 * conform/data/netinet/in.h-data: Likewise.
24356 * conform/data/nl_types.h-data: Likewise.
24357 * conform/data/poll.h-data: Likewise.
24358 * conform/data/pthread.h-data: Likewise.
24359 * conform/data/pwd.h-data: Likewise.
24360 * conform/data/regex.h-data: Likewise.
24361 * conform/data/sched.h-data: Likewise.
24362 * conform/data/search.h-data: Likewise.
24363 * conform/data/semaphore.h-data: Likewise.
24364 * conform/data/setjmp.h-data: Likewise.
24365 * conform/data/signal.h-data: Likewise.
24366 * conform/data/spawn.h-data: Likewise.
24367 * conform/data/stdarg.h-data: Likewise.
24368 * conform/data/stdio.h-data: Likewise.
24369 * conform/data/stdlib.h-data: Likewise.
24370 * conform/data/string.h-data: Likewise.
24371 * conform/data/strings.h-data: Likewise.
24372 * conform/data/stropts.h-data: Likewise.
24373 * conform/data/sys/ipc.h-data: Likewise.
24374 * conform/data/sys/mman.h-data: Likewise.
24375 * conform/data/sys/msg.h-data: Likewise.
24376 * conform/data/sys/resource.h-data: Likewise.
24377 * conform/data/sys/select.h-data: Likewise.
24378 * conform/data/sys/sem.h-data: Likewise.
24379 * conform/data/sys/shm.h-data: Likewise.
24380 * conform/data/sys/socket.h-data: Likewise.
24381 * conform/data/sys/stat.h-data: Likewise.
24382 * conform/data/sys/statvfs.h-data: Likewise.
24383 * conform/data/sys/time.h-data: Likewise.
24384 * conform/data/sys/timeb.h-data: Likewise.
24385 * conform/data/sys/times.h-data: Likewise.
24386 * conform/data/sys/types.h-data: Likewise.
24387 * conform/data/sys/uio.h-data: Likewise.
24388 * conform/data/sys/un.h-data: Likewise.
24389 * conform/data/sys/utsname.h-data: Likewise.
24390 * conform/data/sys/wait.h-data: Likewise.
24391 * conform/data/syslog.h-data: Likewise.
24392 * conform/data/tar.h-data: Likewise.
24393 * conform/data/termios.h-data: Likewise.
24394 * conform/data/utime.h-data: Likewise.
24395 * conform/data/utmpx.h-data: Likewise.
24396 * conform/data/varargs.h-data: Likewise.
24397 * conform/data/wchar.h-data: Likewise.
24398 * conform/data/wctype.h-data: Likewise.
24399 * conform/data/wordexp.h-data: Likewise.
24400
24401 * include/stropts.h: New file.
24402 * include/uchar.h: New file.
24403 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24404 * include/assert.h: Likewise.
24405 * include/ctype.h: Likewise.
24406 * include/dirent.h: Likewise.
24407 * include/dlfcn.h: Likewise.
24408 * include/fcntl.h: Likewise.
24409 * include/fnmatch.h: Likewise.
24410 * include/glob.h: Likewise.
24411 * include/grp.h: Likewise.
24412 * include/libio.h: Likewise.
24413 * include/locale.h: Likewise.
24414 * include/math.h: Likewise.
24415 * include/net/if.h: Likewise.
24416 * include/netdb.h: Likewise.
24417 * include/netinet/in.h: Likewise.
24418 * include/pthread.h: Likewise.
24419 * include/pwd.h: Likewise.
24420 * include/regex.h: Likewise.
24421 * include/sched.h: Likewise.
24422 * include/search.h: Likewise.
24423 * include/setjmp.h: Likewise.
24424 * include/signal.h: Likewise.
24425 * include/stdio.h: Likewise.
24426 * include/stdlib.h: Likewise.
24427 * include/string.h: Likewise.
24428 * include/sys/cdefs.h: Likewise.
24429 * include/sys/mman.h: Likewise.
24430 * include/sys/msg.h: Likewise.
24431 * include/sys/resource.h: Likewise.
24432 * include/sys/select.h: Likewise.
24433 * include/sys/socket.h: Likewise.
24434 * include/sys/stat.h: Likewise.
24435 * include/sys/statvfs.h: Likewise.
24436 * include/sys/time.h: Likewise.
24437 * include/sys/times.h: Likewise.
24438 * include/sys/uio.h: Likewise.
24439 * include/sys/utsname.h: Likewise.
24440 * include/sys/wait.h: Likewise.
24441 * include/termios.h: Likewise.
24442 * include/time.h: Likewise.
24443 * include/ulimit.h: Likewise.
24444 * include/unistd.h: Likewise.
24445 * include/utime.h: Likewise.
24446 * include/wchar.h: Likewise.
24447 * include/wctype.h: Likewise.
24448 * include/wordexp.h: Likewise.
24449
24450 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24451
24452 * time/time.h: TIME_UTC must be a macro.
24453 Make timespec_get available for ISO C11 only as well.
24454
24455 2012-02-24 Ulrich Drepper <drepper@gmail.com>
24456
24457 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24458 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24459
24460 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24461
24462 * configure.in: Use -o not -a in test for unsupported multi-arch.
24463
24464 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24465
24466 * manual/texinfo.tex: Update to version 2012-01-19.16.
24467
24468 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24469
24470 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24471
24472 2012-02-24 Roland McGrath <roland@hack.frob.com>
24473
24474 [BZ #13738]
24475 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24476 * manual/fdl-1.3.texi: New file.
24477 * manual/fdl-1.1.texi: File removed.
24478
24479 [BZ #13738]
24480 * manual/libc.texinfo (FDL_VERSION): New @set.
24481 Use it for mention of FDL in cover text.
24482 (Documentation License): Use it in @include file name.
24483
24484 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24485 Roland McGrath <roland@hack.frob.com>
24486
24487 [BZ #5461]
24488 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24489 not LONG_LONG_MAX and LONG_LONG_MIN.
24490 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24491 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24492 name.
24493 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24494
24495 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24496
24497 [BZ #2547]
24498 [BZ #11365]
24499 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24500 manipulate bits before adding and subtracting TWO23[sx].
24501 * math/libm-test.inc (nearbyint_test): Add more tests.
24502
24503 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24504
24505 [BZ #2548]
24506 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24507 bits before adding and subtracting TWO23[sx].
24508 * math/libm-test.inc (rint_test): Add more tests.
24509 (rint_test_tonearest): Likewise.
24510 (rint_test_towardzero): Likewise.
24511 (rint_test_downward): Likewise.
24512 (rint_test_upward: Likewise.
24513
24514 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24515
24516 [BZ #10110]
24517 * include/stdc-predef.h: New file. Extracted from features.h.
24518 * include/features.h: Include stdc-predef.h.
24519 * Makefile (headers): Add stdc-predef.h.
24520 * CONFORMANCE (Compiler limitations): Update.
24521
24522 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24523
24524 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24525
24526 2012-02-21 David S. Miller <davem@davemloft.net>
24527
24528 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24529 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24530
24531 2012-02-20 David S. Miller <davem@davemloft.net>
24532
24533 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24534 using a normal save/restore sequence, rather than allocating a
24535 dummy stack frame just to store a frame pointer and restore.
24536 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24537
24538 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24539
24540 * manual/install.texi: Fix stray word in line-wrapped comment.
24541
24542 2012-02-20 David S. Miller <davem@davemloft.net>
24543
24544 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24545 both binutils and gcc support GOTDATA.
24546
24547 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24548 "rd %pc" in the PIC register setup sequences.
24549
24550 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24551 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24552 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24553 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24554 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24555 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24556 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24557 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24558 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24559 (SYSCALL_ERROR_HANDLER): Likewise.
24560 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24561 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24562 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24563 (SYSCALL_ERROR_HANDLER): Likewise.
24564
24565 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24566 (HAVE_GCC_GOTDATA): New.
24567 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24568 relocation support in both binutils and gcc.
24569 * sysdeps/sparc/elf/configure: Regenerate.
24570
24571 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24572 * sysdeps/sparc/sparc32/elf/configure: Delete.
24573 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24574 * sysdeps/sparc/sparc64/elf/configure: Delete.
24575 * sysdeps/sparc/elf/configure.in: New file.
24576 * sysdeps/sparc/elf/configure: Generate.
24577
24578 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24579 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24580 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24581 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24582 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24583
24584 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24585
24586 * manual/install.texi: Do not mention specific glibc version
24587 numbers.
24588 * manual/libc.texinfo (VERSION, UPDATED): Update.
24589 (@copying): Use @copyright{} and range of years.
24590
24591 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24592
24593 [BZ #13695]
24594 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24595 [crti.S not in sysdirs] (generated): Do not append.
24596 [crti.S not in sysdirs] (omit-deps): Likewise.
24597 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24598 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24599 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24600 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24601 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24602 Likewise.
24603 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24604 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24605 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24606 * csu/defs.awk: Remove file.
24607 * sysdeps/generic/initfini.c: Likewise.
24608 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24609 variable.
24610 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24611 Likewise.
24612
24613 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24614
24615 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24616 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24617 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24618 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24619 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24620 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24621 <bits/epoll.h>.
24622 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24623 (__EPOLL_PACKED): Define to empty if not defined by
24624 <bits/epoll.h>.
24625 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24626 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24627 bits/epoll.h.
24628
24629 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24630
24631 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24632 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24633 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24634 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24635 <bits/timerfd.h>.
24636 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24637 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24638 bits/timerfd.h.
24639
24640 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24641
24642 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24643 in C locale.
24644 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24645 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24646 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24648
24649 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24650
24651 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24652 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24653
24654 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24655
24656 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24657 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24658 defined.
24659 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24660 Likewise.
24661 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24662 entry for 2.16.
24663
24664 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24665
24666 * math/w_acos.c: Use non-signaling floating-point comparisons.
24667 * math/w_acosf.c: Likewise.
24668 * math/w_acosh.c: Likewise.
24669 * math/w_acoshf.c: Likewise.
24670 * math/w_acoshl.c: Likewise.
24671 * math/w_acosl.c: Likewise.
24672 * math/w_asin.c: Likewise.
24673 * math/w_asinf.c: Likewise.
24674 * math/w_asinl.c: Likewise.
24675 * math/w_atanh.c: Likewise.
24676 * math/w_atanhf.c: Likewise.
24677 * math/w_atanhl.c: Likewise.
24678 * math/w_exp2.c: Likewise.
24679 * math/w_exp2f.c: Likewise.
24680 * math/w_exp2l.c: Likewise.
24681 * math/w_j0.c: Likewise.
24682 * math/w_j0f.c: Likewise.
24683 * math/w_j0l.c: Likewise.
24684 * math/w_j1.c: Likewise.
24685 * math/w_j1f.c: Likewise.
24686 * math/w_j1l.c: Likewise.
24687 * math/w_jn.c: Likewise.
24688 * math/w_jnf.c: Likewise.
24689 * math/w_log.c: Likewise.
24690 * math/w_log10.c: Likewise.
24691 * math/w_log10f.c: Likewise.
24692 * math/w_log10l.c: Likewise.
24693 * math/w_log2.c: Likewise.
24694 * math/w_log2f.c: Likewise.
24695 * math/w_log2l.c: Likewise.
24696 * math/w_logf.c: Likewise.
24697 * math/w_logl.c: Likewise.
24698 * math/w_sqrt.c: Likewise.
24699 * math/w_sqrtf.c: Likewise.
24700 * math/w_sqrtl.c: Likewise.
24701 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24702 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24703 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24704 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24705 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24706
24707 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24708
24709 [BZ #9739]
24710 * manual/string.texi (strnlen): Use correct parameter name in
24711 equivalent expression.
24712
24713 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24714
24715 [BZ #11174]
24716 * manual/users.texi (seteuid): Consistently use neweuid for
24717 argument name.
24718
24719 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24720
24721 [BZ #13704]
24722 * manual/nss.texi (Services in the NSS configuration): Correct
24723 list of services in example configuration file.
24724
24725 2012-02-19 Nick Bowler <nbowler@draconx.ca>
24726
24727 [BZ #11322]
24728 * manual/arith.texi: Remove statements about negative zero
24729 behaving identically to zero.
24730
24731 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24732
24733 [BZ #5993]
24734 * manual/install.texi: Do not document upgrading from libc5.
24735
24736 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24737
24738 [BZ #4596]
24739 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24740
24741 2012-02-18 David S. Miller <davem@davemloft.net>
24742
24743 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24744 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24745 %o7 across the call.
24746 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24747 instead.
24748 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24749 SETUP_PIC_REG_LEAF.
24750 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24751 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24752 * sysdeps/sparc/crtn.S: Likewise.
24753
24754 2012-02-17 Ulrich Drepper <drepper@gmail.com>
24755
24756 * aout/Makefile: Remove.
24757
24758 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24759
24760 [BZ #13058]
24761 * manual/examples/argp-ex1.c (main): Format definition in GNU
24762 style.
24763 * manual/examples/argp-ex2.c (main): Likewise.
24764 * manual/examples/argp-ex3.c (main): Likewise.
24765 * manual/examples/argp-ex4.c (main): Likewise.
24766 * manual/examples/longopt.c (main): Use new-style prototype
24767 definition.
24768 * manual/examples/strncat.c (main): Specify return type and use
24769 (void) for arguments.
24770 * manual/examples/subopt.c (main): Use char **argv argument.
24771
24772 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24773
24774 [BZ #5077]
24775 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24776 rounding modes.
24777
24778 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24779
24780 [BZ #6907]
24781 * manual/string.texi (strchr): Change when strchrnul is
24782 recommended.
24783
24784 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24785
24786 [BZ #174]
24787 * manual/locale.texi (setlocale): Document LOCPATH.
24788
24789 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24790
24791 [BZ #10210]
24792 * manual/process.texi (execle): Move @dots{} before last argument.
24793
24794 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
24795
24796 [BZ #12047]
24797 * manual/charset.texi (Generic Charset Conversion): Fix typo
24798 (LC_TYPE -> LC_CTYPE).
24799
24800 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24801
24802 [BZ #5805]
24803 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24804 (scalbnf): Likewise.
24805 (scalbnl): Likewise.
24806 (scalbln): Likewise.
24807 (scalblnf): Likewise.
24808 (scalblnl): Likewise.
24809 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24810 (vwarnx): Likewise.
24811 (verr): Likewise.
24812 (verrx): Likewise.
24813 * manual/filesys.texi (telldir): Use braces around return type.
24814 * manual/llio.texi (mmap): Add space after comma.
24815 (mmap64): Likewise.
24816 * manual/math.texi (jn): Use @var{} on parameter names.
24817 (jnf): Likewise.
24818 (jnl): Likewise.
24819 (yn): Likewise.
24820 (ynf): Likewise.
24821 (ynl): Likewise.
24822 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24823 line.
24824 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24825 "...".
24826 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24827 (sched_get_priority_max): Likewise.
24828 * manual/signal.texi (sigvec): Add space after comma.
24829 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24830 names.
24831 (if_indextoname): Likewise.
24832 (if_freenameindex): Likewise.
24833 (sendto): Use ',' instead of '.' in prototype.
24834 * manual/startup.texi (syscall): Use @dots{} instead of literal
24835 "...".
24836 * manual/stdio.texi (__fpending): Separate initial words of
24837 paragraph from @deftypefun line.
24838 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24839 "...".
24840 (vsyslog): Use @var{} on parameter names.
24841 * manual/terminal.texi (stty): Use @var{} on parameter names.
24842 * manual/users.texi (getutmp): Use @var{} on parameter names.
24843 (getutmpx): Likewise.
24844
24845 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24846
24847 [BZ #6884]
24848 * manual/stdio.texi (fopen): Fix typos in description of
24849 ",ccs=STRING".
24850
24851 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24852
24853 [BZ #4026]
24854 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24855 get clock_id definition.
24856
24857 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
24858
24859 [BZ #4822]
24860 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24861 (madvise): Cast every argument to void on its own.
24862
24863 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24864
24865 [BZ #9902]
24866 * manual/startup.texi (Exit Status): Fix typo.
24867
24868 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24869
24870 [BZ #10140]
24871 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24872 * manual/examples/argp-ex2.c: Likewise.
24873 * manual/examples/argp-ex3.c: Likewise.
24874
24875 2012-02-16 Richard Henderson <rth@redhat.com>
24876
24877 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24878 * sysdeps/s390/s390-32/initfini.c: Remove.
24879 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24880 * sysdeps/s390/s390-64/initfini.c: Remove.
24881
24882 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24883
24884 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24885 compiler output for sysdeps/generic/initfini.c.
24886 * sysdeps/sh/elf/initfini.c: Remove file.
24887
24888 2012-02-16 David S. Miller <davem@davemloft.net>
24889
24890 [BZ #11494]
24891 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24892
24893 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24894 * sysdeps/sparc/crti.S: New file.
24895 * sysdeps/sparc/crtn.S: New file.
24896 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24897 * sysdeps/sparc/sparc64/Makefile: Likewise.
24898
24899 2012-02-15 Mike Frysinger <vapier@gentoo.org>
24900
24901 [BZ #3335]
24902 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24903
24904 2012-02-15 Roland McGrath <roland@hack.frob.com>
24905
24906 [BZ #4822]
24907 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24908
24909 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24910 (write, read, close): Likewise.
24911 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24912
24913 2012-02-15 Joseph Myers <joseph@codesourcery.com>
24914
24915 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24916 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24917 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24918 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24919 <bits/signalfd.h>.
24920 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24921 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24922 bits/signalfd.h.
24923
24924 2012-02-14 Marek Polacek <polacek@redhat.com>
24925
24926 * sysdeps/x86_64/crti.S: New file.
24927 * sysdeps/x86_64/crtn.S: New file.
24928 * sysdeps/x86_64/elf/initfini.c: Remove file.
24929
24930 2012-02-13 Joseph Myers <joseph@codesourcery.com>
24931
24932 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24933 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24934 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24935 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24936 <bits/inotify.h>.
24937 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24938 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24939 bits/inotify.h.
24940
24941 2012-02-13 Joseph Myers <joseph@codesourcery.com>
24942
24943 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24944 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24945 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24946 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24947 <bits/eventfd.h>.
24948 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24949 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24950 bits/eventfd.h.
24951
24952 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24953
24954 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24955 __feraiseexcept instead of feraiseexcept.
24956
24957 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24958 nanosleep invocations.
24959 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24960 strings, and add error checking for a nanosleep invocations.
24961
24962 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24963
24964 Replace FSF snail mail address with URLs, as per GNU coding standards.
24965 Most of the snail mail addresses were wrong anyway, and omitting
24966 them makes the source code easier to maintain. Almost all of the
24967 changes are to license notices and to locale LC_IDENTIFICATION
24968 addresses, except for this one:
24969 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24970 not its snail mail address.
24971
24972 2012-02-09 Richard Henderson <rth@twiddle.net>
24973
24974 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24975 of kernel-features.h.
24976
24977 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24978
24979 2012-02-08 Marek Polacek <polacek@redhat.com>
24980
24981 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24982 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24983 * sysdeps/gnu/_G_config.h: Likewise.
24984 * sysdeps/generic/_G_config.h: Likewise.
24985
24986 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24987
24988 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24989 tests.
24990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24991
24992 * sysdeps/powerpc/powerpc32/crti.S: New file.
24993 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24994 * sysdeps/powerpc/powerpc64/crti.S: New file.
24995 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24996
24997 * Makeconfig (have-initfini): Don't set.
24998 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24999 * configure.in (nopic_initfini): Don't substitute.
25000 * config.h.in (HAVE_INITFINI): Don't #undef.
25001 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25002 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25003
25004 2012-02-08 Joseph Myers <joseph@codesourcery.com>
25005
25006 Support crti.S and crtn.S provided directly by architectures.
25007 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25008 [crti.S in sysdirs] (omit-deps): Likewise.
25009 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25010 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25011 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25012 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25013 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25014 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25015 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25016 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25017 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25018 compiler output for sysdeps/generic/initfini.c.
25019 * sysdeps/i386/elf/Makefile: Remove file.
25020 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25021
25022 2012-02-07 Marek Polacek <polacek@redhat.com>
25023
25024 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25025 * sysdeps/gnu/_G_config.h: Likewise.
25026 * sysdeps/mach/hurd/_G_config.h: Likewise.
25027
25028 2012-02-07 Marek Polacek <polacek@redhat.com>
25029
25030 * math/Makefile (tests): Add tst-CMPLX2.
25031 * math/tst-CMPLX2.c: New file.
25032
25033 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25034
25035 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25036
25037 * math/libm-test.inc (jn_test): Add missing L suffix.
25038
25039 2012-02-06 Marek Polacek <polacek@redhat.com>
25040
25041 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25042 * sysdeps/i386/fpu/e_powf.S: Likewise.
25043 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25044 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25045 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25046 * sysdeps/i386/fpu/e_pow.S: Likewise.
25047 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25048 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25049 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25050 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25051 * sysdeps/i386/fpu/e_log2.S: Likewise.
25052 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25053 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25054 * sysdeps/i386/fpu/e_powl.S: Likewise.
25055 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25056 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25057 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25058 * sysdeps/i386/fpu/e_logl.S: Likewise.
25059 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25060 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25061 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25062 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25063 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25064 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25065 * sysdeps/i386/fpu/e_log.S: Likewise.
25066 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25067 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25068 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25069 * sysdeps/i386/fpu/e_logf.S: Likewise.
25070 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25071 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25072 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25073 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25074 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25075 * sysdeps/i386/fpu/e_log10.S: Likewise.
25076 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25077 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25078 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25079 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25080 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25081 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25082 * sysdeps/i386/asm-syntax.h: Likewise.
25083 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25084 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25085 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25086 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25087 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25088 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25089 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25090 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25091 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25092 * sysdeps/powerpc/sysdep.h: Likewise.
25093 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25094 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25095
25096 2012-02-06 Joseph Myers <joseph@codesourcery.com>
25097
25098 [BZ #411]
25099 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25100
25101 2012-02-06 Joseph Myers <joseph@codesourcery.com>
25102
25103 * sysdeps/i386/sysdep.h: Include <features.h>.
25104 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25105 version.
25106
25107 2012-02-05 Joseph Myers <joseph@codesourcery.com>
25108
25109 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25110 Define.
25111 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25112 LOAD_PIC_REG_STR.
25113
25114 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25115
25116 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25117 (SETUP_PIC_REG): Use GET_PC_THUNK.
25118 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25119 macro.
25120
25121 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25122
25123 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25124 for non-PIC compilation.
25125 (SETUP_PIC_REG): Add .p2align directive.
25126 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25127 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25128 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25129 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25130 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25131 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25132 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25133 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25134 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25135 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25136 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25137 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25138 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25139 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25140 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25141 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25142 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25143 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25144 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25145 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25146 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25147 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25148 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25149 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25150 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25151 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25152 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25153 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25154 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25155 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25156 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25157 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25158 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25159 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25160 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25161 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25162 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25163 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25164 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25165 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25166 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25167
25168 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25169
25170 * math/tst-CMPLX.c: Include <stdio.h>.
25171
25172 2012-01-31 Joseph Myers <joseph@codesourcery.com>
25173
25174 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25175 float.
25176 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25177 * sysdeps/sparc/bits/mathdef.h: Likewise.
25178
25179 2012-01-31 Marek Polacek <polacek@redhat.com>
25180
25181 * libio/libio.h: Don't define _PARAMS.
25182 * locale/programs/config.h: Don't define PARAMS.
25183 * stdlib/strtol_l.c: Likewise.
25184 (__strtol_l): Remove PARAMS from the prototype.
25185
25186 2012-01-31 Ulrich Drepper <drepper@gmail.com>
25187
25188 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25189 names. Just use the correct names. Remove unnecessary wrapper
25190 functions.
25191 * malloc/arena.c: Likewise.
25192 * malloc/hooks.c: Likewise.
25193
25194 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25195 ARENA_TEST says not to. Simplify test for creation of a new arena.
25196 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25197
25198 2012-01-30 Ulrich Drepper <drepper@gmail.com>
25199
25200 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25201 into tail calls.
25202 (update_get_addr): New function.
25203 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25204 GET_ADDR_MODULE parameter.
25205
25206 2012-01-30 Joseph Myers <joseph@codesourcery.com>
25207
25208 * crypt/cert.c: Remove __STDC__ conditionals.
25209 * crypt/crypt-entry.c: Likewise.
25210 * crypt/crypt_util.c: Likewise.
25211 * libio/filedoalloc.c: Likewise.
25212 * libio/fileops.c: Likewise.
25213 * libio/genops.c: Likewise.
25214 * libio/iofclose.c: Likewise.
25215 * libio/iofdopen.c: Likewise.
25216 * libio/iofopen.c: Likewise.
25217 * libio/iofopen64.c: Likewise.
25218 * libio/iogetdelim.c: Likewise.
25219 * libio/iopopen.c: Likewise.
25220 * libio/obprintf.c: Likewise.
25221 * libio/oldfileops.c: Likewise.
25222 * libio/oldiofclose.c: Likewise.
25223 * libio/oldiofdopen.c: Likewise.
25224 * libio/oldiofopen.c: Likewise.
25225 * libio/oldiopopen.c: Likewise.
25226 * libio/wfiledoalloc.c: Likewise.
25227 * libio/wgenops.c: Likewise.
25228 * locale/programs/xmalloc.c: Likewise.
25229 * misc/syslog.c: Likewise.
25230 * stdio-common/xbug.c: Likewise.
25231 * string/memchr.c: Likewise.
25232 * string/memcmp.c: Likewise.
25233 * string/memrchr.c: Likewise.
25234 * string/rawmemchr.c: Likewise.
25235 * sysdeps/posix/getcwd.c: Likewise.
25236 * time/strftime_l.c: Likewise.
25237
25238 2012-01-30 Joseph Myers <joseph@codesourcery.com>
25239
25240 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
25241 * config.make.in (config-cflags-sse2avx): Define.
25242 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25243 Fix typo.
25244
25245 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25246
25247 * scripts/config.guess: Update from upstream config git repository.
25248 * scripts/config.sub: Likewise.
25249
25250 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25251
25252 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25253 (EM_NUM): Update.
25254 (R_TILEPRO_*, R_TILEGX_*): New macros.
25255
25256 * scripts/firstversions.awk: Fix bug in version range handling.
25257
25258 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25259
25260 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25261
25262 * include/sys/epoll.h: New file.
25263 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25264 libc_hidden_def.
25265
25266 2012-01-28 Ulrich Drepper <drepper@gmail.com>
25267
25268 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25269 Avoid unnecessary __WORDSIZE == 64 test.
25270 (fmaxf): Use VEX format if possible.
25271 (fmax): Likewise.
25272 (fminf): Likewise.
25273 (fmin): Likewise.
25274
25275 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25276 * math/math_private.h: Remove libc_fegetround* and
25277 libc_fesetround*.
25278 * sysdeps/i386/configure.in: Check for -msse2avx.
25279 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25280 also if SSE2AVX is defined.
25281 Remove libc_fegetround* and libc_fesetround*.
25282 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25283 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25284 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25285 of HAS_YMM_USABLE.
25286 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25287 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25288 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25289 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25290 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25291
25292 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25293
25294 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25295
25296 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25297 size is not set.
25298 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25299
25300 2012-01-27 Ulrich Drepper <drepper@gmail.com>
25301
25302 [BZ #13618]
25303 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25304 relocation.
25305 * Makeconfig (libm): Define.
25306 * elf/Makefile: Add rules to build and run tst-relsort1.
25307 * elf/tst-relsort1.c: New file.
25308 * elf/tst-relsort1mod1.c: New file.
25309 * elf/tst-relsort1mod2.c: New file.
25310
25311 2012-01-27 Joseph Myers <joseph@codesourcery.com>
25312
25313 * math/s_ldexp.c: Remove __STDC__ conditionals.
25314 * math/s_ldexpf.c: Likewise.
25315 * math/s_ldexpl.c: Likewise.
25316 * math/s_nextafter.c: Likewise.
25317 * math/s_nexttowardf.c: Likewise.
25318 * math/s_significand.c: Likewise.
25319 * math/s_significandf.c: Likewise.
25320 * math/s_significandl.c: Likewise.
25321 * math/w_jnl.c: Likewise.
25322 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25323 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25324 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25325 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25326 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25327 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25328 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25329 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25330 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25331 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25332 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25333 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25334 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25335 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25336 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25337 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25338 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25339 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25340 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25341 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25342 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25343 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25344 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25345 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25346 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25347 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25348 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25349 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25350 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25351 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25352 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25353 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25354 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25355 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25356 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25357 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25358 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25359 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25360 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25361 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25362 * sysdeps/ieee754/k_standard.c: Likewise.
25363 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25364 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25365 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25366 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25367 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25368 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25369 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25370 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25371 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25372 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25373 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25374 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25375 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25376 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25377 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25378 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25379 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25380 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25381 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25382 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25383 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25384 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25385 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25386 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25387 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25388 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25389 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25390 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25391 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25392 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25393 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25394 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25395 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25396 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25397 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25398 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25399 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25400 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25401 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25402 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25403 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25404 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25405 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25406 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25407 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25408 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25409 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25410 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25411 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25412 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25413 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25414 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25415 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25416 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25417 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25418 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25419 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25420 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25421 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25422 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25423 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25424 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25425 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25426 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25427 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25428 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25429 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25430 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25431 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25432 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25433 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25434 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25435 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25436 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25437 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25438 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25439 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25440 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25441 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25442 * sysdeps/ieee754/s_matherr.c: Likewise.
25443 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25444 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25445 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25446 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25447
25448 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25449
25450 * crypt/md5.h: Remove __STDC__ conditionals.
25451 * libio/libioP.h: Likewise.
25452 * locale/programs/config.h: Likewise.
25453 * sysdeps/generic/sysdep.h: Likewise.
25454 * sysdeps/i386/asm-syntax.h: Likewise.
25455 * sysdeps/s390/asm-syntax.h: Likewise.
25456 * sysdeps/unix/sysdep.h: Likewise.
25457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25459
25460 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25461
25462 * libio/libio.h: Remove __STDC__ conditionals.
25463 * malloc/obstack.h: Likewise.
25464 * math/complex.h: Likewise.
25465 * math/math.h: Likewise.
25466 * sysdeps/generic/_G_config.h: Likewise.
25467 * sysdeps/gnu/_G_config.h: Likewise.
25468 * sysdeps/mach/hurd/_G_config.h: Likewise.
25469 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25470 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25471 * sysdeps/sparc/bits/mathdef.h: Likewise.
25472
25473 2012-01-26 Ulrich Drepper <drepper@gmail.com>
25474
25475 [BZ #13583]
25476 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
25477 Clean up HAS_* macros.
25478 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
25479 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25480 possible.
25481 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25482 HAS_AVX.
25483 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25484 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25485 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25486 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25487 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25488
25489 2012-01-25 Joseph Myers <joseph@codesourcery.com>
25490
25491 * elf/tst-unique3.cc (gets): Remove declaration.
25492 * elf/tst-unique3lib.cc (gets): Likewise.
25493 * elf/tst-unique3lib2.cc (gets): Likewise.
25494 * elf/tst-unique4.cc (gets): Likewise.
25495
25496 2012-01-24 Ulrich Drepper <drepper@gmail.com>
25497
25498 * include/stdio.h: Add C++ protection. Add gets declarations and
25499 definitions.
25500 * debug/tst-chk1.c: Don't declare gets here.
25501 * stdio-common/tst-gets.c: Likewise.
25502
25503 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25504
25505 * posix/glob: Remove directory.
25506
25507 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25508
25509 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25510
25511 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25512
25513 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25514 of the non-standard EPFNOSUPPORT.
25515
25516 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25517
25518 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25519 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25520 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25521
25522 2012-01-21 Ulrich Drepper <drepper@gmail.com>
25523
25524 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25525
25526 2012-01-20 Ulrich Drepper <drepper@gmail.com>
25527
25528 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25529 transient errors.
25530 * nscd/grpcache.c (cache_addgr): Likewise.
25531 * nscd/hstcache.c (cache_addhst): Likewise.
25532 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25533 * nscd/pwdcache.c (cache_addpw): Likewise.
25534 * nscd/servicescache.c (cache_addserv): Likewise.
25535
25536 2012-01-16 Ulrich Drepper <drepper@gmail.com>
25537
25538 * malloc/malloc.c: Various cleanups.
25539 * malloc/hooks.c: Likewise.
25540
25541 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25542 * stdlib/bug-fmtmsg1.c: New file.
25543
25544 * stdlib/fmtmsg.c (init): Add missing unlock.
25545 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25546
25547 2012-01-12 Marek Polacek <polacek@redhat.com>
25548
25549 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25550 and _GNU_SOURCE.
25551
25552 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25553
25554 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25555 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25556 macro to ensure uniqueness of label name.
25557 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25558 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25559
25560 2012-01-11 Ulrich Drepper <drepper@gmail.com>
25561
25562 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25563
25564 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25565 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25566 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25567 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25568
25569 2012-01-10 Ulrich Drepper <drepper@gmail.com>
25570
25571 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25572
25573 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25574 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25575 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25576
25577 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25578
25579 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
25580 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25581 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25582 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
25583
25584 * math/bits/math-finite.h: Add ldexp support.
25585
25586 2012-01-10 Marek Polacek <polacek@redhat.com>
25587
25588 * locale/programs/localedef.h (show_archive_content): Add noreturn
25589 attribute.
25590
25591 2012-01-09 Ulrich Drepper <drepper@gmail.com>
25592
25593 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25594
25595 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25596
25597 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25598
25599 * io/Makefile (headers): Add bits/poll2.h.
25600
25601 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25602
25603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25604 typo #include statement.
25605
25606 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25607
25608 * include/sys/cdefs.h: Define __attribute_alloc_size.
25609 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25610 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25611 * elf/pldd.c: Likewise.
25612 * iconv/iconv_charmap.c: Likewise.
25613 * iconv/iconvconfig.c: Likewise.
25614 * iconv/strtab.c: Likewise.
25615 * locale/programs/locale.c: Likewise.
25616 * locale/programs/localedef.h: Likewise.
25617 * locale/programs/simple-hash.c: Likewise.
25618 * nscd/nscd.h: Likewise.
25619 * nss/makedb.c: Likewise.
25620 * sysdeps/generic/ldconfig.h: Likewise.
25621 * locale/programs/localedef.c: Remove xmalloc prototype.
25622 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25623
25624 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25625
25626 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25627 appropriate.
25628
25629 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25630
25631 * math/Makefile (tests): Add tst-CMPLX.
25632 * math/tst-CMPLX.c: New file.
25633
25634 * math/complex.h (CMPLXL): Fix typo.
25635
25636 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25637 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25638 GLIBC_2.16.
25639 * debug/tst-chk1.c: Add poll and ppoll tests.
25640 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25641 * include/sys/poll.h: Add hidden proto for ppoll.
25642 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25643 * sysdeps/mach/hurd/ppoll.c: Likewise.
25644 * io/ppoll.c: Likewise.
25645 * debug/poll_chk.c: New file.
25646 * debug/ppoll_chk.c: New file.
25647 * include/bits/poll2.h: New file.
25648 * io/bits/poll2.h: New file.
25649
25650 [BZ #1350]
25651 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25652
25653 * configure.in: static is always set to yes. Remove.
25654 * config.make.in: Don't set build-static.
25655 * Makeconfig: Remove use of build-static.
25656 * dlfcn/Makefile: Likewise.
25657 * elf/Makefile: Likewise.
25658 * math/Makefile: Likewise.
25659 * misc/Makefile: Likewise.
25660 * nptl/Makefile: Likewise.
25661 * sysdeps/mach/hurd/Makefile: Likewise.
25662
25663 * configure.in: PWD_P is not used anymore.
25664 * config.make.in: Remove PWD_P entry.
25665
25666 * configure.in: Remove last remnants of RANLIB.
25667 No need to check for signed size_t anymore.
25668 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25669 and IA-64.
25670 Remove __builtin_expect test because we require at least gcc 3.4.
25671 * aclocal.m4: Likewise.
25672
25673 * wcsmbs/mbrtoc16.c: Implement using towc function.
25674 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25675 * wcsmbs/wcsmbsload.c: Likewise.
25676 * iconv/gconv_simple.c: Likewise.
25677 * iconv/gconv_int.h: Likewise.
25678 * iconv/gconv_builtin.h: Likewise.
25679 * iconv/iconv_prog.c: Remove CHAR16 handling.
25680
25681 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25682
25683 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25684
25685 * configure.in: Remove --with-elf and --enable-bounded options.
25686 Dont set base_machine for ia64. More non-ELF conditions removed.
25687 Remove testing and setting of leading underscore information.
25688 * config.make.in (build-bounded): Set to no.
25689 * config.h.in: Remove NO_UNDERSCORES entry.
25690 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25691 them.
25692 * csu/start.c: Remove !NO_UNDERSCORE code.
25693 * locale/localeinfo.h: Likewise.
25694 * sysdeps/generic/machine-gmon.h: Likewise.
25695 * sysdeps/generic/sysdep.h: Likewise.
25696 * sysdeps/i386/sysdep.h: Likewise.
25697 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25698 * sysdeps/mach/sysdep.h: Likewise.
25699 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25700 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25701 * sysdeps/sh/sysdep.h: Likewise.
25702 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25703 * sysdeps/unix/i386/sysdep.S: Likewise.
25704 * sysdeps/unix/sparc/start.c: Likewise.
25705 * sysdeps/unix/sparc/sysdep.S: Likewise.
25706 * sysdeps/unix/sparc/sysdep.h: Likewise.
25707 * sysdeps/unix/start.c: Likewise.
25708 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25709 * sysdeps/x86_64/sysdep.h: Likewise.
25710
25711 2012-01-07 Ulrich Drepper <drepper@gmail.com>
25712
25713 [BZ #13553]
25714 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25715 for non-gcc.
25716 * argp/argp-fmtstream.h: Use const instead __const.
25717 * argp/argp.h: Likewise.
25718 * assert/assert.h: Likewise.
25719 * bits/fenv.h: Likewise.
25720 * bits/sched.h: Likewise.
25721 * bits/sigset.h: Likewise.
25722 * bits/sigthread.h: Likewise.
25723 * catgets/nl_types.h: Likewise.
25724 * conform/data/pthread.h-data: Likewise.
25725 * crypt/crypt-private.h: Likewise.
25726 * crypt/crypt.h: Likewise.
25727 * crypt/crypt_util.c: Likewise.
25728 * ctype/ctype.h: Likewise.
25729 * debug/execinfo.h: Likewise.
25730 * debug/mbsnrtowcs_chk.c: Likewise.
25731 * debug/mbsrtowcs_chk.c: Likewise.
25732 * debug/wcsnrtombs_chk.c: Likewise.
25733 * debug/wcsrtombs_chk.c: Likewise.
25734 * debug/wcstombs_chk.c: Likewise.
25735 * dirent/dirent.h: Likewise.
25736 * dlfcn/dlfcn.h: Likewise.
25737 * elf/neededtest4.c: Likewise.
25738 * grp/grp.h: Likewise.
25739 * gshadow/gshadow.h: Likewise.
25740 * iconv/gconv.h: Likewise.
25741 * iconv/gconv_int.h: Likewise.
25742 * iconv/gconv_simple.c: Likewise.
25743 * iconv/iconv.h: Likewise.
25744 * iconv/loop.c: Likewise.
25745 * iconv/skeleton.c: Likewise.
25746 * include/aio.h: Likewise.
25747 * include/aliases.h: Likewise.
25748 * include/argz.h: Likewise.
25749 * include/arpa/inet.h: Likewise.
25750 * include/assert.h: Likewise.
25751 * include/dirent.h: Likewise.
25752 * include/dlfcn.h: Likewise.
25753 * include/execinfo.h: Likewise.
25754 * include/fcntl.h: Likewise.
25755 * include/fenv.h: Likewise.
25756 * include/glob.h: Likewise.
25757 * include/grp.h: Likewise.
25758 * include/libintl.h: Likewise.
25759 * include/mntent.h: Likewise.
25760 * include/netdb.h: Likewise.
25761 * include/pwd.h: Likewise.
25762 * include/rpc/netdb.h: Likewise.
25763 * include/sched.h: Likewise.
25764 * include/search.h: Likewise.
25765 * include/shadow.h: Likewise.
25766 * include/signal.h: Likewise.
25767 * include/stdio.h: Likewise.
25768 * include/stdlib.h: Likewise.
25769 * include/string.h: Likewise.
25770 * include/sys/socket.h: Likewise.
25771 * include/sys/stat.h: Likewise.
25772 * include/sys/statfs.h: Likewise.
25773 * include/sys/statvfs.h: Likewise.
25774 * include/sys/syslog.h: Likewise.
25775 * include/sys/time.h: Likewise.
25776 * include/sys/uio.h: Likewise.
25777 * include/time.h: Likewise.
25778 * include/unistd.h: Likewise.
25779 * include/utmp.h: Likewise.
25780 * include/wchar.h: Likewise.
25781 * include/wctype.h: Likewise.
25782 * inet/aliases.h: Likewise.
25783 * inet/arpa/inet.h: Likewise.
25784 * inet/netinet/ether.h: Likewise.
25785 * inet/netinet/in.h: Likewise.
25786 * intl/libintl.h: Likewise.
25787 * io/bits/fcntl2.h: Likewise.
25788 * io/fcntl.h: Likewise.
25789 * io/ftw.h: Likewise.
25790 * io/sys/poll.h: Likewise.
25791 * io/sys/stat.h: Likewise.
25792 * io/sys/statfs.h: Likewise.
25793 * io/sys/statvfs.h: Likewise.
25794 * io/utime.h: Likewise.
25795 * libio/bits/stdio.h: Likewise.
25796 * libio/bits/stdio2.h: Likewise.
25797 * libio/libio.h: Likewise.
25798 * libio/libioP.h: Likewise.
25799 * libio/stdio.h: Likewise.
25800 * locale/lc-ctype.c: Likewise.
25801 * locale/locale.h: Likewise.
25802 * login/utmp.h: Likewise.
25803 * malloc/arena.c: Likewise.
25804 * malloc/malloc.c: Likewise.
25805 * malloc/malloc.h: Likewise.
25806 * malloc/mcheck.c: Likewise.
25807 * malloc/mtrace.c: Likewise.
25808 * math/bits/mathcalls.h: Likewise.
25809 * math/fenv.h: Likewise.
25810 * math/math_private.h: Likewise.
25811 * misc/bits/error.h: Likewise.
25812 * misc/bits/syslog.h: Likewise.
25813 * misc/err.h: Likewise.
25814 * misc/error.h: Likewise.
25815 * misc/fstab.h: Likewise.
25816 * misc/mntent.h: Likewise.
25817 * misc/regexp.h: Likewise.
25818 * misc/search.h: Likewise.
25819 * misc/sgtty.h: Likewise.
25820 * misc/sys/mman.h: Likewise.
25821 * misc/sys/syslog.h: Likewise.
25822 * misc/sys/uio.h: Likewise.
25823 * misc/sys/xattr.h: Likewise.
25824 * misc/ttyent.h: Likewise.
25825 * nis/rpcsvc/ypclnt.h: Likewise.
25826 * nss/nss.h: Likewise.
25827 * posix/bits/unistd.h: Likewise.
25828 * posix/fnmatch.h: Likewise.
25829 * posix/glob.h: Likewise.
25830 * posix/sched.h: Likewise.
25831 * posix/spawn.h: Likewise.
25832 * posix/sys/wait.h: Likewise.
25833 * posix/unistd.h: Likewise.
25834 * posix/wordexp.h: Likewise.
25835 * pwd/pwd.h: Likewise.
25836 * resolv/netdb.h: Likewise.
25837 * resource/sys/resource.h: Likewise.
25838 * rt/aio.h: Likewise.
25839 * rt/bits/mqueue2.h: Likewise.
25840 * rt/mqueue.h: Likewise.
25841 * shadow/shadow.h: Likewise.
25842 * signal/signal.h: Likewise.
25843 * socket/send.c: Likewise.
25844 * socket/sendto.c: Likewise.
25845 * socket/sys/socket.h: Likewise.
25846 * stdio-common/printf.h: Likewise.
25847 * stdlib/bits/stdlib.h: Likewise.
25848 * stdlib/fmtmsg.h: Likewise.
25849 * stdlib/monetary.h: Likewise.
25850 * stdlib/stdlib.h: Likewise.
25851 * stdlib/ucontext.h: Likewise.
25852 * streams/stropts.h: Likewise.
25853 * string/argz.h: Likewise.
25854 * string/bits/string2.h: Likewise.
25855 * string/string.h: Likewise.
25856 * string/strings.h: Likewise.
25857 * sunrpc/rpc/auth.h: Likewise.
25858 * sunrpc/rpc/auth_des.h: Likewise.
25859 * sunrpc/rpc/clnt.h: Likewise.
25860 * sunrpc/rpc/netdb.h: Likewise.
25861 * sunrpc/rpc/pmap_clnt.h: Likewise.
25862 * sunrpc/rpc/xdr.h: Likewise.
25863 * sysdeps/generic/inttypes.h: Likewise.
25864 * sysdeps/generic/net/if.h: Likewise.
25865 * sysdeps/generic/sys/swap.h: Likewise.
25866 * sysdeps/gnu/net/if.h: Likewise.
25867 * sysdeps/gnu/utmpx.h: Likewise.
25868 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25869 * sysdeps/i386/i486/bits/string.h: Likewise.
25870 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25871 * sysdeps/s390/bits/string.h: Likewise.
25872 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25873 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25874 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25875 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25876 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25877 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25878 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25879 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25880 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25881 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25882 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25883 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25884 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25885 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25886 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25887 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25888 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25889 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25890 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25891 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25892 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25893 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25894 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25895 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25896 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25897 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25898 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25899 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25900 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25901 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25902 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25903 * sysvipc/sys/ipc.h: Likewise.
25904 * sysvipc/sys/msg.h: Likewise.
25905 * sysvipc/sys/sem.h: Likewise.
25906 * sysvipc/sys/shm.h: Likewise.
25907 * termios/termios.h: Likewise.
25908 * time/sys/time.h: Likewise.
25909 * time/time.h: Likewise.
25910 * wcsmbs/bits/wchar2.h: Likewise.
25911 * wcsmbs/uchar.h: Likewise.
25912 * wcsmbs/wchar.h: Likewise.
25913 * wctype/wctype.h: Likewise.
25914
25915 [BZ #13551]
25916 * Makeconfig: Remove all but ELF support including AIX support.
25917 * Makerules: Likewise.
25918 * config.h.in: Likewise.
25919 * config.make.in: Likewise.
25920 * configure: Likewise.
25921 * configure.in: Likewise.
25922 * csu/Makefile: Likewise.
25923 * csu/version.c: Likewise.
25924 * debug/Makefile: Likewise.
25925 * dlfcn/Makefile: Likewise.
25926 * elf/Makefile: Likewise.
25927 * extra-lib.mk: Likewise.
25928 * iconv/Makefile: Likewise.
25929 * include/libc-symbols.h: Likewise.
25930 * include/shlib-compat.h: Likewise.
25931 * resolv/Makefile: Likewise.
25932 * resolv/res_libc.c: Likewise.
25933 * rt/Makefile: Likewise.
25934 * sysdeps/i386/asm-syntax.h: Likewise.
25935 * sysdeps/i386/sysdep.h: Likewise.
25936 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25937 * sysdeps/mach/sysdep.h: Likewise.
25938 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25939 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25940 * sysdeps/s390/asm-syntax.h: Likewise.
25941 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25942 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25943 * sysdeps/sh/sysdep.h: Likewise.
25944 * sysdeps/unix/sparc/sysdep.h: Likewise.
25945 * sysdeps/wordsize-32/divdi3.c: Likewise.
25946 * sysdeps/x86_64/sysdep.h: Likewise.
25947
25948 * argp/Versions: Remove _argp_unlock_xxx.
25949
25950 [BZ #13559]
25951 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25952 * abilist/libBrokenLocale.abilist: Likewise.
25953 * abilist/libanl.abilist: Likewise.
25954 * abilist/libc.abilist: Likewise.
25955 * abilist/libcrypt.abilist: Likewise.
25956 * abilist/libdl.abilist: Likewise.
25957 * abilist/libm.abilist: Likewise.
25958 * abilist/libnsl.abilist: Likewise.
25959 * abilist/libpthread.abilist: Likewise.
25960 * abilist/libresolv.abilist: Likewise.
25961 * abilist/librt.abilist: Likewise.
25962 * abilist/libthread_db.abilist: Likewise.
25963 * abilist/libutil.abilist: Likewise.
25964 * abilist/libnss_db.abilist: New file.
25965
25966 * scripts/abilist.awk: Add support for indirect functions.
25967
25968 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25969
25970 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25971
25972 * shlib-versions: Remove entries for ports architectures.
25973
25974 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25975 files in ports.
25976 * elf/stackguard-macros.h: Remove support for IA-64.
25977 * elf/tst-auditmod1.c: Likewise.
25978 * sysdeps/generic/ldsodefs.h: Likewise.
25979
25980 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25981 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25982 configure files.
25983
25984 [BZ #13552]
25985 * configure.in: Remove --enable-omitfp support.
25986 * FAQ.in: Adjust.
25987 * config.make.in: Likewise.
25988 * Makeconfig: Likewise.
25989 * manual/install.texi: Likewise.
25990
25991 In case anyone cares, the IA-64 architecture could move to ports.
25992 * sysdeps/ia64/*: Removed.
25993 * sysdeps/unix/sysv/linux/ia64/*: Removed.
25994 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
25995
25996 [BZ #13555]
25997 * configure.in: Remove entries for unsupported architectures.
25998
25999 [BZ #13533]
26000 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26001 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26002 routines.
26003 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26004 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26005 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26006 fall back to using wcrtomb.
26007 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26008 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26009 renaming.
26010 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26011 * wcsmbs/tst-c16c32-1.c: New file.
26012
26013 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26014 local variable.
26015
26016 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26017
26018 * elf/tst-unique3.cc: Add explicit declaration of gets.
26019 * elf/tst-unique3lib.cc: Likewise.
26020 * elf/tst-unique3lib2.cc: Likewise.
26021 * elf/tst-unique4.cc: Likewise.
26022
26023 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26024
26025 2012-01-06 Joseph Myers <joseph@codesourcery.com>
26026
26027 [BZ #13566]
26028 * assert/assert.h (static_assert): Don't define for C++.
26029 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26030 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26031
26032 2012-01-03 Ulrich Drepper <drepper@gmail.com>
26033
26034 * iconv/loop.c (single loop): Fix assertion in storing of
26035 remaining bytes.
26036
26037 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26038
26039 2012-01-01 Ulrich Drepper <drepper@gmail.com>
26040
26041 * posix/getconf.c: Update copyright year.
26042 * nss/getent.c: Likewise.
26043 * nss/makedb.c: Likewise.
26044 * iconv/iconvconfig.c: Likewise.
26045 * iconv/iconv_prog.c: Likewise.
26046 * elf/ldconfig.c: Likewise.
26047 * elf/pldd.c: Likewise.
26048 * elf/sotruss.ksh: Likewise.
26049 * catgets/gencat.c: Likewise.
26050 * csu/version.c: Likewise.
26051 * elf/ldd.bash.in: Likewise.
26052 * elf/sprof.c (print_version): Likewise.
26053 * locale/programs/locale.c: Likewise.
26054 * locale/programs/localedef.c: Likewise.
26055 * login/programs/pt_chown.c: Likewise.
26056 * nscd/nscd.c (print_version): Likewise.
26057 * debug/xtrace.sh: Likewise.
26058 * malloc/memusage.sh: Likewise.
26059 * malloc/mtrace.pl: Likewise.
26060 * debug/catchsegv.sh: Likewise.
26061
26062 2011-12-30 Jakub Jelinek <jakub@redhat.com>
26063
26064 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26065 pure attribute.
26066
26067 2011-12-24 Ulrich Drepper <drepper@gmail.com>
26068
26069 [BZ #13533]
26070 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26071 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26072 transformations.
26073 * iconv/gconv_int.h: Likewise.
26074 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26075 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26076 from libc for GLIBC_2.16.
26077 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26078 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26079 * wcsmbs/uchar.h: Really define mbstate_t.
26080 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26081 * wcsmbs/c16rtomb.c: New file.
26082 * wcsmbs/mbrtoc16.c: New file.
26083 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26084 for C/POSIX locale.
26085 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26086 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26087
26088 * wcsmbs/wchar.h: Add missing __restrict.
26089
26090 2011-12-23 Ulrich Drepper <drepper@gmail.com>
26091
26092 [BZ #13532]
26093 * time/Makefile (routines): Add timespec_get.
26094 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26095 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26096 timespec for ISO C11.
26097 * time/timespec_get.c: New file.
26098 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26099 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26100
26101 [BZ #13531]
26102 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26103 * stdlib/stdlib.h: Declare aligned_alloc.
26104 * Versions.def: Add GLIBC_2.16 for libc.
26105 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26106
26107 [BZ 13527]
26108 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26109 ISO C11.
26110
26111 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
26112 code.
26113
26114 [BZ #13528]
26115 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26116
26117 [BZ #13529]
26118 * assert/assert.h (static_assert): Define.
26119
26120 * version.h: Update for 2.16 development version.
26121
26122 [BZ #13526]
26123 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26124 _ISOC11_SOURCE.
26125
26126 * version.h (RELEASE): Bump for 2.15 release.
26127 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26128
26129 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26130 Patch by Marek Polacek <mpolacek@redhat.com>.
26131
26132 * bits/byteswap.h: Protect long long constants with __extension__.
26133 * sysdeps/i386/bits/byteswap.h: Likewise.
26134 * sysdeps/ia64/bits/byteswap.h: Likewise.
26135 * sysdeps/s390/bits/byteswap.h: Likewise.
26136 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26137
26138 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26139
26140 [BZ #13540]
26141 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26142 destination buffer.
26143 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26144
26145 2011-12-23 Marek Polacek <polacek@redhat.com>
26146
26147 * elf/dl-addr.c (determine_info): Add inline keyword.
26148 * elf/tst-auditmod4b.c (check_avx): Likewise.
26149 * elf/tst-auditmod6b.c (check_avx): Likewise.
26150 * elf/tst-auditmod6c.c (check_avx): Likewise.
26151 * elf/tst-auditmod7b.c (check_avx): Likewise.
26152
26153 2011-12-23 Ulrich Drepper <drepper@gmail.com>
26154
26155 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26156 !__SSE_MATH__.
26157
26158 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26159
26160 [BZ #13540]
26161 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26162 processing for last bytes.
26163
26164 2011-08-06 Bruno Haible <bruno@clisp.org>
26165
26166 [BZ #13061]
26167 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26168 U+0385, not to U+1FEE.
26169
26170 [BZ #13062]
26171 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26172 entry for U+00A5 U+0301.
26173
26174 2011-12-22 Ulrich Drepper <drepper@gmail.com>
26175
26176 [BZ #13166]
26177 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26178 buffer for the output is too small.
26179
26180 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26181 optimization.
26182
26183 [BZ #13185]
26184 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26185 SSE flags if possible.
26186
26187 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26188
26189 [BZ #13540]
26190 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26191 processing for last bytes.
26192
26193 2011-12-22 Joseph Myers <joseph@codesourcery.com>
26194
26195 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26196 (syscall-list-default-options, syscall-list-default-condition)
26197 (syscall-list-includes): Define.
26198 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26199 list of ABIs and options and #if conditions for each ABI. Do not
26200 handle common syscalls between ABIs specially.
26201 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26202 Remove.
26203 (syscall-list-variants, syscall-list-32bit-options)
26204 (syscall-list-32bit-condition, syscall-list-64bit-options)
26205 (syscall-list-64bit-condition): Define.
26206 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26207 (syscall-list-variants, syscall-list-32bit-options)
26208 (syscall-list-32bit-condition, syscall-list-64bit-options)
26209 (syscall-list-64bit-condition): Define.
26210 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26211 Remove.
26212 (syscall-list-variants, syscall-list-32bit-options)
26213 (syscall-list-32bit-condition, syscall-list-64bit-options)
26214 (syscall-list-64bit-condition): Define.
26215 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26216 Remove.
26217 (syscall-list-variants, syscall-list-32bit-options)
26218 (syscall-list-32bit-condition, syscall-list-64bit-options)
26219 (syscall-list-64bit-condition): Define.
26220
26221 2011-12-22 Ulrich Drepper <drepper@gmail.com>
26222
26223 * locale/iso-639.def: Add brx entry.
26224
26225 [BZ #13328]
26226 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26227 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26228
26229 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26230 __feraiseexcept_renamed.
26231
26232 2011-12-21 Ulrich Drepper <drepper@gmail.com>
26233
26234 [BZ #13538]
26235 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26236 EPOLLET with unsigned values.
26237 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26238 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26239
26240 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26241 to large cancellation.
26242 * math/s_cacoshf.c: Likewise.
26243 * math/s_cacoshl.c: Likewise.
26244
26245 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26246
26247 [BZ #13305]
26248 [BZ #12786]
26249 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26250 * math/s_cacoshf.c: Likewise.
26251 * math/s_cacoshl.c: Likewise.
26252
26253 2011-12-21 Ulrich Drepper <drepper@gmail.com>
26254
26255 [BZ #13439]
26256 * iconv/gconv.h: Define __GCONV_SWAP.
26257 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26258 * iconvdata/utf-16.c: Likewise.
26259 * iconvdata/utf-32.c: Likewise.
26260
26261 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26262
26263 [BZ #13524]
26264 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26265 numerator after shifting it by one limb.
26266
26267 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26268
26269 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26270 under [__USE_EXTERN_INLINES].
26271
26272 2011-12-17 Ulrich Drepper <drepper@gmail.com>
26273
26274 [BZ #13446]
26275 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26276
26277 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26278
26279 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26280 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26281 optimized code.
26282 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26283 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26284 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26285 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26286 for strncasecmp/strncasecmp_l compilation.
26287 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26288 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26289
26290 2011-12-08 Marek Polacek <mpolacek@redhat.com>
26291
26292 [BZ #13484]
26293 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26294 of __asm__.
26295
26296 2011-12-17 Ulrich Drepper <drepper@gmail.com>
26297
26298 [BZ #13506]
26299 * time/tzfile.c (__tzfile_read): Check values from file header.
26300
26301 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26302
26303 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26304 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26305 * powerpc/powerpc32/dl-start.S: Likewise.
26306 * powerpc/powerpc32/elf/start.S: Likewise.
26307 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26308 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26309 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26310 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26311 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26312 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26313 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26314 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26315 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26316 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26317 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26318 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26319 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26320 * powerpc/powerpc32/memset.S: Likewise.
26321 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26322 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26323 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26324 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26325 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26326 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26327 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26328 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26329 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26330 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26331 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26332 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26333 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26334
26335 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26336
26337 * math/libm-test.inc: Added more nearbyint tests.
26338 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26339 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26340 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26341 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26342
26343 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26344
26345 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26346 FD_CLOEXEC.
26347
26348 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26349
26350 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26351 Add wcscpy-ssse3 wcscpy-c.
26352 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26353 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26354 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26355 * sysdeps/x86_64/wcschr.S: New file.
26356 * sysdeps/x86_64/wcsrchr.S: New file.
26357 * string/test-strcmp.c: Remove checking of wcscmp function for
26358 wrong alignments.
26359 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26360 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26361 wcsrchr-sse2 wcsrchr-c.
26362 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26363 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26364 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26365 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26366 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26367 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26368 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26369 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26370 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26371 * wcsmbc/wcschr.c (WCSCHR): New macro.
26372
26373 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26374
26375 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26376 * wcsmbs/test-wcsrchr.c: New file.
26377 * string/test-strrchr.c: Add wcsrchr support.
26378 (WIDE): New macro.
26379 * wcsmbs/test-wcscpy.c: New file.
26380 * string/test-strcpy.c: Add wcscpy support.
26381 (WIDE): New macro.
26382
26383 2011-12-10 Ulrich Drepper <drepper@gmail.com>
26384
26385 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26386 the inner loop.
26387
26388 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26389
26390 [BZ #13472]
26391 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26392
26393 2011-12-04 Ulrich Drepper <drepper@gmail.com>
26394
26395 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
26396 Minor optimizations.
26397
26398 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26399 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26400 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26401
26402 2011-12-03 Ulrich Drepper <drepper@gmail.com>
26403
26404 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26405 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26406 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26407 for gcc to avoid warnings.
26408 * inet/Makefile (tests): Add tst-checks.
26409 * inet/tst-checks.c: New file.
26410
26411 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26412 warning.
26413
26414 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26415 __wmemcmp_sse2.
26416
26417 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26418 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26419
26420 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26421
26422 2011-12-02 Ulrich Drepper <drepper@gmail.com>
26423
26424 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26425 problem.
26426
26427 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26428
26429 2011-11-29 Joseph Myers <joseph@codesourcery.com>
26430
26431 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26432 conditional on GCC version.
26433 (__arch_compare_and_exchange_val_8_acq)
26434 (__arch_compare_and_exchange_val_16_acq)
26435 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26436 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26437 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26438
26439 2011-12-02 Joseph Myers <joseph@codesourcery.com>
26440
26441 * sysdeps/sh/backtrace.c: New file.
26442
26443 2011-12-02 Andreas Schwab <schwab@redhat.com>
26444
26445 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26446 parenthesis.
26447
26448 2011-12-01 Andreas Schwab <schwab@redhat.com>
26449
26450 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26451 falling back to utime.
26452
26453 2011-11-30 Andreas Schwab <schwab@redhat.com>
26454
26455 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26456 expectations for float.
26457
26458 2011-11-29 Andreas Schwab <schwab@redhat.com>
26459
26460 * locale/weight.h (findidx): Add parameter len.
26461 * locale/weightwc.h (findidx): Likewise.
26462 * posix/fnmatch_loop.c (FCT): Adjust caller.
26463 * posix/regcomp.c (build_equiv_class): Likewise.
26464 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26465 * posix/regexec.c (check_node_accept_bytes): Likewise.
26466 * string/strcoll_l.c (STRCOLL): Likewise.
26467 * string/strxfrm_l.c (STRXFRM): Likewise.
26468
26469 2011-11-17 Ulrich Drepper <drepper@gmail.com>
26470
26471 * Makefile.in: Remove CVSOPT handling.
26472 * configure.in: Remove use of AC_REVISION.
26473 * iconvdata/Makefile (distribute): No need to filter out CVS.
26474 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26475 handling.
26476
26477 2011-11-16 Andreas Schwab <schwab@redhat.com>
26478
26479 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26480 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26481 [USE_AS_STRNCASECMP_L]: Likewise.
26482 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26483 NO_TLS_DIRECT_SEG_REFS.
26484 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26485 Fix argument offsets for non-PIC.
26486 [USE_AS_STRNCASECMP_L]: Likewise.
26487 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26488 NO_TLS_DIRECT_SEG_REFS.
26489
26490 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26491
26492 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
26493 O_CLOEXEC.
26494 * locale/loadlocale.c (_nl_load_locale): Likewise.
26495
26496 2011-11-15 Andreas Schwab <schwab@redhat.com>
26497
26498 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26499 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26500 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26501 (SYSCALL_GETTIME): Set errno on error.
26502
26503 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26504 count references to noai6ai_cached.
26505
26506 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26507
26508 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26509
26510 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26511 FD_CLOEXEC for /proc/self/maps.
26512
26513 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26514 FD_CLOEXEC for /proc/meminfo.
26515
26516 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26517 gai.conf.
26518
26519 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26520 FD_CLOEXEC for given file.
26521
26522 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26523
26524 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26525 FD_CLOEXEC for /etc/hosts.
26526 (_gethtent): Likewise.
26527
26528 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26529
26530 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26531 cancellation and set FD_CLOEXEC for /etc/netgroup.
26532
26533 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26534 reading /etc/publickey.
26535
26536 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26537 allow cancellation when reading /etc/group.
26538
26539 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26540 cancellation.
26541 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26542
26543 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26544 when using data file.
26545
26546 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26547
26548 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26549 (write_nis_obj): Use "c" and "e" in fopen.
26550
26551 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26552
26553 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26554
26555 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26556
26557 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26558
26559 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26560 locale.alias.
26561
26562 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26563
26564 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26565
26566 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26567
26568 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26569 file parsing and set FD_CLOEXEC.
26570
26571 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26572
26573 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26574
26575 2011-11-14 Andreas Schwab <schwab@redhat.com>
26576
26577 * malloc/arena.c (arena_get2): Don't call reused_arena when
26578 _int_new_arena failed.
26579
26580 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26581
26582 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26583 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26584 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26585 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26586 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26587 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26588 to compile strcasecmp and strncasecmp.
26589 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26590 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26591
26592 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26593
26594 2011-11-13 Ulrich Drepper <drepper@gmail.com>
26595
26596 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26597 locale-defines.sym to gen-as-const-headers.
26598 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26599 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26600 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26601 to compile strcasecmp and strncasecmp.
26602 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26603 strcasecmp_l and strncasecmp_l.
26604 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26605 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26606 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26607 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26608 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26609 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26610 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26611 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26612 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26613 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26614 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26615
26616 2011-11-12 Ulrich Drepper <drepper@gmail.com>
26617
26618 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26619 result of SYSDEP_GETTIME_CPU to retval.
26620 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26621 parameter list to macro. Remove trailing semicolon. Adjust users.
26622
26623 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26624 variable.
26625
26626 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26627 mantissa words.
26628 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26629
26630 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26631 from unused variable.
26632
26633 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26634 DWARF definitions.
26635 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26636 for assembling.
26637
26638 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26639 over namespaces.
26640
26641 * sunrpc/rpc_prot.c (rejected): Fix case value.
26642
26643 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26644 unsigned long long int to avoid warnings in shift.
26645
26646 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26647 of use of trans.
26648 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26649 variable tmp.
26650
26651 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26652 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26653 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26654
26655 * nis/nis_table.c (nis_list): Use variable of correct type for
26656 result of __follow_path call.
26657
26658 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26659
26660 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26661 of math functions ceil, trunc, floor, round, and sqrt, when
26662 avaliable on the platform.
26663 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26664 name clash.
26665 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26666 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26667 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26668
26669 2011-10-30 Marek Polacek <mpolacek@redhat.com>
26670
26671 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26672 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26673
26674 2011-11-11 Roland McGrath <roland@hack.frob.com>
26675
26676 * include/unistd.h: Fix __readlink return type.
26677 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26678
26679 2011-11-11 Ulrich Drepper <drepper@gmail.com>
26680
26681 * stdlib/ucontext.h: Undo last change for makecontext.
26682
26683 2011-11-11 Andreas Schwab <schwab@redhat.com>
26684
26685 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26686
26687 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26688 * setjmp/setjmp.h: Mark functions as non-leaf.
26689 * setjmp/bits/setjmp2.h: Likewise.
26690 * stdlib/ucontext.h: Likewise.
26691
26692 2011-11-10 Andreas Schwab <schwab@redhat.com>
26693
26694 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26695 (reused_arena): Don't check arena limit.
26696 (arena_get2): Atomically check arena limit.
26697
26698 2011-11-08 Ulrich Drepper <drepper@gmail.com>
26699
26700 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26701 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26702
26703 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26704 instructions.
26705
26706 2011-11-07 Andreas Schwab <schwab@redhat.com>
26707
26708 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26709 handler when locking.
26710
26711 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26712 Fix size of allocated buffer.
26713
26714 2011-11-04 Andreas Schwab <schwab@redhat.com>
26715
26716 [BZ #10103]
26717 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26718 declarations for long double functions.
26719 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26720
26721 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26722
26723 2011-11-03 Andreas Schwab <schwab@redhat.com>
26724
26725 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26726 installed.
26727
26728 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26729 is disabled.
26730
26731 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26732
26733 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26734
26735 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26736
26737 * include/alloca.h (stackinfo_alloca_round): Define.
26738 (extend_alloca): Use it.
26739 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26740 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26741 here.
26742
26743 * scripts/check-local-headers.sh: Ignore libaudit.h.
26744
26745 * nscd/Makefile (extra-objs): Make recursively expanded.
26746
26747 2011-11-01 Ulrich Drepper <drepper@gmail.com>
26748
26749 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26750 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26751
26752 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26753 * posix/tst-rfc3484-2.c: Likewise.
26754 * posix/tst-rfc3484-3.c: Likewise.
26755
26756 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26757 process_vm_writev.
26758 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26759 process_vm_writev.
26760 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26761 process_vm_writev from libc using GLIBC_2.15 version.
26762
26763 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26764
26765 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26766
26767 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26768 stack usage.
26769
26770 2011-10-31 Ulrich Drepper <drepper@gmail.com>
26771
26772 [BZ #13367]
26773 * nss/getent.c (initgroups_keys): Show error message in case no group
26774 names are given.
26775
26776 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26777 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26778 __bump_nl_timestamp.
26779 * nscd/connections (nscd_init): When host database is served open
26780 netlink socket and request notification about configuration changes.
26781 (main_loop_poll): Track netlink file descriptor and bump timestamp
26782 in case data becomes available.
26783 (main_loop_epoll): Likewise.
26784 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26785 (database_pers_head): Add extra_data fileds.
26786 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26787 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26788 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26789 Adjust caller.
26790 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26791 in6ai data, call __free_in6ai.
26792 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26793 Add -DHAVE_NETLINK.
26794 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26795 interface information. Reuse previous data if netlink timestamp
26796 is not changed.
26797 (__bump_nl_timestamp): New function.
26798 (__free_in6ai): New function.
26799
26800 2011-10-30 Ulrich Drepper <drepper@gmail.com>
26801
26802 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26803 close_not_cancel_no_status here.
26804 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26805
26806 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26807
26808 [BZ #13276]
26809 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26810 return value.
26811
26812 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
26813 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26814 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26815
26816 2011-07-03 Andreas Jaeger <aj@suse.de>
26817
26818 [BZ #10709]
26819 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26820 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26821 * math/libm-test.inc (sin_test): Add test case.
26822
26823 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26824
26825 [BZ #13337]
26826 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26827 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26828
26829 * elf/chroot_canon.c (chroot_canon): Cleanups.
26830
26831 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26832
26833 [BZ #13335]
26834 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26835 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26836
26837 * string/test-strchr.c: Make usable for strchrnul testing.
26838 * string/test-strchrnul.c: New file.
26839 * string/Makefile (strop-tests): Add strchrnul.
26840
26841 * po/it.po: Update from translation team.
26842 * po/es.po: Likewise.
26843
26844 2011-10-28 Ulrich Drepper <drepper@gmail.com>
26845
26846 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26847 the three constants needed as parameters. Drop the others.
26848 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26849 __m128i_strloadu_tolower.
26850 Create and initialize variable zero and use it in all the places
26851 where _mm_setzero_si128 was used.
26852
26853 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26854 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26855 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26856 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26857 anymore.
26858 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26859 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26860 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26861 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26862 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26863 __mpranred, __mptan.
26864 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26865 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26866 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26867 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26868 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26869 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26870 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26871 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26872 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26873
26874 2011-10-28 Andreas Schwab <schwab@redhat.com>
26875
26876 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26877 redefine if SHARED.
26878 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26879
26880 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26881 wide char related routines to wcsmbs subdir.
26882
26883 2011-10-27 Andreas Schwab <schwab@redhat.com>
26884
26885 [BZ #13344]
26886 * misc/sys/cdefs.h (__THROWNL): Define.
26887 * posix/unistd.h: Use __THREADNL instead of __THREAD
26888 for memory synchronization functions.
26889
26890 2011-10-26 Roland McGrath <roland@hack.frob.com>
26891
26892 [BZ #13349]
26893 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26894 doesn't exist.
26895 * manual/stdio.texi (Obstack Streams): Node removed.
26896
26897 2011-10-26 Andreas Schwab <schwab@redhat.com>
26898
26899 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26900 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26901 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26902
26903 * math/math_private.h (math_force_eval): Allow non-addressable
26904 arguments.
26905 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26906
26907 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26908
26909 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26910 file is not needed.
26911
26912 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26913 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26914 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26915 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26916 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26917 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26918 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26919 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26920 Add AVX variants.
26921 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26922 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26923 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26924 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26925 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26926 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26927 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26928 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26929 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26930 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26931 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26932 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26933 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26934 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26935 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26936 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26937 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26938 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26939 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26940
26941 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26942 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26943
26944 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26945 place. Use VEX encoding when compiling for AVX.
26946
26947 2011-10-25 Andreas Schwab <schwab@redhat.com>
26948
26949 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26950 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26951
26952 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26953
26954 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26955
26956 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
26957 useless if() expression.
26958 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26959 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26960 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26961 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26962 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26963 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26964 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26965 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26966 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26967 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26968 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26969 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26970 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26971 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26972 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26973 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26974 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26975 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26976 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26977
26978 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26979
26980 2011-10-25 Andreas Schwab <schwab@redhat.com>
26981
26982 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26983 condition.
26984 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26985
26986 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26987
26988 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26989 .text section. Avoid duplicate constants.
26990 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26991 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26992 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26993 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26994 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26995 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26996 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26997 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26998 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26999 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27000 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27001 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27002 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27003 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27004 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27005 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27006 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27007 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27008 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27009 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27010 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27011 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27012 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27013 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27014 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27015 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27016 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27017 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27018 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27019 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27020 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27021 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27022 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27023 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27024 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27025 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27026 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27027 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27028 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27029 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27030 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27031 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27032 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27033 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27034 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27035
27036 2011-10-24 Ulrich Drepper <drepper@gmail.com>
27037
27038 * sysdeps/x86_64/dla.h: Move to ...
27039 * sysdeps/x86_64/fpu/dla.h: ...here.
27040 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27041 situations. Use __builtin_fma only for gcc 4.6 and up.
27042
27043 * config.make.in: Add have-mfma4 entry.
27044 * configure.in: Substitute libc_cv_cc_fma4.
27045 * math/Makefile (dbl-only-routines): Add sincostab.
27046 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27047 Use __sincostab not sincos.
27048 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27049 name is a macro.
27050 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27051 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27052 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27053 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27054 using __copysign.
27055 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27056 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27057 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27058 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27059 and __inv.
27060 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27061 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27062 __copysign.
27063 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27064 define aliases when function name is a macro.
27065 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27066 sysdeps/ieee754/dbl-64/sincos.tbl.
27067 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27068 fma4-enabled routines.
27069 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27070 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27071 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27072 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27073 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27074 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27075 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27076 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27077 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27078 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27079 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27080 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27081 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27082 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27083 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27084 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27085 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27086 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27087 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27088 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27089 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27090 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27091 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27092 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27093 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27094 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27095 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27096 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27097 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27098 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27099
27100 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27101 rename.
27102 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27103 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27104 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27105 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27106 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27107 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27108 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27109 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27110
27111 2011-10-24 Andreas Schwab <schwab@redhat.com>
27112
27113 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27114
27115 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27116
27117 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27118
27119 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27120 prediction.
27121 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27122
27123 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27124 Remove unused variable magic_bits.
27125 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27126
27127 * string/strnlen.c: Define and use STRNLEN macro.
27128 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27129 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27130 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27131 * wcsmbs/wcslen.c: Define and use WCSLEN.
27132 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27133 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27134 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27135 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27136 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27137 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27138 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27139
27140 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27141
27142 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27143 strnlen-sse2-no-bsf.
27144 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27145 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27146 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27147 Add strnlen support.
27148 (USE_AS_STRNLEN): New macro.
27149 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27150 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27151 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27152 * sysdeps/x86_64/wcslen.S: New file.
27153
27154 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27155
27156 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27157 XMM-moves are used for copying on small sizes.
27158
27159 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27160
27161 * wcsmbs/Makefile (strop-tests): Add wcschr.
27162 * wcsmbs/test-wcschr.c: New file.
27163 * string/test-strchr.c: Update.
27164 Add wcschr support.
27165 (WIDE): New macro.
27166
27167 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27168
27169 * wcsmbs/Makefile (strop-tests): Add wcslen.
27170 * wcsmbs/test-wcslen.c: New file.
27171 * string/test-strlen.c: Update.
27172 Add wcslen support.
27173 (WIDE): New macro.
27174
27175 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27176
27177 * po/it.po: Update from translation team.
27178
27179 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27180
27181 * sysdeps/x86_64/wcscmp.S: Update.
27182 Fix wrong comparison semantics.
27183 wcscmp shall use signed comparison not unsigned.
27184 Don't use substraction to avoid overflow bug.
27185 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27186 * wcsmbc/wcscmp.c: Likewise.
27187 * string/test-strcmp.c: Likewise.
27188 Add new tests to check cases with negative values.
27189
27190 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27191
27192 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27193 * sysdeps/x86_64/dla.h: ...here. New file.
27194 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27195 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27196 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27197 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27198 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27199 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27200 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27201 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27202 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27203
27204 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27205
27206 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27207 __ynl_finite aliases.
27208
27209 2011-10-22 Ulrich Drepper <drepper@gmail.com>
27210
27211 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27212
27213 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27214 define DLA_FMA.
27215 [DLA_FMA] (EMULV): Use DLA_FMA.
27216 [DLA_FMA] (MUL12): Use EMULV.
27217 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27218 that are not needed.
27219 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27220 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27221 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27222 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27223 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27224 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27225 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27226
27227 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27228
27229 * math/s_nan.c: Undef __nan.
27230 * math/s_nanf.c: Undef __nanf.
27231 * math/s_nanl.c: Undef __nanl.
27232 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27233 "math_private.h".
27234
27235 2011-10-22 Ulrich Drepper <drepper@gmail.com>
27236
27237 * math/s_catan.c: Add branch predictions.
27238 * math/s_catanf.c: Likewise.
27239 * math/s_catanh.c: Likewise.
27240 * math/s_catanhf.c: Likewise.
27241 * math/s_catanhl.c: Likewise.
27242 * math/s_catanl.c: Likewise.
27243 * math/s_cexp.c: Likewise.
27244 * math/s_cexpf.c: Likewise.
27245 * math/s_cexpl.c: Likewise.
27246 * math/s_clog.c: Likewise.
27247 * math/s_clog10.c: Likewise.
27248 * math/s_clog10f.c: Likewise.
27249 * math/s_clog10l.c: Likewise.
27250 * math/s_clogf.c: Likewise.
27251 * math/s_clogl.c: Likewise.
27252 * math/s_csqrt.c: Likewise.
27253 * math/s_csqrtf.c: Likewise.
27254 * math/s_csqrtl.c: Likewise.
27255 * math/s_ctanf.c: Likewise.
27256 * math/s_ctanh.c: Likewise.
27257 * math/s_ctanhf.c: Likewise.
27258 * math/s_ctanhl.c: Likewise.
27259 * math/s_ctanl.c: Likewise.
27260
27261 * math/math_private.h: Define __nan, __nanf, __nanl.
27262 * math/s_cacosh.c: Include <math_private.h>.
27263 * math/s_cacoshl.c: Likewise.
27264 * math/s_casinh.c: Likewise.
27265 * math/s_casinhf.c: Likewise.
27266 * math/s_casinhl.c: Likewise.
27267 * math/s_ccos.c: Rely entire on ccosh.
27268 * math/s_ccosf.c: Rely entire on ccoshf.
27269 * math/s_ccosl.c: Rely entirely on ccoshl.
27270 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27271 Remove tests for FE_INVALID.
27272 * math/s_ccoshf.c: Likewise.
27273 * math/s_ccoshl.c: Likewise.
27274 * math/s_csin.c: Likewise.
27275 * math/s_csinf.c: Likewise.
27276 * math/s_csinh.c Likewise.
27277 * math/s_csinhf.c: Likewise.
27278 * math/s_csinhl.c: Likewise.
27279 * math/s_csinl.c: Likewise.
27280 * math/s_ctan.c: Likewise.
27281 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27282 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27283 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27284
27285 2011-10-21 Ulrich Drepper <drepper@gmail.com>
27286
27287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27288 compilation problems.
27289
27290 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27291 __builtin_expect.
27292
27293 2011-10-20 Ulrich Drepper <drepper@gmail.com>
27294
27295 * sysdeps/i386/configure.in: Test for -mfma4 option.
27296 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27297 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27298 COMMON_CPUID_INDEX_80000001.
27299 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27300 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27301 use it if FMA3 is not supported.
27302 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27303
27304 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27305 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27306
27307 2011-10-20 Andreas Schwab <schwab@redhat.com>
27308
27309 [BZ #12892]
27310 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27311 it would create a cycle with a link time dependency.
27312
27313 2011-10-19 Ulrich Drepper <drepper@gmail.com>
27314
27315 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27316 instruction.
27317 * string/Makefile (strop-tests): Add rawmemchr.
27318 * string/test-rawmemchr.c: New file.
27319
27320 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27321 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27322 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27323 when compiling str{,n}casecmp and when AVX is available. Hook up
27324 new optimized code in initializers.
27325
27326 2011-10-19 Andreas Schwab <schwab@redhat.com>
27327
27328 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27329 __feraiseexcept instead of feraiseexcept.
27330
27331 2011-10-18 Ulrich Drepper <drepper@gmail.com>
27332
27333 * math/math_private.h: Define defaults for libc_fetestexcept and
27334 libc_feupdateenv.
27335 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27336 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27337 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27338 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27339 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27340 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27341 libc_fetestexcept and libc_feupdateenv.
27342
27343 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27344 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27345 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27346 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27347 libc_feholdexcept_setround.
27348
27349 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27350 Add s_nearbyint-c and s_nearbyintf-c.
27351 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27352 nearbyintf inlines.
27353 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27354 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27355 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27356 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27357
27358 * math/math_private.h: Define defaults for libc_fegetround,
27359 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27360 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27361 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27362 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27363 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27364 standard functions.
27365 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27366 Remove comments and hacks for old compiler versions.
27367 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27368 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27369 libc_feholdexceptl.
27370
27371 2011-10-18 Andreas Schwab <schwab@redhat.com>
27372
27373 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
27374 (__feraiseexcept_renamed): Add __NTH.
27375 (feraiseexcept): Add __NTH. Rename local variables to fix
27376 namespace violations.
27377
27378 2011-10-17 Ulrich Drepper <drepper@gmail.com>
27379
27380 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27381
27382 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27383
27384 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27385 recently added interfaces.
27386 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27387
27388 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27389 about macro parameter expansion.
27390
27391 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27392 __NO_MATH_INLINES is defined. Cleanups.
27393
27394 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27395 and __floorf is target has SSE4.1.
27396 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27397 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27398 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27399 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27400
27401 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27402 name.
27403 (floorf): Likewise.
27404
27405 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27406
27407 2011-10-17 Andreas Schwab <schwab@redhat.com>
27408
27409 * misc/sys/cdefs.h: Fix last change.
27410
27411 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27412 database lookup.
27413
27414 2011-10-16 Ulrich Drepper <drepper@gmail.com>
27415
27416 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27417
27418 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27419 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27420 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27421 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27422 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27423 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27424 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27425 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27426 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27427 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27428 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27429 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27430 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27431 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27432 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27433 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27434 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27435 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27436 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27437 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27438 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27439 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27440
27441 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27442 ceil, ceilf, floor, floorf.
27443
27444 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27445 Perform IRELATIVE relocations last.
27446
27447 * elf/do-rel.h: Add another parameter nrelative, replacing the
27448 local variable with the same name. Change name of the function
27449 to end in Rel or Rela (uppercase).
27450 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27451 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27452 elf_dynamic_do_##reloc function.
27453
27454 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27455
27456 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27457 is sufficient, at least on modern CPUs.
27458
27459 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27460
27461 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27462 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27463
27464 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27465 __expl_finite.
27466 * math/bits/math-finite.h: Add entries for exp.
27467 * math/e_expl.c: Add __*_finite alias.
27468 * sysdeps/i386/fpu/e_exp.S: Likewise.
27469 * sysdeps/i386/fpu/e_expf.S: Likewise.
27470 * sysdeps/i386/fpu/e_expl.c: Likewise.
27471 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27472 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27473 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27474 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27475 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27476 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27477 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27478
27479 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27480 is sufficient, at least on modern CPUs.
27481
27482 * ctype/ctype-info.c (__ctype_init): Define.
27483 * include/ctype.h (__ctype_init): Declare.
27484 (__ctype_b_loc): The variable is always initialized.
27485 (__ctype_toupper_loc): Likewise.
27486 (__ctype_tolower_loc): Likewise.
27487 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27488 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27489
27490 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27491
27492 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27493
27494 * configure.in: Also look in $cxxmachine/include for C++ system
27495 headers.
27496
27497 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27498
27499 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27500 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27501 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27502 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27503 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27504 (USE_AS_WMEMCMP): New macro.
27505 Fixing indents.
27506 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27507 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27508 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27509 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27510 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27511 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27512 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27513 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27514 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27515 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27516 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27517 (USE_AS_WMEMCMP): New macro.
27518 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27519 * sysdeps/string/test-memcmp.c: Update.
27520 Fix simple_wmemcmp.
27521 Add new tests.
27522 * wcsmbs/wmemcmp.c: Update.
27523 (WMEMCMP): New macro.
27524 Fix overflow bug.
27525
27526 2011-10-12 Andreas Jaeger <aj@suse.de>
27527
27528 [BZ #13268]
27529 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27530
27531 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27532
27533 * libio/iofwide.c (do_length): Avoid warning.
27534
27535 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27536
27537 2011-10-14 Ulrich Drepper <drepper@gmail.com>
27538
27539 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27540
27541 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27542 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27543 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27544 * sysdeps/i386/i686/fpu/e_log.S: New file.
27545 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27546 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27547
27548 * ctype/ctype.h: Add support for inlined isXXX functions when
27549 compiling C++ code.
27550
27551 2011-10-14 Andreas Schwab <schwab@redhat.com>
27552
27553 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27554
27555 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27556
27557 2011-10-13 Roland McGrath <roland@hack.frob.com>
27558
27559 [BZ #13291]
27560 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27561
27562 2011-10-13 Andreas Schwab <schwab@redhat.com>
27563
27564 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27565 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27566 feraiseexcept.
27567
27568 * sysdeps/x86_64/memrchr.S: Check for zero size.
27569
27570 * string/stratcliff.c: Add memrchr tests.
27571
27572 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27573
27574 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27575 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27576 rawmemchr-sse2 rawmemchr-sse2-bsf.
27577 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27578 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27579 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27580 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27581 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27582 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27583 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27584 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27585 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27586 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27587 * string/memrchr.c (MEMRCHR): New macro.
27588
27589 2011-10-12 Ulrich Drepper <drepper@gmail.com>
27590
27591 Add integration with gcc's -ffinite-math-only and optimize wrapper
27592 functions in libm.
27593 * Versions.def: Define GLIBC_2.15 version for libm.
27594 * math/Makefile (headers): Add bits/math-finite.h.
27595 * math/bits/math-finite.h: New file.
27596 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27597 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27598 * math/e_acoshl.c: Add __*_finite alias.
27599 * math/e_acosl.c: Likewise.
27600 * math/e_asinl.c: Likewise.
27601 * math/e_atan2l.c: Likewise.
27602 * math/e_atanhl.c: Likewise.
27603 * math/e_coshl.c: Likewise.
27604 * math/e_exp10.c: Likewise.
27605 * math/e_exp10f.c: Likewise.
27606 * math/e_exp10l.c: Likewise.
27607 * math/e_exp2l.c: Likewise.
27608 * math/e_fmodl.c: Likewise.
27609 * math/e_gammal_r.c: Likewise.
27610 * math/e_hypotl.c: Likewise.
27611 * math/e_j0l.c: Likewise.
27612 * math/e_j1l.c: Likewise.
27613 * math/e_jnl.c: Likewise.
27614 * math/e_lgammal_r.c: Likewise.
27615 * math/e_log10l.c: Likewise.
27616 * math/e_log2l.c: Likewise.
27617 * math/e_logl.c: Likewise.
27618 * math/e_powl.c: Likewise.
27619 * math/e_sinhl.c: Likewise.
27620 * math/e_sqrtl.c: Likewise.
27621 * math/e_scalb.c: Completely rewritten and optimized.
27622 * math/e_scalbf.c: Likewise.
27623 * math/e_scalbl.c: Likewise.
27624 * math/w_acos.c: Likewise.
27625 * math/w_acosf.c: Likewise.
27626 * math/w_acosl.c: Likewise.
27627 * math/w_acosh.c: Likewise.
27628 * math/w_acoshf.c: Likewise.
27629 * math/w_acoshl.c: Likewise.
27630 * math/w_asin.c: Likewise.
27631 * math/w_asinf.c: Likewise.
27632 * math/w_asinl.c: Likewise.
27633 * math/w_atan2.c: Likewise.
27634 * math/w_atan2f.c: Likewise.
27635 * math/w_atan2l.c: Likewise.
27636 * math/w_atanh.c: Likewise.
27637 * math/w_atanhf.c: Likewise.
27638 * math/w_atanhl.c: Likewise.
27639 * math/w_exp10.c: Likewise.
27640 * math/w_exp10f.c: Likewise.
27641 * math/w_exp10l.c: Likewise.
27642 * math/w_fmod.c: Likewise.
27643 * math/w_fmodf.c: Likewise.
27644 * math/w_fmodl.c: Likewise.
27645 * math/w_j0.c: Likewise.
27646 * math/w_j0f.c: Likewise.
27647 * math/w_j0l.c: Likewise.
27648 * math/w_j1.c: Likewise.
27649 * math/w_j1f.c: Likewise.
27650 * math/w_j1l.c: Likewise.
27651 * math/w_jn.c: Likewise.
27652 * math/w_jnf.c: Likewise.
27653 * math/w_log.c: Likewise.
27654 * math/w_logf.c: Likewise.
27655 * math/w_logl.c: Likewise.
27656 * math/w_log10.c: Likewise.
27657 * math/w_log10f.c: Likewise.
27658 * math/w_log10l.c: Likewise.
27659 * math/w_log2.c: Likewise.
27660 * math/w_log2f.c: Likewise.
27661 * math/w_log2l.c: Likewise.
27662 * math/w_pow.c: Likewise.
27663 * math/w_powf.c: Likewise.
27664 * math/w_powl.c: Likewise.
27665 * math/w_remainder.c: Likewise.
27666 * math/w_remainderf.c: Likewise.
27667 * math/w_remainderl.c: Likewise.
27668 * math/w_scalb.c: Likewise.
27669 * math/w_scalbf.c: Likewise.
27670 * math/w_scalbl.c: Likewise.
27671 * math/w_sqrt.c: Likewise.
27672 * math/w_sqrtf.c: Likewise.
27673 * math/w_sqrtl.c: Likewise.
27674 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27675 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27676 used.
27677 * math/math_private.h: Declare __kernel_standard_f.
27678 * math/w_cosh.c: Remove cruft and optimize a bit.
27679 * math/w_coshf.c: Likewise.
27680 * math/w_coshl.c: Likewise.
27681 * math/w_exp2.c: Likewise.
27682 * math/w_exp2f.c: Likewise.
27683 * math/w_exp2l.c: Likewise.
27684 * math/w_hypot.c: Likewise.
27685 * math/w_hypotf.c: Likewise.
27686 * math/w_hypotl.c: Likewise.
27687 * math/w_lgamma.c: Likewise.
27688 * math/w_lgamma_r.c: Likewise.
27689 * math/w_lgammaf.c: Likewise.
27690 * math/w_lgammaf_r.c: Likewise.
27691 * math/w_lgammal.c: Likewise.
27692 * math/w_lgammal_r.c: Likewise.
27693 * math/w_sinh.c: Likewise.
27694 * math/w_sinhf.c: Likewise.
27695 * math/w_sinhl.c: Likewise.
27696 * math/w_tgamma.c: Likewise.
27697 * math/w_tgammaf.c: Likewise.
27698 * math/w_tgammal.c: Likewise.
27699 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27700 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27701 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27702 Minor optimizations. Pretty printing. Remove cruft.
27703 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27704 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27705 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27706 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27707 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27708 * sysdeps/i386/fpu/e_asin.S: Likewise.
27709 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27710 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27711 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27712 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27713 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27714 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27715 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27716 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27717 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27718 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27719 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27720 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27721 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27722 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27723 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27724 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27725 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27726 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27727 * sysdeps/i386/fpu/e_log.S: Likewise.
27728 * sysdeps/i386/fpu/e_log10.S: Likewise.
27729 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27730 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27731 * sysdeps/i386/fpu/e_log2.S: Likewise.
27732 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27733 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27734 * sysdeps/i386/fpu/e_logf.S: Likewise.
27735 * sysdeps/i386/fpu/e_logl.S: Likewise.
27736 * sysdeps/i386/fpu/e_pow.S: Likewise.
27737 * sysdeps/i386/fpu/e_powf.S: Likewise.
27738 * sysdeps/i386/fpu/e_powl.S: Likewise.
27739 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27740 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27741 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27742 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27743 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27744 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27745 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27746 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27747 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27748 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27749 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27750 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27751 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27752 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27753 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27754 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27755 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27756 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27757 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27758 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27759 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27760 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27761 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27762 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27763 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27764 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27765 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27766 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27767 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27768 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27769 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27770 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27771 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27772 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27773 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27774 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27775 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27776 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27777 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27778 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27779 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27780 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27781 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27782 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27783 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27784 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27785 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27786 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27787 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27788 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27789 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27790 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27791 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27792 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27793 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27794 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27795 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27796 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27797 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27798 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27799 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27800 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27801 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27802 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27803 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27804 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27805 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27806 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27807 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27808 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27809 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27810 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27811 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27812 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27813 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27814 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27815 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27816 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27817 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27818 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27819 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27820 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27821 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27822 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27823 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27824 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27825 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27826 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27827 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27828 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27829 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27830 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27831 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27832 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27833 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27834 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27835 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27836 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27837 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27838 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27839 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27840 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27841 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27842 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27843 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27844 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27845 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27846 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27847 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27848 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27849 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27850 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27851 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27852 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27853 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27854 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27855 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27856 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27857 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27858 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27859 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27860 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27861 (__isnanf): Likewise.
27862 (__isinf_ns): Likewise.
27863 (__isinf_nsf): Likewise.
27864 (__finite): Likewise.
27865 (__finitef): Likewise.
27866 (__ieee754_sqrt): Define as macro.
27867 (__ieee754_sqrtf): Define as macro.
27868 (__ieee754_sqrtl): Define as macro.
27869 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27870 inlined copy.
27871 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27872 __FINITE_MATH_ONLY__ consistent.
27873 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27874
27875 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27876
27877 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27878 of rawmemchr.
27879
27880 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27881
27882 2011-10-09 Ulrich Drepper <drepper@gmail.com>
27883
27884 * po/ja.po: Update from translation team.
27885
27886 2011-10-08 Roland McGrath <roland@hack.frob.com>
27887
27888 * locale/programs/locarchive.c (prepare_address_space): New function.
27889 (create_archive, enlarge_archive, open_archive): Use it.
27890
27891 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27892 inside [SHARED], where it is used.
27893
27894 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27895
27896 * nss/getent.c (netgroup_keys): Remove unused variable.
27897 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27898
27899 2011-10-08 Ulrich Drepper <drepper@gmail.com>
27900
27901 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27902 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27903 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27904 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27905 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27906 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27907 * math/Makefile (libm-calls): Add s_isinf_ns.
27908 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27909 * math/multc3.c: Likewise.
27910 * math/s_casin.c: Likewise.
27911 * math/s_casinf.c: Likewise.
27912 * math/s_casinl.c: Likewise.
27913 * math/s_ccos.c: Likewise.
27914 * math/s_ccosf.c: Likewise.
27915 * math/s_ccosl.c: Likewise.
27916 * math/s_ctan.c: Likewise.
27917 * math/s_ctanf.c: Likewise.
27918 * math/s_ctanh.c: Likewise.
27919 * math/s_ctanhf.c: Likewise.
27920 * math/s_ctanhl.c: Likewise.
27921 * math/s_ctanl.c: Likewise.
27922 * math/w_fmod.c: Likewise.
27923 * math/w_fmodf.c: Likewise.
27924 * math/w_fmodl.c: Likewise.
27925 * math/w_remainder.c: Likewise.
27926 * math/w_remainderf.c: Likewise.
27927 * math/w_remainderl.c: Likewise.
27928 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27929 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27930 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27931 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27932 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27933 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27934 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27935 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27936
27937 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27938 of the number.
27939 * stdio-common/printf_fphex.c: Likewise.
27940 * stdio-common/printf_size.c: Likewise.
27941
27942 * math/e_exp10.c: Include math_private.h using <...> not "...".
27943 * math/e_exp10f.c: Likewise.
27944 * math/e_exp10l.c: Likewise.
27945 * math/e_exp2l.c: Likewise.
27946 * math/e_j0l.c: Likewise.
27947 * math/e_j1l.c: Likewise.
27948 * math/e_jnl.c: Likewise.
27949 * math/e_lgammal_r.c: Likewise.
27950 * math/e_rem_pio2l.c: Likewise.
27951 * math/e_scalb.c: Likewise.
27952 * math/e_scalbf.c: Likewise.
27953 * math/e_scalbl.c: Likewise.
27954 * math/k_cosl.c: Likewise.
27955 * math/k_sinl.c: Likewise.
27956 * math/k_tanl.c: Likewise.
27957 * math/s_cacoshf.c: Likewise.
27958 * math/s_catan.c: Likewise.
27959 * math/s_catanf.c: Likewise.
27960 * math/s_catanh.c: Likewise.
27961 * math/s_catanhf.c: Likewise.
27962 * math/s_catanhl.c: Likewise.
27963 * math/s_catanl.c: Likewise.
27964 * math/s_ccosh.c: Likewise.
27965 * math/s_ccoshf.c: Likewise.
27966 * math/s_ccoshl.c: Likewise.
27967 * math/s_cexp.c: Likewise.
27968 * math/s_cexpf.c: Likewise.
27969 * math/s_cexpl.c: Likewise.
27970 * math/s_clog.c: Likewise.
27971 * math/s_clog10.c: Likewise.
27972 * math/s_clog10f.c: Likewise.
27973 * math/s_clog10l.c: Likewise.
27974 * math/s_clogf.c: Likewise.
27975 * math/s_clogl.c: Likewise.
27976 * math/s_csin.c: Likewise.
27977 * math/s_csinf.c: Likewise.
27978 * math/s_csinh.c: Likewise.
27979 * math/s_csinhf.c: Likewise.
27980 * math/s_csinhl.c: Likewise.
27981 * math/s_csinl.c: Likewise.
27982 * math/s_csqrt.c: Likewise.
27983 * math/s_csqrtf.c: Likewise.
27984 * math/s_csqrtl.c: Likewise.
27985 * math/s_ctan.c: Likewise.
27986 * math/s_ctanf.c: Likewise.
27987 * math/s_ctanh.c: Likewise.
27988 * math/s_ctanhf.c: Likewise.
27989 * math/s_ctanhl.c: Likewise.
27990 * math/s_ctanl.c: Likewise.
27991 * math/s_ldexp.c: Likewise.
27992 * math/s_ldexpf.c: Likewise.
27993 * math/s_ldexpl.c: Likewise.
27994 * math/s_significand.c: Likewise.
27995 * math/s_significandf.c: Likewise.
27996 * math/s_significandl.c: Likewise.
27997 * math/w_acos.c: Likewise.
27998 * math/w_acosf.c: Likewise.
27999 * math/w_acosh.c: Likewise.
28000 * math/w_acoshf.c: Likewise.
28001 * math/w_acoshl.c: Likewise.
28002 * math/w_acosl.c: Likewise.
28003 * math/w_asin.c: Likewise.
28004 * math/w_asinf.c: Likewise.
28005 * math/w_asinl.c: Likewise.
28006 * math/w_atan2.c: Likewise.
28007 * math/w_atan2f.c: Likewise.
28008 * math/w_atan2l.c: Likewise.
28009 * math/w_atanh.c: Likewise.
28010 * math/w_atanhf.c: Likewise.
28011 * math/w_atanhl.c: Likewise.
28012 * math/w_cosh.c: Likewise.
28013 * math/w_coshf.c: Likewise.
28014 * math/w_coshl.c: Likewise.
28015 * math/w_dremf.c: Likewise.
28016 * math/w_exp10.c: Likewise.
28017 * math/w_exp10f.c: Likewise.
28018 * math/w_exp10l.c: Likewise.
28019 * math/w_exp2.c: Likewise.
28020 * math/w_exp2f.c: Likewise.
28021 * math/w_fmod.c: Likewise.
28022 * math/w_fmodf.c: Likewise.
28023 * math/w_fmodl.c: Likewise.
28024 * math/w_hypot.c: Likewise.
28025 * math/w_hypotf.c: Likewise.
28026 * math/w_hypotl.c: Likewise.
28027 * math/w_j0.c: Likewise.
28028 * math/w_j0f.c: Likewise.
28029 * math/w_j0l.c: Likewise.
28030 * math/w_j1.c: Likewise.
28031 * math/w_j1f.c: Likewise.
28032 * math/w_j1l.c: Likewise.
28033 * math/w_jn.c: Likewise.
28034 * math/w_jnf.c: Likewise.
28035 * math/w_jnl.c: Likewise.
28036 * math/w_lgamma.c: Likewise.
28037 * math/w_lgamma_r.c: Likewise.
28038 * math/w_lgammaf.c: Likewise.
28039 * math/w_lgammaf_r.c: Likewise.
28040 * math/w_lgammal.c: Likewise.
28041 * math/w_lgammal_r.c: Likewise.
28042 * math/w_log.c: Likewise.
28043 * math/w_log10.c: Likewise.
28044 * math/w_log10f.c: Likewise.
28045 * math/w_log10l.c: Likewise.
28046 * math/w_log2.c: Likewise.
28047 * math/w_log2f.c: Likewise.
28048 * math/w_log2l.c: Likewise.
28049 * math/w_logf.c: Likewise.
28050 * math/w_logl.c: Likewise.
28051 * math/w_pow.c: Likewise.
28052 * math/w_powf.c: Likewise.
28053 * math/w_powl.c: Likewise.
28054 * math/w_remainder.c: Likewise.
28055 * math/w_remainderf.c: Likewise.
28056 * math/w_remainderl.c: Likewise.
28057 * math/w_scalb.c: Likewise.
28058 * math/w_scalbf.c: Likewise.
28059 * math/w_scalbl.c: Likewise.
28060 * math/w_sinh.c: Likewise.
28061 * math/w_sinhf.c: Likewise.
28062 * math/w_sinhl.c: Likewise.
28063 * math/w_sqrt.c: Likewise.
28064 * math/w_sqrtf.c: Likewise.
28065 * math/w_sqrtl.c: Likewise.
28066 * math/w_tgamma.c: Likewise.
28067 * math/w_tgammaf.c: Likewise.
28068 * math/w_tgammal.c: Likewise.
28069
28070 * po/ja.po: Update from translation team.
28071
28072 2011-09-29 Andreas Jaeger <aj@suse.de>
28073
28074 [BZ #13179]
28075 * sunrpc/netname.c (netname2host): Fix logic.
28076
28077 [BZ #6779]
28078 [BZ #6783]
28079 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28080 correctly.
28081 * math/w_remainder.c (__remainder): Likewise.
28082 * math/w_remainderf.c (__remainderf): Likewise.
28083 * math/libm-test.inc (remainder_test): Add test cases.
28084
28085 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28086
28087 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28088 sdiv_qrnnd.
28089
28090 2011-10-07 Ulrich Drepper <drepper@gmail.com>
28091
28092 * string/test-memcmp.c: Avoid unncessary #defines.
28093 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28094
28095 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28096
28097 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28098 Use new sse2 version for core i3 - i7 as it's faster
28099 than sse42 version.
28100 (bit_Prefer_PMINUB_for_stringop): New.
28101 * sysdeps/x86_64/rawmemchr.S: Update.
28102 Replace with faster SSE2 version.
28103 * sysdeps/x86_64/memrchr.S: New file.
28104 * sysdeps/x86_64/memchr.S: Update.
28105 Replace with faster SSE2 version.
28106
28107 2011-09-12 Marek Polacek <mpolacek@redhat.com>
28108
28109 * elf/dl-load.c (lose): Add cast to avoid warning.
28110
28111 2011-10-07 Ulrich Drepper <drepper@gmail.com>
28112
28113 * po/ca.po: Update from translation team.
28114
28115 * inet/getnetgrent_r.c: Hook up nscd.
28116 * nscd/Makefile (routines): Add nscd_netgroup.
28117 (nscd-modules): Add netgroupcache.
28118 (CFLAGS-netgroupcache.c): Define.
28119 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28120 (cache_search): Add const to second parameter.
28121 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28122 INNETGR.
28123 (dbs): Add netgrdb entry.
28124 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28125 (verify_persistent_db): Handle netgrdb.
28126 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28127 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28128 GETFDNETGR.
28129 (netgroup_response_header): Define.
28130 (innetgroup_response_header): Define.
28131 (datahead): Add netgroup_response_header and innetgroup_response_header
28132 elements.
28133 * nscd/nscd.conf: Add entries for netgroup cache.
28134 * nscd/nscd.h (dbtype): Add netgrdb.
28135 (_PATH_NSCD_NETGROUP_DB): Define.
28136 (netgroup_iov_disabled): Declare.
28137 (xmalloc, xcalloc, xrealloc): Move declarations here.
28138 (cache_search): Adjust prototype.
28139 Add netgroup-related prototypes.
28140 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28141 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28142 (__nscd_innetgr): Declare.
28143 * nscd/selinux.c (perms): Use access_vector_t as element type and
28144 add netgroup-related initializers.
28145 * nscd/netgroupcache.c: New file.
28146 * nscd/nscd_netgroup.c: New file.
28147 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28148 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28149 For four parameters use innetgr.
28150 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28151 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28152 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28153 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28154
28155 * nscd/connections.c (register_traced_file): Don't register file
28156 for disabled databases.
28157
28158 2011-10-06 Ulrich Drepper <drepper@gmail.com>
28159
28160 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28161
28162 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28163 from tree and freeing node.
28164
28165 2011-09-25 Jiri Olsa <jolsa@redhat.com>
28166
28167 * nss/nsswitch.c (__nss_database_lookup): Handle
28168 nss_parse_service_list out of memory case.
28169
28170 2011-09-15 Jiri Olsa <jolsa@redhat.com>
28171
28172 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28173 out of memory case.
28174
28175 2011-10-04 Andreas Schwab <schwab@redhat.com>
28176
28177 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28178 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28179 pass it down.
28180 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28181 elf_machine_rela, elf_machine_lazy_rel.
28182 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28183 (ELF_DYNAMIC_DO_REL): Likewise.
28184 (ELF_DYNAMIC_DO_RELA): Likewise.
28185 (ELF_DYNAMIC_RELOCATE): Likewise.
28186 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28187 to ELF_DYNAMIC_DO_REL.
28188 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28189 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28190 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28191 elf_machine_rela.
28192 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28193 skip_ifunc, don't call ifunc function if non-zero.
28194 (elf_machine_rela): Likewise.
28195 (elf_machine_lazy_rel): Likewise.
28196 (elf_machine_lazy_rela): Likewise.
28197 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28198 (elf_machine_lazy_rel): Likewise.
28199 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28200 Likewise.
28201 (elf_machine_lazy_rel): Likewise.
28202 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28203 Likewise.
28204 (elf_machine_lazy_rel): Likewise.
28205 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28206 (elf_machine_lazy_rel): Likewise.
28207 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28208 (elf_machine_lazy_rel): Likewise.
28209 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28210 (elf_machine_lazy_rel): Likewise.
28211 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28212 (elf_machine_lazy_rel): Likewise.
28213 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28214 (elf_machine_lazy_rel): Likewise.
28215 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28216 (elf_machine_lazy_rel): Likewise.
28217
28218 2011-09-28 Ulrich Drepper <drepper@gmail.com>
28219
28220 * nss/nss_files/files-init.c (_nss_files_init): Use static
28221 initialization for all the *_traced_file variables.
28222
28223 2011-09-28 Andreas Schwab <schwab@redhat.com>
28224
28225 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28226
28227 2011-09-27 Roland McGrath <roland@hack.frob.com>
28228
28229 [BZ #13226]
28230 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28231
28232 2011-09-27 Andreas Schwab <schwab@redhat.com>
28233
28234 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28235 Reread the line before reparsing it.
28236
28237 2011-09-26 Andreas Schwab <schwab@redhat.com>
28238
28239 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28240
28241 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28242 Maxim Kuvyrkov <maxim@codesourcery.com>
28243 Joseph Myers <joseph@codesourcery.com>
28244
28245 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28246 if needed for __stack_chk_guard.
28247
28248 2011-09-19 Roland McGrath <roland@hack.frob.com>
28249
28250 * sysdeps/posix/spawni.c (script_execute): Always define it.
28251 It will be optimized away if unused.
28252 (maybe_script_execute): New function.
28253 (__spawni): Call it.
28254
28255 * Makerules: Don't include tls.make.
28256 (config-tls): Always set to thread.
28257 * tls.make.c: File removed.
28258
28259 2011-09-19 Mike Frysinger <vapier@gentoo.org>
28260
28261 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28262 * config.make.in (CPPFLAGS-config): New substituted variable.
28263
28264 2011-09-15 Ulrich Drepper <drepper@gmail.com>
28265
28266 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28267
28268 [BZ #13192]
28269 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28270 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28271
28272 2011-09-15 Roland McGrath <roland@hack.frob.com>
28273
28274 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28275 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28276 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28277 (CALL_FAIL): Likewise.
28278 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28279 (CALL_FAIL): Macro removed.
28280 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28281
28282 2011-09-15 Ulrich Drepper <drepper@gmail.com>
28283
28284 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28285 for __FINITE_MATH_ONLY__ == 1.
28286
28287 2011-09-15 Andreas Schwab <schwab@redhat.com>
28288
28289 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28290 __ieee754_sqrt instead of sqrt.
28291 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28292 __ieee754_sqrtf instead of sqrtf.
28293 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28294 __floorf instead of floorf.
28295 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28296 __floorf, __truncf instead of floorf, truncf.
28297
28298 2011-09-14 Ulrich Drepper <drepper@gmail.com>
28299
28300 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28301
28302 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28303 __extern_always_inline.
28304 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28305 32-bit.
28306
28307 2011-09-14 Andreas Schwab <schwab@redhat.com>
28308
28309 * elf/rtld.c (dl_main): Also relocate in dependency order when
28310 doing symbol dependency testing.
28311
28312 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28313
28314 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28315 Always define `refsym'.
28316
28317 2011-09-13 Andreas Schwab <schwab@redhat.com>
28318
28319 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28320 (__FD_ELT): Renamed from __FDELT.
28321 * misc/bits/select2.h (__FD_ELT): Likewise.
28322 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28323 __FD_MASK instead of __FDELT, __FDMASK.
28324 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28325 Likewise.
28326 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28327 Likewise.
28328
28329 * elf/Makefile (gen-ldd): Fix pattern.
28330
28331 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28332 (init_tls): Likewise.
28333
28334 2011-09-12 Ulrich Drepper <drepper@gmail.com>
28335
28336 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28337
28338 2011-09-12 Andreas Schwab <schwab@redhat.com>
28339
28340 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28341 `struct cmsghdr *' instead of `void *'.
28342 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28343 Likewise.
28344
28345 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28346
28347 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28348 if non-absolute.
28349 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28350 ldd_rewrite_script.
28351
28352 2011-09-11 Ulrich Drepper <drepper@gmail.com>
28353
28354 * configure.in: Remove --with-tls option.
28355 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28356 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28357 out in case it is missing.
28358 * sysdeps/ia64/elf/configure.in: Likewise.
28359 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28360 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28361 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28362 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28363 * sysdeps/sh/elf/configure.in: Likewise.
28364 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28365 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28366 * sysdeps/x86_64/elf/configure.in: Likewise.
28367 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28368 * sysdeps/mach/hurd/tls.h: Likewise.
28369
28370 [BZ #13067]
28371 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28372
28373 [BZ #13090]
28374 * configure.in: Fix use of AC_INIT.
28375
28376 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28377
28378 2011-09-10 Ulrich Drepper <drepper@gmail.com>
28379
28380 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28381 __set_errno.
28382 * malloc/hooks.c: Likewise.
28383
28384 [BZ #11929]
28385 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28386 variables statically.
28387 (narenas): Initialize.
28388 (list_lock): Initialize.
28389 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28390 initializtion of main_arena and list_lock. Small cleanups.
28391 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28392 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28393 Add initializers to main_arena and mp_.
28394 (malloc_state): Remove pagesize member. Change all users to use
28395 GLRO(dl_pagesize).
28396
28397 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28398 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28399 is always initialized.
28400
28401 * malloc/malloc.c: Removed unused configurations and dead code.
28402 * malloc/arena.c: Likewise.
28403 * malloc/hooks.c: Likewise.
28404 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
28405
28406 * include/tls.h: Removed. USE___THREAD must always be defined.
28407 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28408 * elf/dl-libc.c: Likewise.
28409 * elf/dl-tsd.c: Likewise.
28410 * include/errno.h: Likewise.
28411 * include/netdb.h: Likewise.
28412 * include/resolv.h: Likewise.
28413 * inet/herrno-loc.c: Likewise.
28414 * inet/herrno.c: Likewise.
28415 * malloc/arena.c: Likewise.
28416 * malloc/hooks.c: Likewise.
28417 * malloc/malloc.c: Likewise.
28418 * resolv/res-state.c: Likewise.
28419 * resolv/res_libc.c: Likewise.
28420 * sysdeps/i386/dl-machine.h: Likewise.
28421 * sysdeps/ia64/dl-machine.h: Likewise.
28422 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28423 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28424 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28425 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28426 * sysdeps/sh/dl-machine.h: Likewise.
28427 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28428 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28429 * sysdeps/unix/i386/sysdep.S: Likewise.
28430 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28431 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28432 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28433 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28434 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28435 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28436 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28437 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28438 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28439 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28440 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28441 * sysdeps/x86_64/dl-machine.h: Likewise.
28442 * tls.make.c: Likewise.
28443
28444 * configure.in: Remove --with-__thread option. Make tests for
28445 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28446 tls_model attribute fail if no support is available. Remove
28447 USE_IN_LIBIO.
28448 * Makeconfig: Adjust for dropped configure option. All features are
28449 now mandatory.
28450 * Makerules: Likewise.
28451 * Versions.def: Likewise.
28452 * argp/argp-fmtstream.c: Likewise.
28453 * argp/argp-fmtstream.h: Likewise.
28454 * argp/argp-help.c: Likewise.
28455 * assert/assert.c: Likewise.
28456 * config.h.in: Likewise.
28457 * config.make.in: Likewise.
28458 * configure: Likewise.
28459 * configure.in: Likewise.
28460 * csu/Versions: Likewise.
28461 * csu/init.c: Likewise.
28462 * elf/tst-audit2.c: Likewise.
28463 * elf/tst-tls10.c: Likewise.
28464 * elf/tst-tls10.h: Likewise.
28465 * elf/tst-tls11.c: Likewise.
28466 * elf/tst-tls12.c: Likewise.
28467 * elf/tst-tls14.c: Likewise.
28468 * elf/tst-tlsmod11.c: Likewise.
28469 * elf/tst-tlsmod12.c: Likewise.
28470 * elf/tst-tlsmod13.c: Likewise.
28471 * elf/tst-tlsmod13a.c: Likewise.
28472 * elf/tst-tlsmod14a.c: Likewise.
28473 * elf/tst-tlsmod15b.c: Likewise.
28474 * elf/tst-tlsmod16a.c: Likewise.
28475 * elf/tst-tlsmod16b.c: Likewise.
28476 * elf/tst-tlsmod7.c: Likewise.
28477 * elf/tst-tlsmod8.c: Likewise.
28478 * elf/tst-tlsmod9.c: Likewise.
28479 * gmon/gmon.c: Likewise.
28480 * grp/fgetgrent_r.c: Likewise.
28481 * grp/putgrent.c: Likewise.
28482 * hurd/fopenport.c: Likewise.
28483 * include/libc-symbols.h: Likewise.
28484 * include/tls.h: Likewise.
28485 * intl/gettextP.h: Likewise.
28486 * intl/loadinfo.h: Likewise.
28487 * locale/global-locale.c: Likewise.
28488 * locale/localeinfo.h: Likewise.
28489 * mach/devstream.c: Likewise.
28490 * malloc/arena.c: Likewise.
28491 * malloc/set-freeres.c: Likewise.
28492 * misc/err.c: Likewise.
28493 * misc/getttyent.c: Likewise.
28494 * misc/mntent_r.c: Likewise.
28495 * posix/getopt.c: Likewise.
28496 * posix/wordexp.c: Likewise.
28497 * pwd/fgetpwent_r.c: Likewise.
28498 * resolv/Versions: Likewise.
28499 * resolv/res_hconf.c: Likewise.
28500 * shadow/fgetspent_r.c: Likewise.
28501 * shadow/putspent.c: Likewise.
28502 * stdio-common/printf_fphex.c: Likewise.
28503 * stdio-common/tmpfile.c: Likewise.
28504 * stdlib/abort.c: Likewise.
28505 * stdlib/fmtmsg.c: Likewise.
28506 * sunrpc/auth_unix.c: Likewise.
28507 * sunrpc/clnt_perr.c: Likewise.
28508 * sunrpc/clnt_tcp.c: Likewise.
28509 * sunrpc/clnt_udp.c: Likewise.
28510 * sunrpc/clnt_unix.c: Likewise.
28511 * sunrpc/openchild.c: Likewise.
28512 * sunrpc/svc_simple.c: Likewise.
28513 * sunrpc/svc_tcp.c: Likewise.
28514 * sunrpc/svc_udp.c: Likewise.
28515 * sunrpc/svc_unix.c: Likewise.
28516 * sunrpc/xdr.c: Likewise.
28517 * sunrpc/xdr_array.c: Likewise.
28518 * sunrpc/xdr_rec.c: Likewise.
28519 * sunrpc/xdr_ref.c: Likewise.
28520 * sunrpc/xdr_stdio.c: Likewise.
28521
28522 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28523
28524 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28525
28526 2011-07-03 Andreas Jaeger <aj@suse.de>
28527
28528 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28529 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28530 regenerate with gen-libm-tests.pl.
28531
28532 2010-05-12 Petr Baudis <pasky@suse.cz>
28533
28534 [BZ #11589]
28535 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28536 around j0() zero points by switching to j1().
28537 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28538 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28539 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28540 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28541
28542 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28543
28544 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28545 instead of 0.
28546 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
28547 instead of 0.
28548 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28549 Patch in part by Pavel Roskin <proski@gnu.org>.
28550
28551 [BZ #13138]
28552 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28553 realloc.
28554 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28555 Free memory block if necessary.
28556
28557 [BZ #12847]
28558 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28559 be NULL. Don't lock in this case.
28560
28561 2011-09-09 Roland McGrath <roland@hack.frob.com>
28562
28563 * elf/elf.h (ELFOSABI_GNU): New macro.
28564 (ELFOSABI_LINUX): Define to that.
28565
28566 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28567
28568 * string/strncat.c (strncat): Undef the symbol in case it has been
28569 defined in bits/string.h.
28570
28571 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28572
28573 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28574
28575 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
28576 link map.
28577
28578 2011-08-17 Andreas Jaeger <aj@suse.de>
28579
28580 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28581
28582 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28583 Ian Lance Taylor <iant@google.com>
28584
28585 * math/libm-test.inc (lround_test): New testcase.
28586 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28587
28588 2011-09-08 Ulrich Drepper <drepper@gmail.com>
28589
28590 * Makefile: Remove support for automatic cvs check-ins.
28591 * Makerules: Likewise.
28592 * config.make.in: Likewise.
28593 * configure.in: Likewise.
28594 * intl/Makefile: Likewise.
28595 * locale/Makefile: Likewise.
28596 * po/Makefile: Likewise.
28597 * posix/Makefile: Likewise.
28598 * sysdeps/gnu/Makefile: Likewise.
28599 * sysdeps/mach/hurd/Makefile: Likewise.
28600 * sysdeps/sparc/sparc32/Makefile: Likewise.
28601
28602 [BZ #13118]
28603 * posix/Makefile (bug-regex32-ENV): Define.
28604 Patch by John Stanley <jpsinthemix@verizon.net>.
28605
28606 * misc/Makefile (headers): Add bits/select2.h.
28607 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28608 * misc/bits/select2.h: New file.
28609 * include/bits/select2.h: New file.
28610 * debug/Makefile (routines): Add fdelt_chk.
28611 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28612 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28613 FD_ISSET.
28614 * debug/fdelt_chk.c: New file.
28615
28616 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28617 * wcsmbs/test-wmemcmp.c: Likewise.
28618 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
28619 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
28620
28621 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28622
28623 * string/Makefile (strop-tests): Add memcmp.
28624 * string/test-wmemcmp.c: New file.
28625 * string/test-memcmp.c: Add wmemcmp support.
28626
28627 2011-09-08 Roland McGrath <roland@hack.frob.com>
28628
28629 [BZ #13153]
28630 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28631 2011-07-19 change.
28632
28633 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28634 garbage value in a __mach_port_mod_refs call in the cases of the
28635 task-self and thread-self ports.
28636
28637 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28638
28639 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28640
28641 2011-09-08 Andreas Schwab <schwab@redhat.com>
28642
28643 * elf/dl-load.c (lose): Check for non-null L.
28644
28645 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28646
28647 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28648
28649 * elf/dl-libc.c (dlerror_run): Pass back error code from
28650 dl_catch_error.
28651
28652 [BZ #13123]
28653 * elf/dl-load.c (lose): Free l_origin if it is valid.
28654
28655 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28656 names.
28657 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28658 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28659 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28660 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28661 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28662 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28663
28664 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28665
28666 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28667 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28668 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28669 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28670 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28671 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28672 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28673 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28674 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28675 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28676
28677 2011-08-15 Alan Modra <amodra@gmail.com>
28678
28679 [BZ #13092]
28680 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28681 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28682 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28683 ppc_mcount to static-only-routines.
28684 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28685 __mcount_internal.
28686 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28687 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28688
28689 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28690
28691 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28692 for finite and infinity parameters.
28693
28694 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28695
28696 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28697 and add nop instructions for throughput optimization.
28698 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28699
28700 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28701
28702 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28703 aligned copy for power7 with vector-scalar instructions.
28704 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28705
28706 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28707
28708 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28709 AVX check.
28710
28711 2011-09-07 Andreas Schwab <schwab@redhat.com>
28712
28713 [BZ #13144]
28714 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28715 last change.
28716
28717 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28718
28719 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28720 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28721 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28722 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28723 clock_gettime.
28724
28725 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28726
28727 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28728 Forgot to demangle the pointer.
28729
28730 * sysdeps/i386/sysdep.h: Define atom_text_section.
28731 * sysdeps/x86_64/sysdep.h: Likewise.
28732 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28733 section with atom_text_section.
28734 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28735 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28736 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28737 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28738 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28739
28740 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28741 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28742 already be defined. Change to take two parameters and don't assign
28743 result to variable. Adjust all users.
28744 Define INTERNAL_GETTIME if not already defined.
28745 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28746 call.
28747 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28748 HAVE_CLOCK_GETTIME_VSYSCALL.
28749 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28750
28751 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28752 gettimeofday vsyscall, just use time.
28753
28754 2011-09-06 Andreas Schwab <schwab@redhat.com>
28755
28756 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28757 <errno.h>.
28758
28759 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28760
28761 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28762 syscall on x86-64.
28763 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28764 syscall.
28765 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28766 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28767 syscall if possible.
28768
28769 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28770
28771 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28772 e_ident. Don't pass to find_mapsXX.
28773 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28774
28775 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28776
28777 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28778 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28779 * sysdeps/x86_64/multiarch/strchr.S: Update.
28780 Check bit_slow_BSF bit.
28781 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28782 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28783 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28784
28785 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28786
28787 [BZ #13134]
28788 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28789 before glibc 2.15.
28790 (tryshell): Define.
28791 (__spawni): Change last parameter to be flag. Test
28792 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28793 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28794 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28795 * posix/spawni.c: Likewise.
28796 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28797 * posix/spawnp.c: Likewise. Change normal version to use
28798 SPAWN_XFLAGS_USE_PATH.
28799 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28800 SPAWN_XFLAGS_TRY_SHELL.
28801
28802 [BZ #13150]
28803 * posix/glob.h: Remove gcc 1.x support.
28804
28805 [BZ #13068]
28806 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28807
28808 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28809
28810 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28811 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28812 strrchr-sse2-bsf
28813 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28814 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28815 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28816 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28817 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28818 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28819
28820 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28821
28822 * sysdeps/x86_64/wcscmp.S: New file.
28823
28824 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28825 wcscmp-c wcscmp-sse2
28826 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28827 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28828 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28829 * wcsmbs/wcscmp.c: Allow renaming.
28830
28831 2011-09-05 David S. Miller <davem@davemloft.net>
28832
28833 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28834 stack slot, rather than the struct return pointer slot.
28835 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28836 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28838 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28839
28840 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28841
28842 * po/ja.po: Update from translation team.
28843
28844 [BZ #13144]
28845 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28846 kernel in 64-bit binaries.
28847
28848 2011-09-01 David S. Miller <davem@davemloft.net>
28849
28850 * elf/elf.h (HWCAP_SPARC_*): Move to..
28851 * sysdeps/sparc/sysdep.h: this new file and add new values.
28852 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28853 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28854 _DL_HWCAP_COUNT to 24.
28855 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28856 entries.
28857 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28858 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28859 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28860 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28861 instead of magic constants.
28862 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28863
28864 2011-08-31 David S. Miller <davem@davemloft.net>
28865
28866 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28867 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28868 Reimplement to do errno handling inline.
28869 (SYSCALL_ERROR_HANDLER): New macro.
28870 (__SYSCALL_STRING): Do not do errno handling in asm.
28871 (__CLONE_SYSCALL_STRING): Delete.
28872 (__INTERNAL_SYSCALL_STRING): Delete.
28873 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28874 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28875 (PSEUDO): Reimplement to do errno handling inline.
28876 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28877 (SYSCALL_ERROR_HANDLER): New macro.
28878 (__SYSCALL_STRING): Do not do errno handling in asm.
28879 (__CLONE_SYSCALL_STRING): Delete.
28880 (__INTERNAL_SYSCALL_STRING): Delete.
28881 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28882 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28883 i386.
28884 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28885 (inline_syscall*): Add 'err' argument.
28886 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28887 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28888 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28889 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28890
28891 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28892 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28893
28894 2011-08-30 Andreas Schwab <schwab@redhat.com>
28895
28896 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28897
28898 2011-08-29 Jiri Olsa <jolsa@redhat.com>
28899
28900 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28901 directive.
28902
28903 2011-08-24 David S. Miller <davem@davemloft.net>
28904
28905 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28906
28907 2011-08-24 Andreas Schwab <schwab@redhat.com>
28908
28909 * elf/Makefile: Add rules to build and run unload8 test.
28910 * elf/unload8.c: New file.
28911 * elf/unload8mod1.c: New file.
28912 * elf/unload8mod1x.c: New file.
28913 * elf/unload8mod2.c: New file.
28914 * elf/unload8mod3.c: New file.
28915
28916 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28917 it wasn't used.
28918
28919 2011-08-23 David S. Miller <davem@davemloft.net>
28920
28921 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28922 subtract stack bias.
28923 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28924 %sp not %fp in calculations.
28925 (_JMPBUF_UNWINDS_ADJ): Likewise.
28926
28927 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28928 (aio_suspend): Call it to force an exception region around the
28929 AIO_MISC_WAIT() invocation.
28930
28931 2011-08-23 Andreas Schwab <schwab@redhat.com>
28932
28933 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28934 backslash.
28935
28936 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28937
28938 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28939 protection macro.
28940 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28941 and <dl-machine.h>.
28942 (Elf64_FuncDesc): Remove.
28943
28944 2011-08-22 David S. Miller <davem@davemloft.net>
28945
28946 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28947 sigaltstack check, add missing cfi directives.
28948 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28949 missing cfi directives, and sigaltstack handling.
28950
28951 2011-08-16 Andreas Schwab <schwab@redhat.com>
28952
28953 [BZ #11724]
28954 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28955 object is seen twice.
28956 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28957
28958 * elf/Makefile (distribute): Add tst-initorder2.c.
28959 (tests): Add tst-initorder2.
28960 (modules-names): Add tst-initorder2a tst-initorder2b
28961 tst-initorder2c tst-initorder2d. Add rules to build them.
28962 ($(objpfx)tst-initorder2.out): New rule.
28963 * elf/tst-initorder2.c: New file.
28964 * elf/tst-initorder2.exp: New file.
28965
28966 2011-08-22 Andreas Schwab <schwab@redhat.com>
28967
28968 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28969
28970 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28971 dependencies back to end of function.
28972
28973 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28974 $(elfobjdir)/ld.so.
28975
28976 2011-08-21 Ulrich Drepper <drepper@gmail.com>
28977
28978 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28979 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28980 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28981 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28982 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28983 of __vdso_gettimeofday.
28984 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28985 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28986 attribute_hidden.
28987 (_libc_vdso_platform_setup): Remove initialization of
28988 __vdso_gettimeofday and __vdso_time.
28989
28990 2011-08-20 Ulrich Drepper <drepper@gmail.com>
28991
28992 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28993 and fgetc_unlocked.
28994 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28995 getc_unlocked.
28996
28997 * elf/dl-open.c (add_to_global): Report additions to the global scope
28998 for LD_DEBUG=scopes.
28999 (dl_open_worker): Also print scope of newly loaded dependencies.
29000 (_dl_show_scope): Indicate if there is no scope.
29001
29002 [BZ #13114]
29003 * stdio-common/Makefile (tests): Add bug24.
29004 * stdio-common/bug24.c: New file.
29005
29006 2011-08-19 Andreas Jaeger <aj@suse.de>
29007
29008 [BZ #13114]
29009 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29010 non-existant file when using close-on-exec mode.
29011
29012 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29013
29014 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29015 the very first instruction.
29016
29017 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29018 the CFI state in the end.
29019 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29020 inclusion of dl-trampoline.h.
29021 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29022
29023 2011-08-19 Andreas Schwab <schwab@redhat.com>
29024
29025 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29026 expectations for long double.
29027
29028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29029 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29030
29031 2011-08-14 David S. Miller <davem@davemloft.net>
29032
29033 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29034 artificual limit depends upon the system page size.
29035
29036 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29037
29038 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29039 * resolv/Makefile: Define CFLAGS-libresolv.
29040
29041 2011-08-17 Andreas Schwab <schwab@redhat.com>
29042
29043 * nss/makedb.c (compute_tables): Make variables used in nested
29044 function static.
29045
29046 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29047
29048 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29049 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29050 if buffer was too small.
29051
29052 * elf/pldd.c (main): Attach to all threads in the process.
29053 Rewrite /proc handling to use *at functions.
29054
29055 2011-08-16 Ulrich Drepper <drepper@gmail.com>
29056
29057 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29058 specifies first scope to show.
29059 (dl_open_worker): Update callers. Move printing scope of new
29060 object to before the relocation.
29061 * elf/rtld.c (dl_main): Update _dl_show_scope call.
29062 * sysdeps/generic/ldsodefs.h: Update declaration.
29063
29064 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29065 string for the scope number.
29066
29067 2011-08-14 Ulrich Drepper <drepper@gmail.com>
29068
29069 * nscd/servicescache.c (cache_addserv): Make sure written is always
29070 initialized.
29071
29072 2011-08-14 Roland McGrath <roland@hack.frob.com>
29073
29074 * sysdeps/i386/i486/bits/atomic.h
29075 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29076 statement expression, so as to suppress "set but not used" warning.
29077 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29078
29079 * string/strncat.c (STRNCAT): Use prototype definition.
29080
29081 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29082 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29083 -Iprograms here.
29084 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29085 (localedef-modules): Add localedef.
29086 (locale-modules): Add locale.
29087
29088 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29089 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29090 to avoid a warning.
29091
29092 2011-08-14 David S. Miller <davem@davemloft.net>
29093
29094 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29095 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29096
29097 2011-08-13 Ulrich Drepper <drepper@gmail.com>
29098
29099 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
29100 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29101 * elf/rtld.c (dl_main): Set l_name of vDSO.
29102 Call _dl_show_scope when DL_DEBUG_SCOPES.
29103 (process_dl_debug): Recognize scopes flag and also set it for all.
29104 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29105 Declare _dl_show_scope.
29106
29107 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29108 (do_dlopen): Pass caller_dlopen to dl_open.
29109 (__libc_dlopen_mode): Initialize caller_dlopen.
29110
29111 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29112 of libc. Make tolower call locale-independent. Optimize a bit by
29113 using isdigit instead of isalnum.
29114 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29115
29116 2011-08-12 Ulrich Drepper <drepper@gmail.com>
29117
29118 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29119 was a dependency or dynamically loaded.
29120
29121 2011-08-11 Ulrich Drepper <drepper@gmail.com>
29122
29123 * intl/l10nflist.c: Allow architecture-specific pop function.
29124 * sysdeps/x86_64/l10nflist.c: New file.
29125
29126 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29127 classification.
29128
29129 2011-08-10 Andreas Schwab <schwab@redhat.com>
29130
29131 * include/dirent.h: Add libc_hidden_proto for scandirat and
29132 scandirat64. Don't declare __scandirat64.
29133 * dirent/scandirat.c: Add libc_hidden_def.
29134 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29135 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29136
29137 2011-08-10 David S. Miller <davem@davemloft.net>
29138
29139 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29140 enum.
29141 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29142 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29143 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29144
29145 2011-08-09 Ulrich Drepper <drepper@gmail.com>
29146
29147 * Versions.def [libc]: Add GLIBC_2.15.
29148 * dirent/Makefile (routines): Add scandirat and scandirat64.
29149 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29150 GLIBC_2.15.
29151 * dirent/dirent.h: Declare scandirat and scandirat64.
29152 * dirent/scandirat.c: New file.
29153 * dirent/scandirat64.c: New file.
29154 * sysdeps/wordsize-64/scandirat.c: New file.
29155 * sysdeps/wordsize-64/scandirat64.c: New file.
29156 * dirent/opendir.c: Define opendirat.
29157 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29158 using scandirat.
29159 * dirent/scandir64.c: Adjust for scandir.c change.
29160 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29161 __scandirat64, and __scandir_cancel_handler.
29162 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29163 additional parameter and use openat instead of open (outside of ld.so).
29164 Add new __opendir as wrapper around __opendirat.
29165 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29166 here without requiring old scandirat implementation.
29167
29168 2011-08-08 Ulrich Drepper <drepper@gmail.com>
29169
29170 * dirent/scandir.c (cancel_handler): Renamed to
29171 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29172 defined. Adjust users.
29173 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29174 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29175
29176 2011-08-04 Ulrich Drepper <drepper@gmail.com>
29177
29178 * string/test-string.h (IMPL): Use __STRING to expand name and then
29179 stringify it.
29180
29181 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29182 of cleanups.
29183
29184 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29185
29186 * string/Makefile: Update.
29187 (strop-tests): Append strncat.
29188 * string/test-wcscmp.c: New file.
29189 New comprehensive test for wcscmp.
29190 * string/test-strcmp.c: Update.
29191 (WIDE): New define.
29192
29193 2011-07-22 Andreas Schwab <schwab@redhat.com>
29194
29195 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29196 line.
29197
29198 2011-07-26 Andreas Schwab <schwab@redhat.com>
29199
29200 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29201 encoding to ACE if AI_IDN.
29202
29203 2011-08-01 Jakub Jelinek <jakub@redhat.com>
29204
29205 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29206 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29207
29208 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29209
29210 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29211 Fix overflow bug in strncat.
29212 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29213
29214 * string/test-strncat.c: Update.
29215 Add new tests for checking overflow bugs.
29216
29217 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29218
29219 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29220 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29221 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29222 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29223 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29224 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29225 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29226 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29227 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29228
29229 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29230 (USE_AS_STRCAT): Define.
29231 Add strcat and strncat support.
29232 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29233
29234 2011-07-25 Andreas Schwab <schwab@redhat.com>
29235
29236 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29237 __n bigger than INT_MAX+1.
29238 (__strncmp_g): Likewise.
29239
29240 2011-07-23 Ulrich Drepper <drepper@gmail.com>
29241
29242 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29243 * libio/stido.h: Likewise.
29244
29245 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29246 (AF_NFC): Define.
29247 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29248 (AF_NFC): Define.
29249
29250 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29251 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29252 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29253 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29254 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29255
29256 [BZ #13021]
29257 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29258 installed.
29259
29260 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29261 typo.
29262 (_dl_x86_64_save_sse): Likewise.
29263
29264 2011-07-22 Ulrich Drepper <drepper@gmail.com>
29265
29266 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29267 OSXSAVE.
29268 (_dl_x86_64_save_sse): Likewise.
29269
29270 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29271
29272 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29273
29274 2011-07-21 Andreas Schwab <schwab@redhat.com>
29275
29276 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29277 change.
29278 (_dl_x86_64_save_sse): Use correct AVX check.
29279
29280 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29281
29282 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29283 bug in strncpy/strncat.
29284 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29285
29286 2011-07-21 Ulrich Drepper <drepper@gmail.com>
29287
29288 * string/tester.c (test_strcat): Add tests for different alignments
29289 of source and destination.
29290 (test_strncat): Likewise.
29291
29292 2011-07-20 Ulrich Drepper <drepper@gmail.com>
29293
29294 [BZ #12852]
29295 * posix/glob.c (glob): Check passed in values before using them in
29296 expressions to avoid some overflows.
29297 (glob_in_dir): Likewise.
29298
29299 [BZ #13007]
29300 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29301 check for AVX enablement so that we don't crash with old kernels and
29302 new hardware.
29303 * elf/tst-audit4.c: Add same checks here.
29304 * elf/tst-audit6.c: Likewise.
29305
29306 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
29307
29308 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29309
29310 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29311
29312 2011-07-20 Ulrich Drepper <drepper@gmail.com>
29313
29314 * po/cs.po: Update from translation team.
29315 * po/bg.po: Likewise.
29316
29317 2011-07-12 Marek Polacek <mpolacek@redhat.com>
29318
29319 * misc/sys/cdefs.h: Add support for const attribute.
29320 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29321 to gnu_dev_{major,minor,makedev} functions.
29322
29323 2011-07-20 Marek Polacek <mpolacek@redhat.com>
29324
29325 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29326
29327 2011-07-20 Andreas Schwab <schwab@redhat.com>
29328
29329 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29330 strlen results.
29331
29332 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29333
29334 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29335 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29336 register in order to avoid conflicts with the soft frame pointer
29337 being held in r11 when necessary.
29338 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29339 (INTERNAL_VSYSCALL_NCS): Likewise.
29340
29341 2011-07-14 Marek Polacek <mpolacek@redhat.com>
29342
29343 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29344 * elf/dl-fini.c (_dl_fini): Adjust caller.
29345 * elf/dl-close.c (_dl_close_worker): Likewise.
29346 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29347
29348 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29349
29350 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29351 "aux_cache->nlibs < 0".
29352
29353 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29354 in the reload-count case.
29355
29356 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29357
29358 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29359 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29360 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29361 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29362 * sysdeps/x86_64/multiarch/strcat.S: New file.
29363 * sysdeps/x86_64/multiarch/strncat.S: New file.
29364 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29365 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29366 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29367 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29368 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29369 (USE_AS_STRCAT): Define.
29370 Add strcat and strncat support.
29371 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29372 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29373 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29374 * string/strncat.c: Update.
29375 (USE_AS_STRNCAT): Define.
29376 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29377 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29378 and i7.
29379 * sysdeps/x86_64/multiarch/init-arch.h
29380 (bit_Prefer_PMINUB_for_stringop): New.
29381 (index_Prefer_PMINUB_for_stringop): Likewise.
29382 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29383 bit_Prefer_PMINUB_for_stringop.
29384
29385 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29386
29387 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29388 buffer64.
29389 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29390 of casting of buffer.
29391 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29392 buffer32 and buffer64.
29393 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29394 writes instead of casting of buffer.
29395 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29396 buffer32.
29397 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29398 casting of buffer.
29399
29400 2011-07-19 Andreas Schwab <schwab@redhat.com>
29401
29402 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29403
29404 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29405
29406 * nscd/nscd.c (termination_handler): Don't do anything for a database
29407 if it has not yet been initialized.
29408
29409 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29410
29411 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29412
29413 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29414
29415 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29416
29417 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29418
29419 * po/nl.po: Update from translation team.
29420 * po/sv.po: Likewise.
29421
29422 2011-07-16 Roland McGrath <roland@hack.frob.com>
29423
29424 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29425 now disallowed by GCC.
29426
29427 * configure.in (use-default-link): Default to yes if a test -shared
29428 link meets our qualifications.
29429 * configure: Regenerated.
29430
29431 * config.make.in (output-format): New variable.
29432 * configure.in: Check for ld --print-output-format support.
29433 * configure: Regenerated.
29434 * Makerules ($(common-objpfx)format.lds)
29435 [$(output-format) != unknown]: Just use $(output-format),
29436 instead of the linker-script munging.
29437
29438 2011-07-14 Roland McGrath <roland@hack.frob.com>
29439
29440 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29441 of $(common-objpfx)shlib.lds.
29442 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29443
29444 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29445 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29446
29447 * configure.in (-z relro check): Adjust test code to add a large
29448 writable data section after it.
29449 * configure: Regenerated.
29450
29451 2011-07-11 Roland McGrath <roland@hack.frob.com>
29452
29453 * configure.in (-z relro check): Fix test code to make the variable
29454 truly const.
29455 * configure: Regenerated.
29456
29457 2011-07-11 Ulrich Drepper <drepper@gmail.com>
29458
29459 * nscd/nscd.h (struct traced_file): Define.
29460 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29461 elements. Add traced_files.
29462 (inotify_fd): Declare.
29463 (register_traced_file): Declare.
29464 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29465 (inotify_fd): Export.
29466 (resolv_conf_descr): Remove.
29467 (nscd_init): Move inotify descriptor creation to main.
29468 Don't register files for notification here.
29469 (register_traced_file): New function.
29470 (invalidate_cache): Don't use reset_res to determine whether to call
29471 res_init, go through the list of registered files.
29472 (main_loop_poll): The inotify descriptors are now stored in the
29473 structures for the traced files.
29474 (main_loop_epoll): Likewise
29475 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29476 to __nss_disable_nscd.
29477 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29478 for a database anymore. Check the records for all the registered
29479 files instead.
29480 * nss/Makefile (libnss_files-routines): Add files-init.
29481 (libnss_db-routines): Add db-init.
29482 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29483 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29484 * nss/nss_db/db-init.c: New file.
29485 * nss/nss_files/files-init.c: New file.
29486 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29487 __nss_lookup_function.
29488 (__nss_lookup_function): Call nss_load_library.
29489 (nss_load_all_libraries): New function.
29490 (__nss_disable_nscd): Take parameter with callback function for files
29491 to register. Set is_nscd. Load all the DSOs for the NSS modules
29492 used for the cached services.
29493 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29494 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29495 options for features to all the files in nscd.
29496
29497 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29498
29499 2011-07-10 Roland McGrath <roland@hack.frob.com>
29500
29501 * csu/elf-init.c (__libc_csu_init): Comment typo.
29502
29503 2011-07-09 Ulrich Drepper <drepper@gmail.com>
29504
29505 * po/pl.po: Update from translation team.
29506 * po/ja.po: Likewise.
29507 * po/ru.po: Likewise.
29508 * po/ko.po: Likewise.
29509 * po/fr.po: Likewise.
29510
29511 2011-07-09 Roland McGrath <roland@hack.frob.com>
29512
29513 * configure.in (.ctors/.dtors header and trailer check):
29514 Use an empirical test on a built program.
29515 * configure: Regenerated.
29516
29517 * configure.in (-z relro check): Use an empirical test on a built DSO.
29518 Detect, but do not require, on ia64.
29519 * configure: Regenerated.
29520
29521 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29522 Update tests that use readelf to use $READELF instead.
29523 * configure: Regenerated.
29524
29525 2011-07-08 Ulrich Drepper <drepper@gmail.com>
29526
29527 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29528 if the result is not used.
29529
29530 2011-07-05 Andreas Jaeger <aj@suse.de>
29531
29532 [BZ#9696]
29533 * stdlib/tst-strtod.c: Add testcase.
29534
29535 2011-07-07 Ulrich Drepper <drepper@gmail.com>
29536
29537 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
29538 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
29539 The latter has a higher limit. Take additional parameter to pass to
29540 the new function.
29541 (__pathconf): Pass file to __statfs_link_max.
29542 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29543 __statfs_link_max.
29544 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29545 __statfs_link_max.
29546
29547 [BZ #12868]
29548 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29549 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29550 Handle Lustre.
29551 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29552 (__statfs_filesize_max): Likewise.
29553 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29554
29555 2011-07-05 Andreas Jaeger <aj@suse.de>
29556
29557 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29558
29559 2011-07-06 Marek Polacek <mpolacek@redhat.com>
29560
29561 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29562 `status' variable.
29563 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29564 Likewise.
29565
29566 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29567
29568 * Makefile (strop-tests): Add strncat.
29569 * string/test-strncat.c: New file.
29570
29571 2011-06-30 Marek Polacek <mpolacek@redhat.com>
29572
29573 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29574
29575 2011-06-21 Andreas Jaeger <aj@suse.de>
29576
29577 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29578 Copy rule from iconvdata/Makefile.
29579
29580 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29581
29582 [BZ #12922]
29583 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29584 but no long options are defined, just return 'W'.
29585
29586 2011-06-22 Marek Polacek <mpolacek@redhat.com>
29587
29588 [BZ #9696]
29589 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29590
29591 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29592
29593 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29594 netgroups to read.
29595 (innetgr): Likewise.
29596
29597 2011-07-05 Roland McGrath <roland@hack.frob.com>
29598
29599 * config.make.in (install_root): Default to $(DESTDIR).
29600
29601 2011-07-05 Ulrich Drepper <drepper@gmail.com>
29602
29603 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29604
29605 2011-07-02 Roland McGrath <roland@hack.frob.com>
29606
29607 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29608
29609 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29610 containing directory rather than embedding absolute directory names.
29611
29612 * scripts/check-local-headers.sh: Rewritten using awk.
29613 Match by word, not by line. Print error messages for matches.
29614 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29615
29616 * Makerules [shlib-lds-flags empty]:
29617 ($(common-objpfx)libc_pic.opts): New target.
29618 ($(common-objpfx)libc_pic.os.clean): New target.
29619 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29620
29621 * config.make.in (OBJCOPY): New variable.
29622 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29623 * configure: Regenerated.
29624
29625 * config.make.in (use-default-link): New variable.
29626 * configure.in (use_default_link): Grok --with-default-link to set it.
29627 * configure: Regenerated.
29628 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29629 (shlib-lds, shlib-lds-flags): Define to empty.
29630
29631 * Makerules (shlib-lds): New variable.
29632 (shlib-lds-flags): New variable.
29633 (build-shlib, build-moduile, build-module-asneeded): Use it.
29634 ($(common-objpfx)libc.so): Use $(shlib-lds).
29635 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29636 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29637
29638 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29639 DT_FLAGS/DT_FLAGS_1 with zero flags.
29640
29641 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29642 linker script munging.
29643
29644 2011-07-02 Ulrich Drepper <drepper@gmail.com>
29645
29646 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29647 as 128-bit value.
29648 * crypt/sha512.c (sha512_process_block): Perform total addition using
29649 128-bit if possible.
29650 (__sha512_finish_ctx): Likewise.
29651 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29652 as 64-bit value.
29653 * crypt/sha256.c (SWAP64): Define.
29654 (sha256_process_block): Perform total addition using 64-bit if
29655 possible.
29656 (__sha256_finish_ctx): Likewise.
29657
29658 2011-07-01 Ulrich Drepper <drepper@gmail.com>
29659
29660 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29661 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29662 * nscd/hstcache.c (cache_addhst): Likewise.
29663 * nscd/grpcache.c (cache_addgr): Likewise.
29664 * nscd/aicache.c (addhstaiX): Likewise
29665 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29666
29667 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
29668
29669 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29670 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29671 * nscd/hstcache.c (cache_addhst): Likewise.
29672 * nscd/grpcache.c (cache_addgr): Likewise.
29673 * nscd/aicache.c (addhstaiX): Likewise
29674
29675 2011-07-01 Andreas Schwab <schwab@redhat.com>
29676
29677 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29678 domain only when needed.
29679
29680 2011-06-30 Andreas Schwab <schwab@redhat.com>
29681
29682 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29683 is always restored.
29684
29685 2011-06-29 Ulrich Drepper <drepper@gmail.com>
29686
29687 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29688 are re-adding the entry.
29689 * nscd/servicescache.c (cache_addserv): Likewise.
29690
29691 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29692
29693 * sysdeps/generic/dl-irel.h: fix protection against multiple
29694 inclusions.
29695 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29696
29697 2011-06-28 Ulrich Drepper <drepper@gmail.com>
29698
29699 [BZ #12935]
29700 * malloc/memusage.sh: Fix quoting in message.
29701 * debug/xtrace.sh: Likewise.
29702
29703 * configure.in: Remove support for --experimental-malloc option, make
29704 it the default.
29705 * config.make.in: Likewise.
29706 * malloc/Makefile: Likewise.
29707
29708 2011-06-27 Andreas Schwab <schwab@redhat.com>
29709
29710 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29711 two-byte characters.
29712
29713 2011-06-27 Roland McGrath <roland@hack.frob.com>
29714
29715 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29716 AC_CACHE_CHECK invocation.
29717 * configure: Regenerated.
29718
29719 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29720
29721 2011-06-27 Ulrich Drepper <drepper@gmail.com>
29722
29723 [BZ #12350]
29724 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29725 bit from old_res_options.
29726
29727 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29728
29729 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29730 value type for setfct.
29731
29732 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29733
29734 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29735 __gettimeofday instead of gettimeofday.
29736
29737 2011-06-26 Ulrich Drepper <drepper@gmail.com>
29738
29739 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29740
29741 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29742
29743 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29744
29745 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29746 info.
29747
29748 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29749
29750 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29751 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29752 strcpy-sse2-unaligned strncpy-sse2-unaligned
29753 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29754 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29755 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29756 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29757 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29758 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29759 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29760 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29761 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29762 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29763 (STRCPY): Support SSE2 and SSSE3 versions.
29764
29765 2011-06-24 Ulrich Drepper <drepper@gmail.com>
29766
29767 [BZ #12874]
29768 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29769 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29770 kernels which artificially limit size of requests.
29771
29772 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29773
29774 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29775 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29776 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29777 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29778 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29779 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29780 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29781 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29782 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29783 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29784 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29785 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29786 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29787 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29788 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29789 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29790 Enable unaligned load optimization for Intel Core i3, i5 and i7
29791 processors.
29792 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29793 Define.
29794 (index_Fast_Unaligned_Load): Define.
29795 (HAS_FAST_UNALIGNED_LOAD): Define.
29796
29797 2011-06-23 Marek Polacek <mpolacek@redhat.com>
29798
29799 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29800
29801 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29802
29803 [BZ #12907]
29804 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29805 until it is clear that the information is realy needed.
29806 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29807
29808 2011-06-22 Andreas Schwab <schwab@redhat.com>
29809
29810 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29811
29812 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29813
29814 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29815 /sys/devices/system/cpu/online if it is usable.
29816
29817 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29818 reading the information from the /proc filesystem to once a second.
29819
29820 2011-06-21 Andreas Jaeger <aj@suse.de>
29821
29822 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29823 NULL after inclusion of kernel headers.
29824
29825 2011-06-21 Ulrich Drepper <drepper@gmail.com>
29826
29827 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29828 calls to internal_setent.
29829
29830 [BZ #12885]
29831 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29832 addresses using gethostbyname4_r ignore IPv4 addresses.
29833
29834 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29835 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29836
29837 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29838
29839 2011-06-20 David S. Miller <davem@davemloft.net>
29840
29841 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29842 inclusions.
29843 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29844
29845 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29846 (elf_irel): Use it.
29847 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29848 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29849 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29850 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29851 * sysdeps/x86_64/dl-irel.h: Likewise.
29852
29853 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29854 * elf/dl-sym.c: Likewise.
29855
29856 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29857
29858 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29859 need to dereference resplen2.
29860
29861 2011-06-14 Andreas Schwab <schwab@redhat.com>
29862
29863 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29864
29865 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29866
29867 * Makeconfig: Define vardbdir and inst_vardbdir.
29868 * nss/Makefile: Add rules to install db-Makefile.
29869
29870 * nss/nss_db/db-XXX.c: Cleanup.
29871
29872 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29873 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29874 GLIBC_PRIVATE.
29875 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29876 * nss/makedb.c: Implement -g option to specify that value strings
29877 are generated and should not be added to table iterated over for
29878 get*ent calls.
29879 * nss/nss_db/db-initgroups.c: New file.
29880
29881 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29882 interface.
29883
29884 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29885 (internal_getgrouplist): Adjust to name change.
29886 Update use_initgroups_entry if this is not the first call.
29887 * nss/databases.def: Add initgroups entry.
29888
29889 * nss/makedb.c (compute_tables): Check result of multiple hash table
29890 sizes to minimize maximum chain length.
29891
29892 2011-06-14 Ulrich Drepper <drepper@gmail.com>
29893
29894 * Versions.def: Add entry for libnss_db.
29895 * shlib-versions: Likewise.
29896 * nss/Makefile: Add rules to build libnss_db.
29897 * nss/Versions: Add libnss_db information. Organize libnss_files
29898 entries better.
29899 * nss/db-Makefile: Add gshadow support. Change rules for the new
29900 makedb progra. Some minor improvements to generate smaller files.
29901 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29902 here from...
29903 * nss/makedb.c: ...here.
29904 Improve database format to be smaller and require less memory at
29905 runtime.
29906 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29907 db anymore.
29908 * nss/nss_db/db-netgrp.c: Likewise.
29909 * nss/nss_db/db-open.c: Likewise.
29910 * nss/nss_files/flies-XXX.x: Adjust comments.
29911 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29912 * nss/nss_files/files-grp.c: Likewise.
29913 * nss/nss_files/files-hosts.c: Likewise.
29914 * nss/nss_files/files-network.c: Likewise.
29915 * nss/nss_files/files-proto.c: Likewise.
29916 * nss/nss_files/files-pwd.c: Likewise.
29917 * nss/nss_files/files-rpc.c: Likewise.
29918 * nss/nss_files/files-service.c: Likewise.
29919 * nss/nss_files/files-sgrp.c: Likewise.
29920 * nss/nss_files/files-spwd.c: Likewise.
29921 * nss/nss_db/db-alias.c: Removed.
29922 * nss/nss_db/dummy-db.h: Removed.
29923
29924 2011-06-02 Ulrich Drepper <drepper@gmail.com>
29925
29926 * nss/makedb.c: Rewritten to not use database library.
29927 * nss/Makefile: Update to build new makedb program.
29928
29929 2011-06-14 Andreas Jaeger <aj@suse.de>
29930
29931 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29932 memset declaration.
29933
29934 2011-06-10 Andreas Schwab <schwab@redhat.com>
29935
29936 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29937 tmpbuf.
29938
29939 2011-06-10 Roland McGrath <roland@hack.frob.com>
29940
29941 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29942 * elf/Makefile ($(objpfx)ld.so): Likewise.
29943
29944 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29945 Don't list ld.so twice in dependencies.
29946
29947 * posix/bug-regex31.c: Include <stdlib.h>.
29948
29949 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29950
29951 * nis/nss_compat/compat-spwd.c
29952 (getspent_next_nss_netgr): Remove unused variable.
29953 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29954
29955 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29956 nonmembers" output to use the right array.
29957
29958 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29959
29960 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29961
29962 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29963 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29964 * catgets/gencat.c (read_input_file): Likewise.
29965 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29966
29967 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29968 variable definition inside #if's controlling its use.
29969
29970 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29971
29972 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29973
29974 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29975
29976 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29977 unreachable code.
29978
29979 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29980
29981 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29982 * configure: Regenerated.
29983
29984 * Makerules: Revert last change.
29985 * elf/Makefile: Likewise.
29986
29987 2011-06-09 Roland McGrath <roland@hack.frob.com>
29988
29989 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29990 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29991 (reloc-link): Likewise.
29992
29993 2011-06-09 Ulrich Drepper <drepper@gmail.com>
29994
29995 * elf/Makefile: Add rules to build pldd.
29996 * elf/pldd.c: New file.
29997 * elf/pldd-xx.c: New file.
29998
29999 2011-06-07 Ulrich Drepper <drepper@gmail.com>
30000
30001 * version.h: Update for 2.15 development version.
30002
30003 2011-06-07 David S. Miller <davem@davemloft.net>
30004
30005 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30006 ifuncs.
30007 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30008 elf_machine_lazy_rel): Likewise.
30009 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30010 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30011 elf_machine_lazy_rel): Likewise.
30012 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30013 dl_hwcap via passed in argument.
30014 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30015 Likewise.
30016
30017 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30018
30019 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30020
30021 2011-06-06 Roland McGrath <roland@hack.frob.com>
30022
30023 [BZ #12849]
30024 * manual/fdl-1.1.texi: New file, verbatim from:
30025 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30026 * manual/lgpl-2.1.texi: New file, verbatim from:
30027 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30028 * manual/Makefile (licenses): New variable, list those new file names.
30029 (texis): Use it.
30030 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30031
30032 * manual/fdl.texi: File removed.
30033 * manual/lesser.texi: File removed.
30034 * manual/libc.texinfo (Copying, Documentation License):
30035 Use new @include file names, put @appendix directive before @include.
30036
30037 2011-06-04 Jakub Jelinek <jakub@redhat.com>
30038
30039 [BZ #12841]
30040 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30041 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30042 (mq_open): Add __NTH.
30043
30044 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30045
30046 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30047 Assume Intel Core i3/i5/i7 processor if AVX is available.
30048
30049 2011-05-31 Ulrich Drepper <drepper@gmail.com>
30050
30051 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30052 typo.
30053
30054 2011-05-31 Andreas Schwab <schwab@redhat.com>
30055
30056 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30057 memory. Use alloca_account. Fix memory leak when retrying.
30058
30059 2011-05-31 Ulrich Drepper <drepper@gmail.com>
30060
30061 * version.h (RELEASE): Bump for 2.14 release.
30062 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30063
30064 * config.make.in (RANLIB): Remove entry.
30065
30066 2011-05-30 Ulrich Drepper <drepper@gmail.com>
30067
30068 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30069 (libc.pot): Work around missing support for .ksh extension in xgettext.
30070
30071 [BZ #12684]
30072 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30073 if both request failed.
30074 (send_dg): In case of server errors clear resplen or *resplen2.
30075
30076 [BZ #12454]
30077 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30078 when there are multiple maps.
30079 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30080 (_dl_fini): Remove test here.
30081
30082 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30083
30084 2011-05-29 Ulrich Drepper <drepper@gmail.com>
30085
30086 [BZ #12350]
30087 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30088 bit from old_res_options.
30089 (gaih_inet): Likewise.
30090
30091 [BZ #11099]
30092 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
30093 as signed.
30094
30095 * resolv/res_init.c (res_setoptions): Make the code more compact.
30096
30097 [BZ #11558]
30098 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30099 set RES_USEVC.
30100
30101 [BZ #11634]
30102 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30103
30104 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30105
30106 [BZ #11781]
30107 * malloc/malloc.h: Declare malloc hook variables as volatile.
30108
30109 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30110 in last patch.
30111
30112 [BZ #11799]
30113 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
30114 raise in the comment.
30115 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30116 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30117 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
30118
30119 2011-05-28 Ulrich Drepper <drepper@gmail.com>
30120
30121 [BZ #12811]
30122 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30123 grow the buffers more if it already has to be sufficient.
30124 (build_wcs_upper_buffer): Likewise.
30125 * posix/regexec.c (check_matching): Likewise.
30126 (clean_state_log_if_needed): Likewise.
30127 (extend_buffers): Don't enlarge buffers beyond size of the input
30128 buffer.
30129 Patches mostly by Emil Wojak <emil@wojak.eu>.
30130 * posix/bug-regex32.c: New file.
30131 * posix/Makefile (tests): Add bug-regex32.
30132
30133 * locale/findlocale.c (_nl_find_locale): Return right away if
30134 _nl_explode_name failed.
30135 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30136
30137 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30138
30139 * debug/xtrace.sh: Unify messages.
30140 * malloc/memusage.sh: Likewise.
30141
30142 [BZ #12813]
30143 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30144 time symbol from vDSO. Substitute with vsyscall if not available.
30145 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30146 __vdso_time.
30147
30148 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30149 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30150 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30151 Add sendmmsg and internal_sendmmsg.
30152 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30153 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30154 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30155
30156 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30157 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30158 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30159
30160 2011-05-27 Ulrich Drepper <drepper@gmail.com>
30161
30162 [BZ #12813]
30163 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30164 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30165 available.
30166 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30167 __vdso_getcpu.
30168
30169 [BZ #12814]
30170 * iconvdata/Makefile (tests): Add bug-iconv9.
30171 * iconvdata/bug-iconv9.c: New file.
30172
30173 2011-05-27 Andreas Schwab <schwab@redhat.com>
30174
30175 [BZ #12814]
30176 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30177
30178 2011-05-25 Jakub Jelinek <jakub@redhat.com>
30179
30180 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30181 (struct user_regs_struct): Change intcs field back to cs.
30182
30183 2011-05-25 Ulrich Drepper <drepper@gmail.com>
30184
30185 * po/ja.po: Update from translation team.
30186
30187 2011-05-23 Ulrich Drepper <drepper@gmail.com>
30188
30189 [BZ #12795]
30190 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30191 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30192
30193 2011-05-20 Andreas Schwab <schwab@redhat.com>
30194
30195 * stdlib/longlong.h: Update from GCC.
30196
30197 2011-05-23 Andreas Schwab <schwab@redhat.com>
30198
30199 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30200 parameter name.
30201 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30202 Add parameter name.
30203 (__sysconf): Pass it down.
30204
30205 2011-05-22 Ulrich Drepper <drepper@gmail.com>
30206
30207 [BZ #12671]
30208 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30209 some situations.
30210 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30211 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30212 add in in __libc_use_alloca calls. Adjust callers.
30213 (glob): Use malloc in some situations.
30214
30215 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30216 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30217 pltexit.
30218
30219 2011-05-21 Ulrich Drepper <drepper@gmail.com>
30220
30221 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30222 and CLOCK_BOOTTIME_ALARM.
30223
30224 [BZ #12782]
30225 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30226 is returned.
30227
30228 * string/_strerror.c (__strerror_r): Print negative errors as signed
30229 numbers.
30230
30231 [BZ #12777]
30232 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30233 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30234 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30235
30236 * configure.in: Fix typo in redirection and correct removal of test
30237 files in two cases.
30238
30239 [BZ #12788]
30240 * locale/setlocale.c (new_composite_name): Fix test to check for
30241 identical name of all categories.
30242
30243 [BZ #12792]
30244 * libio/filedoalloc.c (local_isatty): New function.
30245 (_IO_file_doallocate): Use local_isatty.
30246 * stdio-common/perror.c (perror): In case a new stream is used
30247 forward the stream error.
30248 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30249 error flag.
30250
30251 2011-05-20 Ulrich Drepper <drepper@gmail.com>
30252
30253 [BZ #11869]
30254 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30255 alloca.
30256 * include/alloca.h (extend_alloca_account): Define.
30257
30258 [BZ #11857]
30259 * posix/regex.h: Fix comments with documentation of user-accessible
30260 fields after compilation and describe correct free'ing of pattern
30261 after re_compile_pattern.
30262 Patch by Reuben Thomas <rrt@sc3d.org>.
30263
30264 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30265
30266 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30267 and -mno-altivec to prevent the compiler from using Altivec and/or
30268 VSX instructions when the corresponding registers are not available.
30269
30270 2011-05-19 Andreas Schwab <schwab@redhat.com>
30271
30272 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30273
30274 2011-05-19 Ulrich Drepper <drepper@gmail.com>
30275
30276 * libio/freopen.c (freopen): Use __dup2, not dup2.
30277 * libio/freopen64.c (freopen64): Likewise.
30278
30279 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30280
30281 [BZ #12775]
30282 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30283 * math/Makefile (tests): Add test-powl.
30284 (CFLAGS-test-powl.c): Define.
30285 * math/test-powl.c: New file.
30286
30287 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30288
30289 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30290
30291 2011-05-17 Ulrich Drepper <drepper@gmail.com>
30292
30293 [BZ #11837]
30294 * iconvdata/gb18030.c: Update to GB18020-2005.
30295
30296 2011-05-16 Ulrich Drepper <drepper@gmail.com>
30297
30298 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30299 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30300 Patch by Aharon Robbins <arnold@skeeve.com>.
30301
30302 [BZ #11892]
30303 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30304 on the stack.
30305
30306 [BZ #11895]
30307 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30308 through underflows.
30309
30310 [BZ #12766]
30311 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30312 point to strings before performing equality test for error_one_per_line
30313 mode.
30314
30315 [BZ #11697]
30316 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30317
30318 [BZ #11820]
30319 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30320 (struct user_fpregs_struct): Avoid __uint*_t types.
30321
30322 [BZ #6420]
30323 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30324 symbol info. Use it instead of calling _dl_addr locally.
30325 (lock_and_info): New function.
30326 (tr_freehook): Call lock_and_info and pass symbol info as additional
30327 parameter to tr_where.
30328 (tr_mallochook): Likewise.
30329 (tr_reallochook): Likewise.
30330 (tr_memalignhook): Likewise.
30331
30332 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30333 used and couldn't be at all thread-safe.
30334
30335 2011-05-15 Ulrich Drepper <drepper@gmail.com>
30336
30337 * libio/freopen.c (freopen): Don't close old file descriptor
30338 before the new one is opened. Instead dup the new file descriptor
30339 to the old one after the new stream is created.
30340 * libio/freopen64.c (freopen64): Likewise.
30341 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30342 * libio/fileops.c (_IO_new_file_close_it): Handle new
30343 _IO_FLAGS2_NOCLOSE flag.
30344 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30345 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30346 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30347 _IO_FLAGS2_NOCLOSE flag.
30348 * include/unistd.h: Add hidden_proto for dup3.
30349 Define __have_dup3.
30350 * io/dup3.c: Define hidden symbol.
30351 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30352
30353 [BZ #7101]
30354 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30355 when an incomplete long option is used.
30356 * posix/tst-getopt_long1.c: New file.
30357 * posix/Makefile (tests): Add tst-getopt_long1.
30358
30359 [BZ #10138]
30360 * scripts/config.guess: Update from autoconf-2.68.
30361 * scripts/config.sub: Likewise.
30362
30363 [BZ #10157]
30364 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30365 tests into ...
30366 (has_cpuclock): ...this. New function.
30367 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30368 macro here based on has_cpuclock code.
30369
30370 [BZ #10149]
30371 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30372 First byte (not low byte) is now always NUL.
30373 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30374
30375 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30376 Use non-cancelable interfaces.
30377
30378 [BZ #9809]
30379 * locale/iso-639.def: Add entry for Sorani.
30380
30381 [BZ #11901]
30382 * include/stdlib.h: Move include protection to the right place.
30383 Define abort_msg_s. Declare __abort_msg with it.
30384 * stdlib/abort.c (__abort_msg): Adjust type.
30385 * assert/assert.c (__assert_fail_base): New function. Majority
30386 of code from __assert_fail. Allocate memory for __abort_msg with
30387 mmap.
30388 (__assert_fail): Now call __assert_fail_base.
30389 * assert/assert-perr.c: Remove bulk of implementation. Use
30390 __assert_fail_base.
30391 * include/assert.hL Declare __assert_fail_base.
30392 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30393 mmap.
30394 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30395
30396 2011-05-14 Ulrich Drepper <drepper@gmail.com>
30397
30398 [BZ #11952]
30399 [BZ #12453]
30400 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30401 until all modules are registered in the DTV.
30402 * elf/Makefile: Add rules to build and run tst-tls19.
30403 * elf/tst-tls19.c: New file.
30404 * elf/tst-tls19mod1.c: New file.
30405 * elf/tst-tls19mod2.c: New file.
30406 * elf/tst-tls19mod3.c: New file.
30407 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30408
30409 [BZ #12083]
30410 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30411 correctly.
30412
30413 [BZ #12601]
30414 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30415 two-byte sequence errors.
30416 * iconvdata/Makefile (tests): Add bug-iconv8.
30417 * iconvdata/bug-iconv8.c: New file.
30418
30419 [BZ #12626]
30420 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30421 buf2 definition.
30422
30423 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30424
30425 [BZ #12432]
30426 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30427 (dummy_getcfa): New function.
30428 (init): Get _Unwind_GetCFA address, use dummy if not found.
30429 (backtrace_helper): In recursion check, also check whether CFA changes.
30430 (__backtrace): Completely initialize arg.
30431
30432 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
30433 storing incomplete byte sequence in state object. Avoid testing for
30434 guaranteed too small input if we know there is enough data available.
30435
30436 2011-05-11 Andreas Schwab <schwab@redhat.com>
30437
30438 * Makeconfig (+link-pie): Indent.
30439 * Rules (binaries-pie): Define if $(have-fpie) and
30440 $(build-shared).
30441 (binaries-shared): Also filter out $(binaries-pie).
30442 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30443 * nscd/Makefile (others-pie): Add nscd.
30444 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30445 ($(objpfx)nscd): Remove command override.
30446 * login/Makefile (others-pie): Add pt_chown.
30447 ($(objpfx)pt_chown): Remove command override.
30448 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30449 remove command overrides.
30450
30451 2011-05-13 Ulrich Drepper <drepper@gmail.com>
30452
30453 * libio/tst_putwc.c: Fix error messages.
30454
30455 [BZ #12724]
30456 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30457 currently writing and seek to current position when not.
30458 * libio/Makefile (tests): Add bug-fclose1.
30459 * libio/bug-fclose1.c: New file.
30460
30461 2011-05-12 Ulrich Drepper <drepper@gmail.com>
30462
30463 [BZ #12511]
30464 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30465 don't set DF_1_NODELETE here.
30466 (do_lookup_x): When entering new entry test for copy relocation
30467 and if necessary set DF_1_NODELETE flag.
30468 * elf/tst-unique4.cc: New file.
30469 * elf/tst-unique4.h: New file.
30470 * elf/tst-unique4lib.cc: New file.
30471 * elf/Makefile: Add rules to build and run tst-unique4.
30472 Patch by Piotr Bury <pbury@goahead.com>.
30473
30474 2011-05-11 Ulrich Drepper <drepper@gmail.com>
30475
30476 [BZ #12052]
30477 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30478
30479 [BZ #12625]
30480 * misc/mntent_r.c (addmntent): Flush the stream after the output
30481
30482 [BZ #12393]
30483 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30484 (is_trusted_path_normalize): Skip initial colon. Append slash
30485 to empty buffer. Duplicate is_trusted_path code but allow
30486 constructed patch to be prefix.
30487 (is_dst): Allow $ORIGIN followed by /.
30488 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30489 Correct testing of result of is_trusted_path_normalize
30490 (decompose_rpath): Fix warning.
30491
30492 2011-05-10 Ulrich Drepper <drepper@gmail.com>
30493
30494 [BZ #11257]
30495 * grp/initgroups.c (internal_getgrouplist): When we found the service
30496 list through the initgroups entry in nsswitch.conf do not always
30497 continue on a successful lookup. Don't always use the
30498 __nss_group_database value if it is set.
30499 * nss/nsswitch.conf (initgroups): Change action for successful db
30500 lookup to continue for compatibility.
30501
30502 2011-05-09 Ulrich Drepper <drepper@gmail.com>
30503
30504 [BZ #11532]
30505 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30506 and CP774 modules.
30507 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30508 and CP774 modules.
30509 * iconvdata/tst-tables.sh: Likewise.
30510 * iconvdata/cp770.c: New file.
30511 * iconvdata/cp771.c: New file.
30512 * iconvdata/cp772.c: New file.
30513 * iconvdata/cp773.c: New file.
30514 * iconvdata/cp774.c: New file.
30515 * iconvdata/testdata/CP770: New file.
30516 * iconvdata/testdata/CP770..UTF8: New file.
30517 * iconvdata/testdata/CP771: New file.
30518 * iconvdata/testdata/CP771..UTF8: New file.
30519 * iconvdata/testdata/CP772: New file.
30520 * iconvdata/testdata/CP772..UTF8: New file.
30521 * iconvdata/testdata/CP773: New file.
30522 * iconvdata/testdata/CP773..UTF8: New file.
30523 * iconvdata/testdata/CP774: New file.
30524 * iconvdata/testdata/CP774..UTF8: New file.
30525
30526 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30527 END CHARMAP line.
30528 * iconvdata/gen-8bit-gap.sh: Likewise.
30529 * iconvdata/gen-8bit.sh: Likewise.
30530
30531 * locale/iso-639.def: Add ary entry.
30532
30533 [BZ #11258]
30534 * locale/C-translit.h.in: Add U20A1 transliteration.
30535
30536 [BZ #12178]
30537 * locale/iso-639.def: Add wae entry.
30538 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30539
30540 [BZ #12545]
30541 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30542 for n.
30543
30544 [BZ #12711]
30545 * locale/C-translit.h.in: Add entry for U20B9.
30546 Patch by pravin.d.s@gmail.com.
30547
30548 2011-05-08 Ulrich Drepper <drepper@gmail.com>
30549
30550 [BZ #12713]
30551 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30552 ENAMETOOLONG use generic getcwd.
30553 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30554 in rtld. Use *stat64.
30555 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
30556 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
30557 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
30558 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30559 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30560 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30561 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30562 __fstatat64 macros.
30563 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30564 * dirent/rewinddir.c: Add libc_hidden_def.
30565 * sysdeps/mach/hurd/rewinddir.c: Likewise.
30566 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
30567
30568 * include/dirent.h (__alloc_dir): Add flags parameter.
30569 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30570 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30571 __alloc_dir.
30572 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30573 from fdopendir if O_CLOEXEC is already set.
30574
30575 2011-03-15 Alan Modra <amodra@gmail.com>
30576
30577 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30578 l_tls_firstbyte_offset non-zero. Save padding offset in
30579 l_tls_firstbyte_offset for later use.
30580 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30581 freeing static tls block.
30582
30583 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30584
30585 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30586 where #ifdef was intended. The intent is to prevent ARG_MAX from
30587 being defined by the kernel headers.
30588
30589 2011-05-07 Ulrich Drepper <drepper@gmail.com>
30590
30591 [BZ #12734]
30592 * resolv/resolv.h: Define RES_NOTLDQUERY.
30593 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30594 no-tld-query and set RES_NOTLDQUERY.
30595 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30596 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30597 modern BIND to search name as TLD unless forbidden.
30598
30599 2011-05-07 Petr Baudis <pasky@suse.cz>
30600 Ulrich Drepper <drepper@gmail.com>
30601
30602 [BZ #12393]
30603 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30604 (is_trusted_path): ...to here.
30605 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
30606 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
30607 using is_trusted_path_normalize() in setuid scripts.
30608
30609 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30610
30611 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30612 __BEGIN/__END_DECLS.
30613
30614 2011-05-06 Ulrich Drepper <drepper@gmail.com>
30615
30616 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30617 NSS_STATUS_NOTFOUND if no record was found.
30618
30619 2011-05-05 Andreas Schwab <schwab@redhat.com>
30620
30621 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30622 (headers-not-in-tirpc): Remove rpc/netdb.h
30623 * resolv/netdb.h: Revert last change.
30624
30625 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30626
30627 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30628 circular dependency between libgcc.a and libc.a.
30629
30630 2011-05-05 Andreas Schwab <schwab@redhat.com>
30631
30632 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30633 * nis/Makefile: Don't install rpcsvc/*.
30634 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30635 instead of <rpc/types.h>.
30636 (MAXHOSTNAMELEN): Define.
30637
30638 2011-05-03 Andreas Schwab <schwab@redhat.com>
30639
30640 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30641
30642 2011-04-28 Maciej Babinski <mbabinski@google.com>
30643
30644 [BZ #12714]
30645 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30646 gethostbyname4_r when IPv6 results are possible.
30647
30648 2011-05-02 Ulrich Drepper <drepper@gmail.com>
30649
30650 [BZ #12723]
30651 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30652 _PC_PIPE_BUF handling.
30653
30654 2011-04-30 Bruno Haible <bruno@clisp.org>
30655
30656 [BZ #12717]
30657 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30658 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30659 to 'int'.
30660 * inet/getnameinfo.c (getnameinfo): Likewise.
30661
30662 2011-04-29 Ulrich Drepper <drepper@gmail.com>
30663
30664 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30665 to groups setting in database lookup.
30666 * nss/nsswitch.conf: Add initgroups entry.
30667
30668 2011-04-22 Ulrich Drepper <drepper@gmail.com>
30669
30670 [BZ #12685]
30671 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30672 mode string.
30673 Patch by Eric Blake <eblake@redhat.com>.
30674
30675 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30676
30677 * sunrpc/Makefile (need-export-routines): Add svc_run.
30678 (routines): Remove svc_run.
30679 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30680 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30681 * sunrpc/svc_run.c (svc_run): Likewise.
30682 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30683
30684 2011-04-21 Ulrich Drepper <drepper@gmail.com>
30685
30686 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30687 problem in reallocation in last patch.
30688
30689 2011-04-20 Ulrich Drepper <drepper@gmail.com>
30690
30691 * sunrpc/Makefile: Move inclusion of Rules.
30692
30693 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30694
30695 * nss/nss_files/files-initgroups.c: New file.
30696 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30697 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30698 _nss_files_initgroups_dyn.
30699
30700 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30701
30702 * elf/elf.h (R_ARM_IRELATIVE): Define.
30703
30704 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30705
30706 * po/ru.po: Update from translation team.
30707
30708 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30709
30710 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30711 dependencies.
30712
30713 2011-02-06 Mike Frysinger <vapier@gentoo.org>
30714
30715 [BZ #12653]
30716 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30717 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30718 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30719 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30720 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30721
30722 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30723
30724 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30725 differing bytes.
30726 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30727 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30728 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30729
30730 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30731
30732 [BZ #12420]
30733 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30734 storing it.
30735 * stdlib/bug-getcontext.c: New file.
30736 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30737
30738 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30739
30740 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30741 instructions into .machine "z9-109".
30742 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30743 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30744
30745 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30746
30747 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30748 between environment variables and auxiliary vector.
30749
30750 2011-04-16 Ulrich Drepper <drepper@gmail.com>
30751
30752 * Makefile: Add rules to build linkobj/libc.so.
30753 * include/libc-symbols.h: Define libc_hidden_nolink.
30754 * include/rpc/auth.h: Mark functions which are to be hidden.
30755 * include/rpc/auth_des.h: Likewise.
30756 * include/rpc/auth_unix.h: Likewise.
30757 * include/rpc/clnt.h: Likewise.
30758 * include/rpc/des_crypt.h: Likewise.
30759 * include/rpc/key_prot.h: Likewise.
30760 * include/rpc/pmap_clnt.h: Likewise.
30761 * include/rpc/pmap_prot.h: Likewise.
30762 * include/rpc/pmap_rmt.h: Likewise.
30763 * include/rpc/rpc_msg.h: Likewise.
30764 * include/rpc/svc.h: Likewise.
30765 * include/rpc/svc_auth.h: Likewise.
30766 * include/rpc/xdr.h: Likewise.
30767 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30768 * nss/Makefile: Likewise.
30769 * sunrpc/Makefile: Don't install headers. Build library with normal
30770 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30771 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30772 for the compat linking library. Remove use of INTDEF/INTUSE.
30773 * sunrpc/auth_none.c: Likewise.
30774 * sunrpc/auth_unix.c: Likewise.
30775 * sunrpc/authdes_prot.c: Likewise.
30776 * sunrpc/authuxprot.c: Likewise.
30777 * sunrpc/clnt_gen.c: Likewise.
30778 * sunrpc/clnt_perr.c: Likewise.
30779 * sunrpc/clnt_raw.c: Likewise.
30780 * sunrpc/clnt_simp.c: Likewise.
30781 * sunrpc/clnt_tcp.c: Likewise.
30782 * sunrpc/clnt_udp.c: Likewise.
30783 * sunrpc/clnt_unix.c: Likewise.
30784 * sunrpc/des_crypt.c: Likewise.
30785 * sunrpc/des_soft.c: Likewise.
30786 * sunrpc/get_myaddr.c: Likewise.
30787 * sunrpc/key_call.c: Likewise.
30788 * sunrpc/key_prot.c: Likewise.
30789 * sunrpc/netname.c: Likewise.
30790 * sunrpc/pm_getmaps.c: Likewise.
30791 * sunrpc/pm_getport.c: Likewise.
30792 * sunrpc/pmap_clnt.c: Likewise.
30793 * sunrpc/pmap_prot.c: Likewise.
30794 * sunrpc/pmap_prot2.c: Likewise.
30795 * sunrpc/pmap_rmt.c: Likewise.
30796 * sunrpc/publickey.c: Likewise.
30797 * sunrpc/rpc_cmsg.c: Likewise.
30798 * sunrpc/rpc_common.c: Likewise.
30799 * sunrpc/rpc_dtable.c: Likewise.
30800 * sunrpc/rpc_prot.c: Likewise.
30801 * sunrpc/rpc_thread.c: Likewise.
30802 * sunrpc/rtime.c: Likewise.
30803 * sunrpc/svc.c: Likewise.
30804 * sunrpc/svc_auth.c: Likewise.
30805 * sunrpc/svc_authux.c: Likewise.
30806 * sunrpc/svc_raw.c: Likewise.
30807 * sunrpc/svc_run.c: Likewise.
30808 * sunrpc/svc_simple.c: Likewise.
30809 * sunrpc/svc_tcp.c: Likewise.
30810 * sunrpc/svc_udp.c: Likewise.
30811 * sunrpc/svc_unix.c: Likewise.
30812 * sunrpc/svcauth_des.c: Likewise.
30813 * sunrpc/xcrypt.c: Likewise.
30814 * sunrpc/xdr.c: Likewise.
30815 * sunrpc/xdr_array.c: Likewise.
30816 * sunrpc/xdr_float.c: Likewise.
30817 * sunrpc/xdr_intXX_t.c: Likewise.
30818 * sunrpc/xdr_mem.c: Likewise.
30819 * sunrpc/xdr_rec.c: Likewise.
30820 * sunrpc/xdr_ref.c: Likewise.
30821 * sunrpc/xdr_sizeof.c: Likewise.
30822 * sunrpc/xdr_stdio.c: Likewise.
30823
30824 2011-04-10 Ulrich Drepper <drepper@gmail.com>
30825
30826 [BZ #12650]
30827 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30828 * sysdeps/ia64/dl-tls.h: Likewise.
30829 * sysdeps/powerpc/dl-tls.h: Likewise.
30830 * sysdeps/s390/dl-tls.h: Likewise.
30831 * sysdeps/sh/dl-tls.h: Likewise.
30832 * sysdeps/sparc/dl-tls.h: Likewise.
30833 * sysdeps/x86_64/dl-tls.h: Likewise.
30834 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30835
30836 2011-03-14 Andreas Schwab <schwab@redhat.com>
30837
30838 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30839 rpath element also skip the following colon.
30840 (expand_dynamic_string_token): Add is_path parameter and pass
30841 down to DL_DST_REQUIRED and _dl_dst_substitute.
30842 (decompose_rpath): Call expand_dynamic_string_token with
30843 non-zero is_path. Ignore empty rpaths.
30844 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30845 with zero is_path.
30846
30847 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30848
30849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30850 Make cancelable.
30851
30852 2011-04-09 Ulrich Drepper <drepper@gmail.com>
30853
30854 [BZ #12655]
30855 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30856 Patch by Filipe David Manana <fdmanana@apache.org>.
30857
30858 2011-04-07 Andreas Schwab <schwab@redhat.com>
30859
30860 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30861 Maintain aligned stack.
30862 (CHECK_RSP): Remove unused macro.
30863
30864 2011-04-03 Ulrich Drepper <drepper@gmail.com>
30865
30866 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30867 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30868
30869 2011-04-02 Ulrich Drepper <drepper@gmail.com>
30870
30871 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30872
30873 * include/features.h: Mention __USE_XOPEN2K8 in comment.
30874
30875 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30876
30877 [BZ #12518]
30878 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30879 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30880 * sysdeps/x86_64/memmove.c: New file.
30881 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30882 (memcpy): Renamed to ...
30883 (__new_memcpy): This.
30884 (memcpy): Provide GLIBC_2_14 memcpy.
30885 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30886 (memcpy): Provide GLIBC_2_2_5 memcpy.
30887
30888 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30889
30890 [BZ #12631]
30891 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30892
30893 2011-03-30 Andreas Schwab <schwab@redhat.com>
30894
30895 * misc/syncfs.c: New file.
30896 * misc/Makefile (routines): Add syncfs.
30897 * posix/unistd.h: Declare syncfs.
30898 * sysdeps/unix/syscalls.list: Add syncfs.
30899
30900 2011-04-01 Andreas Schwab <schwab@redhat.com>
30901
30902 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30903 open_by_handle_at.
30904 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30905 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30906 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30907 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30908 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30909 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30910 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30911
30912 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30913
30914 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30915 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30916 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30917 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30918 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30919 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30920 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30921
30922 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30923 sync_file_range.c with -fexceptions.
30924 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30925 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30926 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30927 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30928 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30929 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30930 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
30931 sync_file_range as cancellation point
30932 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30933 now a wrapper around __call_sync_file_range with cancellation handling.
30934 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30935 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30936 function name to __call_sync_file_range.
30937 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30938 Add call_sync_file_range.
30939
30940 2011-04-01 Andreas Schwab <schwab@redhat.com>
30941
30942 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30943 bits/timex.h.
30944
30945 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30946
30947 * iconv/iconv.h: Fix typo in comment.
30948 * io/fcntl.h: Likewise.
30949 * libio/stdio.h: Likewise.
30950 * posix/spawn.h: Likewise.
30951 * posix/unistd.h: Likewise.
30952 * stdlib/stdlib.h: Likewise.
30953 * time/time.h: Likewise.
30954 * wcsmbs/wchar.h: Likewise.
30955
30956 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30957 open_by_handle): Add.
30958 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30959 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30960 Augment a few comments.
30961 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30962 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30963 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30964 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30965 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30966 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30967 open_by_handle.
30968
30969 * io/fcntl.h (AT_EMPTY_PATH): Define.
30970
30971 2011-03-30 Ulrich Drepper <drepper@gmail.com>
30972
30973 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30974 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30975 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30976 to...
30977 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
30978 * Versions.def: Add GLIBC_2.14.
30979 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30980 Export.
30981
30982 2011-03-22 Ulrich Drepper <drepper@gmail.com>
30983
30984 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30985 round counter.
30986 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30987
30988 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30989
30990 [BZ #12597]
30991 * string/test-strncmp.c (do_page_test): New function.
30992 (check2): Likewise.
30993 (test_main): Call check2.
30994 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30995
30996 2011-03-20 Ulrich Drepper <drepper@gmail.com>
30997
30998 [BZ #12587]
30999 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31000 Handle cache information in CPU leaf 4.
31001 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31002
31003 2011-03-18 Ulrich Drepper <drepper@gmail.com>
31004
31005 [BZ #12583]
31006 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31007 character representation.
31008 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31009
31010 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31011
31012 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31013 END(__isnan) to END(__isnanf) to match function entry point/label
31014 EALIGN(__isnanf,...).
31015
31016 2011-03-10 Jakub Jelinek <jakub@redhat.com>
31017
31018 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31019
31020 2011-03-10 Ulrich Drepper <drepper@gmail.com>
31021
31022 [BZ #12510]
31023 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31024 copy from the symbol referenced in the relocation to initialize the
31025 used variable.
31026 Patch by Piotr Bury <pbury@goahead.com>.
31027 * elf/Makefile: Add rules to build and tst-unique3.
31028 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31029 * elf/tst-unique3.cc: New file.
31030 * elf/tst-unique3.h: New file.
31031 * elf/tst-unique3lib.cc: New file.
31032 * elf/tst-unique3lib2.cc: New file.
31033
31034 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31035
31036 2011-03-10 Mike Frysinger <vapier@gentoo.org>
31037
31038 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31039 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31040 to _start.
31041
31042 2011-03-06 Ulrich Drepper <drepper@gmail.com>
31043
31044 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31045 to-be-loaded object along a path to loader is ld.so.
31046
31047 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31048 Ulrich Drepper <drepper@gmail.com>
31049
31050 * sysdeps/x86_64/memset.S: After aligning destination, code
31051 branches to different locations depending on the value of
31052 misalignment, when multiarch is enabled. Fix this.
31053
31054 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31055
31056 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31057 Set _x86_64_preferred_memory_instruction for AMD processsors.
31058 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31059 Set bit_Prefer_SSE_for_memop for AMD processors.
31060
31061 2011-03-04 Ulrich Drepper <drepper@gmail.com>
31062
31063 * libio/fmemopen.c (fmemopen): Optimize a bit.
31064
31065 2011-03-03 Andreas Schwab <schwab@redhat.com>
31066
31067 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31068
31069 2011-03-03 Roland McGrath <roland@redhat.com>
31070
31071 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31072
31073 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31074
31075 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
31076 __bzero_ultra1 instead of __memset_ultra1.
31077
31078 2011-02-23 Andreas Schwab <schwab@redhat.com>
31079 Ulrich Drepper <drepper@gmail.com>
31080
31081 [BZ #12509]
31082 * include/link.h (struct link_map): Add l_orig_initfini.
31083 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31084 returning unsuccessfully.
31085 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31086 close of a file loaded at startup, restore the original l_initfini
31087 list.
31088 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31089 list, store the pointer.
31090 * elf/Makefile ($(objpfx)noload-mem): New rule.
31091 (noload-ENV): Define.
31092 (tests): Add $(objpfx)noload-mem.
31093 * elf/noload.c: Include <memcheck.h>.
31094 (main): Call mtrace. Close all opened handles.
31095
31096 2011-02-17 Andreas Schwab <schwab@redhat.com>
31097
31098 [BZ #12454]
31099 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31100 dependencies are missing.
31101
31102 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31103
31104 Fix __if_freereq crash: Unlike the generic version which uses free,
31105 Hurd needs munmap.
31106 * sysdeps/mach/hurd/ifreq.h: New file.
31107
31108 2011-01-27 Petr Baudis <pasky@suse.cz>
31109 Ulrich Drepper <drepper@gmail.com>
31110
31111 [BZ 12445]#
31112 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31113 to extend_alloca().
31114 * stdio-common/bug23.c: New file.
31115 * stdio-common/Makefile (tests): Add bug23.
31116
31117 2010-09-28 Andreas Schwab <schwab@redhat.com>
31118 Ulrich Drepper <drepper@gmail.com>
31119
31120 [BZ #12489]
31121 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31122 before performing relro protection. At old place add assertion
31123 to make sure nothing changed.
31124
31125 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31126 Glauber de Oliveira Costa <glommer@gmail.com>
31127
31128 * elf/elf.h: Add new ARM TLS relocs.
31129
31130 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31131
31132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31133 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31134 cast from r3.
31135 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31136 'tests' variable.
31137 * sysdeps/wordsize-64/tst-writev.c: New file.
31138
31139 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31140
31141 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31142 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31143 insns in _dl_start to prevent a TOC reference before relocs are
31144 resolved.
31145
31146 2011-02-15 Ulrich Drepper <drepper@gmail.com>
31147
31148 [BZ #12469]
31149 * Makeconfig: Remove RANLIB definition.
31150 * Makerules: Don't use RANLIB.
31151 * aclocal.m4: Remove ranlib test.
31152 * configure.in: No need to check for ranlib.
31153 * elf/rtld-Rules: Don't use RANLIB.
31154
31155 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31156
31157 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31158 protection macro.
31159 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31160 inclusion protection macro.
31161
31162 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31163 SIGRTMIN and SIGRTMAX and print information in that case only when
31164 SIGRTMIN is defined.
31165
31166 2011-02-11 Jakub Jelinek <jakub@redhat.com>
31167
31168 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31169 arginfo fn returning -1.
31170
31171 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31172 and thousands string is zero terminated.
31173
31174 2011-02-03 Andreas Schwab <schwab@redhat.com>
31175
31176 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31177 sysdeps/unix/sysv/linux/bits/socket.h.
31178
31179 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31180
31181 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31182 (__CPU_COUNT): Remove old macros.
31183 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31184 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31185 (__CPU_ALLOC, __CPU_FREE): Add macros.
31186 (__sched_cpualloc, __sched_cpufree): Add declarations.
31187
31188 2011-02-05 Ulrich Drepper <drepper@gmail.com>
31189
31190 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31191 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31192 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31193 (readdhstai): Return value of addhstaiX call.
31194 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31195 (addgrbyX): Return value returned by cache_addgr.
31196 (readdgrbyname): Return value returned by addgrbyX.
31197 (readdgrbygid): Likewise.
31198 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31199 (addpwbyX): Return value returned by cache_addpw.
31200 (readdpwbyname): Return value returned by addhstbyX.
31201 (readdpwbyuid): Likewise.
31202 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31203 (addservbyX): Return value returned by cache_addserv.
31204 (readdservbyname): Return value returned by addservbyX:
31205 (readdservbyport): Likewise.
31206 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31207 (addhstbyX): Return value returned by cache_addhst.
31208 (readdhstbyname): Return value returned by addhstbyX.
31209 (readdhstbyaddr): Likewise.
31210 (readdhstbynamev6): Likewise.
31211 (readdhstbyaddrv6): Likewise.
31212 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31213 (readdinitgroups): Return value returned by addinitgroupsX.
31214 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31215 (prune_cache): Keep track of timeout value of re-added entries.
31216 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31217 * nscd/nscd.h: Adjust prototypes of readd* functions.
31218
31219 2011-02-04 Roland McGrath <roland@redhat.com>
31220
31221 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31222 (nis_stats): Likewise.
31223 * nis/nis_modify.c (nis_modify): Likewise.
31224 * nis/nis_remove.c (nis_remove): Likewise.
31225 * nis/nis_add.c (nis_add): Likewise.
31226
31227 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31228
31229 * posix/fnmatch_loop.c: Add some consts.
31230
31231 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31232
31233 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31234
31235 [BZ #12460]
31236 * config.make.in (config-cflags-novzeroupper): Define.
31237 * configure.in: Substitute libc_cv_cc_novzeroupper.
31238 * elf/Makefile (AVX-CFLAGS): Define.
31239 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31240 (CFLAGS-tst-auditmod4a.c): Likewise.
31241 (CFLAGS-tst-auditmod4b.c): Likewise.
31242 (CFLAGS-tst-auditmod6b.c): Likewise.
31243 (CFLAGS-tst-auditmod6c.c): Likewise.
31244 (CFLAGS-tst-auditmod7b.c): Likewise.
31245 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31246
31247 2011-02-02 Ulrich Drepper <drepper@gmail.com>
31248
31249 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31250 function to the callback.
31251 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31252
31253 2011-02-02 Andreas Schwab <schwab@redhat.com>
31254
31255 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31256 of errno.
31257
31258 2011-01-19 Ulrich Drepper <drepper@gmail.com>
31259
31260 [BZ #11724]
31261 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31262 of constructors.
31263 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31264 of destructors.
31265 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31266
31267 [BZ #11724]
31268 * elf/Makefile: Add rules to build and run new test.
31269 * elf/tst-initorder.c: New file.
31270 * elf/tst-initorder.exp: New file.
31271 * elf/tst-initordera1.c: New file.
31272 * elf/tst-initordera2.c: New file.
31273 * elf/tst-initordera3.c: New file.
31274 * elf/tst-initordera4.c: New file.
31275 * elf/tst-initorderb1.c: New file.
31276 * elf/tst-initorderb2.c: New file.
31277 * elf/tst-order-a1.c: New file.
31278 * elf/tst-order-a2.c: New file.
31279 * elf/tst-order-a3.c: New file.
31280 * elf/tst-order-a4.c: New file.
31281 * elf/tst-order-b1.c: New file.
31282 * elf/tst-order-b2.c: New file.
31283 * elf/tst-order-main.c: New file.
31284 New test case by George Gensure <werkt0@gmail.com>.
31285
31286 2010-10-01 Andreas Schwab <schwab@redhat.com>
31287
31288 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31289 decoding ACE if AI_CANONIDN.
31290
31291 2011-01-18 Ulrich Drepper <drepper@gmail.com>
31292
31293 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31294
31295 2011-01-17 Ulrich Drepper <drepper@gmail.com>
31296
31297 * version.h (RELEASE): Bump for 2.13 release.
31298 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31299
31300 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31301
31302 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31303 MADV_NOHUGEPAGE.
31304 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31305 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31306 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31307 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31308 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31309 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31310
31311 * posix/getconf.c: Update copyright year.
31312 * catgets/gencat.c: Likewise.
31313 * csu/version.c: Likewise.
31314 * debug/catchsegv.sh: Likewise.
31315 * debug/xtrace.sh: Likewise.
31316 * elf/ldconfig.c: Likewise.
31317 * elf/ldd.bash.in: Likewise.
31318 * elf/sprof.c (print_version): Likewise.
31319 * iconv/iconv_prog.c: Likewise.
31320 * iconv/iconvconfig.c: Likewise.
31321 * locale/programs/locale.c: Likewise.
31322 * locale/programs/localedef.c: Likewise.
31323 * malloc/memusage.sh: Likewise.
31324 * malloc/mtrace.pl: Likewise.
31325 * nscd/nscd.c (print_version): Likewise.
31326 * nss/getent.c: Likewise.
31327
31328 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31329 PF_CAIF, and PF_ALG.
31330 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31331
31332 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31333
31334 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31335 (modules-names): Use them.
31336 (ifunc-test-modules, ifunc-pie-tests): Define.
31337 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31338 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31339 (test-extras): Likewise.
31340 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31341 $(compile-command.c).
31342 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31343 (all-built-dso): Define.
31344 (check-textrel.out, check-execstack.out): Depend on it.
31345
31346 * configure.in: Don't override --enable-multi-arch.
31347
31348 2011-01-15 Ulrich Drepper <drepper@gmail.com>
31349
31350 [BZ #6812]
31351 * nscd/hstcache.c (tryagain): Define.
31352 (cache_addhst): Return tryagain not notfound for temporary errors.
31353 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31354 failed.
31355
31356 2011-01-14 Ulrich Drepper <drepper@gmail.com>
31357
31358 [BZ #10563]
31359 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31360 to make the syscall.
31361 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31362
31363 [BZ #12378]
31364 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31365 and fall back to matching as normal character if the string ends before
31366 the matching ']' is found. This is what POSIX requires.
31367 * posix/testfnm.c: Adjust test result.
31368 * posix/globtest.sh: Adjust test result. Add new test.
31369 * posix/tst-fnmatch.input: Likewise.
31370 * posix/tst-fnmatch2.c: Add new test.
31371
31372 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31373
31374 * elf/Makefile (check-execstack): Revert last change. Depend on
31375 check-execstack.h.
31376 (check-execstack.h): New target.
31377 (generated): Add check-execstack.h.
31378 * elf/check-execstack.c: Include "check-execstack.h".
31379 (main): Revert last change.
31380 (handle_file): Return zero if GNU_STACK is absent and
31381 DEFAULT_STACK_PERMS doesn't include PF_X.
31382
31383 2011-01-13 Ulrich Drepper <drepper@gmail.com>
31384
31385 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31386 in child fails because the descriptor is already closed.
31387 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31388 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31389 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
31390
31391 [BZ #12397]
31392 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31393 syscall.
31394
31395 [BZ #10484]
31396 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31397 temporary buffer used to handle multi lookups locally.
31398 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
31399
31400 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31401
31402 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31403 loader is ld.so.
31404
31405 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31406
31407 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31408 alignment for SSE2.
31409
31410 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31411
31412 [BZ #12394]
31413 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31414 characters. When rounding increased number of integer digits recompute
31415 number of groups.
31416 * stdio-common/tst-grouping.c: New file.
31417 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31418
31419 2011-01-09 Ulrich Drepper <drepper@gmail.com>
31420
31421 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31422 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31423
31424 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31425 void.
31426 * bits/select.h: Likewise.
31427
31428 2011-01-08 Ulrich Drepper <drepper@gmail.com>
31429
31430 * po/ja.po: Update from translation team.
31431
31432 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
31433
31434 [BZ #11155]
31435 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31436 implementation just like for lxstat, fxstatat, et al.
31437
31438 2010-12-27 Jim Meyering <meyering@redhat.com>
31439
31440 [BZ #12348]
31441 * posix/regexec.c (build_trtable): Return failure indication upon
31442 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31443
31444 2010-12-25 Ulrich Drepper <drepper@gmail.com>
31445
31446 [BZ #12201]
31447 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31448 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31449 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31450 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31451
31452 [BZ #12207]
31453 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31454
31455 [BZ #12204]
31456 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31457 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31458
31459 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31460
31461 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31462 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31463 script has SORT_BY_INIT_PRIORITY.
31464 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31465 NO_CTORS_DTORS_SECTIONS is defined.
31466 * elf/soinit.c: Likewise.
31467 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31468 NO_CTORS_DTORS_SECTIONS is defined.
31469 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31470 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31471 * sysdeps/sh/init-first.c: Likewise.
31472 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31473
31474 2010-12-24 Ulrich Drepper <drepper@gmail.com>
31475
31476 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31477 always use the slow path.
31478
31479 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31480
31481 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31482 similar rule which adds the sysdep directories to the header search in
31483 order to pick up the correct platform stackinfo.h.
31484 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31485 perform test if it is, otherwise return successfully without testing.
31486 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31487 DEFAULT_STACK_PERMS define in stackinfo.h.
31488 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31489 defined in stackinfo.h.
31490 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31491 DEFAULT_STACK_PERMS defined in stackinfo.h.
31492 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31493 * sysdeps/ia64/stackinfo.h: Likewise.
31494 * sysdeps/s390/stackinfo.h: Likewise.
31495 * sysdeps/sh/stackinfo.h: Likewise.
31496 * sysdeps/sparc/stackinfo.h: Likewise.
31497 * sysdeps/x86_64/stackinfo.h: Likewise.
31498 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31499 PF_X for powerpc64. Retain PF_X for powerpc32.
31500
31501 2010-12-19 Ulrich Drepper <drepper@gmail.com>
31502
31503 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31504 accurately.
31505 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31506 GETDENTS_64BIT_ALIGNED.
31507
31508 2010-12-14 Ulrich Drepper <dreper@gmail.com>
31509
31510 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
31511
31512 2010-12-10 Andreas Schwab <schwab@redhat.com>
31513
31514 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31515 _GNU_SOURCE.
31516
31517 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31518 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31519 Remove __restrict.
31520 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31521 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31522
31523 2010-12-09 Ulrich Drepper <drepper@gmail.com>
31524
31525 [BZ #11655]
31526 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31527 are initialized.
31528
31529 2010-12-09 Jakub Jelinek <jakub@redhat.com>
31530
31531 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31532
31533 2010-12-03 Ulrich Drepper <drepper@gmail.com>
31534
31535 * po/it.po: Update from translation team.
31536
31537 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31538
31539 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31540 unused codes.
31541
31542 2010-11-30 Ulrich Drepper <drepper@gmail.com>
31543
31544 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31545
31546 2010-11-24 Andreas Schwab <schwab@redhat.com>
31547
31548 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31549 specially.
31550 (gaih_getanswer_slice): Likewise.
31551
31552 2010-10-20 Jakub Jelinek <jakub@redhat.com>
31553
31554 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31555
31556 2010-05-31 Petr Baudis <pasky@suse.cz>
31557
31558 [BZ #11149]
31559 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31560 silently even in the chroot mode.
31561
31562 2010-11-22 Ulrich Drepper <drepper@gmail.com>
31563
31564 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31565 last patch a bit. Pretty printing
31566
31567 2010-05-31 Petr Baudis <pasky@suse.cz>
31568
31569 [BZ #10085]
31570 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31571 initialization of skip_initgroups_dyn.
31572
31573 2010-11-19 Ulrich Drepper <drepper@gmail.com>
31574
31575 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31576 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31577
31578 2010-11-16 Ulrich Drepper <drepper@gmail.com>
31579
31580 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31581
31582 2010-11-11 Andreas Schwab <schwab@redhat.com>
31583
31584 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31585 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31586 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31587 ($(objpfx)tst-fnmatch-mem): New rule.
31588 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31589 * posix/tst-fnmatch.c (main): Call mtrace.
31590
31591 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31592
31593 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31594 Support Intel processor model 6 and model 0x2c.
31595
31596 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
31597
31598 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31599 signed comparison.
31600
31601 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31602
31603 [BZ #12205]
31604 * string/test-strncasecmp.c (check_result): New function.
31605 (do_one_test): Use it.
31606 (check1): New function.
31607 (test_main): Use it.
31608 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31609 Support strcasecmp and strncasecmp.
31610
31611 2010-11-08 Ulrich Drepper <drepper@gmail.com>
31612
31613 [BZ #12194]
31614 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31615 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31616
31617 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31618
31619 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31620 IFUNC support.
31621 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31622 memset-x86-64.
31623 * sysdeps/x86_64/multiarch/bzero.S: New file.
31624 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31625 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31626 * sysdeps/x86_64/multiarch/memset.S: New file.
31627 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31628 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31629 Set bit_Prefer_SSE_for_memop for Intel processors.
31630 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31631 Define.
31632 (index_Prefer_SSE_for_memop): Define.
31633 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31634
31635 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
31636
31637 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31638 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31639
31640 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31641
31642 [BZ #12191]
31643 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31644 (__x86_64_raw_data_cache_size_half): Likewise.
31645 (__x86_64_raw_shared_cache_size): Likewise.
31646 (__x86_64_raw_shared_cache_size_half): Likewise.
31647
31648 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31649 (__x86_64_raw_data_cache_size_half): Likewise.
31650 (__x86_64_raw_shared_cache_size): Likewise.
31651 (__x86_64_raw_shared_cache_size_half): Likewise.
31652 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31653 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31654 and __x86_64_raw_shared_cache_size_half. Round
31655 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31656 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31657 to multiple of 256 bytes.
31658
31659 2010-11-03 Ulrich Drepper <drepper@gmail.com>
31660
31661 [BZ #12167]
31662 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31663 of inacessible symlinks. Verify result of symlink before returning it.
31664 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31665 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31666
31667 2010-10-28 Erich Ritz <erichritz@gmail.com>
31668
31669 * math/math.h (isinf): Fix typo in comment.
31670
31671 2010-11-01 Ulrich Drepper <drepper@gmail.com>
31672
31673 * po/da.po: Update from translation team.
31674
31675 2010-10-26 Ulrich Drepper <drepper@gmail.com>
31676
31677 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31678 is added to the list.
31679
31680 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31681 Ulrich Drepper <drepper@gmail.com>
31682
31683 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31684 the global list here. Move code to...
31685 (_dl_add_to_namespace_list): ...here. New function.
31686 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31687 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31688 * elf/dl-load.c (lose): Don't remove the element from the list.
31689 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31690 (_dl_map_object): Likewise.
31691
31692 2010-10-25 Ulrich Drepper <drepper@gmail.com>
31693
31694 [BZ #12159]
31695 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31696 into all bytes of SSE register.
31697 Patch by Richard Li <richardpku@gmail.com>.
31698
31699 2010-10-24 Ulrich Drepper <drepper@gmail.com>
31700
31701 [BZ #12140]
31702 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31703 perturbing.
31704
31705 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31706
31707 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31708 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31709 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31710 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31712 submachine.
31713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31714
31715 2010-10-22 Andreas Schwab <schwab@redhat.com>
31716
31717 * include/dlfcn.h (__RTLD_SECURE): Define.
31718 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31719 mode & __RTLD_SECURE instead.
31720 (open_path): Rename preloaded parameter to secure.
31721 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31722 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31723 * elf/dl-deps.c (openaux): Likewise.
31724 * elf/rtld.c (struct map_args): Remove is_preloaded.
31725 (map_doit): Don't use it.
31726 (dl_main): Likewise.
31727 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31728 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31729
31730 2010-09-09 Andreas Schwab <schwab@redhat.com>
31731
31732 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31733 (sysd-rules-targets): Remove duplicates.
31734 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31735 rtld-%.$o dependency.
31736
31737 2010-10-18 Andreas Schwab <schwab@redhat.com>
31738
31739 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31740 _dl_map_object do it.
31741
31742 2010-10-19 Ulrich Drepper <drepper@gmail.com>
31743
31744 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31745 fast fma builtins, define the macros in the C99 standard.
31746 (FP_FAST_FMAF): Likewise.
31747 (FP_FAST_FMAL): Likewise.
31748 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31749
31750 * bits/mathdef.h: Update copyright year.
31751 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31752
31753 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31754
31755 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31756 builtins, define the macros in the C99 standard.
31757 (FP_FAST_FMAF): Likewise.
31758 (FP_FAST_FMAL): Likewise.
31759 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31760 multiply/add.
31761 (FP_FAST_FMAF): Likewise.
31762
31763 2010-10-15 Jakub Jelinek <jakub@redhat.com>
31764
31765 [BZ #3268]
31766 * math/libm-test.inc (fma_test): Some new testcases.
31767 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31768 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31769 y and infinite z. Do multiplication by C already in long double.
31770 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31771 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31772 y and infinite z. Do bitwise or of inexact bit into u.d.
31773 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31774 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31775 * sysdeps/i386/fpu/s_fma.S: Removed.
31776 * sysdeps/i386/fpu/s_fmal.S: Removed.
31777
31778 2010-10-16 Jakub Jelinek <jakub@redhat.com>
31779
31780 [BZ #3268]
31781 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31782 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31783 computation is not scheduled after fetestexcept. Fix value
31784 of minimum denormal long double.
31785
31786 2010-10-14 Jakub Jelinek <jakub@redhat.com>
31787
31788 [BZ #3268]
31789 * math/libm-test.inc (fma_test): Add some more tests.
31790 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31791 correctly.
31792
31793 2010-10-15 Andreas Schwab <schwab@redhat.com>
31794
31795 * scripts/data/localplt-s390-linux-gnu.data: New file.
31796 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31797
31798 2010-10-13 Jakub Jelinek <jakub@redhat.com>
31799
31800 [BZ #3268]
31801 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31802 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31803 instead of dbl-64.
31804 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31805 inlines.
31806 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31807 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31808 if one of x and y is very large and the other is subnormal.
31809 * sysdeps/s390/fpu/s_fmaf.c: New file.
31810 * sysdeps/s390/fpu/s_fma.c: New file.
31811 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31812 * sysdeps/powerpc/fpu/s_fma.S: New file.
31813 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31814 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31815 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31816
31817 2010-10-12 Jakub Jelinek <jakub@redhat.com>
31818
31819 [BZ #3268]
31820 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31821 fma tests.
31822 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31823 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31824 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31825 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31826 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31827 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31828 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31829
31830 2010-10-12 Ulrich Drepper <drepper@redhat.com>
31831
31832 [BZ #12078]
31833 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31834 * posix/bug-regex31.input: Add test case.
31835
31836 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31837
31838 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31839 * posix/bug-regex31.input: New file.
31840
31841 [BZ #12078]
31842 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31843 (parse_sub_exp): Fix last change, use postorder.
31844
31845 * posix/bug-regex31.c: New file.
31846 * posix/Makefile: Add rules to build and run bug-regex31.
31847
31848 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31849
31850 [BZ #12078]
31851 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31852
31853 [BZ #12108]
31854 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31855 to have entries in sys_siglist.
31856
31857 [BZ #12093]
31858 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31859 be NULL.
31860
31861 2010-10-07 Jakub Jelinek <jakub@redhat.com>
31862
31863 [BZ #3268]
31864 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31865 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31866 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31867 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31868 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31869 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31870 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31871 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31872 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31873 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31874 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31875 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31876 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31877 * math/ftestexcept.c (fetestexcept): Likewise.
31878 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31879 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31880 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31881 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31882 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31883 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31884 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31885
31886 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31887
31888 [BZ #12107]
31889 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31890 newline.
31891
31892 2010-10-06 Ulrich Drepper <drepper@gmail.com>
31893
31894 * string/bug-strstr1.c: New file.
31895 * string/Makefile: Add rules to build and run bug-strstr1.
31896
31897 2010-10-05 Eric Blake <eblake@redhat.com>
31898
31899 [BZ #12092]
31900 * string/str-two-way.h (two_way_long_needle): Always clear memory
31901 when skipping input due to the shift table.
31902
31903 2010-10-03 Ulrich Drepper <drepper@gmail.com>
31904
31905 [BZ #12005]
31906 * malloc/mcheck.c: Handle large requests.
31907
31908 [BZ #12077]
31909 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31910 for strncmp and strncasecmp.
31911 * string/stratcliff.c: Add tests for strcmp and strncmp.
31912 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31913
31914 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31915
31916 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31917 __set_fpscr.
31918
31919 2010-09-30 Andreas Jaeger <aj@suse.de>
31920
31921 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31922 (CGROUP_SUPER_MAGIC): Define.
31923 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31924 Handle btrfs and cgroup file systems.
31925 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31926 Likewise.
31927
31928 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
31929
31930 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31931 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31932
31933 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31934
31935 [BZ #12067]
31936 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31937 trying to locate the ELF header.
31938
31939 2010-09-27 Andreas Schwab <schwab@redhat.com>
31940
31941 [BZ #11611]
31942 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31943 Mask out sign-bit copies when constructing f_fsid.
31944
31945 2010-09-24 Petr Baudis <pasky@suse.cz>
31946
31947 * debug/stack_chk_fail_local.c: Add missing licence exception.
31948 * debug/warning-nop.c: Likewise.
31949
31950 2010-09-15 Joseph Myers <joseph@codesourcery.com>
31951
31952 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31953 implementing getdents64 using getdents syscall, set d_type if
31954 __ASSUME_GETDENTS32_D_TYPE.
31955
31956 2010-09-16 Andreas Schwab <schwab@redhat.com>
31957
31958 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31959 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31960
31961 2010-09-21 Ulrich Drepper <drepper@redhat.com>
31962
31963 [BZ #12037]
31964 * posix/unistd.h: Undo change of feature selection for ftruncate from
31965 2010-01-11.
31966
31967 2010-09-20 Ulrich Drepper <drepper@redhat.com>
31968
31969 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
31970 detection.
31971
31972 2010-09-20 Andreas Schwab <schwab@redhat.com>
31973
31974 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31975 fanotify_mark.
31976 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31977
31978 2010-09-14 Andreas Schwab <schwab@redhat.com>
31979
31980 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31981 variables after CHECK_SP call.
31982 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31983
31984 2010-09-13 Andreas Schwab <schwab@redhat.com>
31985 Ulrich Drepper <drepper@redhat.com>
31986
31987 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31988 re-relocationg ld.so.
31989 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31990 _dl_init_paths call.
31991 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31992 here anymore.
31993
31994 2010-09-14 Ulrich Drepper <drepper@redhat.com>
31995
31996 * resolv/res_init.c (__res_vinit): Count the default server we added.
31997
31998 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31999 Ulrich Drepper <drepper@redhat.com>
32000
32001 [BZ #11968]
32002 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32003 (____longjmp_chk): Use %ebx for saving value across system call.
32004 Add unwind info.
32005
32006 2010-09-06 Andreas Schwab <schwab@redhat.com>
32007
32008 * manual/Makefile: Don't mix pattern rules with normal rules.
32009
32010 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32011
32012 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32013 operation.
32014 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32015 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32016 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32017 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32018 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32019 Likewise.
32020
32021 2010-09-04 Ulrich Drepper <drepper@redhat.com>
32022
32023 [BZ #11979]
32024 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32025 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32026
32027 2010-09-02 Ulrich Drepper <drepper@redhat.com>
32028
32029 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32030 * sysdeps/x86_64/addmul_1.S: Likewise.
32031 * sysdeps/x86_64/lshift.S: Likewise.
32032 * sysdeps/x86_64/mul_1.S: Likewise.
32033 * sysdeps/x86_64/rshift.S: Likewise.
32034 * sysdeps/x86_64/sub_n.S: Likewise.
32035 * sysdeps/x86_64/submul_1.S: Likewise.
32036
32037 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32038
32039 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32040 Define __sched_param instead of SCHED_* and sched_param when
32041 <bits/sched.h> is included with __need_schedparam defined.
32042 * bits/sched.h [__need_schedparam]
32043 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
32044 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32045 (__defined_schedparam): Define to 1.
32046 (__sched_param): New structure, identical to sched_param.
32047 (__need_schedparam): Undefine.
32048
32049 2010-08-31 Mike Frysinger <vapier@gentoo.org>
32050
32051 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32052 (epoll_create1): Declare.
32053
32054 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32055
32056 2010-08-31 Andreas Schwab <schwab@redhat.com>
32057
32058 [BZ #7066]
32059 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32060 shifting retval into place.
32061
32062 2010-09-01 Ulrich Drepper <drepper@redhat.com>
32063
32064 * nis/rpcsvc/nis.h: Update copyright notice.
32065 * nis/rpcsvc/nis.x: Likewise.
32066 * nis/rpcsvc/nis_callback.h: Likewise.
32067 * nis/rpcsvc/nis_callback.x: Likewise.
32068 * nis/rpcsvc/nis_object.x: Likewise.
32069 * nis/rpcsvc/nis_tags.h: Likewise.
32070 * nis/rpcsvc/yp.h: Likewise.
32071 * nis/rpcsvc/yp.x: Likewise.
32072 * nis/rpcsvc/ypupd.h: Likewise.
32073 * nis/yp_xdr.c: Likewise.
32074 * nis/ypupdate_xdr.c: Likewise.
32075
32076 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32077 mainly the body of pmap_getport. Add parameters to specify timeouts.
32078 (pmap_getport): Use __libc_rpc_getport.
32079 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32080 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32081 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32082
32083 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32084
32085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32086 fanotify_mark.
32087
32088 2010-08-27 Roland McGrath <roland@redhat.com>
32089
32090 * sysdeps/i386/i686/multiarch/Makefile
32091 (CFLAGS-varshift.c): New variable.
32092
32093 2010-08-27 Ulrich Drepper <drepper@redhat.com>
32094
32095 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32096 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32097
32098 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32099
32100 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32101
32102 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32103
32104 * sysdeps/x86_64/strlen.S: Unroll the loop.
32105 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32106 strlen-sse2 strlen-sse2-bsf.
32107 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32108 __strlen_no_bsf if bit_Slow_BSF is set.
32109 (__strlen_sse42): Removed.
32110 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32111 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32112
32113 2010-08-25 Roland McGrath <roland@redhat.com>
32114
32115 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32116 * sysdeps/x86_64/multiarch/varshift.c: New file.
32117 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32118 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32119 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32120 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32121
32122 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32123
32124 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32125 strlen-sse2 strlen-sse2-bsf.
32126 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32127 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32128 (__strlen_sse2): Removed.
32129 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32130 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32131 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32132 bit_Slow_BSF for Atom.
32133 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32134 (index_Slow_BSF): Define.
32135 (HAS_SLOW_BSF): Define.
32136
32137 2010-08-25 Ulrich Drepper <drepper@redhat.com>
32138
32139 [BZ #10851]
32140 * resolv/res_init.c (__res_vinit): When no server address at all
32141 is given default to loopback.
32142
32143 2010-08-24 Roland McGrath <roland@redhat.com>
32144
32145 * configure.in: Remove config-name.h generation.
32146 * configure: Regenerated.
32147 * config-name.in: File removed.
32148 * scripts/config-uname.sh: New file.
32149 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32150 ($(objdir)config-name.h): New target.
32151
32152 * sunrpc/rpc_parse.h: Avoid nested comment.
32153
32154 2010-08-24 Richard Henderson <rth@redhat.com>
32155 Ulrich Drepper <drepper@redhat.com>
32156 H.J. Lu <hongjiu.lu@intel.com>
32157
32158 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32159 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32160 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32161 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32162 _mm_alignr_epi8 with _mm_loadu_si128.
32163 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32164 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32165 (__m128i_shift_right): Removed.
32166 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32167 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32168 * sysdeps/x86_64/multiarch/varshift.h: New file.
32169 * sysdeps/x86_64/multiarch/varshift.S: New file.
32170
32171 2010-08-21 Mike Frysinger <vapier@gentoo.org>
32172
32173 * configure.in: Move assembler checks to before sysdep dir checking.
32174
32175 2010-08-20 Petr Baudis <pasky@suse.cz>
32176
32177 * LICENSES: Sync the sunrpc license.
32178
32179 2010-08-19 Ulrich Drepper <drepper@redhat.com>
32180
32181 * sunrpc/auth_des.c: Update copyright notice once again.
32182 * sunrpc/auth_none.c: Likewise.
32183 * sunrpc/auth_unix.c: Likewise.
32184 * sunrpc/authdes_prot.c: Likewise.
32185 * sunrpc/authuxprot.c: Likewise.
32186 * sunrpc/bindrsvprt.c: Likewise.
32187 * sunrpc/clnt_gen.c: Likewise.
32188 * sunrpc/clnt_perr.c: Likewise.
32189 * sunrpc/clnt_raw.c: Likewise.
32190 * sunrpc/clnt_simp.c: Likewise.
32191 * sunrpc/clnt_tcp.c: Likewise.
32192 * sunrpc/clnt_udp.c: Likewise.
32193 * sunrpc/clnt_unix.c: Likewise.
32194 * sunrpc/des_crypt.c: Likewise.
32195 * sunrpc/des_soft.c: Likewise.
32196 * sunrpc/get_myaddr.c: Likewise.
32197 * sunrpc/getrpcport.c: Likewise.
32198 * sunrpc/key_call.c: Likewise.
32199 * sunrpc/key_prot.c: Likewise.
32200 * sunrpc/openchild.c: Likewise.
32201 * sunrpc/pm_getmaps.c: Likewise.
32202 * sunrpc/pm_getport.c: Likewise.
32203 * sunrpc/pmap_clnt.c: Likewise.
32204 * sunrpc/pmap_prot.c: Likewise.
32205 * sunrpc/pmap_prot2.c: Likewise.
32206 * sunrpc/pmap_rmt.c: Likewise.
32207 * sunrpc/rpc/auth.h: Likewise.
32208 * sunrpc/rpc/auth_unix.h: Likewise.
32209 * sunrpc/rpc/clnt.h: Likewise.
32210 * sunrpc/rpc/des_crypt.h: Likewise.
32211 * sunrpc/rpc/key_prot.h: Likewise.
32212 * sunrpc/rpc/netdb.h: Likewise.
32213 * sunrpc/rpc/pmap_clnt.h: Likewise.
32214 * sunrpc/rpc/pmap_prot.h: Likewise.
32215 * sunrpc/rpc/pmap_rmt.h: Likewise.
32216 * sunrpc/rpc/rpc.h: Likewise.
32217 * sunrpc/rpc/rpc_des.h: Likewise.
32218 * sunrpc/rpc/rpc_msg.h: Likewise.
32219 * sunrpc/rpc/svc.h: Likewise.
32220 * sunrpc/rpc/svc_auth.h: Likewise.
32221 * sunrpc/rpc/types.h: Likewise.
32222 * sunrpc/rpc/xdr.h: Likewise.
32223 * sunrpc/rpc_clntout.c: Likewise.
32224 * sunrpc/rpc_cmsg.c: Likewise.
32225 * sunrpc/rpc_common.c: Likewise.
32226 * sunrpc/rpc_cout.c: Likewise.
32227 * sunrpc/rpc_dtable.c: Likewise.
32228 * sunrpc/rpc_hout.c: Likewise.
32229 * sunrpc/rpc_main.c: Likewise.
32230 * sunrpc/rpc_parse.c: Likewise.
32231 * sunrpc/rpc_parse.h: Likewise.
32232 * sunrpc/rpc_prot.c: Likewise.
32233 * sunrpc/rpc_sample.c: Likewise.
32234 * sunrpc/rpc_scan.c: Likewise.
32235 * sunrpc/rpc_scan.h: Likewise.
32236 * sunrpc/rpc_svcout.c: Likewise.
32237 * sunrpc/rpc_tblout.c: Likewise.
32238 * sunrpc/rpc_util.c: Likewise.
32239 * sunrpc/rpc_util.h: Likewise.
32240 * sunrpc/rpcinfo.c: Likewise.
32241 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32242 * sunrpc/rpcsvc/key_prot.x: Likewise.
32243 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32244 * sunrpc/rpcsvc/mount.x: Likewise.
32245 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32246 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32247 * sunrpc/rpcsvc/rex.x: Likewise.
32248 * sunrpc/rpcsvc/rstat.x: Likewise.
32249 * sunrpc/rpcsvc/rusers.x: Likewise.
32250 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32251 * sunrpc/rpcsvc/spray.x: Likewise.
32252 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32253 * sunrpc/rtime.c: Likewise.
32254 * sunrpc/svc.c: Likewise.
32255 * sunrpc/svc_auth.c: Likewise.
32256 * sunrpc/svc_authux.c: Likewise.
32257 * sunrpc/svc_raw.c: Likewise.
32258 * sunrpc/svc_run.c: Likewise.
32259 * sunrpc/svc_simple.c: Likewise.
32260 * sunrpc/svc_tcp.c: Likewise.
32261 * sunrpc/svc_udp.c: Likewise.
32262 * sunrpc/svc_unix.c: Likewise.
32263 * sunrpc/svcauth_des.c: Likewise.
32264 * sunrpc/xcrypt.c: Likewise.
32265 * sunrpc/xdr.c: Likewise.
32266 * sunrpc/xdr_array.c: Likewise.
32267 * sunrpc/xdr_float.c: Likewise.
32268 * sunrpc/xdr_mem.c: Likewise.
32269 * sunrpc/xdr_rec.c: Likewise.
32270 * sunrpc/xdr_ref.c: Likewise.
32271 * sunrpc/xdr_sizeof.c: Likewise.
32272 * sunrpc/xdr_stdio.c: Likewise.
32273
32274 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32275 handling.
32276
32277 2010-08-19 Andreas Schwab <schwab@redhat.com>
32278
32279 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32280
32281 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
32282
32283 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32284 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32285 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32286 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32287 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32288 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32289 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32290 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32291 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32292 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32293 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32294 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32295 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32296 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32297
32298 2010-07-26 Anton Blanchard <anton@samba.org>
32299
32300 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32301 * malloc/arena.c (heap_trim): Likewise.
32302
32303 2010-08-16 Ulrich Drepper <drepper@redhat.com>
32304
32305 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32306 here. Not...
32307 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32308 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32309
32310 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32311
32312 * sysdeps/i386/elf/Makefile: New file.
32313
32314 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32315
32316 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32317 from fanotify_init.
32318 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32319 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32320
32321 2010-08-15 Ulrich Drepper <drepper@redhat.com>
32322
32323 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32324 of strncasecmp_l.
32325 * sysdeps/multiarch/strcmp.S: Likewise.
32326
32327 2010-08-14 Ulrich Drepper <drepper@redhat.com>
32328
32329 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32330 strncase_l-nonascii.
32331 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32332 Add strncase_l-ssse3.
32333 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32334 * sysdeps/x86_64/strcmp.S: Likewise.
32335 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32336 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32337 * sysdeps/x86_64/strncase.S: New file.
32338 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32339 * sysdeps/x86_64/strncase_l.S: New file.
32340 * string/Makefile (strop-tests): Add strncasecmp.
32341 * string/test-strncasecmp.c: New file.
32342
32343 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32344 warning.
32345
32346 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32347 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32348
32349 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32350
32351 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32352
32353 2010-08-12 Ulrich Drepper <drepper@redhat.com>
32354
32355 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32356 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32357 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32358
32359 2010-05-01 Alan Modra <amodra@gmail.com>
32360
32361 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32362 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32363 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32364 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32365 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32366 tidying. Don't tail-call __sigjmp_save for static lib.
32367 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32368 save location.
32369 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32370 (CALL_MCOUNT): Add eh info, and nop after bl.
32371 (TAIL_CALL_SYSCALL_ERROR): New macro.
32372 (PSEUDO_RET): Use it.
32373 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32374 Correct save location of integer regs and cr.
32375 (_dl_profile_resolve): Correct cr save location. Delete nops
32376 after bl when SHARED. Reduce cfi size a little by better
32377 placement of cfi directives.
32378 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32379 make a stack frame. Instead use parm save area as a temp.
32380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32381 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32383 Don't make a stack frame for parent, use parm save area.
32384 Increase child stack frame to 112 bytes. Don't save unused reg,
32385 and adjust reg usage. Set up cfi on error recovery and
32386 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32388 (__makecontext): Add dummy nop after jump to exit.
32389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32390 Use correct parm save area and cr save, reduce stack frame.
32391 Correct cfi for possible PSEUDO_RET frame setup.
32392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32393 Branch to local label emitted by PSEUDO_RET rather than
32394 __syscall_error.
32395
32396 2010-08-12 Andreas Schwab <schwab@redhat.com>
32397
32398 [BZ #11904]
32399 * locale/programs/locale.c (print_assignment): New function.
32400 (show_locale_vars): Use it.
32401
32402 2010-08-11 Ulrich Drepper <drepper@redhat.com>
32403
32404 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32405 field.
32406 (struct statfs64): Likewise.
32407 (_STATFS_F_FLAGS): Define.
32408 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32409 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32410 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32411 (ST_VALID): Define locally.
32412 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32413 __statvfs_getflags, use the provided value.
32414 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32415 __ASSUME_STATFS_F_FLAGS.
32416
32417 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32418
32419 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32420 Add sys/fanotify.h.
32421 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32422 fanotify_mask for GLIBC_2.13.
32423 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32424 fanotify_init and fanotify_mark.
32425 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32426 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32427
32428 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32429 Add prlimit.
32430 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32431 prlimit64 for GLIBC_2.13.
32432 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32433 prlimit64.
32434 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32435 syscall.
32436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32437 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32438 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32439 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32440 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32441 add prlimit alias.
32442 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32443
32444 [BZ #11903]
32445 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32446 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32447
32448 * nss/Makefile: Add rules to build and run tst-nss-test1.
32449 * shlib-versions: Add entry for libnss_test1.
32450 * nss/nss_test1.c: New file.
32451 * nss/tst-nss-test1.c: New file.
32452
32453 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32454 (__nss_configure_lookup): Set appropriate entry in
32455 __nss_configure_lookup to true.
32456 * nss/nsswitch.h: Define enum with indeces of databases in
32457 databases and __nss_database_custom arrays. Declare
32458 __nss_database_custom.
32459 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32460 to avoid using nscd when custom rules are installed.
32461 * nss/getXXbyYY_r.c: Likewise.
32462 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32463
32464 * nss/nss_files/files-parse.c: Whitespace fixes.
32465
32466 2010-08-09 Ulrich Drepper <drepper@redhat.com>
32467
32468 [BZ #11883]
32469 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32470 * posix/fnmatch_loop.c: Likewise.
32471
32472 2010-07-17 Andi Kleen <ak@linux.intel.com>
32473
32474 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32475 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32476 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32477 * Versions.def [GLIBC_2.13]: Add.
32478
32479 2010-08-06 Ulrich Drepper <drepper@redhat.com>
32480
32481 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32482 Also fail if tpwd after pwuid call is NULL.
32483
32484 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32485
32486 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32487 when converting to ms.
32488
32489 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32490
32491 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32492 EOPNOTSUPP errors with ENOTTY.
32493 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32494 EOPNOTSUPP errors with ENOTTY.
32495
32496 2010-07-31 Ulrich Drepper <drepper@redhat.com>
32497
32498 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32499 Add strcasecmp_l-ssse3.
32500 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32501 strcasecmp.
32502 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32503 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32504 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32505
32506 2010-07-30 Ulrich Drepper <drepper@redhat.com>
32507
32508 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32509
32510 * string/Makefile (strop-tests): Add strcasecmp.
32511 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32512 strcasecmp_l-nonascii.
32513 (gen-as-const-headers): Add locale-defines.sym.
32514 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32515 * sysdeps/x86_64/strcasecmp.S: New file.
32516 * sysdeps/x86_64/strcasecmp_l.S: New file.
32517 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32518 * sysdeps/x86_64/locale-defines.sym: New file.
32519 * string/test-strcasecmp.c: New file.
32520
32521 * string/test-strcasestr.c: Test both ends of the range of characters.
32522 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32523
32524 2010-07-29 Roland McGrath <roland@redhat.com>
32525
32526 [BZ #11856]
32527 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32528
32529 2010-07-27 Ulrich Drepper <drepper@redhat.com>
32530
32531 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32532 for ld.so.
32533
32534 2010-07-27 Andreas Schwab <schwab@redhat.com>
32535
32536 * manual/memory.texi (Malloc Tunable Parameters): Document
32537 M_PERTURB.
32538
32539 2010-07-26 Roland McGrath <roland@redhat.com>
32540
32541 [BZ #11840]
32542 * configure.in (-fgnu89-inline check): Set and substitute
32543 gnu89_inline, not libc_cv_gnu89_inline.
32544 * configure: Regenerated.
32545 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32546
32547 2010-07-26 Ulrich Drepper <drepper@redhat.com>
32548
32549 * string/test-strnlen.c: New file.
32550 * string/Makefile (strop-tests): Add strnlen.
32551 * string/tester.c (test_strnlen): Add a few more test cases.
32552 * string/tst-strlen.c: Better error reporting.
32553
32554 * sysdeps/x86_64/strnlen.S: New file.
32555
32556 2010-07-24 Ulrich Drepper <drepper@redhat.com>
32557
32558 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32559 lower-latency instructions.
32560
32561 2010-07-23 Ulrich Drepper <drepper@redhat.com>
32562
32563 * string/test-strcasestr.c: New file.
32564 * string/test-strstr.c: New file.
32565 * string/Makefile (strop-tests): Add strstr and strcasestr.
32566 * string/str-two-way.h: Don't undefine MAX.
32567 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32568
32569 2010-07-21 Andreas Schwab <schwab@redhat.com>
32570
32571 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32572 strcasestr-nonascii.
32573 (CFLAGS-strcasestr-nonascii.c): Define.
32574 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32575 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32576 Remove unused attribute.
32577
32578 2010-07-20 Roland McGrath <roland@redhat.com>
32579
32580 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32581 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32582 ld.so.cache was broken. With it, there is no way to disable dsocaps
32583 like LD_HWCAP_MASK can disable hwcaps.
32584
32585 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32586
32587 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32588
32589 2010-07-16 Ulrich Drepper <drepper@redhat.com>
32590
32591 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32592 call in strcasestr.
32593 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32594 __strcasestr_sse42_nonascii.
32595 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32596 strcasestr-nonascii.c.
32597 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32598
32599 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
32600
32601 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32602 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32603 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32604 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32605
32606 2010-07-09 Ulrich Drepper <drepper@redhat.com>
32607
32608 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32609 fcntl.
32610
32611 2010-07-06 Andreas Schwab <schwab@redhat.com>
32612
32613 [BZ #11577]
32614 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32615 dl_signal_cerror.
32616
32617 2010-07-06 Ulrich Drepper <drepper@redhat.com>
32618
32619 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32620 _PC_PIPE_BUF using F_GETPIPE_SZ.
32621
32622 2010-07-05 Roland McGrath <roland@redhat.com>
32623
32624 * manual/arith.texi (Rounding Functions): Fix rint description
32625 implicit in round description.
32626
32627 2010-07-02 Ulrich Drepper <drepper@redhat.com>
32628
32629 * elf/Makefile: Fix linking for a few tests to make recent linker
32630 happy.
32631
32632 2010-06-30 Andreas Schwab <schwab@redhat.com>
32633
32634 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32635 $(common-objpfx)libc_nonshared.a.
32636
32637 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
32638
32639 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32640 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32641 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32642 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32643 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32644 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32645 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32646 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32661 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32662 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32663 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32664 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32665 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32666 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32667 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32668 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32669 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32670 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32671 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32672 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32687
32688 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32689
32690 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32691 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32692 * string/memmove.c (memmove): Renamed to ...
32693 (MEMMOVE): ...this. Default to memmove.
32694 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32695 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32696 (END_CHK): Define.
32697 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32698 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32699 mempcpy-ssse3-back memmove-ssse3-back.
32700 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32701 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32702 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32703 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32704 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32705 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32706 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32707 * sysdeps/x86_64/multiarch/memmove.c: New file.
32708 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32709 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32710 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32711 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32712 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32713 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32714 Define.
32715 (index_Fast_Copy_Backward): Define.
32716 (HAS_ARCH_FEATURE): Define.
32717 (HAS_FAST_REP_STRING): Define.
32718 (HAS_FAST_COPY_BACKWARD): Define.
32719
32720 2010-06-21 Andreas Schwab <schwab@redhat.com>
32721
32722 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32723 Restore proper fallback handling.
32724
32725 2010-06-19 Ulrich Drepper <drepper@redhat.com>
32726
32727 [BZ #11701]
32728 * posix/group_member.c (__group_member): Correct checking loop.
32729
32730 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32731 OOM in getpwuid_r correctly. Return error number when the caller
32732 should return, otherwise -1.
32733 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32734 call returning > 0 value.
32735 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32736
32737 2010-06-07 Andreas Schwab <schwab@redhat.com>
32738
32739 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32740 libc_nonshared.a from targets in modules-names.
32741
32742 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32743
32744 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32745 requires it.
32746
32747 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
32748
32749 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32750 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32751 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32752 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32753
32754 2010-06-02 Andreas Schwab <schwab@redhat.com>
32755
32756 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32757
32758 2010-06-14 Ulrich Drepper <drepper@redhat.com>
32759
32760 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32761 and F_GETPIPE_SZ.
32762 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32763 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32764 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32765 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32766 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32767 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32768
32769 2010-06-14 Roland McGrath <roland@redhat.com>
32770
32771 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32772
32773 2010-06-07 Jakub Jelinek <jakub@redhat.com>
32774
32775 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32776 __REDIRECT followed by __THROW.
32777 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32778 * posix/getopt.h (getopt): Likewise.
32779
32780 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32781
32782 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32783 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32784 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32785 in AT_FLAGS.
32786 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32787 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32788
32789 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
32790
32791 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32792
32793 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32794
32795 [BZ #11640]
32796 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32797 Properly check family and model.
32798
32799 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32800
32801 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32802
32803 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
32804
32805 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32806
32807 2010-05-21 Ulrich Drepper <drepper@redhat.com>
32808
32809 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32810 symbol reference.
32811
32812 2010-05-19 Andreas Schwab <schwab@redhat.com>
32813
32814 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32815 symbol reference.
32816
32817 2010-05-21 Andreas Schwab <schwab@redhat.com>
32818
32819 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32820 and internal_recvmmsg.
32821 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32822 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32823 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32824 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32825
32826 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32827 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32828 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32829
32830 2010-05-20 Andreas Schwab <schwab@redhat.com>
32831
32832 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32833
32834 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
32835
32836 POWER7 optimizations.
32837 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32838 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32839
32840 2010-05-19 Ulrich Drepper <drepper@redhat.com>
32841
32842 * version.h: Update for 2.13 development version.
32843
32844 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
32845
32846 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32847 exceptions. Return 0.
32848
32849 2010-05-07 Roland McGrath <roland@redhat.com>
32850
32851 * elf/ldconfig.c (main): Add a const.
32852
32853 2010-05-06 Ulrich Drepper <drepper@redhat.com>
32854
32855 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32856 (args_options): Add no-idn option.
32857 (ahosts_keys_int): Add idn_flags to ai_flags.
32858 (parse_option): Handle 'i' option to clear idn_flags.
32859
32860 * malloc/malloc.c (_int_free): Possible race in the most recently
32861 added check. Only act on the data if no current modification
32862 happened.
32863
32864 See ChangeLog.17 for earlier changes.
This page took 1.414316 seconds and 6 git commands to generate.