]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
New API to set default thread attributes
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * Versions.def (libpthread): Add GLIBC_2.18.
4 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6 Likewise.
7 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8 Likewise.
9 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10 Likewise.
11 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12 Likewise.
13 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14 Likewise.
15 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16 Likewise.
17 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18 Likewise.
19 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20 Likewise.
21 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22 Likewise.
23
242013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25
26 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
28
292013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30 H.J. Lu <hjl.tools@gmail.com>
31
32 [BZ #15627]
33 * sysdeps/x86_64/rtld-memset.c: Remove file.
34 * sysdeps/x86_64/rtld-memset.S: New file.
35
362013-06-14 Joseph Myers <joseph@codesourcery.com>
37
38 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
39 (test_in_one_mode): Take arguments for whether the rounding mode
40 is supported for each floating-point type.
41 (do_test): Pass new arguments to test_in_one_mode using
42 ROUNDING_TESTS.
43
442013-06-13 Roland McGrath <roland@hack.frob.com>
45
46 * posix/tst-waitid.c (do_test): Distinguish different instances of
47 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
48 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
49 before entering the kernel for waitpid.
50
512013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
52
53 * NEWS: Fix note on clock function precision. Text by Roland
54 McGrath.
55
562013-06-13 Roland McGrath <roland@hack.frob.com>
57
58 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
59 it into place only when and if the sanity check passes.
60
612013-06-13 Joseph Myers <joseph@codesourcery.com>
62
63 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
64 output for whether conversion result is exact. Take argument
65 indicating whether type is IBM long double.
66 (round_for_all): Change need_exact field to ibm_ld.
67 * stdlib/tst-strtod-round.c (struct exactness): New type.
68 (struct test): Change bool ld_ok field to struct exactness exact.
69 (TEST): Update all definitions for change to field.
70 (tests): Regenerate array contents.
71 (test_in_one_mode): Take pointer to new field instead of old ld_ok
72 field value. Check for IBM long double here.
73 (do_test): Update calls to test_in_one_mode.
74
752013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
76
77 [BZ #12515]
78 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
79 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
80
812013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82
83 [BZ #15605]
84 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
85 generated by the compiler on loop optimizations.
86 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
87 general definitions.
88
892013-06-12 Joseph Myers <joseph@codesourcery.com>
90
91 * math/bug-nextafter.c: Include <math-tests.h>.
92 (main): Only test for exceptions if EXCEPTION_TESTS is true for
93 the relevant type.
94 * math/bug-nexttoward.c: Include <math-tests.h>.
95 (main): Only test for exceptions if EXCEPTION_TESTS is true for
96 the relevant type.
97 * math/test-misc.c: Include <math-tests.h>.
98 (main): Only test for exceptions if EXCEPTION_TESTS is true for
99 the relevant type.
100
1012013-06-12 Andreas Jaeger <aj@suse.de>
102
103 * po/ia.po: Update Interlingua translation from translation
104 project.
105
1062013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
107
108 * include/fenv.h: Include stdbool.h.
109 (struct rm_ctx): New structure.
110 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
111 Define macro.
112 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
113 (SET_RESTORE_ROUNDF): Likewise.
114 (SET_RESTORE_ROUNDL): Likewise.
115 (SET_RESTORE_ROUND_NOEX): Likewise.
116 (SET_RESTORE_ROUND_NOEXF): Likewise.
117 (SET_RESTORE_ROUND_NOEXL): Likewise.
118 (SET_RESTORE_ROUND_53BIT): Likewise.
119 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
120 (libc_feresetround_noexf_ctx): Likewise.
121 (libc_feresetround_noexl_ctx): Likewise.
122 (libc_feholdsetround_53bit_ctx): Likewise.
123 (libc_feresetround_53bit_ctx): Likewise.
124 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
125 (libc_feholdexcept_setround_sse_ctx): New function.
126 (libc_fesetenv_sse_ctx): Likewise.
127 (libc_feupdateenv_sse_ctx): Likewise.
128 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
129 (libc_feholdexcept_setround_387_ctx): Likewise.
130 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
131 (libc_feholdsetround_387_prec_ctx): Likewise.
132 (libc_feholdsetround_387_ctx): Likewise.
133 (libc_feholdsetround_387_53bit_ctx): Likewise.
134 (libc_feholdsetround_sse_ctx): Likewise.
135 (libc_feresetround_sse_ctx): Likewise.
136 (libc_feresetround_387_ctx): Likewise.
137 (libc_feupdateenv_387_ctx): Likewise.
138 (libc_feholdexcept_setroundf_ctx): Define macro.
139 (libc_fesetenvf_ctx): Likewise.
140 (libc_feupdateenvf_ctx): Likewise.
141 (libc_feholdsetroundf_ctx): Likewise.
142 (libc_feresetroundf_ctx): Likewise.
143 (libc_feholdexcept_setround_ctx): Likewise.
144 (libc_fesetenv_ctx): Likewise.
145 (libc_feupdateenv_ctx): Likewise.
146 (libc_feholdsetround_ctx): Likewise.
147 (libc_feresetround_ctx): Likewise.
148 (libc_feholdexcept_setroundl_ctx): Likewise.
149 (libc_feupdateenvl_ctx): Likewise.
150 (libc_feholdsetroundl_ctx): Likewise.
151 (libc_feresetroundl_ctx): Likewise.
152 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
153 (libc_feresetround_53bit_ctx): Likewise.
154
1552013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
156
157 * locale/iso-639.def: Convert to UTF-8.
158
1592013-06-11 Joseph Myers <joseph@codesourcery.com>
160
161 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
162 (EXCEPTION_TESTS_double): Likewise.
163 (EXCEPTION_TESTS_long_double): Likewise.
164 (EXCEPTION_TESTS): Likewise.
165 * math/libm-test.inc (test_exceptions): Only test exceptions if
166 EXCEPTION_TESTS (FLOAT).
167
1682013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
169
170 * benchtests/Makefile (string-bench): Add strcpy_chk and
171 stpcpy_chk.
172 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
173 * benchtests/bench-stpcpy_chk.c: New file.
174 * benchtests/bench-strcpy_chk-ifunc.c: New file.
175 * benchtests/bench-strcpy_chk.c: New file.
176 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
177 code.
178 (do_test): Likewise.
179
1802013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
181
182 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
183 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
184 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
185 with tabs where appropriate.
186 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
187 dl-procinfo.h.
188 [PPC_PLATFORM_PPC440]: Likewise.
189 [PPC_PLATFORM_PPC464]: Likewise.
190 [PPC_PLATFORM_PPC476]: Likewise.
191 (_dl_string_platform): Add support for detecting ppc405, ppc440,
192 ppc464, and ppc476 platform strings merging from ports/
193 dl-procinfo.h.
194
1952013-06-11 Andreas Schwab <schwab@suse.de>
196
197 [BZ #14991]
198 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
199 (from_ucs4_idx): Regenerate.
200 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
201 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
202 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
203 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
204 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
205 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
206 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
207 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
208 from FROM_LOOP and TO_LOOP specific macros.
209 (BODY): Handle combining characters.
210 * iconvdata/BIG5HKSCS.irreversible: Update.
211 * iconvdata/BIG5HKSCS.precomposed: New file.
212 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
213 characters.
214 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
215
2162013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
217
218 * include/sys/time.h: Fix indentation and add copyright header.
219
220 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
221 (do_test): Likewise.
222 * string/test-memchr.c (do_one_test): Likewise.
223 (do_test): Likewise.
224 * string/test-memcmp.c (do_one_test): Likewise.
225 (do_test): Likewise.
226 * string/test-memcpy.c (do_one_test): Likewise.
227 (do_test): Likewise.
228 * string/test-memmem.c (do_one_test): Likewise.
229 (do_test): Likewise.
230 (do_random_tests): Likewise.
231 * string/test-memmove.c (do_one_test): Likewise.
232 (do_test): Likewise.
233 * string/test-memset.c (do_one_test): Likewise.
234 (do_test): Likewise.
235 * string/test-rawmemchr.c (do_one_test): Likewise.
236 (do_test): Likewise.
237 * string/test-strcasecmp.c (do_one_test): Likewise.
238 (do_test): Likewise.
239 * string/test-strcasestr.c (do_one_test): Likewise.
240 (do_test): Likewise.
241 * string/test-strcat.c (do_one_test): Likewise.
242 (do_test): Likewise.
243 * string/test-strchr.c (do_one_test): Likewise.
244 (do_test): Likewise.
245 * string/test-strcmp.c (do_one_test): Likewise.
246 (do_test): Likewise.
247 * string/test-strcpy.c (do_one_test): Likewise.
248 (do_test): Likewise.
249 * string/test-string.h: Likewise.
250 (test_init): Likewise.
251 * string/test-strlen.c (do_one_test): Likewise.
252 (do_test): Likewise.
253 * string/test-strncasecmp.c (do_one_test): Likewise.
254 (do_test): Likewise.
255 * string/test-strncat.c (do_one_test): Likewise.
256 (do_test): Likewise.
257 * string/test-strncmp.c (do_one_test): Likewise.
258 (do_test_limit): Likewise.
259 (do_test): Likewise.
260 * string/test-strncpy.c (do_one_test): Likewise.
261 (do_test): Likewise.
262 * string/test-strnlen.c (do_one_test): Likewise.
263 (do_test): Likewise.
264 * string/test-strpbrk.c (do_one_test): Likewise.
265 (do_test): Likewise.
266 * string/test-strrchr.c (do_one_test): Likewise.
267 (do_test): Likewise.
268 * string/test-strspn.c (do_one_test): Likewise.
269 (do_test): Likewise.
270 * string/test-strstr.c (do_one_test): Likewise.
271 (do_test): Likewise.
272
273 * benchtests/Makefile (string-bench): Add string benchmarks.
274 * benchtests/bench-bcopy-ifunc.c: New file.
275 * benchtests/bench-bcopy.c: New file.
276 * benchtests/bench-bzero-ifunc.c: New file.
277 * benchtests/bench-bzero.c: New file.
278 * benchtests/bench-memccpy-ifunc.c: New file.
279 * benchtests/bench-memccpy.c: New file.
280 * benchtests/bench-memchr-ifunc.c: New file.
281 * benchtests/bench-memchr.c: New file.
282 * benchtests/bench-memcmp-ifunc.c: New file.
283 * benchtests/bench-memcmp.c: New file.
284 * benchtests/bench-memmem-ifunc.c: New file.
285 * benchtests/bench-memmem.c: New file.
286 * benchtests/bench-memmove-ifunc.c: New file.
287 * benchtests/bench-memmove.c: New file.
288 * benchtests/bench-mempcpy-ifunc.c: New file.
289 * benchtests/bench-mempcpy.c: New file.
290 * benchtests/bench-memset-ifunc.c: New file.
291 * benchtests/bench-memset.c: New file.
292 * benchtests/bench-rawmemchr-ifunc.c: New file.
293 * benchtests/bench-rawmemchr.c: New file.
294 * benchtests/bench-stpcpy-ifunc.c: New file.
295 * benchtests/bench-stpcpy.c: New file.
296 * benchtests/bench-stpncpy-ifunc.c: New file.
297 * benchtests/bench-stpncpy.c: New file.
298 * benchtests/bench-strcasecmp-ifunc.c: New file.
299 * benchtests/bench-strcasecmp.c: New file.
300 * benchtests/bench-strcasestr-ifunc.c: New file.
301 * benchtests/bench-strcasestr.c: New file.
302 * benchtests/bench-strcat-ifunc.c: New file.
303 * benchtests/bench-strcat.c: New file.
304 * benchtests/bench-strchr-ifunc.c: New file.
305 * benchtests/bench-strchr.c: New file.
306 * benchtests/bench-strchrnul-ifunc.c: New file.
307 * benchtests/bench-strchrnul.c: New file.
308 * benchtests/bench-strcmp-ifunc.c: New file.
309 * benchtests/bench-strcmp.c: New file.
310 * benchtests/bench-strcpy-ifunc.c: New file.
311 * benchtests/bench-strcpy.c: New file.
312 * benchtests/bench-strcspn-ifunc.c: New file.
313 * benchtests/bench-strcspn.c: New file.
314 * benchtests/bench-strlen-ifunc.c: New file.
315 * benchtests/bench-strlen.c: New file.
316 * benchtests/bench-strncasecmp-ifunc.c: New file.
317 * benchtests/bench-strncasecmp.c: New file.
318 * benchtests/bench-strncat-ifunc.c: New file.
319 * benchtests/bench-strncat.c: New file.
320 * benchtests/bench-strncmp-ifunc.c: New file.
321 * benchtests/bench-strncmp.c: New file.
322 * benchtests/bench-strncpy-ifunc.c: New file.
323 * benchtests/bench-strncpy.c: New file.
324 * benchtests/bench-strnlen-ifunc.c: New file.
325 * benchtests/bench-strnlen.c: New file.
326 * benchtests/bench-strpbrk-ifunc.c: New file.
327 * benchtests/bench-strpbrk.c: New file.
328 * benchtests/bench-strrchr-ifunc.c: New file.
329 * benchtests/bench-strrchr.c: New file.
330 * benchtests/bench-strspn-ifunc.c: New file.
331 * benchtests/bench-strspn.c: New file.
332 * benchtests/bench-strstr-ifunc.c: New file.
333 * benchtests/bench-strstr.c: New file.
334
335 * benchtests/Makefile: Disable parallel execution of targets.
336 (string-bench): Add memcpy.
337 (benchset): New variable to store a list of benchmark sets.
338 (bench-func): Renamed from bench.
339 (bench-set): New target.
340 (bench): Depend on bench-func and bench-set.
341 * benchtests/README: Add section on benchmark sets.
342 * benchtests/bench-memcpy-ifunc.c: New file.
343 * benchtests/bench-memcpy.c: New file.
344 * benchtests/bench-string.h: New file.
345
3462013-06-11 Andreas Schwab <schwab@suse.de>
347
348 [BZ #15577]
349 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
350 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
351 values in the triple.
352 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
353 terminator in the group key.
354
3552013-06-11 Andreas Jaeger <aj@suse.de>
356
357 * po/zh_TW.po: Update Chinese (traditional) translation from
358 translation project.
359
3602013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
361
362 * include/time.h (__clock_gettime): Add libc_hidden_proto.
363 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
364 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
365 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
366 (clock_getcpuclockid): Likewise.
367 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
368 Add weak_alias and libc_hidden_def.
369 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
370 * rt/clock_gettime.c (clock_gettime): Rename to
371 __clock_gettime. Add weak_alias and libc_hidden_def.
372 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
373 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
374 __clock_nanosleep. Add weak_alias and libc_hidden_def.
375 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
376 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
377 Likewise.
378 * rt/clock_settime.c (clock_settime): Rename to
379 __clock_settime. Add weak_alias and libc_hidden_def.
380 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
381
3822013-06-10 Joseph Myers <joseph@codesourcery.com>
383
384 * mach/err_boot.sub: Remove trailing whitespace.
385 * mach/err_ipc.sub: Likewise.
386 * mach/err_mach.sub: Likewise.
387
388 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
389 (ROUNDING_TESTS_double): Likewise.
390 (ROUNDING_TESTS_long_double): Likewise.
391 (ROUNDING_TESTS): Likewise.
392 * math/libm-test.inc: Include <math-tests.h>.
393 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
394 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
395 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
396 (IF_ROUND_INIT_FE_UPWARD): Likewise.
397
3982013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
399
400 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
401 of assigning.
402
4032013-06-08 Joseph Myers <joseph@codesourcery.com>
404
405 * sysdeps/gnu/errlist.awk: Do not generate space at end of
406 otherwise empty TRANS lines.
407 * sysdeps/gnu/errlist.c: Regenerated.
408
409 * catgets/gencat.c (error_print): Use (void) in function
410 definition.
411 * crypt/crypt_util.c (__init_des): Likewise.
412 * crypt/speeds.c (Stop): Likewise.
413 (main): Likewise.
414 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
415 * inet/ruserpass.c (token): Likewise.
416 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
417 * intl/localealias.c (extend_alias_table): Likewise.
418 * intl/plural-exp.c (init_germanic_plural): Likewise.
419 * libio/fcloseall.c (__fcloseall): Likewise.
420 * libio/genops.c (_IO_flush_all): Likewise.
421 (_IO_flush_all_linebuffered): Likewise.
422 (_IO_cleanup): Likewise.
423 (_IO_iter_begin): Likewise.
424 (_IO_iter_end): Likewise.
425 (_IO_list_lock): Likewise.
426 (_IO_list_unlock): Likewise.
427 (_IO_list_resetlock): Likewise.
428 * libio/getchar.c (getchar): Likewise.
429 * libio/getchar_u.c (getchar_unlocked): Likewise.
430 * libio/getwchar.c (getwchar): Likewise.
431 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
432 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
433 * login/getpt.c (__getpt): Likewise.
434 * login/tst-utmp.c (main): Likewise.
435 * malloc/hooks.c (__malloc_check_init): Likewise.
436 * malloc/malloc.c (__malloc_stats): Likewise.
437 * malloc/mtrace.c (tr_break): Likewise.
438 (mtrace): Likewise.
439 (muntrace): Likewise.
440 * misc/fstab.c (endfsent): Likewise.
441 * misc/getclktck.c (__getclktck): Likewise.
442 * misc/getdtsz.c (__getdtablesize): Likewise.
443 * misc/gethostid.c (gethostid): Likewise.
444 * misc/getpagesize.c (__getpagesize): Likewise.
445 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
446 (__get_nprocs): Likewise.
447 (__get_phys_pages): Likewise.
448 (__get_avphys_pages): Likewise.
449 * misc/getttyent.c (getttyent): Likewise.
450 (setttyent): Likewise.
451 (endttyent): Likewise.
452 * misc/getusershell.c (getusershell): Likewise.
453 (endusershell): Likewise.
454 (setusershell): Likewise.
455 (initshells): Likewise.
456 * misc/hsearch.c (__hdestroy): Likewise.
457 * misc/sync.c (sync): Likewise.
458 * misc/syslog.c (closelog_internal): Likewise.
459 (closelog): Likewise.
460 * misc/ttyslot.c (ttyslot): Likewise.
461 * misc/vhangup.c (vhangup): Likewise.
462 * posix/fork.c (__fork): Likewise.
463 * posix/getegid.c (__getegid): Likewise.
464 * posix/geteuid.c (__geteuid): Likewise.
465 * posix/getgid.c (__getgid): Likewise.
466 * posix/getpid.c (__getpid): Likewise.
467 * posix/getppid.c (__getppid): Likewise.
468 * posix/getuid.c (__getuid): Likewise.
469 * posix/pause.c (pause): Likewise.
470 * posix/setpgrp.c (setpgrp): Likewise.
471 * posix/setsid.c (__setsid): Likewise.
472 * posix/test-vfork.c (noop): Likewise.
473 * resolv/gethnamaddr.c (_endhtent): Likewise.
474 (_gethtent): Likewise.
475 (ht_endhostent): Likewise.
476 (gethostent): Likewise.
477 (dns_service): Likewise.
478 * stdlib/drand48.c (drand48): Likewise.
479 * stdlib/lrand48.c (lrand48): Likewise.
480 * stdlib/mrand48.c (mrand48): Likewise.
481 * stdlib/rand.c (rand): Likewise.
482 * stdlib/random.c (__random): Likewise.
483 * stdlib/setenv.c (clearenv): Likewise.
484 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
485 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
486 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
487 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
488 (__get_nprocs): Likewise.
489 (__get_phys_pages): Likewise.
490 (__get_avphys_pages): Likewise.
491 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
492 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
493 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
494 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
495 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
496 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
497 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
498 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
499 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
500 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
501 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
502 * sysdeps/mach/hurd/sync.c (sync): Likewise.
503 * sysdeps/posix/clock.c (clock): Likewise.
504 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
505 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
506 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
507 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
508 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
509 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
510 (__get_nprocs_conf): Likewise.
511 (__get_phys_pages): Likewise.
512 (__get_avphys_pages): Likewise.
513 * time/clock.c (clock): Likewise.
514 * time/tzset.c (__tzname_max): Likewise.
515
5162013-06-07 Joseph Myers <joseph@codesourcery.com>
517
518 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
519 (__bswap_32): Do not use "register".
520 * crypt/crypt.c (_ufc_doit_r): Likewise.
521 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
522 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
523 * gmon/gmon.c (__monstartup): Likewise.
524 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
525 * hurd/hurdmalloc.c (more_memory): Likewise.
526 (malloc): Likewise.
527 (free): Likewise.
528 (realloc): Likewise.
529 (malloc_fork_prepare): Likewise.
530 (malloc_fork_parent): Likewise.
531 (malloc_fork_child): Likewise.
532 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
533 (_svcauth_des): Likewise.
534 * inet/inet_lnaof.c (inet_lnaof): Likewise.
535 * inet/inet_net.c (inet_network): Likewise.
536 * inet/inet_netof.c (inet_netof): Likewise.
537 * inet/rcmd.c (__validuser2_sa): Likewise.
538 * io/fts.c (fts_open): Likewise.
539 (fts_load): Likewise.
540 (fts_close): Likewise.
541 (fts_read): Likewise.
542 (fts_children): Likewise.
543 (fts_build): Likewise.
544 (fts_stat): Likewise.
545 (fts_sort): Likewise.
546 (fts_alloc): Likewise.
547 (fts_lfree): Likewise.
548 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
549 (_IO_file_xsgetn): Likewise.
550 (_IO_file_xsgetn_mmap): Likewise.
551 * libio/iofopncook.c (_IO_cookie_read): Likewise.
552 (_IO_cookie_write): Likewise.
553 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
554 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
555 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
556 * malloc/obstack.c (_obstack_begin): Likewise.
557 (_obstack_begin_1): Likewise.
558 (_obstack_newchunk): Likewise.
559 (_obstack_allocated_p): Likewise.
560 (obstack_free): Likewise.
561 (_obstack_memory_used): Likewise.
562 * misc/getttyent.c (getttynam): Likewise.
563 (getttyent): Likewise.
564 (skip): Likewise.
565 (value): Likewise.
566 * misc/getusershell.c (initshells): Likewise.
567 * misc/syslog.c (__vsyslog_chk): Likewise.
568 * misc/ttyslot.c (ttyslot): Likewise.
569 * nis/nis_hash.c (__nis_hash): Likewise.
570 * posix/fnmatch_loop.c (FCT): Likewise.
571 * posix/getconf.c (print_all): Likewise.
572 (main): Likewise.
573 * posix/getopt.c (exchange): Likewise.
574 * posix/glob.c (globfree): Likewise.
575 (prefix_array): Likewise.
576 (__glob_pattern_type): Likewise.
577 * resolv/arpa/nameser.h (NS_GET16): Likewise.
578 (NS_GET32): Likewise.
579 (NS_PUT16): Likewise.
580 (NS_PUT32): Likewise.
581 * resolv/gethnamaddr.c (getanswer): Likewise.
582 (gethostbyname2): Likewise.
583 (gethostbyaddr): Likewise.
584 (_gethtent): Likewise.
585 (_gethtbyname2): Likewise.
586 (_gethtbyaddr): Likewise.
587 * resolv/ns_print.c (dst_s_get_int16): Likewise.
588 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
589 * resolv/res_init.c (__res_vinit): Likewise.
590 (net_mask): Likewise.
591 * resolv/res_mkquery.c (outchar): Likewise.
592 (PRINT): Likewise.
593 * stdio-common/printf_fp.c (outchar): Likewise.
594 (PRINT): Likewise.
595 * stdio-common/printf_fphex.c (outchar): Likewise.
596 (PRINT): Likewise.
597 * stdio-common/printf_size.c (outchar): Likewise.
598 (PRINT): Likewise.
599 * stdio-common/test_rdwr.c (main): Likewise.
600 * stdio-common/tfformat.c (matches): Likewise.
601 * stdio-common/vfprintf.c (outchar): Likewise.
602 (printf_unknown): Likewise.
603 (buffered_vfprintf): Likewise.
604 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
605 * stdio-common/xbug.c (AppendToBuffer): Likewise.
606 (ReadFile): Likewise.
607 * stdlib/qsort.c (SWAP): Likewise.
608 (_quicksort): Likewise.
609 * stdlib/setenv.c (__add_to_environ): Likewise.
610 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
611 * stdlib/strtol_l.c (__strtol_l): Likewise.
612 * stdlib/tst-strtod.c (main): Likewise.
613 * stdlib/tst-strtol.c (main): Likewise.
614 * stdlib/tst-strtoll.c (main): Likewise.
615 * string/bits/string2.h (__strcmp_cc): Likewise.
616 (__strcmp_cg): Likewise.
617 (__strcspn_c1): Likewise.
618 (__strcspn_c2): Likewise.
619 (__strcspn_c3): Likewise.
620 (__strspn_c1): Likewise.
621 (__strspn_c2): Likewise.
622 (__strspn_c3): Likewise.
623 (__strsep_1c): Likewise.
624 (__strsep_2c): Likewise.
625 (__strsep_3c): Likewise.
626 * string/memccpy.c (__memccpy): Likewise.
627 * string/stpcpy.c (__stpcpy): Likewise.
628 * string/strcmp.c (strcmp): Likewise.
629 * string/strrchr.c (strrchr): Likewise.
630 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
631 Likewise.
632 * sysdeps/mach/hurd/getcwd.c
633 (_hurd_canonicalize_directory_name_internal): Likewise.
634 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
635 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
636 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
637 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
638 Likewise, in both definitions.
639 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
640 definitions.
641 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
642 64] (__bswap_64): Likewise.
643 * time/test_time.c (main): Likewise.
644 * time/tzfile.c (__tzfile_read): Likewise.
645 (__tzfile_compute): Likewise.
646 * time/tzset.c (__tzset_parse_tz): Likewise.
647 (tzset_internal): Likewise.
648 (compute_change): Likewise.
649 * wcsmbs/wcscat.c (__wcscat): Likewise.
650 * wcsmbs/wcschr.c (wcschr): Likewise.
651 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
652 * wcsmbs/wcscspn.c (wcscspn): Likewise.
653 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
654 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
655 * wcsmbs/wcsspn.c (wcsspn): Likewise.
656 * wcsmbs/wcsstr.c (wcsstr): Likewise.
657 * wcsmbs/wmemchr.c (wmemchr): Likewise.
658 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
659 * wcsmbs/wmemset.c (wmemset): Likewise.
660
6612013-06-06 Joseph Myers <joseph@codesourcery.com>
662
663 * scripts/config.guess: Update to version 2013-05-16.
664 * scripts/config.sub: Update to version 2013-04-24.
665 * scripts/install-sh: Update to version 2011-11-20.07.
666 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
667 * scripts/move-if-change: Update to version 2012-01-06 07:23.
668
6692013-06-06 Ondřej Bílka <neleai@seznam.cz>
670
671 * debug/fgetws_u_chk.c: Fix leading whitespaces.
672 * elf/sln.c: Likewise.
673 * hurd/hurd/ioctl.h: Likewise.
674 * hurd/hurdmalloc.c: Likewise.
675 * hurd/xattr.c: Likewise.
676 * include/shlib-compat.h: Likewise.
677 * inet/ruserpass.c: Likewise.
678 * libio/iofgets_u.c: Likewise.
679 * libio/iofgetws_u.c: Likewise.
680 * locale/programs/ld-identification.c: Likewise.
681 * locale/programs/ld-time.c: Likewise.
682 * mach/msg-destroy.c: Likewise.
683 * nss/nss_files/files-netgrp.c: Likewise.
684 * resolv/res_data.c: Likewise.
685 * soft-fp/op-1.h: Likewise.
686 * soft-fp/op-2.h: Likewise.
687 * soft-fp/op-4.h: Likewise.
688 * soft-fp/op-common.h: Likewise.
689 * stdio-common/printf_fphex.c: Likewise.
690 * stdlib/strtod_l.c: Likewise.
691 * sunrpc/rpc/clnt.h: Likewise.
692 * sysdeps/generic/framestate.c: Likewise.
693 * sysdeps/i386/bsd-_setjmp.S: Likewise.
694 * sysdeps/i386/bsd-setjmp.S: Likewise.
695 * sysdeps/i386/__longjmp.S: Likewise.
696 * sysdeps/i386/setjmp.S: Likewise.
697 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
698 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
699 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
700 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
701 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
702 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
703 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
704 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
705 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
706 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
707 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
708 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
709 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
710 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
711 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
712 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
713 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
714 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
715 * sysdeps/ieee754/support.c: Likewise.
716 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
717 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
718 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
719 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
720 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
721 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
722 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
723 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
724 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
725 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
726 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
727 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
728 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
729 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
730 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
731 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
732 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
734
7352013-06-05 Ondřej Bílka <neleai@seznam.cz>
736
737 * posix/transbug.c: Remove executable mode.
738
7392013-06-05 Joseph Myers <joseph@codesourcery.com>
740
741 * crypt/speeds.c: Remove trailing whitespace.
742 * dlfcn/default.c: Likewise.
743 * elf/ifuncdep2.c: Likewise.
744 * elf/ifuncmain1.c: Likewise.
745 * elf/ifuncmain1vis.c: Likewise.
746 * elf/testobj.h: Likewise.
747 * elf/tst-stackguard1.c: Likewise.
748 * gmon/sys/gmon.h: Likewise.
749 * hurd/hurdmsg.c: Likewise.
750 * hurd/new-fd.c: Likewise.
751 * hurd/ports-get.c: Likewise.
752 * iconvdata/ibm1008_420.c: Likewise.
753 * inet/tst-getni1.c: Likewise.
754 * inet/tst-getni2.c: Likewise.
755 * libio/ioungetc.c: Likewise.
756 * libio/wfiledoalloc.c: Likewise.
757 * manual/libm-err-tab.pl: Likewise.
758 * math/w_dremf.c: Likewise.
759 * misc/ftruncate.c: Likewise.
760 * posix/bug-glob2.c: Likewise.
761 * posix/tst-pcre.c: Likewise.
762 * posix/wait4.c: Likewise.
763 * resolv/README: Likewise.
764 * resolv/res_debug.h: Likewise.
765 * resolv/tst-inet_ntop.c: Likewise.
766 * setjmp/bug269-setjmp.c: Likewise.
767 * soft-fp/extended.h: Likewise.
768 * soft-fp/op-1.h: Likewise.
769 * soft-fp/op-2.h: Likewise.
770 * soft-fp/op-4.h: Likewise.
771 * soft-fp/op-8.h: Likewise.
772 * soft-fp/testit.c: Likewise.
773 * stdio-common/bug16.c: Likewise.
774 * stdlib/random.c: Likewise.
775 * sunrpc/rpcsvc/rquota.x: Likewise.
776 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
777 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
778 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
779 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
780 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
781 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
782 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
783 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
784 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
785 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
786 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
787 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
788 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
789 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
790 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
791 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
792 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
793 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
794 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
795 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
796 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
797 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
798 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
799 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
800 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
801 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
802 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
803 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
804 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
805 * sysdeps/ieee754/s_lib_version.c: Likewise.
806 * sysdeps/mach/hurd/check_fds.c: Likewise.
807 * sysdeps/mach/hurd/getsockname.c: Likewise.
808 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
809 * sysdeps/mach/hurd/recvfrom.c: Likewise.
810 * sysdeps/powerpc/bits/link.h: Likewise.
811 * sysdeps/powerpc/dl-procinfo.c: Likewise.
812 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
813 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
814 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
815 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
816 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
817 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
818 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
819 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
820 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
821 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
822 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
823 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
824 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
825 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
826 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
827 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
828 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
829 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
830 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
831 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
832 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
833 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
834 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
835 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
836 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
837 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
838 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
839 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
840 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
841 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
842 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
843 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
844 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
845 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
846 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
847 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
848 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
849 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
850 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
851 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
852 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
853 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
854 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
855 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
856 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
857 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
858 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
859 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
860 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
861 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
862 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
863 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
864 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
865 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
866 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
867 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
868 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
869 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
870 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
871 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
872 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
873 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
874 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
875 * sysdeps/powerpc/sysdep.h: Likewise.
876 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
877 * sysdeps/s390/s390-64/sub_n.S: Likewise.
878 * sysdeps/sh/dl-trampoline.S: Likewise.
879 * sysdeps/sh/memset.S: Likewise.
880 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
881 * sysdeps/sh/strlen.S: Likewise.
882 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
883 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
884 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
885 * sysdeps/sparc/sparc32/rem.S: Likewise.
886 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
887 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
888 * sysdeps/sparc/sparc32/strchr.S: Likewise.
889 * sysdeps/sparc/sparc32/udiv.S: Likewise.
890 * sysdeps/sparc/sparc32/urem.S: Likewise.
891 * sysdeps/sparc/sparc64/add_n.S: Likewise.
892 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
893 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
894 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
895 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
896 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
897 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
898 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
899 * sysdeps/unix/bsd/times.c: Likewise.
900 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
901 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
905 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
906 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
907 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
908 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
909 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
910 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
911 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
912 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
913 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
914 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
915 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
916 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
917 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
918 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
919 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
920 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
921 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
922 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
923 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
924 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
925 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
926 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
927 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
928 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
929 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
930 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
931 * sysdeps/x86_64/strcspn.S: Likewise.
932
9332013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
934
935 * locale/C-translit.h: Revert #include <stdint.h> because this is a
936 generated file. Regenerate properly from gen-translit.pl.
937 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
938 locale/C-translit.h.
939
9402013-06-05 Andreas Schwab <schwab@suse.de>
941
942 [BZ #15100]
943 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
944 week as 6 instead of -1.
945 * time/tst-strptime.c (day_tests): Add test case.
946
9472013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
948
949 * sysdeps/generic/math_private.h
950 (libc_feholdexcept_setround_53bit): Replace with
951 libc_feholdsetround_53bit.
952 (libc_feupdateenv_53bit): Replace with
953 libc_feresetround_53bit.
954 (SET_RESTORE_ROUND_53BIT): Adjust.
955
9562013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
957
958 * string/test-strchrnul.c: Add copyright header.
959
960 * posix/tst-getaddrinfo4.c: Increase test timeout.
961
9622013-06-03 Carlos O'Donell <carlos@redhat.com>
963
964 [BZ #15536]
965 * math/libm-test.inc (MAX_EXP): Remove
966 (MIN_EXP): Define.
967 (ulp): Use MIN_EXP - MANT_DIG.
968 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
969
9702013-05-31 Carlos O'Donell <carlos@redhat.com>
971
972 * po/be.po: Revert last change.
973 * po/zh_CN.po: Likewise.
974 * po/header.pot: Likewise.
975
9762013-05-31 Joseph Myers <joseph@codesourcery.com>
977
978 * Makefile ($(common-objpfx)linkobj/libc.so): Define
979 link-libc-deps to empty as target-specific variable.
980 * Makerules (link-libc-args): New variable.
981 (libc-for-link): Likewise.
982 (link-libc-deps): Likewise.
983 (lib%.so): Depend on $(link-libc-deps). Link with
984 $(link-libc-args).
985 (build-module): Link with $(link-libc-args).
986 (build-module-asneeded): Likewise.
987 (build-module-helper-objlist): Filter out $(link-libc-deps) from
988 list of objects.
989 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
990 target-specific variable.
991 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
992 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
993 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
994 libc.
995 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
996 libc and ld.so.
997 ($(objpfx)libpcprofile.so): Likewise.
998 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
999 libc_nonshared.a.
1000 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1001 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1002 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1003 $(link-libc-deps).
1004 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1005 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1006 * login/Makefile ($(objpfx)libutil.so): Likewise.
1007 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1008 * math/Makefile ($(objpfx)libm.so): Likewise.
1009 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1010 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1011 variable instead of depending directly on libc.
1012 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1013 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1014 $(link-libc-deps).
1015 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1016 libc.
1017 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1018 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1019 ($(objpfx)libanl.so): Likewise.
1020 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1021 ld.so.
1022 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1023 $(link-libc-deps).
1024 * sysdeps/i386/fpu/Makefile: Remove file.
1025 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1026 ($(objpfx)libm.so): Remove dependency on ld.so.
1027
10282013-05-30 Patsy Franklin <pfrankli@redhat.com>
1029
1030 [BZ # 15553]
1031 * nis/yp_xdr.c (XDRMAXNAME): Define.
1032 (XDRMAXRECORD): Define.
1033 (xdr_domainname): Use XDRMAXNAME.
1034 (xdr_mapname): Likewise.
1035 (xdr_peername): Likewise.
1036 (xdr_keydat): Use XDRMAXRECORD.
1037 (xdr_valdat): Likewise.
1038
10392013-05-30 Jeff Law <law@redhat.com>
1040
1041 [BZ #14256]
1042 * manual/errno.texi (ESTALE): Update to account for more than
1043 just NFS file systems.
1044 * sysdeps/gnu/errlist.c: Regenerated.
1045
10462013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1047
1048 [BZ #15465]
1049 * elf/Makefile (tests): Add tst-null-argv.
1050 (modules-names): Add tst-null-argv-lib.
1051 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1052 (tst-null-argv-ENV): Set environment for tst-null-argv.
1053 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1054 (RTLD_PROGNAME): New macro.
1055 * elf/tst-null-argv.c: New test case.
1056 * elf/tst-null-argv-lib.c: Library for test case.
1057 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1058 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1059 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1060 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1061 * elf/dl-init.c (call_init): Likewise.
1062 (_dl_init): Likewise.
1063 * elf/dl-load.c (print_search_path): Likewise.
1064 (_dl_map_object): Likewise.
1065 * elf/dl-lookup.c (do_lookup_x): Likewise.
1066 (add_dependency): Likewise.
1067 (_dl_lookup_symbol_x): Likewise.
1068 (_dl_debug_bindings): Likewise.
1069 * elf/dl-open.c (_dl_show_scope): Likewise.
1070 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1071 * elf/dl-version.c (match_symbol): Likewise.
1072 (_dl_check_map_versions): Likewise.
1073 * elf/rtld.c (dl_main): Likewise.
1074 (print_unresolved): Use RTLD_PROGNAME.
1075 (print_missing_version): Likewise.
1076 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1077 (elf_machine_rela): Likewise.
1078 * sysdeps/powerpc/powerpc32/dl-machine.c
1079 (__process_machine_rela): Likewise.
1080 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1081 Likewise.
1082 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1083 Likewise.
1084 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1085 Likewise.
1086 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1087 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1088 Likewise.
1089 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1090 Likewise.
1091 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1092
10932013-05-28 Carlos O'Donell <carlos@redhat.com>
1094
1095 * po/be.po: Add descriptive title.
1096 * po/zh_CN.po: Likewise.
1097 * po/header.pot: Likewise.
1098
10992013-05-28 Mike Frysinger <vapier@gentoo.org>
1100
1101 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1102 error message.
1103 (enlarge_archive): Likewise.
1104
11052013-05-28 Ben North <ben@redfrontdoor.org>
1106
1107 * manual/arith.texi (frexp): It is the magnitude of the return
1108 value which lies in [0.5, 1), not the return value itself.
1109
11102013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1111
1112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1113
11142013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1115
1116 * stdio-common/bug26.c (main): Correct fscanf template.
1117
1118 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1119 declare _dl_skip_args.
1120
1121 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1122 Don't declare.
1123
1124 * manual/platform.texi: Add missing @end deftypefun.
1125
11262013-05-24 Joseph Myers <joseph@codesourcery.com>
1127
1128 [BZ #15529]
1129 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1130 bit of mantissa of 2^16382.
1131 * math/libm-test.inc (hypot_test_data): Add more tests.
1132
1133 * math/libm-test.inc: Add drem and pow10 to list of tested
1134 functions.
1135 (pow10_test): New function.
1136 (drem_test): Likewise.
1137 (drem_test_tonearest): Likewise.
1138 (drem_test_towardzero): Likewise.
1139 (drem_test_downward): Likewise.
1140 (drem_test_upward): Likewise.
1141 (main): Call the new functions.
1142
1143 * math/libm-test.inc (finite_test_data): Remove.
1144 (finite_test): Run tests from isfinite_test_data.
1145 (gamma_test_data): Remove.
1146 (gamma_test): Run tests from lgamma_test_data.
1147 * sysdeps/i386/fpu/libm-test-ulps: Update.
1148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1149
11502013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1151
1152 * manual/platform.texi: Add PowerPC PPR function set documentation.
1153 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1154 implementation.
1155
11562013-05-24 Carlos O'Donell <carlos@redhat.com>
1157
1158 * math/libm-test.inc (MAX_EXP): Define.
1159 (ULPDIFF): Define.
1160 (ulp): New function.
1161 (check_float_internal): Use ULPDIFF.
1162 (cpow_test): Disable failing test.
1163 (check_ulp): Test ulp() implemetnation.
1164 (main): Call check_ulp before starting tests.
1165
11662013-05-24 Joseph Myers <joseph@codesourcery.com>
1167
1168 * math/gen-libm-test.pl (generate_testfile): Do not handle
1169 START_DATA and END_DATA.
1170 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1171 END_DATA.
1172 (acos_tonearest_test_data): Likewise.
1173 (acos_towardzero_test_data): Likewise.
1174 (acos_downward_test_data): Likewise.
1175 (acos_upward_test_data): Likewise.
1176 (acosh_test_data): Likewise.
1177 (asin_test_data): Likewise.
1178 (asin_tonearest_test_data): Likewise.
1179 (asin_towardzero_test_data): Likewise.
1180 (asin_downward_test_data): Likewise.
1181 (asin_upward_test_data): Likewise.
1182 (asinh_test_data): Likewise.
1183 (atan_test_data): Likewise.
1184 (atanh_test_data): Likewise.
1185 (atan2_test_data): Likewise.
1186 (cabs_test_data): Likewise.
1187 (cacos_test_data): Likewise.
1188 (cacosh_test_data): Likewise.
1189 (carg_test_data): Likewise.
1190 (casin_test_data): Likewise.
1191 (casinh_test_data): Likewise.
1192 (catan_test_data): Likewise.
1193 (catanh_test_data): Likewise.
1194 (cbrt_test_data): Likewise.
1195 (ccos_test_data): Likewise.
1196 (ccosh_test_data): Likewise.
1197 (ceil_test_data): Likewise.
1198 (cexp_test_data): Likewise.
1199 (cimag_test_data): Likewise.
1200 (clog_test_data): Likewise.
1201 (clog10_test_data): Likewise.
1202 (conj_test_data): Likewise.
1203 (copysign_test_data): Likewise.
1204 (cos_test_data): Likewise.
1205 (cos_tonearest_test_data): Likewise.
1206 (cos_towardzero_test_data): Likewise.
1207 (cos_downward_test_data): Likewise.
1208 (cos_upward_test_data): Likewise.
1209 (cosh_test_data): Likewise.
1210 (cosh_tonearest_test_data): Likewise.
1211 (cosh_towardzero_test_data): Likewise.
1212 (cosh_downward_test_data): Likewise.
1213 (cosh_upward_test_data): Likewise.
1214 (cpow_test_data): Likewise.
1215 (cproj_test_data): Likewise.
1216 (creal_test_data): Likewise.
1217 (csin_test_data): Likewise.
1218 (csinh_test_data): Likewise.
1219 (csqrt_test_data): Likewise.
1220 (ctan_test_data): Likewise.
1221 (ctan_tonearest_test_data): Likewise.
1222 (ctan_towardzero_test_data): Likewise.
1223 (ctan_downward_test_data): Likewise.
1224 (ctan_upward_test_data): Likewise.
1225 (ctanh_test_data): Likewise.
1226 (ctanh_tonearest_test_data): Likewise.
1227 (ctanh_towardzero_test_data): Likewise.
1228 (ctanh_downward_test_data): Likewise.
1229 (ctanh_upward_test_data): Likewise.
1230 (erf_test_data): Likewise.
1231 (erfc_test_data): Likewise.
1232 (exp_test_data): Likewise.
1233 (exp_tonearest_test_data): Likewise.
1234 (exp_towardzero_test_data): Likewise.
1235 (exp_downward_test_data): Likewise.
1236 (exp_upward_test_data): Likewise.
1237 (exp10_test_data): Likewise.
1238 (exp2_test_data): Likewise.
1239 (expm1_test_data): Likewise.
1240 (fabs_test_data): Likewise.
1241 (fdim_test_data): Likewise.
1242 (finite_test_data): Likewise.
1243 (floor_test_data): Likewise.
1244 (fma_test_data): Likewise.
1245 (fma_towardzero_test_data): Likewise.
1246 (fma_downward_test_data): Likewise.
1247 (fma_upward_test_data): Likewise.
1248 (fmax_test_data): Likewise.
1249 (fmin_test_data): Likewise.
1250 (fmod_test_data): Likewise.
1251 (fpclassify_test_data): Likewise.
1252 (frexp_test_data): Likewise.
1253 (gamma_test_data): Likewise.
1254 (hypot_test_data): Likewise.
1255 (ilogb_test_data): Likewise.
1256 (isfinite_test_data): Likewise.
1257 (isgreater_test_data): Likewise.
1258 (isgreaterequal_test_data): Likewise.
1259 (isinf_test_data): Likewise.
1260 (isless_test_data): Likewise.
1261 (islessequal_test_data): Likewise.
1262 (islessgreater_test_data): Likewise.
1263 (isnan_test_data): Likewise.
1264 (isnormal_test_data): Likewise.
1265 (issignaling_test_data): Likewise.
1266 (isunordered_test_data): Likewise.
1267 (j0_test_data): Likewise.
1268 (j1_test_data): Likewise.
1269 (jn_test_data): Likewise.
1270 (ldexp_test_data): Likewise.
1271 (lgamma_test_data): Likewise.
1272 (lrint_test_data): Likewise.
1273 (lrint_tonearest_test_data): Likewise.
1274 (lrint_towardzero_test_data): Likewise.
1275 (lrint_downward_test_data): Likewise.
1276 (lrint_upward_test_data): Likewise.
1277 (llrint_test_data): Likewise.
1278 (llrint_tonearest_test_data): Likewise.
1279 (llrint_towardzero_test_data): Likewise.
1280 (llrint_downward_test_data): Likewise.
1281 (llrint_upward_test_data): Likewise.
1282 (log_test_data): Likewise.
1283 (log10_test_data): Likewise.
1284 (log1p_test_data): Likewise.
1285 (log2_test_data): Likewise.
1286 (logb_test_data): Likewise.
1287 (logb_downward_test_data): Likewise.
1288 (lround_test_data): Likewise.
1289 (llround_test_data): Likewise.
1290 (modf_test_data): Likewise.
1291 (nearbyint_test_data): Likewise.
1292 (nextafter_test_data): Likewise.
1293 (nexttoward_test_data): Likewise.
1294 (pow_test_data): Likewise.
1295 (pow_tonearest_test_data): Likewise.
1296 (pow_towardzero_test_data): Likewise.
1297 (pow_downward_test_data): Likewise.
1298 (pow_upward_test_data): Likewise.
1299 (remainder_test_data): Likewise.
1300 (remainder_tonearest_test_data): Likewise.
1301 (remainder_towardzero_test_data): Likewise.
1302 (remainder_downward_test_data): Likewise.
1303 (remainder_upward_test_data): Likewise.
1304 (remquo_test_data): Likewise.
1305 (rint_test_data): Likewise.
1306 (rint_tonearest_test_data): Likewise.
1307 (rint_towardzero_test_data): Likewise.
1308 (rint_downward_test_data): Likewise.
1309 (rint_upward_test_data): Likewise.
1310 (round_test_data): Likewise.
1311 (scalb_test_data): Likewise.
1312 (scalbn_test_data): Likewise.
1313 (scalbln_test_data): Likewise.
1314 (signbit_test_data): Likewise.
1315 (sin_test_data): Likewise.
1316 (sin_tonearest_test_data): Likewise.
1317 (sin_towardzero_test_data): Likewise.
1318 (sin_downward_test_data): Likewise.
1319 (sin_upward_test_data): Likewise.
1320 (sincos_test_data): Likewise.
1321 (sinh_test_data): Likewise.
1322 (sinh_tonearest_test_data): Likewise.
1323 (sinh_towardzero_test_data): Likewise.
1324 (sinh_downward_test_data): Likewise.
1325 (sinh_upward_test_data): Likewise.
1326 (sqrt_test_data): Likewise.
1327 (tan_test_data): Likewise.
1328 (tan_tonearest_test_data): Likewise.
1329 (tan_towardzero_test_data): Likewise.
1330 (tan_downward_test_data): Likewise.
1331 (tan_upward_test_data): Likewise.
1332 (tanh_test_data): Likewise.
1333 (tgamma_test_data): Likewise.
1334 (trunc_test_data): Likewise.
1335 (y0_test_data): Likewise.
1336 (y1_test_data): Likewise.
1337 (yn_test_data): Likewise.
1338 (significand_test_data): Likewise.
1339
1340 * math/gen-libm-test.pl (@functions): Remove variable.
1341 (generate_testfile): Don't handle START and END lines.
1342 * math/libm-test.inc (START): New macro.
1343 (END): Likewise.
1344 (END_COMPLEX): Likewise.
1345 (acos_test): Use END macro without arguments.
1346 (acos_test_tonearest): Likewise.
1347 (acos_test_towardzero): Likewise.
1348 (acos_test_downward): Likewise.
1349 (acos_test_upward): Likewise.
1350 (acosh_test): Likewise.
1351 (asin_test): Likewise.
1352 (asin_test_tonearest): Likewise.
1353 (asin_test_towardzero): Likewise.
1354 (asin_test_downward): Likewise.
1355 (asin_test_upward): Likewise.
1356 (asinh_test): Likewise.
1357 (atan_test): Likewise.
1358 (atanh_test): Likewise.
1359 (atan2_test): Likewise.
1360 (cabs_test): Likewise.
1361 (cacos_test): Use END_COMPLEX macro without arguments.
1362 (cacosh_test): Likewise.
1363 (carg_test): Use END macro without arguments.
1364 (casin_test): Use END_COMPLEX macro without arguments.
1365 (casinh_test): Likewise.
1366 (catan_test): Likewise.
1367 (catanh_test): Likewise.
1368 (cbrt_test): Use END macro without arguments.
1369 (ccos_test): Use END_COMPLEX macro without arguments.
1370 (ccosh_test): Likewise.
1371 (ceil_test): Use END macro without arguments.
1372 (cexp_test): Use END_COMPLEX macro without arguments.
1373 (cimag_test): Use END macro without arguments.
1374 (clog_test): Use END_COMPLEX macro without arguments.
1375 (clog10_test): Likewise.
1376 (conj_test): Likewise.
1377 (copysign_test): Use END macro without arguments.
1378 (cos_test): Likewise.
1379 (cos_test_tonearest): Likewise.
1380 (cos_test_towardzero): Likewise.
1381 (cos_test_downward): Likewise.
1382 (cos_test_upward): Likewise.
1383 (cosh_test): Likewise.
1384 (cosh_test_tonearest): Likewise.
1385 (cosh_test_towardzero): Likewise.
1386 (cosh_test_downward): Likewise.
1387 (cosh_test_upward): Likewise.
1388 (cpow_test): Use END_COMPLEX macro without arguments.
1389 (cproj_test): Likewise.
1390 (creal_test): Use END macro without arguments.
1391 (csin_test): Use END_COMPLEX macro without arguments.
1392 (csinh_test): Likewise.
1393 (csqrt_test): Likewise.
1394 (ctan_test): Likewise.
1395 (ctan_test_tonearest): Likewise.
1396 (ctan_test_towardzero): Likewise.
1397 (ctan_test_downward): Likewise.
1398 (ctan_test_upward): Likewise.
1399 (ctanh_test): Likewise.
1400 (ctanh_test_tonearest): Likewise.
1401 (ctanh_test_towardzero): Likewise.
1402 (ctanh_test_downward): Likewise.
1403 (ctanh_test_upward): Likewise.
1404 (erf_test): Use END macro without arguments.
1405 (erfc_test): Likewise.
1406 (exp_test): Likewise.
1407 (exp_test_tonearest): Likewise.
1408 (exp_test_towardzero): Likewise.
1409 (exp_test_downward): Likewise.
1410 (exp_test_upward): Likewise.
1411 (exp10_test): Likewise.
1412 (exp2_test): Likewise.
1413 (expm1_test): Likewise.
1414 (fabs_test): Likewise.
1415 (fdim_test): Likewise.
1416 (finite_test): Likewise.
1417 (floor_test): Likewise.
1418 (fma_test): Likewise.
1419 (fma_test_towardzero): Likewise.
1420 (fma_test_downward): Likewise.
1421 (fma_test_upward): Likewise.
1422 (fmax_test): Likewise.
1423 (fmin_test): Likewise.
1424 (fmod_test): Likewise.
1425 (fpclassify_test): Likewise.
1426 (frexp_test): Likewise.
1427 (gamma_test): Likewise.
1428 (hypot_test): Likewise.
1429 (ilogb_test): Likewise.
1430 (isfinite_test): Likewise.
1431 (isgreater_test): Likewise.
1432 (isgreaterequal_test): Likewise.
1433 (isinf_test): Likewise.
1434 (isless_test): Likewise.
1435 (islessequal_test): Likewise.
1436 (islessgreater_test): Likewise.
1437 (isnan_test): Likewise.
1438 (isnormal_test): Likewise.
1439 (issignaling_test): Likewise.
1440 (isunordered_test): Likewise.
1441 (j0_test): Likewise.
1442 (j1_test): Likewise.
1443 (jn_test): Likewise.
1444 (ldexp_test): Likewise.
1445 (lgamma_test): Likewise.
1446 (lrint_test): Likewise.
1447 (lrint_test_tonearest): Likewise.
1448 (lrint_test_towardzero): Likewise.
1449 (lrint_test_downward): Likewise.
1450 (lrint_test_upward): Likewise.
1451 (llrint_test): Likewise.
1452 (llrint_test_tonearest): Likewise.
1453 (llrint_test_towardzero): Likewise.
1454 (llrint_test_downward): Likewise.
1455 (llrint_test_upward): Likewise.
1456 (log_test): Likewise.
1457 (log10_test): Likewise.
1458 (log1p_test): Likewise.
1459 (log2_test): Likewise.
1460 (logb_test): Likewise.
1461 (logb_test_downward): Likewise.
1462 (lround_test): Likewise.
1463 (llround_test): Likewise.
1464 (modf_test): Likewise.
1465 (nearbyint_test): Likewise.
1466 (nextafter_test): Likewise.
1467 (nexttoward_test): Likewise.
1468 (pow_test): Likewise.
1469 (pow_test_tonearest): Likewise.
1470 (pow_test_towardzero): Likewise.
1471 (pow_test_downward): Likewise.
1472 (pow_test_upward): Likewise.
1473 (remainder_test): Likewise.
1474 (remainder_test_tonearest): Likewise.
1475 (remainder_test_towardzero): Likewise.
1476 (remainder_test_downward): Likewise.
1477 (remainder_test_upward): Likewise.
1478 (remquo_test): Likewise.
1479 (rint_test): Likewise.
1480 (rint_test_tonearest): Likewise.
1481 (rint_test_towardzero): Likewise.
1482 (rint_test_downward): Likewise.
1483 (rint_test_upward): Likewise.
1484 (round_test): Likewise.
1485 (scalb_test): Likewise.
1486 (scalbn_test): Likewise.
1487 (scalbln_test): Likewise.
1488 (signbit_test): Likewise.
1489 (sin_test): Likewise.
1490 (sin_test_tonearest): Likewise.
1491 (sin_test_towardzero): Likewise.
1492 (sin_test_downward): Likewise.
1493 (sin_test_upward): Likewise.
1494 (sincos_test): Likewise.
1495 (sinh_test): Likewise.
1496 (sinh_test_tonearest): Likewise.
1497 (sinh_test_towardzero): Likewise.
1498 (sinh_test_downward): Likewise.
1499 (sinh_test_upward): Likewise.
1500 (sqrt_test): Likewise.
1501 (tan_test): Likewise.
1502 (tan_test_tonearest): Likewise.
1503 (tan_test_towardzero): Likewise.
1504 (tan_test_downward): Likewise.
1505 (tan_test_upward): Likewise.
1506 (tanh_test): Likewise.
1507 (tgamma_test): Likewise.
1508 (trunc_test): Likewise.
1509 (y0_test): Likewise.
1510 (y1_test): Likewise.
1511 (yn_test): Likewise.
1512 (significand_test): Likewise.
1513
15142013-05-24 Ondřej Bílka <neleai@seznam.cz>
1515
1516 [BZ #15381]
1517 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1518
15192013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1520
1521 [BZ #14894]
1522 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1523 __ppc_mdoio and __ppc_mdoom.
1524 * manual/platform.texi: Document new functions __ppc_yield,
1525 __ppc_mdoio and __ppc_mdoom.
1526
15272013-05-22 Carlos O'Donell <carlos@redhat.com>
1528
1529 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1530 (main): Mention "tls" pseudo-hwcap is legacy.
1531 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1532
15332013-05-22 Joseph Myers <joseph@codesourcery.com>
1534
1535 * math/gen-libm-test.pl (parse_args): Output only string of
1536 arguments as text for test name, not full call or descriptions of
1537 tests for extra outputs.
1538 (generate_testfile): Do not pass function name to parse_args.
1539 Generate this_func variable from START.
1540 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1541 field to arg_str.
1542 (struct test_ff_f_data): Likewise.
1543 (test_ff_f_data_nexttoward): Likewise.
1544 (struct test_fi_f_data): Likewise.
1545 (struct test_fl_f_data): Likewise.
1546 (struct test_if_f_data): Likewise.
1547 (struct test_fff_f_data): Likewise.
1548 (struct test_c_f_data): Likewise.
1549 (struct test_f_f1_data): Likewise. Remove field extra_name.
1550 (struct test_fF_f1_data): Likewise.
1551 (struct test_ffI_f1_data): Likewise.
1552 (struct test_c_c_data): Rename test_name field to arg_str.
1553 (struct test_cc_c_data): Likewise.
1554 (struct test_f_i_data): Likewise.
1555 (struct test_ff_i_data): Likewise.
1556 (struct test_f_l_data): Likewise.
1557 (struct test_f_L_data): Likewise.
1558 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
1559 and extra2_name.
1560 (COMMON_TEST_SETUP): New macro.
1561 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1562 (COMMON_TEST_CLEANUP): Likewise.
1563 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1564 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
1565 macros.
1566 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1567 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
1568 macros.
1569 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1570 (RUN_TEST_fff_f): Take argument string. Call new setup and
1571 cleanup macros.
1572 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1573 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
1574 macros.
1575 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1576 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
1577 macros.
1578 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1579 (RUN_TEST_fF_f1): Take argument string. Call new setup and
1580 cleanup macros.
1581 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1582 (RUN_TEST_fI_f1): Take argument string. Call new setup and
1583 cleanup macros.
1584 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1585 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
1586 cleanup macros.
1587 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1588 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
1589 macros.
1590 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1591 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
1592 macros.
1593 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1594 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
1595 macros.
1596 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1597 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
1598 cleanup macros.
1599 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1600 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
1601 cleanup macros.
1602 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1603 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
1604 macros.
1605 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1606 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
1607 cleanup macros.
1608 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1609 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
1610 macros.
1611 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1612 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
1613 macros.
1614 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1615 (RUN_TEST_fFF_11): Take argument string. Call new setup and
1616 cleanup macros.
1617 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1618
16192013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1620
1621 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1622 to _sifields.sigfault.
1623 (si_addr_lsb): Define new macro.
1624 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1625 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1626 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1627
16282013-05-03 Carlos O'Donell <carlos at redhat.com>
1629
1630 [BZ #15441]
1631 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1632 returns -1.
1633 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1634 null return -1.
1635 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1636 loading the domain.
1637
16382013-05-22 Joseph Myers <joseph@codesourcery.com>
1639
1640 * math/gen-libm-test.pl (parse_args): Do not include expected
1641 result in test name.
1642 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1643 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1644 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1645 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1646 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1648
16492013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1650
1651 * benchtests/Makefile: Sort function entries.
1652
1653 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1654 tanh, asinh, acosh, atanh.
1655 * benchtests/acos-inputs: New file.
1656 * benchtests/acosh-inputs: New file.
1657 * benchtests/asin-inputs: New file.
1658 * benchtests/asinh-inputs: New file.
1659 * benchtests/atanh-inputs: New file.
1660 * benchtests/cosh-inputs: New file.
1661 * benchtests/log-inputs: New file.
1662 * benchtests/sinh-inputs: New file.
1663 * benchtests/tanh-inputs: New file.
1664
16652013-05-21 Dmitry V. Levin <ldv@altlinux.org>
1666
1667 [BZ #15339]
1668 * posix/tst-getaddrinfo4.c: New test.
1669 * posix/Makefile (tests): Add it.
1670
16712013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1672
1673 [BZ #15339]
1674 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1675 when no services were used.
1676 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1677 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1678
16792013-05-21 Andreas Schwab <schwab@suse.de>
1680
1681 [BZ #15014]
1682 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1683 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1684 successful.
1685 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1686 redundant variable declarations and reallocation of buffer when
1687 parsing as IPv6 address. Always set NSS status when called from
1688 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
1689 buffer too small. Correct computation of needed size.
1690 * nss/Makefile (tests): Add test-digits-dots.
1691 * nss/test-digits-dots.c: New test.
1692
16932013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1694
1695 * benchtests/Makefile: Remove instructions for adding
1696 benchmark tests.
1697 * benchtests/README: New file to explain how to execute and
1698 enhance the benchmark tests.
1699
17002013-05-21 Andreas Schwab <schwab@suse.de>
1701
1702 [BZ #15493]
1703 * setjmp/Makefile (tests): Add tst-sigsetjmp.
1704 * setjmp/tst-sigsetjmp.c: New test.
1705
17062013-05-20 Ondřej Bílka <neleai@seznam.cz>
1707
1708 * sysdeps/x86_64/memset.S (memset): New implementation.
1709 (__bzero): Likewise.
1710 (__memset_tail): New function.
1711
17122013-05-20 Ondřej Bílka <neleai@seznam.cz>
1713
1714 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1715 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1716 __memcpy_sse2_unaligned ifunc selection.
1717 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1718 Add memcpy-sse2-unaligned.S.
1719 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1720 Add: __memcpy_sse2_unaligned.
1721
17222013-05-19 Joseph Myers <joseph@codesourcery.com>
1723
1724 [BZ #15490]
1725 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1726 math_force_eval before restoring floating-point envrionment.
1727 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1728 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1729 Likewise.
1730 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1731 <math_private.h>.
1732 (__nearbyintl): Use math_force_eval before restoring
1733 floating-point environment.
1734 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1735
1736 * math/gen-libm-test.pl (special_functions): Remove.
1737 (parse_args): Don't handle TEST_extra. Handle functions with no
1738 return value.
1739 * math/libm-test.inc (struct test_sincos_data): Replace with
1740 struct test_fFF_11_data.
1741 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1742 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1743 (sincos_test_data): Change element type to struct
1744 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
1745 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1746 RUN_TEST_LOOP_sincos.
1747 * math/README.libm-test: Don't mention special handling of
1748 individual functions.
1749 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1750 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1751 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1752 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1753 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1755
1756 * math/gen-libm-test.pl (get_variable): Remove function.
1757 (parse_args): Don't show pointer parameters to call in test
1758 names. Use "extra output N" in test names for extra outputs
1759 rather than naming variables.
1760
17612013-05-18 Joseph Myers <joseph@codesourcery.com>
1762
1763 [BZ #15488]
1764 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1765 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1766 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1767 double tests.
1768 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1769 disable.
1770 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1771 check_long_double.
1772
1773 * math/gen-libm-test.pl (@tests): Remove variable.
1774 ($count): Likewise.
1775 (new_test): Remove function.
1776 (show_exceptions): New function.
1777 (special_functions): Use show_exceptions instead of new_test.
1778 (parse_args): Likewise.
1779 (generate_testfile): Pass only function name in generated call to
1780 print_max_error or print_complex_max_error.
1781 (get_ulps): Do not handle complex tests specially.
1782 (output_test): Rename to ...
1783 (get_all_ulps_for_test): ... this. Return a string rather than
1784 printing to a file. Require ulps to be present.
1785 (output_ulps): Generate arrays rather than #defines.
1786 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1787 (struct ulp_data): New type.
1788 (BUILD_COMPLEX_ULP): Remove macro.
1789 (compare_ulp_data): New function.
1790 (find_ulps): Likewise.
1791 (find_test_ulps): Likewise.
1792 (find_function_ulps): Likewise.
1793 (find_complex_function_ulps): Likewise.
1794 (print_max_error): Determine allowed ulps using
1795 find_function_ulps.
1796 (print_complex_max_error): Determine allowed ulps using
1797 find_complex_function_ulps.
1798 (check_float_internal): Determine max ulps using find_test_ulps.
1799 (check_float): Do not take max_ulp parameter. Update call to
1800 check_float_internal.
1801 (check_complex): Likewise.
1802 (check_int): Do not take max_ulp parameter.
1803 (check_long): Likewise.
1804 (check_bool): Likewise.
1805 (check_longlong): Likewise.
1806 (struct test_f_f_data): Remove max_ulp field.
1807 (struct test_ff_f_data): Likewise.
1808 (struct test_ff_f_data_nexttoward): Likewise.
1809 (struct test_fi_f_data): Likewise.
1810 (struct test_fl_f_data): Likewise.
1811 (struct test_if_f_data): Likewise.
1812 (struct test_fff_f_data): Likewise.
1813 (struct test_c_f_data): Likewise.
1814 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1815 (struct test_fF_f1_data): Likewise.
1816 (struct test_ffI_f1_data): Likewise.
1817 (struct test_c_c_data): Remove max_ulp field.
1818 (struct test_cc_c_data): Likewise.
1819 (struct test_f_i_data): Likewise.
1820 (struct test_ff_i_data): Likewise.
1821 (struct test_f_l_data): Likewise.
1822 (struct test_f_L_data): Likewise.
1823 (struct test_sincos_data): Likewise.
1824 (RUN_TEST_f_f): Do not handle ulps.
1825 (RUN_TEST_LOOP_f_f): Likewise.
1826 (RUN_TEST_2_f): Likewise.
1827 (RUN_TEST_LOOP_2_f): Likewise.
1828 (RUN_TEST_fff_f): Likewise.
1829 (RUN_TEST_LOOP_fff_f): Likewise.
1830 (RUN_TEST_c_f): Likewise.
1831 (RUN_TEST_LOOP_c_f): Likewise.
1832 (RUN_TEST_f_f1): Likewise.
1833 (RUN_TEST_LOOP_f_f1): Likewise.
1834 (RUN_TEST_fF_f1): Likewise.
1835 (RUN_TEST_LOOP_fF_f1): Likewise.
1836 (RUN_TEST_fI_f1): Likewise.
1837 (RUN_TEST_LOOP_fI_f1): Likewise.
1838 (RUN_TEST_ffI_f1): Likewise.
1839 (RUN_TEST_LOOP_ffI_f1): Likewise.
1840 (RUN_TEST_c_c): Likewise.
1841 (RUN_TEST_LOOP_c_c): Likewise.
1842 (RUN_TEST_cc_c): Likewise.
1843 (RUN_TEST_LOOP_cc_c): Likewise.
1844 (RUN_TEST_f_i): Likewise.
1845 (RUN_TEST_LOOP_f_i): Likewise.
1846 (RUN_TEST_f_i_tg): Likewise.
1847 (RUN_TEST_LOOP_f_i_tg): Likewise.
1848 (RUN_TEST_ff_i_tg): Likewise.
1849 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1850 (RUN_TEST_f_b): Likewise.
1851 (RUN_TEST_LOOP_f_b): Likewise.
1852 (RUN_TEST_f_b_tg): Likewise.
1853 (RUN_TEST_LOOP_f_b_tg): Likewise.
1854 (RUN_TEST_f_l): Likewise.
1855 (RUN_TEST_LOOP_f_l): Likewise.
1856 (RUN_TEST_f_L): Likewise.
1857 (RUN_TEST_LOOP_f_L): Likewise.
1858 (RUN_TEST_sincos): Likewise.
1859 (RUN_TEST_LOOP_sincos): Likewise.
1860
18612013-05-17 Joseph Myers <joseph@codesourcery.com>
1862
1863 [BZ #15480]
1864 [BZ #15485]
1865 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
1866 main case of finite arguments, set rounding mode to FE_TONEAREST
1867 and discard exceptions.
1868 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
1869 exceptions.
1870 (remainder_tonearest_test_data): New variable.
1871 (remainder_test_tonearest): New function.
1872 (remainder_towardzero_test_data): New variable.
1873 (remainder_test_towardzero): New function.
1874 (remainder_downward_test_data): New variable.
1875 (remainder_test_downward): New function.
1876 (remainder_upward_test_data): New variable.
1877 (remainder_test_upward): New function.
1878 (main): Call the new test functions.
1879
1880 * math/libm-test.inc (struct test_f_f1_data): Remove field
1881 extra_init.
1882 (struct test_fF_f1_data): Likewise.
1883 (struct test_ffI_f1_data): Likewise.
1884 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
1885 based on value of EXTRA_EXPECTED.
1886 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1887 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
1888 EXTRA_VAR based on value of EXTRA_EXPECTED.
1889 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1890 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
1891 EXTRA_VAR based on value of EXTRA_EXPECTED.
1892 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1893 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
1894 EXTRA_VAR based on value of EXTRA_EXPECTED.
1895 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1896 * math/gen-libm-test.pl (parse_args): Don't output initializers
1897 for extra output values.
1898
1899 * math/libm-test.inc (check_int): Expect result to be exactly
1900 equal to expected value and do not handle ulps.
1901 (check_long): Likewise.
1902 (check_longlong): Likewise.
1903
1904 * math/libm-test.inc (ceil_test_data): Test for "inexact"
1905 exceptions.
1906 (cimag_test_data): Likewise.
1907 (conj_test_data): Likewise.
1908 (copysign_test_data): Likewise.
1909 (cproj_test_data): Likewise.
1910 (creal_test_data): Likewise.
1911 (fabs_test_data): Likewise.
1912 (fdim_test_data): Likewise.
1913 (finite_test_data): Likewise.
1914 (floor_test_data): Likewise.
1915 (fmax_test_data): Likewise.
1916 (fmin_test_data): Likewise.
1917 (fmod_test_data): Likewise.
1918 (fpclassify_test_data): Likewise.
1919 (frexp_test_data): Likewise.
1920 (ilogb_test_data): Likewise.
1921 (isfinite_test_data): Likewise.
1922 (isgreater_test_data): Likewise.
1923 (isgreaterequal_test_data): Likewise.
1924 (isinf_test_data): Likewise.
1925 (isless_test_data): Likewise.
1926 (islessequal_test_data): Likewise.
1927 (islessgreater_test_data): Likewise.
1928 (isnan_test_data): Likewise.
1929 (isnormal_test_data): Likewise.
1930 (issignaling_test_data): Likewise.
1931 (isunordered_test_data): Likewise.
1932 (ldexp_test_data): Likewise.
1933 (lrint_test_data): Likewise.
1934 (lrint_test_data) [TEST_FLOAT]: Disable one test.
1935 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
1936 (lrint_tonearest_test_data): Test for "inexact" exceptions.
1937 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1938 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
1939 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1940 test input.
1941 (lrint_towardzero_test_data): Test for "inexact" exceptions.
1942 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1943 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
1944 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
1945 that test input.
1946 (lrint_downward_test_data): Test for "inexact" exceptions.
1947 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1948 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
1949 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1950 test input.
1951 (lrint_upward_test_data): Test for "inexact" exceptions.
1952 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
1953 test input.
1954 (llrint_test_data): Test for "inexact" exceptions.
1955 (llrint_test_data) [TEST_FLOAT]: Disable one test.
1956 (llrint_tonearest_test_data): Test for "inexact" exceptions.
1957 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1958 (llrint_towardzero_test_data): Test for "inexact" exceptions.
1959 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1960 (llrint_downward_test_data): Test for "inexact" exceptions.
1961 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1962 (llrint_upward_test_data): Test for "inexact" exceptions.
1963 (logb_test_data): Likewise.
1964 (logb_downward_test_data): Likewise.
1965 (nextafter_test_data): Likewise.
1966 (nexttoward_test_data): Likewise.
1967 (remainder_test_data): Likewise.
1968 (remquo_test_data): Likewise.
1969 (scalbn_test_data): Likewise.
1970 (scalbln_test_data): Likewise.
1971 (signbit_test_data): Likewise.
1972 (sqrt_test_data): Likewise.
1973 (significand_test_data): Likewise.
1974
19752013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1976
1977 [BZ #15424]
1978 * benchtests/bench-modf.c (struct args): Mark arg0 as
1979 volatile.
1980 * scripts/bench.pl: Mark members of struct args as volatile.
1981
19822013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1983
1984 [BZ # 15497]
1985 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
1986 negative infinity on POWER6 or lower.
1987 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
1988
19892013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1990
1991 [BZ #15442]
1992 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
1993 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
1994 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
1995 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
1996 (_FP_SETQNAN): New macro.
1997 (_FP_SETQNAN_SEMIRAW): Likewise.
1998 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
1999 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2000 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2001 (FP_EXTEND): Use _FP_FRAC_SNANP.
2002 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2003 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2004 into account.
2005 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2006 New macro.
2007 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2008 Likewise.
2009
20102013-05-16 Joseph Myers <joseph@codesourcery.com>
2011
2012 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2013 with DIVIDE_BY_ZERO_EXCEPTION.
2014 (gamma_test_data): Likewise.
2015 (lgamma_test_data): Likewise.
2016 (log_test_data): Likewise.
2017 (log10_test_data): Likewise.
2018 (log2_test_data): Likewise.
2019 (tgamma_test_data): Likewise.
2020
2021 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2022 (acos_test_tonearest): Likewise.
2023 (acos_test_towardzero): Likewise.
2024 (acos_test_downward): Likewise.
2025 (acos_test_upward): Likewise.
2026 (acosh_test): Likewise.
2027 (asin_test): Likewise.
2028 (asin_test_tonearest): Likewise.
2029 (asin_test_towardzero): Likewise.
2030 (asin_test_downward): Likewise.
2031 (asin_test_upward): Likewise.
2032 (asinh_test): Likewise.
2033 (atan_test): Likewise.
2034 (atanh_test): Likewise.
2035 (atan2_test): Likewise.
2036 (cabs_test): Likewise.
2037 (cacos_test): Likewise.
2038 (cacosh_test): Likewise.
2039 (casin_test): Likewise.
2040 (casinh_test): Likewise.
2041 (catan_test): Likewise.
2042 (catanh_test): Likewise.
2043 (cbrt_test): Likewise.
2044 (ccos_test): Likewise.
2045 (ccosh_test): Likewise.
2046 (cexp_test): Likewise.
2047 (clog_test): Likewise.
2048 (clog10_test): Likewise.
2049 (cos_test): Likewise.
2050 (cos_test_tonearest): Likewise.
2051 (cos_test_towardzero): Likewise.
2052 (cos_test_downward): Likewise.
2053 (cos_test_upward): Likewise.
2054 (cosh_test): Likewise.
2055 (cosh_test_tonearest): Likewise.
2056 (cosh_test_towardzero): Likewise.
2057 (cosh_test_downward): Likewise.
2058 (cosh_test_upward): Likewise.
2059 (cpow_test): Likewise.
2060 (csin_test): Likewise.
2061 (csinh_test): Likewise.
2062 (csqrt_test): Likewise.
2063 (ctan_test): Likewise.
2064 (ctan_test_tonearest): Likewise.
2065 (ctan_test_towardzero): Likewise.
2066 (ctan_test_downward): Likewise.
2067 (ctan_test_upward): Likewise.
2068 (ctanh_test): Likewise.
2069 (ctanh_test_tonearest): Likewise.
2070 (ctanh_test_towardzero): Likewise.
2071 (ctanh_test_downward): Likewise.
2072 (ctanh_test_upward): Likewise.
2073 (erf_test): Likewise.
2074 (erfc_test): Likewise.
2075 (exp_test): Likewise.
2076 (exp_test_tonearest): Likewise.
2077 (exp_test_towardzero): Likewise.
2078 (exp_test_downward): Likewise.
2079 (exp_test_upward): Likewise.
2080 (exp10_test): Likewise.
2081 (exp2_test): Likewise.
2082 (expm1_test): Likewise.
2083 (fmod_test): Likewise.
2084 (gamma_test): Likewise.
2085 (hypot_test): Likewise.
2086 (j0_test): Likewise.
2087 (j1_test): Likewise.
2088 (jn_test): Likewise.
2089 (lgamma_test): Likewise.
2090 (log_test): Likewise.
2091 (log10_test): Likewise.
2092 (log1p_test): Likewise.
2093 (log2_test): Likewise.
2094 (logb_test_downward): Likewise.
2095 (pow_test): Likewise.
2096 (pow_test_tonearest): Likewise.
2097 (pow_test_towardzero): Likewise.
2098 (pow_test_downward): Likewise.
2099 (pow_test_upward): Likewise.
2100 (remainder_test): Likewise.
2101 (remquo_test): Likewise.
2102 (sin_test): Likewise.
2103 (sin_test_tonearest): Likewise.
2104 (sin_test_towardzero): Likewise.
2105 (sin_test_downward): Likewise.
2106 (sin_test_upward): Likewise.
2107 (sincos_test): Likewise.
2108 (sinh_test): Likewise.
2109 (sinh_test_tonearest): Likewise.
2110 (sinh_test_towardzero): Likewise.
2111 (sinh_test_downward): Likewise.
2112 (sinh_test_upward): Likewise.
2113 (sqrt_test): Likewise.
2114 (tan_test): Likewise.
2115 (tan_test_tonearest): Likewise.
2116 (tan_test_towardzero): Likewise.
2117 (tan_test_downward): Likewise.
2118 (tan_test_upward): Likewise.
2119 (tanh_test): Likewise.
2120 (tgamma_test): Likewise.
2121 (y0_test): Likewise.
2122 (y1_test): Likewise.
2123 (yn_test): Likewise.
2124
2125 * math/gen-libm-test.pl (adjust_arg): Remove function.
2126 (special_function): Remove argument $in_func. Only handle
2127 generating output for tables of tests, not inside functions.
2128 (parse_args): Likewise.
2129 (generate_testfile): Remove variable $in_func. Update call to
2130 parse_args.
2131 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2132 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2133 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2134 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2135 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2136 (MAX_VALUE_INIT): Rename macro to max_value.
2137 (MIN_VALUE_INIT): Rename macro to min_value.
2138 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2139 (plus_zero): Remove variable.
2140 (minus_zero): Likewise.
2141 (plus_infty): Likewise.
2142 (minus_infty): Likewise.
2143 (qnan_value): Likewise.
2144 (max_value): Likewise.
2145 (min_value): Likewise.
2146 (min_subnorm_value): Likewise.
2147
21482013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2149
2150 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2151 uint64_t or uint32_t usage.
2152 * crypt/sha256-block.c: Likewise.
2153 * crypt/sha256-crypt.c: Likewise.
2154 * crypt/sha256.c: Likewise.
2155 * crypt/sha512-block.c: Likewise.
2156 * crypt/sha512-crypt.c: Likewise.
2157 * crypt/sha512.c: Likewise.
2158 * debug/backtrace-tst.c: Likewise.
2159 * debug/pcprofiledump.c: Likewise.
2160 * elf/cache.c: Likewise.
2161 * elf/dl-cache.c: Likewise.
2162 * elf/dl-misc.c: Likewise.
2163 * elf/dl-profile.c: Likewise.
2164 * elf/dl-support.c: Likewise.
2165 * elf/ldconfig.c: Likewise.
2166 * elf/sprof.c: Likewise.
2167 * iconv/dummy-repertoire.c: Likewise.
2168 * iconv/iconv_charmap.c: Likewise.
2169 * iconv/skeleton.c: Likewise.
2170 * iconvdata/8bit-generic.c: Likewise.
2171 * iconvdata/cp737.h: Likewise.
2172 * iconvdata/cp775.h: Likewise.
2173 * iconvdata/ibm1008.h: Likewise.
2174 * iconvdata/ibm1025.h: Likewise.
2175 * iconvdata/ibm1046.h: Likewise.
2176 * iconvdata/ibm1097.h: Likewise.
2177 * iconvdata/ibm1112.h: Likewise.
2178 * iconvdata/ibm1122.h: Likewise.
2179 * iconvdata/ibm1123.h: Likewise.
2180 * iconvdata/ibm1124.h: Likewise.
2181 * iconvdata/ibm1129.h: Likewise.
2182 * iconvdata/ibm1130.h: Likewise.
2183 * iconvdata/ibm1132.h: Likewise.
2184 * iconvdata/ibm1133.h: Likewise.
2185 * iconvdata/ibm1137.h: Likewise.
2186 * iconvdata/ibm1140.h: Likewise.
2187 * iconvdata/ibm1141.h: Likewise.
2188 * iconvdata/ibm1142.h: Likewise.
2189 * iconvdata/ibm1143.h: Likewise.
2190 * iconvdata/ibm1144.h: Likewise.
2191 * iconvdata/ibm1145.h: Likewise.
2192 * iconvdata/ibm1146.h: Likewise.
2193 * iconvdata/ibm1147.h: Likewise.
2194 * iconvdata/ibm1148.h: Likewise.
2195 * iconvdata/ibm1149.h: Likewise.
2196 * iconvdata/ibm1153.h: Likewise.
2197 * iconvdata/ibm1154.h: Likewise.
2198 * iconvdata/ibm1155.h: Likewise.
2199 * iconvdata/ibm1156.h: Likewise.
2200 * iconvdata/ibm1157.h: Likewise.
2201 * iconvdata/ibm1158.h: Likewise.
2202 * iconvdata/ibm1160.h: Likewise.
2203 * iconvdata/ibm1161.h: Likewise.
2204 * iconvdata/ibm1162.h: Likewise.
2205 * iconvdata/ibm1163.h: Likewise.
2206 * iconvdata/ibm1164.h: Likewise.
2207 * iconvdata/ibm1166.h: Likewise.
2208 * iconvdata/ibm1167.h: Likewise.
2209 * iconvdata/ibm12712.h: Likewise.
2210 * iconvdata/ibm1390.h: Likewise.
2211 * iconvdata/ibm1399.h: Likewise.
2212 * iconvdata/ibm16804.h: Likewise.
2213 * iconvdata/ibm4517.h: Likewise.
2214 * iconvdata/ibm4899.h: Likewise.
2215 * iconvdata/ibm4909.h: Likewise.
2216 * iconvdata/ibm4971.h: Likewise.
2217 * iconvdata/ibm5347.h: Likewise.
2218 * iconvdata/ibm803.h: Likewise.
2219 * iconvdata/ibm856.h: Likewise.
2220 * iconvdata/ibm901.h: Likewise.
2221 * iconvdata/ibm902.h: Likewise.
2222 * iconvdata/ibm9030.h: Likewise.
2223 * iconvdata/ibm9066.h: Likewise.
2224 * iconvdata/ibm921.h: Likewise.
2225 * iconvdata/ibm922.h: Likewise.
2226 * iconvdata/ibm9448.h: Likewise.
2227 * iconvdata/isiri-3342.h: Likewise.
2228 * iconvdata/jis0201.h: Likewise.
2229 * include/link.h: Likewise.
2230 * include/netdb.h: Likewise.
2231 * inet/check_native.c: Likewise.
2232 * inet/check_pf.c: Likewise.
2233 * inet/getipv4sourcefilter.c: Likewise.
2234 * inet/getnameinfo.c: Likewise.
2235 * inet/getsourcefilter.c: Likewise.
2236 * inet/htonl.c: Likewise.
2237 * inet/setipv4sourcefilter.c: Likewise.
2238 * inet/setsourcefilter.c: Likewise.
2239 * inet/test-inet6_opt.c: Likewise.
2240 * inet/tst-network.c: Likewise.
2241 * locale/C-collate.c: Likewise.
2242 * locale/C-ctype.c: Likewise.
2243 * locale/C-time.c: Likewise.
2244 * locale/C-translit.h: Likewise.
2245 * locale/loadarchive.c: Likewise.
2246 * locale/programs/3level.h: Likewise.
2247 * locale/programs/charmap.c: Likewise.
2248 * locale/programs/charmap.h: Likewise.
2249 * locale/programs/ld-address.c: Likewise.
2250 * locale/programs/ld-collate.c: Likewise.
2251 * locale/programs/ld-ctype.c: Likewise.
2252 * locale/programs/ld-identification.c: Likewise.
2253 * locale/programs/ld-measurement.c: Likewise.
2254 * locale/programs/ld-messages.c: Likewise.
2255 * locale/programs/ld-monetary.c: Likewise.
2256 * locale/programs/ld-name.c: Likewise.
2257 * locale/programs/ld-numeric.c: Likewise.
2258 * locale/programs/ld-paper.c: Likewise.
2259 * locale/programs/ld-telephone.c: Likewise.
2260 * locale/programs/ld-time.c: Likewise.
2261 * locale/programs/linereader.c: Likewise.
2262 * locale/programs/locale.c: Likewise.
2263 * locale/programs/locarchive.c: Likewise.
2264 * locale/programs/locfile.h: Likewise.
2265 * locale/programs/repertoire.c: Likewise.
2266 * locale/programs/simple-hash.c: Likewise.
2267 * locale/programs/simple-hash.h: Likewise.
2268 * malloc/memusage.c: Likewise.
2269 * malloc/memusagestat.c: Likewise.
2270 * nis/nis_defaults.c: Likewise.
2271 * nis/nis_hash.c: Likewise.
2272 * nis/nis_print.c: Likewise.
2273 * nis/nis_xdr.c: Likewise.
2274 * nscd/connections.c: Likewise.
2275 * nscd/hstcache.c: Likewise.
2276 * nscd/nscd_gethst_r.c: Likewise.
2277 * nscd/nscd_getserv_r.c: Likewise.
2278 * nscd/nscd_helper.c: Likewise.
2279 * nscd/servicescache.c: Likewise.
2280 * nss/makedb.c: Likewise.
2281 * nss/nss_db/db-XXX.c: Likewise.
2282 * nss/nss_db/db-initgroups.c: Likewise.
2283 * nss/nss_db/db-netgrp.c: Likewise.
2284 * nss/nss_files/files-network.c: Likewise.
2285 * nss/nss_files/files-parse.c: Likewise.
2286 * posix/bug-regex5.c: Likewise.
2287 * posix/fnmatch_loop.c: Likewise.
2288 * posix/regcomp.c: Likewise.
2289 * posix/regexec.c: Likewise.
2290 * posix/tst-rfc3484-2.c: Likewise.
2291 * posix/tst-rfc3484-3.c: Likewise.
2292 * posix/tst-rfc3484.c: Likewise.
2293 * resolv/nss_dns/dns-canon.c: Likewise.
2294 * resolv/nss_dns/dns-network.c: Likewise.
2295 * resolv/res_init.c: Likewise.
2296 * resolv/res_mkquery.c: Likewise.
2297 * resolv/tst-aton.c: Likewise.
2298 * stdlib/cxa_atexit.c: Likewise.
2299 * stdlib/cxa_finalize.c: Likewise.
2300 * stdlib/gen-fpioconst.c: Likewise.
2301 * stdlib/strtol_l.c: Likewise.
2302 * string/tst-endian.c: Likewise.
2303 * sunrpc/auth_des.c: Likewise.
2304 * sunrpc/clnt_udp.c: Likewise.
2305 * sunrpc/rtime.c: Likewise.
2306 * sunrpc/svcauth_des.c: Likewise.
2307 * sunrpc/xdr.c: Likewise.
2308 * sunrpc/xdr_intXX_t.c: Likewise.
2309 * sunrpc/xdr_rec.c: Likewise.
2310 * sysdeps/generic/ldconfig.h: Likewise.
2311 * sysdeps/generic/ldsodefs.h: Likewise.
2312 * sysdeps/generic/memusage.h: Likewise.
2313 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2314 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2315 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2316 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2317 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2318 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2319 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2320 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2321 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2322 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2323 * sysdeps/posix/getaddrinfo.c: Likewise.
2324 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2325 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2326 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2327 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2328 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2329 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2330 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2331 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2332 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2333 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2334 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2335 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2336 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2337 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2338 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2339 * sysdeps/x86_64/dl-tls.h: Likewise.
2340 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2341 * time/alt_digit.c: Likewise.
2342 * time/era.c: Likewise.
2343 * wcsmbs/tst-c16c32-1.c: Likewise.
2344
23452013-05-16 Joseph Myers <joseph@codesourcery.com>
2346
2347 * math/libm-test.inc (struct test_sincos_data): New type.
2348 (RUN_TEST_LOOP_sincos): New macro.
2349 (sincos_test_data): New variable.
2350 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2351
23522013-05-16 Richard Henderson <rth@redhat.com>
2353
2354 * math/atest-exp2.c (LIMB64): New macro.
2355 (CONSTSZ): New macro.
2356 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2357 (hexdig): Move ...
2358 (print_mpn_fp): ... to function scope.
2359 (read_mpn_hex): Remove.
2360 (get_log2): Remove.
2361 (exp2_mpn): Use mp_log2.
2362 (main): Use mp_exp1.
2363
23642013-05-16 Joseph Myers <joseph@codesourcery.com>
2365
2366 * math/libm-test.inc: Remove comment about not testing "inexact"
2367 exceptions.
2368 (INEXACT_EXCEPTION): New macro.
2369 (NO_INEXACT_EXCEPTION): Likewise.
2370 (INVALID_EXCEPTION_OK): Update value.
2371 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2372 (OVERFLOW_EXCEPTION_OK): Likewise.
2373 (UNDERFLOW_EXCEPTION_OK): Likewise.
2374 (IGNORE_ZERO_INF_SIGN): Likewise.
2375 (ERRNO_UNCHANGED): Likewise.
2376 (ERRNO_EDOM): Likewise.
2377 (ERRNO_ERANGE): Likewise.
2378 (test_exceptions): Handle testing "inexact" exceptions.
2379 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2380 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2381 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2382 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2383 INEXACT_EXCEPTION.
2384 (rint_towardzero_test_data): Likewise.
2385 (rint_downward_test_data): Likewise.
2386 (rint_upward_test_data): Likewise.
2387
2388 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2389 with OVERFLOW_EXCEPTION.
2390 (exp10_test_data): Likewise.
2391 (exp2_test_data): Likewise.
2392 (expm1_test_data): Likewise.
2393 (lgamma_test_data): Likewise.
2394 (pow_test_data): Likewise.
2395 (tgamma_test_data): Likewise.
2396 (yn_test_data): Remove duplicate test of overflow.
2397
2398 * math/libm-test.inc (struct test_cc_c_data): New type.
2399 (RUN_TEST_LOOP_cc_c): New macro.
2400 (cpow_test_data): New variable.
2401 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2402
2403 * math/libm-test.inc (struct test_f_L_data): New type.
2404 (RUN_TEST_LOOP_f_L): New macro.
2405 (llrint_test_data): New variable.
2406 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2407 (llrint_tonearest_test_data): New variable.
2408 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2409 (llrint_towardzero_test_data): New variable.
2410 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2411 (llrint_downward_test_data): New variable.
2412 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2413 (llrint_upward_test_data): New variable.
2414 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2415 (llround_test_data): New variable.
2416 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2417
24182013-05-13 Peter Collingbourne <pcc@google.com>
2419
2420 * math/atest-exp2.c (get_log2): Remove const attribute.
2421
24222013-05-15 Joseph Myers <joseph@codesourcery.com>
2423
2424 * math/libm-test.inc (struct test_f_l_data): New type.
2425 (RUN_TEST_LOOP_f_l): New macro.
2426 (lrint_test_data): New variable.
2427 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2428 (lrint_tonearest_test_data): New variable.
2429 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2430 (lrint_towardzero_test_data): New variable.
2431 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2432 (lrint_downward_test_data): New variable.
2433 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2434 (lrint_upward_test_data): New variable.
2435 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2436 (lround_test_data): New variable.
2437 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2438
24392013-05-15 Peter Collingbourne <pcc@google.com>
2440
2441 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2442 (EXTRACT_WORDS64) Use where appropriate.
2443 (INSERT_WORDS64) Likewise.
2444
2445 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2446 constraints with x constraints.
2447 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2448
2449 * malloc/obstack.c (_obstack_compat): Add initializer.
2450
24512013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2452
2453 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2454 si_trapno and add si_addr_lsb to _sifields.sigfault.
2455 (si_trapno): Remove macro.
2456 (si_addr_lsb): Define new macro.
2457 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2458
24592013-05-15 Joseph Myers <joseph@codesourcery.com>
2460
2461 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2462 instead of TEST_f_l.
2463 (llrint_test_tonearest): Likewise.
2464 (llrint_test_towardzero): Likewise.
2465 (llrint_test_downward): Likewise.
2466 (llrint_test_upward): Likewise.
2467 (llround_test): Likewise.
2468
2469 * math/libm-test.inc (struct test_f_i_data): Add comment.
2470 (RUN_TEST_LOOP_f_b): New macro.
2471 (RUN_TEST_LOOP_f_b_tg): Likewise.
2472 (finite_test_data): New variable.
2473 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2474 (isfinite_test_data): New variable.
2475 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2476 (isinf_test_data): New variable.
2477 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2478 (isnan_test_data): New variable.
2479 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2480 (isnormal_test_data): New variable.
2481 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2482 (issignaling_test_data): New variable.
2483 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2484 (signbit_test_data): New variable.
2485 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2486
2487 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2488 with INVALID_EXCEPTION.
2489 (acosh_test_data): Likewise.
2490 (asin_test_data): Likewise.
2491 (atanh_test_data): Likewise.
2492 (fmod_test_data): Likewise.
2493 (log_test_data): Likewise.
2494 (log10_test_data): Likewise.
2495 (log2_test_data): Likewise.
2496 (pow_test_data): Likewise.
2497 (sqrt_test_data): Likewise.
2498 (y0_test_data): Likewise.
2499 (y1_test_data): Likewise.
2500 (yn_test_data): Likewise.
2501
2502 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2503 function contents.
2504
2505 * math/libm-test.inc (struct test_ff_i_data): New type.
2506 (RUN_TEST_LOOP_ff_i_tg): New macro.
2507 (isgreater_test_data): New variable.
2508 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2509 (isgreaterequal_test_data): New variable.
2510 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2511 (isless_test_data): New variable.
2512 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2513 (islessequal_test_data): New variable.
2514 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2515 (islessgreater_test_data): New variable.
2516 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2517 (isunordered_test_data): New variable.
2518 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2519
25202013-05-14 David S. Miller <davem@davemloft.net>
2521
2522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2523
25242013-05-14 Joseph Myers <joseph@codesourcery.com>
2525
2526 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2527
2528 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2529 extra_test to int.
2530 (struct test_f_i_data): Change type of max_ulp to int.
2531
2532 * math/libm-test.inc (test_ffI_f1_data): New type.
2533 (RUN_TEST_LOOP_ffI_f1): New macro.
2534 (remquo_test_data): New variable.
2535 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2536
2537 * setjmp/tst-setjmp-fp.c: New file.
2538 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2539 (link-libm): New variable.
2540 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2541
2542 * math/libm-test.inc (struct test_f_i_data): New type.
2543 (RUN_TEST_LOOP_f_i): New macro.
2544 (RUN_TEST_LOOP_f_i_tg): Likewise.
2545 (fpclassify_test_data): New variable.
2546 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2547 (ilogb_test_data): New variable.
2548 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2549
2550 * math/libm-test.inc (scalbln_test): Correct function name in END
2551 call.
2552
2553 * math/libm-test.inc (struct test_f_f1_data): Add comment.
2554 (RUN_TEST_LOOP_fI_f1): New macro.
2555 (frexp_test_data): New variable.
2556 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2557
2558 * math/libm-test.inc (struct test_fF_f1_data): New type.
2559 (RUN_TEST_LOOP_fF_f1): New macro.
2560 (modf_test_data): New variable.
2561 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2562
2563 * math/libm-test.inc (struct test_f_f1_data): New type.
2564 (RUN_TEST_LOOP_f_f1): New macro.
2565 (gamma_test_data): New variable.
2566 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2567 (lgamma_test_data): New variable.
2568 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2569
25702013-05-13 Carlos O'Donell <carlos@redhat.com>
2571
2572 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2573 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2574 (main): Comment "tls" pseudo-hwcap.
2575
25762013-05-13 Joseph Myers <joseph@codesourcery.com>
2577
2578 * math/libm-test.inc (struct test_fl_f_data): New type.
2579 (RUN_TEST_LOOP_fl_f): New variable.
2580 (scalbln_test_data): New variable.
2581 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2582
2583 * math/libm-test.inc (struct test_fi_f_data): New type.
2584 (RUN_TEST_LOOP_fi_f): New macro.
2585 (ldexp_test_data): New variable.
2586 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2587 (scalbn_test_data): New variable.
2588 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2589
2590 * math/libm-test.inc (struct test_c_f_data): New type.
2591 (RUN_TEST_LOOP_c_f): New macro.
2592 (cabs_test_data): New variable.
2593 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2594 (carg_test_data): New variable.
2595 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2596 (cimag_test_data): New variable.
2597 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2598 (creal_test_data): New variable.
2599 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2600
2601 * math/libm-test.inc (struct test_if_f_data): New type.
2602 (RUN_TEST_LOOP_if_f): New macro.
2603 (jn_test_data): New variable.
2604 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2605 (yn_test_data): New variable.
2606 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2607
2608 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2609
26102013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2611
2612 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2613 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2614
26152013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2616
2617 * benchtests/Makefile (CPPFLAGS-nonlib): Add
2618 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2619 (bench-deps): Add bench-timing.h.
2620 * benchtests-bench-skeleton.c: Include bench-timing.h.
2621 (main): Use TIMING_* macros instead of clock_gettime.
2622 * benchtests/bench-timing.h: New file.
2623
2624 [BZ #14582]
2625 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2626 Renamed from _LIB_VERSION.
2627 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2628
26292013-05-12 Joseph Myers <joseph@codesourcery.com>
2630
2631 * math/libm-test.inc (struct test_fff_f_data): New type.
2632 (RUN_TEST_LOOP_fff_f): New macro.
2633 (fma_test_data): New variable.
2634 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2635 (fma_towardzero_test_data): New variable.
2636 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2637 (fma_downward_test_data): New variable.
2638 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2639 (fma_upward_test_data): New variable.
2640 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2641
2642 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2643 (struct test_c_c_data): New type.
2644 (RUN_TEST_LOOP_c_c): New macro.
2645 (cacos_test_data): New variable.
2646 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2647 (cacosh_test_data): New variable.
2648 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2649 (casin_test_data): New variable.
2650 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2651 (casinh_test_data): New variable.
2652 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2653 (catan_test_data): New variable.
2654 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2655 (catanh_test_data): New variable.
2656 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2657 (ccos_test_data): New variable.
2658 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2659 (ccosh_test_data): New variable.
2660 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2661 (cexp_test_data): New variable.
2662 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2663 (clog_test_data): New variable.
2664 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2665 (clog10_test_data): New variable.
2666 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2667 (conj_test_data): New variable.
2668 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2669 (cproj_test_data): New variable.
2670 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2671 (csin_test_data): New variable.
2672 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2673 (csinh_test_data): New variable.
2674 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2675 (csqrt_test_data): New variable.
2676 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2677 (ctan_test_data): New variable.
2678 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2679 (ctan_tonearest_test_data): New variable.
2680 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2681 (ctan_towardzero_test_data): New variable.
2682 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2683 (ctan_downward_test_data): New variable.
2684 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2685 (ctan_upward_test_data): New variable.
2686 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2687 (ctanh_test_data): New variable.
2688 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2689 (ctanh_tonearest_test_data): New variable.
2690 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2691 (ctanh_towardzero_test_data): New variable.
2692 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2693 (ctanh_downward_test_data): New variable.
2694 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2695 (ctanh_upward_test_data): New variable.
2696 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2697 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2698 of BUILD_COMPLEX.
2699
2700 * math/libm-test.inc (struct test_ff_f_data): New type.
2701 (struct test_ff_f_data_nexttoward): Likewise.
2702 (RUN_TEST_LOOP_2_f): New macro.
2703 (RUN_TEST_LOOP_ff_f): Likewise.
2704 (atan2_test_data): New variable.
2705 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2706 (copysign_test_data): New variable.
2707 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2708 (fdim_test_data): New variable.
2709 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2710 (fmax_test_data): New variable.
2711 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2712 (fmin_test_data): New variable.
2713 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2714 (fmod_test_data): New variable.
2715 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2716 (hypot_test_data): New variable.
2717 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2718 (nextafter_test_data): New variable.
2719 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2720 (nexttoward_test_data): New variable.
2721 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2722 (pow_test_data): New variable.
2723 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2724 (pow_tonearest_test_data): New variable.
2725 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2726 (pow_towardzero_test_data): New variable.
2727 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2728 (pow_downward_test_data): New variable.
2729 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2730 (pow_upward_test_data): New variable.
2731 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2732 (remainder_test_data): New variable.
2733 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2734 (scalb_test_data): New variable.
2735 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2736 * sysdeps/i386/fpu/libm-test-ulps: Update.
2737
27382013-05-11 Joseph Myers <joseph@codesourcery.com>
2739
2740 * math/libm-test.inc (fma_test): Use max_value instead of local
2741 variable fltmax.
2742 (nextafter_test): Likewise.
2743
2744 * math/libm-test.inc (acos_towardzero_test_data): New variable.
2745 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2746 (acos_downward_test_data): New variable.
2747 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2748 (acos_upward_test_data): New variable.
2749 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2750 (acosh_test_data): New variable.
2751 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2752 (asin_test_data): New variable.
2753 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2754 (asin_tonearest_test_data): New variable.
2755 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2756 (asin_towardzero_test_data): New variable.
2757 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2758 (asin_downward_test_data): New variable.
2759 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2760 (asin_upward_test_data): New variable.
2761 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2762 (asinh_test_data): New variable.
2763 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2764 (atan_test_data): New variable.
2765 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2766 (atanh_test_data): New variable.
2767 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2768 (cbrt_test_data): New variable.
2769 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2770 (ceil_test_data): New variable.
2771 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2772 (cos_test_data): New variable.
2773 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2774 (cos_tonearest_test_data): New variable.
2775 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2776 (cos_towardzero_test_data): New variable.
2777 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2778 (cos_downward_test_data): New variable.
2779 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2780 (cos_upward_test_data): New variable.
2781 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2782 (cosh_test_data): New variable.
2783 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2784 (cosh_tonearest_test_data): New variable.
2785 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2786 (cosh_towardzero_test_data): New variable.
2787 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2788 (cosh_downward_test_data): New variable.
2789 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2790 (cosh_upward_test_data): New variable.
2791 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2792 (erf_test_data): New variable.
2793 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2794 (erfc_test_data): New variable.
2795 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2796 (exp_test_data): New variable.
2797 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2798 (exp_tonearest_test_data): New variable.
2799 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2800 (exp_towardzero_test_data): New variable.
2801 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2802 (exp_downward_test_data): New variable.
2803 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2804 (exp_upward_test_data): New variable.
2805 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2806 (exp10_test_data): New variable.
2807 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2808 (exp2_test_data): New variable.
2809 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2810 (expm1_test_data): New variable.
2811 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2812 (fabs_test_data): New variable.
2813 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2814 (floor_test_data): New variable.
2815 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2816 (j0_test_data): New variable.
2817 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2818 (j1_test_data): New variable.
2819 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
2820 (log_test_data): New variable.
2821 (log_test): Run tests with RUN_TEST_LOOP_f_f.
2822 (log10_test_data): New variable.
2823 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
2824 (log1p_test_data): New variable.
2825 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
2826 (log2_test_data): New variable.
2827 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
2828 (logb_test_data): New variable.
2829 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
2830 (logb_downward_test_data): New variable.
2831 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2832 (nearbyint_test_data): New variable.
2833 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
2834 (rint_test_data): New variable.
2835 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
2836 (rint_tonearest_test_data): New variable.
2837 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2838 (rint_towardzero_test_data): New variable.
2839 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2840 (rint_downward_test_data): New variable.
2841 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2842 (rint_upward_test_data): New variable.
2843 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2844 (round_test_data): New variable.
2845 (round_test): Run tests with RUN_TEST_LOOP_f_f.
2846 (sin_test_data): New variable.
2847 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
2848 (sin_tonearest_test_data): New variable.
2849 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2850 (sin_towardzero_test_data): New variable.
2851 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2852 (sin_downward_test_data): New variable.
2853 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2854 (sin_upward_test_data): New variable.
2855 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2856 (sinh_test_data): New variable.
2857 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
2858 (sinh_tonearest_test_data): New variable.
2859 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2860 (sinh_towardzero_test_data): New variable.
2861 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2862 (sinh_downward_test_data): New variable.
2863 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2864 (sinh_upward_test_data): New variable.
2865 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2866 (sqrt_test_data): New variable.
2867 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
2868 (tan_test_data): New variable.
2869 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
2870 (tan_tonearest_test_data): New variable.
2871 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2872 (tan_towardzero_test_data): New variable.
2873 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2874 (tan_downward_test_data): New variable.
2875 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2876 (tan_upward_test_data): New variable.
2877 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2878 (tanh_test_data): New variable.
2879 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
2880 (tgamma_test_data): New variable.
2881 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
2882 (trunc_test_data): New variable.
2883 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
2884 (y0_test_data): New variable.
2885 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
2886 (y1_test_data): New variable.
2887 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
2888 (significand_test_data): New variable.
2889 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
2890
28912013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
2892
2893 [BZ #12387]
2894 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
2895
28962013-05-10 Pino Toscano <toscano.pino@tiscali.it>
2897
2898 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
2899
29002013-05-10 Andreas Jaeger <aj@suse.de>
2901
2902 [BZ #15448]
2903 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
2904 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
2905
29062013-05-10 Joseph Myers <joseph@codesourcery.com>
2907
2908 * math/gen-libm-test.pl (adjust_arg): New function.
2909 (special_functions): Handle generating output in both functions
2910 and arrays.
2911 (parse_args): Likewise.
2912 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
2913 $in_func argument to parse_args.
2914 * math/libm-test.inc (struct test_f_f_data): New type.
2915 (IF_ROUND_INIT_): New macro.
2916 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2917 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2918 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2919 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2920 (ROUND_RESTORE_): Likewise.
2921 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2922 (ROUND_RESTORE_FE_TONEAREST): Likewise.
2923 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2924 (ROUND_RESTORE_FE_UPWARD): Likewise.
2925 (RUN_TEST_LOOP_f_f): New macro.
2926 (acos_test_data): New variable.
2927 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
2928 (acos_tonearest_test_data): New variable.
2929 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2930
29312013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2932
2933 * benchtests/bench-skeleton.c (startup): Fix coding style.
2934
29352013-05-10 Joseph Myers <joseph@codesourcery.com>
2936
2937 [BZ #6809]
2938 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
2939 negative infinity argument.
2940 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
2941 negative infinity argument.
2942 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
2943 negative infinity argument.
2944 * math/libm-test.inc (tgamma_test): Expect errno to be set for
2945 domain errors.
2946
29472013-05-10 Florian Weimer <fweimer@redhat.com>
2948
2949 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
2950 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
2951 * iconv/iconv_prog.c (main): Likewise.
2952 * locale/programs/charmap-dir.c (charmap_readdir)
2953 (fopen_uncompressed): Likewise.
2954 * locale/programs/locfile.c (siblings_uncached)
2955 (write_locale_data): Use lstat64 instead of lstat.
2956 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
2957 stat.
2958
29592013-05-10 Andreas Jaeger <aj@suse.de>
2960
2961 [BZ #15395]
2962 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
2963 localization.
2964 Include <locale.h>.
2965
29662013-05-09 Carlos O'Donell <carlos@redhat.com>
2967
2968 * elf/dl-close.c (_dl_close_worker): Add comments.
2969
29702013-05-09 Joseph Myers <joseph@codesourcery.com>
2971
2972 [BZ #15359]
2973 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
2974 high part of pi/2.
2975 (__ieee754_rem_pio2l): Update comments.
2976
2977 [BZ #15429]
2978 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
2979 high part of pi/2.
2980 (__ieee754_rem_pio2l): Update comments.
2981
2982 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
2983 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
2984
2985 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
2986 M_PI_4l.
2987
2988 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
2989 (M_PI_34_LOG10El): Likewise.
2990 (M_PI2_LOG10El): Likewise.
2991 (M_PI4_LOG10El): Likewise.
2992 (M_PI_LOG10El): Likewise.
2993
29942013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2995
2996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2997
29982013-05-08 Joseph Myers <joseph@codesourcery.com>
2999
3000 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3001 (MINUS_ZERO_INIT): Likewise.
3002 (PLUS_INFTY_INIT): Likewise.
3003 (MINUS_INFTY_INIT): Likewise.
3004 (QNAN_VALUE_INIT): Likewise.
3005 (MAX_VALUE_INIT): Likewise.
3006 (MIN_VALUE_INIT): Likewise.
3007 (MIN_SUBNORM_VALUE_INIT): Likewise.
3008 (plus_zero): Initialize with PLUS_ZERO_INIT.
3009 (minus_zero): Initialize with MINUS_ZERO_INIT.
3010 (plus_infty): Initialize with PLUS_INFTY_INIT.
3011 (minus_infty): Initialize with MINUS_INFTY_INIT.
3012 (qnan_value): Initialize with QNAN_VALUE_INIT.
3013 (max_value): Initialize with MAX_VALUE_INIT.
3014 (min_value): Initialize with MIN_VALUE_INIT.
3015 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3016
3017 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3018 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3019 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3020 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3021
3022 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3023 (RUN_TEST_2_f): Likewise.
3024 (RUN_TEST_ff_f): Likewise.
3025 (RUN_TEST_fi_f): Likewise.
3026 (RUN_TEST_fl_f): Likewise.
3027 (RUN_TEST_fff_f): Likewise.
3028 (RUN_TEST_c_f): Likewise.
3029 (RUN_TEST_f_f1): Likewise.
3030 (RUN_TEST_fF_f1): Likewise.
3031 (RUN_TEST_fI_f1): Likewise.
3032 (RUN_TEST_ffI_f1): Likewise.
3033 (RUN_TEST_c_c): Likewise.
3034 (RUN_TEST_cc_c): Likewise.
3035 (RUN_TEST_f_i): Likewise.
3036 (RUN_TEST_f_i_tg): Likewise.
3037 (RUN_TEST_ff_i_tg): Likewise.
3038 (RUN_TEST_f_b): Likewise.
3039 (RUN_TEST_f_b_tg): Likewise.
3040 (RUN_TEST_f_l): Likewise.
3041 (RUN_TEST_f_L): Likewise.
3042 (RUN_TEST_sincos): Likewise.
3043 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3044 whether to show exceptions. Do not include ");\n" in return
3045 value.
3046 (special_functions): Output call to RUN_TEST_sincos instead of
3047 check_float calls. Update calls to new_test.
3048 (parse_args): Output call to single RUN_TEST_* macro instead of
3049 check_* calls and other assignments. Update calls to new_test.
3050
3051 [BZ #2546]
3052 [BZ #2560]
3053 [BZ #5159]
3054 [BZ #15426]
3055 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3056 input to result for tgamma overflow.
3057 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3058 (gamma_coeff): New variable.
3059 (NCOEFF): New macro.
3060 (gamma_positive): New function.
3061 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3062 underflow here. Use gamma_positive instead of exp (lgamma) for
3063 other arguments.
3064 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3065 (gamma_coeff): New variable.
3066 (NCOEFF): New macro.
3067 (gammaf_positive): New function.
3068 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3069 underflow here. Use gamma_positive instead of exp (lgamma) for
3070 other arguments.
3071 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3072 (gamma_coeff): New variable.
3073 (NCOEFF): New macro.
3074 (gammal_positive): New function.
3075 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3076 underflow here. Use gamma_positive instead of exp (lgamma) for
3077 other arguments.
3078 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3079 (gamma_coeff): New variable.
3080 (NCOEFF): New macro.
3081 (gammal_positive): New function.
3082 (__ieee754_gammal_r): Handle positive infinity, overflow and
3083 underflow here. Handle NaN the same as positive infinity. Remove
3084 check x < 0xffffffff for negative integers. Use gamma_positive
3085 instead of exp (lgamma) for other arguments.
3086 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3087 (gamma_coeff): New variable.
3088 (NCOEFF): New macro.
3089 (gammal_positive): New function.
3090 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3091 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3092 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3093 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3094 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3095 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3096 * sysdeps/generic/math_private.h (__gamma_productf): New
3097 prototype.
3098 (__gamma_product): Likewise.
3099 (__gamma_productl): Likewise.
3100 * math/Makefile (libm-calls): Add gamma_product.
3101 * math/libm-test.inc (tgamma_test): Add more tests.
3102 * sysdeps/i386/fpu/libm-test-ulps: Update.
3103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3104
31052013-05-08 Ondřej Bílka <neleai@seznam.cz>
3106
3107 * benchtests/bench-skeleton.c (main): Preheat CPU.
3108
31092013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3110
3111 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3112
31132013-05-07 Roland McGrath <roland@hack.frob.com>
3114
3115 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3116 and _dl_skip_args_internal.
3117
31182013-05-07 Carlos O'Donell <carlos@redhat.com>
3119
3120 * manual/message.texi (Message Translation): Talk about users.
3121 Message to key mapping impacts design.
3122
31232013-05-06 Roland McGrath <roland@hack.frob.com>
3124
3125 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3126
3127 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3128
3129 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3130 * sysdeps/wordsize-64/glob64.c: ... here.
3131
3132 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3133 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3134 New macros.
3135
3136 * debug/getlogin_r_chk.c: Moved to ...
3137 * login/getlogin_r_chk.c: ... here.
3138 * debug/Makefile (routines): Move getlogin_r_chk to ...
3139 * login/Makefile (routines): ... here.
3140 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3141 * login/Versions (libc: GLIBC_2.4): ... here.
3142
3143 * io/poll.c (__poll): Renamed from poll.
3144 Add libc_hidden_def.
3145 (poll): Define as weak alias.
3146
3147 * debug/ptsname_r_chk.c: Moved to ...
3148 * login/ptsname_r_chk.c: ... here.
3149 * debug/Makefile (routines): Move ptsname_r_chk to ...
3150 * login/Makefile (routines): ... here.
3151 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3152 * login/Versions (libc: GLIBC_2.4): ... here.
3153
3154 * posix/getlogin.c: Moved to ...
3155 * login/getlogin.c: ... here.
3156 * posix/getlogin_r.c: Moved to ...
3157 * login/getlogin_r.c: ... here.
3158 * posix/getlogin_r.c: Moved to ...
3159 * login/getlogin_r.c: ... here.
3160 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3161 * login/Makefile (routines): ... here.
3162 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3163 * login/Versions (libc: GLIBC_2.0): ... here.
3164
3165 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3166 (setrlimit): Define as weak alias.
3167
3168 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3169 Call __ names for open, ftruncate, and close.
3170 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3171 (truncate): Define as weak alias.
3172
31732013-05-06 Joseph Myers <joseph@codesourcery.com>
3174
3175 * math/gen-libm-test.pl (parse_args): Initialize x before each
3176 test of frexp, modf and remquo.
3177
3178 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3179 test signgam value.
3180
31812013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3182
3183 [BZ #15418]
3184 [BZ #15419]
3185 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3186 internal tests.
3187 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3188
31892013-05-06 Roland McGrath <roland@hack.frob.com>
3190
3191 * elf/dl-writev.h: New file.
3192 * elf/dl-misc.c: Include it.
3193 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3194 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3195
31962013-05-04 Joseph Myers <joseph@codesourcery.com>
3197
3198 * math/libm-test.inc (noXFails): Remove variable.
3199 (noXPasses): Likewise.
3200 (BUILD_COMPLEX_INT): Remove macro.
3201 (print_screen): Remove xfail argument.
3202 (print_screen_max_error): Likewise.
3203 (update_stats): Likewise.
3204 (print_max_error): Likewise. Update calls to other affected
3205 functions.
3206 (print_complex_max_error): Likewise.
3207 (test_single_exception): Update calls to print_screen.
3208 (test_single_errno): Likewise.
3209 (check_float_internal): Remove xfail argument. Update calls to
3210 other affected functions.
3211 (check_float): Likewise.
3212 (check_complex): Likewise.
3213 (check_int): Likewise.
3214 (check_long): Likewise.
3215 (check_bool): Likewise.
3216 (check_longlong): Likewise.
3217 (main): Don't print noXFails and noXPasses.
3218 * math/gen-libm-test.pl (top level): Don't mention expected
3219 failure handling in comment.
3220 (new_test): Don't handle expected failures.
3221 (parse_args): Don't mention expected failure handling in comment.
3222 (generate_testfile): Don't handle expected failures.
3223 (parse_ulps): Likewise.
3224 (print_ulps_file): Likewise.
3225 (get_failure): Remove function.
3226 (output_test): Don't handle expected failures.
3227 * make/README.libm-test: Don't mention expected failure handling.
3228
3229 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3230 (minus_zero): Likewise.
3231 (plus_infty): Likewise.
3232 (minus_infty): Likewise.
3233 (qnan_value): Likewise.
3234 (max_value): Likewise.
3235 (min_value): Likewise.
3236 (min_subnorm_value): Likewise.
3237 (initialize): Do not initialize those variables dynamically.
3238
32392013-05-03 Roland McGrath <roland@hack.frob.com>
3240
3241 * io/open.c (__open_2): Moved to ...
3242 * io/open_2.c: ... this new file.
3243 * io/open64.c (__open64_2): Moved to ...
3244 * io/open64_2.c: ... this new file.
3245 * io/openat.c (__openat_2): Moved to ...
3246 * io/openat_2.c: ... this new file.
3247 * io/openat64.c (__openat64_2): Moved to ...
3248 * io/openat64_2.c: ... this new file.
3249 * io/Makefile (routines): Add them.
3250 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3251 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3252 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3253 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3254 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3255 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3256 (__openat64): Add hidden_ver.
3257 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3258 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3259
3260 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3261 Separately conditionalize setting of GLRO(dl_sysinfo) so
3262 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3263 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3264
32652013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3266
3267 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3268 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3269 definition.
3270 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3271 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3272 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3273 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3274 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3275
32762013-05-03 Joseph Myers <joseph@codesourcery.com>
3277
3278 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3279 test signgam value.
3280
3281 * math/libm-test.inc (hypot_test): Do not use
3282 IGNORE_ZERO_INF_SIGN.
3283
32842013-05-03 Andreas Jaeger <aj@suse.de>
3285
3286 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3287 Linux 3.9.
3288 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3289 (PF_MAX): Adjust for VSOCK change.
3290
32912013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3292
3293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3294
32952013-05-02 Carlos O'Donell <carlos@redhat.com>
3296
3297 [BZ #15264]
3298 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3299 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3300 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3301
33022013-05-02 David S. Miller <davem@davemloft.net>
3303
3304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3305
33062013-05-01 Ondřej Bílka <neleai@seznam.cz>
3307
3308 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3309
33102013-05-01 Roland McGrath <roland@hack.frob.com>
3311
3312 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3313
33142013-05-01 Richard Smith <richard@metafoo.co.uk>
3315
3316 [BZ #14952]
3317 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3318 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3319 Use __attribute__ ((__gnu_inline__)).
3320 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3321 Don't use __attribute__ ((__gnu_inline__)).
3322
33232013-05-01 Joseph Myers <joseph@codesourcery.com>
3324
3325 [BZ #15423]
3326 * math/s_catan.c (__catan): Handle small real or imaginary part of
3327 input specially to avoid spurious underflow.
3328 * math/s_catanf.c (__catanf): Likewise.
3329 * math/s_catanh.c (__catanh): Likewise.
3330 * math/s_catanhf.c (__catanhf): Likewise.
3331 * math/s_catanhl.c (__catanhl): Likewise.
3332 * math/s_catanl.c (__catanl): Likewise.
3333 * math/libm-test.inc (catan_test): Add more tests.
3334 (catanh_test): Likewise.
3335 * sysdeps/i386/fpu/libm-test-ulps: Update.
3336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3337
33382013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3339
3340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3341
33422013-04-30 Joseph Myers <joseph@codesourcery.com>
3343
3344 [BZ #15416]
3345 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3346 accurately for denominator in atan2.
3347 * math/s_catanf.c (__catanf): Likewise.
3348 * math/s_catanh.c (__catanh): Likewise.
3349 * math/s_catanhf.c (__catanhf): Likewise.
3350 * math/s_catanhl.c (__catanhl): Likewise.
3351 * math/s_catanl.c (__catanl): Likewise.
3352 * math/libm-test.inc (catan_test): Add more tests.
3353 (catanh_test): Likewise.
3354 * sysdeps/i386/fpu/libm-test-ulps: Update.
3355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3356
33572013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3358
3359 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3360
3361 * benchtests/Makefile (bench): Remove slow benchmarks.
3362 * benchtests/atan-inputs: Add slow benchmark inputs.
3363 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3364 (BENCH_FUNC): Accept variant offset.
3365 (VARIANT): Define.
3366 * benchtests/bench-skeleton.c (main): Run benchmark for each
3367 variant.
3368 * benchtests/cos-inputs: Add slow benchmark inputs.
3369 * benchtests/exp-inputs: Likewise.
3370 * benchtests/pow-inputs: Likewise.
3371 * benchtests/sin-inputs: Likewise.
3372 * benchtests/slowatan-inputs: Remove.
3373 * benchtests/slowatan.c: Remove.
3374 * benchtests/slowcos-inputs: Remove.
3375 * benchtests/slowcos.c: Remove.
3376 * benchtests/slowexp-inputs: Remove.
3377 * benchtests/slowexp.c: Remove.
3378 * benchtests/slowpow-inputs: Remove.
3379 * benchtests/slowpow.c: Remove.
3380 * benchtests/slowsin-inputs: Remove.
3381 * benchtests/slowsin.c: Remove.
3382 * benchtests/slowtan-inputs: Remove.
3383 * benchtests/slowtan.c: Remove.
3384 * benchtests/tan-inputs: Add slow benchmark inputs.
3385 * scripts/bench.pl: Parse comments and directives.
3386
3387 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3388 in CPPFLAGS.
3389 ($(objpfx)bench-%.c): Remove *-ITER.
3390 * benchtests/bench-modf.c: Remove definition of ITER.
3391 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3392 (main): Loop for DURATION seconds instead of fixed number of
3393 iterations.
3394 * scripts/bench.pl: Don't expect iterations in parameters.
3395
33962013-04-29 Roland McGrath <roland@hack.frob.com>
3397
3398 * io/fchdir.c (__fchdir): Renamed from fchdir.
3399 (fchdir): Define as weak alias.
3400
34012013-04-29 Joseph Myers <joseph@codesourcery.com>
3402
3403 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3404 (ERRNO_EDOM): Likewise.
3405 (ERRNO_ERANGE): Likewise.
3406 (noErrnoTests): New variable.
3407 (init_max_error): Set errno to 0.
3408 (test_single_errno): New function.
3409 (test_errno): Likewise.
3410 (check_float_internal): Call test_errno. Set errno to 0.
3411 (check_complex): Refer to errno tests in comment.
3412 (check_int): Call test_errno. Set errno to 0.
3413 (check_long): Likewise.
3414 (check_bool): Likewise.
3415 (check_longlong): Likewise.
3416 (cos_test): Use ERRNO_* flags for errno tests instead of
3417 check_int.
3418 (expm1_test): Likewise.
3419 (fmod_test): Likewise.
3420 (ilogb_test): Likewise.
3421 (lgamma_test): Likewise.
3422 (pow_test): Likewise.
3423 (remainder_test): Likewise.
3424 (sin_test): Likewise.
3425 (tan_test): Likewise.
3426 (yn_test): Likewise.
3427 (initialize): Set errno to 0.
3428 (main): Print number of errno tests.
3429 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3430
34312013-04-29 Andreas Jaeger <aj@suse.de>
3432
3433 [BZ #15084]
3434 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3435 and RES_USEVC.
3436
3437 [BZ #15085]
3438 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3439 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3440 unimplemented.
3441
3442 [BZ #15380]
3443 * stdlib/random.c (__initstate): Return NULL if
3444 __initstate fails.
3445
3446 [BZ #15086]
3447 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3448 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3449 RES_SNGLKUPREOP.
3450
34512013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3452
3453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3454
34552013-04-29 Joseph Myers <joseph@codesourcery.com>
3456
3457 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3458 of individual tests.
3459 (casin_test): Likewise.
3460 (casinh_test): Likewise.
3461
34622013-04-27 Joseph Myers <joseph@codesourcery.com>
3463
3464 [BZ #15409]
3465 * math/s_catan.c (__catan): Handle arguments with large real or
3466 imaginary part separately without squaring.
3467 * math/s_catanf.c (__catanf): Likewise.
3468 * math/s_catanh.c (__catanh): Likewise.
3469 * math/s_catanhf.c (__catanhf): Likewise.
3470 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3471 and redefine.
3472 (__catanhl): Handle arguments with large real or imaginary part
3473 separately without squaring.
3474 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3475 and redefine.
3476 (__catanl): Handle arguments with large real or imaginary part
3477 separately without squaring.
3478 * math/libm-test.inc (catan_test): Add more tests.
3479 (catanh_test): Likewise.
3480 * sysdeps/i386/fpu/libm-test-ulps: Update.
3481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3482
34832013-04-27 Andreas Jaeger <aj@suse.de>
3484
3485 [BZ #15007]
3486 * stdlib/stdlib.h: Update guards for qecvt.
3487 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3488 <stdlib.h>.
3489
34902013-04-27 Allan McRae <allan@archlinux.org>
3491
3492 * sysdeps/i386/fpu/libm-test-ulps: Update.
3493
34942013-04-26 Joseph Myers <joseph@codesourcery.com>
3495
3496 [BZ #15406]
3497 * math/s_catan.c: Include <float.h>.
3498 (__catan): Ensure underflow exception occurs for underflowed
3499 result.
3500 * math/s_catanf.c: Include <float.h>.
3501 (__catanf): Ensure underflow exception occurs for underflowed
3502 result.
3503 * math/s_catanh.c: Include <float.h>.
3504 (__catanh): Ensure underflow exception occurs for underflowed
3505 result.
3506 * math/s_catanhf.c: Include <float.h>.
3507 (__catanhf): Ensure underflow exception occurs for underflowed
3508 result.
3509 * math/s_catanhl.c: Include <float.h>.
3510 (__catanhl): Ensure underflow exception occurs for underflowed
3511 result.
3512 * math/s_catanl.c: Include <float.h>.
3513 (__catanl): Ensure underflow exception occurs for underflowed
3514 result.
3515 * math/libm-test.inc (catan_test): Add more tests.
3516 (catanh_test): Likewise.
3517
3518 [BZ #15405]
3519 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3520 underflowed result.
3521 * math/s_ccoshf.c (__ccoshf): Likewise.
3522 * math/s_ccoshl.c (__ccoshl): Likewise.
3523 * math/s_csin.c (__csin): Likewise.
3524 * math/s_csinf.c (__csinf): Likewise.
3525 * math/s_csinh.c (__csinh): Likewise.
3526 * math/s_csinhf.c (__csinhf): Likewise.
3527 * math/s_csinhl.c (__csinhl): Likewise.
3528 * math/s_csinl.c (__csinl): Likewise.
3529 * math/libm-test.inc (ccos_test): Add more tests.
3530 (ccosh_test): Likewise.
3531 (csin_test): Likewise.
3532 (csinh_test): Likewise.
3533
35342013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3535
3536 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3537 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3538 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3539 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3540 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3541 powerpc/power5+/fpu folders.
3542 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3543
3544
35452013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3546
3547 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3548
35492013-04-25 Joseph Myers <joseph@codesourcery.com>
3550
3551 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3552 additions to variable.
3553 [$(config-machine) = x86_64] (modules-names): Likewise.
3554 ($(objpfx)tst-audit3): Remove dependency.
3555 ($(objpfx)tst-audit3.out): Likewise.
3556 ($(objpfx)tst-audit4): Likewise.
3557 ($(objpfx)tst-audit4.out): Likewise.
3558 ($(objpfx)tst-audit5): Likewise.
3559 ($(objpfx)tst-audit5.out): Likewise.
3560 ($(objpfx)tst-audit6): Likewise.
3561 ($(objpfx)tst-audit6.out): Likewise.
3562 ($(objpfx)tst-audit7): Likewise.
3563 ($(objpfx)tst-audit7.out): Likewise.
3564 (tst-audit3-ENV): Remove variable.
3565 (tst-audit4-ENV): Likewise.
3566 (tst-audit5-ENV): Likewise.
3567 (tst-audit6-ENV): Likewise.
3568 (tst-audit7-ENV): Likewise.
3569 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3570 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3571 addition to variable.
3572 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3573 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3574 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3575 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3576 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3577 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3578 tst-audit3, tst-audit4 and tst-audit5.
3579 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3580 tst-audit6 and tst-audit7.
3581 [$(subdir) = elf] (modules-names): Add audit modules for those
3582 tests.
3583 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3584 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3585 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3586 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3587 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3588 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3589 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3590 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3591 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3592 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3593 [$(subdir) = elf] (tst-audit3-ENV): New variable.
3594 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3595 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3596 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3597 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3598 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3599 Likewise.
3600 [$(subdir) = elf && $(config-cflags-avx) = yes]
3601 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3602 [$(subdir) = elf && $(config-cflags-avx) = yes]
3603 (CFLAGS-tst-auditmod4a.c): Likewise.
3604 [$(subdir) = elf && $(config-cflags-avx) = yes]
3605 (CFLAGS-tst-auditmod4b.c): Likewise.
3606 [$(subdir) = elf && $(config-cflags-avx) = yes]
3607 (CFLAGS-tst-auditmod6b.c): Likewise.
3608 [$(subdir) = elf && $(config-cflags-avx) = yes]
3609 (CFLAGS-tst-auditmod6c.c): Likewise.
3610 [$(subdir) = elf && $(config-cflags-avx) = yes]
3611 (CFLAGS-tst-auditmod7b.c): Likewise.
3612 * elf/tst-audit3.c: Move to ...
3613 * sysdeps/x86_64/tst-audit3.c: ... here.
3614 * elf/tst-audit4.c: Move to ...
3615 * sysdeps/x86_64/tst-audit4.c: ... here.
3616 * elf/tst-audit5.c: Move to ...
3617 * sysdeps/x86_64/tst-audit5.c: ... here.
3618 * elf/tst-audit6.c: Move to ...
3619 * sysdeps/x86_64/tst-audit6.c: ... here.
3620 * elf/tst-audit7.c: Move to ...
3621 * sysdeps/x86_64/tst-audit7.c: ... here.
3622 * elf/tst-auditmod3a.c: Move to ...
3623 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3624 * elf/tst-auditmod3b.c: Move to ...
3625 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3626 * elf/tst-auditmod4a.c: Move to ...
3627 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3628 * elf/tst-auditmod4b.c: Move to ...
3629 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3630 * elf/tst-auditmod5a.c: Move to ...
3631 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3632 * elf/tst-auditmod5b.c: Move to ...
3633 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3634 * elf/tst-auditmod6a.c: Move to ...
3635 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3636 * elf/tst-auditmod6b.c: Move to ...
3637 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3638 * elf/tst-auditmod6c.c: Move to ...
3639 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3640 * elf/tst-auditmod7a.c: Move to ...
3641 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3642 * elf/tst-auditmod7b.c: Move to ...
3643 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3644
36452013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3646
3647 [BZ #15366]
3648 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3649 define unconditionally.
3650 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3651 define unconditionally.
3652 (INT8_C, INT16_C, etc.): Likewise.
3653
36542013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
3655
3656 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3657 __ehdr_start with hidden visibility.
3658
3659 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3660
36612013-04-24 Carlos O'Donell <carlos@redhat.com>
3662
3663 * math/libm-test.inc (cos_test): Use accurate hex constants.
3664 (sincost_test): Likewise.
3665
36662013-04-24 Joseph Myers <joseph@codesourcery.com>
3667
3668 * math/libm-test.inc (catan_test): Add more tests.
3669 (catanh_test): Likewise.
3670
3671 * math/s_catanf.c (__catanf): Use suffixed floating-point
3672 constants.
3673 * math/s_catanhf.c (__catanhf): Likewise.
3674 * math/s_catanhl.c (__catanhl): Likewise.
3675 * math/s_catanl.c (__catanl): Likewise.
3676
3677 [BZ #15394]
3678 * math/s_catan.c (__catan): Calculate imaginary part of result
3679 with log1p not log unless computing log of number close to 0.
3680 * math/s_catanf.c (__catanf): Likewise.
3681 * math/s_catanl.c (__catanl): Likewise.
3682 * math/s_catanh.c (__catanh): Calculate real part of result with
3683 log1p not log unless computing log of number close to 0.
3684 * math/s_catanhf.c (__catanhf): Likewise.
3685 * math/s_catanhl.c (__catanhl): Likewise.
3686 * math/libm-test.inc (catan_test): Add more tests.
3687 (catanh_test): Likewise.
3688 * sysdeps/i386/fpu/libm-test-ulps: Update.
3689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3690
36912013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3692
3693 * benchtests/Makefile: Mention files in which fast and slow
3694 paths of math functions are implemented.
3695
36962013-04-23 Roland McGrath <roland@hack.frob.com>
3697
3698 * sysdeps/posix/timespec_get.c: New file.
3699
37002013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3701
3702 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3703 POWER.
3704 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3705 for POWER.
3706 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3707 powerpc/power5/fpu folders.
3708 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3709 * benchtests/Makefile: Add modf testcase.
3710 * benchtests/bench-modf.c: New file: Benchmark test for mo
3711
37122013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3713
3714 [BZ #14888]
3715 * time/Makefile (tests): Add tst-strptime-whitespace.
3716 * time/strptime_l.c (get_number): Use ISSPACE.
3717 (__strptime_internal): Likewise.
3718 * time/tst-strptime-whitespace.c: New test case.
3719
37202013-04-23 Andreas Schwab <schwab@linux-m68k.org>
3721
3722 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3723 member.
3724 (_nss_files_init): Set it here.
3725
37262013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
3727
3728 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3729 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3730 unsigned.
3731
37322013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
3733
3734 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3735
37362013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3737
3738 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3739 size just once.
3740
37412013-04-21 David S. Miller <davem@davemloft.net>
3742
3743 * po/ru.po: Update Russion translation from translation project.
3744
37452013-04-17 Adam Conrad <adconrad@0c3.net>
3746
3747 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3748 and setfsgid.
3749
37502013-04-17 Carlos O'Donell <carlos@redhat.com>
3751
3752 * configure.in: Remove i386 configure warning. Remove i386 case.
3753 * configure: Regenerate.
3754 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
3755 Add example to error message.
3756 * sysdeps/i386/configure: Regenerate.
3757
37582013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3759
3760 * benchtests/Makefile (bench): Add cos, tan, slowcos and
3761 slowtan.
3762 * benchtests/cos-inputs: New file.
3763 * benchtests/slowcos-inputs: New file.
3764 * benchtests/slowcos.c: New file.
3765 * benchtests/slowtan-inputs: New file.
3766 * benchtests/slowtan.c: New file.
3767 * benchtests/tan-inputs: New file.
3768
37692013-04-16 Roland McGrath <roland@hack.frob.com>
3770
3771 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3772 considered kosher.
3773
37742013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3775
3776 * benchtests/Makefile: Include cppflags-iterator.mk to add
3777 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3778
3779 * Makefile.in (bench-clean): New target.
3780 * benchtests/Makefile (bench-clean): Likewise.
3781
37822013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
3783
3784 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3785
37862013-04-15 Thomas Schwinge <thomas@codesourcery.com>
3787
3788 * stdio-common/tstdiomisc.c: Fix coding-style violation.
3789
37902013-04-15 Andreas Schwab <schwab@suse.de>
3791
3792 * nscd/grpcache.c (cache_addgr): Properly check for short write.
3793 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3794 * nscd/pwdcache.c (cache_addpw): Likewise.
3795 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
3796 more than recsize.
3797
37982013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3799
3800 * benchtests/Makefile (bench): Write all output to
3801 bench-out.tmp together.
3802
38032013-04-15 Andreas Schwab <schwab@suse.de>
3804
3805 * nscd/nscd.c (main): Don't fork again after closing files.
3806
38072013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3808
3809 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3810
3811 * benchtests/Rules (bench-deps): Collect dependencies into a
3812 single variable. Add Makefile to dependencies.
3813 ($(objpfx)bench-%.c): Depend on bench-deps.
3814
38152013-04-12 Roland McGrath <roland@hack.frob.com>
3816 Xavier Roche <roche+kml2@exalead.com>
3817
3818 [BZ #15361]
3819 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
3820 just that it's a file descriptor.
3821 * manual/llio.texi (Synchronizing AIO Operations): Update description
3822 for EBADF error from aio_fsync.
3823
38242013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3825
3826 * Rules (bench): Move target definition...
3827 * benchtests/Makefile: ... here.
3828
38292013-04-11 Carlos O'Donell <carlos@redhat.com>
3830
3831 * math/libm-test.inc (cos_test): Fix PI/2 test.
3832 (sincos_test): Likewise.
3833 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3834 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3835
38362013-04-11 Andreas Schwab <schwab@suse.de>
3837
3838 [BZ #13988]
3839 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
3840 accept exponent character only when digits were seen.
3841 * stdio-common/Makefile (tests): Add bug26.
3842 * stdio-common/bug26.c: New file.
3843
3844 [BZ #14293]
3845 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
3846 non-freeable.
3847
38482013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3849
3850 * Makeconfig (rtld-prefix): Define built linker prefix.
3851 * Rules (run-bench): Use it.
3852 * math/Makefile (run-regen-ulps): Likewise.
3853
3854 * Rules (bench): Remove eval.
3855
38562013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3857 Roland McGrath <roland@hack.frob.com>
3858 Ondrej Bilka <neleai@seznam.cz>
3859
3860 [BZ #15346]
3861 * time/getdate.c: Include ctype.h and alloca.h.
3862 (__getdate_r): Trim leading and trailing spaces of input.
3863 * time/tst-getdate.c (tests): Add tests with leading and
3864 trailing spaces.
3865
38662013-04-08 Roland McGrath <roland@hack.frob.com>
3867
3868 [BZ #14280]
3869 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
3870 when computing value.
3871
38722013-04-06 Carlos O'Donell <carlos@redhat.com>
3873
3874 * math/README.libm-test (How can I generate "libm-test-ulps"?):
3875 Use testrun.sh to run libm tests.
3876
3877 [BZ #15309]
3878 * elf/dl-open.c (dl_open_worker): memset all of seen array.
3879
38802013-04-06 Marko Myllynen <myllynen@redhat.com>
3881
3882 [BZ #15264]
3883 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
3884
38852013-04-06 Carlos O'Donell <carlos@redhat.com>
3886
3887 * Makefile.in (regen-ulps): New target.
3888 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
3889 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
3890 [ifneq (no,$(PERL)] (regen-ulps): New target.
3891 [ifeq (no,$(PERL)] (regen-ulps): New target.
3892 * math/libm-test.inc (ulps_file_name): Define.
3893 (output_dir): New variable.
3894 (options): Add "output-dir" option.
3895 (parse_opt): Handle 'o' case.
3896 (main): If output_dir is non-NULL use it as a prefix
3897 otherwise use "".
3898 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
3899
39002013-04-06 Carlos O'Donell <carlos@redhat.com>
3901
3902 [BZ #10060, #10062]
3903 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
3904 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
3905 fail configure if __sync_val_compare_and_swap is not inlined.
3906 * sysdeps/i386/configure: Regenerate.
3907 * configure.in: Build for i686 when configured for i386.
3908 * configure: Regenerate.
3909 * README: Remove i386 reference.
3910
39112013-04-06 Carlos O'Donell <carlos@redhat.com>
3912
3913 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
3914 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3915
39162013-04-05 Thomas Schwinge <thomas@codesourcery.com>
3917
3918 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
3919 (lmsnanval): New variables.
3920 (F): Add conversion tests.
3921 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
3922 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
3923
3924 * stdio-common/tstdiomisc.c (F): Properly collect individual
3925 tests' results.
3926
3927 [BZ #14686, #15336]
3928 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
3929 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3930 Instead, use input NaN values or generate a qNaN by arithmetic
3931 operation. Also fix bugs to comply with the standard.
3932 * math/libm-test.inc (remainder_test): Add more tests.
3933
3934 [BZ #15335, #15342]
3935 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
3936 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
3937 input NaN values or generate a qNaN by arithmetic operation.
3938
3939 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
3940 unreachable code.
3941
3942 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
3943 definitions.
3944
39452013-04-03 Joseph Myers <joseph@codesourcery.com>
3946
3947 [BZ #14478]
3948 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
3949 underflowed result.
3950 * math/s_cexpf.c (__cexpf): Likewise.
3951 * math/s_cexpl.c (__cexpl): Likewise.
3952 * math/libm-test.inc (cexp_test): Add more tests.
3953
39542013-04-03 Andreas Schwab <schwab@suse.de>
3955
3956 [BZ #15330]
3957 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
3958 order arrays from heap if bigger than alloca cutoff.
3959
39602013-04-03 Thomas Schwinge <thomas@codesourcery.com>
3961
3962 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
3963 (SNAN_TESTS_double): Refer to GCC PR56831.
3964 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
3965 GCC PR56828.
3966
39672013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3968
3969 * Rules (bench): Move bench.out after the run is complete.
3970
3971 * Rules (bench): Echo currently running benchmark.
3972
3973 * benchtests/Makefile (bench): Add atan and slowatan.
3974 * benchtests/atan-inputs: New file.
3975 * benchtests/slowatan-inputs: New file.
3976 * benchtests/slowatan.c: New file.
3977
3978 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
3979 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
3980 its value.
3981
3982 [BZ #15305]
3983 * sysdeps/unix/sysv/linux/kernel-features.h
3984 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
3985 __ASSUME_XFS_RESTRICTED_CHOWN.
3986 * sysdeps/unix/sysv/linux/pathconf.c
3987 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3988 Save and restore errno.
3989
39902013-04-02 Joseph Myers <joseph@codesourcery.com>
3991
3992 [BZ #15327]
3993 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
3994 arguments using __kernel_casinh.
3995 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
3996 arguments using __kernel_casinhf.
3997 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
3998 arguments using __kernel_casinhl.
3999 * math/libm-test.inc (cacosh_test): Add more tests.
4000 * sysdeps/i386/fpu/libm-test-ulps: Update.
4001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4002
40032013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4004
4005 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4006 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4007
4008 * bench/Makefile (bench): Add sin and slowsin.
4009 * benchtests/sin-inputs: New file.
4010 * benchtests/slowsin-inputs: New file.
4011 * benchtests/slowsin.c: New file.
4012
4013 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4014 (bench): Add slowexp and slowpow.
4015 (exp-ITER): Increase iterations.
4016 (pow-ITER): Likewise.
4017 * benchtests/exp-inputs: Change input.
4018 * benchtests/pow-inputs: Likewise.
4019 * benchtests/slowexp-inputs: New file.
4020 * benchtests/slowexp.c: New file.
4021 * benchtests/slowpow-inputs: New file.
4022 * benchtests/slowpow.c: New file.
4023
40242013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4025
4026 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4027 instructions.
4028 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4029 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4030 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4031 * benchtests/Makefile: Add rint benchtest.
4032 * benchtests/rint-inputs: Input for rint benchtest.
4033
40342013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4035
4036 * Versions.def (libm): Add GLIBC_2.18.
4037 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4038 hidden libm prototypes.
4039 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4040 * math/Makefile (libm-calls): Add s_issignaling.
4041 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4042 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4043 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4044 declaration.
4045 * math/math.h [__USE_GNU] (issignaling): New macro.
4046 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4047 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4048 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4049 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4050 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4051 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4052 * manual/arith.texi (issignaling): New section.
4053 * manual/libm-err-tab.pl (@all_functions): Update comment.
4054 * math/gen-libm-test.pl (parse_args): Apply special handling for
4055 issignaling.
4056 * math/libm-test.inc (print_float, issignaling_test): New
4057 functions.
4058 (check_float_internal): Add issignaling checks.
4059 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4060 default definition.
4061 * sysdeps/powerpc/math-tests.h: New file.
4062 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4063 tests.
4064 * math/test-snan.c (TEST_FUNC): Likewise.
4065
40662013-03-30 David S. Miller <davem@davemloft.net>
4067
4068 * po/de.po: Update from translation team.
4069
40702013-03-30 Joseph Myers <joseph@codesourcery.com>
4071
4072 [BZ #10357]
4073 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4074 imaginary part less than 1.0 and real part less than 0.5
4075 specially.
4076 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4077 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4078 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4079 (cacos_test): Add more tests.
4080 (casin_test): Likewise.
4081 (casinh_test): Likewise.
4082 * sysdeps/i386/fpu/libm-test-ulps: Update.
4083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4084
40852013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4086
4087 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4088 ONE with its value.
4089
4090 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4091 (__pow_mp): Replace ONE and MONE with their values.
4092 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4093 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4094 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4095 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4096 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4097 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4098
4099 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4100
4101 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4102 (__pow_mp): Replace ZERO and MZERO with their values.
4103 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4104 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4105 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4106 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4107 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4108 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4109 (__sqr): Likewise.
4110
4111 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4112
4113 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4114
41152013-03-28 Roland McGrath <roland@hack.frob.com>
4116
4117 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4118 Declare with __attribute__ ((weak)).
4119 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4120 Call __call_tls_dtors only if it's not NULL.
4121
41222013-03-28 Roland McGrath <roland@hack.frob.com>
4123
4124 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4125 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4126 magic __ehdr_start linker symbol if it's defined.
4127 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4128 them up here if it was already done.
4129
4130 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4131 (_dl_aux_init): Use const in cast when setting it.
4132 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4133 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4134 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4135
4136 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4137 Declare them here.
4138 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4139 * csu/libc-tls.c: Nor here.
4140 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4141
4142 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4143 (__libc_message): Never call vsyslog.
4144
41452013-03-28 Alan Modra <amodra@gmail.com>
4146
4147 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4148 Define as empty.
4149 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4150 Likewise.
4151
41522013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4153
4154 [BZ #15214]
4155 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4156 underflow.
4157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4158
41592013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4160
4161 [BZ #15304]
4162 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4163 Don't add gid passed as argument.
4164
4165 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4166
41672013-03-27 Joseph Myers <joseph@codesourcery.com>
4168
4169 [BZ #15307]
4170 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4171 imaginary part between 1.0 and 1.5 and real part less than 0.5
4172 specially.
4173 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4174 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4175 * math/libm-test.inc (cacos_test): Add more tests.
4176 (casin_test): Likewise.
4177 (casinh_test): Likewise.
4178 * sysdeps/i386/fpu/libm-test-ulps: Update.
4179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4180
41812013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4182
4183 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4184 constants.
4185 (norm): Likewise.
4186 (denorm): Likewise.
4187 (__dbl_mp): Likewise.
4188 (add_magnitudes): Likewise.
4189 (sub_magnitudes): Likewise.
4190 (__add): Likewise.
4191 (__sub): Likewise.
4192 (__mul): Likewise.
4193 (__sqr): Likewise.
4194 (__inv): Likewise.
4195 (__dvd): Likewise.
4196
4197 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4198 commented code.
4199 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4200 (__dubcos): Likewise.
4201 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4202 (__ieee754_acos): Likewise.
4203 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4204 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4205 (__exp1): Likewise.
4206 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4207 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4208 (log1): Likewise.
4209 (my_log2): Likewise.
4210 (checkint): Likewise.
4211 * sysdeps/ieee754/dbl-64/e_remainder.c
4212 (__ieee754_remainder): Likewise.
4213 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4214 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4215 (bsloww): Likewise.
4216 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4217
4218 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4219 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4220 MANTISSA_STORE_T to store computations on mantissa. Use
4221 macros for rounding and division.
4222 (denorm): Likewise.
4223 (__dbl_mp): Likewise.
4224 (add_magnitudes): Likewise.
4225 (sub_magnitudes): Likewise.
4226 (__mul): Likewise.
4227 (__sqr): Likewise.
4228 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4229 powers of two in terms of TWOPOW macro.
4230 (mp_no): Make type of mantissa as MANTISSA_T.
4231 [!RADIXI]: Define RADIXI.
4232 [!TWO52]: Define TWO52.
4233 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4234
42352013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4236
4237 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4238 llroundl symbol when building for PPC32.
4239
42402013-03-24 Mark H Weaver <mhw@netris.org>
4241
4242 * manual/arith.texi (Normalization Functions): Fix prototypes for
4243 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4244
42452013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4246
4247 [BZ #13889]
4248 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4249 high value to check if expl overflow.
4250 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4251 to check for underflow and overflow.
4252 * math/libm-test.inc: Add exp test.
4253
42542013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4255
4256 [BZ #11120]
4257 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4258 with NOT_IN_libc.
4259
42602013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4261
4262 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4263 symbol.
4264
42652013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4266
4267 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4268 wrap blocks consisting of several statements.
4269
4270 * sysdeps/generic/math-tests.h: New file.
4271 * sysdeps/i386/fpu/math-tests.h: Likewise.
4272 * math/test-snan.c: Include it.
4273 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4274
42752013-03-21 Joseph Myers <joseph@codesourcery.com>
4276
4277 [BZ #15285]
4278 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4279 (__ieee754_j0l): Do not improve calculations using cos of twice
4280 input for inputs above LDBL_MAX / 2.0L.
4281 (__ieee754_y0l): Likewise.
4282 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4283 (__ieee754_j1l): Do not improve calculations using cos of twice
4284 input for inputs above LDBL_MAX / 2.0L.
4285 (__ieee754_y1l): Likewise.
4286 * math/libm-test.inc (j0_test): Add another test.
4287 (j1_test): Likewise.
4288 (y0_test): Likewise.
4289 (y1_test): Likewise.
4290 * sysdeps/i386/fpu/libm-test-ulps: Update.
4291
42922013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4293
4294 * Rules ($(objpfx)bench-%.c): Include code from a C source
4295 file.
4296
42972013-03-21 Joseph Myers <joseph@codesourcery.com>
4298
4299 [BZ #15287]
4300 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4301 imaginary part 1.0 and real part less than 0.5 specially.
4302 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4303 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4304 * math/libm-test.inc (cacos_test): Add more tests.
4305 (casin_test): Likewise.
4306 (casinh_test): Likewise.
4307 * sysdeps/i386/fpu/libm-test-ulps: Update.
4308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4309
43102013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4311
4312 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4313 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4314
43152013-03-20 Joseph Myers <joseph@codesourcery.com>
4316
4317 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4318 * config.make.in (config-cflags-sse4): Remove variable.
4319 (config-cflags-avx): Likewise.
4320 (config-cflags-sse2avx): Likewise.
4321 (config-cflags-novzeroupper): Likewise.
4322 (config-asflags-i686): Likewise.
4323 (have-mfma4): Likewise.
4324 (have-as-vis3): Likewise.
4325 (MIG): Likewise.
4326 * configure.in (MIG): Do not AC_SUBST.
4327 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4328 (libc_cv_cc_sse4): Do not AC_SUBST.
4329 (libc_cv_cc_avx): Likewise.
4330 (libc_cv_cc_sse2avx): Likewise.
4331 (libc_cv_cc_novzeroupper): Likewise.
4332 (libc_cv_cc_fma4): Likewise.
4333 (libc_cv_as_i686): Likewise.
4334 (libc_cv_sparc_as_vis3): Likewise.
4335 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4336 LIBC_CONFIG_VAR.
4337 (config-asflags-i686): Likewise.
4338 (config-cflags-avx): Likewise.
4339 (config-cflags-sse2avx): Likewise.
4340 (have-mfma4): Likewise.
4341 (config-cflags-novzeroupper): Likewise.
4342 * sysdeps/mach/configure.in (MIG): Likewise.
4343 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4344 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4345 LIBC_CONFIG_VAR.
4346 (config-cflags-avx): Likewise.
4347 (config-cflags-sse2avx): Likewise.
4348 (have-mfma4): Likewise.
4349 (config-cflags-novzeroupper): Likewise.
4350 * configure: Regenerated.
4351 * sysdeps/i386/configure: Likewise.
4352 * sysdeps/mach/configure: Likewise.
4353 * sysdeps/sparc/configure: Likewise.
4354 * sysdeps/x86_64/configure: Likewise.
4355
43562013-03-20 Roland McGrath <roland@hack.frob.com>
4357
4358 [BZ #14812]
4359 * locale/programs/localedef.c (options): Put N_ translation marker
4360 on argument names, not just descriptions.
4361
43622013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4363
4364 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4365
43662013-03-20 Ondřej Bílka <neleai@seznam.cz>
4367
4368 [BZ #14176]
4369 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4370
43712013-03-19 Roland McGrath <roland@hack.frob.com>
4372
4373 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4374 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4375 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4376 [!BEFORE_ABORT] (before_abort): New function.
4377 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4378 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4379 (writev_for_fatal): New function.
4380 (WRITEV_FOR_FATAL): New macro; call that.
4381 (backtrace_and_maps): New function.
4382 (BEFORE_ABORT): New macro; call that.
4383 (struct str_list): Type removed.
4384 (__libc_message, __libc_fatal): Functions removed.
4385 Include <sysdeps/posix/libc_fatal.c> instead.
4386
43872013-03-19 Joseph Myers <joseph@codesourcery.com>
4388
4389 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4390 constants.
4391 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4392 double constants.
4393
43942013-03-19 Andreas Schwab <schwab@suse.de>
4395
4396 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4397 * sysdeps/gnu/configure: Regenerate.
4398
4399 * configure.in: Substitute libc_cv_rtlddir.
4400 * configure: Regenerate.
4401 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4402 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4403 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4404 * elf/Makefile (install-others, CFLAGS-interp.c)
4405 (ldso_install, common-ldd-rewrite): Likewise.
4406 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4407 $(inst_slibdir)/$(rtld-installed-name).
4408 * scripts/rellns-sh: Add -p option.
4409 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4410 for source.
4411
44122013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4413
4414 * manual/nptl.texi: Renamed to ...
4415 * manual/threads.texi: ... this.
4416 * manual/Makefile (chapters): Update.
4417
44182013-03-18 Roland McGrath <roland@hack.frob.com>
4419
4420 [BZ #14812]
4421 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4422 on argument names, not just descriptions.
4423 * malloc/memusagestat.c (options): Likewise.
4424 * nss/getent.c (options): Likewise.
4425
44262013-03-18 Benno Schulenberg <bensberg@justemail.net>
4427
4428 [BZ #14812]
4429 * iconv/iconv_prog.c (options): Put N_ translation marker
4430 on argument names, not just descriptions.
4431 * iconv/iconvconfig.c (options): Likewise.
4432
44332013-03-18 Ondrej Bilka <neleai@seznam.cz>
4434
4435 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4436 implementation which is faster on all x86_64 architectures.
4437 Tested on AMD, Intel Nehalem, SNB, IVB.
4438 * sysdeps/x86_64/strnlen.S: Likewise.
4439
4440 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4441 Remove all multiarch strlen and strnlen versions.
4442 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4443 Remove strlen and strnlen related parts.
4444
4445 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4446 Inline strlen part.
4447 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4448
4449 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4450 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4451 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4452 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4453 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4454 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4455
44562013-03-17 Carlos O'Donell <carlos@redhat.com>
4457
4458 * manual/memory.texi (Malloc Tunable Parameters):
4459 Sort parameters alphabetically. Add comments for missing entries.
4460
44612013-03-17 David S. Miller <davem@davemloft.net>
4462
4463 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4464
44652013-03-16 Joseph Myers <joseph@codesourcery.com>
4466
4467 [BZ #15283]
4468 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4469 for arguments at most half maximum finite value.
4470 * math/libm-test.inc (j0_test): Add more tests.
4471 (j1_test): Likewise.
4472 (y0_test): Likewise.
4473 (y1_test): Likewise.
4474 * sysdeps/i386/fpu/libm-test-ulps: Update.
4475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4476
4477 [BZ #14155]
4478 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4479 1 / x and functions P and Q for arguments above 0x1p256L.
4480 (__ieee754_y0l): Likewise.
4481 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4482 (__ieee754_y1l): Likewise.
4483 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4484 (j1_test): Likewise.
4485 (y0_test): Likewise.
4486 (y1_test): Likewise.
4487
44882013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4489
4490 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4491 variable.
4492
44932013-03-15 Roland McGrath <roland@hack.frob.com>
4494
4495 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4496 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4497 zero since it's initialized to EXEC_PAGESIZE.
4498
4499 * sysdeps/unix/sysv/linux/ldsodefs.h
4500 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4501 * sysdeps/generic/ldsodefs.h: ... here.
4502
45032013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4504
4505 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4506
4507 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4508 math/test-snan.c.
4509 * math/test-snan.c: Renamed from
4510 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4511 * math/Makefile (tests): Add test-snan.
4512 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4513 test-powerpc-snan.
4514
4515 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4516 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4517 functions.
4518 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4519 __builtin_nan family of functions.
4520 * math/libm-test.inc (initialize): Initialize qnan_value with
4521 __builtin_nan family of functions.
4522 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4523 Remove variables.
4524 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4525 Remove functions.
4526 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4527 storage class. Initialize qNaN_var and sNaN_var with
4528 __builtin_nan and __builtin_nans families of functions,
4529 respectively.
4530
4531 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4532 (sqrt_test): Remove duplicate test with qNaN input.
4533 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4534 (round_test, signbit_test, significand_test): Note missing +/-Inf
4535 as well as qNaN tests.
4536
4537 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4538 qNaN_var. Fix a few strings, too.
4539 * math/libm-test.inc (nan_value): Rename to qnan_value.
4540 * math/gen-libm-test.pl (%beautify): Adjust to that.
4541 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4542 * math/test-misc.c (main): Likewise.
4543 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4544 to __qnan_bytes, and __qnan_union, respectively.
4545 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4546 Likewise.
4547 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4548 and lqnanval, respectively.
4549 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4550 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4551 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4552 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4553
4554 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4555 * math/test-misc.c (main) [__x86_64__]: Enable test for long
4556 doubles.
4557
4558 * math/test-misc.c (main): Fix copy'n'pastos.
4559 * misc/tst-efgcvt.c (special): Likewise.
4560
4561 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4562 Remove declarations.
4563
45642013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4565
4566 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4567 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4568 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4569 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4570
45712013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4572
4573 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4574 macro to return vdso values correctly in IFUNC implementations.
4575 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4576 Optimization by using IFUNC.
4577
45782013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4579 Richard Henderson <rth@redhat.com>
4580 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4581
4582 * Makefile.in (bench): New target.
4583 * NEWS: Mention the benchmark framework.
4584 * Rules (bench): Likewise.
4585 (binaries-bench): Generate binaries for functions to
4586 benchmark.
4587 * benchtests/Makefile: New makefile for benchmark tests.
4588 * benchtests/bench-skeleton.c: New skeleton file for benchmark
4589 programs.
4590 * benchtests/exp-inputs: New input file for EXP function.
4591 * benchtests/pow-inputs: New input file for POW function.
4592 * scripts/bench.pl: New script to generate source files for
4593 benchmark programs.
4594
45952013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4596
4597 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4598 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4599 computations on mantissa. Use macros for rounding and
4600 division.
4601 (denorm): Likewise.
4602 (__dbl_mp): Likewise.
4603 (add_magnitudes): Likewise.
4604 (sub_magnitudes): Likewise.
4605 (__mul): Likewise.
4606 (__sqr): Likewise.
4607 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4608 powers of two in terms of TWOPOW macro.
4609 (mp_no): Make type of mantissa as MANTISSA_T.
4610 [!RADIXI]: Define RADIXI.
4611 [!TWO52]: Define TWO52.
4612 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4613
4614 * manual/nptl.texi (cindex): Modify threads to pthreads.
4615
46162013-03-15 Joseph Myers <joseph@codesourcery.com>
4617
4618 * sysdeps/x86_64/preconfigure: Regenerated.
4619
46202013-03-14 Joseph Myers <joseph@codesourcery.com>
4621
4622 [BZ #14155]
4623 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4624 0x1p28 and above.
4625 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4626 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4627 0x1p28 and above.
4628 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4629 * math/libm-test.inc (j0_test): Do not allow one spurious
4630 underflow exception.
4631 (y1_test): Likewise.
4632
46332013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4634
4635 * manual/Makefile (chapters): Add nptl.
4636 * manual/debug.texi (Debugging Support): Add link to Threads
4637 chapter.
4638 * manual/nptl.texi: New file.
4639
4640 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4641
46422013-03-14 Petr Baudis <pasky@ucw.cz>
4643
4644 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4645 for non-NULL pointer before the memory validity test. Pointed
4646 out by Holger Brunck <holger.brunck@keymile.com>.
4647
46482013-03-13 Andreas Schwab <schwab@suse.de>
4649
4650 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4651 instead of .os.
4652
46532013-03-13 Joseph Myers <joseph@codesourcery.com>
4654
4655 * timezone/zic.c: Update from tzcode 2013b.
4656
46572013-03-12 Carlos O'Donell <carlos@redhat.com>
4658
4659 * manual/install.texi (Configuring and compiling):
4660 Mention i686 and i586.
4661 * INSTALL: Regenerate.
4662
46632013-03-12 Roland McGrath <roland@hack.frob.com>
4664
4665 * sysdeps/init_array/elf-init.c: New file.
4666 * csu/elf-init.c
4667 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4668 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4669
4670 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4671 __gmon_start__ as global, but as static with a .preinit_array pointer.
4672 * sysdeps/init_array/gmon-start.c: New file. Use that.
4673 * sysdeps/init_array/crti.S: New file, empty except for comments.
4674 * sysdeps/init_array/crtn.S: Likewise.
4675
46762013-03-11 Ondřej Bílka <neleai@seznam.cz>
4677
4678 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4679 definining bcopy.
4680 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4681 Remove Prefer_SSE_for_memop.
4682 * sysdeps/x86_64/multiarch/init-arch.h: Remove
4683 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4684 HAS_PREFER_SSE_FOR_MEMOP.
4685 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4686 memset-x86-64.
4687 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4688 Remove bzero, memset ifunc support.
4689 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4690 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4691 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4692 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4693
46942013-03-11 Andreas Schwab <schwab@suse.de>
4695
4696 [BZ #15234]
4697 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4698 by SHLIB_COMPAT.
4699 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4700 (GLIBC_2.16): Remove pthread_atfork.
4701
47022013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4703
4704 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4705 (ptestcases.h): Likewise.
4706
47072013-03-08 Roland McGrath <roland@hack.frob.com>
4708
4709 * Makeconfig ($(common-objpfx)config.status): Depend on
4710 sysdeps/*/preconfigure{,.in} too.
4711
47122013-03-08 Joseph Myers <joseph@codesourcery.com>
4713
4714 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4715 (__free_hook): Use void * instead of __malloc_ptr_t.
4716 (__malloc_hook): Likewise.
4717 (__realloc_hook): Likewise.
4718 (__memalign_hook): Likewise.
4719 (__after_morecore_hook): Likewise.
4720 * malloc/arena.c (save_malloc_hook): Likewise.
4721 (save_free_hook): Likewise.
4722 * malloc/hooks.c (malloc_hook_ini): Likewise.
4723 (realloc_hook_ini): Likewise.
4724 (memalign_hook_ini): Likewise.
4725 * malloc/malloc.c (malloc_hook_ini): Likewise.
4726 (realloc_hook_ini): Likewise.
4727 (memalign_hook_ini): Likewise.
4728 (__free_hook): Likewise.
4729 (__malloc_hook): Likewise.
4730 (__realloc_hook): Likewise.
4731 (__memalign_hook): Likewise.
4732 (__libc_malloc): Likewise.
4733 (__libc_free): Likewise.
4734 (__libc_realloc): Likewise.
4735 (__libc_memalign): Likewise.
4736 (__libc_valloc): Likewise.
4737 (__libc_pvalloc): Likewise.
4738 (__libc_calloc): Likewise.
4739 (__posix_memalign): Likewise.
4740 * malloc/morecore.c (__sbrk): Likewise.
4741 (__default_morecore): Likewise.
4742
4743 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4744
4745 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4746 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4747 __malloc_ptrdiff_t.
4748
4749 * malloc/malloc.h (__malloc_size_t): Remove macro.
4750 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4751 __malloc_size_t.
4752 (old_memalign_hook): Likewise.
4753 (old_realloc_hook): Likewise.
4754 (struct hdr): Likewise.
4755 (flood): Likewise.
4756 (mallochook): Likewise.
4757 (memalignhook): Likewise.
4758 (reallochook): Likewise.
4759 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4760 (tr_old_realloc_hook): Likewise.
4761 (tr_old_memalign_hook): Likewise.
4762 (tr_mallochook): Likewise.
4763 (tr_reallochook): Likewise.
4764 (tr_memalignhook): Likewise.
4765
47662013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4767
4768 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4769 default_ldbl_pack and using as default implementation.
4770 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4771 implementation.
4772 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4773 redundant definition.
4774 (ldbl_insert_mantissa): Likewise.
4775 (ldbl_canonicalize): Likewise.
4776 (ldbl_nearbyint): Likewise.
4777 (ldbl_pack): Rename to ldbl_pack_ppc.
4778 (ldbl_unpack): Rename to ldbl_unpack_ppc.
4779 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4780 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4781
47822013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4783
4784 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4785 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4786 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4787 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4788 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4789 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4790 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4791 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4792
47932013-03-07 Andreas Jaeger <aj@suse.de>
4794
4795 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4796 bits/mman-linux.h.
4797
47982013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4799
4800 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4801 Include mpa.h and declare __MPEXP.
4802 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4803 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4804 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4805 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4806 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4807 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4808 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4809
4810 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4811 (__slowpow): Use long double EXPL and LOGL functions to
4812 compute POW.
4813 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4814 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4815 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4816 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4817 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4818 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4819
4820 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
4821 intermediate variable to calculate exponent.
4822 (__sqr): Likewise.
4823 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4824 Likewise.
4825 (__sqr): Likewise.
4826
4827 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
4828 [!NO__SQR]: Define __sqr.
4829 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
4830 and NO__SQR. Remove all code except __mul and __sqr. Include
4831 sysdeps/ieee754/dbl-64/mpa.c.
4832 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4833
4834 [BZ #12723]
4835 * posix/Makefile (tests): Add tst-pathconf.
4836 * posix/tst-pathconf.c: New test case.
4837 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
4838 _PC_PIPE_BUF.
4839 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
4840
48412013-03-06 Patsy Franklin <pfrankli@redhat.com>
4842
4843 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
4844
48452013-03-06 Andreas Jaeger <aj@suse.de>
4846
4847 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
4848 definition via __MAP_ANONYMOUS.
4849
4850 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
4851 it's not part of Linux headers.
4852
4853 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4854 (MAP_HUGE_MASK): Define.
4855
4856 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4857 Define.
4858 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4859 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4860 Define.
4861 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4862 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4863 Define.
4864 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4865 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
4866 Define.
4867 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4868
4869 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
4870 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
4871 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
4872 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
4873 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
4874 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
4875
4876 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4877 Handle f2fs.
4878
4879 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4880 Handle f2fs and efivarfs.
4881
4882 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
4883 f2fs.
4884
4885 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
4886 (EFIVARFS_MAGIC): Add.
4887 (F2FS_LINK_MAX): Add.
4888
48892013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4890
4891 * stdio-common/vfprintf.c: Replace __builtin_expect with
4892 __glibc_unlikely.
4893
48942013-03-06 Joseph Myers <joseph@codesourcery.com>
4895
4896 [BZ #13550]
4897 * sysdeps/generic/bp-sym.h: Remove file.
4898 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
4899 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
4900 <bp-sym.h> and <bp-asm.h>.
4901 (__longjmp): Don't use BP_SYM.
4902 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
4903 and <bp-asm.h>.
4904 (memcpy): Don't use BP_SYM.
4905 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
4906 <bp-sym.h> and <bp-asm.h>.
4907 (memcpy): Don't use BP_SYM.
4908 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
4909 <bp-asm.h>.
4910 (memcpy): Don't use BP_SYM.
4911 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
4912 <bp-asm.h>.
4913 (memset): Don't use BP_SYM.
4914 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4915 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4916 (__bzero): Don't use BP_SYM.
4917 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4918 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4919 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
4920 <bp-sym.h> and <bp-asm.h>.
4921 (memcmp): Don't use BP_SYM. Remove comment about bounded
4922 pointers.
4923 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
4924 <bp-sym.h> and <bp-asm.h>.
4925 (memcpy): Don't use BP_SYM.
4926 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
4927 <bp-sym.h> and <bp-asm.h>.
4928 (memset): Don't use BP_SYM.
4929 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4930 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4931 (__bzero): Don't use BP_SYM.
4932 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4933 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4934 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
4935 <bp-sym.h> and <bp-asm.h>.
4936 (strncmp): Don't use BP_SYM. Remove comment about bounded
4937 pointers.
4938 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
4939 <bp-sym.h> and <bp-asm.h>.
4940 (memcpy): Don't use BP_SYM.
4941 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
4942 <bp-sym.h> and <bp-asm.h>.
4943 (memset): Don't use BP_SYM.
4944 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4945 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4946 (__bzero): Don't use BP_SYM.
4947 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4948 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4949 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
4950 <bp-sym.h> and <bp-asm.h>.
4951 (__memchr): Don't use BP_SYM.
4952 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
4953 <bp-sym.h> and <bp-asm.h>.
4954 (memcmp): Don't use BP_SYM. Remove comment about bounded
4955 pointers.
4956 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
4957 <bp-sym.h> and <bp-asm.h>.
4958 (memcpy): Don't use BP_SYM.
4959 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
4960 <bp-sym.h> and <bp-asm.h>.
4961 (__mempcpy): Don't use BP_SYM.
4962 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
4963 <bp-sym.h> and <bp-asm.h>.
4964 (__memrchr): Don't use BP_SYM.
4965 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
4966 <bp-sym.h> and <bp-asm.h>.
4967 (memset): Don't use BP_SYM.
4968 (__bzero): Likewise.
4969 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
4970 <bp-sym.h> and <bp-asm.h>.
4971 (__rawmemchr): Don't use BP_SYM.
4972 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
4973 <bp-sym.h> and <bp-asm.h>.
4974 (__STRCMP): Don't use BP_SYM.
4975 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
4976 <bp-sym.h> and <bp-asm.h>.
4977 (strchr): Don't use BP_SYM.
4978 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
4979 <bp-sym.h> and <bp-asm.h>.
4980 (__strchrnul): Don't use BP_SYM.
4981 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
4982 <bp-sym.h> and <bp-asm.h>.
4983 (strlen): Don't use BP_SYM.
4984 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
4985 <bp-sym.h> and <bp-asm.h>.
4986 (strncmp): Don't use BP_SYM. Remove comment about bounded
4987 pointers.
4988 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
4989 <bp-sym.h> and <bp-asm.h>.
4990 (__strnlen): Don't use BP_SYM.
4991 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
4992 <bp-sym.h> and <bp-asm.h>.
4993 (__GI__setjmp): Don't use BP_SYM.
4994 (_setjmp): Likewise.
4995 (__sigsetjmp): Likewise.
4996 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
4997 (L(start_addresses)): Don't use BP_SYM.
4998 (_start): Likewise.
4999 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5000 <bp-asm.h>.
5001 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5002 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5003 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5004 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5005 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5006 <bp-asm.h>.
5007 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5008 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5009 about bounded pointers.
5010 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5011 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5012 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5013 <bp-asm.h>.
5014 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5015 about bounded pointers. Remove GKM FIXME comments.
5016 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5017 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5018 <bp-asm.h>.
5019 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5020 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5021 Remove GKM FIXME comments.
5022 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5023 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5024 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5025 <bp-asm.h>.
5026 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5027 about bounded pointers. Remove GKM FIXME comment.
5028 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5029 and <bp-asm.h>.
5030 (strncmp): Don't use BP_SYM. Remove comment about bounded
5031 pointers.
5032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5033 <bp-sym.h> and <bp-asm.h>.
5034 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5036 <bp-sym.h> and <bp-asm.h>.
5037 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5038 comment.
5039
50402013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5041
5042 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5043 call free(NULL).
5044
50452013-03-05 David S. Miller <davem@davemloft.net>
5046
5047 * po/es.po: Update from translation team.
5048
50492013-03-05 Andreas Jaeger <aj@suse.de>
5050
5051 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5052 <bits/mman-linux.h>.
5053 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5054 is fine.
5055 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5056 <bits/mman-linux.h> to end of file.
5057 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5058 is fine.
5059 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5060 <bits/mman-linux.h> to end of file.
5061 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5062 is fine.
5063 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5064 <bits/mman-linux.h> to end of file.
5065
5066 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5067 (MCL_CURRENT, MCL_FUTURE): Define here.
5068
50692013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5070
5071 [BZ #15232]
5072 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5073 attribute_hidden.
5074 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5075
50762013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5077
5078 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5079 fourth parameter needed for rt_sigprocmask syscall.
5080 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5081 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5082 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5083 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5084 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5085 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5086
50872013-03-04 Joseph Myers <joseph@codesourcery.com>
5088
5089 [BZ #13550]
5090 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5091 comment about bounded pointers.
5092 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5093 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5094
50952013-03-04 Andreas Jaeger <aj@suse.de>
5096
5097 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5098 common definitions.
5099
5100 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5101 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5102 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5103 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5104 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5105 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5106
51072013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5108
5109 [BZ #15055]
5110 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5111 __ieee754_sqrl instead of __sqrl.
5112
51132013-03-01 Joseph Myers <joseph@codesourcery.com>
5114
5115 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5116 * sysdeps/powerpc/fpu_control.h: ... here.
5117 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5118 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5119 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5120 * sysdeps/powerpc/bits/mathinline.h: ... here.
5121
51222013-03-01 Roland McGrath <roland@hack.frob.com>
5123
5124 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5125 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5126 to just [NEED_DL_SYSINFO_DSO].
5127 * elf/dl-support.c: Likewise.
5128 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5129 * elf/rtld.c (dl_main): Likewise.
5130 * elf/setup-vdso.h (setup_vdso): Likewise.
5131 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5132 * sysdeps/unix/sysv/linux/dl-sysdep.c
5133 (_dl_discover_osversion): Likewise.
5134
51352013-03-01 Carlos O'Donell <carlos@redhat.com>
5136
5137 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5138 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5139
51402013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5141
5142 * NEWS: Mention libm performance improvements and non-x86 PI
5143 futex support.
5144
5145 * csu/libc-start.c (__pthread_initialize_minimal): Change
5146 function arguments.
5147 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5148
51492013-02-28 Joseph Myers <joseph@codesourcery.com>
5150
5151 [BZ #13550]
5152 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5153 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5154 <bp-sym.h> and <bp-asm.h>.
5155 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5156 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5157 and <bp-asm.h>.
5158 (memcpy): Don't use BP_SYM.
5159 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5160 <bp-asm.h>.
5161 (__mpn_add_n): Don't use BP_SYM.
5162 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5163 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5164 and <bp-asm.h>.
5165 (__mpn_addmul_1): Don't use BP_SYM.
5166 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5167 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5168 <bp-sym.h>.
5169 (_setjmp): Don't use BP_SYM.
5170 (__novmx_setjmp): Likewise.
5171 (__GI__setjmp): Likewise.
5172 (__vmx_setjmp): Likewise.
5173 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5174 <bp-sym.h>.
5175 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5176 (__bzero): Don't use BP_SYM.
5177 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5178 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5179 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5180 <bp-sym.h> and <bp-asm.h>.
5181 (memcpy): Don't use BP_SYM.
5182 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5183 <bp-sym.h> and <bp-asm.h>.
5184 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5185 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5186 <bp-sym.h> and <bp-asm.h>.
5187 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5188 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5189 <bp-asm.h>.
5190 (__mpn_lshift): Don't use BP_SYM.
5191 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5192 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5193 <bp-asm.h>.
5194 (memset): Don't use BP_SYM.
5195 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5196 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5197 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5198 <bp-asm.h>.
5199 (__mpn_mul_1): Don't use BP_SYM.
5200 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5201 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5202 <bp-sym.h> and <bp-asm.h>.
5203 (memcmp): Don't use BP_SYM.
5204 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5205 <bp-sym.h> and <bp-asm.h>.
5206 (memcpy): Don't use BP_SYM.
5207 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5208 <bp-sym.h> and <bp-asm.h>.
5209 (memset): Don't use BP_SYM.
5210 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5211 <bp-sym.h> and <bp-asm.h>.
5212 (strncmp): Don't use BP_SYM.
5213 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5214 <bp-sym.h> and <bp-asm.h>.
5215 (memcpy): Don't use BP_SYM.
5216 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5217 <bp-sym.h> and <bp-asm.h>.
5218 (memset): Don't use BP_SYM.
5219 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5220 <bp-sym.h> and <bp-asm.h>.
5221 (__memchr): Don't use BP_SYM.
5222 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5223 <bp-sym.h> and <bp-asm.h>.
5224 (memcmp): Don't use BP_SYM.
5225 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5226 <bp-sym.h> and <bp-asm.h>.
5227 (memcpy): Don't use BP_SYM.
5228 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5229 <bp-sym.h> and <bp-asm.h>.
5230 (__mempcpy): Don't use BP_SYM.
5231 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5232 <bp-sym.h> and <bp-asm.h>.
5233 (__memrchr): Don't use BP_SYM.
5234 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5235 <bp-sym.h> and <bp-asm.h>.
5236 (memset): Don't use BP_SYM.
5237 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5238 <bp-sym.h> and <bp-asm.h>.
5239 (__rawmemchr): Don't use BP_SYM.
5240 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5241 <bp-sym.h> and <bp-asm.h>.
5242 (__STRCMP): Don't use BP_SYM.
5243 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5244 <bp-sym.h> and <bp-asm.h>.
5245 (strchr): Don't use BP_SYM.
5246 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5247 <bp-sym.h> and <bp-asm.h>.
5248 (__strchrnul): Don't use BP_SYM.
5249 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5250 <bp-sym.h> and <bp-asm.h>.
5251 (strlen): Don't use BP_SYM.
5252 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5253 <bp-sym.h> and <bp-asm.h>.
5254 (strncmp): Don't use BP_SYM.
5255 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5256 <bp-sym.h> and <bp-asm.h>.
5257 (__strnlen): Don't use BP_SYM.
5258 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5259 <bp-asm.h>.
5260 (__mpn_rshift): Don't use BP_SYM.
5261 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5262 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5263 <bp-sym.h> and <bp-asm.h>.
5264 (__sigsetjmp): Don't use BP_SYM.
5265 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5266 (L(start_addresses)): Don't use BP_SYM.
5267 (_start): Likewise.
5268 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5269 <bp-asm.h>.
5270 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5271 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5272 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5273 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5274 <bp-asm.h>.
5275 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5276 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5277 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5278 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5279 <bp-asm.h>.
5280 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5281 comments.
5282 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5283 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5284 <bp-asm.h>.
5285 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5286 FIXME comments.
5287 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5288 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5289 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5290 <bp-asm.h>.
5291 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5292 comment.
5293 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5294 and <bp-asm.h>.
5295 (strncmp): Don't use BP_SYM,
5296 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5297 <bp-asm.h>.
5298 (__mpn_sub_n): Don't use BP_SYM.
5299 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5300 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5301 and <bp-asm.h>.
5302 (__mpn_submul_1): Don't use BP_SYM.
5303 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5305 <bp-sym.h> and <bp-asm.h>.
5306 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5308 <bp-sym.h> and <bp-asm.h>.
5309 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5310 comment.
5311
53122013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5313
5314 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5315 Use ZK to minimize writes to Z.
5316 (sub_magnitudes): Simplify code a bit.
5317 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5318 Use ZK to minimize writes to Z.
5319 (sub_magnitudes): Simplify code a bit.
5320
53212013-02-27 Roland McGrath <roland@hack.frob.com>
5322
5323 * csu/gmon-start.c: Add special exception to license text.
5324
53252013-02-27 Richard Henderson <rth@redhat.com>
5326
5327 * scripts/config.guess: Update from config.git.
5328 * scripts/config.sub: Likewise.
5329
53302013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5331
5332 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5333
5334 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5335
5336 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5337
5338 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5339
5340 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5341
53422013-02-26 Roland McGrath <roland@hack.frob.com>
5343
5344 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5345 [$(build-shared = yes].
5346
53472013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5348
5349 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5350 (__mul): Reduce iterations for calculating mantissa.
5351
5352 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5353 MPTWO.
5354 (__mpranred): Likewise.
5355
5356 [BZ #15160]
5357 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5358 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5359
53602013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5361
5362 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5363 Define __attribute__.
5364
53652013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5366
5367 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5368 unused.
5369 * posix/regex_internal.h (__attribute): Remove.
5370 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5371 (re_string_context_at): Likewise.
5372 (bitset_not): Use __attribute__ and mark function as possibly
5373 unused.
5374 (bitset_merge): Likewise.
5375 (bitset_mask): Likewise.
5376 (re_string_char_size_at): Likewise.
5377 (re_string_wchar_at): Likewise.
5378 (re_string_elem_size_at): Likewise.
5379
53802013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5381
5382 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5383 code.
5384 (cc32): Likewise.
5385
5386 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5387 (__acr): Likewise.
5388 (__cpy): Likewise.
5389 (norm): Likewise.
5390 (denorm): Likewise.
5391 (__dbl_mp): Likewise.
5392 (add_magnitudes): Likewise.
5393 (sub_magnitudes): Likewise.
5394 (__mul): Likewise.
5395 (__inv): Likewise.
5396
5397 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5398 style.
5399
5400 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5401 style.
5402
5403 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5404 code.
5405
5406 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5407 up changes with default code.
5408 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5409 Likewise.
5410
54112013-02-24 Allan McRae <allan@archlinux.org>
5412
5413 * manual/socket.texi (The Internet Namespace): Order menu items
5414 to match that in the file.
5415
5416 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5417 node listing of the info page menu.
5418
54192013-02-21 Joseph Myers <joseph@codesourcery.com>
5420
5421 [BZ #13550]
5422 * sysdeps/i386/bp-asm.h: Remove file.
5423 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5424 (PARMS): Do not use macros from bp-asm.h.
5425 (S1): Likewise.
5426 (S2): Likewise.
5427 (SIZE): Likewise.
5428 (__mpn_add_n): Do not use BP_SYM
5429 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5430 "bp-asm.h".
5431 (PARMS): Do not use macros from bp-asm.h.
5432 (S1): Likewise.
5433 (SIZE): Likewise.
5434 (__mpn_addmul_1): Do not use BP_SYM
5435 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5436 "bp-asm.h".
5437 (PARMS): Do not use macros from bp-asm.h.
5438 (SIGMSK): Likewise.
5439 (_setjmp): Likewise. Do not use BP_SYM.
5440 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5441 "bp-asm.h".
5442 (PARMS): Do not use macros from bp-asm.h.
5443 (SIGMSK): Likewise.
5444 (setjmp): Likewise. Do not use BP_SYM.
5445 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5446 "bp-asm.h".
5447 (PARMS): Do not use macros from bp-asm.h.
5448 (__frexp): Do not use BP_SYM.
5449 (frexp): Likewise.
5450 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5451 "bp-asm.h".
5452 (PARMS): Do not use macros from bp-asm.h.
5453 (__frexpf): Do not use BP_SYM.
5454 (frexpf): Likewise.
5455 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5456 "bp-asm.h".
5457 (PARMS): Do not use macros from bp-asm.h.
5458 (__frexpl): Do not use BP_SYM.
5459 (frexpl): Likewise.
5460 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5461 "bp-asm.h".
5462 (PARMS): Do not use macros from bp-asm.h.
5463 (__remquo): Do not use BP_SYM.
5464 (remquo): Likewise.
5465 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5466 "bp-asm.h".
5467 (PARMS): Do not use macros from bp-asm.h.
5468 (__remquof): Do not use BP_SYM.
5469 (remquof): Likewise.
5470 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5471 "bp-asm.h".
5472 (PARMS): Do not use macros from bp-asm.h.
5473 (__remquol): Do not use BP_SYM.
5474 (remquol): Likewise.
5475 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5476 "bp-asm.h".
5477 (PARMS): Do not use macros from bp-asm.h.
5478 (DEST): Likewise.
5479 (SRC): Likewise.
5480 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5481 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5482 "bp-asm.h".
5483 (PARMS): Do not use macros from bp-asm.h.
5484 (strlen): Do not use BP_SYM.
5485 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5486 "bp-asm.h".
5487 (PARMS): Do not use macros from bp-asm.h.
5488 (S1): Likewise.
5489 (S2): Likewise.
5490 (SIZE): Likewise.
5491 (__mpn_add_n): Do not use BP_SYM.
5492 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5493 "bp-asm.h".
5494 (PARMS): Do not use macros from bp-asm.h.
5495 (S1): Likewise.
5496 (SIZE): Likewise.
5497 (__mpn_addmul_1): Do not use BP_SYM.
5498 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5499 weak_alias.
5500 (bzero): Likewise.
5501 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5502 "bp-asm.h".
5503 (PARMS): Do not use macros from bp-asm.h.
5504 (S): Likewise.
5505 (SIZE): Likewise.
5506 (__mpn_lshift): Do not use BP_SYM.
5507 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5508 "bp-asm.h".
5509 (PARMS): Do not use macros from bp-asm.h.
5510 (DEST): Likewise.
5511 (SRC): Likewise.
5512 (LEN): Likewise.
5513 (memcpy): Likewise. Do not use BP_SYM.
5514 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5515 libc_hidden_def and weak_alias.
5516 (mempcpy): Do not use BP_SYM in weak_alias.
5517 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5518 "bp-asm.h".
5519 (PARMS): Do not use macros from bp-asm.h.
5520 (DEST): Likewise.
5521 (LEN): Likewise.
5522 [!BZERO_P] (CHR): Likewise.
5523 (memset): Likewise. Do not use BP_SYM.
5524 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5525 "bp-asm.h".
5526 (PARMS): Do not use macros from bp-asm.h.
5527 (S1): Likewise.
5528 (SIZE): Likewise.
5529 (__mpn_mul_1): Do not use BP_SYM.
5530 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5531 "bp-asm.h".
5532 (PARMS): Do not use macros from bp-asm.h.
5533 (S): Likewise.
5534 (SIZE): Likewise.
5535 (__mpn_rshift): Do not use BP_SYM.
5536 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5537 "bp-asm.h".
5538 (PARMS): Do not use macros from bp-asm.h.
5539 (STR): Likewise.
5540 (CHR): Likewise.
5541 (strchr): Likewise. Do not use BP_SYM.
5542 (index): Do not use BP_SYM in weak_alias.
5543 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5544 "bp-asm.h".
5545 (PARMS): Do not use macros from bp-asm.h.
5546 (DEST): Likewise.
5547 (SRC): Likewise.
5548 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
5549 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5550 "bp-asm.h".
5551 (PARMS): Do not use macros from bp-asm.h.
5552 (strlen): Do not use BP_SYM.
5553 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5554 "bp-asm.h".
5555 (PARMS): Do not use macros from bp-asm.h.
5556 (S1): Likewise.
5557 (S2): Likewise.
5558 (SIZE): Likewise.
5559 (__mpn_sub_n): Do not use BP_SYM.
5560 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5561 "bp-asm.h".
5562 (PARMS): Do not use macros from bp-asm.h.
5563 (S1): Likewise.
5564 (SIZE): Likewise.
5565 (__mpn_submul_1): Do not use BP_SYM.
5566 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5567 "bp-asm.h".
5568 (PARMS): Do not use macros from bp-asm.h.
5569 (S1): Likewise.
5570 (S2): Likewise.
5571 (SIZE): Likewise.
5572 (__mpn_add_n): Do not use BP_SYM.
5573 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5574 weak_alias.
5575 (bzero): Likewise.
5576 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5577 "bp-asm.h".
5578 (PARMS): Do not use macros from bp-asm.h.
5579 (BLK2): Likewise.
5580 (LEN): Likewise.
5581 (memcmp): Do not use BP_SYM.
5582 (bcmp): Do not use BP_SYM in weak_alias.
5583 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5584 "bp-asm.h".
5585 (PARMS): Do not use macros from bp-asm.h.
5586 (DEST): Likewise.
5587 (SRC): Likewise.
5588 (LEN): Likewise.
5589 (memcpy): Likewise. Do not use BP_SYM.
5590 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5591 "bp-asm.h".
5592 (PARMS): Do not use macros from bp-asm.h.
5593 (DEST): Likewise.
5594 (SRC): Likewise.
5595 (LEN): Likewise.
5596 (memmove): Likewise. Do not use BP_SYM.
5597 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5598 "bp-asm.h".
5599 (PARMS): Do not use macros from bp-asm.h.
5600 (DEST): Likewise.
5601 (SRC): Likewise.
5602 (LEN): Likewise.
5603 (__mempcpy): Likewise. Do not use BP_SYM.
5604 (mempcpy): Do not use BP_SYM in weak_alias.
5605 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5606 "bp-asm.h".
5607 (PARMS): Do not use macros from bp-asm.h.
5608 (DEST): Likewise.
5609 (LEN): Likewise.
5610 [!BZERO_P] (CHR): Likewise.
5611 (memset): Likewise. Do not use BP_SYM.
5612 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5613 "bp-asm.h".
5614 (PARMS): Do not use macros from bp-asm.h.
5615 (STR2): Likewise.
5616 (strcmp): Do not use BP_SYM.
5617 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5618 "bp-asm.h".
5619 (PARMS): Do not use macros from bp-asm.h.
5620 (STR): Likewise.
5621 (DELIM): Likewise.
5622 [USE_AS_STRTOK_R] (SAVE): Likewise.
5623 (FUNCTION): Likewise. Do not use BP_SYM.
5624 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5625 aliases.
5626 (strtok_r): Likewise.
5627 (__GI___strtok_r): Likewise.
5628 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5629 (PARMS): Do not use macros from bp-asm.h.
5630 (S): Likewise.
5631 (SIZE): Likewise.
5632 (__mpn_lshift): Do not use BP_SYM.
5633 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5634 (PARMS): Do not use macros from bp-asm.h.
5635 (STR): Likewise.
5636 (CHR): Likewise.
5637 (__memchr): Do not use BP_SYM.
5638 (memchr): Do not use BP_SYM in weak_alias.
5639 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5640 (PARMS): Do not use macros from bp-asm.h.
5641 (BLK2): Likewise.
5642 (LEN): Likewise.
5643 (memcmp): Do not use BP_SYM.
5644 (bcmp): Do not use BP_SYM in weak_alias.
5645 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5646 (PARMS): Do not use macros from bp-asm.h.
5647 (S1): Likewise.
5648 (SIZE): Likewise.
5649 (__mpn_mul_1): Do not use BP_SYM.
5650 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5651 "bp-asm.h".
5652 (PARMS): Do not use macros from bp-asm.h.
5653 (STR): Likewise.
5654 (CHR): Likewise.
5655 (__rawmemchr): Do not use BP_SYM.
5656 (rawmemchr): Do not use BP_SYM in weak_alias.
5657 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5658 (PARMS): Do not use macros from bp-asm.h.
5659 (S): Likewise.
5660 (SIZE): Likewise.
5661 (__mpn_rshift): Do not use BP_SYM.
5662 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5663 (PARMS): Do not use macros from bp-asm.h.
5664 (SIGMSK): Likewise.
5665 (__sigsetjmp): Likewise. Do not use BP_SYM.
5666 * sysdeps/i386/start.S: Do not include "bp-sym.h".
5667 (_start): Do not use BP_SYM.
5668 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5669 (PARMS): Do not use macros from bp-asm.h.
5670 (DEST): Likewise.
5671 (SRC): Likewise.
5672 (__stpcpy): Likewise. Do not use BP_SYM.
5673 (stpcpy): Do not use BP_SYM in weak_alias.
5674 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5675 "bp-asm.h".
5676 (PARMS): Do not use macros from bp-asm.h.
5677 (DEST): Likewise.
5678 (SRC): Likewise.
5679 (LEN): Likewise.
5680 (__stpncpy): Likewise. Do not use BP_SYM.
5681 (stpncpy): Do not use BP_SYM in weak_alias.
5682 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5683 (PARMS): Do not use macros from bp-asm.h.
5684 (STR): Likewise.
5685 (CHR): Likewise.
5686 (strchr): Likewise. Do not use BP_SYM.
5687 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5688 "bp-asm.h".
5689 (PARMS): Do not use macros from bp-asm.h.
5690 (STR): Likewise.
5691 (CHR): Likewise.
5692 (__strchrnul): Likewise. Do not use BP_SYM.
5693 (strchrnul): Do not use BP_SYM in weak_alias.
5694 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5695 "bp-asm.h".
5696 (PARMS): Do not use macros from bp-asm.h.
5697 (STOP): Likewise.
5698 (strcspn): Do not use BP_SYM.
5699 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5700 "bp-asm.h".
5701 (PARMS): Do not use macros from bp-asm.h.
5702 (STR): Likewise.
5703 (STOP): Likewise.
5704 (strpbrk): Likewise. Do not use BP_SYM.
5705 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5706 "bp-asm.h".
5707 (PARMS): Do not use macros from bp-asm.h.
5708 (STR): Likewise.
5709 (CHR): Likewise.
5710 (strrchr): Likewise. Do not use BP_SYM.
5711 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5712 (PARMS): Do not use macros from bp-asm.h.
5713 (SKIP): Likewise.
5714 (strspn): Do not use BP_SYM.
5715 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5716 (PARMS): Do not use macros from bp-asm.h.
5717 (STR): Likewise.
5718 (DELIM): Likewise.
5719 (SAVE): Likewise.
5720 (FUNCTION): Likewise. Do not use BP_SYM.
5721 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5722 aliases.
5723 (strtok_r): Likewise.
5724 (__GI___strtok_r): Likewise.
5725 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5726 (PARMS): Do not use macros from bp-asm.h.
5727 (S1): Likewise.
5728 (S2): Likewise.
5729 (SIZE): Likewise.
5730 (__mpn_sub_n): Do not use BP_SYM.
5731 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5732 "bp-asm.h".
5733 (PARMS): Do not use macros from bp-asm.h.
5734 (S1): Likewise.
5735 (SIZE): Likewise.
5736 (__mpn_submul_1): Do not use BP_SYM.
5737 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5738 <bp-sym.h>.
5739 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5740 and <bp-asm.h>.
5741 (PARMS): Do not use macros from bp-asm.h.
5742 (FLAGS): Likewise.
5743 (PTID): Likewise.
5744 (TLS): Likewise.
5745 (CTID): Likewise.
5746 (__clone): Do not use BP_SYM.
5747 (clone): Do not use BP_SYM in weak_alias.
5748 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5749 and <bp-asm.h>.
5750 (PARMS): Do not use macros from bp-asm.h.
5751 (LEN): Likewise.
5752 (__mmap64): Do not use BP_SYM.
5753 (mmap64): Do not use BP_SYM in weak_alias.
5754 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5755 <bp-sym.h> and <bp-asm.h>.
5756 (PARMS): Do not use macros from bp-asm.h.
5757 (__posix_fadvise64_l64): Do not use BP_SYM.
5758 * sysdeps/unix/sysv/linux/i386/semtimedop.S
5759 (PARMS): Do not use macros from bp-asm.h.
5760 (NSOPS): Likewise.
5761 (semtimedop): Do not use BP_SYM.
5762 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5763 and <bp-asm.h>.
5764
57652013-02-21 Allan McRae <allan@archlinux.org>
5766
5767 * manual/message.texi (Charset conversion in gettext):
5768 Move @end statement to beginning of line.
5769
57702013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5771
5772 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5773 static.
5774 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5775 Likewise.
5776
5777 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5778 (denorm): Likewise.
5779 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5780 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5781
57822013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5783
5784 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5785 tail-call to the resolved function if pltexit isn't needed.
5786
57872013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5788
5789 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5790 or Y being zero as being unlikely.
5791 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5792 Likewise.
5793
57942013-02-20 Carlos O'Donell <carlos@redhat.com>
5795
5796 * manual/nss.texi (System Databases and Name Service Switch):
5797 Remove frobnicate @pxref.
5798
57992013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5800
5801 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5802 __attribute__ ((unused)) to __attribute__ ((__unused__)).
5803
58042013-02-20 Petr Machata <pmachata@redhat.com>
5805
5806 * elf/elf.h (R_ARM_TARGET1): New macro.
5807 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5808 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5809 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5810 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5811 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5812 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5813 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5814 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5815 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5816 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5817 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5818 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5819 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
5820 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
5821 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
5822 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
5823 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
5824 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
5825 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
5826 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
5827 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
5828 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
5829 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
5830 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
5831 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
5832 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
5833 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
5834 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
5835 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
5836 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
5837 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
5838 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
5839 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
5840 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
5841 (R_ARM_THM_GOT_BREL12): Likewise.
5842 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
5843 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
5844 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
5845 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
5846 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
5847 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
5848 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
5849 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
5850 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
5851
58522013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5853
5854 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5855 __attribute_used__ to __attribute__ ((unused)).
5856
58572013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5858
5859 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
5860 powerpc mpa.c.
5861 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
5862 comment formatting.
5863 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
5864
58652013-02-19 Joseph Myers <joseph@codesourcery.com>
5866
5867 [BZ #13550]
5868 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
5869 Remove macro.
5870 (ENTER): Remove both macro definitions.
5871 (LEAVE): Likewise.
5872 (CHECK_BOUNDS_LOW): Likewise.
5873 (CHECK_BOUNDS_HIGH): Likewise.
5874 (CHECK_BOUNDS_BOTH): Likewise.
5875 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
5876 (RETURN_BOUNDED_POINTER): Likewise.
5877 (RETURN_NULL_BOUNDED_POINTER): Likewise.
5878 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
5879 (POP_ERRNO_LOCATION_RETURN): Likewise.
5880 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
5881 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5882 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
5883 macros.
5884 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5885 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
5886 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
5887 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
5888 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
5889 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
5890 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
5891 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
5892 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
5893 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
5894 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
5895 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
5896 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5897 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
5898 removed macros.
5899 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5900 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
5901 macros.
5902 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5903 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
5904 * sysdeps/i386/i586/memset.S (memset): Likewise.
5905 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
5906 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5907 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
5908 macros.
5909 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5910 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
5911 Change uses of L(2) to L(out).
5912 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
5913 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
5914 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
5915 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5916 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
5917 removed macros.
5918 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5919 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
5920 macros.
5921 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5922 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
5923 (RETURN): Do not use macro LEAVE.
5924 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
5925 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
5926 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
5927 * sysdeps/i386/i686/memset.S (memset): Likewise.
5928 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
5929 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
5930 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5931 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
5932 Likewise.
5933 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5934 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
5935 L(1_2) and L(1_3) into L(1).
5936 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5937 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
5938 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5939 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
5940 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5941 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
5942 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
5943 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5944 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
5945 macros.
5946 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
5947 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5948 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
5949 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
5950 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
5951 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5952 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
5953 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
5954 * sysdeps/i386/strcspn.S (strcspn): Likewise.
5955 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
5956 * sysdeps/i386/strrchr.S (strrchr): Likewise.
5957 * sysdeps/i386/strspn.S (strspn): Likewise.
5958 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
5959 conditional code.
5960 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5961 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
5962 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5963 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
5964 L(1_3) into L(1_1).
5965 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
5966 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5967 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
5968 macros.
5969 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5970
59712013-02-19 Jakub Jelinek <jakub@redhat.com>
5972
5973 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
5974 macro.
5975
59762013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5977
5978 * math/atest-exp.c (exp_mpn): Remove ROUND.
5979 * math/atest-exp2.c (exp_mpn): Likewise.
5980 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
5981
5982 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
5983 * stdlib/tst-tls-atexit-lib.c: Likewise.
5984 * stdlib/tst-tls-atexit.c: Likewise.
5985
59862013-02-18 Mike Frysinger <vapier@gentoo.org>
5987
5988 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
5989 and __attribute_alloc_size__.
5990
59912013-02-18 Mike Frysinger <vapier@gentoo.org>
5992
5993 * include/programs/xmalloc.h: Change __attribute_alloc_size to
5994 __attribute_alloc_size__.
5995 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
5996 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
5997
59982013-02-18 Mike Frysinger <vapier@gentoo.org>
5999
6000 * include/programs/xmalloc.h: New file.
6001 * catgets/gencat.c: Include it.
6002 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6003 * elf/pldd.c: Likewise.
6004 * iconv/iconv_charmap.c: Likewise.
6005 * iconv/iconvconfig.c: Likewise.
6006 * iconv/strtab.c: Likewise.
6007 * locale/programs/locale.c: Likewise.
6008 * locale/programs/localedef.h: Likewise.
6009 * locale/programs/simple-hash.c: Likewise.
6010 * nscd/nscd.h: Likewise.
6011 * nss/makedb.c: Likewise.
6012 * sysdeps/generic/ldconfig.h: Likewise.
6013
60142013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6015
6016 * Versions.def: Add GLIBC_2.18.
6017 * include/link.h (struct link_map): New member l_tls_dtor_count.
6018 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6019 (__call_tls_dtors): Likewise.
6020 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6021 __cxa_thread_atexit_impl.
6022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6023 Likewise.
6024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6025 Likewise.
6026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6027 Likewise.
6028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6029 Likewise.
6030 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6032 Likewise.
6033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6034 Likewise.
6035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6036 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6037 Likewise.
6038 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6039 (tests): Add test case tst-tls-atexit.
6040 (modules-names): Add shared library for tst-tls-atexit.
6041 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
6042 (GLIBC_PRIVATE): Add __call_tls_dtors.
6043 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6044 for libstdc++.
6045 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6046 * stdlib/tst-tls-atexit.c: New test case.
6047 * stdlib/tst-tls-atexit-lib.c: New test case.
6048
6049 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
6050
6051 * elf/Versions (ld): Add _dl_find_dso_for_object.
6052 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6053 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6054 (dl_open_worker): Use _dl_find_dso_for_object.
6055 * elf/dl-sym.c (do_sym): Likewise.
6056 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6057
60582013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6059
6060 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6061 Syntactic changes only.
6062 (_dl_runtime_profile): Do a tail-call to the resolved function.
6063
60642013-02-17 Joseph Myers <joseph@codesourcery.com>
6065
6066 [BZ #13550]
6067 * sysdeps/x86_64/bp-asm.h: Remove file.
6068 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6069 <bp-sym.h> and <bp-asm.h>.
6070 (__clone): Do not use BP_SYM.
6071 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6072 <bp-sym.h> and <bp-asm.h>.
6073 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6074 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6075 "bp-asm.h".
6076 (_setjmp): Do not use BP_SYM.
6077 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6078 "bp-asm.h".
6079 (setjmp): Do not use BP_SYM.
6080 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6081 libc_hidden_def.
6082 (mempcpy): Do not use BP_SYM in weak_alias.
6083 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6084 "bp-asm.h".
6085 (strchr): Do not use BP_SYM.
6086 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6087 "bp-asm.h".
6088 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6089 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6090 (_start): Do not use BP_SYM.
6091 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6092 "bp-asm.h".
6093 (strcat): Do not use BP_SYM.
6094 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6095 "bp-asm.h".
6096 (STRCMP): Do not use BP_SYM.
6097 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6098 "bp-asm.h".
6099 (STRCPY): Do not use BP_SYM.
6100 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6101 "bp-asm.h".
6102 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6103 "bp-asm.h".
6104 (FUNCTION): Do not use BP_SYM.
6105 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6106 weak_alias.
6107 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6108
61092013-02-17 Andreas Jaeger <aj@suse.de>
6110
6111 * time/Versions: Sort entries.
6112 * string/Versions: Likewise.
6113 * resolv/Versions: Likewise.
6114 * posix/Versions: Likewise.
6115 * iconv/Versions: Likewise.
6116 * elf/Versions: Likewise.
6117 * wcsmbs/Versions: Likewise.
6118
61192013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6120
6121 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6122 loop termination condition.
6123
6124 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6125 variable to calculate EZ.
6126 (__sqr): Likewise.
6127
6128 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6129 the lower precision input.
6130
61312013-02-15 Joseph Myers <joseph@codesourcery.com>
6132
6133 [BZ #13550]
6134 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6135 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6136 (run-via-rtld-prefix): Do not handle %-bp tests.
6137 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6138 (all-object-suffixes): Remove .ob.
6139 (bppfx): Remove variable.
6140 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6141 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6142 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6143 [$(build-bounded) = yes] (libtype.ob): Likewise.
6144 * Makerules (elide-routines.ob): Remove variable.
6145 (do-tests-clean): Do not handle *-bp.out.
6146 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6147 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6148 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6149 (tests): Do not include $(tests-bp.out).
6150 (xtests): Do not include $(xtests-bp.out).
6151 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6152 [$(build-bounded) = yes] ($(addprefix
6153 $(objpfx),$(binaries-bounded))): Remove rule.
6154 ($(objpfx)%-bp.out): Remove rule.
6155 * config.make.in (build-bounded): Remove variable.
6156 * crypt/Makefile [$(build-bounded) = yes]
6157 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6158 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6159 append to variable.
6160 [$(build-bounded) = yes] (install-lib): Likewise.
6161 [$(build-bounded) = yes] (generated): Likewise.
6162 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6163 Remove rule.
6164 * intl/Makefile [$(build-bounded) = yes]
6165 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6166 * math/Makefile [$(build-bounded) = yes]
6167 ($(tests:%=$(objpfx)%-bp): Likewise.
6168 * misc/Makefile [$(build-bounded) = yes]
6169 ($(objpfx)tst-tsearch-bp): Likewise.
6170 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6171 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6172 Remove dependency.
6173 * string/Makefile (o-objects.ob): Remove variable.
6174 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6175 (CFLAGS-.ob): Remove variable.
6176 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6177 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6178 both definitions of variable.
6179 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6180 (ASFLAGS-.ob): Remove variable.
6181
61822013-02-14 Joseph Myers <joseph@codesourcery.com>
6183
6184 [BZ #13550]
6185 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6186 Remove __BOUNDED_POINTERS__ from condition.
6187 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6188 * string/bits/string2.h [!__NO_STRING_INLINES &&
6189 !__BOUNDED_POINTERS__]: Likewise.
6190 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6191 Likewise.
6192 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6193 Remove conditional code.
6194 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6195 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6196 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6197 condition.
6198
6199 [BZ #13550]
6200 * csu/libc-start.c: Do not include <bp-sym.h>.
6201 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6202 * elf/dl-open.c: Do not include <bp-sym.h>.
6203 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6204 * math/fegetenv.c: Do not include <bp-sym.h>.
6205 (fegetenv): Do not use BP_SYM in versioned symbols.
6206 * nptl/sysdeps/pthread/bits/libc-lockP.h
6207 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6208 <bp-sym.h>.
6209 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6210 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6211 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6212 (__pthread_mutex_destroy): Likewise.
6213 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6214 (__pthread_mutex_lock): Likewise.
6215 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6216 (__pthread_mutex_trylock): Likewise.
6217 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6218 (__pthread_mutex_unlock): Likewise.
6219 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6220 (__pthread_mutexattr_init): Likewise.
6221 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6222 (__pthread_mutexattr_destroy): Likewise.
6223 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6224 (__pthread_mutexattr_settype): Likewise.
6225 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6226 (__pthread_rwlock_init): Likewise.
6227 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6228 (__pthread_rwlock_destroy): Likewise.
6229 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6230 (__pthread_rwlock_rdlock): Likewise.
6231 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6232 (__pthread_rwlock_tryrdlock): Likewise.
6233 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6234 (__pthread_rwlock_wrlock): Likewise.
6235 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6236 (__pthread_rwlock_trywrlock): Likewise.
6237 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6238 (__pthread_rwlock_unlock): Likewise.
6239 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6240 (__pthread_key_create): Likewise.
6241 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6242 (__pthread_setspecific): Likewise.
6243 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6244 (__pthread_getspecific): Likewise.
6245 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6246 Likewise.
6247 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6248 (_pthread_cleanup_push_defer): Likewise.
6249 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6250 (_pthread_cleanup_pop_restore): Likewise.
6251 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6252 (pthread_setcancelstate): Likewise.
6253 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6254 <bp-sym.h>.
6255 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6256 (memchr): Do not use BP_SYM in weak_alias.
6257 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6258 (fegetenv): Do not use BP_SYM in versioned symbols.
6259 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6260 (fesetenv): Do not use BP_SYM in versioned symbols.
6261 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6262 (feupdateenv): Do not use BP_SYM in versioned symbols.
6263 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6264 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6265 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6266 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6267 (open64): Do not use BP_SYM in weak_alias.
6268 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6269 (fegetenv): Do not use BP_SYM in versioned symbols.
6270 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6271 (fesetenv): Do not use BP_SYM in versioned symbols.
6272 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6273 (feupdateenv): Do not use BP_SYM in versioned symbols.
6274 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6275 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6276 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6277 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6278 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6279 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6280 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6281 <bp-sym.h>.
6282 (__libc_start_main): Do not use BP_SYM.
6283
62842013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6285
6286 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6287 redundant return line.
6288 (norm): Likewise.
6289 (denorm): Likewise.
6290 (dbl_mp): Likewise.
6291 (sub_magnitudes): Likewise.
6292 (__add): Likewise.
6293 (__sub): Likewise.
6294 (__mul): Likewise.
6295 (__inv): Likewise.
6296 (__dvd): Likewise.
6297 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6298 (norm): Likewise.
6299 (denorm): Likewise.
6300 (dbl_mp): Likewise.
6301 (sub_magnitudes): Likewise.
6302 (__add): Likewise.
6303 (__sub): Likewise.
6304 (__mul): Likewise.
6305 (__inv): Likewise.
6306 (__dvd): Likewise.
6307
6308 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6309 instead of __mul.
6310 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6311 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6312 (cc32): Likewise.
6313
6314 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6315 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6316 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6317 of __mul for squares.
6318 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6319 function
6320 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6321 Likewise.
6322 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6323 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6324
63252013-02-13 Joseph Myers <joseph@codesourcery.com>
6326
6327 [BZ #13550]
6328 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6329 code.
6330 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6331 prototype or function definition. Rename ubp_* variables and
6332 parameters. Remove argv definitions conditional on
6333 [__BOUNDED_POINTERS__].
6334 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6335 * elf/dl-runtime.c (_dl_fixup): Likewise.
6336 * include/set-hooks.h (RUN_HOOK): Likewise.
6337 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6338 definition.
6339 * string/strcpy.c (strcpy): Do not use __unbounded.
6340 * sysdeps/generic/frame.h (struct layout): Likewise.
6341 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6342 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6343 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6344 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6345 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6346 (__backtrace): Likewise.
6347 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6348 use __ptrvalue.
6349 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6350 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6351 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6352 Likewise.
6353 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6354 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6355 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6356 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6357 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6358 Do not use __unbounded.
6359 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6360 Rename __unboundedrlimits parameter to rlimits in prototype.
6361 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6362 Do not use __unbounded.
6363 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6364 not use __ptrvalue.
6365 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6366 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6367 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6368 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6369 __ptrvalue or __unbounded.
6370 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6371 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6372 use __unbounded.
6373 (__new_msgctl): Do not use __ptrvalue.
6374 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6375 __unbounded.
6376 (__libc_msgrcv): Do not use __ptrvalue.
6377 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6378 startup_info): Do not use __unbounded.
6379 (__libc_start_main): Likewise. Rename ubp_* variables and
6380 parameters. Remove argv definitions conditional on
6381 [__BOUNDED_POINTERS__].
6382 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6383 __ptrvalue.
6384 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6385 use __unbounded.
6386 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6387 or __ptrvalue.
6388 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6389 use __unbounded.
6390 (__new_shmctl): Do not use __ptrvalue.
6391 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6392 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6393 Likewise.
6394 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6395 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6396 (__libc_sigaction): Likewise.
6397 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6398 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6399 Likewise.
6400 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6401
64022013-02-13 Ondřej Bílka <neleai@seznam.cz>
6403
6404 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
6405
6406 * string/mempcpy.c: Implement by calling memcpy.
6407
64082013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6409
6410 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6411
6412 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6413 evaluation.
6414
6415 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6416 values in the mantissa.
6417
6418 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6419 minimize writes to Z.
6420 (sub_magnitudes): Simplify code a bit.
6421
64222013-02-12 Roland McGrath <roland@hack.frob.com>
6423
6424 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6425 from the message. The linker prefixes all warnings with that already.
6426
64272013-02-12 Andreas Schwab <schwab@suse.de>
6428
6429 [BZ #15078]
6430 * posix/regexec.c (extend_buffers): Add parameter min_len.
6431 (check_matching): Pass minimum needed length.
6432 (clean_state_log_if_needed): Likewise.
6433 (get_subexp): Likewise.
6434 * posix/Makefile (tests): Add bug-regex34.
6435 (bug-regex34-ENV): Define.
6436 * posix/bug-regex34.c: New file.
6437
6438 [BZ #11561]
6439 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6440 elements compare against the byte sequence of it, not its name.
6441 * posix/Makefile (tests): Add bug-regex35.
6442 (bug-regex35-ENV): Define.
6443 * posix/bug-regex35.c: New file.
6444
64452013-02-11 Tom de Vries <tom@codesourcery.com>
6446
6447 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6448 comment.
6449 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6450 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6451 (CHECK_EOL): Add undef.
6452
64532013-02-11 Ondřej Bílka <neleai@seznam.cz>
6454
6455 * bits/stdlib-bsearch.h: New file.
6456 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
6457 * stdlib/stdlib.h: Likewise.
6458
64592013-02-11 Roland McGrath <roland@hack.frob.com>
6460
6461 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6462 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6463 declaration.
6464 * manual/search.texi (Array Search Function): Add missing const in
6465 lfind prototype.
6466 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6467 declaration to use rlim_t.
6468 (Basic Scheduling Functions): Remove erroneous const from
6469 sched_getparam prototype. Remove erroneous * from
6470 sched_get_priority_max and sched_get_priority_min prototypes.
6471 (Resource Usage): Fix summary @comment on vtimes to refer to
6472 sys/vtimes.h rather than vtimes.h.
6473 Add missing *s in vtimes prototype.
6474 (Limits on Resources): Fix ulimit prototype to return long int.
6475 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6476 prototypes to use long int rather than double.
6477 (BSD Random): Fix initstate and setstate to use char *, not void *.
6478 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6479 prototype to make second argument 'struct aiocb64 *const[]'.
6480 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6481 (Status of AIO Operations): Remove erroneous const in aio_return and
6482 aio_return64 prototypes.
6483 (Synchronizing I/O): Fix sync prototype to return void.
6484 * manual/startup.texi (Suboptions): Remove an erroneous const in
6485 getsubopt prototype.
6486 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6487 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6488 use size_t rather than int.
6489 (Scanning All Users): Likewise for getpwent_r.
6490 (Setting Groups): Add missing const to setgroups prototype.
6491 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6492 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6493 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6494 'const void *' rather than 'const char *'.
6495 (Host Address Functions): Likewise for inet_ntop.
6496 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6497 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6498 ssize_t for return value.
6499 (Sending Data): Likewise for send, sendto, sendmsg.
6500 (Socket Option Functions): Add a missing const in setsockopt prototype.
6501 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6502 use wchar_t for the argument.
6503 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6504 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6505 take no arguments.
6506 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6507 double/float/long double for second argument.
6508 Fix return types of significand, significandf, significandl.
6509 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6510 argument in fchmod prototype.
6511 (File Owner): Use uid_t and gid_t in fchown prototype.
6512 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6513 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6514 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6515 use 'const struct dirent **' as argument types to CMP function pointer
6516 argument.
6517 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6518 (File Times): Fix summary magic @comment for struct utimbuf and utime
6519 to refer to utime.h, not time.h.
6520 * manual/string.texi (Argz Functions): Add missing const in
6521 argz_extract and argz_next prototypes.
6522 (Finding Tokens in a String): Likewise for basename.
6523 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6524 (Copying and Concatenation): Fix typo in wmemmove prototype.
6525 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6526 (Signal Stack): Remove erroneous const in sigstack prototype.
6527 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6528 prototype.
6529 (Simple Calendar Time): Likewise for stime.
6530 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6531 prototype.
6532 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6533 say sys/sysctl.h instead.
6534 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6535 and vsyslog prototypes.
6536
65372013-02-11 Tom de Vries <tom@codesourcery.com>
6538
6539 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6540 Remove.
6541
65422013-02-11 Roland McGrath <roland@hack.frob.com>
6543
6544 * misc/sys/mman.h: Fix typo in mremap comment.
6545
65462013-02-08 Roland McGrath <roland@hack.frob.com>
6547
6548 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6549 the '\0' terminator.
6550
65512013-02-08 Joseph Myers <joseph@codesourcery.com>
6552
6553 [BZ #13550]
6554 * debug/segfault.c: Don't include <bp-checks.h>.
6555 * sysdeps/generic/bp-checks.h: Remove file.
6556 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6557 (__GETDENTS): Don't use CHECK_N.
6558 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6559 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6560 (__getgroups): Don't use CHECK_N.
6561 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6562 (setgroups): Don't use CHECK_N.
6563 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6564 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6565 (__libc_msgrcv): Don't use CHECK_N.
6566 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6567 (__libc_msgsnd): Don't use CHECK_N.
6568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6569 <bp-checks.h>.
6570 (__libc_pread): Don't use CHECK_N.
6571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6572 include <bp-checks.h>.
6573 (__libc_pread64): Don't use CHECK_N.
6574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6575 include <bp-checks.h>.
6576 (__libc_pwrite): Don't use CHECK_N.
6577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6578 include <bp-checks.h>.
6579 (__libc_pwrite64): Don't use CHECK_N.
6580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6581 <bp-checks.h>.
6582 (__libc_pread): Don't use CHECK_N.
6583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6584 include <bp-checks.h>.
6585 (__libc_pread64): Don't use CHECK_N.
6586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6587 include <bp-checks.h>.
6588 (__libc_pwrite): Don't use CHECK_N.
6589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6590 include <bp-checks.h>.
6591 (__libc_pwrite64): Don't use CHECK_N.
6592 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6593 (do_pread): Don't use CHECK_N.
6594 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6595 (do_pread64): Don't use CHECK_N.
6596 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6597 (do_pwrite): Don't use CHECK_N.
6598 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6599 (do_pwrite64): Don't use CHECK_N.
6600 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6601 (__libc_readv): Don't use CHECK_N.
6602 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6603 (semop): Don't use CHECK_N.
6604 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6605 <bp-checks.h>.
6606 (semtimedop): Don't use CHECK_N.
6607 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6608 (__libc_pread): Don't use CHECK_N.
6609 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6610 <bp-checks.h>.
6611 (__libc_pread64): Don't use CHECK_N.
6612 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6613 <bp-checks.h>.
6614 (__libc_pwrite): Don't use CHECK_N.
6615 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6616 <bp-checks.h>.
6617 (__libc_pwrite64): Don't use CHECK_N.
6618 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6619 <bp-checks.h>.
6620 (__libc_msgrcv): Don't use CHECK_N.
6621 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6622 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
6623 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6624 (__libc_writev): Don't use CHECK_N.
6625
66262013-02-08 Roland McGrath <roland@hack.frob.com>
6627
6628 * string/strcpy.c: Removed unused variable.
6629
6630 * Makeconfig (+sysdep-includes): Define with := rather than =.
6631 Use an existing include/ subdir of each sysdeps dir before it.
6632
66332013-02-08 Carlos O'Donell <carlos@redhat.com>
6634
6635 * nscd/connection.c (register_traced_file): Comment function.
6636 [HAVE_INOTIFY] (union __inev): Define.
6637 [HAVE_INOTIFY] (inotify_check_files): New function.
6638 [HAVE_INOTIFY] (clear_db_cache): Likewise.
6639 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6640 clear_db_cache.
6641 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6642
66432013-02-08 Carlos O'Donell <carlos@redhat.com>
6644
6645 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6646 loaded if not already and that a failure is permanent.
6647
66482013-02-08 Carlos O'Donell <carlos@redhat.com>
6649
6650 [BZ #15006]
6651 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6652 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6653
66542013-02-08 Joseph Myers <joseph@codesourcery.com>
6655
6656 [BZ #13550]
6657 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6658 (CHECK_1_NULL_OK): Likewise.
6659 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6660 (__fxstat): Do not use CHECK_1.
6661 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6662 <bp-checks.h>.
6663 (___fxstat64): Do not use CHECK_1.
6664 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6665 <bp-checks.h>.
6666 (__fxstatat): Do not use CHECK_1.
6667 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6668 <bp-checks.h>.
6669 (__fxstatat64): Do not use CHECK_1.
6670 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6671 <bp-checks.h>.
6672 (__fxstat): Do not use CHECK_1.
6673 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6674 <bp-checks.h>.
6675 (__fxstatat): Do not use CHECK_1.
6676 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6677 <bp-checks.h>.
6678 (__getresgid): Do not use CHECK_1.
6679 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6680 <bp-checks.h>.
6681 (__getresuid): Do not use CHECK_1.
6682 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6683 <bp-checks.h>.
6684 (__lxstat): Do not use CHECK_1.
6685 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6686 <bp-checks.h>.
6687 (__old_msgctl): Do not use CHECK_1.
6688 (__new_msgctl): Likewise.
6689 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6690 <bp-checks.h>.
6691 (__new_setrlimit): Do not use CHECK_1.
6692 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6693 <bp-checks.h>.
6694 (__old_shmctl): Do not use CHECK_1.
6695 (__new_shmctl): Likewise.
6696 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6697 <bp-checks.h>.
6698 (__xstat): Do not use CHECK_1.
6699 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6700 (__lxstat): Do not use CHECK_1.
6701 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6702 <bp-checks.h>.
6703 (___lxstat64): Do not use CHECK_1.
6704 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6705 (__old_msgctl): Do not use CHECK_1.
6706 (__new_msgctl): Likewise.
6707 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6708 <bp-checks.h>.
6709 (__gettimeofday): Do not use CHECK_1.
6710 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6711 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6712 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6713 <bp-checks.h>.
6714 (__gettimeofday): Do not use CHECK_1.
6715 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6716 (__old_shmctl): Do not use CHECK_1_NULL_OK.
6717 (__new_shmctl): Do not use CHECK_1.
6718 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6719 <bp-checks.h>.
6720 (do_sigtimedwait): Do not use CHECK_1.
6721 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6722 <bp-checks.h>.
6723 (do_sigwaitinfo): Do not use CHECK_1.
6724 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6725 <bp-checks.h>.
6726 (msgctl): Do not use CHECK_1.
6727 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6728 <bp-checks.h>.
6729 (shmctl): Do not use CHECK_1.
6730 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6731 (ustat): Do not use CHECK_1.
6732 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6733 <bp-checks.h>.
6734 (__fxstat): Do not use CHECK_1.
6735 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6736 <bp-checks.h>.
6737 (__fxstatat): Do not use CHECK_1.
6738 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6739 <bp-checks.h>.
6740 (__lxstat): Do not use CHECK_1.
6741 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6742 <bp-checks.h>.
6743 (__xstat): Do not use CHECK_1.
6744 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6745 (__xstat): Do not use CHECK_1.
6746 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6747 (___xstat64): Do not use CHECK_1.
6748
6749 [BZ #13550]
6750 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6751 definitions.
6752 (CHECK_BOUNDS_HIGH): Likewise.
6753 * string/strcpy.c: Do not include <bp-checks.h>.
6754 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6755
67562013-02-07 Roland McGrath <roland@hack.frob.com>
6757
6758 * nscd/nscd-client.h (__nscd_drop_map_ref):
6759 Add __attribute__ ((unused)).
6760 * nis/nss-nisplus.h (niserr2nss): Likewise.
6761
6762 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6763 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6764
6765 * csu/libc-tls.c (init_static_tls, init_slotinfo):
6766 Remove inline keyword.
6767 * include/rounding-mode.h (round_away): Likewise.
6768 * libio/wfileops.c (adjust_wide_data): Likewise.
6769 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6770 (__m128i_strloadu_tolower): Likewise.
6771 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6772 (__m128i_strloadu_tolower): Likewise.
6773 * time/mktime.c (ydhms_diff): Likewise.
6774 * locale/elem-hash.h (elem_hash): Likewise.
6775 * locale/setlocale.c (setdata): Likewise.
6776 * posix/regex_internal.h (re_string_char_size_at): Likewise.
6777 (re_string_wchar_at): Likewise.
6778 (bitset_not, bitset_merge, bitset_mask): Likewise.
6779 [!(__GNUC__ > 3)] (inline): Remove macro.
6780 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6781 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6782 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6783 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6784 * string/memcmp.c (memcmp_bytes): Likewise.
6785 * locale/programs/locarchive.c (compute_hashval): Likewise.
6786 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6787 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6788 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6789 * nss/getent.c (print_rpc, print_protocols): Likewise.
6790 (print_passwd, print_group, print_aliases): Likewise.
6791 * nis/nss-nisplus.h (niserr2nss): Likewise.
6792 * nscd/connections.c (restart_p): Likewise.
6793 Change return type to bool.
6794
67952013-02-05 Roland McGrath <roland@hack.frob.com>
6796
6797 * Makeconfig (all-Depend-files): Add existing
6798 $(sorted-subdirs:=/Depend) files.
6799 (all-subdirs): Remove nss.
6800 * sysdeps/unix/inet/Subdirs: Add it here instead.
6801 * hesiod/Depend: New file.
6802
6803 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6804 instead of calling alloca.
6805
6806 * io/lseek.c (__lseek): Rename to __libc_lseek.
6807 Define __lseek as an alias.
6808
6809 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6810
68112013-02-04 Carlos O'Donell <carlos@redhat.com>
6812
6813 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6814 else clause and remove check for non-standard endianness.
6815
68162013-02-04 David S. Miller <davem@davemloft.net>
6817
6818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6819
68202013-02-04 Joseph Myers <joseph@codesourcery.com>
6821
6822 [BZ #13550]
6823 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
6824 (__ubp_memchr): Remove prototype.
6825 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
6826 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6827 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
6828 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6829 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
6830 Remove alias.
6831 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
6832 (__ubp_memchr): Likewise.
6833 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
6834 (__ubp_memchr): Likewise.
6835 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
6836 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
6837 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
6838 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
6839 CHECK_STRING.
6840 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6841 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
6842 (__getcwd): Do not use CHECK_STRING.
6843 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6844 <bp-checks.h>.
6845 (__real_chown): Do not use CHECK_STRING.
6846 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
6847 <bp-checks.h>.
6848 (fchownat): Do not use CHECK_STRING.
6849 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
6850 CHECK_STRING.
6851 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6852 <bp-checks.h>.
6853 (__lchown): Do not use CHECK_STRING.
6854 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6855 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6856 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6857 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6859 include <bp-checks.h>.
6860 (truncate64): Do not use CHECK_STRING.
6861 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6862 <bp-checks.h>.
6863 (__real_chown): Do not use CHECK_STRING.
6864 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6865 <bp-checks.h>.
6866 (__lchown): Do not use CHECK_STRING.
6867 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6868 <bp-checks.h>.
6869 (__chown): Do not use CHECK_STRING.
6870 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
6871 <bp-checks.h>.
6872 (truncate64): Do not use CHECK_STRING.
6873 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
6874 Likewise.
6875 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
6876 (__xmknod): Do not use CHECK_STRING.
6877 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6878 <bp-checks.h>.
6879 (__xmknodat): Do not use CHECK_STRING.
6880 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6881 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6882
68832013-02-04 Andreas Schwab <schwab@suse.de>
6884
6885 [BZ #14142]
6886 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
6887 * include/netdb.h: Likewise for h_errno.
6888 * elf/tst-stackguard1.c: Include <tls.h>.
6889
68902013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6891
6892 * elf/link.h (struct link_map): Extend the l_addr comment.
6893 * include/link.h (struct link_map): Likewise.
6894
68952013-02-01 Joseph Myers <joseph@codesourcery.com>
6896
6897 [BZ #13550]
6898 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
6899 (BOUNDED_1): Remove macro.
6900 * debug/backtrace.c: Don't include <bp-checks.h>.
6901 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
6902 (__backtrace): Likewise.
6903 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
6904 <bp-checks.h>.
6905 (__backtrace): Don't use BOUNDED_1.
6906 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
6907 <bp-checks.h>.
6908 (__backtrace): Don't use BOUNDED_1.
6909 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
6910 (__backtrace): Don't use BOUNDED_1.
6911 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
6912 (shmat): Don't use BOUNDED_N.
6913
69142013-01-31 Joseph Myers <joseph@codesourcery.com>
6915
6916 [BZ #13550]
6917 * sysdeps/generic/bp-start.h: Remove file.
6918 * csu/libc-start.c: Don't include <bp-start.h>.
6919 (LIBC_START_MAIN): Set up __environ directly instead of using
6920 INIT_ARGV_and_ENVIRON.
6921 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
6922 <bp-start.h>.
6923
6924 [BZ #13550]
6925 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
6926 definitions.
6927 (CHECK_FCNTL): Likewise.
6928 (CHECK_N_PAGES): Likewise.
6929
6930 [BZ #13550]
6931 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
6932 definitions.
6933 (CHECK_SIGSET_NULL_OK): Likewise.
6934 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
6935 <bp-checks.h>.
6936 (sigpending): Don't use CHECK_SIGSET.
6937 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
6938 <bp-checks.h>.
6939 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6940 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
6941 <bp-checks.h>.
6942 (do_sigsuspend): Don't use CHECK_SIGSET.
6943 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
6944 use CHECK_SIGSET.
6945 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
6946 (do_sigwait): Don't use CHECK_SIGSET.
6947 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
6948 use CHECK_SIGSET.
6949 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
6950 include <bp-checks.h>.
6951 (sigpending): Don't use CHECK_SIGSET.
6952 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
6953 include <bp-checks.h>.
6954 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6955 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
6956 <bp-checks.h>.
6957 (sigpending): Don't use CHECK_SIGSET.
6958 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
6959 <bp-checks.h>.
6960 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6961
6962 [BZ #13550]
6963 * sysdeps/generic/bp-semctl.h: Remove file.
6964 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
6965 <bp-checks.h> and <bp-semctl.h>.
6966 (__old_semctl): Don't use CHECK_SEMCTL.
6967 (__new_semctl): Likewise.
6968 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
6969 and <bp-semctl.h>.
6970 (__old_semctl): Don't use CHECK_SEMCTL.
6971 (__new_semctl): Likewise.
6972 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
6973 <bp-checks.h> and <bp-semctl.h>.
6974 (__old_semctl): Don't use CHECK_SEMCTL.
6975 (__new_semctl): Likewise.
6976 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
6977 <bp-checks.h> and <bp-semctl.h>.
6978 (semctl): Don't use CHECK_SEMCTL.
6979
6980 [BZ #13550]
6981 * Makerules (elide-bp-thunks): Remove variable.
6982 (elide-routines.oS): Don't use $(elide-bp-thunks).
6983 (elide-routines.os): Likewise.
6984 (elide-routines.o): Likewise.
6985 (elide-routines.op): Likewise.
6986 (elide-routines.og): Likewise.
6987 (objects): Don't use $(bp-thunks).
6988 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
6989 include.
6990 (common-generated): Do not add s-proto-bp.d.
6991 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
6992 (int): Likewise.
6993 (typ): Likewise.
6994 Do not generate makefile rules for bounded-pointer thunks.
6995 * sysdeps/generic/bp-thunks.h: Remove file.
6996 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
6997 * sysdeps/unix/s-proto-bp.S: Likewise.
6998
6999 [BZ #15062]
7000 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7001 parts of result separately when argument is not close to line from
7002 -i to i and one part of argument is small.
7003 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7004 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7005 * math/libm-test.inc (cacos_test): Add more tests.
7006 (casin_test): Likewise.
7007 (casinh_test): Likewise.
7008 * sysdeps/i386/fpu/libm-test-ulps: Update.
7009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7010
70112013-01-31 David S. Miller <davem@davemloft.net>
7012
7013 * po/de.po: Update from translation team.
7014
70152013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7016
7017 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7018
70192013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7020
7021 * configure.in (_AC_PROG_CC_C89): New definition.
7022 * configure: Regenerate.
7023
7024 * configure.in (AC_PROG_CPP): New definition.
7025 * configure: Regenerate.
7026
70272013-01-23 Joseph Myers <joseph@codesourcery.com>
7028
7029 * debug/tst-backtrace.h: New file.
7030 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7031 (ret): Remove variable.
7032 (x): Likewise.
7033 (FAIL): Remove macro.
7034 (NO_INLINE): Likewise.
7035 (fn1): Use match function instead of strstr.
7036 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7037 (ret): Remove variable.
7038 (x): Likewise.
7039 (FAIL): Remove macro.
7040 (NO_INLINE): Likewise.
7041 (fn): Use match function instead of strstr.
7042 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7043 (ret): Remove variable.
7044 (x): Likewise.
7045 (FAIL): Remove macro.
7046 (NO_INLINE): Likewise.
7047 (handle_signal): Use match function instead of strstr.
7048 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7049 (ret): Remove variable.
7050 (x): Likewise.
7051 (FAIL): Remove macro.
7052 (NO_INLINE): Likewise.
7053 (handle_signal): Use match function instead of strstr.
7054
70552013-01-23 Roland McGrath <roland@hack.frob.com>
7056
7057 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7058
70592013-01-23 David S. Miller <davem@davemloft.net>
7060
7061 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7062 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7063 argument of CAS if possible.
7064 * sysdeps/sparc/sparc64/bits/atomic.h
7065 (__arch_compare_and_exchange_val_32_acq): Likewise.
7066 (__arch_compare_and_exchange_val_64_acq): Likewise.
7067
70682013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7069
7070 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7071 * sysdeps/posix/ulimit.c: ... this.
7072 Include <limits.h>.
7073 * sysdeps/unix/bsd/ulimit.c: Remove file.
7074
70752013-01-23 Adam Conrad <adconrad@0c3.net>
7076
7077 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7078 (LDFLAGS-tst-array5): Likewise.
7079
70802013-01-23 Joseph Myers <joseph@codesourcery.com>
7081
7082 [BZ #15036]
7083 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7084 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7085 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7086 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7087
70882013-01-21 David S. Miller <davem@davemloft.net>
7089
7090 * sysdeps/sparc/backtrace.c: New file.
7091 * sysdeps/sparc/sparc32/backtrace.h: New file.
7092 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7093 * sysdeps/sparc/sparc64/backtrace.h: New file.
7094 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7095 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7096 -funwind-tables.
7097
70982013-01-21 Andreas Schwab <schwab@suse.de>
7099
7100 [BZ #15020]
7101 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7102 closed its stdout.
7103
71042013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7105
7106 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7107 "mpa2.h".
7108 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7109
71102013-01-18 Joseph Myers <joseph@codesourcery.com>
7111 Mark Mitchell <mark@codesourcery.com>
7112 Tom de Vries <tom@codesourcery.com>
7113 Paul Pluzhnikov <ppluzhnikov@google.com>
7114
7115 * debug/tst-backtrace2.c: New file.
7116 * debug/tst-backtrace3.c: Likewise.
7117 * debug/tst-backtrace4.c: Likewise.
7118 * debug/tst-backtrace5.c: Likewise.
7119 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7120 (CFLAGS-tst-backtrace3.c): Likewise.
7121 (CFLAGS-tst-backtrace4.c): Likewise.
7122 (CFLAGS-tst-backtrace5.c): Likewise.
7123 (LDFLAGS-tst-backtrace2): Likewise.
7124 (LDFLAGS-tst-backtrace3): Likewise.
7125 (LDFLAGS-tst-backtrace4): Likewise.
7126 (LDFLAGS-tst-backtrace5): Likewise.
7127 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7128 tst-backtrace4 and tst-backtrace5.
7129
71302013-01-18 Anton Blanchard <anton@samba.org>
7131 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7132
7133 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7134 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7135 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7136 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7138 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7139 "+r" and remove output regs list as redundant. Add explicit inline
7140 asm to specify register of return val to work around compiler codegen
7141 bug. Remove (int) cast on return value. Add return type parameter to
7142 use in macro so that this macro does not truncate return value for
7143 64-bit values.
7144 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7145 pass to INTERNAL_VSYSCALL_NCS.
7146 (INLINE_VSYSCALL): Add 'long int' as return type to
7147 INTERNAL_VSYSCALL_NCS macro invocation.
7148 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7149 INTERNAL_VSYSCALL_NCS macro invocation.
7150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7151
71522013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7153
7154 [BZ #14496]
7155 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7156 Fix application of SIMD FP exception mask.
7157
7158 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7159 mp_no from a power of two.
7160 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7161 __mpexp_twomm1. Use __pow_mp.
7162
7163 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7164 multiplication.
7165
71662013-01-17 David S. Miller <davem@davemloft.net>
7167
7168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7169
71702013-01-17 Joseph Myers <joseph@codesourcery.com>
7171
7172 [BZ #15023]
7173 * include/complex.h: Condition contents on [!_COMPLEX_H].
7174 (__kernel_casinhf): New prototype.
7175 (__kernel_casinh): Likewise.
7176 (__kernel_casinhl): Likewise.
7177 * math/Makefile (libm_calls): Add k_casinh.
7178 * math/k_casinh.c: New file.
7179 * math/k_casinhf.c: Likewise.
7180 * math/k_casinhl.c: Likewise.
7181 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7182 finite nonzero arguments.
7183 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7184 finite nonzero arguments.
7185 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7186 finite nonzero arguments.
7187 * math/s_casinh.c: Do not include <float.h>.
7188 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7189 * math/s_casinhf.c: Do not include <float.h>.
7190 (__casinhf): Move code for finite nonzero arguments to
7191 k_casinhf.c.
7192 * math/s_casinhl.c: Do not include <float.h>.
7193 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7194 redefine.
7195 (__casinhl): Move code for finite nonzero arguments to
7196 k_casinhl.c.
7197 * math/libm-test.inc (cacos_test): Add more tests.
7198 * sysdeps/i386/fpu/libm-test-ulps: Update.
7199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7200
72012013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7202
7203 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7204 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7205 [!HAVE_MREMAP]: Remove [defined linux] case.
7206 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7207
72082013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7209
7210 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7211
72122013-01-17 H.J. Lu <hongjiu.lu@intel.com>
7213
7214 * elf/elf.h (R_386_SIZE32): New relocation.
7215 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7216 R_386_SIZE32.
7217 (elf_machine_rela): Likewise.
7218 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7219 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7220
72212013-01-17 Joseph Myers <joseph@codesourcery.com>
7222
7223 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7224 (FP_FAST_FMA): Do not define.
7225 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7226 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7227 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7228 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7229 !_SOFT_FLOAT]: Likewise.
7230 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7231 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7232 value.
7233 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7234 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7235 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7236 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7237 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7238 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7239 file.
7240
72412013-01-16 Andreas Schwab <schwab@suse.de>
7242
7243 [BZ #14327]
7244 * include/stdlib.h (__mktemp): Add declaration.
7245 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7246 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7247
72482013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7249
7250 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7251 definitions.
7252 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7253 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7254 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7255 definitions here.
7256 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7257 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7258 definitions.
7259 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7260 and ONE.
7261 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7262 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7263 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7264 definitions.
7265 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7266 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7267 definitions.
7268 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7269
7270 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7271
72722013-01-15 David S. Miller <davem@davemloft.net>
7273
7274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7275 trunc{,f} to libm-sysdep_routes.
7276 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7278 file.
7279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7281 file.
7282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7283 file.
7284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7286 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7287 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7288 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7289 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7290 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7291 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7292
7293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7294 nearbyint{,f} to libm-sysdep_routes.
7295 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7297 New file.
7298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7299 file.
7300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7301 New file.
7302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7303 file.
7304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7306 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7307 file.
7308 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7309 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7310 file.
7311 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7312 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7313 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7314
7315 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7316 libc_feholdexcept and libc_fesetenv.
7317
73182013-01-15 Mike Frysinger <vapier@gentoo.org>
7319
7320 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7321
73222013-01-14 David S. Miller <davem@davemloft.net>
7323
7324 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7325 (SPARC_ASM_VIS2_IFUNC): Likewise.
7326 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7328 use of 'siam' instruction.
7329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7330 Likewise.
7331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7332 Likewise.
7333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7334 Likewise.
7335 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7336 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7337 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7338 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7340 file.
7341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7342 file.
7343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7344 file.
7345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7346 file.
7347 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7348 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7349 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7350 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7352 new VIS2 routines.
7353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7356 Likewise.
7357 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7358 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7359 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7360 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7362 routines to libm-sysdep_routines.
7363 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7364
7365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7366 fdim/fdimf to libm-sysdep_routines.
7367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7368 file.
7369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7371 file.
7372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7375 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7376 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7377 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7378 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7379
73802013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7381
7382 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7383 to optimize copies.
7384
7385 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7386 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7387 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7388
7389 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7390 local variable MPTWO.
7391 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7392 Likewise.
7393
73942013-01-13 Mike Frysinger <vapier@gentoo.org>
7395
7396 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7397 GLOB_NOESCAPE.
7398
73992013-01-13 Mike Frysinger <vapier@gentoo.org>
7400
7401 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7402
74032013-01-13 Mike Frysinger <vapier@gentoo.org>
7404
7405 * manual/pattern.texi (glob_t): Document gl_flags.
7406 (glob64_t): Likewise.
7407
74082013-01-11 David S. Miller <davem@davemloft.net>
7409
7410 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7411 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7412 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
7413 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7414 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7415 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7416 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7417 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7418 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7419 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7420 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7421 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7422 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7423
7424 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7425 sparc V9 rather than using V8 code.
7426 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7427 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7428
7429 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7430 Move to...
7431 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7432 Here.
7433
74342013-01-11 Roland McGrath <roland@hack.frob.com>
7435
7436 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7437 not in the main loop.
7438 * configure: Regenerated.
7439
74402013-01-11 Joseph Myers <joseph@codesourcery.com>
7441
7442 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7443 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7444 to just #else.
7445 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7446 [!__GLIBC_HAVE_LONG_LONG] case.
7447 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7448 condition to just #else.
7449 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7450 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7451 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7452 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7453 unconditional.
7454 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7455 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7456 #elif condition to just #else.
7457 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7458 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7459 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7460 #elif condition to just #else.
7461
74622013-01-11 Steve Ellcey <sellcey@mips.com>
7463
7464 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7465 (EF_MIPS_ARCH_64): Fix value.
7466 (EF_MIPS_ARCH_32R2): New.
7467 (EF_MIPS_ARCH_64R2): New.
7468
74692013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7470
7471 * Makeconfig (+link-pie-before-libc): New.
7472 (+link-pie-after-libc): Likewise.
7473 (+link-pie-tests): Likewise.
7474 (+link-pie): Rewritten.
7475 (link-before-libc): Remove $(config-LDFLAGS).
7476 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7477 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7478 (config-LDFLAGS): Renamed to ...
7479 (rtld-LDFLAGS): This.
7480 (rtld-tests-LDFLAGS): New macro.
7481 (link-libc-rpath-link): Likewise.
7482 (link-libc-tests-rpath-link): Likewise.
7483 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7484 (link-libc): Prepand $(link-libc-rpath-link).
7485 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7486 (test-program-prefix): New macro.
7487 (test-via-rtld-prefix): Likewise.
7488 (test-program-cmd): Likewise.
7489 (host-test-program-cmd): Likewise.
7490 * Makefile ($(common-objpfx)testrun.sh): Replace
7491 $(run-program-prefix) with $(test-program-prefix).
7492 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7493 $(rtld-LDFLAGS).
7494 ($(common-objpfx)shlib.lds): Likewise.
7495 (build-module-helper): Likewise.
7496 ($(common-objpfx)format.lds): Likewise.
7497 * Rules (binaries-pie-tests): New.
7498 (binaries-pie-notests): Likewise.
7499 (binaries-pie): Rewritten.
7500 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7501 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7502 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7503 (make-test-out): Replace $(host-built-program-cmd) with
7504 $(host-test-program-cmd).
7505 * config.make.in (build-hardcoded-path-in-tests): New variable.
7506 * configure.in (--enable-hardcoded-path-in-tests): New configure
7507 option.
7508 (hardcoded_path_in_tests): New AC_SUBST.
7509 * configure: Regenerated.
7510 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7511 $(built-program-cmd) with $(test-program-cmd).
7512 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7513 (test_program_cmd): This.
7514 * elf/Makefile ($(objpfx)order.out): Run test with
7515 $(test-program-prefix).
7516 ($(objpfx)order2.out): Likewise.
7517 ($(objpfx)tst-initorder.out): Likewise.
7518 ($(objpfx)tst-initorder2.out): Likewise.
7519 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7520 $(test-program-cmd).
7521 ($(objpfx)tst-array1-static.out): Likewise.
7522 ($(objpfx)tst-array2.out): Likewise.
7523 ($(objpfx)tst-array3.out): Likewise.
7524 ($(objpfx)tst-array4.out): Likewise.
7525 ($(objpfx)tst-array5.out): Likewise.
7526 ($(objpfx)tst-array5-static.out): Likewise.
7527 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7528 $(test-program-cmd).
7529 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7530 $(run-program-prefix) with $(test-program-prefix).
7531 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7532 (test_program_prefix): This.
7533 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7534 $(run-program-prefix) with $(test-program-prefix).
7535 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7536 (test_program_prefix): This.
7537 * iconvdata/tst-tables.sh: Likewise.
7538 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7539 $(run-program-prefix) with $(test-program-prefix).
7540 ($(objpfx)tst-translit.out): Likewise.
7541 ($(objpfx)tst-gettext2.out): Likewise.
7542 ($(objpfx)tst-gettext4.out): Likewise.
7543 ($(objpfx)tst-gettext6.out): Likewise.
7544 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7545 (test_program_prefix): This.
7546 * intl/tst-gettext2.sh: Likewise.
7547 * intl/tst-gettext4.sh Likewise.
7548 * intl/tst-gettext6.sh: Likewise.
7549 * intl/tst-translit.sh: Likewise.
7550 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7551 with $(test-program-cmd).
7552 * libio/Makefile ($(objpfx)test-freopen.out): Replace
7553 $(run-program-prefix) with $(test-program-prefix).
7554 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7555 (test_program_prefix): This.
7556 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7557 $(run-program-prefix) with $(test-program-prefix).
7558 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7559 (test_program_prefix): This.
7560 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7561 * posix/Makefile ($(objpfx)globtest.out): Replace
7562 $(run-via-rtld-prefix) and $(test-wrapper) with
7563 $(test-program-prefix) and $(test-via-rtld-prefix).
7564 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7565 $(test-program-prefix).
7566 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7567 $(host-test-program-cmd).
7568 (tst-spawn-ARGS): Likewise.
7569 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7570 $(test-program-prefix).
7571 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7572 (test_via_rtld_prefix): This.
7573 (test_wrapper): Renamed to ...
7574 (test_program_prefix): This.
7575 (run_program_prefix): Replaced by test_program_prefix.
7576 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7577 (test_program_prefix): This.
7578 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7579 with $(host-test-program-cmd).
7580 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7581 $(run-program-prefix) with $(test-program-prefix).
7582 ($(objpfx)tst-printf.out): Likewise.
7583 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7584 $(test-program-cmd).
7585 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7586 (test_program_prefix): This.
7587 * stdio-common/tst-unbputc.sh: Likewise.
7588 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7589 $(run-program-prefix) with $(test-program-prefix).
7590 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7591 (test_program_prefix): This.
7592 * string/Makefile ($(objpfx)tst-svc.out): Replace
7593 $(built-program-cmd) with $(test-program-cmd).
7594
75952013-01-11 Andreas Jaeger <aj@suse.de>
7596
7597 [BZ #15003]
7598 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7599 value. Sync with Linux 3.7.
7600
76012013-01-10 David S. Miller <davem@davemloft.net>
7602
7603 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7604 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7605 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7606
76072013-01-10 Roland McGrath <roland@hack.frob.com>
7608
7609 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7610 never set.
7611 * configure: Regenerated.
7612
76132013-01-10 David S. Miller <davem@davemloft.net>
7614
7615 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7616 sparc V9 rather than using V8 code.
7617 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7618 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7619
76202013-01-10 Roland McGrath <roland@hack.frob.com>
7621
7622 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7623 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7624 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7625 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7626 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7627 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7628 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7629 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7630 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7631 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7632 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7633 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7634 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7635 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7636 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7637 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7638 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7639 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7640 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7641 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7642 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7643 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7644 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7645 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7646 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7647 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7648 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7649
76502013-01-10 David S. Miller <davem@davemloft.net>
7651
7652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7653
76542013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7655
7656 * posix/Makefile (tests-static): New variable.
7657 (tests): Add $(tests-static).
7658 (tst-exec-static-ARGS): New variable.
7659 (tst-spawn-static-ARGS): Likewise.
7660 * posix/tst-exec-static.c: New file.
7661 * posix/tst-spawn-static.c: Likewise.
7662 * posix/tst-exec.c: Support run directly.
7663 * posix/tst-spawn.c: Likewise.
7664
76652013-01-10 Joseph Myers <joseph@codesourcery.com>
7666
7667 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7668 long.
7669 * math/bits/mathcalls.h (llrint): Likewise.
7670 (llround): Likewise.
7671 * stdlib/stdlib.h (struct drand48_data): Likewise.
7672 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7673 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7674 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7675 Likewise.
7676 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7677 Likewise.
7678 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7679 (elf_greg_t): Likewise.
7680 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7681 (__jmp_buf): Likewise.
7682 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7683 definitions.
7684 (llrint): Likewise, for all definitions.
7685 (llrintl): Likewise.
7686
7687 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7688 Remove [__GNUC__] condition.
7689 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7690 condition to just [__USE_ISOC99].
7691 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7692
76932013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7694
7695 [BZ #14200]
7696 * sysdeps/unix/sysv/linux/x86/bits/environments.h
7697 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7698 defined.
7699 (_POSIX_V6_ILP32_OFF32): Likewise.
7700 (_XBS5_ILP32_OFF32): Likewise.
7701 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7702 (__ILP32_OFFBIG_LDFLAGS): Likewise.
7703
77042013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7705
7706 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7707
7708 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7709 doubles __mpexp_twomm1. Adjust usage.
7710 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7711 Remove.
7712
77132013-01-10 Andreas Schwab <schwab@suse.de>
7714
7715 [BZ #14964]
7716 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7717 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7718
77192013-01-09 David S. Miller <davem@davemloft.net>
7720
7721 [BZ #15003]
7722 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7723 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7724 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7725 TCP_FASTOPEN): Define.
7726 (tcp_repair_opt): New structure.
7727 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7728 enum values.
7729 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7730 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7731 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7732 (tcp_cookie_transactions): New structure.
7733
77342013-01-09 Anton Blanchard <anton@samba.org>
7735
7736 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7737 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7738 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7739 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7740
77412013-01-09 Joseph Myers <joseph@codesourcery.com>
7742
7743 * include/features.h (__USE_ANSI): Remove.
7744
77452013-01-09 Roland McGrath <roland@hack.frob.com>
7746
7747 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7748
7749 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7750
77512013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7752
7753 * sysdeps/s390/fpu/libm-test-ulps: Update.
7754
7755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7756
7757 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7758 (__acr): Likewise.
7759 (__cpy): Likewise.
7760 (norm): Likewise.
7761 (denorm): Likewise.
7762 (__mp_dbl): Likewise.
7763 (__dbl_mp): Likewise.
7764 (add_magnitudes): Likewise.
7765 (sub_magnitudes): Likewise.
7766 (__add): Likewise.
7767 (__sub): Likewise.
7768 (__mul): Likewise.
7769 (__inv): Likewise.
7770 (__dvd): Likewise.
7771 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7772 (__acr): Likewise.
7773 (__cpy): Likewise.
7774 (norm): Likewise.
7775 (denorm): Likewise.
7776 (__mp_dbl): Likewise.
7777 (__dbl_mp): Likewise.
7778 (add_magnitudes): Likewise.
7779 (sub_magnitudes): Likewise.
7780 (__add): Likewise.
7781 (__sub): Likewise.
7782 (__mul): Likewise.
7783 (__inv): Likewise.
7784 (__dvd): Likewise.
7785 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7786 (__acr): Likewise.
7787 (__cpy): Likewise.
7788 (norm): Likewise.
7789 (denorm): Likewise.
7790 (__mp_dbl): Likewise.
7791 (__dbl_mp): Likewise.
7792 (add_magnitudes): Likewise.
7793 (sub_magnitudes): Likewise.
7794 (__add): Likewise.
7795 (__sub): Likewise.
7796 (__mul): Likewise.
7797 (__inv): Likewise.
7798 (__dvd): Likewise.
7799
78002013-01-08 Joseph Myers <joseph@codesourcery.com>
7801
7802 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7803 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7804 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7805 2 && __USE_EXTERN_INLINES]: Likewise.
7806
78072013-01-08 Andreas Jaeger <aj@suse.de>
7808
7809 [BZ# 14985]
7810 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7811 Remove.
7812 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7813 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7814
78152013-01-07 Anton Blanchard <anton@samba.org>
7816
7817 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7818 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7819 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
7820 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7821 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7822 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7823 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
7824 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7825 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7826 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7827 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7828 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7829 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7830 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7831 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7832 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7833 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7834 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7835 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7836 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7837 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7838 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
7839 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7840 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7841 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
7842 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7843 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7844 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7845 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
7846 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7847 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7848 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7849 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7850 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7851 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7852 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7853 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7854 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7855 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
7856 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7857 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
7858 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7859 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7860
78612013-01-07 Joseph Myers <joseph@codesourcery.com>
7862
7863 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
7864 (__MALLOC_PMT): Likewise.
7865 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
7866 [__GNUC__], only on [_LIBC].
7867 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7868 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
7869 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7870 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
7871 forward declaration.
7872 (realloc_hook_ini): Likewise.
7873 (memalign_hook_ini): Likewise.
7874 (__libc_memalign): Do not use __MALLOC_PMT in variable
7875 declaration.
7876 (__libc_valloc): Likewise.
7877 (__libc_pvalloc): Likewise.
7878 (__libc_calloc): Likewise.
7879 (__posix_memalign): Likewise.
7880
7881 [BZ #14996]
7882 * math/s_casinh.c: Include <float.h>.
7883 (__casinh): Do not do computation with squaring and square root
7884 for large arguments.
7885 * math/s_casinhf.c: Include <float.h>.
7886 (__casinhf): Do not do computation with squaring and square root
7887 for large arguments.
7888 * math/s_casinhl.c: Include <float.h>.
7889 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
7890 (__casinhl): Do not do computation with squaring and square root
7891 for large arguments.
7892 * math/libm-test.inc (casin_test): Add more tests.
7893 (casinh_test): Likewise.
7894 * sysdeps/i386/fpu/libm-test-ulps: Update.
7895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7896
78972013-01-04 H.J. Lu <hongjiu.lu@intel.com>
7898
7899 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
7900 (__x86_64_raw_data_cache_size): Likewise.
7901 (__x86_64_data_cache_size_half): Likewise.
7902 (__x86_64_raw_data_cache_size_half): Likewise.
7903 (__x86_64_shared_cache_size): Likewise.
7904 (__x86_64_raw_shared_cache_size): Likewise.
7905 (__x86_64_shared_cache_size_half): Likewise.
7906 (__x86_64_raw_shared_cache_size_half): Likewise.
7907 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
7908 to ...
7909 (__x86_data_cache_size): This.
7910 (__x86_64_raw_data_cache_size): Renamed to ...
7911 (__x86_raw_data_cache_size): This.
7912 (__x86_64_data_cache_size_half): Renamed to ...
7913 (__x86_data_cache_size_half): This.
7914 (__x86_64_raw_data_cache_size_half): Renamed to ...
7915 (__x86_raw_data_cache_size_half): This.
7916 (__x86_64_shared_cache_size): Renamed to ...
7917 (__x86_shared_cache_size): This.
7918 (__x86_64_raw_shared_cache_size): Renamed to ...
7919 (__x86_raw_shared_cache_size): This.
7920 (__x86_64_shared_cache_size_half): Renamed to ...
7921 (__x86_shared_cache_size_half): This.
7922 (__x86_64_raw_shared_cache_size_half): Renamed to ...
7923 (__x86_raw_shared_cache_size_half): This.
7924 * sysdeps/x86_64/memcpy.S: Updated.
7925 * sysdeps/x86_64/memset.S: Likewise.
7926 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7927 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7928 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7929
79302013-01-04 David S. Miller <davem@davemloft.net>
7931
7932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7933
79342013-01-04 Andreas Schwab <schwab@linux-m68k.org>
7935
7936 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
7937 1 to avoid redefinition warning.
7938 (__USE_GNU): Don't define.
7939 (init_signaling_nan): Protoize.
7940
7941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7942
79432013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7944
7945 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
7946 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
7947 (__cpymn): Likewise.
7948 (norm): Remove commented code.
7949 (denorm): Likewise.
7950 (__mp_dbl): Likewise.
7951 (__inv): Likewise.
7952 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
7953 (__cpymn): Likewise.
7954 (norm): Remove commented code.
7955 (denorm): Likewise.
7956 (__mp_dbl): Likewise.
7957 (__inv): Likewise.
7958
7959 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
7960 mp_no value for 1.0 and 2.0.
7961 (norm): Use RADIXI instead of radixi.d.
7962 (denorm): Likewise.
7963 (__mul): Use 0.0 instead of zero.d.
7964 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
7965 mp_no value for 1.0 and 2.0.
7966 (norm): Use RADIXI instead of radixi.d.
7967 (denorm): Likewise.
7968 (__mul): Use 0.0 instead of zero.d.
7969
79702013-01-04 Joseph Myers <joseph@codesourcery.com>
7971
7972 [BZ #14994]
7973 * math/s_casinh.c (__casinh): Reduce finite argument to first
7974 quadrant then set signs of results at the end.
7975 * math/s_casinhf.c (__casinhf): Likewise.
7976 * math/s_casinhl.c (__casinhl): Likewise.
7977 * math/libm-test.inc (casin_test): Add more tests.
7978 (casinh_test): Likewise.
7979 * sysdeps/i386/fpu/libm-test-ulps: Update.
7980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7981
79822013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7983
7984 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
7985
7986 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
7987
7988 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
7989 declarations.
7990 (denorm): Likewise.
7991 (__mp_dbl): Likewise.
7992 (__inv): Likewise.
7993
7994 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
7995 and adjust the header comment.
7996
7997 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
7998 variable name from declaration.
7999
80002013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8001
8002 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8003 Initialize COMMON_CPUID_INDEX_7 element.
8004 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8005 (CPUID_RTM): Likewise.
8006 (HAS_RTM): Likewise.
8007 (COMMON_CPUID_INDEX_7): New enum.
8008
80092013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8010
8011 [BZ #14981]
8012 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8013 size is zero, record memory as freed.
8014
80152013-01-03 Andreas Jaeger <aj@suse.de>
8016
8017 * po/ia.po: Add new Interlingua translation.
8018
80192012-01-03 Allan McRae <allan@archlinux.org>
8020
8021 * locale/programs/localedef.c: Fix description of '--posix' flag.
8022
80232013-01-02 Joseph Myers <joseph@codesourcery.com>
8024
8025 * NEWS: Update dates in second copyright notice.
8026 * README: Update copyright dates in example.
8027 * manual/libc.texinfo: Update copyright dates.
8028 * scripts/test-installation.pl: Update copyright date in --version
8029 output.
8030
8031 * hurd/ctty-input.c: Fix copyright notice formatting.
8032 * hurd/ctty-output.c: Likewise.
8033 * hurd/dtable.c: Likewise.
8034 * hurd/hurd-raise.c: Likewise.
8035 * hurd/hurdprio.c: Likewise.
8036 * hurd/msgportdemux.c: Likewise.
8037 * misc/sys/file.h: Likewise.
8038 * misc/sys/ioctl.h: Likewise.
8039 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8040 * sysdeps/mach/hurd/chdir.c: Likewise.
8041 * sysdeps/mach/hurd/fchdir.c: Likewise.
8042 * sysdeps/mach/hurd/rename.c: Likewise.
8043 * sysdeps/mach/hurd/rmdir.c: Likewise.
8044 * sysdeps/mach/hurd/seekdir.c: Likewise.
8045 * sysdeps/mach/hurd/setsid.c: Likewise.
8046 * sysdeps/posix/wait3.c: Likewise.
8047
8048 * All files with FSF copyright notices: Update copyright dates
8049 using scripts/update-copyrights.
8050 * intl/plural.c: Regenerated.
8051 * locale/programs/charmap-kw.h: Likewise.
8052 * locale/programs/locfile-kw.h: Likewise.
8053
80542013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8055
8056 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8057 four values.
8058
8059 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8060 calculation loop and add branch prediction.
8061
8062 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8063 check access beyond bounds of m1np.
8064
8065 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8066 MPTWO.
8067 (__inv): Remove local variable MPTWO to use the global
8068 constant.
8069 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8070 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8071 variable MPTWO.
8072 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8073 MP3HALFS static const.
8074
80752013-01-01 David S. Miller <davem@davemloft.net>
8076
8077 * po/ca.po: Update from translation team.
8078
80792013-01-01 Joseph Myers <joseph@codesourcery.com>
8080
8081 * scripts/update-copyrights: New file.
8082 * Makeconfig: Reformat copyright notice.
8083 * ctype/ctype.h: Likewise.
8084 * debug/swprintf_chk.c: Likewise.
8085 * elf/dl-cache.c: Likewise.
8086 * elf/dl-debug.c: Likewise.
8087 * elf/dl-object.c: Likewise.
8088 * grp/initgroups.c: Likewise.
8089 * hurd/Makefile: Likewise.
8090 * hurd/hurd/signal.h: Likewise.
8091 * hurd/hurdfault.c: Likewise.
8092 * hurd/hurdioctl.c: Likewise.
8093 * hurd/hurdlookup.c: Likewise.
8094 * hurd/intr-msg.c: Likewise.
8095 * iconv/gconv_open.c: Likewise.
8096 * libio/swprintf.c: Likewise.
8097 * locale/lc-ctype.c: Likewise.
8098 * locale/nl_langinfo.c: Likewise.
8099 * mach/Machrules: Likewise.
8100 * mach/Makefile: Likewise.
8101 * malloc/obstack.h: Likewise.
8102 * manual/Makefile: Likewise.
8103 * manual/tsort.awk: Likewise.
8104 * misc/bits/stab.def: Likewise.
8105 * nis/nis_print_group_entry.c: Likewise.
8106 * nis/nis_table.c: Likewise.
8107 * nis/nss_compat/compat-pwd.c: Likewise.
8108 * nis/nss_compat/compat-spwd.c: Likewise.
8109 * po/Makefile: Likewise.
8110 * posix/fnmatch.c: Likewise.
8111 * posix/regex.h: Likewise.
8112 * resolv/Makefile: Likewise.
8113 * resolv/nss_dns/dns-network.c: Likewise.
8114 * resolv/res_hconf.c: Likewise.
8115 * scripts/gen-sorted.awk: Likewise.
8116 * soft-fp/soft-fp.h: Likewise.
8117 * stdio-common/printf.h: Likewise.
8118 * stdlib/monetary.h: Likewise.
8119 * stdlib/random.c: Likewise.
8120 * stdlib/random_r.c: Likewise.
8121 * sysdeps/generic/Makefile: Likewise.
8122 * sysdeps/gnu/Makefile: Likewise.
8123 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8124 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8125 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8126 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8127 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8128 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8129 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8130 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8131 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8132 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8133 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8134 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8135 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8136 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8137 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8138 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8139 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8140 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8141 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8142 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8143 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8144 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8145 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8146 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8147 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8148 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8149 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8150 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8151 * sysdeps/mach/hurd/errnos.awk: Likewise.
8152 * sysdeps/mach/hurd/fork.c: Likewise.
8153 * sysdeps/mach/hurd/getcwd.c: Likewise.
8154 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8155 * sysdeps/mach/hurd/mmap.c: Likewise.
8156 * sysdeps/mach/hurd/utimes.c: Likewise.
8157 * sysdeps/mach/hurd/xmknod.c: Likewise.
8158 * sysdeps/posix/profil.c: Likewise.
8159 * sysdeps/posix/readdir_r.c: Likewise.
8160 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8161 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8162 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8163 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8164 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8165 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8166 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8167 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8168 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8169 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8170 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8171 * sysdeps/pthread/lio_listio.c: Likewise.
8172 * sysdeps/sparc/dl-procinfo.h: Likewise.
8173 * sysdeps/unix/i386/sysdep.S: Likewise.
8174 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8175 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8176 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8177 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8179 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8180 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8181 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8182 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8183 * sysdeps/wordsize-32/divdi3.c: Likewise.
8184 * time/sys/time.h: Likewise.
8185 * wcsmbs/Makefile: Likewise.
8186
81872013-01-01 David S. Miller <davem@davemloft.net>
8188
8189 * po/fr.po: Update from translation team.
8190
8191 * catgets/gencat.c: Update copyright year.
8192 * csu/version.c: Likewise.
8193 * debug/catchsegv.sh: Likewise.
8194 * debug/pcprofiledump.c: Likewise.
8195 * debug/xtrace.sh: Likewise.
8196 * elf/ldconfig.c: Likewise.
8197 * elf/ldd.bash.in: Likewise.
8198 * elf/pldd.c: Likewise.
8199 * elf/sotruss.ksh: Likewise.
8200 * elf/sprof.c: Likewise.
8201 * iconv/iconv_prog.c: Likewise.
8202 * iconv/iconvconfig.c: Likewise.
8203 * locale/programs/locale.c: Likewise.
8204 * locale/programs/localedef.c: Likewise.
8205 * login/programs/pt_chown.c: Likewise.
8206 * malloc/memusage.sh: Likewise.
8207 * malloc/memusagestat.c: Likewise.
8208 * malloc/mtrace.pl: Likewise.
8209 * nscd/nscd.c: Likewise.
8210 * nss/getent.c: Likewise.
8211 * nss/makedb.c: Likewise.
8212 * posix/getconf.c: Likewise.
8213
82142012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8215
8216 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8217 numbers.
8218
82192012-12-30 Mike Frysinger <vapier@gentoo.org>
8220
8221 * math/bits/mathcalls.h (modf): Use __nonnull.
8222
82232012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8224
8225 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8226 (split): Use macro CN instead of the bare value.
8227 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8228 could be used.
8229 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8230 instead of the bare value.
8231 (power1): Likewise.
8232
82332012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8234
8235 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8236 __ATAN_TWOM.
8237 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8238
8239 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8240 their values.
8241 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8242 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8243 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8244 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8245
82462012-12-28 Andreas Jaeger <aj@suse.de>
8247
8248 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8249 values are from Linux 3.7.
8250
8251 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8252 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8253
82542012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8255
8256 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
8257 TRUE case.
8258
8259 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8260 (norm): Likewise.
8261 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8262 variables with preprocessor constants.
8263 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8264 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8265 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8266
82672012-12-27 Bruno Haible <bruno@clisp.org>
8268
8269 [BZ #14317]
8270 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8271 only if needed.
8272
82732012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8274
8275 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8276 and use variable directly.
8277 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8278
8279 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8280 MPONE.
8281 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8282 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8283 variable MPONE.
8284 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8285 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8286 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8287 include directive. Remove local variable MPONE.
8288 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8289 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8290 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8291
82922012-12-25 David S. Miller <davem@davemloft.net>
8293
8294 * version.h (RELEASE): Set to "development".
8295 (VERSION): Set to "2.17.90".
8296 * NEWS: Add 2.18 section.
8297
82982012-12-21 David S. Miller <davem@davemloft.net>
8299
8300 * po/hr.po: Update from translation team.
8301
83022012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8303
8304 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8305
83062012-12-19 Steve Ellcey <sellcey@mips.com>
8307
8308 * NEWS: Mention new memcpy for MIPS.
8309
83102012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8311
8312 * manual/contrib.texi (Contributors): Spelling correction.
8313
83142012-12-15 David S. Miller <davem@davemloft.net>
8315
8316 * po/ru.po: Update from translation team.
8317
83182012-12-13 David S. Miller <davem@davemloft.net>
8319
8320 * NEWS: Mention IFUNC testsuite enhancements.
8321
8322 * po/pl.po: Update from translation team.
8323 * po/bg.po: Likewise.
8324
8325 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8326 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8327
83282012-12-11 David S. Miller <davem@davemloft.net>
8329
8330 * po/sv.po: Update from translation team.
8331
8332 * po/vi.po: Update from translation team.
8333
8334 * po/cs.po: Update from translation team.
8335
8336 * po/de.po: Update from translation team.
8337 * po/eo.po: Likewise.
8338 * po/nl.po: Likewise.
8339
83402012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8341
8342 [BZ #14246]
8343 * manual/argp.texi (Argp Helper Functions): Move node to follow
8344 Argp Parsing State.
8345
8346 [BZ #14872]
8347 * manual/conf.texi (Limits on File System Capacity): Mention if
8348 terminating null is included in the max size.
8349
83502012-12-10 Andreas Jaeger <aj@suse.de>
8351
8352 * po/cs.po: Update from translation team.
8353
83542012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8355
8356 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8357 void pointer and cast to uintptr_t.
8358 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8359 path.
8360 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8361 * sysdeps/s390/s390-64/memset.S: Likewise.
8362
83632012-12-08 Benno Schulenberg <bensberg@justemail.net>
8364
8365 [BZ #14833]
8366 * menual/message.texi (Message Translation): Fix typos.
8367 (Helper programs for gettext): Likewise.
8368
83692012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8370
8371 [BZ #14898]
8372 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8373 Change to -1.
8374
83752012-12-07 David S. Miller <davem@davemloft.net>
8376
8377 * po/libc.pot: Update.
8378
83792012-12-07 Richard Henderson <rth@redhat.com>
8380
8381 [BZ #10114]
8382 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8383 normal/normal case to before the switch.
8384 (_FP_DIV): Likewise.
8385
83862012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8387 Mike Frysinger <vapier@gentoo.org>
8388
8389 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8390 check for __NR_fadvise64_64.
8391
83922012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8393
8394 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8395 0, not just to plain "0" as a statement.
8396 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8397 with cw.
8398
83992012-12-06 Joseph Myers <joseph@codesourcery.com>
8400
8401 * NEWS: Use sourceware.org in Bugzilla URL.
8402
84032012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8404
8405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8406 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8407
8408 * stdio-common/tst-put-error.c (do_test): Add newline to the
8409 padded test to ensure flush.
8410
84112012-12-05 Jeff Law <law@redhat.com>
8412
8413 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8414
84152012-12-05 Joseph Myers <joseph@codesourcery.com>
8416
8417 * README: Don't refer to ports add-on as distributed separately.
8418 Mention AArch64 in list of systems supported in the ports add-on.
8419
8420 * LICENSES: Add more non-FSF copyright and license notices.
8421
8422 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8423 ((unused)).
8424
8425 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8426
8427 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8428 10000 as width of padded output.
8429
84302012-12-04 Joseph Myers <joseph@codesourcery.com>
8431
8432 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8433
8434 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8435 variable LX with __attribute__ ((unused)).
8436 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8437 Likewise.
8438 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8439 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8440 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8441 with __attribute__ ((unused)).
8442
84432012-12-04 David S. Miller <davem@abraco.davemloft.net>
8444
8445 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8446
84472012-12-04 Joseph Myers <joseph@codesourcery.com>
8448
8449 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8450 (CFLAGS-nldbl-acos.c): New variable.
8451 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8452 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8453 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8454 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8455 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8456 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8457 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8458 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8459 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8460 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8461 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8462 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8463 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8464 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8465 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8466 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8467 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8468 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8469 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8470 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8471 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8472 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8473 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8474 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8475 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8476 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8477 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8478 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8479 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8480 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8481 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8482 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8483 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8484 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8485 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8486 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8487 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8488 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8489 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8490 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8491 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8492 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8493 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8494 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8495 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8496 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8497 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8498 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8499 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8500 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8501 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8502 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8503 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8504 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8505 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8506 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8507 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8508 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8509 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8510 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8511 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8512 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8513 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8514 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8515 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8516 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8517 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8518 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8519 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8520 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8521 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8522 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8523 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8524 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8525 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8526 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8527 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8528 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8529 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8530 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8531 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8532 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8533 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8534 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8535 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8536 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8537 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8538 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8539 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8540 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8541 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8542 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8543 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8544 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8545 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8546 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8547 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8548
8549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8550 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8551
8552 [BZ #14914]
8553 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8554 whole low double instead of just low 47 bits when splitting values
8555 into two parts.
8556
85572012-12-03 Allan McRae <allan@archlinux.org>
8558
8559 * manual/stdio.texi (Predefined Printf Handlers): Remove
8560 @hsep and @vsep usage.
8561
85622012-12-03 Mike Frysinger <vapier@gentoo.org>
8563
8564 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8565 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8566
85672012-12-03 Jeff Law <law@redhat.com>
8568
8569 * time/sys/time.h (settimeofday): Do not mark TV argument
8570 as __nonnull.
8571
85722012-12-01 Mike Frysinger <vapier@gentoo.org>
8573
8574 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8575 when currently writing and seek to current position when not.
8576 * libio/Makefile (tests): Remove bug-fclose1.
8577 * libio/bug-fclose1.c: Delete.
8578
85792012-12-01 Joseph Myers <joseph@codesourcery.com>
8580
8581 * manual/arith.texi (feenableexcept): Fix typo.
8582 (fedisableexcept): Likewise.
8583
85842012-11-30 Roland McGrath <roland@hack.frob.com>
8585
8586 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8587 second, differently-typed declaration, rather than a cast.
8588
85892012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8590
8591 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8592 * include/rpc/svc.h: ... here.
8593
85942012-11-30 Aurelien Jarno <aurel32@debian.org>
8595
8596 [BZ #13013]
8597 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8598 depending n and resplen2 to catch cases where answer
8599 equals answerp2.
8600
86012012-11-29 Carlos O'Donell <carlos@systemhalted.org>
8602
8603 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8604 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8605
86062012-11-29 Mike Frysinger <vapier@gentoo.org>
8607
8608 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8609
86102012-11-29 Roland McGrath <roland@hack.frob.com>
8611
8612 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8613
86142012-11-28 Jeff Law <law@redhat.com>
8615
8616 [BZ #13761]
8617 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8618 dataset_temporary. Track alloca usage into alloca_used.
8619 If dataset is large allocate and release it via malloc/free.
8620
86212012-06-04 Florian Weimer <fweimer@redhat.com>
8622
8623 [BZ #14197]
8624 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8625
86262012-11-28 David S. Miller <davem@davemloft.net>
8627
8628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8629
86302012-11-28 Joseph Myers <joseph@codesourcery.com>
8631
8632 [BZ #14803]
8633 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8634 of pi/2 rounded to nearest to 64 bits.
8635 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8636 nearest to 64 bits.
8637 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8638 bits.
8639
86402012-11-28 Jeff Law <law@redhat.com>
8641 Martin Osvald <mosvald@redhat.com>
8642
8643 [BZ #14889]
8644 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8645 * sunrpc/svc.c: Include time.h.
8646 (__svc_accept_failed): New function.
8647 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8648 any reason other than EINTR, call __svc_accept_failed.
8649 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8650 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8651
86522012-11-28 Andreas Schwab <schwab@suse.de>
8653
8654 * scripts/abilist.awk: Also handle indirect functions in .opd
8655 section.
8656
86572012-11-28 Joseph Myers <joseph@codesourcery.com>
8658
8659 [BZ #13881]
8660 * sysdeps/x86/fpu/powl_helper.c: New file.
8661 * sysdeps/x86/fpu/Makefile: Likewise.
8662 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8663 (p3): New object.
8664 (__ieee754_powl): Use __powl_helper for finite arguments except
8665 integer exponents below 8.
8666 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8667 (p3): New object.
8668 (__ieee754_powl): Use __powl_helper for finite arguments except
8669 integer exponents below 8.
8670 * math/libm-test.inc (pow_test): Add more tests and enable some
8671 previously disabled tests.
8672 * sysdeps/i386/fpu/libm-test-ulps: Update.
8673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8674
86752012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8676 Carlos O'Donell <carlos_odonell@mentor.com>
8677
8678 * nss/makedb.c (is_prime): Assert that input is odd and greater
8679 than 4. Note that fact in a comment too.
8680 (next_prime): Add 4 to input.
8681
86822012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8683
8684 [BZ #11741]
8685 * libio/Makefile (tests): Add test case tst-fwrite-error.
8686 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8687 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8688 * libio/tst-fwrite-error.c: New test case.
8689
86902012-11-26 H.J. Lu <hongjiu.lu@intel.com>
8691
8692 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8693 before casting to void *.
8694 * include/libc-internal.h (__pointer_type): New macro.
8695 (__integer_if_pointer_type_sub): Likewise.
8696 (__integer_if_pointer_type): Likewise.
8697 (cast_to_integer): Likewise.
8698 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8699 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8700 before casting to atomic64_t.
8701 (atomic_exchange_acq): Likewise.
8702 (__arch_exchange_and_add_body): Likewise.
8703 (__arch_add_body): Likewise.
8704 (atomic_add_negative): Likewise.
8705 (atomic_add_zero): Likewise.
8706
87072012-11-26 Joseph Myers <joseph@codesourcery.com>
8708
8709 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8710 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8711 (add_fdes): Likewise.
8712 (linear_search_fdes): Likewise.
8713 (binary_search_unencoded_fdes): Likewise.
8714
87152012-11-26 Andreas Schwab <schwab@linux-m68k.org>
8716
8717 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8718
87192012-11-24 Adam Conrad <adconrad@0c3.net>
8720
8721 * configure.in: Autodetect C++ header directories.
8722 * configure: Regenerated.
8723
87242012-11-23 Mike Frysinger <vapier@gentoo.org>
8725
8726 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8727
87282012-11-23 Andreas Schwab <schwab@linux-m68k.org>
8729
8730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8731
87322012-11-22 Joseph Myers <joseph@codesourcery.com>
8733
8734 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8735 LDBL_MANT_DIG == 106]: Disable some tests.
8736 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8737 Likewise.
8738 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8739 Likewise.
8740
8741 [BZ #14871]
8742 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8743 input for small inputs. Return +/- pi/2 for large inputs.
8744 * math/libm-test.inc (atan_test): Add more tests.
8745
8746 * sysdeps/generic/unwind-dw2-fde-glibc.c
8747 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8748 __attribute__ ((unused)).
8749
8750 [BZ #14645]
8751 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8752 x * y if x and y are nonzero and z is zero.
8753
8754 [BZ #14811]
8755 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8756 nonzero exponents with absolute value below 0x1p-117 to +/-
8757 0x1p-117.
8758
8759 [BZ #14869]
8760 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8761 up arguments below 2**-450, not just those below 2**-500.
8762 * math/libm-test.inc (hypot_test): Add another test.
8763
8764 [BZ #14868]
8765 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8766 Return a+b for ratio over 2**120, not 2**60.
8767 * math/libm-test.inc (hypot_test): Add another test.
8768
8769 * math/libm-test.inc (clog_test): Use
8770 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8771 (clog10_test): Likewise.
8772
8773 [BZ #6778]
8774 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8775
87762012-11-22 Andreas Schwab <schwab@suse.de>
8777
8778 * sysdeps/i386/fpu/libm-test-ulps: Update.
8779
87802012-11-22 Pino Toscano <toscano.pino@tiscali.it>
8781
8782 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8783 printf output with newline.
8784
87852012-11-21 H.J. Lu <hongjiu.lu@intel.com>
8786
8787 [BZ #14865]
8788 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8789 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8790 -z nodlopen, -z initfirst and -z execstack support.
8791 * configure: Regenerated.
8792
8793 * elf/elf.h (DF_1_NODIRECT): New macro.
8794 (DF_1_IGNMULDEF): Likewise.
8795 (DF_1_NOKSYMS): Likewise.
8796 (DF_1_NOHDR): Likewise.
8797 (DF_1_EDITED): Likewise.
8798 (DF_1_NORELOC): Likewise.
8799 (DF_1_SYMINTPOSE): Likewise.
8800 (DF_1_GLOBAUDIT): Likewise.
8801 (DF_1_SINGLETON): Likewise.
8802 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8803 DT_1_SUPPORTED_MASK bits.
8804 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8805
88062012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
8807
8808 * sysdeps/unix/make-syscalls.sh: Document prefixes.
8809
88102012-11-20 Thomas Schwinge <thomas@codesourcery.com>
8811
8812 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8813 macro.
8814
8815 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8816 (sendmmsg): Move declarations...
8817 * socket/sys/socket.h: ... here.
8818 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8819 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
8820 include it from...
8821 * socket/recvmmsg.c: ... this new file.
8822 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
8823 (sendmmsg): Rename to __sendmmsg, create weak alias and make
8824 definition of __sendmmsg hidden.
8825 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8826 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
8827 Move ENOSYS stub into and include it from...
8828 * socket/sendmmsg.c: ... this new file.
8829 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
8830 (sysdep_routines): Move recvmmsg and sendmmsg...
8831 * socket/Makefile (routines): ... here.
8832 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
8833 (GLIBC_PRIVATE): Add __sendmmsg.
8834 * include/sys/socket.h (__sendmmsg): Add declarations.
8835 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
8836 sendmmsg.
8837
88382012-11-20 Joseph Myers <joseph@codesourcery.com>
8839
8840 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
8841 variable I1 with __attribute__ ((unused)).
8842 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8843
88442012-11-19 Joseph Myers <joseph@codesourcery.com>
8845
8846 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
8847 DUMMY variables with __attribute__ ((unused)).
8848
8849 * bits/byteswap.h: Include <bits/types.h>.
8850 (__bswap_64): Use __uint64_t instead of unsigned long long int.
8851
88522012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8853
8854 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
8855 string_t. Do not manually set errno.
8856 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
8857 length with __strnlen. Make sure to both set errno and return it on
8858 failure.
8859
88602012-11-19 David S. Miller <davem@davemloft.net>
8861
8862 With help from Joseph Myers.
8863 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
8864 very large arguments properly.
8865 * math/libm-test.inc (atan_test): New tests.
8866 (atan2_test): New tests.
8867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8868 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8869
88702012-11-19 Joseph Myers <joseph@codesourcery.com>
8871
8872 [BZ #14856]
8873 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
8874 Define to 3.
8875
8876 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
8877 [POSIX] (EADDRNOTAVAIL): Likewise.
8878 [POSIX] (EAFNOSUPPORT): Likewise.
8879 [POSIX] (EALREADY): Likewise.
8880 [POSIX] (ECONNABORTED): Likewise.
8881 [POSIX] (ECONNREFUSED): Likewise.
8882 [POSIX] (ECONNRESET): Likewise.
8883 [POSIX] (EDESTADDRREQ): Likewise.
8884 [POSIX] (EDQUOT): Likewise.
8885 [POSIX] (EHOSTUNREACH): Likewise.
8886 [POSIX] (EIDRM): Likewise.
8887 [POSIX] (EISCONN): Likewise.
8888 [POSIX] (ELOOP): Likewise.
8889 [POSIX] (EMULTIHOP): Likewise.
8890 [POSIX] (ENETDOWN): Likewise.
8891 [POSIX] (ENETUNREACH): Likewise.
8892 [POSIX] (ENOBUFS): Likewise.
8893 [POSIX] (ENODATA): Likewise.
8894 [POSIX] (ENOLINK): Likewise.
8895 [POSIX] (ENOMSG): Likewise.
8896 [POSIX] (ENOPROTOOPT): Likewise.
8897 [POSIX] (ENOSR): Likewise.
8898 [POSIX] (ENOSTR): Likewise.
8899 [POSIX] (ENOTCONN): Likewise.
8900 [POSIX] (ENOTSOCK): Likewise.
8901 [POSIX] (EOPNOTSUPP): Likewise.
8902 [POSIX] (EOVERFLOW): Likewise.
8903 [POSIX] (EPROTO): Likewise.
8904 [POSIX] (EPROTONOSUPPORT): Likewise.
8905 [POSIX] (EPROTOTYPE): Likewise.
8906 [POSIX] (ESTALE): Likewise.
8907 [POSIX] (ETIME): Likewise.
8908 [POSIX] (ETXTBSY): Likewise.
8909 [POSIX] (EWOULDBLOCK): Likewise.
8910 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
8911 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
8912 [POSIX] (SEEK_CUR): Likewise.
8913 [POSIX] (SEEK_END): Likewise.
8914 [POSIX || UNIX98] (mode_t): Do not require.
8915 [POSIX] (off_t): Likewise.
8916 [POSIX] (pid_t): Likewise.
8917 [POSIX] (sys/stat.h): Do not allow header.
8918 [POSIX] (unistd.h): Likewise.
8919 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
8920 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
8921 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
8922 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
8923 require.
8924 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
8925 sigevent): Specify elements.
8926 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
8927 entry.
8928 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
8929 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
8930
8931 * conform/data/cpio.h-data [POSIX]: Disable whole file.
8932 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
8933 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
8934 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
8935 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
8936 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
8937 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
8938 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
8939 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
8940 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
8941 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
8942 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
8943 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
8944 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
8945 Likewise.
8946 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
8947 Likewise.
8948 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
8949 Likewise.
8950 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
8951 Likewise.
8952 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
8953 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
8954 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
8955 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
8956 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
8957 Specify lower bound on value.
8958 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
8959 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
8960 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
8961 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
8962 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
8963 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
8964 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
8965 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
8966 value.
8967 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
8968 as optional.
8969 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
8970 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
8971 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
8972 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
8973 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
8974 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
8975 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
8976 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
8977 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
8978 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
8979 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
8980 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
8981 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
8982 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
8983 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
8984 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
8985 entry.
8986 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
8987 optional.
8988 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
8989 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
8990 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
8991 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
8992 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
8993 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
8994 Likewise.
8995 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
8996 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
8997 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
8998 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
8999 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9000 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9001 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9002 as optional.
9003 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9004 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9005 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9006 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9007 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9008 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9009 specify as optional.
9010 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9011 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9012 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9013 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9014 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9015 [XPG3] (NL_LANGMAX): Likewise.
9016 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9017 [POSIX || XPG3] (NL_NMAX): Likewise.
9018 [POSIX || XPG3] (NL_SETMAX): Likewise.
9019 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9020 [XPG3] (NZERO): Likewise.
9021 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9022 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9023 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9024 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9025 (REG_ERANGE): Expect.
9026 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9027 optional-constant.
9028 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9029 Use (void) in prototype.
9030 [POSIX] (*_t): Allow.
9031 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9032 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9033 (WRDE_BADVAL): Expect.
9034
9035 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9036 expect.
9037 [XPG3 || XPG4] (O_RSYNC): Likewise.
9038 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9039 Likewise.
9040 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9041 [XPG3 || XPG4] (sigqueue): Likewise.
9042 [XPG3 || XPG4] (sigtimedwait): Likewise.
9043 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9044 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9045 [XPG3 || XPG4] (vsnprintf): Likewise.
9046 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9047 Likewise.
9048 [XPG3 || XPG4] (blksize_t): Likewise.
9049 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9050 Likewise.
9051 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9052 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9053 [XPG3 || XPG4] (struct itimerspec): Likewise.
9054 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9055 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9056 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9057 [XPG3 || XPG4] (clockid_t): Likewise.
9058 [XPG3 || XPG4] (timer_t): Likewise.
9059 [XPG3 || XPG4] (clock_getres): Likewise.
9060 [XPG3 || XPG4] (clock_gettime): Likewise.
9061 [XPG3 || XPG4] (clock_settime): Likewise.
9062 [XPG3 || XPG4] (nanosleep): Likewise.
9063 [XPG3 || XPG4] (timer_create): Likewise.
9064 [XPG3 || XPG4] (timer_delete): Likewise.
9065 [XPG3 || XPG4] (timer_gettime): Likewise.
9066 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9067 [XPG3 || XPG4] (timer_settime): Likewise.
9068 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9069 [XPG3 || XPG4] (getlogin_r): Likewise.
9070 [XPG3 || XPG4] (pread): Likewise.
9071 [XPG3 || XPG4] (pthread_atfork): Likewise.
9072 [XPG3 || XPG4] (pwrite): Likewise.
9073
9074 [BZ #14835]
9075 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9076 <bits/siginfo.h>.
9077
90782012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9079
9080 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9081 finalizing MALLSTREAM.
9082
9083 * sysdeps/mach/hurd/syncfs.c: New file.
9084
90852012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9086
9087 [BZ #14719]
9088 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9089 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9090 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9091 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9092 (_nss_dns_gethostbyname4_r): Likewise.
9093 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9094 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9095
90962012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9097
9098 [BZ #13763]
9099 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9100
91012012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9102
9103 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9104 * elf/cache.c (print_entry): Print ",AArch64" for
9105 FLAG_AARCH64_LIB64
9106
9107 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9108 * elf/cache.c (print_entry): Print ",hard-float" for
9109 FLAG_ARM_LIBHF.
9110
91112012-11-18 David S. Miller <davem@davemloft.net>
9112
9113 With help from Joseph Myers.
9114 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9115 cutoff to 2**-13.
9116 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9117 cutoff to 2**-25.
9118 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9119 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9120 small.
9121 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9122 * math/libm-test.inc (y0_test): New tests.
9123 (y1_test): New tests.
9124 * sysdeps/i386/fpu/libm-test-ulps: Update.
9125 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9127
91282012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9129
9130 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9131 64-bit targets.
9132 * configure: Regenerated.
9133
91342012-11-17 David S. Miller <davem@davemloft.net>
9135
9136 [BZ #14811]
9137 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9138 nonzero exponents with absolute value below 0x1p-128 to +/-
9139 0x1p-128.
9140
91412012-11-17 Joseph Myers <joseph@codesourcery.com>
9142
9143 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9144
9145 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9146
9147 * posix/getconf-speclist.c: New file.
9148 * posix/posix-envs.def: Likewise.
9149 * posix/confstr.c (START_ENV_GROUP): New macro.
9150 (END_ENV_GROUP): Likewise.
9151 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9152 (KNOWN_PRESENT_ENV_STRING): Likewise.
9153 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9154 (UNKNOWN_ENVIRONMENT): Likewise.
9155 (confstr): Include posix-envs.def instead of handling
9156 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9157 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9158 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9159 (END_ENV_GROUP): Likewise.
9160 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9161 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9162 (UNKNOWN_ENVIRONMENT): Likewise.
9163 (__sysconf): Include posix-envs.def instead of handling associated
9164 cases directly here.
9165 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9166 preprocessing getconf-speclist.c rather than running getconf or
9167 generating empty file.
9168
91692012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9170
9171 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9172
91732012-11-16 Andrej Lajovic <natrij@gmail.com>
9174
9175 [BZ #14672]
9176 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9177
91782012-11-16 David S. Miller <davem@davemloft.net>
9179
9180 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9181 smaller than LDBL_EPSILON/2.0L, just return xm1.
9182
91832012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9184
9185 * elf/tst-array1.c (init): Set constructor priority to 1000.
9186 (fini): Set destructor priority to 1000.
9187 * elf/tst-array2dep.c: Likewise.
9188
91892012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9190
9191 [BZ #11741]
9192 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9193 (_IO_new_file_xsputn): Also return EOF if none of the input
9194 data was written when overflow failed.
9195 * libio/iopadn.c (_IO_padn): Likewise.
9196 * libio/iowpadn.c (_IO_wpadn): Likewise.
9197 * stdio-common/tst-put-error.c: Add copyright notice.
9198 (do_test): Add case for printing padded string.
9199 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9200 _IO_padn returned error.
9201 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9202 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9203 return EOF.
9204
92052012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9206
9207 * libio/libioP.h: Add comment note that the references to C++
9208 bits are now obsolete.
9209
92102012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9211
9212 * math/libm-test.inc (check_complex): Use asprintf.
9213
92142012-11-14 Joseph Myers <joseph@codesourcery.com>
9215
9216 * debug/pcprofiledump.c (print_version): Update copyright year.
9217 * malloc/memusagestat.c (print_version): Likewise.
9218
92192012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9220
9221 [BZ #14831]
9222 * elf/Makefile (tests): Add tst-audit8.
9223 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9224 ($(objpfx)tst-audit8.out): New target.
9225 (tst-audit8-ENV): New variable.
9226 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9227 audit if l_reloc_result is NULL.
9228 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9229 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9230 * elf/tst-audit8.c: New file.
9231
92322012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9233
9234 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9235 * misc/Makefile (CFLAGS-select.c): Define.
9236 * posix/Makefile (CFLAGS-pause.c): Define.
9237
92382012-11-13 David S. Miller <davem@davemloft.net>
9239
9240 * crypt/Makefile: Move test targets after toplevel Rules
9241 inclusion. Grab any necessary sysdep routines when linking.
9242 * crypt/md5.c (md5_process_block): Remove define, we will always
9243 name it __md5_process_block.
9244 (md5_finish_ctx): Update md5_process_block call.
9245 (md5_stream): Likewise.
9246 (md5_process_bytes): Likewise.
9247 (md5_process_block): Rename to __md5_process_block and move to ...
9248 * crypt/md5-block.c: ... here.
9249 * crypt/sha256.c (sha256_process_block): Move to ...
9250 * crypt/sha256-block.c: ... here.
9251 * crypt/sha512.c (sha512_process_block): Move to ...
9252 * crypt/sha512-block.c: ... here.
9253 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9254 path.
9255 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9256 * sysdeps/sparc/sparc64/multiarch/Makefile
9257 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9258 crypt subdir.
9259 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9260 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9261 multiarch changes.
9262 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9263 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9264 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9265 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9266 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9267 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9268 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9269 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9270 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9271 file.
9272 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9273 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9274 file.
9275 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9276
92772012-11-13 Joseph Myers <joseph@codesourcery.com>
9278
9279 * timezone/tzselect.ksh: Update from tzcode git revision
9280 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9281 * timezone/zdump.c: Likewise.
9282 * timezone/zic.c: Likewise.
9283 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9284 in TZVERSION setting, not $(PKGVERSION).
9285 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9286 REPORT_BUGS_TO settings.
9287
9288 [BZ #14838]
9289 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9290 macro.
9291
92922012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9293
9294 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9295 detection to immediately after _FP_ROUND().
9296 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9297 bits are 0.
9298
92992012-11-11 David S. Miller <davem@davemloft.net>
9300
9301 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9302 inttypes.h
9303 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9304 __close rather than their public counterparts.
9305
93062012-11-10 Joseph Myers <joseph@codesourcery.com>
9307
9308 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9309 file.
9310 [UNIX98] (sem_timedwait): Do not expect.
9311 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9312 [XPG4 || UNIX98] (sockatmark): Do not expect.
9313 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9314 (clock_getcpuclockid): Do not expect.
9315 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9316 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9317 Do not expect.
9318 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9319 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9320 [UNIX98] (vwscanf): Likewise.
9321 [UNIX98] (vswscanf): Likewise.
9322
93232012-11-09 Joseph Myers <joseph@codesourcery.com>
9324
9325 * timezone/version.h: Remove file.
9326 * timezone/README: Do not refer to version.h.
9327 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9328 $(objpfx)version.h.
9329 ($(objpfx)zdump.o): Likewise.
9330 ($(objpfx)version.h): New target.
9331
9332 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9333 2012i.
9334 * timezone/README: Don't mention modification to tzselect.ksh.
9335 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9336 work on unmodified tzselect.ksh. Substitute version numbers in
9337 tzselect.ksh.
9338
9339 * Makefile (format-me): Remove.
9340 (INSTALL): Adjust indentation. Use commands directly instead of
9341 using $(format-me).
9342
9343 * aclocal.m4 (ACX_PKGVERSION): New macro.
9344 (ACX_BUGURL): Likewise.
9345 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9346 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9347 (REPORT_BUGS_TO): Likewise.
9348 * configure: Regenerated.
9349 * config.h.in (PKGVERSION): New macro.
9350 (REPORT_BUGS_TO): Likewise.
9351 * config.make.in (PKGVERSION): New variable.
9352 (PKGVERSION_TEXI): Likewise.
9353 (REPORT_BUGS_TO): Likewise.
9354 (REPORT_BUGS_TEXI): Likewise.
9355 * Makefile (format-me): Use -I$(common-objpfx)manual.
9356 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9357 ($(common-objpfx)manual/%): New target.
9358 (manual/%): Remove target.
9359 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9360 (print_version): Use PKGVERSION.
9361 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9362 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9363 and REPORT_BUGS_TO.
9364 ($(objpfx)xtrace): Likewise.
9365 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9366 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9367 (print_version): Use PKGVERSION.
9368 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9369 (do_version): Use PKGVERSION.
9370 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9371 REPORT_BUGS_TO.
9372 (common-ldd-rewrite): Likewise.
9373 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9374 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9375 (print_version): Use PKGVERSION.
9376 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9377 * elf/pldd.c (argp_program_bug_address): Remove variable.
9378 (more_help): New function.
9379 (argp): Use more_help.
9380 (print_version): Use PKGVERSION.
9381 * elf/sln.c (main): Use PKGVERSION.
9382 (usage): Use REPORT_BUGS_TO.
9383 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9384 (top level): Use PKGVERSION.
9385 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9386 (print_version): Use PKGVERSION.
9387 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9388 (print_version): Use PKGVERSION.
9389 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9390 (print_version): Use PKGVERSION.
9391 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9392 (print_version): Use PKGVERSION.
9393 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9394 (print_version): Use PKGVERSION.
9395 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9396 (print_version): Use PKGVERSION.
9397 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9398 and BUGURL.
9399 ($(objpfx)memusage): Likewise.
9400 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9401 (do_version): Use PKGVERSION.
9402 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9403 (print_version): Use PKGVERSION.
9404 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9405 ($PKGVERSION): New variable.
9406 ($REPORT_BUGS_TO): Likewise.
9407 (usage): Use $REPORT_BUGS_TO.
9408 (top level): Use $PKGVERSION.
9409 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9410 ($(objpfx)pkgvers.texi): New rule.
9411 ($(objpfx)stamp-pkgvers): Likewise.
9412 * manual/install.texi: Include pkgvers.texi.
9413 (--with-pkgversion): Document new configure option.
9414 (--with-bugurl): Likewise.
9415 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9416 than necessarily for this particular distribution. Use
9417 REPORT_BUGS_TO for where to report bugs.
9418 * INSTALL: Regenerated.
9419 * manual/libc.texinfo: Include pkgvers.texi.
9420 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9421 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9422 (print_version): Use PKGVERSION.
9423 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9424 (print_version): Use PKGVERSION.
9425 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9426 (print_version): Use PKGVERSION.
9427 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9428 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9429 macro.
9430 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9431 (print_version): Use PKGVERSION.
9432 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9433 (print_version): Use PKGVERSION.
9434 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9435 and PKGVERSION.
9436
9437 * timezone/checktab.awk: Update from tzcode 2012i.
9438 * timezone/ialloc.c: Likewise.
9439 * timezone/private.h: Likewise.
9440 * timezone/scheck.c: Likewise.
9441 * timezone/tzfile.h: Likewise.
9442 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9443 (TZVERSION): Hardcode tzcode version number.
9444 * timezone/zdump.c: Update from tzcode 2012i.
9445 * timezone/zic.c: Likewise.
9446 * timezone/version.h: New file.
9447 * timezone/README: Describe version.h. Update upstream location.
9448
9449 [BZ #14824]
9450 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9451 (mktemp): Enable declaration.
9452 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9453 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9454 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9455 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9456 Likewise.
9457 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9458 Likewise.
9459 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9460 Likewise.
9461 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9462 Likewise.
9463 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9464 Likewise.
9465 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9466 Likewise.
9467
9468 [BZ #14821]
9469 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9470 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9471 for copies of such integer values.
9472 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9473 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9474
94752012-11-09 Andreas Jaeger <aj@suse.de>
9476
9477 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9478 definitions and declarations that are provided by
9479 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9480
94812012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9482
9483 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
9484 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9485 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9486 definition.
9487
94882012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9489
9490 * elf/elf.h: Update comment before AArch64 relocations.
9491
94922012-11-07 David S. Miller <davem@davemloft.net>
9493
9494 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9495 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9496 (__start_context): Declare.
9497 (__makecontext_ret): Delete.
9498 (__makecontext): Hook up __start_context instead of
9499 __makecontext_ret.
9500 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9501 (sysdep_routines): Add __start_context when in stdlib.
9502
95032012-11-07 Joseph Myers <joseph@codesourcery.com>
9504
9505 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9506 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9507 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9508 hardcoded "nm".
9509 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9510 (READELF): New variable. Use it instead of hardcoded "readelf".
9511
95122012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9513
9514 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9515 * sysdeps/x86/Makefile: Here.
9516 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9517 * sysdeps/x86/tst-xmmymm.sh: This.
9518
95192012-11-07 Joseph Myers <joseph@codesourcery.com>
9520
9521 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9522 expectations.
9523 [UNIX98] (pthread_barrier_t): Do not expect.
9524 [UNIX98] (pthread_barrierattr_t): Likewise.
9525 [UNIX98] (pthread_spinlock_t): Likewise.
9526 [UNIX98] (pthread_barrier_destroy): Likewise.
9527 [UNIX98] (pthread_barrier_init): Likewise.
9528 [UNIX98] (pthread_barrier_wait): Likewise.
9529 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9530 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9531 [UNIX98] (pthread_barrierattr_init): Likewise.
9532 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9533 [UNIX98] (pthread_getcpuclockid): Likewise.
9534 [UNIX98] (pthread_mutex_timedlock): Likewise.
9535 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9536 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9537 [UNIX98] (pthread_sigmask): Likewise.
9538 [UNIX98] (pthread_spin_destroy): Likewise.
9539 [UNIX98] (pthread_spin_init): Likewise.
9540 [UNIX98] (pthread_spin_lock): Likewise.
9541 [UNIX98] (pthread_spin_trylock): Likewise.
9542 [UNIX98] (pthread_spin_unlock): Likewise.
9543 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9544 Do not expect.
9545 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9546 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9547 [XPG3 || XPG4] (pthread_cond_t): Likewise.
9548 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9549 [XPG3 || XPG4] (pthread_key_t): Likewise.
9550 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9551 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9552 [XPG3 || XPG4] (pthread_once_t): Likewise.
9553 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9554 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9555 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9556 [XPG3 || XPG4] (pthread_t): Likewise.
9557
9558 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9559 not expect.
9560 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9561
9562 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9563 Change function return type to int.
9564
9565 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9566 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9567 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9568 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9569 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9570 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9571 [!POSIX] (posix_madvise): Likewise.
9572 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9573 && !UNIX98].
9574 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9575 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9576 (mode_t): Likewise.
9577 (posix_mem_offset): Likewise.
9578 (posix_typed_mem_get_info): Likewise.
9579 (posix_typed_mem_open): Likewise.
9580
9581 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9582 Change condition to [XOPEN2K8].
9583
9584 * conform/conformtest.pl: Preprocess allow-header data with -x c
9585 instead of from stdin.
9586 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9587 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9588 [C99-based standards] (cerfc): Likewise.
9589 [C99-based standards] (cexp2): Likewise.
9590 [C99-based standards] (cexpm1): Likewise.
9591 [C99-based standards] (clog10): Likewise.
9592 [C99-based standards] (clog1p): Likewise.
9593 [C99-based standards] (clog2): Likewise.
9594 [C99-based standards] (clgamma): Likewise.
9595 [C99-based standards] (ctgamma): Likewise.
9596 [C99-based standards] (cerff): Likewise.
9597 [C99-based standards] (cerfcf): Likewise.
9598 [C99-based standards] (cexp2f): Likewise.
9599 [C99-based standards] (cexpm1f): Likewise.
9600 [C99-based standards] (clog10f): Likewise.
9601 [C99-based standards] (clog1pf): Likewise.
9602 [C99-based standards] (clog2f): Likewise.
9603 [C99-based standards] (clgammaf): Likewise.
9604 [C99-based standards] (ctgammaf): Likewise.
9605 [C99-based standards] (cerfl): Likewise.
9606 [C99-based standards] (cerfcl): Likewise.
9607 [C99-based standards] (cexp2l): Likewise.
9608 [C99-based standards] (cexpm1l): Likewise.
9609 [C99-based standards] (clog10l): Likewise.
9610 [C99-based standards] (clog1pl): Likewise.
9611 [C99-based standards] (clog2l): Likewise.
9612 [C99-based standards] (clgammal): Likewise.
9613 [C99-based standards] (ctgammal): Likewise.
9614 * conform/data/inttypes.h-data [C99-based standards]: Include
9615 stdint.h-data. Remove all expectations for stdint.h contents.
9616 [C99-based standards] (PRI*): Do not allow.
9617 [C99-based standards] (SCN*): Likewise.
9618 [C99-based standards] (*_t): Likewise.
9619 [C99-based-standards] (PRId8): Expect macro.
9620 [C99-based-standards] (PRIi8): Likewise.
9621 [C99-based-standards] (PRIo8): Likewise.
9622 [C99-based-standards] (PRIu8): Likewise.
9623 [C99-based-standards] (PRIx8): Likewise.
9624 [C99-based-standards] (PRIX8): Likewise.
9625 [C99-based-standards] (SCNd8): Likewise.
9626 [C99-based-standards] (SCNi8): Likewise.
9627 [C99-based-standards] (SCNo8): Likewise.
9628 [C99-based-standards] (SCNu8): Likewise.
9629 [C99-based-standards] (SCNx8): Likewise.
9630 [C99-based-standards] (PRIdLEAST8): Likewise.
9631 [C99-based-standards] (PRIiLEAST8): Likewise.
9632 [C99-based-standards] (PRIoLEAST8): Likewise.
9633 [C99-based-standards] (PRIuLEAST8): Likewise.
9634 [C99-based-standards] (PRIxLEAST8): Likewise.
9635 [C99-based-standards] (PRIXLEAST8): Likewise.
9636 [C99-based-standards] (SCNdLEAST8): Likewise.
9637 [C99-based-standards] (SCNiLEAST8): Likewise.
9638 [C99-based-standards] (SCNoLEAST8): Likewise.
9639 [C99-based-standards] (SCNuLEAST8): Likewise.
9640 [C99-based-standards] (SCNxLEAST8): Likewise.
9641 [C99-based-standards] (PRIdFAST8): Likewise.
9642 [C99-based-standards] (PRIiFAST8): Likewise.
9643 [C99-based-standards] (PRIoFAST8): Likewise.
9644 [C99-based-standards] (PRIuFAST8): Likewise.
9645 [C99-based-standards] (PRIxFAST8): Likewise.
9646 [C99-based-standards] (PRIXFAST8): Likewise.
9647 [C99-based-standards] (SCNdFAST8): Likewise.
9648 [C99-based-standards] (SCNiFAST8): Likewise.
9649 [C99-based-standards] (SCNoFAST8): Likewise.
9650 [C99-based-standards] (SCNuFAST8): Likewise.
9651 [C99-based-standards] (SCNxFAST8): Likewise.
9652 [C99-based-standards] (PRId16): Likewise.
9653 [C99-based-standards] (PRIi16): Likewise.
9654 [C99-based-standards] (PRIo16): Likewise.
9655 [C99-based-standards] (PRIu16): Likewise.
9656 [C99-based-standards] (PRIx16): Likewise.
9657 [C99-based-standards] (PRIX16): Likewise.
9658 [C99-based-standards] (SCNd16): Likewise.
9659 [C99-based-standards] (SCNi16): Likewise.
9660 [C99-based-standards] (SCNo16): Likewise.
9661 [C99-based-standards] (SCNu16): Likewise.
9662 [C99-based-standards] (SCNx16): Likewise.
9663 [C99-based-standards] (PRIdLEAST16): Likewise.
9664 [C99-based-standards] (PRIiLEAST16): Likewise.
9665 [C99-based-standards] (PRIoLEAST16): Likewise.
9666 [C99-based-standards] (PRIuLEAST16): Likewise.
9667 [C99-based-standards] (PRIxLEAST16): Likewise.
9668 [C99-based-standards] (PRIXLEAST16): Likewise.
9669 [C99-based-standards] (SCNdLEAST16): Likewise.
9670 [C99-based-standards] (SCNiLEAST16): Likewise.
9671 [C99-based-standards] (SCNoLEAST16): Likewise.
9672 [C99-based-standards] (SCNuLEAST16): Likewise.
9673 [C99-based-standards] (SCNxLEAST16): Likewise.
9674 [C99-based-standards] (PRIdFAST16): Likewise.
9675 [C99-based-standards] (PRIiFAST16): Likewise.
9676 [C99-based-standards] (PRIoFAST16): Likewise.
9677 [C99-based-standards] (PRIuFAST16): Likewise.
9678 [C99-based-standards] (PRIxFAST16): Likewise.
9679 [C99-based-standards] (PRIXFAST16): Likewise.
9680 [C99-based-standards] (SCNdFAST16): Likewise.
9681 [C99-based-standards] (SCNiFAST16): Likewise.
9682 [C99-based-standards] (SCNoFAST16): Likewise.
9683 [C99-based-standards] (SCNuFAST16): Likewise.
9684 [C99-based-standards] (SCNxFAST16): Likewise.
9685 [C99-based-standards] (PRId32): Likewise.
9686 [C99-based-standards] (PRIi32): Likewise.
9687 [C99-based-standards] (PRIo32): Likewise.
9688 [C99-based-standards] (PRIu32): Likewise.
9689 [C99-based-standards] (PRIx32): Likewise.
9690 [C99-based-standards] (PRIX32): Likewise.
9691 [C99-based-standards] (SCNd32): Likewise.
9692 [C99-based-standards] (SCNi32): Likewise.
9693 [C99-based-standards] (SCNo32): Likewise.
9694 [C99-based-standards] (SCNu32): Likewise.
9695 [C99-based-standards] (SCNx32): Likewise.
9696 [C99-based-standards] (PRIdLEAST32): Likewise.
9697 [C99-based-standards] (PRIiLEAST32): Likewise.
9698 [C99-based-standards] (PRIoLEAST32): Likewise.
9699 [C99-based-standards] (PRIuLEAST32): Likewise.
9700 [C99-based-standards] (PRIxLEAST32): Likewise.
9701 [C99-based-standards] (PRIXLEAST32): Likewise.
9702 [C99-based-standards] (SCNdLEAST32): Likewise.
9703 [C99-based-standards] (SCNiLEAST32): Likewise.
9704 [C99-based-standards] (SCNoLEAST32): Likewise.
9705 [C99-based-standards] (SCNuLEAST32): Likewise.
9706 [C99-based-standards] (SCNxLEAST32): Likewise.
9707 [C99-based-standards] (PRIdFAST32): Likewise.
9708 [C99-based-standards] (PRIiFAST32): Likewise.
9709 [C99-based-standards] (PRIoFAST32): Likewise.
9710 [C99-based-standards] (PRIuFAST32): Likewise.
9711 [C99-based-standards] (PRIxFAST32): Likewise.
9712 [C99-based-standards] (PRIXFAST32): Likewise.
9713 [C99-based-standards] (SCNdFAST32): Likewise.
9714 [C99-based-standards] (SCNiFAST32): Likewise.
9715 [C99-based-standards] (SCNoFAST32): Likewise.
9716 [C99-based-standards] (SCNuFAST32): Likewise.
9717 [C99-based-standards] (SCNxFAST32): Likewise.
9718 [C99-based-standards] (PRId64): Likewise.
9719 [C99-based-standards] (PRIi64): Likewise.
9720 [C99-based-standards] (PRIo64): Likewise.
9721 [C99-based-standards] (PRIu64): Likewise.
9722 [C99-based-standards] (PRIx64): Likewise.
9723 [C99-based-standards] (PRIX64): Likewise.
9724 [C99-based-standards] (SCNd64): Likewise.
9725 [C99-based-standards] (SCNi64): Likewise.
9726 [C99-based-standards] (SCNo64): Likewise.
9727 [C99-based-standards] (SCNu64): Likewise.
9728 [C99-based-standards] (SCNx64): Likewise.
9729 [C99-based-standards] (PRIdLEAST64): Likewise.
9730 [C99-based-standards] (PRIiLEAST64): Likewise.
9731 [C99-based-standards] (PRIoLEAST64): Likewise.
9732 [C99-based-standards] (PRIuLEAST64): Likewise.
9733 [C99-based-standards] (PRIxLEAST64): Likewise.
9734 [C99-based-standards] (PRIXLEAST64): Likewise.
9735 [C99-based-standards] (SCNdLEAST64): Likewise.
9736 [C99-based-standards] (SCNiLEAST64): Likewise.
9737 [C99-based-standards] (SCNoLEAST64): Likewise.
9738 [C99-based-standards] (SCNuLEAST64): Likewise.
9739 [C99-based-standards] (SCNxLEAST64): Likewise.
9740 [C99-based-standards] (PRIdFAST64): Likewise.
9741 [C99-based-standards] (PRIiFAST64): Likewise.
9742 [C99-based-standards] (PRIoFAST64): Likewise.
9743 [C99-based-standards] (PRIuFAST64): Likewise.
9744 [C99-based-standards] (PRIxFAST64): Likewise.
9745 [C99-based-standards] (PRIXFAST64): Likewise.
9746 [C99-based-standards] (SCNdFAST64): Likewise.
9747 [C99-based-standards] (SCNiFAST64): Likewise.
9748 [C99-based-standards] (SCNoFAST64): Likewise.
9749 [C99-based-standards] (SCNuFAST64): Likewise.
9750 [C99-based-standards] (SCNxFAST64): Likewise.
9751 [C99-based-standards] (PRIdMAX): Likewise.
9752 [C99-based-standards] (PRIiMAX): Likewise.
9753 [C99-based-standards] (PRIoMAX): Likewise.
9754 [C99-based-standards] (PRIuMAX): Likewise.
9755 [C99-based-standards] (PRIxMAX): Likewise.
9756 [C99-based-standards] (PRIXMAX): Likewise.
9757 [C99-based-standards] (SCNdMAX): Likewise.
9758 [C99-based-standards] (SCNiMAX): Likewise.
9759 [C99-based-standards] (SCNoMAX): Likewise.
9760 [C99-based-standards] (SCNuMAX): Likewise.
9761 [C99-based-standards] (SCNxMAX): Likewise.
9762 [C99-based-standards] (PRIdPTR): Likewise.
9763 [C99-based-standards] (PRIiPTR): Likewise.
9764 [C99-based-standards] (PRIoPTR): Likewise.
9765 [C99-based-standards] (PRIuPTR): Likewise.
9766 [C99-based-standards] (PRIxPTR): Likewise.
9767 [C99-based-standards] (PRIXPTR): Likewise.
9768 [C99-based-standards] (SCNdPTR): Likewise.
9769 [C99-based-standards] (SCNiPTR): Likewise.
9770 [C99-based-standards] (SCNoPTR): Likewise.
9771 [C99-based-standards] (SCNuPTR): Likewise.
9772 [C99-based-standards] (SCNxPTR): Likewise.
9773 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9774 allow.
9775 * conform/data/stdint.h-data: Update comments to clarify
9776 requirements.
9777 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
9778 type.
9779 [C99-based standards] (INT8_MAX): Likewise.
9780 [C99-based standards] (INT16_MIN): Likewise.
9781 [C99-based standards] (INT16_MAX): Likewise.
9782 [C99-based standards] (INT32_MIN): Likewise.
9783 [C99-based standards] (INT32_MAX): Likewise.
9784 [C99-based standards] (INT64_MIN): Likewise.
9785 [C99-based standards] (INT64_MAX): Likewise.
9786 [C99-based standards] (UINT8_MAX): Likewise.
9787 [C99-based standards] (UINT16_MAX): Likewise.
9788 [C99-based standards] (UINT32_MAX): Likewise.
9789 [C99-based standards] (UINT64_MAX): Likewise.
9790 [C99-based standards] (INT_LEAST8_MIN): Likewise.
9791 [C99-based standards] (INT_LEAST8_MAX): Likewise.
9792 [C99-based standards] (INT_LEAST16_MIN): Likewise.
9793 [C99-based standards] (INT_LEAST16_MAX): Likewise.
9794 [C99-based standards] (INT_LEAST32_MIN): Likewise.
9795 [C99-based standards] (INT_LEAST32_MAX): Likewise.
9796 [C99-based standards] (INT_LEAST64_MIN): Likewise.
9797 [C99-based standards] (INT_LEAST64_MAX): Likewise.
9798 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9799 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9800 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9801 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9802 [C99-based standards] (INT_FAST8_MIN): Likewise.
9803 [C99-based standards] (INT_FAST8_MAX): Likewise.
9804 [C99-based standards] (INT_FAST16_MIN): Likewise.
9805 [C99-based standards] (INT_FAST16_MAX): Likewise.
9806 [C99-based standards] (INT_FAST32_MIN): Likewise.
9807 [C99-based standards] (INT_FAST32_MAX): Likewise.
9808 [C99-based standards] (INT_FAST64_MIN): Likewise.
9809 [C99-based standards] (INT_FAST64_MAX): Likewise.
9810 [C99-based standards] (UINT_FAST8_MAX): Likewise.
9811 [C99-based standards] (UINT_FAST16_MAX): Likewise.
9812 [C99-based standards] (UINT_FAST32_MAX): Likewise.
9813 [C99-based standards] (UINT_FAST64_MAX): Likewise.
9814 [C99-based standards] (INTPTR_MIN): Likewise.
9815 [C99-based standards] (INTPTR_MAX): Likewise.
9816 [C99-based standards] (UINTPTR_MAX): Likewise.
9817 [C99-based standards] (INTMAX_MIN): Likewise.
9818 [C99-based standards] (INTMAX_MAX): Likewise.
9819 [C99-based standards] (UINTMAX_MAX): Likewise.
9820 [C99-based standards] (PTRDIFF_MIN): Likewise.
9821 [C99-based standards] (PTRDIFF_MAX): Likewise.
9822 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
9823 [C99-based standards] (SIZE_MAX): Likewise.
9824 [C99-based standards] (WCHAR_MAX): Likewise.
9825 [C99-based standards] (WINT_MAX): Likewise.
9826 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
9827 constraint on value.
9828 [C99-based standards] (WCHAR_MIN): Likewise.
9829 [C99-based standards] (WINT_MIN): Likewise.
9830 [C99-based standards] (*_t): Allow.
9831 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
9832 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
9833 Include math.h-data and complex.h-data. Remove all expectations
9834 of math.h and complex.h contents.
9835 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
9836 at end of line.
9837 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
9838 (struct tm): Expect tag.
9839 [C99-based-standards] (wcstof): Expect function.
9840 [C99-based-standards] (wcstold): Likewise.
9841 [C99-based-standards] (wcstoll): Likewise.
9842 [C99-based-standards] (wcstoull): Likewise.
9843 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
9844 macro-int-constant. Specify type.
9845 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
9846 constraint on value.
9847 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9848 Specify type.
9849 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
9850 Specify value.
9851 [ISO C standards]: Do not allow headers.
9852 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
9853 wcs[abcdefghijklmnopqrstuvwxyz]*.
9854 [ISO C standards] (*_t): Do not allow.
9855 * conform/data/wctype.h-data [C99-based standards] (iswblank):
9856 Expect function.
9857 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
9858 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9859 Specify type.
9860 [ISO C standards]: Do not allow headers.
9861 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
9862 is[abcdefghijklmnopqrstuvwxyz]*.
9863 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
9864 to[abcdefghijklmnopqrstuvwxyz]*.
9865 [ISO C standards] (*_t): Do not allow.
9866 * conform/data/stdalign.h-data: New file.
9867 * conform/data/stdbool.h-data: Likewise.
9868 * conform/data/stdnoreturn.h-data: Likewise.
9869
98702012-11-07 Roland McGrath <roland@hack.frob.com>
9871
9872 [BZ #14815]
9873 * manual/filesys.texi (Directory Entries): Typo fix.
9874 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
9875
98762012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9877
9878 * elf/elf.h (EM_AARCH64): New macro.
9879 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
9880 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
9881 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
9882 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
9883 (R_AARCH64_TLSDESC): Likewise.
9884 (NT_ARM_TLS): Likewise.
9885 (NT_ARM_HW_BREAK): Likewise.
9886 (NT_ARM_HW_WATCH): Likewise.
9887
98882012-11-07 Joseph Myers <joseph@codesourcery.com>
9889
9890 [BZ #14811]
9891 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
9892 (__ieee754_powl): Saturate nonzero exponents with absolute value
9893 below 0x1p-79 to +/- 0x1p-79.
9894 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
9895 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
9896 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
9897 nonzero exponents with absolute value below 0x1p-32 to +/-
9898 0x1p-32.
9899 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
9900 (__ieee754_powl): Saturate nonzero exponents with absolute value
9901 below 0x1p-79 to +/- 0x1p-79.
9902 * math/libm-test.inc (pow_test): Add more tests.
9903
99042012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9905
9906 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
9907 _dl_s390_cap_flags with kernel. Increase string length.
9908 (_dl_s390_platforms): Add z196 and zEC12.
9909
99102012-11-07 Joseph Myers <joseph@codesourcery.com>
9911
9912 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
9913 Change XOPEN21K to XOPEN2K.
9914
99152012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
9916
9917 * string/memmove.c: Use memcpy when possible.
9918
99192012-11-06 Andreas Jaeger <aj@suse.de>
9920
9921 * po/eo.po: Update from translation team.
9922
99232012-11-06 Joseph Myers <joseph@codesourcery.com>
9924
9925 [BZ #14793]
9926 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
9927 exponent and small x and y exponents, scale x or y up. Increase
9928 by 2 the exponent used in scaling up.
9929 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9930 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9931 * math/libm-test.inc (fma_test): Add more tests.
9932 (fma_test_towardzero): Likewise.
9933 (fma_test_downward): Likewise.
9934 (fma_test_upward): Likewise.
9935
99362012-11-05 Joseph Myers <joseph@codesourcery.com>
9937
9938 [BZ #14805]
9939 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
9940 fenv_t *.
9941
9942 [BZ #14801]
9943 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
9944 namespace for names of struct fields.
9945 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
9946 fenv_t fields.
9947 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9948 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
9949
99502012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9951
9952 [BZ #3665]
9953 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
9954
99552012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9956
9957 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
9958 PTR_DEMANGLE.
9959
9960 [BZ #5246]
9961 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
9962 PTR_DEMANGLE.
9963
99642012-11-04 Joseph Myers <joseph@codesourcery.com>
9965
9966 [BZ #14797]
9967 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
9968 definitely overflow as x * y not x * y + z.
9969 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9970 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9971 * math/libm-test.inc (fma_test): Add more tests.
9972 (fma_test_towardzero): Likewise.
9973 (fma_test_downward): Likewise.
9974 (fma_test_upward): Likewise.
9975
99762012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9977
9978 [BZ #157]
9979
9980 * include/stub-tag.h: Remove file.
9981 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
9982 '#include' of it.
9983 * manual/maint.texi (Porting): Don't reference it.
9984 * Makerules ($(objpfx)stubs): Likewise.
9985 * dirent/closedir.c: Don't include <stub-tag.h>.
9986 * dirent/dirfd.c: Likewise.
9987 * dirent/fdopendir.c: Likewise.
9988 * dirent/getdents.c: Likewise.
9989 * dirent/getdents64.c: Likewise.
9990 * dirent/opendir.c: Likewise.
9991 * dirent/readdir.c: Likewise.
9992 * dirent/readdir64.c: Likewise.
9993 * dirent/readdir64_r.c: Likewise.
9994 * dirent/readdir_r.c: Likewise.
9995 * dirent/rewinddir.c: Likewise.
9996 * dirent/seekdir.c: Likewise.
9997 * dirent/telldir.c: Likewise.
9998 * gmon/profil.c: Likewise.
9999 * grp/setgroups.c: Likewise.
10000 * inet/if_index.c: Likewise.
10001 * io/access.c: Likewise.
10002 * io/chdir.c: Likewise.
10003 * io/chmod.c: Likewise.
10004 * io/chown.c: Likewise.
10005 * io/close.c: Likewise.
10006 * io/dup.c: Likewise.
10007 * io/dup2.c: Likewise.
10008 * io/dup3.c: Likewise.
10009 * io/euidaccess.c: Likewise.
10010 * io/faccessat.c: Likewise.
10011 * io/fchdir.c: Likewise.
10012 * io/fchmod.c: Likewise.
10013 * io/fchmodat.c: Likewise.
10014 * io/fchown.c: Likewise.
10015 * io/fchownat.c: Likewise.
10016 * io/fcntl.c: Likewise.
10017 * io/flock.c: Likewise.
10018 * io/fstatfs.c: Likewise.
10019 * io/fstatfs64.c: Likewise.
10020 * io/fstatvfs.c: Likewise.
10021 * io/fstatvfs64.c: Likewise.
10022 * io/futimens.c: Likewise.
10023 * io/fxstat.c: Likewise.
10024 * io/fxstat64.c: Likewise.
10025 * io/fxstatat.c: Likewise.
10026 * io/fxstatat64.c: Likewise.
10027 * io/getcwd.c: Likewise.
10028 * io/isatty.c: Likewise.
10029 * io/lchmod.c: Likewise.
10030 * io/lchown.c: Likewise.
10031 * io/link.c: Likewise.
10032 * io/linkat.c: Likewise.
10033 * io/lseek.c: Likewise.
10034 * io/lseek64.c: Likewise.
10035 * io/lxstat64.c: Likewise.
10036 * io/mkdir.c: Likewise.
10037 * io/mkdirat.c: Likewise.
10038 * io/mkfifo.c: Likewise.
10039 * io/mkfifoat.c: Likewise.
10040 * io/open.c: Likewise.
10041 * io/open64.c: Likewise.
10042 * io/openat.c: Likewise.
10043 * io/openat64.c: Likewise.
10044 * io/pipe.c: Likewise.
10045 * io/pipe2.c: Likewise.
10046 * io/poll.c: Likewise.
10047 * io/posix_fadvise.c: Likewise.
10048 * io/posix_fadvise64.c: Likewise.
10049 * io/posix_fallocate.c: Likewise.
10050 * io/posix_fallocate64.c: Likewise.
10051 * io/read.c: Likewise.
10052 * io/readlink.c: Likewise.
10053 * io/readlinkat.c: Likewise.
10054 * io/rmdir.c: Likewise.
10055 * io/sendfile.c: Likewise.
10056 * io/sendfile64.c: Likewise.
10057 * io/statfs.c: Likewise.
10058 * io/statfs64.c: Likewise.
10059 * io/statvfs.c: Likewise.
10060 * io/statvfs64.c: Likewise.
10061 * io/symlink.c: Likewise.
10062 * io/symlinkat.c: Likewise.
10063 * io/ttyname.c: Likewise.
10064 * io/ttyname_r.c: Likewise.
10065 * io/umask.c: Likewise.
10066 * io/unlink.c: Likewise.
10067 * io/unlinkat.c: Likewise.
10068 * io/utime.c: Likewise.
10069 * io/utimensat.c: Likewise.
10070 * io/write.c: Likewise.
10071 * io/xmknod.c: Likewise.
10072 * io/xmknodat.c: Likewise.
10073 * io/xstat.c: Likewise.
10074 * io/xstat64.c: Likewise.
10075 * login/getpt.c: Likewise.
10076 * login/grantpt.c: Likewise.
10077 * login/unlockpt.c: Likewise.
10078 * math/e_acoshl.c: Likewise.
10079 * math/e_acosl.c: Likewise.
10080 * math/e_asinl.c: Likewise.
10081 * math/e_atan2l.c: Likewise.
10082 * math/e_atanhl.c: Likewise.
10083 * math/e_coshl.c: Likewise.
10084 * math/e_expl.c: Likewise.
10085 * math/e_fmodl.c: Likewise.
10086 * math/e_gammal_r.c: Likewise.
10087 * math/e_hypotl.c: Likewise.
10088 * math/e_j0l.c: Likewise.
10089 * math/e_j1l.c: Likewise.
10090 * math/e_jnl.c: Likewise.
10091 * math/e_lgammal_r.c: Likewise.
10092 * math/e_log10l.c: Likewise.
10093 * math/e_log2l.c: Likewise.
10094 * math/e_logl.c: Likewise.
10095 * math/e_powl.c: Likewise.
10096 * math/e_rem_pio2l.c: Likewise.
10097 * math/e_sinhl.c: Likewise.
10098 * math/e_sqrtl.c: Likewise.
10099 * math/fclrexcpt.c: Likewise.
10100 * math/fedisblxcpt.c: Likewise.
10101 * math/feenablxcpt.c: Likewise.
10102 * math/fegetenv.c: Likewise.
10103 * math/fegetexcept.c: Likewise.
10104 * math/fegetround.c: Likewise.
10105 * math/feholdexcpt.c: Likewise.
10106 * math/fesetenv.c: Likewise.
10107 * math/fesetround.c: Likewise.
10108 * math/feupdateenv.c: Likewise.
10109 * math/fgetexcptflg.c: Likewise.
10110 * math/fraiseexcpt.c: Likewise.
10111 * math/fsetexcptflg.c: Likewise.
10112 * math/ftestexcept.c: Likewise.
10113 * math/k_cosl.c: Likewise.
10114 * math/k_rem_pio2l.c: Likewise.
10115 * math/k_sinl.c: Likewise.
10116 * math/k_tanl.c: Likewise.
10117 * math/s_asinhl.c: Likewise.
10118 * math/s_atanl.c: Likewise.
10119 * math/s_cbrtl.c: Likewise.
10120 * math/s_erfl.c: Likewise.
10121 * math/s_expm1l.c: Likewise.
10122 * math/s_log1pl.c: Likewise.
10123 * math/s_tanhl.c: Likewise.
10124 * misc/acct.c: Likewise.
10125 * misc/brk.c: Likewise.
10126 * misc/chflags.c: Likewise.
10127 * misc/chroot.c: Likewise.
10128 * misc/fchflags.c: Likewise.
10129 * misc/fgetxattr.c: Likewise.
10130 * misc/flistxattr.c: Likewise.
10131 * misc/fremovexattr.c: Likewise.
10132 * misc/fsetxattr.c: Likewise.
10133 * misc/fsync.c: Likewise.
10134 * misc/ftruncate.c: Likewise.
10135 * misc/futimes.c: Likewise.
10136 * misc/futimesat.c: Likewise.
10137 * misc/getdomain.c: Likewise.
10138 * misc/getdtsz.c: Likewise.
10139 * misc/gethostid.c: Likewise.
10140 * misc/gethostname.c: Likewise.
10141 * misc/getloadavg.c: Likewise.
10142 * misc/getpagesize.c: Likewise.
10143 * misc/getsysstats.c: Likewise.
10144 * misc/getxattr.c: Likewise.
10145 * misc/gtty.c: Likewise.
10146 * misc/ioctl.c: Likewise.
10147 * misc/lgetxattr.c: Likewise.
10148 * misc/listxattr.c: Likewise.
10149 * misc/llistxattr.c: Likewise.
10150 * misc/lremovexattr.c: Likewise.
10151 * misc/lsetxattr.c: Likewise.
10152 * misc/lutimes.c: Likewise.
10153 * misc/madvise.c: Likewise.
10154 * misc/mincore.c: Likewise.
10155 * misc/mlock.c: Likewise.
10156 * misc/mlockall.c: Likewise.
10157 * misc/mmap.c: Likewise.
10158 * misc/mprotect.c: Likewise.
10159 * misc/msync.c: Likewise.
10160 * misc/munlock.c: Likewise.
10161 * misc/munlockall.c: Likewise.
10162 * misc/munmap.c: Likewise.
10163 * misc/preadv.c: Likewise.
10164 * misc/preadv64.c: Likewise.
10165 * misc/ptrace.c: Likewise.
10166 * misc/pwritev.c: Likewise.
10167 * misc/pwritev64.c: Likewise.
10168 * misc/readv.c: Likewise.
10169 * misc/reboot.c: Likewise.
10170 * misc/remap_file_pages.c: Likewise.
10171 * misc/removexattr.c: Likewise.
10172 * misc/revoke.c: Likewise.
10173 * misc/select.c: Likewise.
10174 * misc/setdomain.c: Likewise.
10175 * misc/setegid.c: Likewise.
10176 * misc/seteuid.c: Likewise.
10177 * misc/sethostid.c: Likewise.
10178 * misc/sethostname.c: Likewise.
10179 * misc/setregid.c: Likewise.
10180 * misc/setreuid.c: Likewise.
10181 * misc/setxattr.c: Likewise.
10182 * misc/sstk.c: Likewise.
10183 * misc/stty.c: Likewise.
10184 * misc/swapoff.c: Likewise.
10185 * misc/swapon.c: Likewise.
10186 * misc/sync.c: Likewise.
10187 * misc/syncfs.c: Likewise.
10188 * misc/syscall.c: Likewise.
10189 * misc/truncate.c: Likewise.
10190 * misc/ualarm.c: Likewise.
10191 * misc/usleep.c: Likewise.
10192 * misc/ustat.c: Likewise.
10193 * misc/utimes.c: Likewise.
10194 * misc/vhangup.c: Likewise.
10195 * misc/writev.c: Likewise.
10196 * posix/_exit.c: Likewise.
10197 * posix/alarm.c: Likewise.
10198 * posix/execve.c: Likewise.
10199 * posix/fexecve.c: Likewise.
10200 * posix/fork.c: Likewise.
10201 * posix/fpathconf.c: Likewise.
10202 * posix/getaddrinfo.c: Likewise.
10203 * posix/getegid.c: Likewise.
10204 * posix/geteuid.c: Likewise.
10205 * posix/getgid.c: Likewise.
10206 * posix/getgroups.c: Likewise.
10207 * posix/getlogin.c: Likewise.
10208 * posix/getlogin_r.c: Likewise.
10209 * posix/getpgid.c: Likewise.
10210 * posix/getpid.c: Likewise.
10211 * posix/getppid.c: Likewise.
10212 * posix/getresgid.c: Likewise.
10213 * posix/getresuid.c: Likewise.
10214 * posix/getsid.c: Likewise.
10215 * posix/getuid.c: Likewise.
10216 * posix/glob64.c: Likewise.
10217 * posix/nanosleep.c: Likewise.
10218 * posix/pathconf.c: Likewise.
10219 * posix/pause.c: Likewise.
10220 * posix/posix_madvise.c: Likewise.
10221 * posix/pread.c: Likewise.
10222 * posix/pread64.c: Likewise.
10223 * posix/pwrite.c: Likewise.
10224 * posix/pwrite64.c: Likewise.
10225 * posix/sched_getaffinity.c: Likewise.
10226 * posix/sched_getp.c: Likewise.
10227 * posix/sched_gets.c: Likewise.
10228 * posix/sched_primax.c: Likewise.
10229 * posix/sched_primin.c: Likewise.
10230 * posix/sched_rr_gi.c: Likewise.
10231 * posix/sched_setaffinity.c: Likewise.
10232 * posix/sched_setp.c: Likewise.
10233 * posix/sched_sets.c: Likewise.
10234 * posix/sched_yield.c: Likewise.
10235 * posix/setgid.c: Likewise.
10236 * posix/setlogin.c: Likewise.
10237 * posix/setpgid.c: Likewise.
10238 * posix/setresgid.c: Likewise.
10239 * posix/setresuid.c: Likewise.
10240 * posix/setsid.c: Likewise.
10241 * posix/setuid.c: Likewise.
10242 * posix/sleep.c: Likewise.
10243 * posix/spawni.c: Likewise.
10244 * posix/sysconf.c: Likewise.
10245 * posix/times.c: Likewise.
10246 * posix/wait.c: Likewise.
10247 * posix/wait3.c: Likewise.
10248 * posix/wait4.c: Likewise.
10249 * posix/waitpid.c: Likewise.
10250 * resolv/gai_sigqueue.c: Likewise.
10251 * resource/getpriority.c: Likewise.
10252 * resource/getrlimit.c: Likewise.
10253 * resource/getrusage.c: Likewise.
10254 * resource/nice.c: Likewise.
10255 * resource/setpriority.c: Likewise.
10256 * resource/setrlimit.c: Likewise.
10257 * resource/ulimit.c: Likewise.
10258 * rt/aio_cancel.c: Likewise.
10259 * rt/aio_fsync.c: Likewise.
10260 * rt/aio_read.c: Likewise.
10261 * rt/aio_sigqueue.c: Likewise.
10262 * rt/aio_suspend.c: Likewise.
10263 * rt/aio_write.c: Likewise.
10264 * rt/clock_getres.c: Likewise.
10265 * rt/clock_gettime.c: Likewise.
10266 * rt/clock_nanosleep.c: Likewise.
10267 * rt/clock_settime.c: Likewise.
10268 * rt/lio_listio.c: Likewise.
10269 * rt/mq_close.c: Likewise.
10270 * rt/mq_getattr.c: Likewise.
10271 * rt/mq_notify.c: Likewise.
10272 * rt/mq_open.c: Likewise.
10273 * rt/mq_receive.c: Likewise.
10274 * rt/mq_send.c: Likewise.
10275 * rt/mq_setattr.c: Likewise.
10276 * rt/mq_timedreceive.c: Likewise.
10277 * rt/mq_timedsend.c: Likewise.
10278 * rt/mq_unlink.c: Likewise.
10279 * rt/shm_open.c: Likewise.
10280 * rt/shm_unlink.c: Likewise.
10281 * rt/timer_create.c: Likewise.
10282 * rt/timer_delete.c: Likewise.
10283 * rt/timer_getoverr.c: Likewise.
10284 * rt/timer_gettime.c: Likewise.
10285 * rt/timer_settime.c: Likewise.
10286 * setjmp/__longjmp.c: Likewise.
10287 * setjmp/setjmp.c: Likewise.
10288 * signal/kill.c: Likewise.
10289 * signal/killpg.c: Likewise.
10290 * signal/raise.c: Likewise.
10291 * signal/sigaction.c: Likewise.
10292 * signal/sigaltstack.c: Likewise.
10293 * signal/sigblock.c: Likewise.
10294 * signal/sigignore.c: Likewise.
10295 * signal/sigintr.c: Likewise.
10296 * signal/signal.c: Likewise.
10297 * signal/sigpause.c: Likewise.
10298 * signal/sigpending.c: Likewise.
10299 * signal/sigqueue.c: Likewise.
10300 * signal/sigreturn.c: Likewise.
10301 * signal/sigset.c: Likewise.
10302 * signal/sigsetmask.c: Likewise.
10303 * signal/sigstack.c: Likewise.
10304 * signal/sigsuspend.c: Likewise.
10305 * signal/sigtimedwait.c: Likewise.
10306 * signal/sigvec.c: Likewise.
10307 * signal/sigwait.c: Likewise.
10308 * signal/sigwaitinfo.c: Likewise.
10309 * signal/sysv_signal.c: Likewise.
10310 * socket/accept.c: Likewise.
10311 * socket/accept4.c: Likewise.
10312 * socket/bind.c: Likewise.
10313 * socket/connect.c: Likewise.
10314 * socket/getpeername.c: Likewise.
10315 * socket/getsockname.c: Likewise.
10316 * socket/getsockopt.c: Likewise.
10317 * socket/isfdtype.c: Likewise.
10318 * socket/listen.c: Likewise.
10319 * socket/recv.c: Likewise.
10320 * socket/recvfrom.c: Likewise.
10321 * socket/recvmsg.c: Likewise.
10322 * socket/send.c: Likewise.
10323 * socket/sendmsg.c: Likewise.
10324 * socket/sendto.c: Likewise.
10325 * socket/setsockopt.c: Likewise.
10326 * socket/shutdown.c: Likewise.
10327 * socket/sockatmark.c: Likewise.
10328 * socket/socket.c: Likewise.
10329 * socket/socketpair.c: Likewise.
10330 * stdio-common/ctermid.c: Likewise.
10331 * stdio-common/cuserid.c: Likewise.
10332 * stdio-common/remove.c: Likewise.
10333 * stdio-common/rename.c: Likewise.
10334 * stdio-common/renameat.c: Likewise.
10335 * stdio-common/tempname.c: Likewise.
10336 * stdlib/getcontext.c: Likewise.
10337 * stdlib/makecontext.c: Likewise.
10338 * stdlib/setcontext.c: Likewise.
10339 * stdlib/swapcontext.c: Likewise.
10340 * stdlib/system.c: Likewise.
10341 * streams/fattach.c: Likewise.
10342 * streams/fdetach.c: Likewise.
10343 * streams/getmsg.c: Likewise.
10344 * streams/getpmsg.c: Likewise.
10345 * streams/putmsg.c: Likewise.
10346 * streams/putpmsg.c: Likewise.
10347 * sysdeps/unix/bsd/getpt.c: Likewise.
10348 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10349 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10350 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10352 Likewise.
10353 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10354 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10355 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10356 * sysvipc/msgctl.c: Likewise.
10357 * sysvipc/msgget.c: Likewise.
10358 * sysvipc/msgrcv.c: Likewise.
10359 * sysvipc/msgsnd.c: Likewise.
10360 * sysvipc/semctl.c: Likewise.
10361 * sysvipc/semget.c: Likewise.
10362 * sysvipc/semop.c: Likewise.
10363 * sysvipc/semtimedop.c: Likewise.
10364 * sysvipc/shmat.c: Likewise.
10365 * sysvipc/shmctl.c: Likewise.
10366 * sysvipc/shmdt.c: Likewise.
10367 * sysvipc/shmget.c: Likewise.
10368 * termios/tcdrain.c: Likewise.
10369 * termios/tcflow.c: Likewise.
10370 * termios/tcflush.c: Likewise.
10371 * termios/tcgetattr.c: Likewise.
10372 * termios/tcgetpgrp.c: Likewise.
10373 * termios/tcsendbrk.c: Likewise.
10374 * termios/tcsetattr.c: Likewise.
10375 * termios/tcsetpgrp.c: Likewise.
10376 * time/adjtime.c: Likewise.
10377 * time/clock.c: Likewise.
10378 * time/getitimer.c: Likewise.
10379 * time/gettimeofday.c: Likewise.
10380 * time/setitimer.c: Likewise.
10381 * time/settimeofday.c: Likewise.
10382 * time/stime.c: Likewise.
10383 * time/time.c: Likewise.
10384
103852012-11-04 Pino Toscano <toscano.pino@tiscali.it>
10386
10387 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10388 /usr/old/bin.
10389
10390 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10391 instead of spaces.
10392 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10393
103942012-11-03 Joseph Myers <joseph@codesourcery.com>
10395
10396 [BZ #14796]
10397 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10398 FE_TONEAREST before applying Dekker multiplication and Knuth
10399 addition. Clear inexact exceptions and check for exact zero
10400 results afterwards.
10401 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10402 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10403 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10404 * math/libm-test.inc (fma_test): Add more tests.
10405 (fma_test_towardzero): Likewise.
10406 (fma_test_downward): Likewise.
10407 (fma_test_upward): Likewise.
10408 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10409 function.
10410 (libc_fesetround): New macro.
10411 (libc_fesetroundf): Likewise.
10412 (libc_fesetroundl): Likewise.
10413 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10414 function.
10415 (libc_fesetround_387): Likewise.
10416 (libc_fesetroundf): New macro.
10417 (libc_fesetround): Likewise.
10418 (libc_fesetroundl): Likewise.
10419 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10420 function.
10421 (libc_fesetroundf): New macro.
10422 (libc_fesetround): Likewise.
10423 (libc_fesetroundl): Likewise.
10424 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10425 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10426 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10427 libm_hidden_ver.
10428 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10429 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10430 libm_hidden_def.
10431 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10432 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10433 libm_hidden_ver.
10434 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10435 libm_hidden_def.
10436
10437 [BZ #3439]
10438 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10439 integer constant usable in #if and use that to give value to enum
10440 constant.
10441 (FE_DIVBYZERO): Likewise.
10442 (FE_UNDERFLOW): Likewise.
10443 (FE_OVERFLOW): Likewise.
10444 (FE_INVALID): Likewise.
10445 (FE_INVALID_SNAN): Likewise.
10446 (FE_INVALID_ISI): Likewise.
10447 (FE_INVALID_IDI): Likewise.
10448 (FE_INVALID_ZDZ): Likewise.
10449 (FE_INVALID_IMZ): Likewise.
10450 (FE_INVALID_COMPARE): Likewise.
10451 (FE_INVALID_SOFTWARE): Likewise.
10452 (FE_INVALID_SQRT): Likewise.
10453 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10454 (FE_TONEAREST): Likewise.
10455 (FE_TOWARDZERO): Likewise.
10456 (FE_UPWARD): Likewise.
10457 (FE_DOWNWARD): Likewise.
10458 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10459 (FE_DIVBYZERO): Likewise.
10460 (FE_OVERFLOW): Likewise.
10461 (FE_UNDERFLOW): Likewise.
10462 (FE_INEXACT): Likewise.
10463 (FE_TONEAREST): Likewise.
10464 (FE_DOWNWARD): Likewise.
10465 (FE_UPWARD): Likewise.
10466 (FE_TOWARDZERO): Likewise.
10467 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10468 (FE_UNDERFLOW): Likewise.
10469 (FE_OVERFLOW): Likewise.
10470 (FE_DIVBYZERO): Likewise.
10471 (FE_INVALID): Likewise.
10472 (FE_TONEAREST): Likewise.
10473 (FE_TOWARDZERO): Likewise.
10474 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10475 (FE_OVERFLOW): Likewise.
10476 (FE_UNDERFLOW): Likewise.
10477 (FE_DIVBYZERO): Likewise.
10478 (FE_INEXACT): Likewise.
10479 (FE_TONEAREST): Likewise.
10480 (FE_TOWARDZERO): Likewise.
10481 (FE_UPWARD): Likewise.
10482 (FE_DOWNWARD): Likewise.
10483 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10484 (FE_DIVBYZERO): Likewise.
10485 (FE_OVERFLOW): Likewise.
10486 (FE_UNDERFLOW): Likewise.
10487 (FE_INEXACT): Likewise.
10488 (FE_TONEAREST): Likewise.
10489 (FE_DOWNWARD): Likewise.
10490 (FE_UPWARD): Likewise.
10491 (FE_TOWARDZERO): Likewise.
10492
104932012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10494
10495 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10496
104972012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10498
10499 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10500 commands. Quote $PWD.
10501 (blacklist_exports): Don't use remove_newlines. Replace "declare
10502 -x" by "export".
10503 (remove_newlines): Remove.
10504
105052012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10506
10507 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10508 * stdlib/stdlib.h (atof): Moved to ...
10509 * include/bits/stdlib-float.h: Here. New file.
10510 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10511 * stdlib/bits/stdlib-float.h: New file.
10512 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10513 -mno-sse -mno-mmx.
10514 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10515 <xmmintrin.h>.
10516
105172012-11-02 Joseph Myers <joseph@codesourcery.com>
10518
10519 * conform/conformtest.pl (@headers): Add fenv.h.
10520 * conform/data/fenv.h-data: New file.
10521 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10522 include of <math/fenv.h>.
10523
10524 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10525 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10526 && !UNIX98]. Enables tests for XOPEN2K8.
10527 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10528 POSIX2008]: Likewise.
10529
10530 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10531 (struct rusage): Do not expect type or its members.
10532
10533 [BZ #3439]
10534 * math/math.h (FP_NAN): Define macro to integer constant usable in
10535 #if and use that to give value to enum constant.
10536 (FP_INFINITE): Likewise.
10537 (FP_ZERO): Likewise.
10538 (FP_SUBNORMAL): Likewise.
10539 (FP_NORMAL): Likewise.
10540
105412012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10542
10543 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10544 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10545 arguments.
10546
105472012-11-02 Roland McGrath <roland@hack.frob.com>
10548
10549 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10550 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10551 autoconf-time if not.
10552 * configure.in: Remove AC_PREREQ.
10553
105542012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10555
10556 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10557 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10558 of the internal implementation.
10559
105602012-11-02 Joseph Myers <joseph@codesourcery.com>
10561
10562 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10563 except include of <misc/sys/syslog.h>.
10564
105652012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10566
10567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10568 function returns with a NULL context exit with zero.
10569
105702012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10571
10572 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10573
105742012-11-01 H.J. Lu <hongjiu.lu@intel.com>
10575
10576 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10577 (run_program_cmd): This.
10578 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10579 (tst_langinfo): New variable. Use it.
10580
105812012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
10582
10583 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10584 floating point opcodes.
10585
105862012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10587
10588 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10589 variable.
10590
10591 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10592
10593 * sysdeps/mach/hurd/powerpc: Remove directory.
10594 * sysdeps/mach/powerpc: Likewise.
10595
105962012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10597
10598 * scripts/check-local-headers.sh: Ignore c++ headers.
10599
106002012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10601
10602 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10603 __libc_cleanup_region_start argument.
10604
106052012-11-01 Joseph Myers <joseph@codesourcery.com>
10606
10607 [BZ #14784]
10608 [BZ #14785]
10609 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10610 x * y using scaling, not as x * y + z.
10611 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10612 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10613 * math/libm-test.inc (fma_test): Add more tests.
10614 (fma_test_towardzero): Likewise.
10615 (fma_test_downward): Likewise.
10616 (fma_test_upward): Likewise.
10617
106182012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10619
10620 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10621
106222012-10-31 Joseph Myers <joseph@codesourcery.com>
10623
10624 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10625 New variable.
10626
106272012-10-31 Thomas Schwinge <thomas@codesourcery.com>
10628
10629 * rt/tst-shm.c (worker): Correct checking for mmap failure.
10630
106312012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10632
10633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10634 Fix sort order.
10635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10636 Likewise.
10637
106382012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10639
10640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10641 Fix the order of the list for glibc 2.17.
10642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10643 Likewise.
10644
106452012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10646
10647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10648
106492012-10-31 Joseph Myers <joseph@codesourcery.com>
10650
10651 [BZ #14610]
10652 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10653 for low part of x being zero before using __atanl (y).
10654 * math/libm-test.inc (atan2_test): Add another test.
10655
10656 * manual/install.texi (Configuring and compiling): Document
10657 general use of test-wrapper and test-wrapper-env.
10658 * INSTALL: Regenerated.
10659
10660 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10661 (__fma): Do not extract and scale down low bits on after-rounding
10662 systems when result rounded to normal precision would have normal
10663 exponent.
10664 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10665 (__fmal): Do not extract and scale down low bits on after-rounding
10666 systems when result rounded to normal precision would have normal
10667 exponent.
10668 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10669 (__fmal): Do not extract and scale down low bits on after-rounding
10670 systems when result rounded to normal precision would have normal
10671 exponent.
10672 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10673 macro.
10674 (fma_test): Add more tests.
10675 (fma_test_towardzero): Likewise.
10676 (fma_test_downward): Likewise.
10677 (fma_test_upward): Likewise.
10678
106792012-10-30 H.J. Lu <hongjiu.lu@intel.com>
10680
10681 * sysdeps/i386/tininess.h: Renamed to ...
10682 * sysdeps/x86/tininess.h: This.
10683 * sysdeps/x86_64/tininess.h: Removed.
10684
106852012-10-30 Joseph Myers <joseph@codesourcery.com>
10686
10687 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10688 input. Use $(build-program-cmd).
10689 ($(objpfx)tst-array1-static.out): Likewise.
10690 ($(objpfx)tst-array2.out): Likewise.
10691 ($(objpfx)tst-array3.out): Likewise.
10692 ($(objpfx)tst-array4.out): Likewise.
10693 ($(objpfx)tst-array5.out): Likewise.
10694 ($(objpfx)tst-array5-static.out): Likewise.
10695
106962012-10-30 Chris Metcalf <cmetcalf@tilera.com>
10697
10698 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10699 if defined.
10700
10701 * nss/nsswitch.h (nss_interface_function): Provide new
10702 macro for use with NSS functions.
10703 * grp/initgroups.c: Use new macro.
10704 * nss/getXXbyYY.c: Likewise.
10705 * nss/getXXbyYY_r.c: Likewise.
10706 * nss/getXXent.c: Likewise.
10707 * nss/getXXent_r.c: Likewise.
10708 * sysdeps/posix/getaddrinfo.c: Likewise.
10709
107102012-10-30 Andreas Jaeger <aj@suse.de>
10711
10712 * po/ru.po: Update Russion translation from translation project.
10713
107142012-10-30 Joseph Myers <joseph@codesourcery.com>
10715
10716 [BZ #14152]
10717 [BZ #14783]
10718 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10719 result and shift together with sticky bit instead of replicating
10720 round-to-nearest rounding.
10721 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10722 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10723 * math/libm-test.inc (fma_test): Add more tests. Do not permit
10724 missing underflow exceptions.
10725 (fma_test_towardzero): Add more tests.
10726 (fma_test_downward): Likewise.
10727 (fma_test_upward): Likewise.
10728
10729 [BZ #14047]
10730 * sysdeps/generic/tininess.h: New file.
10731 * sysdeps/i386/tininess.h: Likewise.
10732 * sysdeps/sh/tininess.h: Likewise.
10733 * sysdeps/x86_64/tininess.h: Likewise.
10734 * stdlib/tst-strtod-underflow.c: Likewise.
10735 * stdlib/tst-tininess.c: Likewise.
10736 * stdlib/strtod_l.c: Include <tininess.h>.
10737 (round_and_return): Do not set errno for exact underflow cases.
10738 Force an underflow exception when setting errno for underflow.
10739 Determine underflow based on rounding to normal precision if
10740 TININESS_AFTER_ROUNDING.
10741 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10742 ERANGE for exact underflow cases.
10743 * stdlib/Makefile (tests): Add tst-tininess and
10744 tst-strtod-underflow.
10745 ($(objpfx)tst-tininess): Use $(link-libm).
10746 ($(objpfx)tst-strtod-underflow): Likewise.
10747
107482012-10-30 Andreas Jaeger <aj@suse.de>
10749
10750 [BZ#14767]
10751 * elf/Makefile (tests): Remove conditional for have-initfini-array
10752 since this is now always required and the variable does not exist
10753 anymore.
10754 (tests-static): Likewise.
10755 (modules-names): Likewise.
10756
10757 * po/eo.po: Add Esperanto translation from translation project.
10758
10759 * elf/tst-array1.c (fini_array): Make writeable so that it can be
10760 merged with constructor/destructor.
10761 (init_array): Likewise.
10762 * elf/tst-array2dep.c (fini_array): Likewise.
10763 (init_array): Likewise.
10764
107652012-10-29 Mike Frysinger <vapier@gentoo.org>
10766
10767 * manual/message.texi: Delete @cartouche tags.
10768
107692012-10-29 Pino Toscano <toscano.pino@tiscali.it>
10770
10771 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10772 EOPNOTSUPP.
10773 * sysdeps/mach/hurd/fsync.c: Likewise.
10774
10775 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10776 [_POSIX_REALTIME_SIGNALS]: Change condition to
10777 [_POSIX_REALTIME_SIGNALS > 0].
10778
107792012-10-27 Andreas Jaeger <aj@suse.de>
10780
10781 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10782 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10783 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10784 [__WORDSIZE != 64]: Likewise.
10785
107862012-10-26 H.J. Lu <hongjiu.lu@intel.com>
10787
10788 * iconvdata/tst-table.sh: Remove ${SHELL}.
10789 * iconvdata/tst-tables.sh: Likewise.
10790
107912012-10-25 David S. Miller <davem@davemloft.net>
10792
10793 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10794 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10795 of strtoull.
10796
10797 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10798 ifunc-impl-list.c
10799 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10800 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10801 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10802 file.
10803
108042012-10-25 Roland McGrath <roland@hack.frob.com>
10805
10806 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10807 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10808 __getdirentries.
10809
108102012-10-25 Joseph Myers <joseph@codesourcery.com>
10811 Jim Blandy <jimb@codesourcery.com>
10812
10813 * scripts/cross-test-ssh.sh: New file.
10814 * manual/install.texi (Configuring and compiling): Document use of
10815 cross-test-ssh.sh.
10816 * INSTALL: Regenerated.
10817
108182012-10-25 Pino Toscano <toscano.pino@tiscali.it>
10819
10820 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
10821 EOPNOTSUPP.
10822
108232012-10-25 Joseph Myers <joseph@codesourcery.com>
10824
10825 * Makeconfig (run-program-prefix): Fix comment.
10826
108272012-10-24 Joseph Myers <joseph@codesourcery.com>
10828 Jim Blandy <jimb@codesourcery.com>
10829
10830 * Makeconfig (test-wrapper): New variable,
10831 (test-wrapper-env): Likewise.
10832 [$(cross-compiling) = yes && $(test-wrapper) != ""]
10833 (run-built-tests): Define to yes.
10834 (run-program-prefix): Use $(test-wrapper).
10835 (built-program-cmd): Likewise.
10836 * Rules (make-test-out): Use $(test-wrapper-env) and
10837 $(host-built-program-cmd).
10838 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
10839 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
10840 tst-pathopt.sh.
10841 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
10842 $(test-wrapper-env) to tst-rtld-load-self.sh.
10843 ($(objpfx)order2.out): Use $(test-wrapper).
10844 ($(objpfx)tst-initorder.out): Likewise.
10845 ($(objpfx)tst-initorder2.out): Likewise.
10846 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
10847 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
10848 (test_wrapper_env): New variable. Use it to run ld.so.
10849 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
10850 Use it to run ld.so.
10851 (test_wrapper_env): Likewise.
10852 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
10853 $(test-wrapper) to run-iconv-test.sh.
10854 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
10855 (ICONV): Use $test_wrapper.
10856 * posix/Makefile ($(objpfx)globtest.out): Pass
10857 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
10858 globtest.sh, not $(run-program-prefix).
10859 * posix/globtest.sh (run_via_rtld_prefix): New variable.
10860 (test_wrapper): Likewise.
10861 (test_wrapper_env): Likewise. Use it to run globtest with HOME
10862 set together with run_via_rtld_prefix.
10863 (run_program_prefix): Define in terms of test_wrapper and
10864 run_via_rtld_prefix.
10865
108662012-10-24 Roland McGrath <roland@hack.frob.com>
10867
10868 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
10869 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
10870 Targets removed.
10871
10872 [BZ #14743]
10873 * include/time.h: Remove librt_hidden_proto (clock_gettime).
10874 Declare __clock_getres, __clock_gettime, __clock_settime,
10875 __clock_nanosleep, and __clock_getcpuclockid.
10876 * rt/clock_gettime.c: Define __clock_gettime as an alias.
10877 Remove librt_hidden_def (clock_gettime).
10878 * sysdeps/unix/clock_gettime.c: Likewise.
10879 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
10880 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10881 * rt/clock_getres.c: Define __clock_getres as an alias.
10882 * sysdeps/posix/clock_getres.c: Likewise.
10883 * rt/clock_settime.c: Define __clock_settime as an alias.
10884 * sysdeps/unix/clock_settime.c: Likewise.
10885 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
10886 * sysdeps/unix/clock_nanosleep.c: Likewise.
10887 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10888 * rt/clock-compat.c: New file.
10889 * rt/Makefile (librt-routines): Add clock-compat and move
10890 $(clock-routines) to ...
10891 (routines): ... here, new variable.
10892 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
10893 Don't add get_clockfreq here.
10894 * rt/Versions (libc: GLIBC_2.17): New version set.
10895 Add clock_* symbols here.
10896 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
10897 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
10898 (GLIBC_2.17): Add clock_* symbols.
10899 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10900 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10901 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10903 Likewise.
10904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10905 Likewise.
10906 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10907 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10910 * NEWS: Mention the move.
10911
10912 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10913 Use __open, __read, __close rather than their public counterparts.
10914 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10915 (__get_clockfreq_via_cpuinfo): Likewise.
10916 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
10917 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
10918
10919 * config.h.in (HAVE_IFUNC): New #undef.
10920 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
10921 was successful.
10922 * configure: Regenerated.
10923
109242012-10-24 Mike Frysinger <vapier@gentoo.org>
10925
10926 * configure.in: Move READELF check to start of file.
10927 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
10928 libc_cv_asm_gnu_indirect_function in the process.
10929 * configure: Regenerated.
10930
109312012-10-24 Mike Frysinger <vapier@gentoo.org>
10932
10933 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
10934 send the output to /dev/null.
10935 (libc_cv_cc_with_libunwind): Likewise.
10936 (libc_cv_as_noexecstack): Likewise.
10937 * configure: Regenerate.
10938
109392012-10-24 Joseph Myers <joseph@codesourcery.com>
10940
10941 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
10942
10943 * posix/globtest.sh (TMPDIR): Do not set.
10944 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
10945 (testout): Likewise.
10946
109472012-10-24 Andreas Jaeger <aj@suse.de>
10948
10949 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
10950 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
10951 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
10952 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
10953 posix_fadvise64, posix_fallocate64.
10954
10955 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
10956 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
10957 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
10958 Likewise.
10959 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
10960 Likewise.
10961 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
10962
10963 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
10964 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
10965 <bits/fcntl-linux.h>.
10966 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
10967
10968 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
10969 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
10970 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
10971 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
10972 [__WORDSIZE != 64]: Likewise.
10973
109742012-10-23 Joseph Myers <joseph@codesourcery.com>
10975
10976 * Makeconfig (run-built-tests): New variable.
10977 * Rules [$(cross-compiling) = yes]: Change condition to
10978 [$(run-built-tests) = no].
10979 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
10980 to [$(run-built-tests) = yes].
10981 * elf/Makefile [$(cross-compiling) = no]: Likewise
10982 * grp/Makefile [$(cross-compiling) = no]: Likewise.
10983 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
10984 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
10985 * intl/Makefile [$(cross-compiling) = no]: Likewise.
10986 * io/Makefile [$(cross-compiling) = no]: Likewise.
10987 * libio/Makefile [$(cross-compiling) = no]: Likewise.
10988 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
10989 * misc/Makefile [$(cross-compiling) = no]: Likewise.
10990 * posix/Makefile [$(cross-compiling) = no]: Likewise.
10991 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
10992 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
10993 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
10994 * string/Makefile [$(cross-compiling) = no]: Likewise.
10995
10996 * posix/Makefile ($(objpfx)globtest.out): Pass
10997 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
10998 $(rtld-installed-name).
10999 * posix/globtest.sh (elf_objpfx): Remove variable.
11000 (rtld_installed_name): Likewise.
11001 (library_path): Likewise.
11002 (run_program_prefix): New variable. Use for running globtest
11003 binary.
11004
110052012-10-23 Jim Blandy <jimb@codesourcery.com>
11006 Joseph Myers <joseph@codesourcery.com>
11007
11008 * Makeconfig (host-built-program-cmd): New variable.
11009 * elf/Makefile (tst-stackguard1-ARGS): Use
11010 $(host-built-program-cmd).
11011 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11012 (tst-spawn-ARGS): Likewise.
11013 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11014
110152012-10-23 Joseph Myers <joseph@codesourcery.com>
11016 Jim Blandy <jimb@codesourcery.com>
11017
11018 * Makeconfig (run-via-rtld-prefix): New variable.
11019 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11020 (built-program-cmd): Likewise.
11021
110222012-10-22 Andreas Jaeger <aj@suse.de>
11023
11024 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11025 __O_RSYNC if it exists, otherwise to O_SYNC.
11026
110272012-10-22 Jim Blandy <jimb@codesourcery.com>
11028 Joseph Myers <joseph@codesourcery.com>
11029
11030 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11031 /dev/null.
11032 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11033 from /dev/null
11034 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11035 /dev/null.
11036
110372012-10-22 Andreas Jaeger <aj@suse.de>
11038
11039 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11040 Define always.
11041 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11042
11043 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11044 bits/fcntl-linux.h.
11045
11046 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11047 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11048
11049 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11050 to __O_LARGEFILE.
11051 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11052 to __O_LARGEFILE.
11053
110542012-10-21 Jim Blandy <jimb@codesourcery.com>
11055 Joseph Myers <joseph@codesourcery.com>
11056
11057 * config.make.in (NM): New variable.
11058
110592012-10-21 Andreas Jaeger <aj@suse.de>
11060
11061 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11062 definitions and declarations that are provided by
11063 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11064
110652012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11066
11067 [BZ #14683]
11068 * elf/Makefile (tests-static): Add tst-leaks1-static.
11069 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11070 ($(objpfx)tst-leaks1-static): New rule.
11071 ($(objpfx)tst-leaks1-static-mem): Likewise.
11072 (tst-leaks1-static-ENV): New macro.
11073 * elf/dl-open.c (dl_open_worker): Check the main application
11074 only if SHARED is defined.
11075 * elf/tst-leaks1-static.c: New file.
11076
110772012-10-20 Andreas Jaeger <aj@suse.de>
11078
11079 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11080 generic values for Linux.
11081 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11082 and declarations that are provided by <bits/fcntl-linux.h> and
11083 include <bits/fcntl-linux.h>.
11084 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11085 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11086
110872012-10-20 Roland McGrath <roland@hack.frob.com>
11088
11089 * io/fcntl.h: Move include of <bits/types.h> to the top and
11090 include it unconditionally.
11091
110922012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11093
11094 * wcsmbs/Makefile (tests-ifunc): New variable.
11095 (tests): Add $(tests-ifunc).
11096 * wcsmbs/test-wcschr-ifunc.c: New file.
11097 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11098 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11099 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11100 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11101 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11102
11103 * string/Makefile (tests-ifunc): New variable.
11104 (tests): Add $(tests-ifunc).
11105 * string/test-memccpy.c (TEST_NAME): New macro.
11106 * string/test-memchr.c (TEST_NAME): Likewise.
11107 * string/test-memcmp.c (TEST_NAME): Likewise.
11108 * string/test-memcpy.c (TEST_NAME): Likewise.
11109 * string/test-memmem.c (TEST_NAME): Likewise.
11110 * string/test-memmove.c (TEST_NAME): Likewise.
11111 * string/test-memset.c (TEST_NAME): Likewise.
11112 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11113 * string/test-stpcpy.c (TEST_NAME): Likewise.
11114 * string/test-stpncpy.c (TEST_NAME): Likewise.
11115 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11116 * string/test-strcasestr.c (TEST_NAME): Likewise.
11117 * string/test-strcat.c (TEST_NAME): Likewise.
11118 * string/test-strchr.c (TEST_NAME): Likewise.
11119 * string/test-strcmp.c(TEST_NAME): Likewise.
11120 * string/test-strcpy.c (TEST_NAME): Likewise.
11121 * string/test-strcspn.c (TEST_NAME): Likewise.
11122 * string/test-strlen.c (TEST_NAME): Likewise.
11123 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11124 * string/test-strncmp.c (TEST_NAME): Likewise.
11125 * string/test-strncpy.c (TEST_NAME): Likewise.
11126 * string/test-strnlen.c (TEST_NAME): Likewise.
11127 * string/test-strpbrk.c (TEST_NAME): Likewise.
11128 * string/test-strrchr.c (TEST_NAME): Likewise.
11129 * string/test-strspn.c (TEST_NAME): Likewise.
11130 * string/test-strstr.c (TEST_NAME): Likewise.
11131 * string/test-bcopy-ifunc.c: New file.
11132 * string/test-bzero-ifunc.c: Likewise.
11133 * string/test-memccpy-ifunc.c: Likewise.
11134 * string/test-memchr-ifunc.c: Likewise.
11135 * string/test-memcmp-ifunc.c: Likewise.
11136 * string/test-memcpy-ifunc.c: Likewise.
11137 * string/test-memmem-ifunc.c: Likewise.
11138 * string/test-memmove-ifunc.c: Likewise.
11139 * string/test-mempcpy-ifunc.c: Likewise.
11140 * string/test-memset-ifunc.c: Likewise.
11141 * string/test-rawmemchr-ifunc.c: Likewise.
11142 * string/test-stpcpy-ifunc.c: Likewise.
11143 * string/test-stpncpy-ifunc.c: Likewise.
11144 * string/test-strcasecmp-ifunc.c: Likewise.
11145 * string/test-strcasestr-ifunc.c: Likewise.
11146 * string/test-strcat-ifunc.c: Likewise.
11147 * string/test-strchr-ifunc.c: Likewise.
11148 * string/test-strchrnul-ifunc.c: Likewise.
11149 * string/test-strcmp-ifunc.c: Likewise.
11150 * string/test-strcpy-ifunc.c: Likewise.
11151 * string/test-strcspn-ifunc.c: Likewise.
11152 * string/test-strlen-ifunc.c: Likewise.
11153 * string/test-strncasecmp-ifunc.c: Likewise.
11154 * string/test-strncat-ifunc.c: Likewise.
11155 * string/test-strncmp-ifunc.c: Likewise.
11156 * string/test-strncpy-ifunc.c: Likewise.
11157 * string/test-strnlen-ifunc.c: Likewise.
11158 * string/test-strpbrk-ifunc.c: Likewise.
11159 * string/test-strrchr-ifunc.c: Likewise.
11160 * string/test-strspn-ifunc.c: Likewise.
11161 * string/test-strstr-ifunc.c: Likewise.
11162
11163 * debug/Makefile (tests-ifunc): New variable.
11164 (tests): Add $(tests-ifunc).
11165 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11166 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11167 * debug/test-stpcpy_chk-ifunc.c: New file.
11168 * debug/test-strcpy_chk-ifunc.c: Likewise.
11169
111702012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11171
11172 [BZ #13601]
11173 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11174 header is not read in.
11175
111762012-10-19 Joseph Myers <joseph@codesourcery.com>
11177
11178 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11179 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11180 directly. Pass built executable to script as
11181 $(built-program-cmd).
11182 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11183 $testprogram without using LD_LIBRARY_PATH and $ldso.
11184
11185 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11186 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11187 $(rtld-installed-name).
11188 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11189 (rtld_installed_name): Likewise.
11190 (library_path): Likewise.
11191 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11192 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11193 $(run-program-prefix) to tst-tables.sh.
11194 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11195 it to run tst-table-from and tst-table-to.
11196 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11197 Pass it to tst-table.sh.
11198 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11199 $(run-program-prefix) to tst-gettext.sh.
11200 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11201 tst-translit.sh.
11202 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11203 tst-gettext2.sh.
11204 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11205 to run tst-gettext.
11206 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11207 to run tst-gettext2.
11208 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11209 to run tst-translit.
11210 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11211 $(run-program-prefix) to tst-mtrace.sh.
11212 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11213 to run tst-mtrace.
11214 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11215 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11216 $(rtld-installed-name).
11217 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11218 (rtld_installed_name): Likewise.
11219 (run_program_prefix): New variable. Use it to run wordexp-test.
11220
11221 * Makeconfig (ARCH): Remove all definitions.
11222 (machine): Likewise.
11223 [ARCH]: Remove conditional code.
11224 [!objdir]: Give error.
11225 [!objdir] (objpfx): Remove.
11226 [!objdir] (common-objpfx): Likewise.
11227 [!objdir] (common-objdir): Likewise.
11228 * configure.in (config_makefile): Remove. Hardcode Makefile in
11229 AC_CONFIG_FILES call.
11230 * configure: Regenerated.
11231
11232 [BZ #13888]
11233 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11234 or TMPDIR.
11235 (testout): Likewise.
11236
11237 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11238 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11239 $(rtld-installed-name).
11240 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11241 (rtld_installed_name): Likwise.
11242 (runit): Remove function.
11243 (run_getconf): New variable, Use it for running getconf binary.
11244
112452012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11246
11247 [BZ #14716]
11248 * string/test-memmem.c (check_result): New function.
11249 (do_one_test): Use it.
11250 (check1): New function.
11251 (test_main): Use it.
11252
112532012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11254
11255 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11256
112572012-10-18 Joseph Myers <joseph@codesourcery.com>
11258
11259 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11260 (_G_LSEEK64): Likewise.
11261 (_G_MMAP64): Likewise.
11262 (_G_FSTAT64): Likewise.
11263 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11264 (_G_LSEEK64): Likewise.
11265 (_G_MMAP64): Likewise.
11266 (_G_FSTAT64): Likewise.
11267 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11268 unconditional. Call __mmap64 directly.
11269 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11270 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11271 __lseek64 directly.
11272 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11273 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11274 __mmap64 directly.
11275 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11276 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11277 __lseek64 directly.
11278 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11279 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11280 __lseek64 directly.
11281 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11282 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11283 __lseek64 directly.
11284 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11285 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11286 __fxstat64 directly.
11287 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11288 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11289 unconditional.
11290 (freopen64) [!_G_OPEN64]: Remove conditional code.
11291 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11292 unconditional.
11293 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11294 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11295 unconditional.
11296 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11297 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11298 unconditional.
11299 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11300 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11301 unconditional.
11302 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11303 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11304 unconditional.
11305 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11306 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11307 unconditional.
11308 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11309 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11310 unconditional.
11311 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11312
113132012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11314
11315 [BZ #12140]
11316 * manual/memory.texi (Malloc Tunable Parameters): Add note
11317 about free list pointers overwriting some perturb bytes.
11318 Wording suggested by Roland McGrath.
11319
113202012-10-17 Joseph Myers <joseph@codesourcery.com>
11321
11322 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11323 (lgamma_test): Likewise.
11324 (tgamma_test): Likewise.
11325
113262012-10-16 Florian Weimer <fweimer@redhat.com>
11327
11328 [BZ #14700]
11329 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11330 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11331
113322012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11333
11334 * NEWS: Mention BZ #14716.
11335 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11336 when removing AVAILABLE1_USES_J macro.
11337
113382012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11339
11340 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11341 (__bswap_64): __uint64_t for unsigned 64-bit int.
11342
113432012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11344
11345 * include/string.h (memmem): Declare libc hidden alias.
11346 * string/memmem.c (memmem): Define libc hidden alias.
11347 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11348 __read, __close instead of open, read, close.
11349
113502012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11351
11352 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11353 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11354 global and hidden.
11355 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11356 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11357 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11358 Likewise.
11359 (__rawmemchr_sse2): Likewise.
11360 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11361 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11362 (__strchr_sse2): Likewise.
11363 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11364 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11365 (__strcasecmp_sse2): Likewise.
11366 (__strncasecmp_sse2): Likewise.
11367 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11368 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11369 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11370 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11371 (__strrchr_sse2): Likewise.
11372 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11373 ifunc-impl-list.c.
11374 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11375 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11376 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11377 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11378 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11379 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11380 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11381 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11382 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11383 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11384 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11385 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11386 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11387 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11388 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11389 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11390 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11391 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11392 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11393 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11394 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11395 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11396 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11397 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11398 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11399 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11400 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11401 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11402 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11403 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11404
11405 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11406 global and hidden.
11407 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11408 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11409 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11410 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11411 Likewise.
11412 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11413 Likewise.
11414 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11415 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11416 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11417 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11418 ifunc-impl-list.c.
11419 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11420 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11421 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11422 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11423 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11424 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11425 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11426 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11427 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11428 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11429 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11430 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11431 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11432 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11433 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11434 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11435 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11436 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11437 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11438 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11439 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11440 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11441 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11442 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11443 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11444 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11445 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11446 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11447 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11448 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11449 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11450 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11451 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11452 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11453 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11454 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11455 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11456 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11457 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11458 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11459 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11460
11461 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11462 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11463 * include/ifunc-impl-list.h: New file.
11464 * misc/ifunc-impl-list.c: Likewise.
11465 * misc/Makefile (routines): Add ifunc-impl-list.
11466 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11467 * string/test-string.h: Include <ifunc-impl-list.h>.
11468 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11469 impl_array): New variables.
11470 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11471 are defined.
11472 (test_init): Call __libc_ifunc_impl_list to initialize
11473 func_list if TEST_IFUNC and TEST_NAME are defined.
11474
11475 * string/Makefile (strop-tests): Add bcopy and bzero.
11476 * string/test-bcopy.c: New file.
11477 * string/test-bzero.c: Likewise.
11478 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11479 defined.
11480 * string/test-memset.c: Support bzero test if TEST_BZERO is
11481 defined.
11482 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11483 __libc_memmove.
11484 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11485 __libc_memset.
11486 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11487 of memset.
11488
114892012-10-10 Joseph Myers <joseph@codesourcery.com>
11490
11491 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11492 * configure: Regenerated.
11493
11494 * Makeconfig (+link-static-before-libc): Don't include
11495 $(link-static-libc).
11496
11497 * libio/libio.h (_IO_pos_t): Remove.
11498
114992012-10-10 Alexandre Oliva <aoliva@redhat.com>
11500
11501 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11502 McGrath.
11503
115042012-10-10 Alexandre Oliva <aoliva@redhat.com>
11505
11506 * crypt/crypt-entry.c: Include fips-private.h.
11507 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11508 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11509 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11510 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11511
115122012-10-10 Alexandre Oliva <aoliva@redhat.com>
11513
11514 * crypt/crypt-private.h: Include stdbool.h.
11515 (_ufc_setup_salt_r): Return bool.
11516 * crypt/crypt-entry.c: Include errno.h.
11517 (__crypt_r): Return NULL with EINVAL for bad salt.
11518 * crypt/crypt_util.c (bad_for_salt): New.
11519 (_ufc_setup_salt_r): Check that salt is long enough and within
11520 the specified alphabet.
11521 * crypt/badsalttest.c: New file.
11522 * crypt/Makefile (tests): Add it.
11523 ($(objpfx)badsalttest): New.
11524
115252012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11526
11527 * NEWS: Add entry for BZ #14602.
11528
115292012-10-09 Joseph Myers <joseph@codesourcery.com>
11530
11531 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11532 type-generic.
11533 * math/libm-test.inc: Update comment listing what functions and
11534 macros are tested.
11535 (isgreater_test): New function.
11536 (isgreaterequal_test): Likewise.
11537 (isless_test): Likewise.
11538 (islessequal_test): Likewise.
11539 (islessgreater_test): Likewise.
11540 (isunordered_test): Likewise.
11541 (main): Call the new functions.
11542
115432012-10-09 Roland McGrath <roland@hack.frob.com>
11544
11545 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11546 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11547 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11548 * sysdeps/i386/configure: Regenerated.
11549 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11550 * sysdeps/mach/configure: Regenerated.
11551 * sysdeps/mach/hurd/configure: Regenerated.
11552 * sysdeps/powerpc/configure: Regenerated.
11553 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11554 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11555 * sysdeps/s390/s390-32/configure: Regenerated.
11556 * sysdeps/s390/s390-64/configure: Regenerated.
11557 * sysdeps/sh/configure: Regenerated.
11558 * sysdeps/sparc/configure: Regenerated.
11559 * sysdeps/unix/sysv/linux/configure: Regenerated.
11560 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11561 * sysdeps/x86_64/configure: Regenerated.
11562
11563 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11564 defined. Don't check if MAP is NULL.
11565
115662012-10-09 Joseph Myers <joseph@codesourcery.com>
11567
11568 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11569 (_G_stat64): Likewise.
11570 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11571 (_G_stat64): Likewise.
11572 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11573 instead of struct _G_stat64.
11574 * libio/fileops.c (mmap_remap_check): Likewise.
11575 (decide_maybe_mmap): Likewise.
11576 (_IO_new_file_seekoff): Likewise.
11577 (_IO_file_stat): Likewise.
11578 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11579 _G_off64_t.
11580 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11581 instead of struct _G_stat64.
11582 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11583
115842012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
11585
11586 [BZ #14602]
11587 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11588 Replace with ...
11589 (CHECK_EOL): New macro.
11590 (two_way_short_needle): Check beginning of haystack for EOL. Use
11591 CHECK_EOL.
11592 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11593 Replace with CHECK_EOL.
11594 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11595 Replace with CHECK_EOL.
11596
115972012-10-08 Joseph Myers <joseph@codesourcery.com>
11598
11599 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11600 type-generic.
11601 * math/libm-test.inc: Update comment listing what functions and
11602 macros are tested.
11603 (finite_test): New function.
11604 (isinf_test): Likewise.
11605 (isnan_test): Likewise.
11606 (fpclassify_test): Test subnormal input.
11607 (isfinite_test): Likewise.
11608 (isnormal_test): Likewise.
11609 (main): Call the new functions.
11610
116112012-10-08 Jonathan Nieder <jrnieder@gmail.com>
11612
11613 [BZ #14660]
11614 * Makerules (%.dynsym): Force C locale when running
11615 $(OBJDUMP) --dynamic-syms.
11616
116172012-10-08 Andreas Schwab <schwab@linux-m68k.org>
11618
11619 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11620 <stdint.h>.
11621
116222012-10-06 David S. Miller <davem@davemloft.net>
11623
11624 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11625 upper 32-bits of the length value in %o2 since we use branch-on-register
11626 tests which consider the entire 64-bit register.
11627
116282012-10-06 H.J. Lu <hongjiu.lu@intel.com>
11629
11630 * string/test-strstr.c (check2): Add a test for page boundary.
11631
116322012-10-05 David S. Miller <davem@davemloft.net>
11633
11634 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11635 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11636 file.
11637 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11638 sysdep_routines.
11639 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11640 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11641 and bzero when HWCAP_SPARC_CRYPTO is present.
11642
116432012-10-05 H.J. Lu <hongjiu.lu@intel.com>
11644
11645 [BZ #14602]
11646 * string/test-strstr.c (check2): New function.
11647 (test_main): Call check2.
11648
11649 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11650 and bug-strchr1.
11651 * string/bug-strcasestr1.c (do_test): Moved to ...
11652 * string/test-strcasestr.c (check1): Here. New function.
11653 (do_one_test): Break out result checking code into ...
11654 (check_result): This. New function.
11655 (do_one_test): Call check_result.
11656 (test_main): Call check1.
11657 * string/bug-strchr1.c (do_test): Moved to ...
11658 * string/test-strchr.c (check1): Here. New function.
11659 (do_one_test): Break out result checking code into ...
11660 (check_result): This. New function.
11661 (do_one_test): Call check_result.
11662 (test_main): Call check1.
11663 * string/bug-strstr1.c (main): Moved to ...
11664 * string/test-strstr.c (check1): Here. New function.
11665 (do_one_test): Break out result checking code into ...
11666 (check_result): This. New function.
11667 (do_one_test): Call check_result.
11668 (test_main): Call check1.
11669 * string/bug-strcasestr1.c: Removed.
11670 * string/bug-strchr1.c: Likewise.
11671 * string/bug-strstr1.c: Likewise.
11672
11673 * elf/Makefile (dl-routines): Add hwcaps.
11674 * elf/dl-support.c (_dl_important_hwcaps): Removed.
11675 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11676 (_dl_important_hwcaps): Moved to ...
11677 * elf/dl-hwcaps.c: Here. New file.
11678 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11679
11680 [BZ #14557]
11681 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11682 if IS_IN_rtld isn't defined.
11683
11684 * elf/dl-support.c (_dl_sysinfo_map): New.
11685 Include "get-dynamic-info.h" and "setup-vdso.h".
11686 (_dl_non_dynamic_init): Call setup_vdso.
11687 * elf/dynamic-link.h: Don't include <assert.h>.
11688 (elf_get_dynamic_info): Moved to ...
11689 * elf/get-dynamic-info.h: Here. New file.
11690 * elf/dynamic-link.h: Include "get-dynamic-info.h".
11691 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11692 * elf/setup-vdso.h: Here. New file.
11693 * elf/rtld.c: Include "setup-vdso.h".
11694 (dl_main): Call setup_vdso.
11695
116962012-10-05 Joseph Myers <joseph@codesourcery.com>
11697
11698 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11699 creal in comment listing functions tested. List finite, isinf,
11700 isnan, isless, islessequal, isgreater, isgreaterequal,
11701 islessgreater, isunordered, lgamma_r and pow10 as functions and
11702 macros not tested. Mention which functions not tested are aliases
11703 for other functions. Fix typo. Note that signs of NaNs are not
11704 tested.
11705
11706 * scripts/config.guess: Update from config.git.
11707 * scripts/config.sub: Likewise.
11708
117092012-10-04 Roland McGrath <roland@hack.frob.com>
11710
11711 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11712 * misc/madvise.c (madvise): Renamed to __madvise.
11713 Make madvise a weak alias.
11714 * include/sys/mman.h: Declare __madvise.
11715 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11716 * sysdeps/unix/syscalls.list
11717 (madvise): Make __madvise the strong name, and madvise a weak alias.
11718 * sysdeps/unix/sysv/linux/syscalls.list
11719 (madvise, mmap): Remove redundant entries.
11720 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11721 * malloc/malloc.c (mtrim): Likewise.
11722 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11723
117242012-10-03 Roland McGrath <roland@hack.frob.com>
11725
11726 * sysdeps/mach/hurd/dl-cache.c: File removed.
11727 * config.h.in (USE_LDCONFIG): New #undef.
11728 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11729 * configure: Regenerated.
11730 * elf/Makefile (dl-routines): Add dl-cache only under
11731 [$(use-ldconfig) = yes].
11732 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11733 cache on [USE_LDCONFIG].
11734 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11735 [USE_LDCONFIG].
11736 * elf/rtld.c (dl_main): Likewise.
11737
117382012-10-03 Pino Toscano <toscano.pino@tiscali.it>
11739
11740 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11741 _SC_LEVEL4_CACHE_LINESIZE.
11742
117432012-10-03 Roland McGrath <roland@hack.frob.com>
11744
11745 * sysdeps/unix/bsd/confstr.h: File removed.
11746
117472012-10-02 Alexandre Oliva <aoliva@redhat.com>
11748
11749 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11750 sys/sdt-config.h.
11751
117522012-10-02 Roland McGrath <roland@hack.frob.com>
11753
11754 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11755 Make 'mapoff' field ElfW(Off) rather than off_t.
11756
117572012-10-02 Dmitry V. Levin <ldv@altlinux.org>
11758
11759 * nscd/Makefile: Remove nscd-cflags and all its users.
11760 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11761 (CFLAGS-nonlib): Add compiler flags for nscd modules.
11762
11763 [BZ #10631]
11764 * malloc.c (malloc_printerr): Clarify error message.
11765
117662012-10-02 H.J. Lu <hongjiu.lu@intel.com>
11767
11768 [BZ #14648]
11769 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11770 Set bit_FMA_Usable if FMA is supported.
11771 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11772 macro.
11773 (bit_FMA4_Usable): Updated.
11774 (index_FMA_Usable): New macro.
11775 (CPUID_FMA): Likewise
11776 (HAS_FMA): Defined with bit_FMA_Usable.
11777
117782012-10-01 Roland McGrath <roland@hack.frob.com>
11779
11780 * bits/types.h (__swblk_t): Type removed.
11781 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11782 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11783 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11784 (__SWBLK_T_TYPE): Likewise.
11785 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11786 (__SWBLK_T_TYPE): Likewise.
11787 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11788 (__SWBLK_T_TYPE): Likewise.
11789 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11790 (__SWBLK_T_TYPE): Likewise.
11791
117922012-10-01 Patsy Franklin <pfrankli@redhat.com>
11793 Honza Horak <hhorak@redhat.com>
11794
11795 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11796 (xdr_mapname): Use YPMAXMAP as maxsize.
11797 (xdr_peername): Use YPMAXPEER as maxsize.
11798 (xdr_keydat): Use YPAXRECORD as maxsize.
11799 (xdr_valdat): Use YPMAXRECORD as maxsize.
11800
118012012-10-01 Roland McGrath <roland@hack.frob.com>
11802
11803 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11804
11805 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11806 * csu/init-first.c: ... here.
11807 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11808 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11809 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11810 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11811 * sysdeps/i386/init-first.c: File removed.
11812 * sysdeps/sh/init-first.c: File removed.
11813
118142012-10-01 Joseph Myers <joseph@codesourcery.com>
11815
11816 [BZ #14645]
11817 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11818 if x * y might underflow to zero and z is zero.
11819 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11820 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11821 * math/libm-test.inc (min_subnorm_value): New variable.
11822 (fma_test): Add more tests.
11823 (fma_test_towardzero): Likewise.
11824 (fma_test_downward): Likewise
11825 (fma_test_upward): Likewise.
11826 (initialize): Set min_subnorm_value.
11827
118282012-09-29 Joseph Myers <joseph@codesourcery.com>
11829
11830 [BZ #14638]
11831 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
11832 0 + 0.
11833 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
11834 mode for addition resulting in exact zero.
11835 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
11836 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
11837 exact 0 + 0.
11838 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11839 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11840 * math/libm-test.inc (fma_test): Add more tests.
11841 (fma_test_towardzero): New function.
11842 (fma_test_downward): Likewise.
11843 (fma_test_upward): Likewise.
11844 (main): Call the new functions.
11845
118462012-09-28 David S. Miller <davem@davemloft.net>
11847
11848 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
11849
118502012-09-28 Roland McGrath <roland@hack.frob.com>
11851
11852 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
11853 instead of SIGALRM.
11854
11855 * sysdeps/gnu/_G_config.h: Moved to ...
11856 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
11857 * sysdeps/mach/hurd/_G_config.h: Moved to ...
11858 * sysdeps/generic/_G_config.h: ... here.
11859
11860 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
11861
11862 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
11863
11864 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
11865 Conditionalize target on [libnss_test1.so-version].
11866
11867 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
11868
11869 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
11870 (elfobjdir): Move out of conditionals.
11871
11872 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
11873 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
11874 (__nss_lookup_function): Conditionalize label remove_from_tree on
11875 [!DO_STATIC_NSS || SHARED], matching its only use.
11876
118772012-09-28 David S. Miller <davem@davemloft.net>
11878
11879 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
11880 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
11881 file.
11882 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11883 sysdep_routines.
11884 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11885 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
11886 when HWCAP_SPARC_CRYPTO is present.
11887
118882012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11889
11890 * io/tst-mknodat.c: Create a FIFO instead of a socket.
11891
118922012-09-28 Andreas Schwab <schwab@linux-m68k.org>
11893
11894 [BZ #6530]
11895 * stdio-common/vfprintf.c (process_string_arg): Revert
11896 2000-07-22 change.
11897
118982011-09-28 Jonathan Nieder <jrnieder@gmail.com>
11899
11900 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
11901 for testcase.
11902 * stdio-common/tst-sprintf.c: Include <locale.h>
11903 (main): Test sprintf's handling of incomplete multibyte
11904 characters.
11905
119062012-09-28 H.J. Lu <hongjiu.lu@intel.com>
11907
11908 * elf/dl-runtime.c (VERSYMIDX): Removed.
11909 * elf/dl-version.c (VERSYMIDX): Likewise.
11910 * elf/do-rel.h (VERSYMIDX): Likewise.
11911 (VALIDX): Likewise.
11912 * elf/dynamic-link.h (VERSYMIDX): Likewise.
11913 * elf/rtld.c (VALIDX): Likewise.
11914 (ADDRIDX): Likewise.
11915 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
11916 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
11917 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
11918 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
11919 (VALIDX): Likewise.
11920 (ADDRIDX): Likewise.
11921
119222012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11923
11924 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
11925
119262012-09-28 Dmitry V. Levin <ldv@altlinux.org>
11927
11928 [BZ #11438]
11929 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
11930 to global scope.
11931 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
11932 addresses are in the same scope as 192.0.2/24.
11933 * posix/gai.conf: Document new scope table defaults.
11934
119352012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11936
11937 [BZ #5298]
11938 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
11939 for ftell. Compute offsets from write pointers instead.
11940 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11941
119422012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11943
11944 [BZ #14543]
11945 * libio/Makefile (tests): New test case tst-fseek.
11946 * libio/tst-fseek.c: New test case to verify that fseek/ftell
11947 combination works in wide mode.
11948 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
11949 state when the external buffer state changes.
11950
119512012-09-27 David S. Miller <davem@davemloft.net>
11952
11953 [BZ #14376]
11954 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
11955 pass reloc->r_addend in as the 'high' argument to
11956 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
11957
11958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11959
119602012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11961
11962 * rt/tst-aio2.c: Include <pthread.h>.
11963 * rt/tst-aio3.c: Likewise.
11964
119652012-09-27 Steve Ellcey <sellcey@mips.com>
11966
11967 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
11968
119692012-09-27 H.J. Lu <hongjiu.lu@intel.com>
11970
11971 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
11972 contents on [SHARED].
11973
119742012-09-26 Marek Polacek <polacek@redhat.com>
11975
11976 [BZ #14530]
11977 [BZ #13741]
11978 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
11979 for C++ and GCC <4.3 as well as for non GCC compilers.
11980
119812012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11982
11983 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11984
119852012-09-25 Roland McGrath <roland@hack.frob.com>
11986
11987 * Makefile.in (all, install): Declare with .PHONY.
11988 Reported by Michael Hope <michael.hope@linaro.org>.
11989
119902012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11991
11992 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
11993 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
11994 system header.
11995 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
11996 Likewise.
11997 (sydep_routines): Add the new and the internal functions.
11998 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
11999 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12001 (GLIBC_2.17): Add the new function.
12002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12003 (GLIBC_2.17): Likewise.
12004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12005 (GLIBC_2.17): Likewise.
12006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12007 (GLIBC_2.17): Likewise.
12008 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12009
120102012-09-25 Alan Modra <amodra@gmail.com>
12011
12012 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12013 Add release barrier before setting once_control to say
12014 initialisation is done. Add hints on lwarx. Use macro in
12015 place of isync.
12016 (clear_once_control): Add release barrier.
12017
120182012-09-25 Joseph Myers <joseph@codesourcery.com>
12019
12020 [BZ #13629]
12021 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12022 specially.
12023 * math/s_clog10.c (__clog10): Likewise.
12024 * math/s_clog10f.c (__clog10f): Likewise.
12025 * math/s_clog10l.c (__clog10l): Likewise.
12026 * math/s_clogf.c (__clogf): Likewise.
12027 * math/s_clogl.c (__clogl): Likewise.
12028 * math/Makefile (libm-calls): Add x2y2m1.
12029 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12030 (__x2y2m1): Likewise.
12031 (__x2y2m1l): Likewise.
12032 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12033 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12034 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12035 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12036 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12037 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12038 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12039 * sysdeps/i386/fpu/libm-test-ulps: Update.
12040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12041
12042 [BZ #14621]
12043 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12044 int as type of variable DEPTH.
12045 (glob): Use size_t instead of int as type of variables NEWCOUNT
12046 and OLD_PATHC.
12047
120482012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12049
12050 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12051 Add s_sincosf-sse2.
12052 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12053 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12054 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12055 macros for using routine as __sincosf_ia32.
12056 Use macro for function declaration and weak_alias.
12057 * sysdeps/i386/fpu/libm-test-ulps: Update.
12058
12059 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12060 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12061
12062 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
12063 subnormal argument.
12064 * math/s_cexpf.c (__cexpf): Likewise.
12065 * math/s_csinf.c (__csinf): Likewise.
12066 * math/s_csinhf.c (__csinhf): Likewise.
12067 * math/s_ctanf.c (__ctanf): Likewise.
12068 * math/s_ctanhf.c (__ctanhf): Likewise.
12069 * math/s_ccosh.c (__ccoshf): Likewise.
12070 * math/s_cexp.c (__cexpl): Likewise.
12071 * math/s_csin.c (__csin): Likewise.
12072 * math/s_csinh.c (__csinh): Likewise.
12073 * math/s_ctan.c (__ctan): Likewise.
12074 * math/s_ctanh.c (ctanh): Likewise.
12075 * math/s_ccoshl.c (__ccoshl): Likewise.
12076 * math/s_cexpl.c (__cexpl): Likewise.
12077 * math/s_csinl.c (__csinl): Likewise.
12078 * math/s_csinhl.c (__csinhl): Likewise.
12079 * math/s_ctanl.c (__ctanl): Likewise.
12080 * math/s_ctanhl.c (__ctanhl): Likewise.
12081
120822012-09-25 Joseph Myers <joseph@codesourcery.com>
12083
12084 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12085 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12086 (_IO_off_t): Define to __off_t, not _G_off_t.
12087 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12088 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12089 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12090 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12091 type of __dummy and __dummy2 fields.
12092 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12093 (_G_ssize_t): Likewise.
12094 (_G_off_t): Likewise.
12095 (_G_pid_t): Likewise.
12096 (_G_uid_t): Likewise.
12097 (_G_wchar_t): Likewise.
12098 (_G_wint_t): Likewise.
12099 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12100 (_G_ssize_t): Likewise.
12101 (_G_off_t): Likewise.
12102 (_G_pid_t): Likewise.
12103 (_G_uid_t): Likewise.
12104 (_G_wchar_t): Likewise.
12105 (_G_wint_t): Likewise.
12106 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12107 (_G_ssize_t): Likewise.
12108 (_G_off_t): Likewise.
12109 (_G_pid_t): Likewise.
12110 (_G_uid_t): Likewise.
12111 (_G_wchar_t): Likewise.
12112 (_G_wint_t): Likewise.
12113
121142012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12115
12116 * malloc/arena.c: Include malloc-sysdep.h.
12117 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12118 is sufficient to shrink the heap or an unmap is needed.
12119 * sysdeps/generic/malloc-sysdep.h: New file. Define
12120 new function check_may_shrink_heap.
12121 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12122 new function check_may_shrink_heap.
12123
121242012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12125
12126 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12127 comments.
12128
121292012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12130
12131 * catgets/test-gencat.sh: Add "set -e".
12132 * elf/tst-pathopt.sh: Likewise.
12133 * grp/tst_fgetgrent.sh: Likewise.
12134 * iconvdata/run-iconv-test.sh: Likewise.
12135 * intl/tst-gettext.sh: Likewise.
12136 * intl/tst-gettext2.sh: Likewise.
12137 * intl/tst-gettext4.sh: Likewise.
12138 * intl/tst-gettext6.sh: Likewise.
12139 * intl/tst-translit.sh: Likewise.
12140 * io/ftwtest-sh: Likewise.
12141 * libio/test-freopen.sh: Likewise.
12142 * malloc/tst-mtrace.sh: Likewise.
12143 * posix/globtest.sh: Likewise.
12144 * posix/tst-getconf.sh: Likewise.
12145 * posix/wordexp-tst.sh: Likewise.
12146 * stdio-common/tst-printf.sh: Likewise.
12147 * stdio-common/tst-unbputc.sh: Likewise.
12148 * stdlib/tst-fmtmsg.sh: Likewise.
12149 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12150 * catgets/Makefile: Do not specify -e option when running
12151 testsuite shell scripts.
12152 * elf/Makefile: Likewise.
12153 * grp/Makefile: Likewise.
12154 * iconvdata/Makefile: Likewise.
12155 * intl/Makefile: Likewise.
12156 * io/Makefile: Likewise.
12157 * libio/Makefile: Likewise.
12158 * malloc/Makefile: Likewise.
12159 * posix/Makefile: Likewise.
12160 * stdio-common/Makefile: Likewise.
12161 * stdlib/Makefile: Likewise.
12162 * sysdeps/x86_64/Makefile: Likewise.
12163
12164 * io/ftwtest-sh: Add copyright header.
12165 * posix/globtest.sh: Likewise.
12166 * posix/tst-getconf.sh: Likewise.
12167 * posix/wordexp-tst.sh: Likewise.
12168 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12169
121702012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12171
12172 [BZ #13679]
12173 * Makeconfig (+link): Defined as $(+link-static) if
12174 $(build-shared) isn't yes.
12175 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12176 isn't yes.
12177 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12178
12179 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12180
12181 [BZ #14562]
12182 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12183 new chunk size with MALLOC_ALIGN_MASK.
12184
121852012-09-24 Joseph Myers <joseph@codesourcery.com>
12186
12187 [BZ #5044]
12188 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12189 <rounding-mode.h>.
12190 (__printf_fphex): Determine rounding using get_rounding_mode and
12191 round_away.
12192 * stdio-common/tst-printf-round.c (struct hex_test): New
12193 structure.
12194 (hex_tests): New variable.
12195 (test_hex_in_one_mode): New function.
12196 (do_test): Also run tests for hex float output.
12197
121982012-09-21 Joseph Myers <joseph@codesourcery.com>
12199
12200 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12201 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12202 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12203 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12204 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12205 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12206 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12207 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12208
122092012-09-20 Joseph Myers <joseph@codesourcery.com>
12210
12211 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12212 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12213 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12214 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12215
122162012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12217
12218 [BZ #14579]
12219 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12220 mode only.
12221 * elf/tst-rtld-load-self.sh: New test.
12222 * elf/Makefile: Run it.
12223
122242012-09-18 Joseph Myers <joseph@codesourcery.com>
12225
12226 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12227 (tst-writev-ENV): Remove.
12228 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12229
122302012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12231
12232 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12233
122342012-09-17 Joseph Myers <joseph@codesourcery.com>
12235
12236 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12237 unconditional.
12238 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12239 Likewise.
12240 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12241 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12242 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12243 Likewise.
12244
122452012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12246
12247 [BZ #14587]
12248 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12249 * config.make.in (have-cpp-asm-debuginfo): Removed.
12250 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12251 * configure: Regenerated.
12252
122532012-09-14 Joseph Myers <joseph@codesourcery.com>
12254
12255 [BZ #5044]
12256 * stdio-common/printf_fp.c: Include <stdbool.h> and
12257 <rounding-mode.h>.
12258 (___printf_fp): Determine rounding using get_rounding_mode and
12259 round_away.
12260 * stdio-common/tst-printf-round.c: New file.
12261 * stdio-common/Makefile (tests): Add tst-printf-round.
12262 (link-libm): New variable.
12263 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12264
122652012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12266
12267 [BZ #14576]
12268 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12269 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12270 Likewise.
12271 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12272 Likewise.
12273
122742012-09-13 Joseph Myers <joseph@codesourcery.com>
12275
12276 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12277 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12278 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12279 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12280
122812012-09-12 Joseph Myers <joseph@codesourcery.com>
12282
12283 [BZ #14518]
12284 * include/rounding-mode.h: New file.
12285 * sysdeps/generic/get-rounding-mode.h: Likewise.
12286 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12287 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12288 (MAX_VALUE): New macro.
12289 (MIN_VALUE): Likewise.
12290 (overflow_value): New function.
12291 (underflow_value): Likewise.
12292 (round_and_return): Use overflow_value and underflow_value to
12293 determine return values in overflow and underflow cases. Use
12294 round_away to determine rounding depending on rounding mode.
12295 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12296 determine return values in overflow and underflow cases.
12297 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12298 (struct test_results): New structure.
12299 (struct test): Use struct test_results to store expected results
12300 for all rounding modes.
12301 (TEST): Include expected results for all rounding modes.
12302 (test_in_one_mode): New function.
12303 (do_test): Use test_in_one_mode to compute and check results.
12304 Check results for all rounding modes.
12305 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12306 $(link-libm).
12307
123082012-12-09 Allan McRae <allan@archlinux.org>
12309
12310 * sysdeps/i386/fpu/libm-test-ulps: Update
12311
123122012-09-11 Joseph Myers <joseph@codesourcery.com>
12313
12314 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12315 (_G_int32_t): Likewise.
12316 (_G_uint16_t): Likewise.
12317 (_G_uint32_t): Likewise.
12318 (_G_HAVE_BOOL): Likewise.
12319 (_G_HAVE_ATEXIT): Likewise.
12320 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12321 (_G_HAVE_IO_FILE_OPEN): Likewise.
12322 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12323 (_G_int32_t): Likewise.
12324 (_G_uint16_t): Likewise.
12325 (_G_uint32_t): Likewise.
12326 (_G_HAVE_BOOL): Likewise.
12327 (_G_HAVE_ATEXIT): Likewise.
12328 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12329 (_G_HAVE_IO_FILE_OPEN): Likewise.
12330 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12331 (_G_int32_t): Likewise.
12332 (_G_uint16_t): Likewise.
12333 (_G_uint32_t): Likewise.
12334 (_G_HAVE_BOOL): Likewise.
12335 (_G_HAVE_ATEXIT): Likewise.
12336 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12337 (_G_HAVE_IO_FILE_OPEN): Likewise.
12338
123392012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12340
12341 * csu/libc-tls.c: Update copyright years.
12342
123432012-09-10 Joseph Myers <joseph@codesourcery.com>
12344
12345 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12346 [!_G_USING_THUNKS]: Remove conditional code.
12347 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12348 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12349
12350 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12351 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12352 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12353 (_G_VTABLE_LABEL_PREFIX): Likewise.
12354 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12355 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12356 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12357 (_G_VTABLE_LABEL_PREFIX): Likewise.
12358 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12359 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12360 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12361 (_G_VTABLE_LABEL_PREFIX): Likewise.
12362 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12363
123642012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12365
12366 * libio/Makefile: Include ../Makeconfig before tests.
12367 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12368 only if $(build-shared) is yes.
12369
12370 * iconv/gconv_db.c: Update copyright years.
12371
123722012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12373
12374 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12375 unwind info if defined PIC. Fix special cases description.
12376 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12377
12378 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12379 DP_HI_MASK entry.
12380 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12381
123822012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12383
12384 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12385
12386 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12387 is NULL.
12388
12389 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12390 (LDLIBS-tst-chk4): This.
12391 (LDFLAGS-tst-chk5): Renamed to ...
12392 (LDLIBS-tst-chk5): This.
12393 (LDFLAGS-tst-chk6): Renamed to ...
12394 (LDLIBS-tst-chk6): This.
12395 (LDFLAGS-tst-lfschk4): Renamed to ...
12396 (LDLIBS-tst-lfschk4): This.
12397 (LDFLAGS-tst-lfschk5): Renamed to ...
12398 (LDLIBS-tst-lfschk5): This.
12399 (LDFLAGS-tst-lfschk6): Renamed to ...
12400 (LDLIBS-tst-lfschk6): This.
12401
12402 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12403 on $(common-objpfx)soversions.mk.
12404
124052012-09-07 Joseph Myers <joseph@codesourcery.com>
12406
12407 [BZ #10014]
12408 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12409 example host name.
12410
124112012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12412
12413 * malloc/arena.c (arena_get_retry): New function that gets
12414 another arena for the caller to try its request on.
12415 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12416 current arena cannot fulfill the request.
12417 (__libc_memalign): Likewise.
12418 (__libc_memalign): Likewise.
12419 (__libc_pvalloc): Likewise.
12420 (__libc_calloc): Likewise.
12421
124222012-09-05 John Tobey <john.tobey@gmail.com>
12423
12424 [BZ #13542]
12425 * manual/arith.texi (Operations on Complex): Fix description
12426 of carg branch cut.
12427
124282012-09-06 Joseph Myers <joseph@codesourcery.com>
12429
12430 [BZ #10014]
12431 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12432 host name.
12433
12434 [BZ #10038]
12435 * manual/memory.texi (Memory): Make order of menu items match
12436 order of sections.
12437
124382012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12439
12440 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12441 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12442 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12443
124442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12445
12446 * csu/libc-tls.c (static_dtv): Renamed to ...
12447 (_dl_static_dtv): This. Make it global.
12448 (_dl_initial_dtv): Removed.
12449 (__libc_setup_tls): Updated.
12450 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12451 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12452 DL_INITIAL_DTV.
12453
124542012-09-06 Petr Machata <pmachata@redhat.com>
12455
12456 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12457 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12458 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12459 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12460
124612012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12462
12463 [BZ #14545]
12464 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12465 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12466 freeing dtv[-1].
12467
124682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12469
12470 [BZ #14544]
12471 * Makeconfig (link-static-before-libc): Replace $(+prector)
12472 with $(+prectorT).
12473 (link-static-after-libc): Replace $(+postctor) with
12474 $(+postctorT).
12475 (link-bounded): Replace $(+prector)/$(+postctor) with
12476 $(+prectorT)/$(+postctorT).
12477 (+prectorT): New macro.
12478 (+postctorT): Likewise.
12479
124802012-09-06 Joseph Myers <joseph@codesourcery.com>
12481
12482 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12483 (round_str): Handle values above the maximum for IBM long double
12484 as inexact.
12485 * stdlib/tst-strtod-round.c (tests): Regenerated.
12486
124872012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12488
12489 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12490 assembler flag.
12491 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12492 zarch_nohighgprs around the zarch optimized routines.
12493 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12494 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12495 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12496 for zarch.
12497
124982012-09-05 David S. Miller <davem@davemloft.net>
12499
12500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12501
12502 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12503 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12504 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12505 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12506 entries.
12507
125082012-09-05 Alexandre Oliva <aoliva@redhat.com>
12509
12510 * malloc/arena.c: Fold copyright years.
12511 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12512
125132012-09-05 Alexandre Oliva <aoliva@redhat.com>
12514
12515 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12516
125172012-09-05 Alexandre Oliva <aoliva@redhat.com>
12518
12519 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12520
125212012-09-05 Alexandre Oliva <aoliva@redhat.com>
12522
12523 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12524 change internal state upon failure.
12525
125262012-09-05 Alexandre Oliva <aoliva@redhat.com>
12527
12528 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12529 * malloc/memusage.c (mmap): Likewise.
12530 (mmap64, mremap): Likewise. Adjust name in comment.
12531
125322012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12533
12534 * libio/fileops.c: Fix typos in comments.
12535 * libio/oldfileops.c: Likewise.
12536 * libio/wfileops.c: Likewise.
12537
125382012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12539
12540 [BZ #1349]
12541 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12542 (tst-malloc-usable-ENV): Set environment for test case.
12543 * malloc/hooks.c (malloc_check_get_size): New function to get
12544 requested size.
12545 * malloc/malloc.c (musable): Use malloc_check_get_size.
12546 * malloc/tst-malloc-usable.c: New test case.
12547
125482012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12549
12550 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12551
125522012-09-05 Allan McRae <allan@archlinux.org>
12553
12554 [BZ #13966]
12555 * configure.in (CXX_SYSINCLUDES): Use compiler output to
12556 determine header location.
12557 * configure: Regenerated.
12558
125592012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12560
12561 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12562 float format.
12563 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
12564 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12565 format.
12566 (test): Regenerate.
12567
125682012-09-04 David S. Miller <davem@davemloft.net>
12569
12570 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12571 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12572 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12573
125742012-09-04 Florian Weimer <fweimer@redhat.com>
12575
12576 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12577 failures.
12578
12579 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12580
125812012-09-04 Joseph Myers <joseph@codesourcery.com>
12582
12583 [BZ #9914]
12584 * libio/iogetdelim.c: Include <limits.h>.
12585 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12586 + len + 1 would overflow.
12587
125882012-09-03 Andreas Jaeger <aj@suse.de>
12589
12590 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12591 * sysdeps/i386/fpu/libm-test-ulps: Update.
12592
125932012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12594
12595 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12596 Add s_sinf-sse2, s_conf-sse2.
12597
12598 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12599 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12600 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12601 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12602
12603 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12604 for using routine as __sinf_ia32.
12605 Use macro for function declaration and weak_alias.
12606 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12607 for using routine as __cosf_ia32.
12608 Use macro for function declaration and weak_alias.
12609
12610 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12611 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12612
12613 * sysdeps/x86_64/fpu/s_sinf.S: New file.
12614 * sysdeps/x86_64/fpu/s_cosf.S: New file.
12615 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12616
12617 * math/libm-test.inc (cos_test): Add more test cases.
12618 (sin_test): Likewise.
12619 (sincos_test): Likewise.
12620
126212012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12622
12623 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12624 (IFUNC_RESOLVE): Make pointers to the specialized implementations
12625 hidden.
12626 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12627
126282012-09-02 H.J. Lu <hongjiu.lu@intel.com>
12629
12630 [BZ #14538]
12631 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12632 first element of the GOT.
12633 (elf_machine_load_address): Return the difference between
12634 the runtime address of _DYNAMIC and elf_machine_dynamic ().
12635
126362012-09-01 Allan McRae <allan@archlinux.org>
12637
12638 [BZ #13412]
12639 * configure.in (AWK): Require gawk version 3.0 or later.
12640 * configure: Regenerated.
12641
126422012-09-01 Joseph Myers <joseph@codesourcery.com>
12643
12644 * sysdeps/unix/sysv/linux/kernel-features.h
12645 (__ASSUME_POSIX_CPU_TIMERS): Remove.
12646 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12647 [__NR_clock_getres]: Make code unconditional.
12648 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12649 (clock_getcpuclockid): Remove code left unreachable by removal of
12650 conditionals.
12651 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12652 code unconditional.
12653 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12654 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12655 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12656 Make code unconditional.
12657 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12658 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12659 * sysdeps/unix/sysv/linux/clock_settime.c
12660 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12661 conditional code.
12662 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12663 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12664
126652012-08-29 H.J. Lu <hongjiu.lu@intel.com>
12666
12667 [BZ #14476]
12668 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12669 scripts/test-installation.pl.
12670
12671 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12672 and $ld_so_version if it is set.
12673
126742012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12675
12676 [BZ #14516]
12677 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12678 failure if reading from procfs failed.
12679 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12680
126812012-08-27 Joseph Myers <joseph@codesourcery.com>
12682
12683 * sysdeps/unix/sysv/linux/kernel-features.h
12684 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12685 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12686 Remove conditional code.
12687 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12688 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12689 Remove conditional code.
12690 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12691 * sysdeps/unix/sysv/linux/i386/fxstat.c
12692 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12693 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12694 * sysdeps/unix/sysv/linux/i386/fxstatat.c
12695 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12696 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12697 * sysdeps/unix/sysv/linux/i386/lxstat.c
12698 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12699 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12700 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12701 Remove conditional code.
12702 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12703 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12704 Remove conditional code.
12705 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12706 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12707 <kernel-features.h>.
12708 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12709 Remove.
12710 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12711 Remove conditional code.
12712 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12713 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12714 Remove conditional.
12715
127162012-08-27 Mike Frysinger <vapier@gentoo.org>
12717
12718 [BZ #5400]
12719 * NEWS: Add fixed bug number.
12720
127212012-08-27 Joseph Myers <joseph@codesourcery.com>
12722
12723 [BZ #14519]
12724 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12725 underflowing exponent in case of negative sign.
12726 * stdlib/tst-strtod-round-data: Add more tests.
12727 * stdlib/tst-strtod-round.c (tests): Regenerated.
12728
12729 [BZ #3479]
12730 * stdlib/strtod_l.c (NDIG): Remove.
12731 (HEXNDIG): Likewise.
12732 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12733 smallest representable value.
12734 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12735 lie within an exact representation of 1/2 ulp of the result.
12736 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12737 unconditionally.
12738 (TENS_P9_IDX): Define unconditionally.
12739 (TENS_P9_SIZE): Likewise.
12740 (TENS_P10_IDX): Likewise.
12741 (TENS_P10_SIZE): Likewise.
12742 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12743 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12744 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12745 entries for 10^2^13 and 10^2^14.
12746 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12747 (TENS_P13_IDX): Define.
12748 (TENS_P13_SIZE): Likewise.
12749 (TENS_P14_IDX): Likewise.
12750 (TENS_P14_SIZE): Likewise.
12751 (_fpioconst_pow10): Change array size to
12752 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
12753 unconditional.
12754 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12755 1024]: Add entries for 10^2^13 and 10^2^14.
12756 [LAST_POW10 > _LAST_POW10]: Remove #error.
12757 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12758 (_fpioconst_pow10): Change array size to
12759 FPIOCONST_POW10_ARRAY_SIZE.
12760 * stdlib/gen-fpioconst.c: New file.
12761 * stdlib/gen-tst-strtod-round.c: Likewise.
12762 * stdlib/tst-strtod-round-data: Likewise.
12763 * stdlib/tst-strtod-round.c: Likewise.
12764 * stdlib/Makefile (tests): Add tst-strtod-round.
12765
12766 [BZ #14459]
12767 * stdlib/strtod_l.c: Include <stdint.h>.
12768 (NDEBUG): Do not define.
12769 (round_and_return): Change EXPONENT parameter to type intmax_t.
12770 Rearrange calculations to avoid internal overflow possibilities.
12771 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12772 Rearrange calculations to avoid internal overflow possibilities.
12773 Assert that number fits inside MPNSIZE limbs.
12774 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12775 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
12776 calculations and add assertions to avoid internal overflow
12777 possibilities. Add casts to avoid signed/unsigned operations.
12778 * stdlib/tst-strtod-overflow.c: New file.
12779 * stdlib/Makefile (tests): Add tst-strtod-overflow.
12780
127812012-08-25 Marek Polacek <polacek@redhat.com>
12782
12783 * time/time.h: Fix some typos in comments.
12784
127852012-08-23 Roland McGrath <roland@hack.frob.com>
12786
12787 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12788 * posix/tst-rfc3484-2.c: Likewise.
12789 * posix/tst-rfc3484-3.c: Likewise.
12790
127912012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
12792
12793 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12794 (EF_ARM_ABI_FLOAT_HARD): Likewise.
12795
127962012-08-23 Joseph Myers <joseph@codesourcery.com>
12797
12798 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12799 #include of fxstatat64.c.
12800
128012012-08-22 Roland McGrath <roland@hack.frob.com>
12802
12803 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12804 * shadow/getspent_r.c: Likewise.
12805 * shadow/getspnam.c: Likewise.
12806 * shadow/getspnam_r.c: Likewise.
12807 * gshadow/getsgent.c: Likewise.
12808 * gshadow/getsgent_r.c: Likewise.
12809 * gshadow/getsgnam.c: Likewise.
12810 * gshadow/getsgnam_r.c: Likewise.
12811 * inet/getnetbyad.c: Likewise.
12812 * inet/getnetbyad_r.c: Likewise.
12813 * inet/getnetbynm.c: Likewise.
12814 * inet/getnetbynm_r.c: Likewise.
12815 * inet/getnetent.c: Likewise.
12816 * inet/getnetent_r.c: Likewise.
12817 * inet/getproto.c: Likewise.
12818 * inet/getproto_r.c: Likewise.
12819 * inet/getprtent.c: Likewise.
12820 * inet/getprtent_r.c: Likewise.
12821 * inet/getprtname.c: Likewise.
12822 * inet/getprtname_r.c: Likewise.
12823 * inet/getrpcbyname.c: Likewise.
12824 * inet/getrpcbyname_r.c: Likewise.
12825 * inet/getrpcbynumber.c: Likewise.
12826 * inet/getrpcbynumber_r.c: Likewise.
12827 * inet/getrpcent.c: Likewise.
12828 * inet/getrpcent_r.c: Likewise.
12829 * inet/getaliasent.c: Likewise.
12830 * inet/getaliasent_r.c: Likewise.
12831 * inet/getaliasname.c: Likewise.
12832 * inet/getaliasname_r.c: Likewise.
12833 * nscd/getgrgid_r.c: Likewise.
12834 * nscd/getgrnam_r.c: Likewise.
12835 * nscd/gethstbyad_r.c: Likewise.
12836 * nscd/gethstbynm3_r.c: Likewise.
12837 * nscd/getpwnam_r.c: Likewise.
12838 * nscd/getpwuid_r.c: Likewise.
12839 * nscd/getsrvbynm_r.c: Likewise.
12840 * nscd/getsrvbypt_r.c: Likewise.
12841 * nscd/gai.c: Likewise.
12842
12843 * configure.in (build_nscd): New substituted variable, set
12844 by --disable-build-nscd and defaults to $use_nscd.
12845 * configure: Regenerated.
12846 * config.make.in (build-nscd): New substituted variable.
12847 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
12848 Change conditional to require [$(build-nscd) = yes] as well.
12849 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
12850
12851 [BZ# 13696]
12852 * configure.in (use_nscd): New substituted variable, set by
12853 --disable-nscd. If enabled, define USE_NSCD.
12854 * configure: Regenerated.
12855 * config.h.in: Add USE_NSCD.
12856 * config.make.in (use-nscd): New substituted variable.
12857 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
12858 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
12859 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
12860 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
12861 (CFLAGS-getgrnam_r.c): Likewise.
12862 (CFLAGS-initgroups.c): Likewise.
12863 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
12864 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
12865 Variables removed.
12866 * inet/getnetgrent_r.c
12867 (nscd_setnetgrent): New function, broken out of ...
12868 (setnetgrent): ... here. Call it.
12869 (innetgr): Conditionalize nscd bits on [USE_NSCD].
12870 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
12871 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
12872 * nscd/Makefile (routines, aux): Move definitions after include of
12873 Makeconfig. Conditionalize on [$(use-nscd) != no].
12874 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
12875 Conditionalize on [USE_NSCD].
12876 (is_nscd, nscd_init_cb): Likewise.
12877 (nss_load_library): Conditionalize init callback on [USE_NSCD].
12878 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
12879 * nss/nss_db/db-init.c: Likewise.
12880 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
12881 [USE_NSCD].
12882 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
12883 (make_request): Use it.
12884 (cache_valid_p): New function.
12885 (__check_pf): Use it.
12886 * NEWS: Add item for --disable-nscd.
12887
128882012-08-22 Dmitry V. Levin <ldv@altlinux.org>
12889
12890 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
12891 to support sed >= 4.2.1-20-ga9bf076.
12892 * configure: Regenerated.
12893
128942012-08-22 Roland McGrath <roland@hack.frob.com>
12895
12896 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
12897 Conditionalize whole body on [IREL].
12898
128992012-08-22 Jeff Law <law@redhat.com>
12900
12901 [BZ #14505]
12902 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
12903 if the family is PF_UNSPEC.
12904
129052012-08-22 Mike Frysinger <vapier@gentoo.org>
12906
12907 * Makerules (lib-version): Rename from V.
12908 (install-lib-nosubdir): Change V to lib-version.
12909
129102012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
12911
12912 [BZ #14252]
12913 * powerpc32/power6/wcschr.c: New file.
12914 * powerpc32/power6/wcscpy.c: New file.
12915 * powerpc32/power6/wcsrchr.c: New file.
12916 * powerpc64/power6/wcschr.c: New file.
12917 * powerpc64/power6/wcscpy.c: New file.
12918 * powerpc64/power6/wcsrchr.c: New file.
12919
129202012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12921
12922 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
12923 (two_way_short_needle): Use it.
12924 * string/strstr.c (AVAILABLE1_USES_J): Define.
12925 * string/strcasestr.c: Likewise.
12926
12927 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
12928 array references.
12929 * string/strcasestr.c (TOLOWER): Make side-effect safe.
12930
12931 [BZ #11607]
12932 * NEWS: Add an entry.
12933 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
12934 define their defaults.
12935 (two_way_short_needle): Detect end-of-string on-the-fly.
12936 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
12937 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
12938 * string/bug-strcasestr1.c: New test.
12939 * string/Makefile: Run it.
12940
129412012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12942
12943 [BZ #11607]
12944 * string/str-two-way.h (two_way_short_needle): Optimize matching of
12945 the first character.
12946
129472012-08-21 Roland McGrath <roland@hack.frob.com>
12948
12949 * csu/elf-init.c (__libc_csu_irel): Function removed.
12950 * csu/libc-start.c (apply_irel): New function.
12951 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
12952
129532012-08-21 Joseph Myers <joseph@codesourcery.com>
12954
12955 * sysdeps/unix/sysv/linux/kernel-features.h
12956 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
12957 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12958 <kernel-features.h>.
12959 [__NR_fadvise64_64]: Make code unconditional.
12960 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
12961 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12962 !__NR_fadvise64_64)]: Likewise.
12963 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12964 !__NR_fadvise64_64))]: Likewise.
12965 [__NR_fadvise64]: Make code unconditional.
12966 [!__NR_fadvise64]: Remove conditional code.
12967 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
12968 <kernel-features.h>.
12969 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12970 unconditional.
12971 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12972 conditional code.
12973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
12974 not include <kernel-features.h>.
12975 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12976 unconditional.
12977 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12978 conditional code.
12979 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
12980 include <kernel-features.h>.
12981 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12982 unconditional.
12983 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12984 conditional code.
12985
129862012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12987
12988 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
12989 slight instruction rearrangements per scrollpipe analysis.
12990 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12991
129922012-08-20 Roland McGrath <roland@hack.frob.com>
12993
12994 * manual/syslog.texi (syslog; vsyslog, closelog):
12995 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
12996 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
12997
12998 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
12999 DSOCAPS to match condition on defining it.
13000
130012012-08-20 Joseph Myers <joseph@codesourcery.com>
13002
13003 * sysdeps/unix/sysv/linux/kernel-features.h
13004 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13006 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13007 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13009 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13010 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13012 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13013 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13014
13015 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13016 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13017
13018 * sysdeps/unix/sysv/linux/kernel-features.h
13019 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13020 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13021 unconditional.
13022 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13023 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13024 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13025 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13026 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13027 Make code unconditional.
13028 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13029 (__mmap64) [!__NR_mmap2]: Likewise.
13030 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13031 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13032 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13033 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13034 [__NR_mmap2]: Make code unconditional.
13035 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13036 (__mmap64) [!__NR_mmap2]: Likewise.
13037
130382012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13039
13040 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13041
130422012-08-18 Andreas Jaeger <aj@suse.de>
13043
13044 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13045
130462012-08-18 Mike Frysinger <vapier@gentoo.org>
13047
13048 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13049 * include/unistd.h (__have_sock_cloexec): Likewise.
13050 (__have_pipe2): Likewise.
13051 (__have_dup3): Likewise.
13052
130532012-08-18 Mike Frysinger <vapier@gentoo.org>
13054
13055 [BZ #9685]
13056 * include/unistd.h (__have_pipe2): Change define into an extern int.
13057 (__have_dup3): Likewise.
13058 * socket/have_sock_cloexec.c: Include fcntl.h.
13059 (__have_pipe2): New variable.
13060 (__have_dup3): Likewise.
13061
130622012-08-17 Mike Frysinger <vapier@gentoo.org>
13063
13064 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13065
130662012-08-17 Marek Polacek <polacek@redhat.com>
13067
13068 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13069 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13070
130712012-08-17 Roland McGrath <roland@hack.frob.com>
13072
13073 * configure.in: Add AC_SUBST for sysheaders.
13074 * configure: Regenerated.
13075 * config.make.in (sysheaders): New substituted variable.
13076
13077 * sysdeps/unix/mkfifo.c: Moved ...
13078 * sysdeps/posix/mkfifo.c: ... here.
13079 * sysdeps/unix/mkfifoat.c: Moved ...
13080 * sysdeps/posix/mkfifoat.c: ... here.
13081
13082 * sysdeps/unix/utime.c: Moved ...
13083 * sysdeps/posix/utime.c: ... here.
13084
13085 * sysdeps/unix/time.c: Moved ...
13086 * sysdeps/posix/time.c: ... here.
13087 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13088 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
13089
13090 * sysdeps/unix/nice.c: Moved ...
13091 * sysdeps/posix/nice.c: ... here.
13092
13093 * sysdeps/unix/alarm.c: Moved ...
13094 * sysdeps/posix/alarm.c: ... here.
13095
13096 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13097
130982012-08-17 Jeff Law <law@redhat.com>
13099
13100 * intl/Makefile (codeset_mo): New variable.
13101 ($(codeset_mo)): New target.
13102 (tst-codeset.out): Depend on that. Remove explicit rule.
13103 (tst-gettext3.out, tst-gettext5.out): Likewise.
13104 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13105 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13106 * intl/tst-codeset.sh: Remove.
13107 * intl/tst-gettext3.sh: Likewise.
13108 * intl/tst-gettext5.sh: Likewise.
13109
131102012-08-17 Roland McGrath <roland@hack.frob.com>
13111
13112 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13113 * sysdeps/unix/syscalls.list: ... here.
13114
13115 * sysdeps/posix/getaddrinfo.c
13116 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13117 (gaiconf_init, gaiconf_reload): Use them.
13118 [!_STATBUF_ST_NSEC]
13119 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13120 Define using time_t rather than struct timespec.
13121
13122 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13123 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13124 Macros removed.
13125 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13126 [!NO_THREADS].
13127 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13128 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13129 Likewise.
13130
13131 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13132 __libc_cleanup_push argument.
13133
13134 * bits/param.h: New file.
13135 * misc/sys/param.h: New file.
13136 * include/sys/param.h: New file.
13137 * misc/Makefile (headers): Add bits/param.h.
13138 * sysdeps/generic/sys/param.h: File removed.
13139 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13140 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13141 * sysdeps/mach/hurd/bits/param.h: New file.
13142 * sysdeps/mach/hurd/sys/param.h: File removed.
13143
13144 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13145 last change.
13146
13147 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13148 [_IO_MTSAFE_IO].
13149 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13150 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13151 New macros.
13152
13153 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13154 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13155 rather than -D_IO_MTSAFE_IO conditionally.
13156 * stdio-common/Makefile (CPPFLAGS): Likewise.
13157 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13158 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13159 Use $(libio-mtsafe).
13160 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13161 of -D_IO_MTSAFE_IO.
13162 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13163 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13164 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13165 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13166 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13167 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13168 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13169 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13170 (CFLAGS-fread_u_chk.c): Likewise.
13171 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13172 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13173 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13174 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13175 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13176 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13177 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13178 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13179 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13180
13181 * libio/Makefile: Test [$(libc-reentrant) = yes]
13182 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13183
13184 * Makeconfig
13185 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13186 * sysdeps/pthread/configure: File removed.
13187 * sysdeps/pthread/Makeconfig: New file.
13188 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13189 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13190
131912012-08-16 Gary Benson <gbenson@redhat.com>
13192
13193 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13194 unmapping the first object in a namespace.
13195
131962012-08-16 Roland McGrath <roland@hack.frob.com>
13197
13198 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13199 (__internal_setnetgrent): ... this. Add internal_function to
13200 definition. Add libc_hidden_def.
13201 (setnetgrent): Update caller.
13202 (internal_endnetgrent): Renamed to ...
13203 (__internal_endnetgrent): ... this. Add internal_function to
13204 definition. Add libc_hidden_def.
13205 (endnetgrent): Update caller.
13206 (internal_getnetgrent_r): Renamed to ...
13207 (__internal_getnetgrent_r): ... this. Add internal_function to
13208 definition. Add libc_hidden_def.
13209 (__getnetgrent_r): Update caller.
13210 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13211
132122012-08-16 Joseph Myers <joseph@codesourcery.com>
13213
13214 * stdlib/longlong.h: Update from GCC.
13215
132162012-08-16 Roland McGrath <roland@hack.frob.com>
13217
13218 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13219 on _QL, which is set by umul_ppmm but never used.
13220 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13221 variables, which are set by GMP macros but never used.
13222 * stdio-common/_itowa.c (_itowa): Likewise.
13223 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13224 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13225
132262012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13227
13228 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13229 struct La_sh_regs is not constant.
13230 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13231 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13232 and struct La_sparc64_regs are not constant.
13233
132342012-08-16 Joseph Myers <joseph@codesourcery.com>
13235
13236 * sysdeps/unix/sysv/linux/kernel-features.h
13237 (__ASSUME_POSIX_TIMERS): Remove.
13238 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13239 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13240 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13241 Make code unconditional.
13242 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13243 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13244 Make code unconditional.
13245 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13246 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13247 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13248 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13249 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13250 Make code unconditional.
13251 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13252 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13253 (__libc_missing_posix_timers): Remove.
13254
132552012-08-15 Roland McGrath <roland@hack.frob.com>
13256
13257 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13258 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13259
13260 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13261
13262 * elf/dl-sym.c: Include <stdlib.h>.
13263
13264 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13265 constants, which avoids warnings in 32-bit builds.
13266
13267 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13268 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13269
13270 * misc/lseek.c: File moved to ...
13271 * io/lseek.c: ... here.
13272
13273 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13274
13275 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13276 shifting LEN more than 31 bits at once.
13277
132782012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13279
13280 [BZ #14195]
13281 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13282 segmentation fault for a case of two empty input strings.
13283 * string/test-strncasecmp.c (check1): Renamed to...
13284 (bz12205): ...this.
13285 (bz14195): Add new testcase for two empty input strings and N > 0.
13286 (test_main): Call new testcase, adapt for renamed function.
13287
132882012-08-15 Andreas Jaeger <aj@suse.de>
13289
13290 [BZ #14090]
13291 * crypt/md5test2.c: New test, based on test supplied by Serge
13292 Belyshev <belyshev@depni.sinp.msu.ru>.
13293 * crypt/Makefile (xtests): Add md5test-giant..
13294 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13295
132962012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13297
13298 [BZ #14090]
13299 * crypt/md5.c (md5_process_block): Don't assume the buffer
13300 length is less than 2**32.
13301 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13302 length is less than 2**64.
13303
133042012-08-15 Roland McGrath <roland@hack.frob.com>
13305
13306 * string/str-two-way.h: Include <sys/param.h>.
13307 (MAX): Macro removed.
13308
13309 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13310 Move #define and #undef of memmove to just before and after
13311 including <string.h>.
13312
13313 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13314 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13315 and after including <string.h>. Move declarations of
13316 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13317 to before #include "string/memmove.c".
13318
13319 * include/dirent.h: Declare __getdirentries.
13320
13321 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13322 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13323
133242012-08-14 Mike Frysinger <vapier@gentoo.org>
13325
13326 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13327 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13328 * sysdeps/i386/configure: Regenerated.
13329 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13330 STABS_CURRENT_FILE, and STABS_FUN.
13331 (END): Remove call to STABS_FUN_END.
13332 (STABS_CURRENT_FILE1): Delete.
13333 (STABS_CURRENT_FILE): Likewise.
13334 (STABS_FUN): Likewise.
13335 (STABS_FUN_END): Likewise.
13336 (STABS_FUN2): Likewise.
13337 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13338 * sysdeps/x86_64/configure: Regenerated.
13339
133402012-08-14 Roland McGrath <roland@hack.frob.com>
13341
13342 * elf/dl-open.c: Include <atomic.h>.
13343 * elf/dl-lookup.c: Likewise.
13344
133452012-08-14 Joseph Myers <joseph@codesourcery.com>
13346
13347 * sysdeps/unix/sysv/linux/kernel-features.h
13348 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13349 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13350 unconditionally.
13351 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13352 unconditionally.
13353 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13354 condition on __ASSUME_CLONE_THREAD_FLAGS.
13355
133562012-08-14 Andreas Jaeger <aj@suse.de>
13357
13358 * sysdeps/i386/fpu/libm-test-ulps: Update.
13359
133602012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13361
13362 * include/atomic.h (atomic_exchange_and_add): Split into ...
13363 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13364 New atomic macros.
13365
133662012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13367
13368 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13369
133702012-08-13 Jeff Law <law@redhat.com>
13371
13372 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13373 null byte in the output string.
13374
133752012-08-10 Joseph Myers <joseph@codesourcery.com>
13376
13377 * sysdeps/unix/sysv/linux/kernel-features.h
13378 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13379 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13380 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13381 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13382 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13383 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13384 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13385
133862012-08-09 Jeff Law <law@redhat.com>
13387
13388 [BZ #13939]
13389 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13390 When avoid_arena is set, don't retry in the that arena. Pick the
13391 next one, whatever it might be.
13392 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13393 (arena_lock): Pass in new parameter to arena_get2.
13394 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13395 arena_get2.
13396 (__libc_malloc): Unify retrying after main arena failure with
13397 __libc_memalign version.
13398 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13399
134002012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13401
13402 [BZ #14166]
13403 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13404 to __redirect_strstr.
13405 (__strstr_sse42): Use typeof __redirect_strstr.
13406 (__strstr_ia32): Likewise.
13407 (__libc_strstr): New prototype.
13408 (strstr): Renamed to ...
13409 (__libc_strstr): This.
13410 (strstr): New strong alias of __libc_strstr.
13411 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13412 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13413 __redirect_time.
13414 Include <time.h>.
13415 (__libc_time): New prototype.
13416 (time_ifunc): Replace time with __libc_time.
13417 (time): New strong alias and hidden definition of __libc_time.
13418 (__GI_time): Remove strong alias.
13419 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13420 Include <stddef.h>.
13421 (memmove): Redefined to __redirect_memmove.
13422 (__memmove_sse2): Use typeof __redirect_memmove.
13423 (__memmove_ssse3): Likewise.
13424 (__memmove_ssse3_back): Likewise.
13425 (__libc_memmove): New prototype.
13426 (memmove): Renamed to ...
13427 (__libc_memmove): This.
13428 (memmove): New strong alias of __libc_memmove.
13429
134302012-08-08 Mark Salter <msalter@redhat.com>
13431
13432 * elf/elf.h
13433 (R_MN10300_TLS_GD): Define.
13434 (R_MN10300_TLS_LD): Likewise.
13435 (R_MN10300_TLS_LDO): Likewise.
13436 (R_MN10300_TLS_GOTIE): Likewise.
13437 (R_MN10300_TLS_IE): Likewise.
13438 (R_MN10300_TLS_LE): Likewise.
13439 (R_MN10300_TLS_DTPMOD): Likewise.
13440 (R_MN10300_TLS_DTPOFF): Likewise.
13441 (R_MN10300_TLS_TPOFF): Likewise.
13442 (R_MN10300_SYM_DIFF): Likewise.
13443 (R_MN10300_ALIGN): Likewise.
13444 (R_MN10300_NUM): Update.
13445
134462012-08-08 Joseph Myers <joseph@codesourcery.com>
13447
13448 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13449 Remove.
13450
134512012-08-08 Roland McGrath <roland@hack.frob.com>
13452
13453 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13454
13455 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13456 sysdeps/unix -> sysdeps/posix move.
13457 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13458
134592012-08-07 Allan McRae <allan@archlinux.org>
13460
13461 [BZ #14303]
13462 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13463 (SUNOS_CPP): Likewise.
13464 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13465 not found.
13466 (open_input): Call CPP using execvp.
13467
134682012-08-07 Joseph Myers <joseph@codesourcery.com>
13469
13470 * sysdeps/unix/sysv/linux/kernel-features.h
13471 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13472 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13473 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13474 (__ASSUME_WAITID_SYSCALL): Likewise.
13475 * sysdeps/unix/sysv/linux/dl-execstack.c
13476 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13477 code unconditional.
13478 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13479 conditional code.
13480 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13481 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13482 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13483 code.
13484 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13485 unconditional.
13486 [__ASSUME_WAITID_SYSCALL]: Likewise.
13487 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13488
134892012-08-07 Roland McGrath <roland@hack.frob.com>
13490
13491 * sysdeps/unix/closedir.c: Renamed to ...
13492 * sysdeps/posix/closedir.c: ... here.
13493 * sysdeps/unix/dirfd.c: Renamed to ...
13494 * sysdeps/posix/dirfd.c: ... here.
13495 * sysdeps/unix/dirstream.h: Renamed to ...
13496 * sysdeps/posix/dirstream.h: ... here.
13497 * sysdeps/unix/fdopendir.c: Renamed to ...
13498 * sysdeps/posix/fdopendir.c: ... here.
13499 * sysdeps/unix/opendir.c: Renamed to ...
13500 * sysdeps/posix/opendir.c: ... here.
13501 * sysdeps/unix/readdir.c: Renamed to ...
13502 * sysdeps/posix/readdir.c: ... here.
13503 * sysdeps/unix/readdir_r.c: Renamed to ...
13504 * sysdeps/posix/readdir_r.c: ... here.
13505 * sysdeps/unix/rewinddir.c: Renamed to ...
13506 * sysdeps/posix/rewinddir.c: ... here.
13507 * sysdeps/unix/seekdir.c: Renamed to ...
13508 * sysdeps/posix/seekdir.c: ... here.
13509 * sysdeps/unix/telldir.c: Renamed to ...
13510 * sysdeps/posix/telldir.c: ... here.
13511 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13512 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13513 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13514 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13515
13516 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13517 * bits/fcntl.h: ... here.
13518
13519 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13520 not 0.
13521 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13522 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13523 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13524 (struct flock): Move l_start, l_len to the beginning.
13525 Use __pid_t for l_pid.
13526 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13527 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13528 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13529 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13530 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13531 [__USE_LARGEFILE64] (struct flock64): New type.
13532 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13533
13534 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13535 * bits/dirent.h: ... here.
13536
13537 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13538 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13539
135402012-08-07 Joseph Myers <joseph@codesourcery.com>
13541
13542 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13543 Change from 2.6.0 to 2.6.16.
13544 * sysdeps/unix/sysv/linux/configure: Regenerated.
13545 * sysdeps/unix/sysv/linux/kernel-features.h
13546 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13547 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13548 version.
13549 (__ASSUME_UTIMES): Likewise.
13550 (__ASSUME_CLONE_STOPPED): Remove.
13551 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13552 architectures, not kernel version.
13553 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13554 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13555 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13556 (__ASSUME_WAITID_SYSCALL): Likewise.
13557 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13558 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13559 * README: State 2.6.16 as minimum Linux kernel version. Do not
13560 refer to older versions.
13561
135622012-08-06 Roland McGrath <roland@hack.frob.com>
13563
13564 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13565 Define alphasort64 as an alias.
13566 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13567 Define versionsort64 as an alias.
13568 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13569 Define scandir64 as an alias.
13570 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13571 Define scandirat64 as an alias.
13572 * dirent/alphasort64.c (alphasort64):
13573 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13574 * dirent/versionsort64.c: Likewise.
13575 * dirent/scandir64.c: Likewise.
13576 * dirent/scandirat64.c: Likewise.
13577 * sysdeps/wordsize-64/alphasort.c: File removed.
13578 * sysdeps/wordsize-64/alphasort64.c: File removed.
13579 * sysdeps/wordsize-64/scandir.c: File removed.
13580 * sysdeps/wordsize-64/scandir64.c: File removed.
13581 * sysdeps/wordsize-64/scandirat.c: File removed.
13582 * sysdeps/wordsize-64/scandirat64.c: File removed.
13583 * sysdeps/wordsize-64/versionsort.c: File removed.
13584 * sysdeps/wordsize-64/versionsort64.c: File removed.
13585 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13586 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13587 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13588 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13589 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13590 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13591 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13592 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13593
13594 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13595 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13596 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13597 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13598 [defined __arch64__ || defined __sparcv9]
13599 (__INO_T_MATCHES_INO64_T): New macro.
13600 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13601 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13602 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13603 * sysdeps/unix/sysv/linux/bits/dirent.h
13604 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13605 (_DIRENT_MATCHES_DIRENT64): New macro.
13606
13607 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13608 Define lockf64 as an alias.
13609 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13610 Define fseeko64 as an alias.
13611 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13612 Define ftello64 as an alias.
13613 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13614 Define _IO_fgetpos64 and fgetpos64 as aliases.
13615 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13616 Define _IO_fsetpos64 and fsetpos64 as aliases.
13617 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13618 Conditionalize body on this.
13619 * libio/fseeko64.c: Likewise.
13620 * libio/ftello64.c: Likewise.
13621 * libio/iofgetpos64.c: Likewise.
13622 * libio/iofsetpos64.c: Likewise.
13623 * sysdeps/wordsize-64/lockf.c: File removed.
13624 * sysdeps/wordsize-64/lockf64.c: File removed.
13625 * sysdeps/wordsize-64/fseeko.c: File removed.
13626 * sysdeps/wordsize-64/fseeko64.c: File removed.
13627 * sysdeps/wordsize-64/ftello.c: File removed.
13628 * sysdeps/wordsize-64/ftello64.c: File removed.
13629 * sysdeps/wordsize-64/iofgetpos.c: File removed.
13630 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13631 * sysdeps/wordsize-64/iofsetpos.c: File removed.
13632 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13633 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13634 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13635 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13636 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13637 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13638 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13639 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13640 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13641 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13642 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13643
13644 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13645 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13646 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13647 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13648 [defined __arch64__ || defined __sparcv9]
13649 (__OFF_T_MATCHES_OFF64_T): New macro.
13650 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13651 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13652 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13653 (__OFF_T_MATCHES_OFF64_T): New macro.
13654
136552012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13656
13657 * stdlib/secure-getenv.c (__secure_getenv): Replace
13658 GLIBC_2_16 with GLIBC_2_17.
13659
136602012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13661
13662 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13663 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13664
136652012-08-03 David S. Miller <davem@davemloft.net>
13666
13667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13668
136692012-08-03 Joseph Myers <joseph@codesourcery.com>
13670
13671 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13672 Remove.
13673 (__ASSUME_CORRECT_SI_PID): Likewise.
13674 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13675 (__ASSUME_TMPFS_NAME): Likewise.
13676 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13677 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13678 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13679 (HAVE_AUX_SECURE): Make definition unconditional.
13680 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13681 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13682
136832012-08-03 Roland McGrath <roland@hack.frob.com>
13684
13685 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13686 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13687 * sysdeps/mach/hurd/eloop-threshold.h: New file.
13688 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13689 __eloop_threshold instead of SYMLOOP_MAX.
13690
13691 * sysdeps/generic/eloop-threshold.h: New file.
13692 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13693 of MAXSYMLINKS.
13694 * elf/chroot_canon.c (chroot_canon): Likewise.
13695
136962012-08-03 Joseph Myers <joseph@codesourcery.com>
13697
13698 [BZ #13717]
13699 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13700 Change to 2.6.0 everywhere.
13701 * sysdeps/unix/sysv/linux/configure: Regenerated.
13702 * sysdeps/unix/sysv/linux/kernel-features.h
13703 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13704 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13705 kernel versions.
13706 (__ASSUME_POSIX_TIMERS): Define unconditionally.
13707 (__ASSUME_FUTEX_REQUEUE): Remove.
13708 (__ASSUME_STATFS64): Define unconditionally.
13709 (__ASSUME_AT_SECURE): Likewise.
13710 (__ASSUME_CORRECT_SI_PID): Likewise.
13711 (__ASSUME_TGKILL): Define without depending on kernel version for
13712 i386.
13713 (__ASSUME_UTIMES): Likewise.
13714 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13715 kernel version.
13716 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13717 (__ASSUME_TMPFS_NAME): Likewise.
13718 * README: Update reference to Linux kernel versions.
13719
137202012-08-02 Marek Polacek <polacek@redhat.com>
13721
13722 [BZ# 14150]
13723 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
13724 libc_cv_asm_type_prefix with %.
13725 * configure: Regenerated.
13726 * include/libc-symbols.h: Remove comment about
13727 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13728 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13729 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13730 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13731 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13732 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13733 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13734 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13735 * elf/tst-unique2mod1.c: Likewise.
13736 * elf/tst-unique1mod2.c: Likewise.
13737 * elf/tst-unique1mod1.c: Likewise.
13738 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13739 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13740 Replace ASM_TYPE_DIRECTIVE with .type.
13741 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13742 * sysdeps/i386/sysdep.h: Likewise.
13743 * sysdeps/x86_64/sysdep.h: Likewise.
13744 * sysdeps/sh/sysdep.h: Likewise.
13745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13746 Do not define ASM_TYPE_DIRECTIVE.
13747 * sysdeps/powerpc/sysdep.h: Likewise.
13748 * sysdeps/powerpc/powerpc32/sysdep.h:
13749 Replace ASM_TYPE_DIRECTIVE with .type.
13750 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13751 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13752 * sysdeps/i386/fpu/e_powf.S: Likewise.
13753 * sysdeps/i386/fpu/e_expl.S: Likewise.
13754 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13755 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13756 * sysdeps/i386/fpu/e_pow.S: Likewise.
13757 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13758 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13759 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13760 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13761 * sysdeps/i386/fpu/e_log2.S: Likewise.
13762 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13763 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13764 * sysdeps/i386/fpu/e_powl.S: Likewise.
13765 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13766 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13767 * sysdeps/i386/fpu/e_logl.S: Likewise.
13768 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13769 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13770 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13771 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13772 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13773 * sysdeps/i386/fpu/e_log.S: Likewise.
13774 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13775 * sysdeps/i386/fpu/e_logf.S: Likewise.
13776 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13777 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13778 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13779 * sysdeps/i386/fpu/e_log10.S: Likewise.
13780 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13781 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13782 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13783 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13784 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13785 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13786 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13787 * sysdeps/i386/i686/strtok.S: Likewise.
13788 * sysdeps/i386/i386-mcount.S: Likewise.
13789 * sysdeps/i386/strtok.S: Likewise.
13790 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13791 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13792 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13793 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13794 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13795 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13796 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13797 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13798 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13799 * sysdeps/x86_64/_mcount.S: Likewise.
13800 * sysdeps/x86_64/strtok.S: Likewise.
13801 * sysdeps/sh/_mcount.S: Likewise.
13802
138032012-08-01 Roland McGrath <roland@hack.frob.com>
13804
13805 * libio/iofopen.c: Include <fcntl.h>.
13806 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13807 (_IO_fopen64, fopen64): Define as aliases.
13808 * libio/iofopen64.c: Include <fcntl.h>.
13809 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13810 Conditionalize body on this.
13811 * sysdeps/wordsize-64/iofopen.c: File removed.
13812 * sysdeps/wordsize-64/iofopen64.c: File removed.
13813
138142012-08-01 Marek Polacek <polacek@redhat.com>
13815
13816 * libc/Makeconfig: Use elf in place of binfmt-subdir.
13817 Use dlfcn directly instead of a variable.
13818 (binfmt-subdir): Do not define.
13819 (dlfcn): Likewise.
13820
138212012-08-01 Joseph Myers <joseph@codesourcery.com>
13822
13823 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
13824 Remove all definitions.
13825 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
13826 <kernel-features.h>.
13827 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13828 (miss_F_GETOWN_EX): Remove all definitions.
13829 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
13830 macro definition.
13831 [!__ASSUME_FCNTL64]: Remove conditional code.
13832 [__ASSUME_FCNTL64]: Make code unconditional.
13833 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
13834 <kernel-features.h>.
13835 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13836 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
13837 (lockf64) [__NR_fcntl64]: Make code unconditional.
13838 (lockf64) [__ASSUME_FCNTL64]: Likewise.
13839
13840 * sysdeps/unix/sysv/linux/kernel-features.h
13841 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
13842 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
13843 Make code unconditional.
13844 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13845 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
13847 [__NR_vfork]: Make code unconditional.
13848 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13849 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
13851 [__NR_vfork]: Make code unconditional.
13852 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13853 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13854
138552012-08-01 Roland McGrath <roland@hack.frob.com>
13856
13857 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
13858 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
13859
13860 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13861 Define mkstemp64 as an alias.
13862 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13863 Define mkstemps64 as an alias.
13864 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13865 Define mkostemp64 as an alias.
13866 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13867 Define mkostemps64 as an alias.
13868 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
13869 Conditionalize body on this.
13870 * misc/mkostemp64.c: Likewise.
13871 * misc/mkostemps64.c: Likewise.
13872 * misc/mkstemps64.c: Likewise.
13873 * sysdeps/wordsize-64/mkstemp64.c: File removed.
13874 * sysdeps/wordsize-64/mkostemp64.c: File removed.
13875 * sysdeps/wordsize-64/mkostemp.c: File removed.
13876 * sysdeps/wordsize-64/mkstemp.c: File removed.
13877 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
13878 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
13879 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
13880 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
13881
13882 [BZ #14138]
13883 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
13884 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
13885 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
13886 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
13887
13888 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
13889 compat_symbol macros from <shlib-compat.h> rather than the underlying
13890 default_symbol_version and symbol_version macros, so that DEFAULT
13891 lines in shlib-versions are respected.
13892 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
13893
138942012-08-01 Florian Weimer <fweimer@redhat.com>
13895
13896 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
13897 Declare with warn_unused_result.
13898 (setgid, setregid, setegid, setresgid): Likewise.
13899 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
13900 Likewise.
13901 * WUR-REPORT: Remove set*id functions.
13902
139032012-07-31 Pino Toscano <toscano.pino@tiscali.it>
13904
13905 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
13906
139072012-07-31 Roland McGrath <roland@hack.frob.com>
13908
13909 [BZ #10191]
13910 * include/sys/socket.h (__libc_accept, __libc_accept4):
13911 Add attribute_hidden.
13912 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
13913
13914 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
13915 use of PTR_MANGLE.
13916 * inet/getnetgrent_r.c (setup): Likewise.
13917
13918 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
13919
139202012-07-31 David S. Miller <davem@davemloft.net>
13921
13922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13923
139242012-07-31 Joseph Myers <joseph@codesourcery.com>
13925
13926 [BZ #13629]
13927 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
13928 value between 1.0 and 2.0 and smaller part has absolute value less
13929 than 1.0.
13930 * math/s_clog10.c (__clog10): Likewise.
13931 * math/s_clog10f.c (__clog10f): Likewise.
13932 * math/s_clog10l.c (__clog10l): Likewise.
13933 * math/s_clogf.c (__clogf): Likewise.
13934 * math/s_clogl.c (__clogl): Likewise.
13935 * math/libm-test.inc (clog_test): Add more tests.
13936 (clog10_test): Likewise.
13937 * sysdeps/i386/fpu/libm-test-ulps: Update.
13938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13939
139402012-07-31 Florian Weimer <fweimer@redhat.com>
13941
13942 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
13943 Exit with zero in case no suitable GID is found, and write a
13944 message to standard error.
13945
139462012-07-30 Roland McGrath <roland@hack.frob.com>
13947
13948 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
13949 rather than to 1.
13950 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
13951 (MAXPATHLEN): Removed.
13952 (NOGROUP, NODEV): New macros.
13953 (setbit, clrbit, isset, isclr): New macros.
13954 (howmany, roundup, powerof2): New macros.
13955 (DEV_BSIZE): New macro.
13956
13957 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
13958 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
13959
13960 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
13961 definition on [!__NO_LONG_DOUBLE_MATH].
13962
13963 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
13964 PTR_MANGLE and PTR_DEMANGLE.
13965
13966 * socket/accept4.c (accept4): Rename to __libc_accept4.
13967 Define accept4 as a weak alias.
13968
13969 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
13970 on [_DIRENT_HAVE_D_TYPE].
13971 * io/ftw.c (ftw_dir): Likewise.
13972
13973 * io/xmknod.c (__xmknod): Don't check PATH for being null.
13974
13975 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
13976
13977 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
13978 Use the BSD numbers rather than the arbitrary ones we had.
13979 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
13980 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
13981 (SIGXCPU, SIGXFSZ): New macros.
13982 (_NSIG): Now 32.
13983
13984 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
13985 initializer on [_LIBC_REENTRANT].
13986
13987 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
13988 definitions inside [_POSIX_MAPPED_FILES].
13989
13990 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
13991
13992 * dirent/opendir.c: Include <fcntl.h>.
13993
13994 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
13995 (__libc_getspecific): Likewise.
13996 (__libc_key_create): Likewise.
13997
13998 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
13999 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14000 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14001 (tmpfile64): Define as alias.
14002 * sysdeps/wordsize-64/tmpfile.c: File removed.
14003 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14004 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14005 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14006
14007 * stdio-common/vfscanf.c: Include <stdbool.h>.
14008 * nss/makedb.c: Likewise.
14009 * stdio-common/_i18n_number.h: Likewise.
14010 * argp/argp-help.c: Likewise.
14011 * posix/wordexp.c: Likewise.
14012 * sysdeps/posix/spawni.c: Likewise.
14013 * nss/nss_files/files-initgroups.c: Likewise.
14014 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14015 * nss/nss_files/files-initgroups.c: Likewise.
14016 * nss/nss_db/db-netgrp.c: Likewise.
14017 * nss/nss_db/db-initgroups.c: Likewise.
14018 * io/fchmodat.c: Include <sys/stat.h>.
14019
14020 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14021 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14022
14023 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14024 [HAVE_MMAP].
14025
14026 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14027 Add multiple inclusion protection.
14028
140292012-07-27 David S. Miller <davem@davemloft.net>
14030
14031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14032
140332012-07-27 Gary Benson <gbenson@redhat.com>
14034
14035 [BZ #14298]
14036 * elf/rtld.c: Include <stap-probe.h>.
14037 (dl_main): Added static probes "init_start" and "init_complete".
14038 * elf/dl-load.c: Include <stap-probe.h>.
14039 (lose): Take new parameter "nsid".
14040 Added static probe "map_failed".
14041 (_dl_map_object_from_fd): Pass namespace id to lose.
14042 Added static probe "map_start".
14043 (open_verify): Pass namespace id to lose.
14044 * elf/dl-open.c: Include <stap-probe.h>.
14045 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14046 and "reloc_complete".
14047 * elf/dl-close.c: Include <stap-probe.h>.
14048 (_dl_close_worker): Added static probes "unmap_start" and
14049 "unmap_complete".
14050 * elf/rtld-debugger-interface.txt: New file documenting the above.
14051
140522012-07-26 Roland McGrath <roland@hack.frob.com>
14053
14054 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14055 rather than a string variable.
14056 * sunrpc/rpc_main.c (h_output): Likewise.
14057 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14058
140592012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14060
14061 * inet/check_native.c: New file.
14062
140632012-07-26 Joseph Myers <joseph@codesourcery.com>
14064
14065 [BZ #13629]
14066 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14067 if larger part has absolute value 1.0.
14068 * math/s_clog10.c (__clog10): Likewise.
14069 * math/s_clog10f.c (__clog10f): Likewise.
14070 * math/s_clog10l.c (__clog10l): Likewise.
14071 * math/s_clogf.c (__clogf): Likewise.
14072 * math/s_clogl.c (__clogl): Likewise.
14073 * math/libm-test.inc (clog_test): Add more tests.
14074 (clog10_test): Likewise.
14075 * sysdeps/i386/fpu/libm-test-ulps: Update.
14076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14077
14078 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14079 (pltexit): Likewise.
14080 (La_regs): Likewise.
14081 (La_retval): Likewise.
14082 (int_retval): Likewise.
14083 Update #error for removed macros to refer only to definitions in
14084 tst-audit.h.
14085 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14086 macro.
14087 (pltexit): Likewise.
14088 (La_regs): Likewise.
14089 (La_retval): Likewise.
14090 (int_retval): Likewise.
14091 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14092 macro.
14093 (pltexit): Likewise.
14094 (La_regs): Likewise.
14095 (La_retval): Likewise.
14096 (int_retval): Likewise.
14097 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14098 macro.
14099 (pltexit): Likewise.
14100 (La_regs): Likewise.
14101 (La_retval): Likewise.
14102 (int_retval): Likewise.
14103 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14104 macro.
14105 (pltexit): Likewise.
14106 (La_regs): Likewise.
14107 (La_retval): Likewise.
14108 (int_retval): Likewise.
14109 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14110 macro.
14111 (pltexit): Likewise.
14112 (La_regs): Likewise.
14113 (La_retval): Likewise.
14114 (int_retval): Likewise.
14115 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14116 macro.
14117 (pltexit): Likewise.
14118 (La_regs): Likewise.
14119 (La_retval): Likewise.
14120 (int_retval): Likewise.
14121 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14122 macro definitions in tst-audit.h.
14123 * sysdeps/i386/tst-audit.h: New file.
14124 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14125 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14126 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14127 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14128 * sysdeps/sh/tst-audit.h: Likewise.
14129 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14130 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14131 * sysdeps/x86_64/tst-audit.h: Likewise.
14132
141332012-07-26 Andreas Jaeger <aj@suse.de>
14134
14135 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14136 ptrace.
14137
14138 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14139 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14140 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14141 PTRACE_O_MASK.
14142 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14143 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14144 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14145
14146 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14147 value.
14148
14149 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14150 _sigsys.
14151 (si_call_addr, si_syscall, si_arch): Define new macro.
14152 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14153 _sigsys.
14154 (si_call_addr, si_syscall, si_arch): Define new marcro.
14155 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14156 _sigsys.
14157 (si_call_addr, si_syscall, si_arch): Define new macro.
14158 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14159 _sigsys.
14160 (si_call_addr, si_syscall, si_arch): Define new macro.
14161
141622012-07-25 Joseph Myers <joseph@codesourcery.com>
14163
14164 [BZ #13717]
14165 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14166 Change to 2.4.21 where previously 2.4.1.
14167 * sysdeps/unix/sysv/linux/configure: Regenerated.
14168 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14169 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14170 Linux kernel version.
14171 (__ASSUME_STD_AUXV): Remove.
14172 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14173 kernel version.
14174 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14175 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14176 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14177 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14178 (__ASSUME_NETLINK_SUPPORT): Likewise.
14179 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14180 (__no_netlink_support): Remove conditional definition.
14181 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14182 Remove.
14183 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14184 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14185 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14186 (if_nameindex_ioctl): Remove.
14187 (if_nameindex_netlink): Do not handle __no_netlink_support.
14188 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14189 code.
14190 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14191 Remove conditional code.
14192 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14193 code.
14194 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14195 unconditional.
14196 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14197 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14198 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14199 Remove.
14200 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14201 [!__ASSUME_STD_AUXV]: Remove conditional code.
14202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14203 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14204 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14206 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14207 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14208 code.
14209 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14211 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14212 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14213 conditional code.
14214 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14216 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14217 code.
14218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14219 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14220 conditional code.
14221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14222 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14223 code unconditional.
14224 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14225 conditional code.
14226 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14227 unconditional.
14228 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14229 conditional code.
14230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14231 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14232 unconditional.
14233 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14234 conditional code.
14235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14236 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14237 code unconditional.
14238 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14239 conditional code.
14240 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14241 unconditional.
14242 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14243 conditional code.
14244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14245 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14246 code unconditional.
14247 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14248 conditional code.
14249 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14250 unconditional.
14251 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14252 conditional code.
14253
142542012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14255
14256 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14257 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14258 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14259 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14260 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14261 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14262 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14263 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14264 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14265 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14266 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14267 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14268 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14269 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14270 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14271 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14272 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14273 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14274 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14275 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14276 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14277 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14278 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14279
142802012-07-25 Florian Weimer <fweimer@redhat.com>
14281
14282 * Versions.def: Add GLIBC_2.17.
14283 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14284 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14285 Introduce __libc_secure_getenv.
14286 * stdlib/Versions (2.17): Add secure_getenv
14287 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14288 * stdlib/secure-getenv.c: Rename __secure_getenv to
14289 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14290 symbol __secure_getenv for GLIBC_2.0.
14291 * stdlib/tst-secure-getenv.c: New.
14292 * stdlib/Makefile (tests): Add testcase.
14293 * manual/startup.texi (Environment Access): Document
14294 secure_getenv.
14295 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14296 __libc_secure_getenv.
14297 * inet/ruserpass.c (ruserpass): Likewise.
14298 * malloc/mtrace.c (mtrace): Likewise.
14299 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
14300 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
14301 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14302 * sysdeps/posix/tempname.c: Likewise. Evaluate
14303 HAVE_SECURE_GETENV.
14304 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
14305 __secure_getenv to __libc_secure_getenv.
14306 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
14307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14308 Likewise.
14309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14310 Likewise.
14311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14313 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14315 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14317 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14318
143192012-07-25 Joseph Myers <joseph@codesourcery.com>
14320
14321 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14322 (struct La_i86_retval): Likewise.
14323 (struct La_x86_64_regs): Likewise.
14324 (struct La_x86_64_retval): Likewise.
14325 (struct La_x32_regs): Likewise.
14326 (struct La_x32_retval): Likewise.
14327 (struct La_ppc32_regs): Likewise.
14328 (struct La_ppc32_retval): Likewise.
14329 (struct La_ppc64_regs): Likewise.
14330 (struct La_ppc64_retval): Likewise.
14331 (struct La_sh_regs): Likewise.
14332 (struct La_sh_retval): Likewise.
14333 (struct La_s390_32_regs): Likewise.
14334 (struct La_s390_32_retval): Likewise.
14335 (struct La_s390_64_regs): Likewise.
14336 (struct La_s390_64_retval): Likewise.
14337 (struct La_sparc32_regs): Likewise.
14338 (struct La_sparc32_retval): Likewise.
14339 (struct La_sparc64_regs): Likewise.
14340 (struct La_sparc64_retval): Likewise.
14341 (struct audit_ifaces): Remove architecture-specific pltenter and
14342 pltexit members.
14343 * sysdeps/i386/ldsodefs.h: New file.
14344 * sysdeps/powerpc/ldsodefs.h: Likewise.
14345 * sysdeps/s390/ldsodefs.h: Likewise.
14346 * sysdeps/sh/ldsodefs.h: Likewise.
14347 * sysdeps/sparc/ldsodefs.h: Likewise.
14348 * sysdeps/x86_64/ldsodefs.h: Likewise.
14349
143502012-07-25 Marek Polacek <polacek@redhat.com>
14351
14352 [BZ #6808]
14353 * math/libm-test.inc (yn_test): Add another test.
14354 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14355 to ERANGE when the result is +-Inf.
14356 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14357 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14358 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14359 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14360
143612012-07-24 Joseph Myers <joseph@codesourcery.com>
14362
14363 * conform/data/time.h-data (NULL): Use macro-constant. Require
14364 equal to 0.
14365 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14366 clock_t.
14367 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14368
143692012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14370
14371 * configure.in <sysdeps resolving>: Correct printing
14372 Implies_before.
14373 * configure: Regenerate.
14374
143752012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14376
14377 * math/w_ilogb.c: Include <limits.h>.
14378 * math/w_ilogbl.c: Likewise.
14379
143802012-07-20 Joseph Myers <joseph@codesourcery.com>
14381
14382 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14383 va_copy. Document allowing for unavailable va_copy only as
14384 pre-C99 compatibility.
14385 * manual/string.texi (Copying and Concatenation): Use va_copy
14386 instead of __va_copy in concat example.
14387
143882012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14389
14390 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14391 (__sendto): Use create_address_port. Initialize APORT and deallocate
14392 it if not null.
14393
14394 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14395 with O_NOLINK passed to __file_name_lookup.
14396
14397 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14398 with O_NOLINK passed to __file_name_lookup.
14399
14400 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14401 negative N or less than NGIDS.
14402
14403 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14404 type to string_t. Set ERANGE as errno and return it if NAME is not big
14405 enough. Use memcpy instead of strncpy.
14406
144072012-07-20 Joseph Myers <joseph@codesourcery.com>
14408
14409 * elf/Makefile (check-data): Remove.
14410 (localplt.data): New vpath directive.
14411 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14412 instead of $(check-data).
14413 * scripts/data/localplt-generic.data: Move to ...
14414 * sysdeps/generic/localplt.data: ... here.
14415 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14416 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14417 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14419 ... here.
14420 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14422 ... here.
14423 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14425 ... here.
14426 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14428 ... here.
14429 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14431 ... here.
14432 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14434 ... here.
14435
144362012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14437
14438 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14439 PPC32 and PPC64 files.
14440 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14441 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14442
144432012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14444
14445 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14446 __makecontext_ret to ...
14447 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14448 ... here and call exit if uc_link is NULL. New file.
14449 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14450 __makecontext_ret.S.
14451 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14452 __makecontext_ret to ...
14453 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14454 ... here and call exit if uc_link is NULL. New file.
14455 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14456 __makecontext_ret.S.
14457
144582012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14459
14460 * elf/elf.h (R_390_IRELATIVE): New definition.
14461 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14462 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14463 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14464 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14465 (elf_machine_lazy_rel): Likewise.
14466 * sysdeps/s390/dl-irel.h: New file.
14467 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14468 * sysdeps/s390/s390-64/memset.S: New asm code.
14469 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14470 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14471 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14472 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14473 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14474 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14475 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14476 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14477 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14478 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14479 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14480 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14481 * sysdeps/s390/s390-32/memset.S: New asm code.
14482 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14483
144842012-07-17 Marek Polacek <polacek@redhat.com>
14485
14486 [BZ #14349]
14487 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14488 * sysdeps/s390/s390-64/configure.in: Likewise.
14489 * sysdeps/sparc/configure.in: Likewise.
14490 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14491 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14492 * sysdeps/i386/configure.in: Likewise.
14493 * sysdeps/x86_64/configure.in: Likewise.
14494 * sysdeps/sh/configure.in: Likewise.
14495 * sysdeps/s390/s390-32/configure: Regenerated.
14496 * sysdeps/s390/s390-64/configure: Likewise.
14497 * sysdeps/x86_64/configure: Likewise.
14498 * sysdeps/sh/configure: Likewise.
14499 * sysdeps/powerpc/powerpc64/configure: Likewise.
14500 * sysdeps/powerpc/powerpc32/configure: Likewise.
14501 * sysdeps/sparc/configure: Likwise.
14502 * sysdeps/i386/configure: Likewise.
14503
14504 * elf/dl-open.c: Comment fixes.
14505
145062012-07-17 Joseph Myers <joseph@codesourcery.com>
14507
14508 * Makefile [CXX] (check-data): Remove.
14509 [CXX] (c++-types.data): New vpath directive.
14510 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14511 vpath. Do not allow for C++ type data being missing.
14512 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14513 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14514 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14515 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14516 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14517 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14518 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14520 ... here.
14521 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14523 ... here.
14524 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14526 ... here.
14527 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14529 ... here.
14530 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14532 ... here.
14533 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14535 ... here.
14536 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14537 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14538 ... here.
14539 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14541
14542 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14543 definitions to architecture-specific files.
14544 (TLS_IE): Likewise.
14545 (TLS_LD): Likewise.
14546 (TLS_GD): Likewise.
14547 * sysdeps/i386/tls-macros.h: New file.
14548 * sysdeps/powerpc/tls-macros.h: Likewise.
14549 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14550 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14551 * sysdeps/sh/tls-macros.h: Likewise.
14552 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14553 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14554 * sysdeps/x86_64/tls-macros.h: Likewise.
14555
145562012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14557
14558 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14559 zero value for regular exit case.
14560
14561 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14562 (__start_context): Preserve zero value for regular exit case.
14563
145642012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14565 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14566
14567 * manual/setjmp.texi (setcontext): Clarify normal process
14568 termination when uc_link is the null pointer.
14569 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14570 exit call.
14571
145722012-07-16 Andreas Schwab <schwab@linux-m68k.org>
14573
14574 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14575 preprocessor. Test for each exception mask separately.
14576
145772012-07-16 Andreas Jaeger <aj@suse.de>
14578
14579 * po/ru.po: Update from translation team.
14580
145812012-07-15 Joseph Myers <joseph@codesourcery.com>
14582
14583 * conform/data/string.h-data (NULL): Use macro-constant. Require
14584 equal to 0.
14585 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14586 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14587 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14588 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14589 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14590
145912012-07-13 Andreas Jaeger <aj@suse.de>
14592
14593 * po/fr.po: Update from translation team.
14594
145952012-07-12 Marek Polacek <polacek@redhat.com>
14596
14597 [BZ #14173]
14598 * math/libm-test.inc (yn_test): Add test for BZ #14173.
14599 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14600 loop condition.
14601
146022012-07-12 Joseph Myers <joseph@codesourcery.com>
14603
14604 [BZ #13717]
14605 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14606 Change to 2.4.1 where previously 2.4.0.
14607 * sysdeps/unix/sysv/linux/configure: Regenerated.
14608 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14609 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14610 version.
14611 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14612 (__ASSUME_AT_CLKTCK): Remove.
14613 (__ASSUME_AT_PAGESIZE): Likewise.
14614 (__ASSUME_AT_XID): Likewise.
14615 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14616 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14617 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14618 unconditionally.
14619 (HAVE_AUX_PAGESIZE): Likewise.
14620 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14621 [__ASSUME_AT_CLKTCK]: Make code unconditional.
14622 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14623
146242012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
14625
14626 [BZ #14307]
14627 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14628 the temporary buffer used to invoke __gethostbyname2_r,
14629 __gethostbyaddr_r and gethostbyname4_r to make room for struct
14630 host_data / struct gaih_addrtuple.
14631 * resolv/nss_dns/dns-host.c (global scope): Move definition of
14632 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14633 header file nss/nsswitch.h.
14634 * nss/nsswitch.h (global scope): Add definition of implementation
14635 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14636 resolv/nss_dns/dns-host.c).
14637
146382012-07-11 Andreas Jaeger <aj@suse.de>
14639
14640 * po/fr.po: Update from translation team.
14641
14642 * po/sv.po: Update from translation team
14643 * po/fr.po: Another update from translation team.
14644
146452012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14646
14647 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14648 for subnormals or multiply small sinh result by itself.
14649 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14651
146522012-07-11 David S. Miller <davem@davemloft.net>
14653
14654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14655
146562012-07-10 Andreas Schwab <schwab@linux-m68k.org>
14657
14658 [BZ #14347]
14659 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14660 (INTERNAL_MARK): Shift it here.
14661
146622012-07-10 Marek Polacek <polacek@redhat.com>
14663
14664 [BZ #14151]
14665 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
14666 libc_cv_asm_global_directive with .globl.
14667 * configure: Regenerated.
14668 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14669 with .globl.
14670 * sysdeps/i386/configure: Regenerated.
14671 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14672 with .globl.
14673 * sysdeps/x86_64/configure: Regenerated.
14674 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14675 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14676 * elf/tst-unique2mod2.c: Likewise.
14677 * elf/tst-unique2mod1.c: Likewise.
14678 * elf/tst-unique1mod2.c: Likewise.
14679 * elf/tst-unique1mod1.c: Likewise.
14680 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14681 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14682 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14683 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14684 * sysdeps/mach/sysdep.h: Likewise.
14685 * sysdeps/i386/sysdep.h: Likewise.
14686 * sysdeps/i386/i386-mcount.S: Likewise.
14687 * sysdeps/x86_64/_mcount.S: Likewise.
14688 * sysdeps/x86_64/sysdep.h: Likewise.
14689 * sysdeps/sh/_mcount.S: Likewise.
14690 * sysdeps/sh/sysdep.h: Likewise.
14691 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14692 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14693 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14694 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14695 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14696 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14697 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14698 * locale/localeinfo.h: Likewise.
14699 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14700 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14701
147022012-07-09 Roland McGrath <roland@hack.frob.com>
14703
14704 [BZ #14336]
14705 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14706 system".
14707 * manual/message.texi (The Uniforum approach): Likewise.
14708 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14709 (glibc iconv Implementation): Likewise.
14710
147112012-07-09 Joseph Myers <joseph@codesourcery.com>
14712
14713 [BZ #14337]
14714 * math/s_clog.c (__clog): Avoid scaling a value down where that
14715 could result in underflow.
14716 * math/s_clog10.c (__clog10): Likewise.
14717 * math/s_clog10f.c (__clog10f): Likewise.
14718 * math/s_clog10l.c (__clog10l): Likewise.
14719 * math/s_clogf.c (__clogf): Likewise.
14720 * math/s_clogl.c (__clogl): Likewise.
14721 * math/libm-test.inc (clog_test): Add more tests.
14722 (clog10_test): Likewise.
14723 * sysdeps/i386/fpu/libm-test-ulps: Update.
14724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14725
147262012-07-06 Andreas Schwab <schwab@linux-m68k.org>
14727
14728 [BZ #14283]
14729 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14730 by 7 not 8 to examine high bit of fractional part.
14731
14732 [BZ #14042]
14733 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14734 for call to __mcount_internal.
14735 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14736 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14737 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14738
147392012-07-06 Joseph Myers <joseph@codesourcery.com>
14740
14741 [BZ #14154]
14742 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14743 approximation for values within 0x1p-13f of an odd multiple of
14744 pi/4.
14745 * math/libm-test.inc (tan_test): Do not allow spurious underflow
14746 exception. Add more tests.
14747 * sysdeps/i386/fpu/libm-test-ulps: Update.
14748
14749 [BZ #6778]
14750 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14751 inputs and return -1 for them. Do not check for +Inf in case not
14752 reachable for +Inf.
14753 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14754 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14755 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14756 and return -1 for them. Do not check for +Inf in case not
14757 reachable for +Inf.
14758 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14759 define.
14760 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14761 and return -1 for them. Do not check for +Inf in case not
14762 reachable for +Inf.
14763 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
14764 spurious underflow.
14765 * sysdeps/i386/fpu/libm-test-ulps: Update.
14766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14767
147682012-07-06 Mike Frysinger <vapier@gentoo.org>
14769
14770 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14771
147722012-07-05 Joseph Myers <joseph@codesourcery.com>
14773
14774 [BZ #14157]
14775 [BZ #14331]
14776 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14777 could result in spurious underflow. Scale down values above
14778 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14779 * math/s_csqrtf.c (__csqrtf): Likewise.
14780 * math/s_csqrtl.c (__csqrtl): Likewise.
14781 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
14782 spurious underflow.
14783 * sysdeps/i386/fpu/libm-test-ulps: Update.
14784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14785
147862012-07-04 Andreas Schwab <schwab@linux-m68k.org>
14787
14788 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14789 xopen-msg.sed.
14790 * catgets/xopen-msg.awk: New file.
14791 * catgets/xopen-msg.sed: Removed.
14792
14793 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14794 po2text.sed.
14795 * intl/po2test.awk: New file.
14796 * intl/po2test.sed: Removed.
14797
147982012-07-04 Joseph Myers <joseph@codesourcery.com>
14799
14800 [BZ #14328]
14801 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14802 or multiply small sinh result by itself.
14803 * math/s_ctanf.c (__ctanf): Likewise.
14804 * math/s_ctanh.c (__ctanh): Likewise.
14805 * math/s_ctanhf.c (__ctanhf): Likewise.
14806 * math/s_ctanhl.c (__ctanhl): Likewise.
14807 * math/s_ctanl.c (__ctanl): Likewise.
14808 * math/libm-test.inc (ctan_test_tonearest): New function.
14809 (ctan_test_towardzero): Likewise.
14810 (ctan_test_downward): Likewise.
14811 (ctan_test_upward): Likewise.
14812 (ctanh_test_tonearest): Likewise.
14813 (ctanh_test_towardzero): Likewise.
14814 (ctanh_test_downward): Likewise.
14815 (ctanh_test_upward): Likewise.
14816 (main): Call these new functions.
14817 * sysdeps/i386/fpu/libm-test-ulps: Update.
14818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14819
148202012-07-03 Mike Frysinger <vapier@gentoo.org>
14821
14822 * .gitignore: Delete /ports entry.
14823
148242012-07-03 Andreas Jaeger <aj@suse.de>
14825
14826 * po/bg.po: Update from translation team.
14827 * po/cs.po: Likewise.
14828 * po/de.po: Likewise.
14829 * po/hr.po: Likewise.
14830 * po/nl.pl: Likewise.
14831 * po/pl.po: Likewise.
14832 * po/vi.po: Likewise.
14833
148342012-07-03 Joseph Myers <joseph@codesourcery.com>
14835
14836 * Makeconfig [!+link] (+link-before-libc): New variable.
14837 [!+link] (+link-after-libc): Likewise.
14838 [!+link] (+link-tests): Likewise.
14839 [!+link] (+link): Define in terms of $(+link-before-libc) and
14840 $(+link-after-libc).
14841 [!+link-static] (+link-static-before-libc): New variable.
14842 [!+link-static] (+link-static-after-libc): Likewise.
14843 [!+link-static] (+link-static-tests): Likewise.
14844 [!+link-static] (+link-static): Define in terms of
14845 $(+link-static-before-libc) and $(+link-static-after-libc).
14846 [build-shared] (link-libc-before-gnulib): New variable.
14847 [build-shared] (link-libc-tests): Likewise.
14848 [build-shared] (link-libc): Define in terms of
14849 $(link-libc-before-gnulib).
14850 [!build-shared] (link-libc-tests): New variable.
14851 (link-libc-static-tests): New variable.
14852 [!gnulib] (gnulib-arch): New variable.
14853 [!gnulib] (gnulib-tests): Likewise.
14854 [!gnulib] (static-gnulib-arch): Likewise.
14855 [!gnulib] (static-gnulib-tests): Likewise.
14856 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
14857 Define with "=" instead of ":=".
14858 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
14859 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
14860 * Rules (binaries-all-notests): New variable.
14861 (binaries-all-tests): Likewise.
14862 (binaries-static-notests): Likewise.
14863 (binaries-static-tests): Likewise.
14864 (binaries-all): Define using $(binaries-all-notests) and
14865 $(binaries-all-tests).
14866 (binaries-static): Define using $(binaries-static-notests) and
14867 $(binaries-static-tests).
14868 (binaries-shared-tests): New variable.
14869 (binaries-shared-notests): Likewise.
14870 (binaries-shared): Remove variable.
14871 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
14872 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
14873 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
14874 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
14875 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
14876 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
14877 * elf/Makefile (sln-modules): New variable.
14878 (extra-objs): Add $(sln-modules:=.o).
14879 (ldconfig-modules): Add static-stubs.
14880 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
14881 * elf/static-stubs.c: New file.
14882
14883 [BZ #14283]
14884 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
14885 by 7 not 8 to examine high bit of fractional part. Use volatile
14886 variables when splitting into final array of floats if
14887 __FLT_EVAL_METHOD__ != 0.
14888 * math/libm-test.inc (cos_test): Add another test.
14889 (sin_test): Likewise.
14890 * sysdeps/i386/fpu/libm-test-ulps: Update.
14891
14892 [BZ #14273]
14893 * math/libm-test.inc (cosh_test): Add more tests.
14894
14895 * version.h (RELEASE): Set to "development".
14896 (VERSION): Set to "2.16.90".
14897
148982012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
14899
14900 * NEWS: Update copyright. Remove last-updated date.
14901 Mention math library bug fixes and timezone data changes.
14902 * README: Mention GNU/Hurd, x32, and HPPA support status.
14903
149042012-06-28 Thomas Schwinge <thomas@codesourcery.com>
14905
14906 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
14907
149082012-06-27 Andreas Jaeger <aj@suse.de>
14909
14910 * manual/contrib.texi (Contributors): Add Samuel Thibault.
14911
149122012-06-25 Andreas Jaeger <aj@suse.de>
14913
14914 * sysdeps/s390/fpu/libm-test-ulps: Update.
14915
149162012-06-23 Andreas Schwab <schwab@linux-m68k.org>
14917 Thomas Schwinge <thomas@codesourcery.com>
14918
14919 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
14920 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
14921 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
14922 fanotify_mark.
14923
149242012-06-23 Thomas Schwinge <thomas@codesourcery.com>
14925
14926 * sysdeps/mach/start.c: Remove file.
14927 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
14928 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
14929 * sysdeps/sh/init-first.c: Likewise.
14930
14931 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
14932 registers for frame unwinding purposes, add CFI directives.
14933 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14934 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
14935 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
14936 Likewise.
14937
14938 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
14939 __fortify_fail returning.
14940 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14941
14942 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
14943 sysdeps/sh/____longjmp_chk.S.
14944 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
14945 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
14946 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
14947 (gen-as-const-headers): Append sigaltstack-offsets.sym.
14948
14949 * sysdeps/sh/abort-instr.h: New file.
14950 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
14951 process in case exit returns.
14952
14953 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
14954 initialize the GOT register before use.
14955
14956 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
14957 calculation of ARGC > 4.
14958
14959 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
14960 meaningful names to some local labels.
14961
149622012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14963 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14964
14965 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
14966 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
14967 (__arch_compare_and_exchange_val_16_acq): Likewise.
14968 (__arch_compare_and_exchange_val_32_acq): Likewise.
14969 (atomic_exchange_and_add): Fix gUSA sequence.
14970 (atomic_add): Likewise.
14971 (atomic_add_negative): Likewise.
14972 (atomic_add_zero): Likewise.
14973 (atomic_bit_test_set): Likewise.
14974
149752012-06-22 Andreas Schwab <schwab@redhat.com>
14976
14977 [BZ #13579]
14978 * include/link.h (struct link_map): Add l_free_initfini.
14979 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
14980 l_initfini.
14981 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
14982 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
14983 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
14984 set.
14985
149862012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
14987
14988 * configure.in: Use AC_LANG_SOURCE.
14989 * configure: Regenerate.
14990
149912012-06-22 Roland McGrath <roland@hack.frob.com>
14992
14993 * configure.in (libc_cv_localstatedir): New substituted variable.
14994 * configure: Regenerated.
14995 * config.make.in (localstatedir): New variable, substituted from
14996 libc_cv_localstatedir.
14997 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
14998 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
14999 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15000 * sysdeps/gnu/configure: Regenerated.
15001
150022012-06-21 Jeff Law <law@redhat.com>
15003
15004 [BZ #14277]
15005 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15006 free. Simplify list management for _LIBC case.
15007
150082012-06-21 Joseph Myers <joseph@codesourcery.com>
15009
15010 [BZ #14273]
15011 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15012 Clear sign bit of 64-bit integer value before comparing against
15013 overflow value.
15014
15015 * sysdeps/mach/configure: Regenerated.
15016
150172012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15018
15019 [BZ #14278]
15020 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15021
150222012-06-21 Jeff Law <law@redhat.com>
15023
15024 [BZ #13882]
15025 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15026 uint16_t for elements in the "seen" array to avoid char overflows.
15027 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15028 * elf/dl-open.c (dl_open_worker): Likewise.
15029
150302012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15031
15032 * scripts/list-sources.sh: Scan PORTS for translations.
15033 * po/libc.pot: Regenerated.
15034
150352012-06-21 Andreas Jaeger <aj@suse.de>
15036
15037 [BZ #12194]
15038 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15039 warning.
15040 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15041 * bits/byteswap-16.h (__bswap_16): Likewise.
15042 * bits/byteswap.h (__bswap_constant_16): Likewise.
15043
150442012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15045
15046 [BZ #14117]
15047 * sysdeps/i386/fpu_control.h: Removed.
15048 * sysdeps/x86_64/fpu_control.h: Moved to ...
15049 * sysdeps/x86/fpu_control.h: Here.
15050
15051 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15052 (_FPU_SETCW): Likewise.
15053
150542012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15055
15056 [BZ #14117]
15057 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15058 * sysdeps/x86/fpu/bits/mathinline.h: This.
15059 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15060
15061 [BZ #14050]
15062 [BZ #14117]
15063 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15064 functions if __x86_64__ is defined.
15065
150662012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15067
15068 * string/endian.h: Add !__ASSEMBLER__ condition for including
15069 conversion interfaces.
15070
150712012-06-15 Joseph Myers <joseph@codesourcery.com>
15072
15073 [BZ #14241]
15074 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15075 of ABS(x) in calculating zero to negative powers other than odd
15076 integers.
15077 * math/libm-test.inc (pow_test): Add more tests.
15078
150792012-06-15 Andreas Jaeger <aj@suse.de>
15080
15081 * manual/contrib.texi (Contributors): Update entry of Liubov
15082 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15083 Machado Filho.
15084
150852012-06-15 Cyril Hrubis <metan@ucw.cz>
15086
15087 * string/string.h: Add __wur to GNU version of strerror_r.
15088
150892012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15090
15091 [BZ #14229]
15092 * string/Makefile (tests): Add tst-strtok_r.
15093 * string/tst-strtok_r.c: New file.
15094 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15095 RAX_LP/RDX_LP on SAVE_PTR.
15096
150972012-06-14 Roland McGrath <roland@hack.frob.com>
15098
15099 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15100
151012012-06-14 Joseph Myers <joseph@codesourcery.com>
15102
15103 * libm_test.inc (csqrt_test): Allow more spurious underflow
15104 exceptions.
15105 (j0_test): Likewise.
15106 (j1_test): Likewise.
15107 (y0_test): Likewise.
15108 (y1_test): Likewise.
15109
151102012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15111
15112 * po/Makefile (libc.pot): Use UTF-8 charset.
15113
151142012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15115
15116 [BZ #14210]
15117 Suppress sign-conversion warning from FD_SET.
15118 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15119 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15120 not unsigned long int.
15121 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15122
151232012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15124
15125 [BZ #14050]
15126 [BZ #14117]
15127 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15128 __extern_always_inline instead of __extern_inline.
15129 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15130 (__signbit): Likewise.
15131 (__signbitl): Support C++ namespace.
15132 (lrintf): New inline function.
15133 (lrint): Likewise.
15134 (llrintf): Likewise.
15135 (llrint): Likewise.
15136 (fmaxf): Likewise.
15137 (fmax): Likewise.
15138 (fminf): Likewise.
15139 (fmin): Likewise.
15140 (rint): Likewise.
15141 (rintf): Likewise.
15142 (ceil): Likewise.
15143 (ceilf): Likewise.
15144 (floor): Likewise.
15145 (floorf): Likewise.
15146 (nearbyint): Likewise.
15147 (nearbyintf): Likewise.
15148
151492012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15150
15151 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15152 non-default versions.
15153
151542012-06-11 Roland McGrath <roland@hack.frob.com>
15155
15156 [BZ #14218]
15157 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15158
151592012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15160
15161 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15162 (FE_UPWARD, FE_DOWNWARD): Don't define.
15163 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15164 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15165
15166 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15167 reading it.
15168 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15169 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15170
151712012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15172
15173 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15174 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15175 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15176 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15177
151782012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15179
15180 [BZ #14117]
15181 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15182 * sysdeps/i386/fpu/Implies: New file.
15183 * sysdeps/x86_64/fpu/Implies: Likewise.
15184 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15185 * sysdeps/x86/fpu/bits/fenv.h: This.
15186
15187 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15188 __SSE_MATH__.
15189
151902012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15191
15192 [BZ #14134]
15193 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15194 character 0xffff that matches the last element of the
15195 conversion table.
15196
151972012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15198
15199 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15200 fmodl commit.
15201
152022012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15203
15204 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15205 values higher than 25.6283.
15206
152072012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15208
15209 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15210 subnormal exponent extraction and add some __builtin_expect.
15211 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15212 Fix for subnormal mantissa calculation.
15213
152142012-06-04 Mike Frysinger <vapier@gentoo.org>
15215
15216 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15217 cpu2 is -1 and errno is not ENOSYS.
15218
152192012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15220
15221 [BZ #14117]
15222 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15223 * sysdeps/x86/bits/string.h: This.
15224 * sysdeps/x86_64/bits/string.h: Removed.
15225
15226 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15227 if not compiling for x86-64, but compiling for >= i486.
15228
15229 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15230 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15231
15232 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15233 New macro from Linux kernel 3.4.0.
15234 (FP_XSTATE_MAGIC2): Likewise.
15235 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15236 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15237 (struct _fpx_sw_bytes): New struct.
15238 (struct _xsave_hdr): Likewise.
15239 (struct _ymmh_state): Likewise.
15240 (struct _xstate): Likewise.
15241
15242 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15243 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15244 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15245 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15246 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15247 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15248
15249 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15250 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15251 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15252 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15253 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15254 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15255
152562012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15257
15258 [BZ #13743]
15259 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15260 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15261 (sysdep_headers): Include sys/platform/ppc.h.
15262 * sysdeps/powerpc/test-gettimebase.c: Test for
15263 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15264 * manual/Makefile (appendices): Include platform.texi.
15265 * manual/contrib.texi (Contributors): Update @node pointers.
15266 * manual/maint.texi (Maintenance): Likewise.
15267 (Platform): New node.
15268 * manual/platform.texi: New file. Document the new features.
15269
152702012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15271 Jakub Jelinek <jakub@redhat.com>
15272
15273 [BZ #14188]
15274 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15275 where __builtin_expect is unavailable.
15276
152772012-06-03 David S. Miller <davem@davemloft.net>
15278
15279 * stdlib/longlong.h: Updated from GCC.
15280
152812012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15282
15283 [BZ #14042]
15284 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15285 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15286 __mcount_internal.
15287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15288 (GLIBC_2.16): Likewise.
15289
152902012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15291
15292 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15293
152942012-06-01 Joseph Myers <joseph@codesourcery.com>
15295
15296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15297 (default-abi): New variable.
15298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15299 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15300 variable.
15301 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15302 Likewise.
15303 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15304 Likewise.
15305 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15306 Likewise.
15307
15308 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15309 definition. Document in comment.
15310
153112012-06-01 David S. Miller <davem@davemloft.net>
15312
15313 * stdlib/longlong.h: Updated from GCC.
15314
153152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15316
15317 [BZ #14117]
15318 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15319 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15320 sys/debugreg.h sys/io.h here.
15321 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15322 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15323 sys/io.h.
15324 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15325 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15326 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15327 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15328 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15329 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15330
15331 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15332 Define only if __x86_64__ is defined.
15333
153342012-06-01 Joseph Myers <joseph@codesourcery.com>
15335
15336 [BZ #14048]
15337 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15338 Use int64_t for variable i.
15339 * math/libm-test.inc (fmod_test): Add more tests.
15340
15341 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15342 z computation is not scheduled after fetestexcept.
15343 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15344 Use math_force_eval instead of asm to ensure calculation scheduled
15345 before exception test.
15346 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15347 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15348
153492012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15350
15351 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15352 computation is not scheduled after fetestexcept.
15353
153542012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15355
15356 [BZ #14117]
15357 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15358 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15359
153602012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15361
15362 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15363 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15364
153652012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15366
15367 [BZ #14117]
15368 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15369 <bits/wordsize.h>.
15370 (__WCHAR_MIN): Support __WORDSIZE == 64.
15371 (__WCHAR_MAX): Likewise.
15372
15373 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15374 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15375
15376 [BZ #14183]
15377 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15378 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15379
15380 [BZ #14117]
15381 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15382 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15383
15384 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15385 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15386
15387 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15388 Defined to 1 if __x86_64__ isn't defined.
15389 (_STAT_VER_LINUX_OLD): New.
15390 (st_atime): Remove duplicate.
15391 (st_mtime): Likewise.
15392 (st_ctime): Likewise.
15393
153942012-05-31 David S. Miller <davem@davemloft.net>
15395
15396 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15397 entries.
15398
153992012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15400
15401 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15402 gen-libm-test.pl.
15403
15404 [BZ #14132]
15405 * elf/dl-reloc.c: Include <_itoa.h>.
15406 (_dl_reloc_bad_type): Remove use of INTUSE.
15407 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15408 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15409 * stdio-common/psiginfo.c (psiginfo): Likewise.
15410 * stdio-common/psignal.c (psignal): Likewise.
15411 * string/strsignal.c (strsignal): Likewise.
15412 * include/signal.h (_sys_siglist): Declare hidden proto.
15413 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15414 INTVARDEF with libc_hidden_data_def.
15415 * stdio-common/itoa-udigits.c: Likewise.
15416 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15417 (_itoa_lower_digits_internal): Remove declaration.
15418 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15419 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15420 (_sys_sigabbrev_internal): Remove aliases.
15421 (_sys_siglist): Define hidden alias.
15422
154232012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15424
15425 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15426 bits/sysctl.h.
15427
154282012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15429
15430 [BZ #14117]
15431 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15432 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15433
15434 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15435 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15436 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15437 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15438 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15439 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15440
15441 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15442 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15443 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15444
15445 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15446 with __addr.
15447 (insw): Likewise.
15448 (insl): Likewise.
15449 (outsb): Likewise.
15450 (outsw): Likewise.
15451 (outsl): Likewise.
15452
15453 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15454 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15455 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15456
15457 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15458 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15459 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15460 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15461 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15462 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15463
15464 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15465 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15466
15467 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15468 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15469
15470 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15471 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15472 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15473
15474 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15475 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15476 to ...
15477 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15478
15479 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15480 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15481 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15482
15483 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15484 for x86-64.
15485 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15486
154872012-05-31 Joseph Myers <joseph@codesourcery.com>
15488
15489 * math/math.h (M_El): Use two more decimal places.
15490 (M_LOG2El): Likewise.
15491 (M_LOG10El): Likewise.
15492 (M_LN2l): Likewise.
15493 (M_LN10l): Likewise.
15494 (M_PIl): Likewise.
15495 (M_PI_2l): Likewise.
15496 (M_PI_4l): Likewise.
15497 (M_1_PIl): Likewise.
15498 (M_2_PIl): Likewise.
15499 (M_2_SQRTPIl): Likewise.
15500 (M_SQRT2l): Likewise.
15501 (M_SQRT1_2l): Likewise.
15502
155032012-05-31 David S. Miller <davem@davemloft.net>
15504
15505 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15506 values between float registers.
15507 * sysdeps/sparc/sparc64/memset.S: Likewise.
15508 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15509
155102012-05-31 Mike Frysinger <vapier@gentoo.org>
15511
15512 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15513 -D_FORTIFY_SOURCE=1.
15514 (CPPFLAGS-tst-longjmp_chk.c): Define.
15515 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15516 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15517 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15518 CFLAGS-tst-wchar-h.c.
15519
155202012-05-31 Marek Polacek <polacek@redhat.com>
15521
15522 [BZ #14132]
15523 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15524 __endmntent_internal): Remove declaration.
15525 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15526 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15527 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15528
155292012-05-30 David S. Miller <davem@davemloft.net>
15530
15531 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15532 (___Q_simulate_exceptions): Use real FP ops rather than writing
15533 into the %fsr.
15534 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15535 Likewise.
15536
155372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15538
15539 [BZ #14117]
15540 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15541 * sysdeps/x86/bits/xtitypes.h: This.
15542
15543 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15544 * sysdeps/x86/bits/wordsize.h: This.
15545
15546 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15547 * sysdeps/x86/bits/huge_vall.h: This.
15548
15549 * sysdeps/i386/bits/select.h: Removed.
15550 * sysdeps/x86_64/bits/select.h: Renamed to ...
15551 * sysdeps/x86/bits/select.h: This.
15552
15553 * sysdeps/i386/bits/setjmp.h: Removed.
15554 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15555 * sysdeps/x86/bits/setjmp.h: This.
15556
15557 * sysdeps/i386/bits/mathdef.h: Removed.
15558 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15559 * sysdeps/x86/bits/mathdef.h: This.
15560
155612012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15562
15563 [BZ #14132]
15564 * include/sys/socket.h (__connect_internal)
15565 (__libc_sa_len_internal): Remove declaration.
15566 (__connect, __libc_sa_len): Declare hidden_proto.
15567 (SA_LEN): Remove use of INTUSE.
15568 * socket/connect.c: Add libc_hidden_def.
15569 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15570 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15571 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15572 alias.
15573 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15574 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15575 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15576 of adding _internal alias.
15577
155782012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15579
15580 [BZ #14117]
15581 * sysdeps/i386/bits/link.h: Removed.
15582 * sysdeps/i386/bits/linkmap.h: Likewise.
15583 * sysdeps/x86_64/bits/link.h: Renamed to ...
15584 * sysdeps/x86/bits/link.h: This.
15585 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15586 * sysdeps/x86/bits/linkmap.h: This.
15587
15588 * sysdeps/i386/bits/endian.h: Removed.
15589 * sysdeps/x86_64/bits/endian.h: Renamed to ...
15590 * sysdeps/x86/bits/endian.h: This.
15591
15592 * sysdeps/i386/bits/byteswap.h: Removed.
15593 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15594 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15595 * sysdeps/x86/bits/byteswap.h: This.
15596 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15597 * sysdeps/x86/bits/byteswap-16.h: This.
15598 * sysdeps/i386/Implies: Add x86.
15599 * sysdeps/x86_64/Implies: Likewise.
15600
156012012-05-30 David S. Miller <davem@davemloft.net>
15602
15603 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15604 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15605 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15606 (FP_TRAPPING_EXCEPTIONS): Define.
15607 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15608 (FP_TRAPPING_EXCEPTIONS): Define.
15609 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15610 subnormals only when inexact has been signalled or underflow
15611 exceptions are enabled.
15612 (_FP_PACK_CANONICAL): Likewise.
15613
156142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15615
15616 [BZ #14183]
15617 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15618 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15619
156202012-05-30 Richard Henderson <rth@twiddle.net>
15621
15622 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15623 with #ifndef NOT_IN_libc.
15624
15625 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
15626 marked to avoid plt entry.
15627
156282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15629
15630 [BZ #14112]
15631 * Makeconfig (default-abi): New macro.
15632 (abi-includes): Likewise.
15633 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
15634 $(abi-$(default-abi)-lib-soname) for soname if defined.
15635 ($(common-objpfx)gnu/lib-names.stmp): Generate from
15636 abi-variants.
15637 * Makefile (installed-stubs): Likewise.
15638 * include/stubs-biarch.h: Removed.
15639 * scripts/lib-names.awk: Only handle one library at a time.
15640 * scripts/soversions.awk: Remove WORDSIZE support.
15641 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15642 entries.
15643 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15644 Removed.
15645 (syscall-list-default-condition): Likewise.
15646 (syscall-list-default-condition): Likewise.
15647 (syscall-list-includes): Likewise.
15648 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15649 syscall-list-* with abi-*. Handle undefined abi-variants.
15650 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15651 * sysdeps/unix/sysv/linux/i386/Implies: New file.
15652 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15653 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15654 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15655 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15656 Removed.
15657 (syscall-list-32-options): Likewise.
15658 (syscall-list-32-condition): Likewise.
15659 (syscall-list-64-options): Likewise.
15660 (syscall-list-64-condition): Likewise.
15661 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15662 macro.
15663 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15664 Renamed to ...
15665 (abi-*): This.
15666 (abi-64-ld-soname): New macro.
15667 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15668 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15669 Renamed to ...
15670 (abi-*): This.
15671 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15672 * sysdeps/x86_64/x32/shlib-versions: Likewise.
15673
156742012-05-30 Joseph Myers <joseph@codesourcery.com>
15675
15676 * sysdeps/unix/sysv/linux/kernel-features.h
15677 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15678 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15679 include <kernel-features.h>.
15680 [!__NR_ftruncate64]: Remove conditional code.
15681 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15682 [__NR_ftruncate64]: Make code unconditional.
15683 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15684 * sysdeps/unix/sysv/linux/truncate64.c: Do not
15685 include <kernel-features.h>.
15686 [!__NR_ftruncate64]: Remove conditional code.
15687 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15688 [__NR_ftruncate64]: Make code unconditional.
15689 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15691 include <kernel-features.h>.
15692 [!__NR_ftruncate64]: Remove conditional code.
15693 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15694 [__NR_ftruncate64]: Make code unconditional.
15695 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15697 include <kernel-features.h>.
15698 [!__NR_ftruncate64]: Remove conditional code.
15699 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15700 [__NR_ftruncate64]: Make code unconditional.
15701 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15702
15703 * configure.in (libc_cv_fpie): Weaken to a compile test using
15704 LIBC_TRY_CC_OPTION.
15705 * configure: Regenerated.
15706
157072012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15708
15709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15712 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15713 Refreshed.
15714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15717 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15718 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15720 Refreshed.
15721
157222012-05-27 David S. Miller <davem@davemloft.net>
15723
15724 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15725 (___Q_zero): New.
15726 (__Q_simulate_exceptions): Return void. Change to simulate
15727 exceptions by writing into the %fsr.
15728 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15729 (__Qp_handle_exceptions): Likewise.
15730 (numbers): Delete.
15731 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15732 __Qp_handle_exceptions.
15733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15734 __Qp_handle_exceptions.
15735 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15736 as unused and give dummy FP_RND_NEAREST initializer.
15737 (FP_INHIBIT_RESULTS): Define.
15738 (___Q_simulate_exceptions): Update declaration.
15739 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15740 formatting.
15741 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15742 as unused and give dummy FP_RND_NEAREST initializer.
15743 (__Qp_handle_exceptions): Update declaration.
15744 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15745 formatting.
15746
157472012-05-27 Thomas Schwinge <thomas@codesourcery.com>
15748
15749 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15750 the temporary FPU control word.
15751 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15752 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15753 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15754 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15755 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15756 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15757 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15758 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15759 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15760 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15761 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15762
157632012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15764
15765 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15766 fields.
15767
157682012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
15769
15770 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15771 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15772 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15773 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15774 Likewise.
15775 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15776 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15777 Likewise.
15778
157792012-05-27 Ulrich Drepper <drepper@gmail.com>
15780
15781 * po/h.po: Update from translation team.
15782
157832012-05-26 Andreas Schwab <schwab@linux-m68k.org>
15784
15785 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15786
15787 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15788 handling of denormals.
15789 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15790 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15791 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15792 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15793 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15794 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15795 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15796 Likewise.
15797
157982012-05-26 Marek Polacek <polacek@redhat.com>
15799
15800 [BZ #14152]
15801 * math/libm-test.inc (fma_test): Don't always expect underflow
15802 exception.
15803
158042012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15805
15806 [BZ #12416]
15807 * elf/tst-execstack.c: Include stackinfo.h.
15808 (do_test): Adjust test case to ensure that pthread_getattr_np
15809 behaviour remains the same after marking stack executable.
15810
158112012-05-25 Joseph Myers <joseph@codesourcery.com>
15812
15813 * sysdeps/unix/sysv/linux/kernel-features.h
15814 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15815 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15816 kernel-features.h.
15817 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15818 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15819 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
15820 kernel-features.h.
15821 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15822 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15823
158242012-05-25 H.J. Lu <hongjiu.lu@intel.com>
15825
15826 * configure.in: Define the default includes to being none.
15827 * configure: Regenerated.
15828
158292012-05-25 Roland McGrath <roland@hack.frob.com>
15830
15831 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
15832 * sysdeps/x86_64/setjmp.S: Likewise.
15833 * sysdeps/i386/bsd-setjmp.S: Likewise.
15834 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15835 * sysdeps/i386/setjmp.S: Likewise.
15836 * sysdeps/i386/__longjmp.S: Likewise.
15837 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15838 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
15839
15840 * include/stap-probe.h: New file.
15841 * configure.in: Handle --enable-systemtap.
15842 * configure: Regenerated.
15843 * config.h.in (USE_STAP_PROBE): New #undef.
15844 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
15845 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
15846 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15847
158482012-05-25 Joseph Myers <joseph@codesourcery.com>
15849
15850 [BZ #13717]
15851 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15852 to 2.4.0 where earlier.
15853 * sysdeps/unix/sysv/linux/configure: Regenerated.
15854 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15855 <kernel-features.h>.
15856 [__ASSUME_32BITUIDS]: Make code unconditional.
15857 [!__ASSUME_32BITUIDS]: Remove conditional code.
15858 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
15859 <kernel-features.h>.
15860 [__ASSUME_32BITUIDS]: Make code unconditional.
15861 [!__ASSUME_32BITUIDS]: Remove conditional code.
15862 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
15863 [__ASSUME_32BITUIDS]: Make code unconditional.
15864 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
15865 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
15866 <kernel-features.h>.
15867 [__ASSUME_32BITUIDS]: Make code unconditional.
15868 [!__ASSUME_32BITUIDS]: Remove conditional code.
15869 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
15870 <kernel-features.h>.
15871 [__ASSUME_32BITUIDS]: Make code unconditional.
15872 [!__ASSUME_32BITUIDS]: Remove conditional code.
15873 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
15874 <kernel-features.h>.
15875 [__ASSUME_32BITUIDS]: Make code unconditional.
15876 [!__ASSUME_32BITUIDS]: Remove conditional code.
15877 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
15878 <kernel-features.h>.
15879 [__ASSUME_32BITUIDS]: Make code unconditional.
15880 [!__ASSUME_32BITUIDS]: Remove conditional code.
15881 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15882 <kernel-features.h>.
15883 [__ASSUME_32BITUIDS]: Make code unconditional.
15884 [!__ASSUME_32BITUIDS]: Remove conditional code.
15885 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15886 <kernel-features.h>.
15887 [__ASSUME_32BITUIDS]: Make code unconditional.
15888 [!__ASSUME_32BITUIDS]: Remove conditional code.
15889 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
15890 <kernel-features.h>.
15891 [__ASSUME_32BITUIDS]: Make code unconditional.
15892 [!__ASSUME_32BITUIDS]: Remove conditional code.
15893 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15894 <kernel-features.h>.
15895 [__ASSUME_32BITUIDS]: Make code unconditional.
15896 [!__ASSUME_32BITUIDS]: Remove conditional code.
15897 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15898 <kernel-features.h>.
15899 [__ASSUME_32BITUIDS]: Make code unconditional.
15900 [!__ASSUME_32BITUIDS]: Remove conditional code.
15901 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
15902 <kernel-features.h>.
15903 [__ASSUME_32BITUIDS]: Make code unconditional.
15904 [!__ASSUME_32BITUIDS]: Remove conditional code.
15905 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
15906 <kernel-features.h>.
15907 [__NR_setresgid] (__setresgid): Do not declare.
15908 [__ASSUME_32BITUIDS]: Make code unconditional.
15909 [!__ASSUME_32BITUIDS]: Remove conditional code.
15910 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
15911 <kernel-features.h>.
15912 [__NR_setresuid] (__setresuid): Do not declare.
15913 [__ASSUME_32BITUIDS]: Make code unconditional.
15914 [!__ASSUME_32BITUIDS]: Remove conditional code.
15915 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
15916 <kernel-features.h>.
15917 [__ASSUME_32BITUIDS]: Make code unconditional.
15918 [!__ASSUME_32BITUIDS]: Remove conditional code.
15919 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
15920 <kernel-features.h>.
15921 [__ASSUME_32BITUIDS]: Make code unconditional.
15922 [!__ASSUME_32BITUIDS]: Remove conditional code.
15923 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
15924 <kernel-features.h>.
15925 [__ASSUME_32BITUIDS]: Make code unconditional.
15926 [!__ASSUME_32BITUIDS]: Remove conditional code.
15927 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
15928 <kernel-features.h>.
15929 [__ASSUME_32BITUIDS]: Make code unconditional.
15930 [!__ASSUME_32BITUIDS]: Remove conditional code.
15931 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
15932 <kernel-features.h>.
15933 [__ASSUME_32BITUIDS]: Make code unconditional.
15934 [!__ASSUME_32BITUIDS]: Remove conditional code.
15935 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
15936 <kernel-features.h>.
15937 [__ASSUME_32BITUIDS]: Make code unconditional.
15938 [!__ASSUME_32BITUIDS]: Remove conditional code.
15939 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
15940 <kernel-features.h>.
15941 [__ASSUME_32BITUIDS]: Make code unconditional.
15942 [!__ASSUME_32BITUIDS]: Remove conditional code.
15943 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
15944 <kernel-features.h>.
15945 [__ASSUME_32BITUIDS]: Make code unconditional.
15946 [!__ASSUME_32BITUIDS]: Remove conditional code.
15947 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
15948 <kernel-features.h>.
15949 [__ASSUME_32BITUIDS]: Make code unconditional.
15950 [!__ASSUME_32BITUIDS]: Remove conditional code.
15951 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15952 <kernel-features.h>.
15953 [__ASSUME_32BITUIDS]: Make code unconditional.
15954 [!__ASSUME_32BITUIDS]: Remove conditional code.
15955 * sysdeps/unix/sysv/linux/kernel-features.h
15956 (__ASSUME_SETRESUID_SYSCALL): Remove.
15957 (__ASSUME_SETRESGID_SYSCALL): Likewise.
15958 (__ASSUME_32BITUIDS): Likewise.
15959 (__ASSUME_LDT_WORKS): Likewise.
15960 (__ASSUME_O_DIRECTORY): Likewise.
15961 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
15962 architecture but not kernel version.
15963 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15964 (__ASSUME_MMAP2_SYSCALL): Likewise.
15965 (__ASSUME_STAT64_SYSCALL): Likewise.
15966 (__ASSUME_IPC64): Likewise.
15967 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
15968 <kernel-features.h>.
15969 [__ASSUME_32BITUIDS]: Make code unconditional.
15970 [!__ASSUME_32BITUIDS]: Remove conditional code.
15971 * sysdeps/unix/sysv/linux/opendir.c: Do not include
15972 <kernel-features.h>.
15973 [__ASSUME_O_DIRECTORY]: Make code unconditional.
15974 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
15975 132096]: Remove conditional code.
15976 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
15977 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15978 <kernel-features.h>.
15979 [__ASSUME_32BITUIDS]: Make code unconditional.
15980 [!__ASSUME_32BITUIDS]: Remove conditional code.
15981 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15982 <kernel-features.h>.
15983 [__ASSUME_32BITUIDS]: Make code unconditional.
15984 [!__ASSUME_32BITUIDS]: Remove conditional code.
15985 * sysdeps/unix/sysv/linux/setegid.c: Do not include
15986 <kernel-features.h>.
15987 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
15988 unconditional.
15989 (__setresgid): Do not declare.
15990 [__ASSUME_32BITUIDS]: Make code unconditional.
15991 [!__ASSUME_32BITUIDS]: Remove conditional code.
15992 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
15993 <kernel-features.h>.
15994 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
15995 unconditional.
15996 (__setresuid): Do not declare.
15997 [__ASSUME_32BITUIDS]: Make code unconditional.
15998 [!__ASSUME_32BITUIDS]: Remove conditional code.
15999 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16000 <kernel-features.h>.
16001 [__ASSUME_32BITUIDS]: Make code unconditional.
16002 [!__ASSUME_32BITUIDS]: Remove conditional code.
16003 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16004 <kernel-features.h>.
16005 [__ASSUME_32BITUIDS]: Make code unconditional.
16006 [!__ASSUME_32BITUIDS]: Remove conditional code.
16007
160082012-05-25 Richard Henderson <rth@twiddle.net>
16009
16010 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16011 dl_hwcap to ifunc resolver.
16012 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16013 elf_ifunc_invoke.
16014 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16015 dl_hwcap to ifunc resolver.
16016 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16017
160182012-05-24 Joseph Myers <joseph@codesourcery.com>
16019
16020 [BZ #14153]
16021 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16022 for |x| <= 2**-26, not 2**-57.
16023 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16024 exception.
16025
160262012-05-24 Jeff Law <law@redhat.com>
16027
16028 * stdio-common/Makefile (tests): Add bug25.
16029 * stdio-common/bug25.c: New test.
16030
160312012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16032
16033 [BZ #13576]
16034 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16035 multiple of MALLOC_ALIGNMENT in size.
16036 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16037
160382012-05-24 Joseph Myers <joseph@codesourcery.com>
16039
16040 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16041 Require >= 256.
16042 (FILENAME_MAX): Use macro-int-constant.
16043 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16044 (_IOFBF): Use macro-int-constant.
16045 (_IOLBF): Likewise.
16046 (_IONBF): Likewise.
16047 (SEEK_CUR): Likewise.
16048 (SEEK_END): Likewise.
16049 (SEEK_SET): Likewise.
16050 (TMP_MAX): Likewise.
16051 (EOF): Use macro-int-constant. Require < 0.
16052 (NULL): Use macro-constant. Require == 0.
16053 (stdin): Require type to be FILE *.
16054 (stdout): Likewise.
16055 (stderr): Likewise.
16056 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16057 macro-int-constant.
16058 (EXIT_SUCCESS): Likewise.
16059 (NULL): Use macro-constant. Require == 0.
16060 (RAND_MAX): Use macro-int-constant.
16061 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16062 [C99-based standards] (strtof): Require function.
16063 [C99-based standards] (strtold): Likewise.
16064 [C99-based standards] (strtoll): Likewise.
16065 [C99-based standards] (strtoull): Likewise.
16066 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16067 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16068 [ISO || ISO99 || ISO11] (math.h): Likewise.
16069 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16070 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16071 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16072
160732012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16074
16075 [BZ #14132]
16076 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16077 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16078 * intl/dgettext.c (DCGETTEXT): Likewise.
16079 * intl/gettext.c (DCGETTEXT): Likewise.
16080 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16081 * posix/regex_internal.h (gettext): Likewise.
16082 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16083 Remove declaration.
16084 * include/argz.h (__argz_count_internal)
16085 (__argz_stringify_internal): Remove declaration.
16086 (__argz_count, __argz_stringify): Declare hidden proto.
16087 * intl/dcgettext.c: Remove use of INTDEF.
16088 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16089 * string/argz-stringify.c: Likewise.
16090 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16091 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16092 Declare hidden proto.
16093 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16094 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16095 Declare hidden proto.
16096 * include/stdio.h (__asprintf_internal): Don't declare.
16097 (__asprintf): Don't define as macro. Declare hidden proto.
16098 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16099 (__fsetlocking): Declare hidden proto.
16100 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16101 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16102 hidden proto.
16103 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16104 (_IO_setlinebuf): Remove use of INTUSE.
16105 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16106 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16107 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16108 Remove declaration.
16109 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16110 (_IO_do_flush): Remove use of INTUSE.
16111 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16112 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16113 (_IO_adjust_column, _IO_least_wmarker)
16114 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16115 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16116 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16117 (_IO_default_doallocate, _IO_wdefault_doallocate)
16118 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16119 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16120 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16121 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16122 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16123 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16124 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16125 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16126 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16127 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16128 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16129 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16130 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16131 proto.
16132 (_IO_flush_all_internal, _IO_adjust_column_internal)
16133 (_IO_default_uflow_internal, _IO_default_finish_internal)
16134 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16135 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16136 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16137 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16138 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16139 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16140 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16141 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16142 (_IO_file_close_internal, _IO_file_close_it_internal)
16143 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16144 (_IO_file_init_internal, _IO_file_attach_internal)
16145 (_IO_file_fopen_internal, _IO_file_read_internal)
16146 (_IO_file_sync_internal, _IO_file_seek_internal)
16147 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16148 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16149 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16150 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16151 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16152 (_IO_list_all_internal, _IO_link_in_internal)
16153 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16154 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16155 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16156 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16157 (_IO_do_write_internal, _IO_padn_internal)
16158 (_IO_getline_info_internal, _IO_getline_internal)
16159 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16160 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16161 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16162 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16163 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16164 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16165 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16166 with libc_hidden_ver, remove use of INTUSE.
16167 * libio/genops.c: Likewise.
16168 * libio/freopen.c: Likewise.
16169 * libio/freopen64.c: Likewise.
16170 * libio/iofclose.c: Likewise.
16171 * libio/iofdopen.c: Likewise.
16172 * libio/iofflush.c: Likewise.
16173 * libio/iofflush_u.c: Likewise.
16174 * libio/iofgets.c: Likewise.
16175 * libio/iofgets_u.c: Likewise.
16176 * libio/iofopen.c: Likewise.
16177 * libio/iofopncook.c: Likewise.
16178 * libio/iofread.c: Likewise.
16179 * libio/iofread_u.c: Likewise.
16180 * libio/ioftell.c: Likewise.
16181 * libio/iofwrite.c: Likewise.
16182 * libio/iogetline.c: Likewise.
16183 * libio/iogets.c: Likewise.
16184 * libio/iogetwline.c: Likewise.
16185 * libio/iopadn.c: Likewise.
16186 * libio/iopopen.c: Likewise.
16187 * libio/ioseekoff.c: Likewise.
16188 * libio/ioseekpos.c: Likewise.
16189 * libio/iosetbuffer.c: Likewise.
16190 * libio/iosetvbuf.c: Likewise.
16191 * libio/ioungetc.c: Likewise.
16192 * libio/ioungetwc.c: Likewise.
16193 * libio/iovdprintf.c: Likewise.
16194 * libio/iovsprintf.c: Likewise.
16195 * libio/iovsscanf.c: Likewise.
16196 * libio/memstream.c: Likewise.
16197 * libio/obprintf.c: Likewise.
16198 * libio/oldfileops.c: Likewise.
16199 * libio/oldiofclose.c: Likewise.
16200 * libio/oldiofdopen.c: Likewise.
16201 * libio/oldiofopen.c: Likewise.
16202 * libio/oldiopopen.c: Likewise.
16203 * libio/oldstdfiles.c: Likewise.
16204 * libio/putc.c: Likewise.
16205 * libio/setbuf.c: Likewise.
16206 * libio/setlinebuf.c: Likewise.
16207 * libio/stdfiles.c: Likewise.
16208 * libio/strops.c: Likewise.
16209 * libio/vasprintf.c: Likewise.
16210 * libio/vscanf.c: Likewise.
16211 * libio/vsnprintf.c: Likewise.
16212 * libio/vswprintf.c: Likewise.
16213 * libio/wfiledoalloc.c: Likewise.
16214 * libio/wfileops.c: Likewise.
16215 * libio/wgenops.c: Likewise.
16216 * libio/wmemstream.c: Likewise.
16217 * libio/wstrops.c: Likewise.
16218 * libio/__fpurge.c: Likewise.
16219 * libio/__fsetlocking.c: Likewise.
16220 * assert/assert.c: Likewise.
16221 * debug/fgets_chk.c: Likewise.
16222 * debug/fgets_u_chk.c: Likewise.
16223 * debug/fread_chk.c: Likewise.
16224 * debug/fread_u_chk.c: Likewise.
16225 * debug/gets_chk.c: Likewise.
16226 * debug/obprintf_chk.c: Likewise.
16227 * debug/vasprintf_chk.c: Likewise.
16228 * debug/vdprintf_chk.c: Likewise.
16229 * debug/vsnprintf_chk.c: Likewise.
16230 * debug/vsprintf_chk.c: Likewise.
16231 * malloc/mtrace.c: Likewise.
16232 * misc/error.c: Likewise.
16233 * misc/syslog.c: Likewise.
16234 * stdio-common/asprintf.c: Likewise.
16235 * stdio-common/fxprintf.c: Likewise.
16236 * stdio-common/getw.c: Likewise.
16237 * stdio-common/isoc99_fscanf.c: Likewise.
16238 * stdio-common/isoc99_scanf.c: Likewise.
16239 * stdio-common/isoc99_vfscanf.c: Likewise.
16240 * stdio-common/isoc99_vscanf.c: Likewise.
16241 * stdio-common/isoc99_vsscanf.c: Likewise.
16242 * stdio-common/printf-prs.c: Likewise.
16243 * stdio-common/printf_fp.c: Likewise.
16244 * stdio-common/printf_fphex.c: Likewise.
16245 * stdio-common/printf_size.c: Likewise.
16246 * stdio-common/putw.c: Likewise.
16247 * stdio-common/scanf.c: Likewise.
16248 * stdio-common/sprintf.c: Likewise.
16249 * stdio-common/tmpfile.c: Likewise.
16250 * stdio-common/vfprintf.c: Likewise.
16251 * stdio-common/vfscanf.c: Likewise.
16252 * stdlib/strfmon_l.c: Likewise.
16253 * sunrpc/openchild.c: Likewise.
16254 * sunrpc/xdr_stdio.c: Likewise.
16255 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16256 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16257
162582012-05-24 Roland McGrath <roland@hack.frob.com>
16259
16260 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16261
16262 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16263 in the third column, to generate for the shared library an IFUNC
16264 that uses _dl_vdso_vsym.
16265 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16266 * Makeconfig (object-suffixes-noshared): New variable.
16267
16268 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16269 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16270 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16271 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16272
16273 [BZ #14132]
16274 * include/sys/time.h (__gettimeofday): Remove macro.
16275 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16276 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16277 Remove INTDEF.
16278 (__gettimeofday): Add libc_hidden_def.
16279 (gettimeofday): Add libc_hidden_weak.
16280 * sysdeps/mach/gettimeofday.c: Likewise.
16281 * sysdeps/posix/gettimeofday.c: Likewise.
16282 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16283 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16284 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16285 (__gettimeofday_internal): Remove strong_alias.
16286 (__gettimeofday): Add libc_hidden_def.
16287 (gettimeofday): Add libc_hidden_weak.
16288 * sysdeps/unix/syscalls.list (gettimeofday):
16289 Remove __gettimeofday_internal alias.
16290
162912012-05-24 Daniel Jacobowitz <drow@false.org>
16292 H.J. Lu <hongjiu.lu@intel.com>
16293
16294 [BZ #12495]
16295 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16296 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16297 (largebin_index_32_big): New.
16298 (largebin_index): Use it for 16-byte alignment.
16299 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16300 correction with front_misalign.
16301
163022012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16303
16304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16306 Likewise.
16307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16308 Likewise.
16309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16310 Likewise.
16311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16312 Likewise.
16313 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16314 Likewise.
16315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16316 Likewise.
16317 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16318 Likewise.
16319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16320 Likewise.
16321 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16322 Likewise.
16323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16324 Likewise.
16325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16326 Likewise.
16327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16328 Likewise.
16329
16330 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16331 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16332
163332012-05-24 Joseph Myers <joseph@codesourcery.com>
16334
16335 [BZ #10846]
16336 [BZ #14036]
16337 * math/libm-test.inc (exp_test): Add test from bug 14036.
16338 (pow_test): Add test from bug 10846.
16339
16340 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16341 and other flags.
16342 (special_function): Do not include flags in test name.
16343 (parse_args): Likewise.
16344 * sysdeps/i386/fpu/libm-test-ulps: Update.
16345 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16346 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16347 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16349
16350 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16351 exceptions.
16352 * math/libm-test.inc ("Philosophy"): Update comment about
16353 exception testing.
16354 (UNDERFLOW_EXCEPTION): New macro.
16355 (UNDERFLOW_EXCEPTION_OK): Likewise.
16356 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16357 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16358 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16359 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16360 (INVALID_EXCEPTION_OK): Update value.
16361 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16362 (OVERFLOW_EXCEPTION_OK): Likewise.
16363 (IGNORE_ZERO_INF_SIGN): Likewise.
16364 (test_exceptions): Handle underflow exceptions.
16365 (acos_test): Update for underflow exception expectations.
16366 (cexp_test): Likewise.
16367 (clog_test): Likewise.
16368 (clog10_test): Likewise.
16369 (csqrt_test): Likewise.
16370 (ctan_test): Likewise.
16371 (ctanh_test): Likewise.
16372 (exp_test): Likewise.
16373 (exp10_test): Likewise.
16374 (exp2_test): Likewise.
16375 (expm1_test): Likewise.
16376 (fma_test): Likewise.
16377 (j0_test): Likewise.
16378 (jn_test): Likewise.
16379 (nexttoward_test): Likewise.
16380 (pow_test): Likewise.
16381 (scalbn_test): Likewise.
16382 (scalbln_test): Likewise.
16383 (tan_test): Likewise.
16384 (y1_test): Likewise.
16385 * sysdeps/i386/fpu/libm-test-ulps: Update.
16386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16387
163882012-05-23 David S. Miller <davem@davemloft.net>
16389
16390 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16391 (__libc_sigaction): Remove unused local variables.
16392
163932012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16394
16395 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16396
163972012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16398
16399 mktime: avoid signed integer overflow
16400 * time/mktime.c (__mktime_internal): Do not mishandle the case
16401 where diff == INT_MIN.
16402
16403 mktime: simplify computation of average
16404 * time/mktime.c (ranged_convert): Use new time_t_avg function
16405 instead of rolling our own (probably-slower) code.
16406
16407 mktime: do not assume signed right shift propagates sign bit
16408 * time/mktime.c (isdst_differ): New static function.
16409 (__mktime_internal): No need to normalize tm_isdst now.
16410 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16411 tm_isdst values.
16412
16413 mktime: merge another wrapv change from gnulib
16414 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16415 from some compilers.
16416
16417 mktime: remove incorrect attempt at unusual arithmetics
16418 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16419 The code didn't really work on such machines anyway.
16420 (TYPE_MINIMUM): Assume two's complement.
16421 (twos_complement_arithmetic): Verify that long_int and time_t
16422 are two's complement (or unsigned, in the latter case).
16423
16424 mktime: check signed shifts on long_int and time_t, too
16425 * time/mktime.c (SHR): Check that shifts work as desired
16426 on the types long_int and time_t too, as SHR is used on
16427 such types.
16428
16429 mktime: do not assume 'long' is wide enough
16430 * time/mktime.c (verify): Move decl up.
16431 (long_int): New type.
16432 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16433 to remove assumption in the code that 'long' is wide enough to
16434 store year values. This assumption is not true on x32 and on
16435 some non-glibc platforms.
16436
16437 mktime: merge wrapv change from gnulib
16438 * time/mktime.c (WRAPV): New macro.
16439 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16440 (guess_time_tm, __mktime_internal): Do not assume that signed
16441 integer overflow wraps around; modern compilers generate code
16442 where this assumption is no longer valid.
16443
164442012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16445
16446 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16447 Replace "jmp L(pseudo_end)" with "ret".
16448 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16449 Likewise.
16450
164512012-05-23 Andreas Jaeger <aj@suse.de>
16452
16453 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16454 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16455
164562012-05-23 Andreas Jaeger <aj@suse.de>
16457 Maximilian Attems <max@stro.at>
16458
16459 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16460 New macros.
16461
164622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16463
16464 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16465 code so that pseudo_end is just ret and the stack pointer is
16466 correct also for static library in error case.
16467
164682012-05-23 Joseph Myers <joseph@codesourcery.com>
16469
16470 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16471 move to syscalls.list.
16472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16476
16477 * manual/install.texi (Running make install): Do not mention Linux
16478 kernel version for which pt_chown is not needed.
16479 (Linux): Do not mention problems with nscd with 2.0 kernels.
16480 * INSTALL: Regenerated.
16481
164822012-05-23 Andreas Jaeger <aj@suse.de>
16483
16484 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16485 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16486 macro.
16487 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16488 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16489 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16490 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16491 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16492 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16493 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16494 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16495 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16496 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16497 * sysdeps/unix/sysv/linux/bits/in.h
16498 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16499
165002012-05-22 Roland McGrath <roland@hack.frob.com>
16501
16502 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16503 (PREPARE_VERSION): Just use assert instead, it will be elided
16504 under [NDEBUG] anyway.
16505
165062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16507
16508 * sysdeps/unix/sysv/linux/Makefile: Include
16509 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
16510 (sysdep_routines): Remove sysctl.
16511 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16512 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16513 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16514 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16515 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16516
165172012-05-22 Andreas Jaeger <aj@suse.de>
16518
16519 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16520 that pseudo_end is just ret and the stack pointer is correct also
16521 for static library in error case.
16522
165232012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16524
16525 [BZ #14122]
16526 * nss/nsswitch.c (defconfig_entries): New variable.
16527 (__nss_database_lookup): Don't leak defconfig entries.
16528 (nss_parse_service_list): Don't leak on error paths.
16529 (free_database_entries): New function.
16530 (free_defconfig): New function.
16531 (free_mem): Move common code to free_database_entries.
16532
165332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16534
16535 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16536 Add arch_prctl.
16537 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16538
16539 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16540 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16541 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16542 New macro.
16543 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16544 (INTERNAL_SYSCALL_TYPES): Likewise.
16545 (LOAD_ARGS_TYPES_[1-6]): Likewise.
16546 (LOAD_REGS_TYPES_[1-6]): Likewise.
16547 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16548 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16549
165502012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16551
16552 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16553 copysignl for GLIBC_2_0.
16554 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16555 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16556 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16557 logbl for GLIBC_2_0.
16558 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16559 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16560
165612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16562
16563 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16564 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16565
16566 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16567 Use "neg %eax".
16568
16569 * time/mktime.c: Update copyright years.
16570
165712012-05-22 Paul Eggert <eggert@cs.ucla.edu>
16572
16573 mktime: merge comment-quoting-style change from gnulib
16574 * time/mktime.c: Quote 'like this' in comments.
16575 The GNU coding standards suggest that we no longer quote `like this',
16576 as "`" and "'" are typically rendered asymmetrically nowadays.
16577 The typical gnulib style is to quote 'like this' when quoting
16578 code, and "like this" when quoting English.
16579
16580 * time/mktime.c (compile-command): Add "-I.".
16581
16582 mktime: merge mktime-internal.h change from gnulib
16583 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16584
16585 mktime: merge time_r change from gnulib
16586 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16587
16588 mktime: merge DEBUG change from gnulib
16589 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16590 case system <time.h> has a #define.
16591
16592 mktime: merge <sys/types.h> change from gnulib
16593 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16594 since <time.t> is now guaranteed to define time_t.
16595
16596 mktime: merge HAVE_CONFIG_H change from gnulib
16597 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16598
165992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16600
16601 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16602 Use "neg %eax".
16603
16604 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16605 __rlim_t cast.
16606 (struct rusage): Use anonymous union to pad each field to
16607 __syscall_slong_t.
16608
166092012-05-21 David S. Miller <davem@davemloft.net>
16610
16611 * Makefules (o-iterator): Remove .s cases.
16612 (compile-command.s): Delete.
16613 (COMPILE.s): Delete.
16614 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16615
166162012-05-21 Joseph Myers <joseph@codesourcery.com>
16617
16618 * configure.in (libc_cv_predef_stack_protector): Only consider
16619 "foobar" and "__stack_chk_fail" lines in libc_undefs.
16620 * configure: Regenerated.
16621
166222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16623
16624 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16625 New macro. Use R*LP on int and pointer.
16626 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
16627 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16628 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
16629 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16630
16631 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16632 [__WORDSIZE_TIME64_COMPAT32] instead of
16633 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16634 (struct utmp): Likewise.
16635 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16636 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16637 Renamed to ...
16638 (__WORDSIZE_TIME64_COMPAT32): This.
16639 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16640 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16641 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16642 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16643 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16644 (__WORDSIZE_TIME64_COMPAT32): New macro.
16645
166462012-05-21 Andreas Jaeger <aj@suse.de>
16647
16648 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16649 only if [SHARED]. Add prototype for __wcschr_ia32.
16650
166512012-05-21 Roland McGrath <roland@hack.frob.com>
16652
16653 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16654 of %rbp unmolested in the jmp_buf while mangling the low bits.
16655 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16656 unmolested high bits of %rbp while demangling the low bits.
16657 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16658
166592012-05-21 Andreas Jaeger <aj@suse.de>
16660
16661 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16662 * sunrpc/svc_simple.c: Use it for registerrpc.
16663 * sunrpc/xcrypt.c: Use it for passwd2des.
16664
16665 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16666
166672012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16668
16669 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16670 Don't define if [__SYSCALL_WORDSIZE != 32].
16671 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16672 New macro.
16673
166742012-05-21 Bruno Haible <bruno@clisp.org>
16675 Andreas Jaeger <aj@suse.de>
16676
16677 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16678 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16679 inptr and inend for must_buffer_ch.
16680 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16681 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16682 * stdio-common/Makefile (tests): Remove bug15.
16683 (bug15-ENV): Remove macro.
16684 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16685 anymore.
16686
166872012-05-19 Andreas Jaeger <aj@suse.de>
16688 Roland McGrath <roland@hack.frob.com>
16689
16690 * manual/contrib.texi: Completely rewritten. It contains now an
16691 alphabetical list of contributors and their contributions.
16692
166932012-05-21 Richard Henderson <rth@twiddle.net>
16694
16695 * misc/getauxval.c (__getauxval): Use unsigned long int.
16696 * misc/sys/auxv.h: Include <sys/cdefs.h>.
16697 (getauxval): Use unsigned long int.
16698
166992012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16700
16701 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16702
167032012-05-21 Roland McGrath <roland@hack.frob.com>
16704
16705 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16706 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16707 __alignof__ (long double).
16708
167092012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16710
16711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16712
167132012-05-20 Richard Henderson <rth@twiddle.net>
16714
16715 * misc/getauxval.c: New file.
16716 * misc/sys/auxv.h: New file.
16717 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16718 (routines): Add getauxval.
16719 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16720 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16721 * elf/dl-sysdep.c (_dl_auxv): Remove.
16722 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16723 * elf/dl-support.c (_dl_auxv): New variable.
16724 (_dl_aux_init): Initialize it.
16725 * manual/startup.texi (Auxiliary Vector): New node.
16726 * sysdeps/generic/bits/hwcap.h: New file.
16727 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16728 * sysdeps/powerpc/sysdep.h: ... here. Include it.
16729 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16730 * sysdeps/sparc/sysdep.h: ... here. Include it.
16731 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16732 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
16733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16734 Update.
16735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16738 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16740 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16743
167442012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16745
16746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16747
167482012-05-19 David S. Miller <davem@davemloft.net>
16749
16750 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16751
167522012-05-19 Joseph Myers <joseph@codesourcery.com>
16753
16754 [BZ #14123]
16755 * math/s_ccosh.c: Include <float.h>
16756 (__ccosh): Avoid internal overflow calculating sinh and cosh
16757 values before multiplying by sin and cos values.
16758 * math/s_ccoshf.c: Likewise.
16759 * math/s_ccoshl.c: Likewise.
16760 * math/s_csin.c: Likewise.
16761 * math/s_csinf.c: Likewise.
16762 * math/s_csinl.c: Likewise.
16763 * math/s_csinh.c: Likewise.
16764 * math/s_csinhf.c: Likewise.
16765 * math/s_csinhl.c: Likewise.
16766 * math/libm-test.inc (ccos_test): Add more tests.
16767 (ccosh_test): Likewise.
16768 (csin_test): Likewise.
16769 (csinh_test): Likewise.
16770 * sysdeps/i386/fpu/libm-test-ulps: Update.
16771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16772
167732012-05-19 H.J. Lu <hongjiu.lu@intel.com>
16774
16775 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16776 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16777
16778 * sysdeps/x86_64/x32/_itoa.h: Add comment.
16779
167802012-05-19 Joseph Myers <joseph@codesourcery.com>
16781
16782 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16783 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16784 * sysdeps/powerpc/soft-fp/Versions: Likewise.
16785 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16786 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16787 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16788 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16789 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16790 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16791 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16792 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16793 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16794 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16795 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16796 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16797 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16798 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16799 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16800 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16801 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16802 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16803 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16804 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16805 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16806 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16807 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16808 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16809 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16810 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16811 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16812 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16813
168142012-05-18 Andreas Jaeger <aj@suse.de>
16815
16816 * csu/.gitignore: Delete.
16817
168182012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16819
16820 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
16821 (timex): Use __syscall_slong_t.
16822
168232012-05-18 Andreas Jaeger <aj@suse.de>
16824 Carlos O'Donell <carlos_odonell@mentor.com>
16825
16826 * manual/install.texi (Configuring and compiling): Update
16827 description about files modified in the source directory.
16828 * INSTALL: Regenerated.
16829
168302012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16831
16832 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
16833 value. Use "or" to set return value to -1.
16834 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
16835 negate return value.
16836
168372012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16838
16839 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
16840 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
16841 failure if the compiler has Graphite support disabled.
16842 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
16843 Likewise.
16844 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
16845 CFLAGS-memmove.c): Likewise.
16846 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
16847 Likewise.
16848
168492012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16850
16851 * sysdeps/x86_64/x32/_itoa.h: New file.
16852
16853 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
16854 getdents system call only if kernel and user dirents have the
16855 same d_ino and d_off.
16856
16857 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16858 LLONG_MAX != LONG_MAX.
16859 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16860 (_fitoa_word): Likewise.
16861
16862 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
16863 years.
16864 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
16865 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
16866 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
16867
16868 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
16869 include <bits/wordsize.h>. Check __x86_64__ instead of
16870 __WORDSIZE.
16871 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
16872 if __x86_64__ is defined. Use anonymous union on fpstate.
16873
16874 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
16875 anonymous union.
16876
168772012-05-18 Andreas Schwab <schwab@linux-m68k.org>
16878
16879 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16880 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
16881 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
16882 Refer to _rtld_local_ro instead of _rtld_global_ro.
16883 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
16884 Likewise.
16885 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
16886 Likewise.
16887 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
16888 Likewise.
16889 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
16890 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
16891 of _rtld_global, and rtld_progname instead of _dl_argv[0].
16892
16893 * sysdeps/powerpc/powerpc32/dl-machine.c
16894 (__elf_machine_runtime_setup) [PROF]: Don't reference
16895 _dl_prof_resolve.
16896
168972012-05-18 Andreas Jaeger <aj@suse.de>
16898
16899 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
16900 function only available for GCCs before 3.4 since GCC 3.4
16901 introduced a builtin.
16902 (lrint): Likewise.
16903 (llrintf): Likewise.
16904 (llrint): Likewise.
16905 (fmaxf): Likewise.
16906 (fmax): Likewise.
16907 (fminf): Likewise.
16908 (fmin): Likewise.
16909 (rint): Likewise.
16910 (rintf): Likewise.
16911 (nearbyint): Likewise.
16912 (nearbyintf): Likewise.
16913 (ceil): Likewise.
16914 (ceilf): Likewise.
16915 (floor): Likewise.
16916 (floorf): Likewise.
16917
169182012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16919
16920 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
16921 on both fields and cast pointer to __syscall_ulong_t.
16922
16923 * bits/types.h (__fsword_t): New type.
16924 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
16925 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
16926 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16927 (__FSWORD_T_TYPE): Likewise.
16928 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16929 (__FSWORD_T_TYPE): Likewise.
16930 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16931 (__FSWORD_T_TYPE): Likewise.
16932 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
16933 (__FSWORD_T_TYPE): Likewise.
16934 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
16935 __SWORD_TYPE with __fsword_t.
16936 (statfs64): Likewise.
16937
169382012-05-17 David S. Miller <davem@davemloft.net>
16939
16940 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
16941
169422012-05-17 Andreas Jaeger <aj@suse.de>
16943
16944 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
16945 warning.
16946
169472012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16948
16949 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
16950
169512012-05-17 Andreas Jaeger <aj@suse.de>
16952
16953 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
16954 when it is used.
16955
169562012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16957
16958 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
16959
169602012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16961
16962 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
16963 * sysdeps/x86_64/tst-mallocalign1.c: New file.
16964
169652012-05-17 Andreas Jaeger <aj@suse.de>
16966 Carlos O'Donell <carlos_odonell@mentor.com>
16967
16968 [BZ #14059]
16969 * sysdeps/x86_64/multiarch/init-arch.h
16970 (bit_YMM_Usable): Rename to...
16971 (bit_AVX_Usable): ... this.
16972 (bit_FMA4_Usable): New macro.
16973 (bit_XMM_state): New macro.
16974 (bit_YMM_state): New macro.
16975 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
16976 [__ASSEMBLER__] (index_AVX_Usable): ... this.
16977 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
16978 (CPUID_OSXSAVE): New macro.
16979 (CPUID_AVX): New macro.
16980 (CPUID_FMA4): New macro.
16981 (index_YMM_Usable): Rename to...
16982 (index_AVX_Usable): ... this.
16983 (HAS_AVX): Use HAS_ARCH_FEATURE.
16984 (HAS_FMA4): Likewise.
16985 (HAS_YMM_USABLE): Remove.
16986 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16987 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
16988 are present.
16989 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
16990 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
16991 * sysdeps/x86_64/multiarch/Makefile: Likewise.
16992 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
16993 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
16994
169952012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16996
16997 * math/libm-test.c: Support platforms without multiple rounding modes.
16998 * math/bug-nextafter.c: Support platforms without FP exceptions.
16999 * math/bug-nexttoward.c: Likewise.
17000 * math/test-fenv.c: Likewise.
17001 * math/test-misc.c: Likewise.
17002 * stdlib/bug-getcontext.c: Likewise.
17003
170042012-05-17 Andreas Jaeger <aj@suse.de>
17005
17006 * manual/examples/search.c (critter_cmp): Change signature to
17007 avoid warnings.
17008 * manual/string.texi (Collation Functions): Likewise.
17009
170102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17011
17012 * bits/types.h: Fold copyright years.
17013 * bits/typesizes.h: Likewise.
17014 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17015 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17016 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17017 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17018 * time/time.h: Likewise.
17019
170202012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17021
17022 [BZ #208]
17023 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17024 in instead of returning them. Return void.
17025 (__libc_mallinfo): Accumulate over all arenas.
17026 (__malloc_stats): Adjust for change in int_mallinfo interface.
17027
170282012-05-16 Roland McGrath <roland@hack.frob.com>
17029
17030 [BZ #10375]
17031 * configure.in (NM): Add AC_CHECK_TOOL for it.
17032 (libc_extra_cflags): New substituted variable.
17033 Check for -fstack-protector being used implicitly.
17034 * configure: Regenerated.
17035 * config.make.in (config-extra-cflags): New variable,
17036 gets @libc_extra_cflags@.
17037 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17038
17039 [BZ #10375]
17040 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17041 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17042 * configure: Regenerated.
17043 * config.make.in (CPPUNDEFS): New substituted variable.
17044 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17045 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17046 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17047
170482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17049
17050 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17051 (mq_attr): Use __syscall_slong_t.
17052
170532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17054
17055 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17056 Check __x86_64__ instead of __WORDSIZE.
17057 (_STAT_VER_LINUX): Likewise.
17058 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17059 __syscall_ulong_t and __syscall_slong_t.
17060 (stat64): Likewise.
17061
170622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17063
17064 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17065
170662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17067
17068 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17069
170702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17071
17072 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17073 __syscall_ulong_t.
17074
17075 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17076 include <bits/wordsize.h>. Check __x86_64__ instead of
17077 __WORDSIZE.
17078 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17079 defined.
17080 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17081
17082 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17083 include <bits/wordsize.h>. Check __x86_64__ instead of
17084 __WORDSIZE.
17085 (user_regs_struct): Use "__extension__ unsigned long long"
17086 instead of "unsigned long" if __x86_64__ is defined.
17087 (user): Likewise. Pad after pointer field if __ILP32__ is
17088 defined.
17089
170902012-05-16 Joseph Myers <joseph@codesourcery.com>
17091
17092 * configure.in (makeinfo): Require version 4.5 or later. Allow
17093 versions 5 to 9.
17094 * configure: Regenerated.
17095 * manual/install.texi (texinfo): Increase version requirement to
17096 4.5 or later.
17097 * INSTALL: Regenerated.
17098
17099 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17100
171012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17102
17103 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17104
17105 * sysdeps/x86_64/x32/ffs.c: New file.
17106
17107 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17108 __syscall_ulong_t.
17109 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17110 defined. Use __syscall_ulong_t.
17111 (shminfo): Use __syscall_ulong_t.
17112 (shm_info): Likewise.
17113
17114 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17115 __syscall_ulong_t.
17116
17117 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17118 <bits/wordsize.h>.
17119 (msgqnum_t): Use __syscall_ulong_t.
17120 (msglen_t): Likewise.
17121 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17122 __syscall_ulong_t.
17123
17124 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17125 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17126
17127 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17128
17129 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17130 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17131
17132 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17133 __syscall_slong_t.
17134
17135 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17136 include <bits/wordsize.h>. Check __x86_64__ instead of
17137 __WORDSIZE.
17138
17139 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17140 "unsigned long long int" if __x86_64__ is defined.
17141 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17142
17143 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17144 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17145 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17146
17147 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17148 <stdint.h>.
17149 (GET_PC): Cast to uintptr_t first.
17150 (GET_FRAME): Likewise.
17151 (GET_STACK): Likewise.
17152
17153 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17154 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17155 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17156 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17157 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17158 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17159 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17160 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17161 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17162 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17163 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17164 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17165 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17166 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17167 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17168 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17169 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17170 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17171 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17172 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17173 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17174 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17175 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17176 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17177 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17178 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17179 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17180 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17181 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17182
171832012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17184
17185 * Makerules (+depfiles): Also collect depfiles from .oS in
17186 $(extra-objs).
17187 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17188 .oS, $(libnldbl-routines)).
17189
17190 * Makerules (native-compile-mkdep-flags): Define.
17191 * sunrpc/Makefile (extra-objs): Add $(addprefix
17192 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17193 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17194 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17195 calling $(make-target-directory).
17196
171972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17198
17199 * bits/types.h (__snseconds_t): Removed.
17200 * time/time.h (struct timespec): Replace __snseconds_t with
17201 __syscall_slong_t.
17202 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17203 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17204 Likewise.
17205 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17206 (__SNSECONDS_T_TYPE): Likewise.
17207 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17208 (__SNSECONDS_T_TYPE): Likewise.
17209 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17210 (__SNSECONDS_T_TYPE): Likewise.
17211
172122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17213
17214 * sysdeps/mach/hurd/bits/typesizes.h
17215 (__SYSCALL_SLONG_TYPE): New macro.
17216 (__SYSCALL_ULONG_TYPE): Likewise.
17217
172182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17219
17220 * bits/types.h (__syscall_slong_t): New type.
17221 (__syscall_ulong_t): Likewise.
17222
17223 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17224 (__SYSCALL_ULONG_TYPE): Likewise.
17225 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17226 (__SYSCALL_SLONG_TYPE): Likewise.
17227 (__SYSCALL_ULONG_TYPE): Likewise.
17228 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17229 (__SYSCALL_SLONG_TYPE): Likewise.
17230 (__SYSCALL_ULONG_TYPE): Likewise.
17231 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17232 (__SYSCALL_SLONG_TYPE): Likewise.
17233 (__SYSCALL_ULONG_TYPE): Likewise.
17234
172352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17236
17237 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17238 Add sigaltstack-offsets.sym.
17239 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17240 <sigaltstack-offsets.h>.
17241 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17242 longjmp_msg pointer.
17243 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17244 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17245 signal stack.
17246 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17247
172482012-05-15 Joseph Myers <joseph@codesourcery.com>
17249
17250 * elf/stackguard-macros.h: Remove file.
17251 * sysdeps/generic/stackguard-macros.h: New file.
17252 * sysdeps/i386/stackguard-macros.h: Likewise.
17253 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17254 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17255 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17256 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17257 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17258 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17259 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17260 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17261 <elf/stackguard-macros.h>.
17262
17263 [BZ #14109]
17264 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17265 __aligned__ in attribute.
17266 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17267 (gregset_t): Likewise.
17268
172692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17270
17271 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17272 * sysdeps/x86_64/64/Implies-after: Here. New file.
17273 * sysdeps/x86_64/x32/Implies-after: New file.
17274
172752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17276
17277 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17278 and access return value for _dl_profile_fixup. Use R10_LP to
17279 load frame size.
17280
172812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17282
17283 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17284
172852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17286
17287 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17288 * sysdeps/x86_64/x32/sysdep.h: New file.
17289
172902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17291
17292 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17293 * sysdeps/x86_64/setjmp.S: Likewise.
17294
172952012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17296
17297 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17298 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17299 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17300 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17301 remove unused global constant.
17302
173032012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17304
17305 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17306 include of <not-cancel.h>.
17307
173082012-05-15 Roland McGrath <roland@hack.frob.com>
17309
17310 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17311
173122012-05-15 Jeff Law <law@redhat.com>
17313 Andreas Jaeger <aj@suse.de>
17314
17315 [BZ #13594]
17316 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17317 out from...
17318 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17319 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17320 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17321 code changing __hst_map_handle.map.
17322
173232012-05-15 Roland McGrath <roland@hack.frob.com>
17324
17325 * configure.in (sysnames): Look for Implies-before and Implies-after
17326 files.
17327 * configure: Regenerated.
17328
173292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17330
17331 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17332 8-byte data alignment with LP_SIZE alignment.
17333
173342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17335
17336 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17337 into R10_LP.
17338
173392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17340
17341 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17342
173432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17344
17345 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17346 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17347 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17348 Likewise.
17349 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17350
173512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17352
17353 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17354 (stackinfo_sub_sp): Likewise.
17355
173562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17357
17358 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17359 RAX_LP.
17360
173612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17362
17363 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17364 into R*_LP.
17365
173662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17367
17368 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17369 sizes into R*_LP.
17370
173712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17372
17373 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17374
173752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17376
17377 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17378 into R11_LP and load __x86_64_shared_cache_size_half into
17379 R8_LP.
17380
173812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17382
17383 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17384 R8_LP.
17385
173862012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17387
17388 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17389 logb for POWER7.
17390 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17391 logbf for POWER7.
17392 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17393 logbl for POWER7.
17394 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17395 powerpc32/power7/fpu/s_logb.c via #include.
17396 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17397 powerpc32/power7/fpu/s_logbf.c via #include.
17398 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17399 powerpc32/power7/fpu/s_logbl.c via #include.
17400
174012012-05-15 Joseph Myers <joseph@codesourcery.com>
17402
17403 * README.libm: Remove file.
17404
174052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17406
17407 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17408 count for x32. Use R*_LP and omit operand-size suffix.
17409
174102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17411
17412 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17413 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17414 * sysdeps/x86_64/x32/shlib-versions: New file.
17415
174162012-05-14 Roland McGrath <roland@hack.frob.com>
17417
17418 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17419 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17420 Use _dl_fatal_printf instead.
17421
174222012-05-14 Joseph Myers <joseph@codesourcery.com>
17423
17424 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17425 set if not set by the user. Do not allow for being unset.
17426 * sysdeps/unix/sysv/linux/configure: Regenerated.
17427
174282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17429
17430 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17431 the `q' suffix from lea and replace .quad with ASM_ADDR.
17432
174332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17434
17435 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17436 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17437 instead of $17.
17438 (PTR_DEMANGLE): Likewise.
17439
174402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17441
17442 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17443 (LP_OP): Likewise.
17444 (ASM_ADDR): Likewise.
17445 (RAX_LP): Likewise.
17446 (RBP_LP): Likewise.
17447 (RBX_LP): Likewise.
17448 (RCX_LP): Likewise.
17449 (RDI_LP): Likewise.
17450 (RSI_LP): Likewise.
17451 (RSP_LP): Likewise.
17452 (R8_LP): Likewise.
17453 (R9_LP): Likewise.
17454 (R10_LP): Likewise.
17455 (R10_LP): Likewise.
17456 (R11_LP): Likewise.
17457 (R12_LP): Likewise.
17458 (R13_LP): Likewise.
17459 (R14_LP): Likewise.
17460 (R15_LP): Likewise.
17461
174622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17463
17464 * sysdeps/x86_64/x32/dl-machine.h: New file.
17465
174662012-05-14 Andreas Jaeger <aj@suse.de>
17467
17468 * manual/Makefile (subdir): Remove export of subdir.
17469 (all): Remove target.
17470 (.PHONY): Remove all from list.
17471 (mkinstalldirs): Remove.
17472 (.PHONY): Remove installdirs from list.
17473 ($(inst_infodir)/libc.info): Use make-target-directory.
17474 (installdirs): Remove.
17475 (subdir_%): Remove.
17476 (glibc-targets): Remove.
17477 (lib): Remove.
17478 (stubs): Remove.
17479 ($(objpfx)stubs ../po/manual.pot): Remove.
17480 ($(objpfx)stamp%): Remove.
17481 (make-target-directory): Remove.
17482 (subdir_install): Remove.
17483 (routines): Remove.
17484 (aux): Remove.
17485 (sources): Remove.
17486 (objects): Remove.
17487 (headers): Remove.
17488
17489 [BZ #13750]
17490 * manual/.gitignore: Remove, it's not needed anymore.
17491 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17492 all files in it.
17493 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17494 directory.
17495 (texis): Renamed to $(objpfx)texis.
17496 (texis-path): New, contains path to generated files.
17497 (chapters.%): Use texis-path for complete path, add extra argument
17498 libc-texinfo.sh.
17499 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17500 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17501 (summary,texi, stamp-summary): Use complete path of
17502 files. Generate files in build dir.
17503 (dir-add.texi): Build in build dir.
17504 (libm-err.texi,stamp-libm-err): Likewise.
17505 (version.texi, stamp-version): Likewise.
17506 (.%c.texi): Likewise.
17507 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17508 (mostlyclean): Remove target.
17509 (realclean): Remove target.
17510 (generated): Add new variable with contents from mostlyclean and
17511 realclean, remove entries duplicated in common-mostlyclean, add
17512 stamp-libm-err and stamp-version.
17513 (generated-dirs): Add libc directory.
17514 ($(inst_infodir)/libc.info): Install files from build dir.
17515
17516 * manual/install.texi (Configuring and compiling): Adjust since
17517 the info files are not part of the tar ball anymore.
17518
175192012-05-14 Andreas Jaeger <aj@suse.de>
17520
17521 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17522 variable.
17523
175242012-05-14 Joseph Myers <joseph@codesourcery.com>
17525
17526 [BZ #13717]
17527 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17528 to 2.2.0 where earlier.
17529 * sysdeps/unix/sysv/linux/configure: Regenerated.
17530 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17531 Remove conditional code.
17532 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17533 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17534 Remove conditional code.
17535 [!__NR_lchown]: Likewise.
17536 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17537 [__NR_lchown]: Likewise.
17538 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17539 comment referencing __ASSUME_LCHOWN_SYSCALL.
17540 * sysdeps/unix/sysv/linux/i386/sigaction.c
17541 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17542 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17543 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17544 Remove conditional code.
17545 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17546 (__protocol_available): Remove #if 0 code.
17547 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17548 conditional code.
17549 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17550 * sysdeps/unix/sysv/linux/kernel-features.h
17551 (__ASSUME_GETCWD_SYSCALL): Don't define.
17552 (__ASSUME_REALTIME_SIGNALS): Likewise.
17553 (__ASSUME_PREAD_SYSCALL): Likewise.
17554 (__ASSUME_PWRITE_SYSCALL): Likewise.
17555 (__ASSUME_POLL_SYSCALL): Likewise.
17556 (__ASSUME_LCHOWN_SYSCALL): Likewise.
17557 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17558 non-SPARC.
17559 (__ASSUME_SIOCGIFNAME): Don't define.
17560 (__ASSUME_MSG_NOSIGNAL): Likewise.
17561 (__ASSUME_SENDFILE): Define unconditionally.
17562 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17563 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17564 conditional code.
17565 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17566 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17567 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17568 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17569 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17570 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17571 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17573 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17574 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17576 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17577 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17579 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17580 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17582 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17583 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17585 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17586 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17588 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17589 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17591 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17592 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17594 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17595 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17596 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17597 Remove conditional code.
17598 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17599 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17600 Remove conditional code.
17601 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17602 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17603 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17604 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17605 Remove conditional code.
17606 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17607 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17608 Remove conditional code.
17609 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17610 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17611 Remove conditional code.
17612 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17613 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17614 Remove conditional code.
17615 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17616 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17617 Remove conditional code.
17618 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17619 * sysdeps/unix/sysv/linux/sh/pwrite64.c
17620 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17621 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17622 * sysdeps/unix/sysv/linux/sigaction.c
17623 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17624 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17625 * sysdeps/unix/sysv/linux/sigpending.c
17626 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17627 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17628 * sysdeps/unix/sysv/linux/sigprocmask.c
17629 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17630 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17631 * sysdeps/unix/sysv/linux/sigsuspend.c
17632 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17633 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17634 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17635 (__libc_missing_rt_sigs): Remove.
17636 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17637 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17638 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17639 Remove conditional code.
17640 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17641 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17642 return 1.
17643 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17644 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17645 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17646 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17647
176482012-05-14 Andreas Jaeger <aj@suse.de>
17649
17650 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17651 it's not used in glibc.
17652 (__coshm1): Likewise.
17653 (__acosh1p): Likewise.
17654 (__sgn): Likewise.
17655
17656 * manual/string.texi (Copying and Concatenation): Add missing
17657 variable in concat example.
17658 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17659
176602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17661
17662 [BZ #14103]
17663 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17664 __builtin_clzl with __builtin_clzll.
17665
176662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17667
17668 [BZ #14104]
17669 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17670 libc_freeres_ptr.
17671
176722012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17673
17674 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17675 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17676 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17677 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17678
176792012-05-14 Mike Frysinger <vapier@gentoo.org>
17680
17681 * NEWS: Update ia64 info.
17682
176832012-05-12 Andreas Schwab <schwab@linux-m68k.org>
17684
17685 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17686 used as bcopy.
17687
176882012-05-12 Thomas Schwinge <thomas@codesourcery.com>
17689
17690 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17691 * sysdeps/unix/syscalls.list (dup3): Likewise.
17692 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17693 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17694
176952012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17696
17697 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17698 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17699
177002012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17701
17702 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17703 thread pointer.
17704 (TLS_IE): Use mov/add instead of movq/addq to load thread
17705 pointer.
17706 (TLS_GD_PREFIX): New.
17707 (TLS_GD): Use it.
17708
177092012-05-11 David S. Miller <davem@davemloft.net>
17710
17711 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17712 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17713 (_FPU_SETCW): Likewise.
17714
177152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17716
17717 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17718 is 32-byte aligned.
17719
177202012-05-11 Andreas Schwab <schwab@linux-m68k.org>
17721
17722 [BZ #11837]
17723 * iconvdata/gb18030.c: Update tables.
17724 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
17725 characters specially.
17726 (BODY for TO_LOOP): Add encoding of missing ranges.
17727
177282012-05-11 Thomas Schwinge <thomas@codesourcery.com>
17729
17730 [BZ #13673]
17731 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17732 * sysdeps/mach/hurd/dup3.c: Likewise.
17733 * sysdeps/mach/hurd/readlinkat.c: Likewise.
17734 * sysdeps/powerpc/memmove.c:: Likewise.
17735
177362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17737
17738 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17739 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17740
177412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17742
17743 * elf/elf.h (R_X86_64_RELATIVE64): New.
17744 (R_X86_64_NUM): Updated.
17745 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17746 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
17747 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17748 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17749 tst-quad1pie tst-quad2pie
17750 (modules-names): Add tst-quadmod1 tst-quadmod2.
17751 ($(objpfx)tst-quad1): New dependency.
17752 ($(objpfx)tst-quad2): Likewise.
17753 ($(objpfx)tst-quad1pie): Likewise.
17754 ($(objpfx)tst-quad2pie): Likewise.
17755 * sysdeps/x86_64/tst-quad1.c: New file.
17756 * sysdeps/x86_64/tst-quad1pie.c: New file.
17757 * sysdeps/x86_64/tst-quad2.c: Likewise.
17758 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17759 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17760 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17761 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17762 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17763
177642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17765
17766 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17767 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17768 * streams/stropts.h (t_scalar_t): Define type.
17769
17770 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17771 (_PATH_PRESERVE): Set to "/var/lib".
17772 (_PATH_RWHODIR): Set to "/var/spool/rwho".
17773
17774 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17775 instead of int.
17776
17777 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17778 if __dir_mkfile succeeded.
17779
17780 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17781 checking for _hurd_dtablesize. Unlock it right after having
17782 finished _hurd_dtable allocation.
17783
177842012-05-10 Thomas Schwinge <thomas@schwinge.name>
17785
17786 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17787 * sysdeps/mach/hurd/configure: Regenerated.
17788 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17789 special-casing to...
17790 * sysdeps/gnu/configure.in: ... this new file.
17791 * sysdeps/unix/sysv/linux/configure: Regenerated.
17792 * sysdeps/gnu/configure: New generated file.
17793
17794 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17795 for Linux: use nsec instead of usec, as well as:
17796 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17797 members of type struct timespec.
17798 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17799 New macros.
17800 (struct stat64): Likewise.
17801 (_STATBUF_ST_NSEC): New macro.
17802 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17803
17804 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17805 __strtoul_internal rather than strtoul.
17806
178072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17808
17809 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17810 and reject them.
17811
178122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17813
17814 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17815 which preserves existing values.
17816 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17817
178182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17819
17820 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
17821 TIMEOUT values. Return EINVAL for NFDS values either negative or
17822 greater than FD_SETSIZE.
17823
178242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17825
17826 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
17827 allocated, call __vm_protect to finish enabling the existing space, and
17828 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
17829 allocate the remainder.
17830
178312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17832
17833 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
17834 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
17835
178362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17837
17838 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
17839 sysdeps/mach/hurd/readlink.c.
17840
17841 * posix/tst-sysconf.c (posix_options): Only use
17842 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
17843 _POSIX_SYNCHRONIZED_IO when they are defined
17844 * sysdeps/mach/hurd/bits/posix_opt.h:
17845 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
17846 (_XOPEN_REALTIME): Undefine macro.
17847 (_XOPEN_REALTIME_THREADS): Undefine macro.
17848 (_XOPEN_SHM): Undefine macro.
17849 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
17850 macro to -1.
17851 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
17852 macro to -1.
17853 (_POSIX_ASYNC_IO): Undefine macro.
17854 (_POSIX_PRIORITIZED_IO): Undefine macro.
17855 (_POSIX_SPIN_LOCKS): Define macro to -1.
17856
17857 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
17858 SA_NODEFER, SA_RESETHAND.
17859 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
17860 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
17861 F_DUPFD_CLOEXEC.
17862
178632012-05-10 Thomas Schwinge <thomas@schwinge.name>
17864
17865 * elf/Makefile (pldd-modules): Define unconditionally.
17866
178672012-05-10 Thomas Schwinge <thomas@schwinge.name>
17868
17869 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
17870
178712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17872
17873 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
17874 Return ENOENT when name is empty.
17875 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
17876
178772012-05-10 Thomas Schwinge <thomas@schwinge.name>
17878
17879 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
17880
17881 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
17882
178832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17884
17885 Fix mlock in all cases except non-readable pages.
17886 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
17887 instead of VM_PROT_ALL as parameter to __vm_wire function.
17888
17889 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
17890 (__mkdir): When path is `/', just fail with EEXIST.
17891 * sysdeps/mach/hurd/mkdirat.c: Likewise.
17892
178932012-05-10 Thomas Schwinge <thomas@schwinge.name>
17894
17895 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
17896 <sys/uio.h> (for writev).
17897 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
17898 and <sys/param.h> (for MIN).
17899
179002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17901
17902 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
17903 REQUESTED_TIME. Properly set the remaining time and return EINTR
17904 if interrupted.
17905
179062012-05-10 Thomas Schwinge <thomas@schwinge.name>
17907
17908 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
17909 Depend on against $(link-rpcuserlibs).
17910
179112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17912
17913 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
17914 (__libc_stack_end): Do not use attribute_relro.
17915 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
17916 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
17917 to libthread-provided value.
17918 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
17919 attribute_relro.
17920
179212012-05-10 Thomas Schwinge <thomas@schwinge.name>
17922
17923 [BZ #3748]
17924 * bits/libc-lock.h (__libc_once_get): New macro.
17925 * sysdeps/mach/bits/libc-lock.h: Likewise.
17926 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
17927 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
17928 instead of using implementation details.
17929
17930 * libio/fileops.c: Unconditionally include <kernel-features.h>.
17931 * libio/freopen.c: Likewise.
17932 * libio/freopen64.c: Likewise.
17933 * misc/syslog.c: Likewise.
17934 * nscd/connections.c: Likewise.
17935 * nscd/netgroupcache.c: Likewise.
17936 * sysdeps/posix/getcwd.c: Likewise.
17937
179382012-05-10 Roland McGrath <roland@hack.frob.com>
17939
17940 * math/w_ilogbf.c: Add #include <limits.h>.
17941
179422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17943
17944 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
17945 path instead of returning without unlocking.
17946
17947 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
17948 immediate-write ioctls.
17949 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
17950
179512012-05-10 Thomas Schwinge <thomas@schwinge.name>
17952
17953 * sysdeps/mach/hurd/i386/init-first.c (init): Use
17954 __builtin_frame_address instead of making assumptions about the
17955 location of the return address relative to DATA. Force early load of
17956 the return address.
17957 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
17958 __builtin_frame_address.
17959
17960 dup3 for GNU Hurd.
17961 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
17962 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
17963 implement dup3 and do some further code clean-ups.
17964 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
17965 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
17966
179672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17968
17969 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
17970
17971 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
17972 HURD_CRITICAL_END around holding _hurd_dtable_lock.
17973 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
17974 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
17975 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
17976 d->port.lock.
17977
17978 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
17979 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
17980 when handler == SIG_ERR, not when handler != SIG_ERR.
17981
179822012-05-10 Thomas Schwinge <thomas@schwinge.name>
17983
17984 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
17985 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
17986 definitions.
17987
17988 accept4 for GNU Hurd.
17989 * include/sys/socket.h (__libc_accept4): New prototype.
17990 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
17991 to implement __libc_accept4.
17992 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
17993 __libc_accept4.
17994 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
17995
17996 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
17997 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
17998 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
17999 signal-defines.sym.
18000
180012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18002
18003 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
18004
180052012-05-10 Thomas Schwinge <thomas@schwinge.name>
18006
18007 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18008 assertion on O_CLOEXEC flag.
18009 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18010 * hurd/intern-fd.c: Likewise.
18011 * hurd/port2fd.c: Likewise.
18012
180132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18014
18015 [BZ #3906]
18016 * bits/in.h (IPV6_PKTINFO): Define new macro.
18017 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18018
180192012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18020
18021 [BZ #13954]
18022 [BZ #13955]
18023 [BZ #13956]
18024 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18025 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18026 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18027 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18028 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18029 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18030 * math/libm-test.inc (logb_test) : Additional logb tests.
18031
180322012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18033 Andreas Jaeger <aj@suse.de>
18034
18035 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18036 * configure: Regenerated.
18037 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18038 * config.make.in (link-obsolete-rpc): New substituted variable.
18039 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18040 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18041 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18042 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18043 so that libc.a contains the symbols.
18044 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18045 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18046 * sunrpc/auth_none.c: Likewise.
18047 * sunrpc/auth_unix.c: Likewise.
18048 * sunrpc/authdes_prot.c: Likewise.
18049 * sunrpc/authuxprot.c: Likewise.
18050 * sunrpc/clnt_gen.c: Likewise.
18051 * sunrpc/clnt_perr.c: Likewise.
18052 * sunrpc/clnt_raw.c: Likewise.
18053 * sunrpc/clnt_simp.c: Likewise.
18054 * sunrpc/clnt_tcp.c: Likewise.
18055 * sunrpc/clnt_udp.c: Likewise.
18056 * sunrpc/clnt_unix.c: Likewise.
18057 * sunrpc/des_crypt.c: Likewise.
18058 * sunrpc/des_soft.c: Likewise.
18059 * sunrpc/get_myaddr.c: Likewise.
18060 * sunrpc/key_call.c: Likewise.
18061 * sunrpc/key_prot.c: Likewise.
18062 * sunrpc/netname.c: Likewise.
18063 * sunrpc/pm_getmaps.c: Likewise.
18064 * sunrpc/pm_getport.c: Likewise.
18065 * sunrpc/pmap_clnt.c: Likewise.
18066 * sunrpc/pmap_prot.c: Likewise.
18067 * sunrpc/pmap_prot2.c: Likewise.
18068 * sunrpc/pmap_rmt.c: Likewise.
18069 * sunrpc/publickey.c: Likewise.
18070 * sunrpc/rpc_cmsg.c: Likewise.
18071 * sunrpc/rpc_common.c: Likewise.
18072 * sunrpc/rpc_dtable.c: Likewise.
18073 * sunrpc/rpc_prot.c: Likewise.
18074 * sunrpc/rpc_thread.c: Likewise.
18075 * sunrpc/rtime.c: Likewise.
18076 * sunrpc/svc.c: Likewise.
18077 * sunrpc/svc_auth.c: Likewise.
18078 * sunrpc/svc_raw.c: Likewise.
18079 * sunrpc/svc_run.c: Likewise.
18080 * sunrpc/svc_tcp.c: Likewise.
18081 * sunrpc/svc_udp.c: Likewise.
18082 * sunrpc/svc_unix.c: Likewise.
18083 * sunrpc/svcauth_des.c: Likewise.
18084 * sunrpc/xcrypt.c: Likewise.
18085 * sunrpc/xdr.c: Likewise.
18086 * sunrpc/xdr_array.c: Likewise.
18087 * sunrpc/xdr_float.c: Likewise.
18088 * sunrpc/xdr_intXX_t.c: Likewise.
18089 * sunrpc/xdr_mem.c: Likewise.
18090 * sunrpc/xdr_rec.c: Likewise.
18091 * sunrpc/xdr_ref.c: Likewise.
18092 * sunrpc/xdr_sizeof.c: Likewise.
18093 * sunrpc/xdr_stdio.c: Likewise.
18094
180952012-05-10 Roland McGrath <roland@hack.frob.com>
18096
18097 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18098 change. Update copyright years.
18099
181002012-05-10 Joseph Myers <joseph@codesourcery.com>
18101
18102 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18103
181042012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18105 Joseph Myers <joseph@codesourcery.com>
18106 Paul Pluzhnikov <ppluzhnikov@google.com>
18107
18108 [BZ #14012]
18109 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18110 requiring rpcgen.
18111 [cross-compiling] (extra-libs): Likewise.
18112 [cross-compiling] (extra-libs-others): Likewise.
18113 [cross-compiling] (librpcsvc-routines): Likewise.
18114 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18115 [cross-compiling] (omit-deps): Likewise.
18116 (sunrpc-CPPFLAGS): New variable.
18117 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18118 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18119 (cross-rpcgen-objs): New variable.
18120 (extra-objs): Append $(cross-rpcgen-objs).
18121 ($(cross-rpcgen-objs)): New rule.
18122 ($(objpfx)cross-rpcgen): Likewise.
18123 (rpcgen-cmd): Define to use $(built-program-file). Expand
18124 comment.
18125 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18126 ($(objpfx)x%.stmp): Likewise.
18127 * sunrpc/proto.h [IS_IN_build] (_): Define.
18128 [IS_IN_build] (_libc_intl_domainname): Likewise.
18129
181302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18131
18132 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18133 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18134 and R_X86_64_TPOFF64.
18135
181362012-05-10 Joseph Myers <joseph@codesourcery.com>
18137
18138 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18139 sysdeps/unix/sysv/syscalls.list.
18140 (stime): Likewise.
18141 (utime): Likewise.
18142 * sysdeps/unix/sysv/syscalls.list: Remove file.
18143
181442012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18145
18146 [BZ #3440]
18147 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18148 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18149 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18150 (__LC_IDENTIFICATION): Make these macros useful in #if
18151 expressions, as required by C99.
18152
181532012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18154
18155 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18156 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18157 after this.
18158
181592012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18160
18161 * stdlib/longlong.h: Updated from GCC.
18162
181632012-05-09 Andreas Jaeger <aj@suse.de>
18164
18165 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18166 default is first entry.
18167 (run_mode): Set type.
18168 (main): Remove informal message about syslog.
18169 (options): Fix typo.
18170
18171 [BZ #14053]
18172 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
18173 to asm.
18174 (lrint): Likewise.
18175 (llrintf): Likewise.
18176 (llrint): Likewise.
18177 (rint): Likewise.
18178 (rintf): Likewise.
18179 (nearbyint): Likewise.
18180 (nearbyintf): Likewise.
18181
181822012-05-09 Andreas Jaeger <aj@suse.de>
18183 Pedro Alves <palves@redhat.com>
18184
18185 * nscd/nscd.c (run_mode): Use enum.
18186 (main): Cleanup coding style issue.
18187
181882012-05-09 Alexandre Oliva <aoliva@redhat.com>
18189 Andreas Jaeger <aj@suse.de>
18190
18191 * nscd/nscd.c (go_background): Replaced with...
18192 (run_mode): ... this.
18193 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
18194 (options): Add -F --foreground.
18195 (main): Implement it.
18196 (parse_opt): Parse it.
18197
181982012-05-09 Andreas Jaeger <aj@suse.de>
18199
18200 [BZ #14083]
18201 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18202 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18203 -Wconversion warning.
18204 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18205 Likewise.
18206
182072012-05-09 Joseph Myers <joseph@codesourcery.com>
18208
18209 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18210 == 0.
18211 (LC_ALL): Use macro-int-constant.
18212 (LC_COLLATE): Likewise.
18213 (LC_CTYPE): Likewise.
18214 (LC_MESSAGES): Likewise.
18215 (LC_MONETARY): Likewise.
18216 (LC_NUMERIC): Likewise.
18217 (LC_TIME): Likewise.
18218 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18219 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18220 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18221 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18222 Specify type.
18223 [C99-based standards] (float_t): Expect type.
18224 [C99-based standards] (double_t): Expect type.
18225 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18226 type.
18227 [C99-based standards] (HUGE_VALL): Likewise.
18228 [C99-based standards] (INFINITY): Likewise.
18229 [C99-based standards] (NAN): Likewise.
18230 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18231 [C99-based standards] (FP_NAN): Likewise.
18232 [C99-based standards] (FP_NORMAL): Likewise.
18233 [C99-based standards] (FP_SUBNORMAL): Likewise.
18234 [C99-based standards] (FP_ZERO): Likewise.
18235 [C99-based standards] (FP_FAST_FMA): Use
18236 optional-macro-int-constant. Specify type. Require == 1.
18237 [C99-based standards] (FP_FAST_FMAF): Likewise.
18238 [C99-based standards] (FP_FAST_FMAL): Likewise.
18239 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18240 [C99-based standards] (FP_ILOGBNAN): Likewise.
18241 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18242 Specify type.
18243 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18244 [C99-based standards] (math_errhandling): Specify type.
18245 [ISO99 || ISO11] (signgam): Do not allow.
18246 [non-C99-based standards] (copysignf): Do not allow.
18247 [non-C99-based standards] (exp2f): Likewise.
18248 [non-C99-based standards] (log2f): Likewise.
18249 [non-C99-based standards] (modff): Allow.
18250 [non-C99-based standards] (erff): Do not allow.
18251 [non-C99-based standards] (erfcf): Likewise.
18252 [non-C99-based standards] (gammaf): Likewise.
18253 [non-C99-based standards] (hypotf): Likewise.
18254 [non-C99-based standards] (j0f): Likewise.
18255 [non-C99-based standards] (j1f): Likewise.
18256 [non-C99-based standards] (jnf): Likewise.
18257 [non-C99-based standards] (lgammaf): Likewise.
18258 [non-C99-based standards] (tgammaf): Likewise.
18259 [non-C99-based standards] (y0f): Likewise.
18260 [non-C99-based standards] (y1f): Likewise.
18261 [non-C99-based standards] (ynf): Likewise.
18262 [non-C99-based standards] (isnanf): Likewise.
18263 [non-C99-based standards] (acoshf): Likewise.
18264 [non-C99-based standards] (asinhf): Likewise.
18265 [non-C99-based standards] (atanhf): Likewise.
18266 [non-C99-based standards] (cbrtf): Likewise.
18267 [non-C99-based standards] (expm1f): Likewise.
18268 [non-C99-based standards] (ilogbf): Likewise.
18269 [non-C99-based standards] (log1pf): Likewise.
18270 [non-C99-based standards] (logbf): Likewise.
18271 [non-C99-based standards] (nextafterf): Likewise.
18272 [non-C99-based standards] (remainderf): Likewise.
18273 [non-C99-based standards] (rintf): Likewise.
18274 [non-C99-based standards] (scalbf): Likewise.
18275 [non-C99-based standards] (copysignl): Likewise.
18276 [non-C99-based standards] (exp2l): Likewise.
18277 [non-C99-based standards] (log2l): Likewise.
18278 [non-C99-based standards] (modfl): Allow.
18279 [non-C99-based standards] (erfl): Do not allow.
18280 [non-C99-based standards] (erfcl): Likewise.
18281 [non-C99-based standards] (gammal): Likewise.
18282 [non-C99-based standards] (hypotl): Likewise.
18283 [non-C99-based standards] (j0l): Likewise.
18284 [non-C99-based standards] (j1l): Likewise.
18285 [non-C99-based standards] (jnl): Likewise.
18286 [non-C99-based standards] (lgammal): Likewise.
18287 [non-C99-based standards] (tgammal): Likewise.
18288 [non-C99-based standards] (y0l): Likewise.
18289 [non-C99-based standards] (y1l): Likewise.
18290 [non-C99-based standards] (ynl): Likewise.
18291 [non-C99-based standards] (isnanl): Likewise.
18292 [non-C99-based standards] (acoshl): Likewise.
18293 [non-C99-based standards] (asinhl): Likewise.
18294 [non-C99-based standards] (atanhl): Likewise.
18295 [non-C99-based standards] (cbrtl): Likewise.
18296 [non-C99-based standards] (expm1l): Likewise.
18297 [non-C99-based standards] (ilogbl): Likewise.
18298 [non-C99-based standards] (log1pl): Likewise.
18299 [non-C99-based standards] (logbl): Likewise.
18300 [non-C99-based standards] (nextafterl): Likewise.
18301 [non-C99-based standards] (remainderl): Likewise.
18302 [non-C99-based standards] (rintl): Likewise.
18303 [non-C99-based standards] (scalbl): Likewise.
18304 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18305 [non-C99-based standards] (FP_*): Do not allow.
18306 [C99-based standards] (FP_*): Change to
18307 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18308 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18309 allow.
18310 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18311 (SIG_ERR): Likewise.
18312 [X/Open-based standards] (SIG_HOLD): Likewise.
18313 (SIG_IGN): Likewise.
18314 (SIGABRT): Use macro-int-constant. Specify type. Require
18315 positive value.
18316 (SIGFPE): Likewise.
18317 (SIGILL): Likewise.
18318 (SIGINT): Likewise.
18319 (SIGSEGV): Likewise.
18320 (SIGTER): Likewise.
18321 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18322 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18323 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18324 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18325 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18326 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18327 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18328 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18329 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18330 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18331 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18332 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18333 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18334 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18335 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18336 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18337 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18338 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18339 [X/Open-based standards] (SIGTRAP): Likewise.
18340 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18341 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18342 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18343 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18344 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18345 allow.
18346
183472012-05-08 Ian Wienand <ianw@vmware.com>
18348
18349 [BZ #14080]
18350 * time/tzset.c (__tzset_parse_tz): Update default rules for
18351 daylight time changes in the Energy Policy Act of 2005.
18352
183532012-05-09 Andreas Jaeger <aj@suse.de>
18354
18355 [BZ #13983]
18356 * elf/ldconfig.c (parse_conf): Change string to make clear that
18357 ldconfig only issued a warning if ld.so.conf does not exist.
18358
183592012-05-08 David S. Miller <davem@davemloft.net>
18360
18361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18362 movxtod instead of popping the value on the stack.
18363
18364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18365
183662012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18367
18368 * config.h.in: Add HAVE_ARM_PCS_VFP.
18369
183702012-05-08 Roland Mc Grath <roland@hack.frob.com>
18371
18372 [BZ #13979]
18373 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18374 checking but the checks are disabled for any reason.
18375
183762012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18377
18378 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18379 and ELF64_R_TYPE with ELFW(R_TYPE).
18380
183812012-05-08 Joseph Myers <joseph@codesourcery.com>
18382
18383 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18384 (ulimit): Likewise.
18385
18386 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18387 (settimeofday): Likewise.
18388
183892012-05-08 Mike Frysinger <vapier@gentoo.org>
18390
18391 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18392 a struct th_u2 inside the union, and move tu_block/tu_code into
18393 a new th_u3 union of tu_block/tu_code inside of that. Move
18394 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18395 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18396 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18397 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18398 (th_stuff): Change to th_u1.tu_stuff.
18399 (th_data): Define.
18400 (th_msg): Change to th_u1.th_u2.tu_data.
18401
184022012-05-07 David S. Miller <davem@davemloft.net>
18403
18404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18405
18406 [BZ #14074]
18407 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18408 (SETUP_PIC_REG): Use it.
18409 (SETUP_PIC_REG_LEAF): Use it.
18410
184112012-05-07 Joseph Myers <joseph@codesourcery.com>
18412
18413 [BZ #13885]
18414 [BZ #13923]
18415 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18416 USE_AS_EXPM1L.
18417 (EXPL_FINITE): Likewise.
18418 (FLDLOG): Likewise.
18419 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18420 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18421 e_expl.S.
18422 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18423 USE_AS_EXPM1L.
18424 (EXPL_FINITE): Likewise.
18425 (FLDLOG): Likewise.
18426 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18427 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18428 e_expl.S.
18429 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18430 test of -max_value argument for long double.
18431 * sysdeps/i386/fpu/libm-test-ulps: Update.
18432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18433
184342012-05-06 David S. Miller <davem@davemloft.net>
18435
18436 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18437 quad soft-float symbols whose references which are compiler
18438 generated.
18439 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18440
184412012-05-06 Joseph Myers <joseph@codesourcery.com>
18442
18443 [BZ #13884]
18444 [BZ #13914]
18445 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18446 USE_AS_EXP10L.
18447 (EXPL_FINITE): Likewise.
18448 (FLDLOG): Likewise.
18449 (c0): Likewise.
18450 (c1): Likewise.
18451 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18452 Adjust comments for base varying.
18453 (__expl_finite): Change alias to EXPL_FINITE.
18454 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18455 e_expl.S.
18456 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18457 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18458 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18459 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18460 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18461 USE_AS_EXP10L.
18462 (EXPL_FINITE): Likewise.
18463 (FLDLOG): Likewise.
18464 (c0): Likewise.
18465 (c1): Likewise.
18466 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18467 Adjust comments for base varying.
18468 (__expl_finite): Change alias to EXPL_FINITE.
18469 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18470 tests for bugs.
18471 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18472
18473 [BZ #14064]
18474 * math/libm-test.inc (check_float_internal): Correct ulp
18475 calculation for subnormal expected results.
18476
184772012-05-06 Andreas Jaeger <aj@suse.de>
18478
18479 * Makeconfig (+math-flags): New, set to -frounding-math.
18480 (+cflags): Add +math-flags so that all of glibc gets compiled with
18481 it.
18482
18483 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18484
184852012-05-05 Joseph Myers <joseph@codesourcery.com>
18486
18487 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18488 Disable one test.
18489
18490 [BZ #13787]
18491 [BZ #13922]
18492 [BZ #14036]
18493 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18494 (__ieee754_expl): Allow for and saturate large arguments.
18495 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18496 (u_threshold): Likewise.
18497 (__exp): Call __ieee754_exp before checking for overflow and
18498 underflow.
18499 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18500 (u_threshold): Likewise.
18501 (__expf): Call __ieee754_expf before checking for overflow and
18502 underflow.
18503 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18504 (u_threshold): Likewise.
18505 (__expl): Call __ieee754_expl before checking for overflow and
18506 underflow.
18507 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18508 (__ieee754_expl): Allow for and saturate large arguments.
18509 * math/libm-test.inc (exp_test): Add another test. Do not allow
18510 missing overflow exception on overflow.
18511 (expm1_test): Do not allow missing overflow exception on overflow.
18512
18513 * sysdeps/i386/fpu/e_expl.c: Move to ...
18514 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18515 rather than using inline asm.
18516 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18517 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18518 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18519
18520 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18521 (nice): Likewise.
18522 (poll): Likewise.
18523 (signal): Likewise.
18524 (time): Likewise.
18525 (times): Likewise.
18526
185272012-05-04 Joseph Myers <joseph@codesourcery.com>
18528
18529 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18530 sysdeps/unix/common/syscalls.list.
18531 (fchmod): Likewise.
18532 (fchown): Likewise.
18533 (ftruncate): Likewise.
18534 (getrusage): Likewise.
18535 (gettimeofday): Likewise.
18536 (setpgid): Likewise.
18537 (setregid): Likewise.
18538 (setreuid): Likewise.
18539 (sigaction): Likewise.
18540 (truncate): Likewise.
18541 (vhangup): Likewise.
18542 * sysdeps/unix/common/syscalls.list: Remove file.
18543 * sysdeps/unix/bsd/Implies: Don't include unix/common.
18544 * sysdeps/unix/sysv/linux/Implies: Likewise.
18545
185462012-05-04 H.J. Lu <hongjiu.lu@intel.com>
18547
18548 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18549 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18550 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18551 Moved to ...
18552 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18553 Here.
18554 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18555 to ...
18556 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18557 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18558 to ...
18559 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18560 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18561 to ...
18562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18563 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18564 to ...
18565 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18566 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18567 to ...
18568 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18569 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18570 to ...
18571 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18572 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18573 to ...
18574 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18575 Here.
18576 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18577 to ...
18578 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18579 Here.
18580 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18581 to ...
18582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18583 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18584 Moved to ...
18585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18586 Here.
18587 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18588 to ...
18589 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18590
185912012-05-04 Joseph Myers <joseph@codesourcery.com>
18592
18593 * sysdeps/unix/common/bits/dirent.h: Remove file.
18594 * sysdeps/unix/common/bits/fcntl.h: Likewise.
18595
18596 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18597 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18598 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18599 * sysdeps/unix/bsd/isatty.c: Likewise.
18600 * sysdeps/unix/bsd/tcdrain.c: Likewise.
18601 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18602 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18603
186042012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18605
18606 [BZ #13563]
18607 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18608 long double comparison inaccuracies.
18609 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18611
186122012-05-04 Andreas Schwab <schwab@linux-m68k.org>
18613
18614 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18615 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18616
186172012-05-04 Joseph Myers <joseph@codesourcery.com>
18618
18619 [BZ #14049]
18620 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18621 nonzero digits before rounding a hex value.
18622 * stdlib/tst-strtod.c (tests): Add another test.
18623
186242012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18625
18626 * sysdeps/s390/fpu/libm-test-ulps: Update.
18627
186282012-05-03 Andreas Jaeger <aj@suse.de>
18629
18630 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18631 does not get optimized out.
18632 (malloc_opt_barrier): New.
18633
186342012-05-03 Andreas Jaeger <aj@suse.de>
18635 Roland McGrath <roland@hack.frob.com>
18636
18637 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
18638 intermediate file deletion.
18639 (generated): Add .symlist files.
18640
186412012-05-03 Joseph Myers <joseph@codesourcery.com>
18642
18643 [BZ #13775]
18644 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18645 Redirect under this condition.
18646 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18647 [__USE_GNU] (__dprintf_chk): Not under this condition.
18648 [__USE_GNU] (__vdprintf_chk): Likewise.
18649 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18650 under this condition.
18651 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18652 [__USE_XOPEN2K8] (dprintf): Define under this condition.
18653 [__USE_XOPEN2K8] (vdprintf): Likewise.
18654 [__USE_GNU] (__dprintf_chk): Not under this condition.
18655 [__USE_GNU] (__vdprintf_chk): Likewise.
18656 [__USE_GNU] (dprintf): Likewise.
18657 [__USE_GNU] (vdprintf): Likewise.
18658
186592012-05-03 Roland McGrath <roland@hack.frob.com>
18660
18661 * elf/Makefile (common-generated): Set this instead of generated for
18662 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
18663 $(all-built-dso)-derived lists.
18664
186652012-05-03 Andreas Jaeger <aj@suse.de>
18666
18667 * sysdeps/i386/fpu/libm-test-ulps: Update.
18668
18669 * FAQ: Removed.
18670 * FAQ.in: Likewise.
18671 * scripts/gen-FAQ.pl: Likewise.
18672 * manual/install.texi (Installation): Point to online location of
18673 FAQ.
18674 * Makefile (files-for-dist): Remove FAQ.
18675 (FAQ): Remove.
18676
186772012-05-02 Allan McRae <allan@archlinux.org>
18678
18679 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18680 (LDFLAGS-reldepmod5.so): Likewise.
18681 (LDFLAGS-reldep6mod1.so): Likewise.
18682 (LDFLAGS-reldep6mod4.so): Likewise.
18683 (LDFLAGS-reldep8mod3.so): Likewise.
18684 (LDFLAGS-unload4mod1.so): Likewise.
18685 (LDFLAGS-unload4mod2.so): Likewise.
18686 (LDFLAGS-tst-initorder): Likewise.
18687 (LDFLAGS-tst-initordera2.so): Likewise.
18688 (LDFLAGS-tst-initordera3.so): Likewise.
18689 (LDFLAGS-tst-initordera4.so): Likewise.
18690 (LDFLAGS-tst-initorderb2.so): Likewise.
18691 (LDFLAGS-noload): Likewise.
18692 (LDFLAGS-next): Likewise.
18693 (LDFLAGS-order2mod1.so): Likewise.
18694 (LDFLAGS-order2mod2.so): Likewise.
18695 (LDFLAGS-tst-initorder2): Likewise.
18696 (LDFLAGS-tst-initorder2a.so): Likewise.
18697 (LDFLAGS-tst-initorder2b.so): Likewise.
18698 (LDFLAGS-tst-initorder2c.so): Likewise.
18699 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18700
187012012-05-02 David S. Miller <davem@davemloft.net>
18702
18703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18704
187052012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
18706
18707 [BZ #14055]
18708 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18709
187102012-05-02 Andreas Jaeger <aj@suse.de>
18711
18712 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18713 since we manipulate rounding mode.
18714 (CPPFLAGS-test-idouble.c): Likewise.
18715 (CPPFLAGS-test-ifloat.c): Likewise.
18716 (CFLAGS-test-ldouble.c): Likewise.
18717 (CFLAGS-test-double.c): Likewise.
18718 (CFLAGS-test-float.c): Likewise.
18719 (CFLAGS-test-misc.c): Likewise.
18720 (CFLAGS-test-test-fenv.c): Likewise.
18721
187222012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18723
18724 [BZ #2550]
18725 [BZ #2570]
18726 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18727 comparisons to determine direction to adjust input.
18728
187292012-05-01 Roland McGrath <roland@hack.frob.com>
18730
18731 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18732 output to the target.
18733
18734 * scripts/localplt.awk: New file.
18735 * elf/Makefile ($(objpfx)check-localplt): Target removed.
18736 (check-localplt-CFLAGS): Variable removed.
18737 ($(all-built-dso:=.jmprel)): New static pattern rule.
18738 (generated): Add those targets.
18739 (localplt-built-dso): New variable.
18740 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18741
18742 * elf/check-localplt.c: File removed.
18743
18744 * scripts/check-execstack.awk: New file.
18745 * elf/Makefile ($(objpfx)check-execstack): Target removed.
18746 (check-execstack-CFLAGS): Variable removed.
18747 ($(objpfx)check-execstack.h): Target removed.
18748 ($(objpfx)execstack-default): New target.
18749 (generated): Add that instead of check-execstack.h.
18750 ($(all-built-dso:=.phdr)): New static pattern rule.
18751 (generated): Add those targets.
18752 * elf/check-execstack.c: File removed.
18753
18754 * scripts/check-textrel.awk: New file.
18755 * elf/Makefile ($(objpfx)check-textrel): Target removed.
18756 (check-textrel-CFLAGS): Variable removed.
18757 (all-built-dso): Use := to define.o
18758 ($(all-built-dso:=.dyn)): New static pattern rule.
18759 (generated): Add those targets.
18760 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18761 * config.make.in (READELF): New substituted variable.
18762 * elf/check-textrel.c: File removed.
18763
187642012-05-01 Joseph Myers <joseph@codesourcery.com>
18765
18766 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18767 allow.
18768 * conform/data/ctype.h-data [C99-based standards] (isblank):
18769 Expect function.
18770 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18771 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18772 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18773 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18774 Specify type. Require positive value.
18775 (EILSEQ): Likewise.
18776 (ERANGE): Likewise.
18777 [ISO || POSIX] (EILSEQ): Do not expect.
18778 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18779 Specify type. Require positive value.
18780 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18781 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18782 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18783 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18784 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18785 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18786 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18787 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18788 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18789 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18790 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18791 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18792 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18793 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18794 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18795 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18796 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18797 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18798 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18799 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18800 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18801 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18802 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18803 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18804 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18805 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18806 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18807 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18808 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18809 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18810 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18811 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18812 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18813 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18814 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18815 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18816 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18817 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18818 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18819 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
18820 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
18821 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
18822 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
18823 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
18824 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
18825 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
18826 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
18827 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
18828 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
18829 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
18830 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
18831 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
18832 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
18833 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
18834 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
18835 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
18836 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
18837 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
18838 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
18839 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
18840 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
18841 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
18842 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
18843 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
18844 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
18845 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
18846 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
18847 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
18848 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
18849 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
18850 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
18851 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
18852 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
18853 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
18854 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
18855 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
18856 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
18857 Require >= 2.
18858 (FLT_ROUNDS): Expect as macro, not constant.
18859 (FLT_MANT_DIG): Use macro-int-constant.
18860 (DBL_MANT_DIG): Likewise.
18861 (LDBL_MANT_DIG): Likewise.
18862 (FLT_DIG): Likewise.
18863 (DBL_DIG): Likewise.
18864 (LDBL_DIG): Likewise.
18865 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
18866 (DBL_MIN_EXP): Likewise.
18867 (LDBL_MIN_EXP): Likewise.
18868 (FLT_MAX_EXP): Use macro-int-constant.
18869 (DBL_MAX_EXP): Likewise.
18870 (LDBL_MAX_EXP): Likewise.
18871 (FLT_MAX_10_EXP): Likewise.
18872 (DBL_MAX_10_EXP): Likewise.
18873 (LDBL_MAX_10_EXP): Likewise.
18874 (FLT_MAX): Use macro-constant.
18875 (DBL_MAX): Likewise.
18876 (LDBL_MAX): Likewise.
18877 (FLT_EPSILON): Use macro-constant. Give upper bound.
18878 (DBL_EPSILON): Likewise.
18879 (LDBL_EPSILON): Likewise.
18880 (FLT_MIN): Likewise.
18881 (DBL_MIN): Likewise.
18882 (LDBL_MIN): Likewise.
18883 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
18884 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
18885 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
18886 [ISO11] (FLT_HAS_SUBNORM): Likewise.
18887 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
18888 [ISO11] (DBL_DECIMAL_DIG): Likewise.
18889 [ISO11] (FLT_DECIMAL_DIG): Likewise.
18890 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
18891 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
18892 [ISO11] (FLT_TRUE_MIN): Likewise.
18893 [ISO11] (LDBL_TRUE_MIN): Likewise.
18894 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18895 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
18896 (SCHAR_MIN): Use macro-int-constant. Specify type.
18897 (SCHAR_MAX): Likewise.
18898 (UCHAR_MAX): Likewise.
18899 (CHAR_MIN): Likewise.
18900 (CHAR_MAX): Likewise.
18901 (MB_LEN_MAX): Use macro-int-constant.
18902 (SHRT_MIN): Use macro-int-constant. Specify type.
18903 (SHRT_MAX): Likewise.
18904 (USHRT_MAX): Likewise.
18905 (INT_MAX): Likewise.
18906 (INT_MIN): Use macro-int-constant. Specify type. Make upper
18907 bound negative.
18908 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
18909 bound with "U".
18910 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18911 bound with "L".
18912 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
18913 bound negative. Suffix upper bound with "L".
18914 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18915 bound with "UL".
18916 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
18917 Specify type.
18918 [C99-based standards] (LLONG_MAX): Likewise.
18919 [C99-based standards] (ULLONG_MAX): Likewise.
18920 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
18921 == 0.
18922 [ISO11] (max_align_t): Require type.
18923 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18924
18925 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
18926 from $CFLAGS, without defining away __attribute__ calls.
18927 (checknamespace): Use $CFLAGS_namespace.
18928
18929 * conform/conformtest.pl (@keywords): Only include C99 keywords
18930 for standards based on C99 or C11.
18931
18932 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
18933 Disable tests.
18934 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
18935 UNIX98]: Likewise.
18936
18937 * conform/conformtest.pl: Handle "macro-int-constant" and test for
18938 usability of symbols in #if.
18939
18940 * conform/conformtest.pl: If macro or constant types start
18941 "promoted:", expect the symbol to be of the following type
18942 promoted by the integer promotions.
18943
18944 * conform/conformtest.pl: Parse all "constant" and "macro" lines
18945 in one place. Also handle "macro-constant".
18946
18947 * conform/conformtest.pl: Only accept expected macro values with
18948 "==". Parse all "macro" lines in one place.
18949 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
18950
18951 * conform/conformtest.pl: Handle braced types on "constant" lines
18952 instead of handling "typed-constant".
18953 * conform/data/signal.h-data: Use "constant" instead of
18954 "typed-constant".
18955
18956 * conform/conformtest.pl: Handle "optional-" at start of lines in
18957 one place rather than duplicating several cases. Handle each
18958 format of "macro" line with initial "optional-".
18959
18960 * conform/conformtest.pl: Only accept expected constant or
18961 optional-constant values with "==". Parse all "constant" lines in
18962 one place. Parse all "optional-constant" lines in one place.
18963 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
18964 * conform/data/fmtmsg.h-data: Likewise.
18965 * conform/data/netinet/in.h-data: Likewise.
18966 * conform/data/tar.h-data: Likewise.
18967 * conform/data/limits.h-data: Use "==" form on "constant" and
18968 "optional-constant" lines.
18969
18970 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
18971 Use -std=c99 for XOPEN2K.
18972 (@knownproblems): Remove.
18973 (newtoken): Don't check %isknown.
18974
18975 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
18976 Do not expect macro.
18977 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
18978 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
18979 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
18980 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
18981 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
18982 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
18983 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
18984 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
18985 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
18986 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
18987 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
18988 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
18989 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
18990 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
18991 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
18992 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
18993 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
18994 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
18995 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
18996 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
18997 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
18998 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
18999 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19000 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19001 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19002 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19003 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19004 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19005 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19006 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19007 [XPG3] (acosh): Likewise.
19008 [XPG3] (asinh): Likewise.
19009 [XPG3] (atanh): Likewise.
19010 [XPG3] (cbrt): Likewise.
19011 [XPG3] (expm1): Likewise.
19012 [XPG3] (ilogb): Likewise.
19013 [XPG3] (log1p): Likewise.
19014 [XPG3] (logb): Likewise.
19015 [XPG3] (nextafter): Likewise.
19016 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19017 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19018 [XPG3] (remainder): Likewise.
19019 [XPG3] (rint): Likewise.
19020 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19021 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19022 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19023 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19024 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19025 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19026 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19027 [UNIX98 || XOPEN2K] (scalb): Expect.
19028 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19029 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19030 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19031 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19032 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19033 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19034 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19035 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19036 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19037 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19038 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19039 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19040 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19041 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19042 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19043 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19044 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19045 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19046 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19047 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19048 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19049 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19050 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19051 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19052 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19053 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19054 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19055 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19056 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19057 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19058 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19059 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19060 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19061 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19062 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19063 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19064 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19065 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19066 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19067 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19068 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19069 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19070 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19071 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19072 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19073 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19074 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19075 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19076 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19077 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19078 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19079 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19080 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19081 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19082 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19083 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19084 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19085 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19086 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19087 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19088 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19089 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19090 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19091 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19092 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19093 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19094 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19095 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19096 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19097 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19098 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19099 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19100 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19101 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19102 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19103 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19104 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19105 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19106 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19107 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19108 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19109 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19110 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19111 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19112 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19113 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19114 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19115 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19116 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19117 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19118 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19119 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19120 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19121 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19122 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19123 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19124 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19125 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19126 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19127 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19128 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19129 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19130 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19131 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19132 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19133 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19134 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19135 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19136 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19137 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19138 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19139 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19140 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19141 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19142 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19143 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19144 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19145 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19146 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19147 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19148 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19149 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19150 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19151 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19152 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19153 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19154 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19155 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19156 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19157 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19158 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19159 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19160 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19161 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19162 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19163 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19164 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19165
19166 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19167 _XOPEN_SOURCE_EXTENDED for XPG4.
19168
19169 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19170
19171 * Makeconfig (localtime): Remove variable.
19172 (inst_localtime-file): Likewise.
19173
191742012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19175
19176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19177 Update.
19178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19179 Update.
19180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19181 Update.
19182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19183 Update.
19184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19185 Update.
19186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19187 Update.
19188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19189 Update.
19190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19191 Update.
19192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19193 Update.
19194
191952012-05-01 Joseph Myers <joseph@codesourcery.com>
19196
19197 [BZ #2550]
19198 [BZ #2570]
19199 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19200 comparisons to determine direction to adjust input.
19201 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19202 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19203 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19204 Likewise.
19205 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19206 Likewise.
19207 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19208 Likewise.
19209 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19210 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19211 Likewise.
19212 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19213 Likewise.
19214 * math/libm-test.inc (nexttoward_test): Add more tests.
19215
192162012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19217
19218 [BZ #14040]
19219 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19220 in version GLIBC_2.1, not GLIBC_2.0.
19221 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19222 Likewise.
19223
192242012-04-30 Joseph Myers <joseph@codesourcery.com>
19225
19226 [BZ #13942]
19227 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19228 (1 - x) * (1 + x).
19229 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19230 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19231 * math/libm-test.inc (acos_test): Add more tests.
19232 (asin_test): Likewise.
19233 * sysdeps/i386/fpu/libm-test-ulps: Update.
19234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19235
19236 [BZ #14034]
19237 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19238 of square root.
19239 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19240 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19241 * math/libm-test.inc (acos_test_tonearest): New function.
19242 (acos_test_towardzero): Likewise.
19243 (acos_test_downward): Likewise.
19244 (acos_test_upward): Likewise.
19245 (asin_test_tonearest): Likewise.
19246 (asin_test_towardzero): Likewise.
19247 (asin_test_downward): Likewise.
19248 (asin_test_upward): Likewise.
19249 (main): Call the new functions.
19250 * sysdeps/i386/fpu/libm-test-ulps: Update.
19251 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19252
19253 [BZ #13884]
19254 [BZ #13924]
19255 * math/e_exp10.c: Include <float.h>.
19256 (__ieee754_exp10): Handle underflow here rather than multiplying
19257 large negative argument by M_LN10.
19258 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19259 of __ieee754_expf.
19260 * math/e_exp10l.c: Include <float.h>.
19261 (__ieee754_exp10l): Handle underflow here rather than multiplying
19262 large negative argument by M_LN10l.
19263 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19264 spurious overflow exception on underflow.
19265
192662012-04-29 Marek Polacek <polacek@redhat.com>
19267
19268 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19269 (__fortify_function): New macro.
19270 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19271 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19272 __extern_always_inline.
19273 * libio/bits/stdio2.h: Likewise.
19274 * libio/bits/stdio.h: Likewise.
19275 * string/string.h: Likewise.
19276 * string/bits/string3.h: Likewise.
19277 * include/stdio.h: Likewise.
19278 * stdlib/bits/stdlib.h: Likewise.
19279 * stdlib/stdlib.h: Likewise.
19280 * rt/bits/mqueue2.h: Likewise.
19281 * rt/mqueue.h: Likewise.
19282 * posix/bits/unistd.h: Likewise.
19283 * posix/unistd.h: Likewise.
19284 * io/bits/poll2.h: Likewise.
19285 * io/bits/fcntl2.h: Likewise.
19286 * io/fcntl.h: Likewise.
19287 * io/sys/poll.h: Likewise.
19288 * misc/bits/syslog.h: Likewise.
19289 * misc/bits/syslog-ldbl.h: Likewise.
19290 * misc/sys/syslog.h: Likewise.
19291 * socket/bits/socket2.h: Likewise.
19292 * socket/sys/socket.h: Likewise.
19293 * debug/tst-chk1.c: Likewise.
19294 * wcsmbs/bits/wchar2.h: Likewise.
19295 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19296 * wcsmbs/wchar.h: Likewise.
19297
192982012-04-29 Andreas Jaeger <aj@suse.de>
19299
19300 * Makerules (tests): Remove enable-check-abi protection.
19301 (check-abi-warn): Remove.
19302 (check-abi-%): Remove check-abi-warn usage.
19303
19304 * configure.in: Remove check-abi configure option.
19305 * configure: Regenerated.
19306 * config.make.in (enable-check-abi): Remove.
19307
193082012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19309
19310 [BZ #14033]
19311 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19312 double functions to double *_finite functions.
19313
19314 [BZ #13941]
19315 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19316 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19317 LDBL_MIN_EXP.
19318 * stdio-common/Makefile (tests): Add tst-sprintf3.
19319 * stdio-common/tst-sprintf3.c: New file.
19320
19321 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19322 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19323
193242012-04-28 Joseph Myers <joseph@codesourcery.com>
19325
19326 * conform/conformtest.pl: Remove duplicate typed-constant
19327 handling.
19328
193292012-04-28 David S. Miller <davem@davemloft.net>
19330
19331 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19332 (check-abi-%): Remove AWK script prerequisite and explicit
19333 abilist directory.
19334 (check-abi): Rewrite to just diff the symlist with the abilist.
19335 (config-tls, config-abi-config): Delete, no longer used.
19336 (update-abi-%): Remove AWK script and explicit abilist directory.
19337 (update-abi): Rewrite to simply compare and conditionally copy the
19338 symlist and the sysdep abilist file. Remove update-abi-config
19339 checks.
19340 * abilist/ld.abilist: Remove.
19341 * abilist/libBrokenLocale.abilist: Remove.
19342 * abilist/libanl.abilist: Remove.
19343 * abilist/libcrypt.abilist: Remove.
19344 * abilist/libdl.abilist: Remove.
19345 * abilist/librt.abilist: Remove.
19346 * abilist/libthread_db.abilist: Remove.
19347 * abilist/libutil.abilist: Remove.
19348 * scripts/extract-abilist.awk: Remove.
19349 * scripts/merge-abilist.awk: Remove.
19350 * sysdeps/generic/libcidn.abilist: New file.
19351 * sysdeps/generic/libnss_compat.abilist: New file.
19352 * sysdeps/generic/libnss_db.abilist: New file.
19353 * sysdeps/generic/libnss_dns.abilist: New file.
19354 * sysdeps/generic/libnss_files.abilist: New file.
19355 * sysdeps/generic/libnss_hesiod.abilist: New file.
19356 * sysdeps/generic/libnss_nis.abilist: New file.
19357 * sysdeps/generic/libnss_nisplus.abilist: New file.
19358 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19359 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19360 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19361 file.
19362 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19363 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19364 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19365 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19366 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19367 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19368 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19369 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19370 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19371 file.
19372 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19373 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19374 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19375 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19376 file.
19377 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19378 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19379 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19380 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19381 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19382 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19383 file.
19384 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19385 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19386 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19387 file.
19388 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19389 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19390 New file.
19391 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19392 New file.
19393 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19394 New file.
19395 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19396 New file.
19397 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19398 New file.
19399 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19400 New file.
19401 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19402 New file.
19403 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19404 New file.
19405 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19406 New file.
19407 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19408 New file.
19409 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19410 New file.
19411 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19412 New file.
19413 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19414 New file.
19415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19416 file.
19417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19418 New file.
19419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19420 New file.
19421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19422 file.
19423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19424 New file.
19425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19426 New file.
19427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19428 file.
19429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19430 New file.
19431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19432 New file.
19433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19434 New file.
19435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19436 New file.
19437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19438 New file.
19439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19440 New file.
19441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19443 file.
19444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19445 New file.
19446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19447 file.
19448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19449 file.
19450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19451 file.
19452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19453 file.
19454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19455 file.
19456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19457 New file.
19458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19459 file.
19460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19461 file.
19462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19463 New file.
19464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19465 file.
19466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19468 file.
19469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19470 New file.
19471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19472 file.
19473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19474 file.
19475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19476 file.
19477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19478 file.
19479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19480 file.
19481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19482 New file.
19483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19484 file.
19485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19486 file.
19487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19488 New file.
19489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19490 file.
19491 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19492 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19493 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19494 file.
19495 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19496 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19497 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19498 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19499 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19500 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19501 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19502 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19503 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19504 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19507 file.
19508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19509 New file.
19510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19511 file.
19512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19513 file.
19514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19515 file.
19516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19517 file.
19518 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19519 file.
19520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19521 New file.
19522 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19523 New file.
19524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19525 file.
19526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19527 New file.
19528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19529 file.
19530 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19531 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19532 file.
19533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19534 New file.
19535 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19536 file.
19537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19538 file.
19539 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19540 file.
19541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19542 file.
19543 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19544 file.
19545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19546 New file.
19547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19548 New file.
19549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19550 file.
19551 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19552 New file.
19553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19554 file.
19555
195562012-04-28 Joseph Myers <joseph@codesourcery.com>
19557
19558 * conform/conformtest.pl: Fix typo in handling typed-constant from
19559 allow-header.
19560
195612012-04-27 Joseph Myers <joseph@codesourcery.com>
19562
19563 * README: Cut down references to pre-2.6 Linux kernels and
19564 Linuxthreads. Update lists of configurations in libc and ports
19565 and sort alphabetically. Say "or newer" with Linux kernel version
19566 requirements.
19567
19568 * config.h.in [IS_IN_build]: Allow compiling without optimization.
19569
195702012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19571
19572 [BZ #887]
19573 * math/libm-test.inc (logb_test_downward): New test to expose
19574 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19575 rounding mode.
19576
195772012-04-27 Joseph Myers <joseph@codesourcery.com>
19578
19579 [BZ #14027]
19580 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19581 to be done.
19582 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19583 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19584
195852012-04-26 Joseph Myers <joseph@codesourcery.com>
19586
19587 * sysdeps/unix/i386/brk.S: Remove file.
19588 * sysdeps/unix/i386/dl-brk.S: Likewise.
19589 * sysdeps/unix/i386/pipe.S: Likewise.
19590 * sysdeps/unix/i386/sigreturn.S: Likewise.
19591 * sysdeps/unix/i386/syscall.S: Likewise.
19592 * sysdeps/unix/i386/vfork.S: Likewise.
19593 * sysdeps/unix/i386/wait.S: Likewise.
19594
19595 * sysdeps/unix/common/tcsendbrk.c: Move to ...
19596 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19597
19598 * configure.in (arm*-none*): Do not allow without
19599 --enable-hacker-mode.
19600 (netbsd*): Remove case setting base_os.
19601 (386bsd*): Likewise.
19602 (freebsd*): Likewise.
19603 (bsdi*): Likewise.
19604 (osf*): Likewise.
19605 (sunos*): Likewise.
19606 (ultrix*): Likewise.
19607 (newsos*): Likewise.
19608 (dynix*): Likewise.
19609 (*bsd*): Likewise.
19610 (sysv*): Likewise.
19611 (isc*): Likewise.
19612 (esix*): Likewise.
19613 (sco*): Likewise.
19614 (minix*): Likewise.
19615 (irix4*): Likewise.
19616 (irix6*): Likewise.
19617 (solaris[2-9]*): Likewise.
19618 (none): Likewise.
19619 * configure: Regenerated.
19620
196212012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19622
19623 [BZ #11521]
19624 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19625 overflow or cancellation in calculating denominator.
19626 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19627 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19628 down expression to avoid unexpected rounding in newer GCCs.
19629 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19630
196312012-04-26 David S. Miller <davem@davemloft.net>
19632
19633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19634 long-double compat symbols.
19635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19648
196492012-04-25 David S. Miller <davem@davemloft.net>
19650
19651 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19652 HWCAP_* values only after the memory barriers have been defined.
19653 (atomic_full_barrier): Define.
19654 (atomic_read_barrier): Define.
19655 (atomic_write_barrier): Define.
19656
196572012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19658
19659 * shlib-versions: Add libgcc_s version information.
19660 * sysdeps/generic/libgcc_s.h: Remove.
19661 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19662 libgcc_s.h.
19663 * sysdeps/gnu/unwind-resume.c: Likewise.
19664 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19665
196662012-04-25 David S. Miller <davem@davemloft.net>
19667
19668 * sysdeps/unix/sparc/brk.S: Delete.
19669 * sysdeps/unix/sparc/dl-brk.S: Delete.
19670 * sysdeps/unix/sparc/pipe.S: Delete.
19671 * sysdeps/unix/sparc/sysdep.S: Delete.
19672 * sysdeps/unix/sparc/sysdep.h: Delete.
19673 * sysdeps/unix/sparc/vfork.S: Delete.
19674 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19675 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19676 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19677 ret_ERRVAL, r0, r1, MOVE): Define.
19678 (JUMPTARGET): Remove.
19679 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19680 sysdeps/unix/sparc/sysdep.h
19681 (ENTRY, END): Remove.
19682 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19683
196842012-04-25 Joseph Myers <joseph@codesourcery.com>
19685
19686 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19687 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19688 -DIS_IN_build.
19689
19690 * timezone/README: Update upstream location and email address for
19691 tzcode and tzdata.
19692 * timezone/zdump.c: Update from tzcode 2012b.
19693 * timezone/zic.c: Likewise.
19694
19695 * configure.in (libc_cv_as_needed): Remove test.
19696 * configure: Regenerated.
19697 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19698 conditional definition.
19699 [$(have-as-needed) != yes] (no-as-needed): Likewise.
19700 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19701 * config.make.in (have-as-needed): Remove variable.
19702
197032012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19704 Paul Pluzhnikov <ppluzhnikov@google.com>
19705
19706 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19707 strings correctly.
19708
197092012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
19710
19711 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19712 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19713 * sysdeps/sh/strlen.S: Likewise.
19714
197152012-04-24 Joseph Myers <joseph@codesourcery.com>
19716
19717 * sysdeps/unix/fork.S: Remove file.
19718 * sysdeps/unix/i386/fork.S: Likewise.
19719 * sysdeps/unix/sparc/fork.S: Likewise.
19720
19721 * sysdeps/unix/system.c: Remove file.
19722 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19723
19724 * sysdeps/unix/getegid.S: Remove file.
19725 * sysdeps/unix/geteuid.S: Likewise.
19726
197272012-04-24 Roland McGrath <roland@hack.frob.com>
19728
19729 * scripts/check-localplt.awk: New file.
19730 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19731 of diff.
19732 * scripts/data/localplt-generic.data: Add a comment.
19733
19734 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19735 NODE when __dir_mkfile failed.
19736 * sysdeps/mach/hurd/symlinkat.c: Likewise.
19737 Reported by Ludovic Courtès <ludo@gnu.org>.
19738
197392012-04-24 Andreas Jaeger <aj@suse.de>
19740
19741 * Makerules (common-clean): Also remove gen-as-const-headers
19742 files.
19743
197442012-04-24 Joseph Myers <joseph@codesourcery.com>
19745
19746 * Makerules (native-compile): Do not change working directory for
19747 build. Use $(OUTPUT_OPTION) in command.
19748 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19749
197502012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19751
19752 [BZ #13886]
19753 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19754 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19755 * math/libm-test.inc (floor_test): Add more tests.
19756 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19757
197582012-04-24 Joseph Myers <joseph@codesourcery.com>
19759
19760 * sysdeps/unix/getdents.c: Remove file.
19761 * sysdeps/unix/sysv/getdents.c: Likewise.
19762 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19763
19764 * sysdeps/unix/syscalls.list (madvise): Add syscall from
19765 sysdeps/unix/mman/syscalls.list.
19766 (mmap): Likewise.
19767 (mprotect): Likewise.
19768 (msync): Likewise.
19769 (munmap): Likewise.
19770 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19771 * sysdeps/unix/mman/syscalls.list: Remove.
19772 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19773
19774 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19775 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19776 * configure: Regenerated.
19777 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19778 $(libgcc_s_suffix).
19779 * config.make.in (libgcc_s_suffix): Remove variable.
19780
197812012-04-23 Joseph Myers <joseph@codesourcery.com>
19782
19783 * sysdeps/unix/sysv/gethostname.c: Move to ...
19784 * sysdeps/posix/gethostname.c: ... here.
19785
19786 * sysdeps/unix/execve.S: Remove file.
19787
19788 * sysdeps/unix/_exit.S: Remove file.
19789
197902012-04-23 Andreas Jaeger <aj@suse.de>
19791
19792 [BZ #13739]
19793 * manual/Makefile: Remove make dist support, there's no
19794 need for a stand-alone documentation tar ball.
19795 (TEXI2DVI): Define always, it's not in Makeconfig.
19796 (dist): Removed.
19797 (tar-it): Removed.
19798 (edition): Removed.
19799 (glibc-doc-$(edition).tar): Removed
19800 (%.Z): Removed.
19801 (%.gz): Removed.
19802 (%.uu): Removed.
19803 (ETAGS): Remove, it's in Makeconfig.
19804 (move-if-change): Remove, it's in Makeconfig.
19805
198062012-04-23 Paul Eggert <eggert@cs.ucla.edu>
19807
19808 [BZ #13970]
19809 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19810 (strtod, strtof, strtold, strtol, strtoul, strtoq)
19811 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19812 (strtod_l, strtof_l, strtold_l): Remove __wur.
19813 It is not necessarily an error to ignore strtol's return value.
19814 One can reliably look at the stored endptr to decide whether
19815 the number had valid syntax.
19816
198172012-04-21 Andreas Jaeger <aj@suse.de>
19818
19819 [BZ #13739]
19820 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
19821
198222012-04-21 Joseph Myers <joseph@codesourcery.com>
19823
19824 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
19825 * sysdeps/unix/sysv/Versions: Remove file.
19826
198272012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
19828
19829 [BZ #13927]
19830 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19831
198322012-04-21 Nick Alcock <nick.alcock@oracle.com>
19833
19834 [BZ #7064]
19835 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
19836 version from __vm86.
19837
198382012-04-20 Joseph Myers <joseph@codesourcery.com>
19839
19840 * sysdeps/unix/common/lxstat.c: Remove file.
19841 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
19842
19843 * sysdeps/unix/sysv/Makefile: Remove file.
19844
19845 * sysdeps/unix/sysv/direct.h: Remove file.
19846
19847 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
19848 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
19849 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
19850 * sysdeps/unix/sysv/bits/signum.h: Likewise.
19851 * sysdeps/unix/sysv/bits/stat.h: Likewise.
19852 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
19853 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
19854
19855 * sysdeps/unix/sysv/setrlimit.c: Remove file.
19856
19857 * sysdeps/unix/xmknod.c: Remove file.
19858 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
19859
19860 * sysdeps/unix/sysv/settimeofday.c: Remove file.
19861
19862 * sysdeps/unix/sysv/i386/time.S: Remove file.
19863
19864 * sysdeps/unix/fxstat.c: Remove file.
19865 * sysdeps/unix/xstat.c: Likewise.
19866 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
19867
19868 * sysdeps/unix/sysv/sigaction.c: Remove file.
19869
19870 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
19871 (sysdep_headers): Remove variable.
19872 [termio.h not in sysdep_headers] (generated): Likewise.
19873 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
19874 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
19875 * sysdeps/unix/sysv/tcdrain.c: Likewise.
19876 * sysdeps/unix/sysv/tcflow.c: Likewise.
19877 * sysdeps/unix/sysv/tcflush.c: Likewise.
19878 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
19879 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
19880 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
19881 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
19882 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
19883
19884 * sysdeps/unix/siglist.c: Remove file.
19885
19886 * sysdeps/unix/getppid.S: Remove file.
19887
19888 * sysdeps/unix/mkdir.c: Remove file.
19889 * sysdeps/unix/rmdir.c: Likewise.
19890
198912012-04-19 Andreas Schwab <schwab@linux-m68k.org>
19892
19893 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
19894 ERR_MAX value.
19895 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
19896 errlist-compat value.
19897
198982012-04-18 David S. Miller <davem@davemloft.net>
19899
19900 * sysdeps/generic/memcopy.h (reg_char): Delete.
19901 * debug/strcat_chk.c: Use char, not reg_char.
19902 * debug/strcpy_chk.c: Likewise.
19903 * debug/strncat_chk.c: Likewise.
19904 * debug/strncpy_chk.c: Likewise.
19905 * string/memchr.c: Likewise.
19906 * string/memrchr.c: Likewise.
19907 * string/rawmemchr.c: Likewise.
19908 * string/strcat.c: Likewise.
19909 * string/strchr.c: Likewise.
19910 * string/strchrnul.c: Likewise.
19911 * string/strcmp.c: Likewise.
19912 * string/strcpy.c: Likewise.
19913 * string/strncat.c: Likewise.
19914 * string/strncmp.c: Likewise.
19915 * string/strncpy.c: Likewise.
19916
199172012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19918
19919 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
19920 __builtin_memcopy is called when src and dest ranges are known to not
19921 overlap.
19922
199232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19924
19925 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
19926 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
19927 fwd_align_merge macro call.
19928 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
19929 bwd_align_merge macro call.
19930 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19931
199322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19933
19934 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
19935 bwd_align_merge macros.
19936 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
19937 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
19938 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19939
199402012-04-18 David S. Miller <davem@davemloft.net>
19941
19942 * sysdeps/sparc/sparc64/memcopy.h: Delete.
19943
199442012-04-18 Andreas Jaeger <aj@suse.de>
19945
19946 [BZ# 6794]
19947 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
19948 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
19949 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19950
19951 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
19952 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
19953 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19954
19955 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
19956 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
19957 Adjust for changed ldbl-128 files.
19958
19959 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
19960 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
19961 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19962
199632012-04-17 David S. Miller <davem@davemloft.net>
19964
19965 * sysdeps/sparc/sparc32/memcopy.h: Delete.
19966
199672012-04-17 Andreas Schwab <schwab@linux-m68k.org>
19968
19969 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
19970 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
19971 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
19972 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
19973 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19974 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
19975
199762012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19977
19978 [BZ #6794]
19979 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
19980 * math/libm-test.inc: Add ilogb errno and exception tests.
19981 * math/w_ilogb.c: New file: ilogb wrapper.
19982 * math/w_ilogbf.c: New file: ilogbf wrapper.
19983 * math/w_ilogbl.c: New file: ilogbl wrapper.
19984 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
19985 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
19986 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
19987 exception being thrown with 0.0 as argument.
19988 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
19989 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
19990 exception being thrown with 0.0 as argument.
19991 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
19992 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19993 exception being thrown with 0.0 as argument.
19994 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
19995 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19996 exception being thrown with 0.0 as argument.
19997 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
19998 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
19999 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
20000 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20001 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20002 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20003 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20004 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20005 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20006
200072012-04-17 Petr Baudis <pasky@ucw.cz>
20008
20009 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20010 with altivec.
20011
200122012-04-16 Marek Polacek <polacek@redhat.com>
20013
20014 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20015
200162012-04-16 Marek Polacek <polacek@redhat.com>
20017
20018 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20019 operands of fdivp instruction.
20020
200212012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20022
20023 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20024 * elf/tst-auditmod3b.c: Likewise.
20025 * elf/tst-auditmod4b.c: Likewise.
20026 * elf/tst-auditmod5b.c: Likewise.
20027 * elf/tst-auditmod6b.c: Likewise.
20028 * elf/tst-auditmod6c.c: Likewise.
20029 * elf/tst-auditmod7b.c: Likewise.
20030 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20031 * sysdeps/x86_64/preconfigure.in: Likewise.
20032 * sysdeps/x86_64/preconfigure: Regenerated.
20033
200342012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20035
20036 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20037 __ILP32__.
20038
200392012-04-13 Antoine Balestrat <merkil33@gmail.com>
20040
20041 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20042 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20043
200442012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20045
20046 [BZ #13973]
20047 * locale/iso-639.def: Fix gl language name. Spotted by
20048 Yaron Shahrabani.
20049
200502012-04-12 Roland McGrath <roland@hack.frob.com>
20051
20052 [BZ #2074]
20053 * libio/libio.h (__io_write_fn): Update comment.
20054
200552012-04-12 Petr Baudis <pasky@ucw.cz>
20056
20057 [BZ #2074]
20058 * stdio.texi (Hook Functions): The user provided writer function
20059 is not allowed to return -1.
20060
200612012-04-11 David S. Miller <davem@davemloft.net>
20062
20063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20064
200652012-04-11 Mike Frysinger <vapier@gentoo.org>
20066
20067 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20068 Add a leading slash to rtkaio.
20069
200702012-04-11 Jim Meyering <meyering@redhat.com>
20071
20072 [BZ #11959]
20073 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20074 It is not necessarily an error to ignore fwrite's return
20075 value. One can reliably use ferror to test for errors after
20076 the fact.
20077
200782012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20079
20080 * bits/types.h (__snseconds_t): New type.
20081 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20082
20083 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20084 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20085 (__SNSECONDS_T_TYPE): Likewise.
20086 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20087 (__SNSECONDS_T_TYPE): Likewise.
20088 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20089 (__SNSECONDS_T_TYPE): Likewise.
20090
200912012-04-10 Andreas Jaeger <aj@suse.de>
20092
20093 [BZ #2636]
20094 * manual/time.texi (Processor Time): Return type of times is
20095 elapsed real time since an arbitrary point in the past.
20096 (CPU Time): Move CLK_TCK from here...
20097 (Processor Time): ...to here. Correct description.
20098 * manual/conf.texi (Constants for Sysconf): Correct description of
20099 _SC_CLK_TCK.
20100
201012012-04-10 David S. Miller <davem@davemloft.net>
20102
20103 [BZ #13967]
20104 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20105 where the is a gap between DT_REL(A) and DT_JMPREL.
20106
201072012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20108
20109 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20110 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20111 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20112
201132012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20114
20115 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20116 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20117 (dl_main): Handle --inhibit-cache.
20118 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20119 _dl_inhibit_cache.
20120 * elf/dl-load.c (_dl_map_object): Use it.
20121 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20122
201232012-04-09 Joseph Myers <joseph@codesourcery.com>
20124
20125 [BZ #13872]
20126 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20127 (__ieee754_powl): Saturate large exponents rather than testing for
20128 overflow of y*log2(x).
20129 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20130 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20131 exceptions.
20132
20133 [BZ #11521]
20134 * math/s_ctan.c: Include <float.h>.
20135 (__ctan): Avoid internal overflow or cancellation in calculating
20136 denominator.
20137 * math/s_ctanf.c: Likewise.
20138 * math/s_ctanl.c: Likewise.
20139 * math/s_ctanh.c: Likewise.
20140 * math/s_ctanhf.c: Likewise.
20141 * math/s_ctanhl.c: Likewise.
20142 * math/libm-test.inc (ctan_test): Add more tests.
20143 (ctanh_test): Likewise.
20144 * sysdeps/i386/fpu/libm-test-ulps: Update.
20145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20146
201472012-04-09 Andreas Jaeger <aj@suse.de>
20148
20149 [BZ #6894]
20150 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20151 is an optional BSD extension.
20152
20153 [BZ #10254]
20154 * manual/stdio.texi (Opening Streams): Document additional fopen
20155 parameters.
20156
201572012-04-09 Roland McGrath <roland@hack.frob.com>
20158
20159 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20160 %eax without telling the compiler.
20161
201622012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20163
20164 [BZ # 13963]
20165 * manual/install.texi: Use sourceware.org.
20166
201672012-04-09 Joseph Myers <joseph@codesourcery.com>
20168
20169 [BZ #13873]
20170 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20171 (__ieee754_pow): Generate overflow and underflow using huge*huge
20172 and tiny*tiny rather than just returning constant infinity or zero
20173 for large exponents.
20174 * math/libm-test.inc (pow_test): Require overflow exceptions for
20175 applicable cases of large exponents.
20176
20177 [BZ #706]
20178 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20179 (__ieee754_pow): Use iterative multiplication algorithm only for
20180 integer exponents with absolute value below 1024. Check for odd
20181 integer exponents when using algorithm for real exponents.
20182 * math/libm-test.inc (pow_test): Add more tests.
20183 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20184
201852012-04-08 Joseph Myers <joseph@codesourcery.com>
20186
20187 [BZ #13705]
20188 * math/libm-test.inc (exp_test): Do not allow overflow exception
20189 on underflow test.
20190
201912012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20192
20193 [BZ #13705]
20194 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20195 instead of __kernel_standard_f.
20196
201972012-04-08 Mike Frysinger <vapier@gentoo.org>
20198
20199 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20200 * sysdeps/x86_64/memset_chk.S: Likewise.
20201
202022012-04-08 Andreas Jaeger <aj@suse.de>
20203
20204 [BZ #10153]
20205 * manual/startup.texi (Environment Access): Describe return value
20206 for putenv and setenv.
20207
20208 [BZ #6895]
20209 * manual/filesys.texi (Directory Entries): Add description for
20210 DT_LNK.
20211
20212 [BZ #6890]
20213 * manual/filesys.texi (Directory Entries): Clarify that it's file
20214 system not operating system in the description of DT_UNKNOWN.
20215
20216 [BZ #6578]
20217 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20218
202192012-04-08 Stephen Compall <s11@member.fsf.org>
20220
20221 [BZ #6649]
20222 * manual/llio.texi (Opening and Closing Files): Add cross
20223 reference to explain mode argument.
20224
202252012-04-07 Mike Frysinger <vapier@gentoo.org>
20226
20227 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20228 * sysdeps/x86_64/memset_chk.S: Likewise.
20229
202302012-04-07 David S. Miller <davem@davemloft.net>
20231
20232 * elf/elf.h (R_SPARC_WDISP10): Define.
20233 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20234 R_SPARC_SIZE32.
20235 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20236 R_SPARC_SIZE64 and R_SPARC_H34.
20237
202382012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20239
20240 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20241 conditions and remove no longer applicable assertion.
20242
202432012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20244
20245 * bits/byteswap.h: Include <features.h>.
20246 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20247 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20248
202492012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20250
20251 * bits/byteswap.h (__bswap_16): Removed.
20252 Include <bits/byteswap-16.h> to get __bswap_16.
20253 * sysdeps/i386/bits/byteswap.h: Likewise.
20254 * sysdeps/s390/bits/byteswap.h: Likewise.
20255 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20256 * bits/byteswap-16.h: New file.
20257 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20258 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20259 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20260 * string/Makefile (headers): Add bits/byteswap-16.h.
20261
202622012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20263
20264 [BZ #13895]
20265 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20266 extra indirection.
20267 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20268 * nss/tst-nss-static.c: New.
20269
202702012-04-06 Robert Millan <rmh@gnu.org>
20271
20272 [BZ #6486]
20273 * manual/llio.texi (File Position Primitive): lseek
20274 refers to WHENCE when it really means OFFSET.
20275
202762012-04-06 Andreas Jaeger <aj@suse.de>
20277
20278 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20279 strncmp declarations.
20280
20281 * abilist/libc.abilist: Add __poll and __ppoll.
20282
202832012-04-05 David S. Miller <davem@davemloft.net>
20284
20285 * scripts/check-local-headers.sh: Accept a host triplet in the
20286 path matched by the exclude regexp.
20287
20288 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20289 definition.
20290 * sysdeps/powerpc/powerpc32/dl-machine.h
20291 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20292 * sysdeps/s390/s390-32/dl-machine.h
20293 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20294 * sysdeps/sparc/sparc32/dl-machine.h
20295 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20296 * sysdeps/sparc/sparc64/dl-machine.h
20297 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20298
20299 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20300 lazy binding.
20301 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
20302 undefined symbol errors.
20303
20304 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
20305 DT_NEEDED entries.
20306
203072012-04-05 Michael Matz <matz@suse.de>
20308
20309 [BZ #13592]
20310 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20311
203122012-04-05 Andreas Jaeger <aj@suse.de>
20313
20314 [BZ #13908]
20315 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20316 comment.
20317
203182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20319
20320 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20321 which ROUND is no valid rounding mode.
20322
203232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20324
20325 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20326 read again.
20327 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20328
203292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20330
20331 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20332 an exception using FPU order intentionally.
20333
203342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20335
20336 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20337 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20338 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20339 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20340
203412012-04-05 Simon Josefsson <simon@josefsson.org>
20342
20343 [BZ #12340]
20344 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20345 EINVAL when BUFLEN is too smal.
20346
203472012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20348
20349 [BZ #13553]
20350 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20351 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20352
203532012-04-03 Andreas Jaeger <aj@suse.de>
20354
20355 [BZ #13938]
20356 * manual/setjmp.texi (System V contexts): Fix sentence.
20357
20358 [BZ #13926]
20359 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20360 New macro for this case.
20361 [!__GNUC__] (__bswap_64): New inline function for this case.
20362 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20363 * bits/byteswap.h: Likewise.
20364 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20365 ull, guard with __GLIBC_HAVE_LONG_LONG.
20366
20367 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20368 __GLIBC_HAVE_LONG_LONG.
20369
20370 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20371 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20372
203732012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20374
20375 [BZ #13691]
20376 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20377 inptr and inend, rather than using last_ch.
20378
203792012-04-02 David S. Miller <davem@davemloft.net>
20380
20381 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20382 * stdio-common/printf-parse.h (read_int): Change return type to
20383 'int', return -1 on INT_MAX overflow.
20384 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20385 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20386 overflows INT_MAX. Check for overflow of in-format-string precision
20387 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20388 SIZE_MAX not INT_MAX for integer overflow test.
20389 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20390 skip the construct in the format string but do not record anything.
20391 * stdio-common/bug22.c: Adjust to test both width/prevision
20392 INT_MAX overflow as well as total length INT_MAX overflow. Check
20393 explicitly for proper errno values.
20394
203952012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20396
20397 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20398 CHAR_MAX.
20399 * string/test-strcmp.c [! WIDE]: Likewise.
20400 * time/tst-mktime2.c: Likewise for INT_MAX.
20401 * string/test-string.h: #include <sys/param.h> for MIN.
20402
20403 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20404 * sysdeps/i386/init-first.c (init): Likewise.
20405 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20406 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20407 * sysdeps/sh/init-first.c (init): Likewise.
20408
204092012-04-01 Ulrich Drepper <drepper@gmail.com>
20410
20411 * po/ru.po: Update from translation team.
20412 * po/vi.po: Likewise.
20413
204142012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20415
20416 * resolv/nss_dns/dns-host.c: Merge copyright years.
20417
204182012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20419
20420 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20421 Optimize memcpy with prefetch if
20422 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20423 src, dst pointers have unequal 16 byte alignments.
20424
204252012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20426
20427 [BZ #13928]
20428 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20429 from a CNAME entry and return the minimum ttl for the query.
20430 (gaih_getanswer_slice): Likewise.
20431
204322012-03-30 Jeff Law <law@redhat.com>
20433
20434 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20435 due to long keys.
20436 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20437 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20438
20439 * resolv/nss_dns/dns-host.c: Update copyright year.
20440
204412012-03-30 Ulrich Drepper <drepper@gmail.com>
20442
20443 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
20444 requests to save a system call. Fix check that all bytes are sent.
20445
20446 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20447 comments for sendmmsg.
20448
204492012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20450
20451 [BZ #13691]
20452 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20453 with only 1 character between 0x0041 and 0x01b0.
20454 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20455 * wcsmbs/tst-mbsnrtowcs.c: New file.
20456
204572012-03-29 David S. Miller <davem@davemloft.net>
20458
20459 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20460 small copies by hand.
20461
204622012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20463
20464 [BZ #13761]
20465 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20466 _nss_compat_initgroups_dyn): Fall back to malloc/free
20467 for large group memberships.
20468
204692012-03-28 David S. Miller <davem@davemloft.net>
20470
20471 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20472 that branches into memcpy.
20473 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20474 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20475 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20476 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20477 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20478 bits.
20479 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20480 implementation too.
20481 * sysdeps/sparc/mempcpy.S: New file.
20482
20483 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20484 the IFUNC routine in the libc case.
20485 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20486
20487 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20488 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20489 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20490 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20491 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20492 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20493 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20494 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20495
20496 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20497 loop to 256 bytes instead of 64 bytes and fix test signedness.
20498
20499 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20500 * sysdeps/sparc/sparc32/Makefile: rather than here...
20501 * sysdeps/sparc/sparc64/Makefile: and here.
20502
205032012-03-28 Ulrich Drepper <drepper@gmail.com>
20504
20505 * malloc/mallocbug.c: Avoid warnings about unused variables.
20506
205072012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20508
20509 [BZ #13760]
20510 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20511 in the right place. Discard and retry query if response is
20512 larger than input buffer size.
20513
205142012-03-28 Joseph Myers <joseph@codesourcery.com>
20515
20516 [BZ #369]
20517 [BZ #2678]
20518 [BZ #3866]
20519 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20520 x for large integer exponent.
20521 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20522 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20523 sign of result as needed afterwards.
20524 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20525 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20526 result for underflowing pow the same as for overflow.
20527 (__kernel_standard_l): Handle powl overflow and underflow here
20528 rather than calling __kernel_standard.
20529 * math/libm-test.inc (pow_test): Add more tests.
20530
20531 [BZ #3868]
20532 [BZ #13879]
20533 [BZ #13910]
20534 [BZ #13911]
20535 [BZ #13912]
20536 [BZ #13913]
20537 [BZ #13915]
20538 [BZ #13916]
20539 [BZ #13917]
20540 [BZ #13918]
20541 [BZ #13919]
20542 [BZ #13920]
20543 [BZ #13921]
20544 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20545 * sysdeps/ieee754/k_standard.c: Include <float.h>.
20546 (__kernel_standard_l): New function.
20547 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20548 __kernel_standard.
20549 * math/w_acosl.c (__acosl): Likewise.
20550 * math/w_asinl.c (__asinl): Likewise.
20551 * math/w_atan2l.c (__atan2l): Likewise.
20552 * math/w_atanhl.c (__atanhl): Likewise.
20553 * math/w_coshl.c (__coshl): Likewise.
20554 * math/w_exp10l.c (__exp10l): Likewise.
20555 * math/w_exp2l.c (__exp2l): Likewise.
20556 * math/w_fmodl.c (__fmodl): Likewise.
20557 * math/w_hypotl.c (__hypotl): Likewise.
20558 * math/w_j0l.c (__j0l, __y0l): Likewise.
20559 * math/w_j1l.c (__j1l, __y1l): Likewise.
20560 * math/w_jnl.c (__jnl, __ynl): Likewise.
20561 * math/w_lgammal.c (__lgammal): Likewise.
20562 * math/w_log10l.c (__log10l): Likewise.
20563 * math/w_log2l.c (__log2l): Likewise.
20564 * math/w_logl.c (__logl): Likewise.
20565 * math/w_powl.c (__powl): Likewise.
20566 * math/w_remainderl.c (__remainderl): Likewise.
20567 * math/w_scalbl.c (sysv_scalbl): Likewise.
20568 * math/w_sinhl.c (__sinhl): Likewise.
20569 * math/w_sqrtl.c (__sqrtl): Likewise.
20570 * math/w_tgammal.c (__tgammal): Likewise.
20571 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20572 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20573 * math/libm-test.inc (acos_test): Add more tests.
20574 (acosh_test): Likewise.
20575 (asin_test): Likewise.
20576 (atanh_test): Likewise.
20577 (exp_test): Likewise.
20578 (exp10_test): Likewise.
20579 (exp2_test): Likewise.
20580 (expm1_test): Likewise.
20581 (lgamma_test): Likewise.
20582 (log_test): Likewise.
20583 (log10_test): Likewise.
20584 (log1p_test): Likewise.
20585 (log2_test): Likewise.
20586 (pow_test): Do not allow some spurious overflow exceptions.
20587 (sqrt_test): Add more tests.
20588 (tgamma_test): Likewise.
20589 (y0_test): Likewise.
20590 (y1_test): Likewise.
20591 (yn_test): Likewise.
20592
205932012-03-27 Anton Blanchard <anton@samba.org>
20594
20595 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20596 MAP_HUGETLB.
20597 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20598 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20599 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20600
206012012-03-27 David S. Miller <davem@davemloft.net>
20602
20603 * conform/Makefile: Run run-conformtest.sh using $(BASH).
20604
20605 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20606 have-as-vis3 check.
20607
206082012-03-27 Andreas Jaeger <aj@suse.de>
20609
20610 * sysdeps/x86_64/elf/configure.in: Moved to ...
20611 * sysdeps/x86_64/configure.in: ... here.
20612 * sysdeps/x86_64/elf/start.S: Moved to ...
20613 * sysdeps/x86_64/start.S: ... here.
20614 * sysdeps/x86_64/elf/configure: Delete.
20615
20616 * sysdeps/x86_64/configure.in: Merge contents from
20617 sysdeps/i386/configure.in (without i686 check).
20618
20619 * sysdeps/i386/elf/Versions: Merge into ...
20620 * sysdeps/i386/Versions: ... this.
20621 * sysdeps/i386/elf/Versions: Delete file.
20622 * sysdeps/i386/elf/start.S: Moved to ...
20623 * sysdeps/i386/start.S: ...here.
20624 * sysdeps/i386/elf/configure.in: Merge into...
20625 * sysdeps/i386/configure.in: ...here.
20626 * sysdeps/i386/elf/configure.in: Delete file.
20627 * sysdeps/i386/elf/configure: Delete file.
20628
20629 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20630 * debug/backtracesyms.c: ... here.
20631 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20632 * debug/backtracesymsfd.c: ... here.
20633 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20634 * sysdeps/generic/ifunc-sel.h: ... here.
20635
20636 * sysdeps/unix/i386/start.c: Delete file.
20637 * sysdeps/unix/sparc/start.c: Delete file.
20638 * sysdeps/unix/start.c: Delete file.
20639
20640 * sysdeps/sh/elf/configure.in: Moved to ...
20641 * sysdeps/sh/configure.in: ... here.
20642 * sysdeps/sh/elf/start.S: Moved to ...
20643 * sysdeps/sh/start.S: ... here.
20644 * sysdeps/sh/elf/configure: Delete file.
20645
20646 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20647 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20648 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20649 * sysdeps/powerpc/powerpc64/entry.h: ... here.
20650 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20651 * sysdeps/powerpc/powerpc64/start.S: here.
20652 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20653 * sysdeps/powerpc/powerpc64/Makefile: ... this.
20654 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20655 * sysdeps/powerpc/powerpc64/configure.in: ... this.
20656 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20657
20658 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20659 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20660 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20661 * sysdeps/powerpc/powerpc32/start.S: ... here.
20662 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20663 * sysdeps/powerpc/powerpc32/configure.in: ... this.
20664 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20665
20666 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20667 * sysdeps/powerpc/ifunc-sel.h: ... here.
20668 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20669 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20670
20671 * sysdeps/sparc/elf/configure.in: Moved to ...
20672 * sysdeps/sparc/configure.in: ... here.
20673 * sysdeps/sparc/elf/configure: Delete file.
20674 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20675 * sysdeps/sparc/sparc32/start.S: ... here.
20676 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20677 * sysdeps/sparc/sparc64/start.S: ... here.
20678 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20679 * sysdeps/sparc/sparc32/Makefile: ... this.
20680 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20681 * sysdeps/sparc/sparc64/Makefile: ... this.
20682
20683 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20684 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20685 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20686 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20687 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20688 * sysdeps/s390/s390-32/setjmp.S: ... here.
20689 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20690 * sysdeps/s390/s390-32/configure.in: ... here.
20691 * sysdeps/s390/s390-32/elf/configure: Delete file.
20692 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20693 * sysdeps/s390/s390-32/start.S: ... here.
20694
20695 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20696 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20697 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20698 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20699 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20700 * sysdeps/s390/s390-64/setjmp.S: ... here.
20701 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20702 * sysdeps/s390/s390-64/configure.in: ... here
20703 * sysdeps/s390/s390-64/elf/configure: Delete file.
20704 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20705 * sysdeps/s390/s390-64/start.S: ... here.
20706 * sysdeps/s390/s390-64/elf/configure: Delete.
20707
20708 * configure.in: Remove support for elf directories in sysdeps.
20709
20710 * configure: Regenerated.
20711 * sysdeps/i386/configure: Regenerated.
20712 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20713 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20714 * sysdeps/s390/s390-32/configure: Regenerated.
20715 * sysdeps/s390/s390-64/configure: Regenerated.
20716 * sysdeps/sh/configure: Regenerated.
20717 * sysdeps/sparc/configure: Regenerated.
20718 * sysdeps/x86_64/configure: Regenerated.
20719
207202012-03-26 Andreas Schwab <schwab@linux-m68k.org>
20721
20722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20723
20724 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20725 denormal result into account.
20726
207272012-03-25 Roland McGrath <roland@hack.frob.com>
20728
20729 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20730 Reported by Allan McRae <allan@archlinux.org>.
20731
207322012-03-23 Jeff Law <law@redhat.com>
20733
20734 * nss/getnssent.c (__nss_getent): Fix typo.
20735
207362012-03-23 David S. Miller <davem@davemloft.net>
20737
20738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20739
207402012-03-23 H.J. Lu <hongjiu.lu@intel.com>
20741
20742 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20743 to pad to uint64_t for each field.
20744 (dl_tls_index): Replace unsigned long with uint64_t.
20745
207462012-03-23 Daniel Jacobowitz <dmj@google.com>
20747 Paul Pluzhnikov <ppluzhnikov@google.com>
20748
20749 [BZ #6528]
20750 * grp/Makefile (otherlibs): Don't set it.
20751 * inet/Makefile (otherlibs): Likewise.
20752 * login/Makefile (otherlibs): Likewise.
20753 * nscd/Makefile (otherlibs): Likewise.
20754 * posix/Makefile (otherlibs): Likewise.
20755 * pwd/Makefile (otherlibs): Likewise.
20756 * rt/Makefile (otherlibs): Likewise.
20757 * sunrpc/Makefile (otherlibs): Likewise.
20758 * nss/Makefile (otherlibs): Likewise.
20759 Add libnss_files to routines and static-only-routines.
20760 ($(objpfx)getent): Remove rule.
20761 * resolv/Makefile: Add libnss_dns and libresolv to routines and
20762 static-only-routines.
20763
207642012-03-22 Joseph Myers <joseph@codesourcery.com>
20765
20766 [BZ #13892]
20767 * math/s_cexp.c: Include <float.h>.
20768 (__cexp): Handle exp result overflowing not necessarily
20769 overflowing both real and imaginary parts of result.
20770 * math/s_cexpf.c: Likewise.
20771 * math/s_cexpl.c: Likewise.
20772 * math/libm-test.inc (cexp_test): Add more tests.
20773 * sysdeps/i386/fpu/libm-test-ulps: Update.
20774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20775
207762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20777
20778 * include/link.h (ELFW): New macro.
20779 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20780 Replace ELF64_R_TYPE with ELFW(R_TYPE).
20781
207822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20783
20784 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20785 with uint64_t.
20786
207872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20788
20789 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20790 declaration.
20791 (struct La_x32_retval): Likewise.
20792
207932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20794
20795 * sysdeps/x86_64/preconfigure.in: New file.
20796 * sysdeps/x86_64/preconfigure: New generated file.
20797
207982012-03-22 Joseph Myers <joseph@codesourcery.com>
20799
20800 [BZ #13824]
20801 * math/e_exp2l.c: Include <float.h>.
20802 (__ieee754_exp2l): Handle overflow and underflow cases
20803 separately. Only pass fractional part of argument to
20804 __ieee754_expl.
20805 * math/libm-test.inc (exp2_test): Add more tests.
20806
20807 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20808 negating x to take absolute value.
20809 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20810 Likewise.
20811 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20812 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20813 Likewise.
20814 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20815 computing low part if x was negated.
20816 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20817
208182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20819
20820 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
20821 la_x32_gnu_pltexit.
20822 (pltexit): Cast int_retval to ptrdiff_t.
20823 * elf/tst-auditmod3b.c: Likewise.
20824 * elf/tst-auditmod4b.c: Likewise.
20825 * elf/tst-auditmod5b.c: Likewise.
20826 * elf/tst-auditmod6b.c: Likewise.
20827 * elf/tst-auditmod6c.c: Likewise.
20828 * elf/tst-auditmod7b.c: Likewise.
20829
20830 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
20831 and x32_gnu_pltexit.
20832
20833 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
20834 __ELF_NATIVE_CLASS.
20835 (La_x32_regs): New macro.
20836 (La_x32_retval): Likewise.
20837 (la_x32_gnu_pltenter): New function prototype.
20838 (la_x32_gnu_pltexit): Likewise.
20839
208402012-03-21 Andreas Schwab <schwab@linux-m68k.org>
20841
20842 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
20843 exponent.
20844
20845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20846
20847 * configure.in (libc_cv_cc_nofma): Check for option to disable
20848 generation of FMA instructions.
20849 * configure: Regenerate.
20850 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
20851 * sysdeps/ieee754/dbl-64/Makefile: New file.
20852 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20853 Remove brandred-fma4.
20854 (CFLAGS-brandred-fma4.c): Remove.
20855 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
20856 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
20857 define.
20858 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
20859 define.
20860
208612012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20862
20863 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20864 LLONG_MAX != LONG_MAX.
20865 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20866 (_fitoa_word): Likewise.
20867 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
20868 LLONG_MAX != LONG_MAX.
20869 * stdio-common/_itowa.h: Include <_itoa.h>.
20870 (_itowa_word): Use _ITOA_WORD_TYPE on value.
20871 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
20872 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
20873 only if not defined.
20874 (_ITOA_WORD_TYPE): Likewise.
20875 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20876 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
20877
208782012-03-21 David S. Miller <davem@davemloft.net>
20879
20880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20881
208822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20883
20884 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
20885 of x86_64 when setting libc_cv_slibdir, libdir and
20886 libc_cv_localedir.
20887 * sysdeps/unix/sysv/linux/configure: Regenerated.
20888
208892012-03-21 Joseph Myers <joseph@codesourcery.com>
20890
20891 * manual/lang.texi (Old Varargs): Remove section.
20892 (How Variadic): Update menu.
20893 (va_start): Do not mention varargs.h.
20894
208952012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20896 Joseph Myers <joseph@codesourcery.com>
20897
20898 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
20899 link test.
20900 * configure: Regenerated.
20901
209022012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20903
20904 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
20905 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
20906 conformtest.pl
20907
209082012-03-21 Joseph Myers <joseph@codesourcery.com>
20909
20910 * NOTES: Remove.
20911 * Makefile (files-for-dist): Remove NOTES.
20912 (NOTES): Remove rule.
20913 * README: Don't refer to NOTES.
20914 * manual/creature.texi: Don't include macros.texi.
20915 * manual/intro.texi (creature.texi): Remove comment referring to
20916 NOTES.
20917
20918 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
20919 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
20920 * configure: Regenerated.
20921 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
20922 LIBC_TRY_CC_OPTION.
20923 (libc_cv_as_i686): Likewise.
20924 (libc_cv_cc_avx): Likewise.
20925 (libc_cv_cc_sse2avx): Likewise.
20926 (libc_cv_cc_fma4): Likewise.
20927 (libc_cv_cc_novzeroupper): Likewise.
20928 * sysdeps/i386/configure: Regenerated.
20929
20930 [BZ #13883]
20931 * sysdeps/i386/fpu/s_cexp.S: Remove.
20932 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20933 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20934 * math/libm-test.inc (cexp_test): Add more tests.
20935 * sysdeps/i386/fpu/libm-test-ulps: Update.
20936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20937
209382012-03-21 Allan McRae <allan@archlinux.org>
20939
20940 * timezone/Makefile: Do not install iso3166.tab and zone.tab
20941
209422012-03-21 Joseph Myers <joseph@codesourcery.com>
20943
20944 [BZ #13871]
20945 * math/w_exp2.c: Do not include <float.h>.
20946 (o_threshold, u_threshold): Remove.
20947 (__exp2): Calculate result before checking finiteness and calling
20948 __kernel_standard.
20949 * math/w_exp2f.c: Likewise.
20950 * math/w_exp2l.c: Likewise.
20951 * math/libm-test.inc (exp2_test): Require overflow exception for
20952 1e6 input.
20953
20954 [BZ #3866]
20955 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
20956 range of signed 64-bit integers before using fistpll. Remove
20957 checks for whether integers fit in mantissa bits.
20958 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
20959 the range of signed 32-bit integers before using fistpl. Remove
20960 checks for whether integers fit in mantissa bits.
20961 * sysdeps/i386/fpu/e_powl.S (p64): New object.
20962 (__ieee754_powl): Test for y outside the range of signed 64-bit
20963 integers before using fistpll. Reduce 64-bit values to 63-bit
20964 ones as needed.
20965 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
20966 divide-by-zero is raised for zero to large negative powers.
20967 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
20968 (__ieee754_powl): Test for y outside the range of signed 64-bit
20969 integers before using fistpll. Reduce 64-bit values to 63-bit
20970 ones as needed.
20971 * math/libm-test.inc (pow_test): Add more tests.
20972
209732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20974
20975 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
20976 <stdio-common/_itoa.h>.
20977 * debug/segfault.c: Likewise.
20978 * elf/dl-cache.c: Likewise.
20979 * elf/dl-minimal.c: Likewise.
20980 * elf/dl-misc.c: Likewise.
20981 * elf/dl-sysdep.c: Likewise.
20982 * elf/dl-version.c: Likewise.
20983 * elf/rtld.c: Likewise.
20984 * hurd/hurdsock.c: Likewise.
20985 * hurd/lookup-retry.c: Likewise.
20986 * malloc/malloc.c: Likewise.
20987 * malloc/mtrace.c: Likewise.
20988 * nscd/nscd_getgr_r.c: Likewise.
20989 * nscd/nscd_getpw_r.c: Likewise.
20990 * nscd/nscd_getserv_r.c: Likewise.
20991 * posix/getopt_init.c: Likewise.
20992 * posix/wordexp.c: Likewise.
20993 * stdio-common/_itoa.c: Likewise.
20994 * stdio-common/printf_fphex.c: Likewise.
20995 * stdio-common/vfprintf.c: Likewise.
20996 * string/_strerror.c: Likewise.
20997 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
20998 * sysdeps/i386/i686/hp-timing.h: Likewise.
20999 * sysdeps/mach/_strerror.c: Likewise.
21000 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21001 * sysdeps/mach/hurd/sethostid.c: Likewise.
21002 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21003 * sysdeps/mach/xpg-strerror.c: Likewise.
21004 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21005 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21006 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21007 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21008 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21009 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21010 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21011 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21012 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21013 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21014 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21015 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21016 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21017 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21018 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21019 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21020 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21021 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21022 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21023 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21024 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21025
21026 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21027
21028 * stdio-common/_itoa.h: Moved to ...
21029 * sysdeps/generic/_itoa.h: Here.
21030
21031 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21032
21033 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21034 instead of "_itoa.h" and "_itowa.h".
21035 * stdio-common/vfprintf.: Likewise.
21036
210372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21038
21039 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21040 <bits/wordsize.h>.
21041 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21042 (__signbit): Likwise.
21043 (llrintf): Likwise.
21044 (llrint): Likwise.
21045
210462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21047
21048 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21049 __WORDSIZE != 64.
21050
210512012-03-20 Joseph Myers <joseph@codesourcery.com>
21052
21053 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21054 OVERFLOW_EXCEPTION_OK.
21055 * math/libm-test.inc ("Philosophy"): Update comment about
21056 exception testing.
21057 (OVERFLOW_EXCEPTION): Define.
21058 (OVERFLOW_EXCEPTION_OK): Likewise.
21059 (INVALID_EXCEPTION_OK): Renumber.
21060 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21061 (IGNORE_ZERO_INF_SIGN): Likewise.
21062 (test_exceptions): Handle FE_OVERFLOW.
21063 (exp10_test): Expect overflow exceptions.
21064 (exp2_test): Likewise.
21065 (expm1_test): Likewise.
21066 (nextafter_test): Likewise.
21067 (pow_test): Likewise.
21068 (scalbn_test): Likewise.
21069 (scalbln_test): Likewise.
21070
210712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21072
21073 * sysdeps/x86_64/bits/atomic.h
21074 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21075 64bit integer.
21076 (atomic_exchange_acq): Likewise.
21077 (__arch_exchange_and_add_body): Likewise.
21078 (__arch_add_body): Likewise.
21079 (atomic_add_negative): Likewise.
21080 (atomic_add_zero): Likewise.
21081
210822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21083
21084 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
21085 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21086
210872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21088
21089 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21090 Check __x86_64__ instead of __WORDSIZE.
21091
210922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21093
21094 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21095
210962012-03-19 David S. Miller <davem@davemloft.net>
21097
21098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21099
21100 * sysdeps/sparc/fpu/fenv_private.h: New file.
21101 * sysdeps/sparc/fpu/math_private.h: Use it.
21102 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21103 Remove.
21104 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21105 (libc_feholdexcept_setroundl): Remove.
21106 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21107 Remove.
21108 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21109 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21110
211112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21112
21113 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21114 int64_t instead of long int.
21115 (INSERT_WORDS64): Likwise.
21116
211172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21118
21119 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21120 _Unwind_GetCFA return to _Unwind_Ptr first.
21121
211222012-03-19 Joseph Myers <joseph@codesourcery.com>
21123
21124 [BZ #13629]
21125 * math/s_clog.c: Include <float.h>.
21126 (__clog): Scale large or subnormal inputs.
21127 * math/s_clogf.c: Likewise.
21128 * math/s_clogl.c: Likewise.
21129 * math/s_clog10.c: Include <float.h>.
21130 (M_LOG10_2): Define.
21131 (__clog10): Scale large or subnormal inputs.
21132 * math/s_clog10f.c: Likewise.
21133 * math/s_clog10l.c: Likewise.
21134 * math/libm-test.inc (clog_test): Add more tests.
21135 (clog10_test): Likewise.
21136 * sysdeps/i386/fpu/libm-test-ulps: Update.
21137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21138
21139 [BZ #11451]
21140 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21141 x and y.
21142 * math/libm-test.inc (atan2_test): Add another test.
21143
21144 * Makerules (common-objdir-compile): Remove.
21145 * sysdeps/unix/Makefile (config-generated): Do not add
21146 $(unix-generated) to variable.
21147 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21148 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21149 Remove rule.
21150 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21151 Likewise.
21152 [generic bits/local_lim.h] (before-compile): Do not append to
21153 variable.
21154 [generic bits/local_lim.h] (common-generated): Likewise.
21155 [generic sys/param.h] (before-compile): Do not append to variable.
21156 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21157 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21158 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21159 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21160 include.
21161 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21162 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21163 [generic sys/param.h] ($(addprefix
21164 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21165 [generic sys/param.h] (common-generated): Do not append to
21166 variable.
21167 [generic sys/param.h] (sysdep_headers): Likewise.
21168 [generic bits/errno.h] (before-compile): Do not append to
21169 variable.
21170 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21171 rule.
21172 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21173 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21174 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21175 [generic bits/errno.h] (common-generated): Do not append to
21176 variable.
21177 [generic bits/ioctls.h] (before-compile): Do not append to
21178 variable.
21179 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21180 rule.
21181 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21182 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21183 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21184 rule.
21185 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21186 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21187 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21188 [generic bits/ioctls.h] (common-generated): Do not append to
21189 variable.
21190 [generic sys/syscall.h] (syscall.h): Remove variable.
21191 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21192 rule.
21193 [generic sys/syscall.h] (before-compile): Do not append to
21194 variable.
21195 [generic sys/syscall.h] (common-generated): Likewise.
21196 * sysdeps/unix/errnos-tmpl.c: Remove file.
21197 * sysdeps/unix/errnos.awk: Likewise.
21198 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21199 * sysdeps/unix/ioctls.awk: Likewise.
21200 * sysdeps/unix/mk-local_lim.c: Likewise.
21201 * sysdeps/unix/snarf-ioctls: Likewise.
21202
212032012-03-19 Richard Henderson <rth@twiddle.net>
21204
21205 * sysdeps/i386/fpu/fenv_private.h: New file.
21206 * sysdeps/i386/fpu/math_private.h: Use it.
21207 (math_opt_barrier, math_force_eval): Remove.
21208 (libc_feholdexcept_setround_53bit): Remove.
21209 (libc_feupdateenv_53bit): Remove.
21210 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21211 (math_opt_barrier, math_force_eval): Remove.
21212 (libc_feholdexcept): Remove.
21213 (libc_feholdexcept_setround): Remove.
21214 (libc_fetestexcept, libc_fesetenv): Remove.
21215 (libc_feupdateenv_test): Remove.
21216 (libc_feupdateenv, libc_feholdsetround): Remove.
21217 (libc_feresetround): Remove.
21218
21219 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21220 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21221
21222 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21223 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21224 (libc_feupdateenv_testl): New.
21225 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21226 (libc_feupdateenv_testf): New.
21227 (libc_feupdateenv): Use libc_feupdateenv_test.
21228 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21229 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21230
21231 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21232 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21233 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21234 (libc_feresetround_noex): New.
21235 (libc_feresetround_noexf): New.
21236 (libc_feresetround_noexl): New.
21237 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21238 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21239 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21240 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21241 SET_RESTORE_ROUND.
21242 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21243 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21244 (__cos): Likewise.
21245 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21246 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21247 SET_RESTORE_ROUND_NOEX.
21248 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21249 SET_RESTORE_ROUND_NOEXF.
21250 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21251 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21252 (libc_feholdsetroundf): New.
21253 (libc_feresetround, libc_feresetroundf): New.
21254
21255 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21256 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21257 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21258
21259 * sysdeps/generic/math_private.h: Include <fenv.h>.
21260 (default_libc_feholdexcept): New.
21261 (default_libc_feholdexcept_setround): New.
21262 (default_libc_fesetenv, default_libc_feupdateenv): New.
21263 (libc_feholdexcept): Only define if undefined.
21264 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21265 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21266 (libc_feholdexcept_setroundl): Likewise.
21267 (libc_feholdexcept_setround_53bit): Likewise.
21268 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21269 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21270 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21271 (libc_feupdateenv_53bit): Likewise.
21272 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21273 (libc_feholdexcept): Convert from macro to inline function.
21274 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21275 (libc_fesetenv, libc_feupdateenv): Likewise.
21276
21277 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21278 not previously defined.
21279 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21280 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21281 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21282 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21283 * sysdeps/ieee754/flt-32/math_private.h: New file.
21284 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21285 math_private.h below SET_FLOAT_WORD.
21286 (__isnan, __isinf_ns, __finite): Remove.
21287 (__isnanf, __isinf_nsf, __finitef): Remove.
21288
212892012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21290
21291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21292
212932012-03-17 David S. Miller <davem@davemloft.net>
21294
21295 [BZ #6471]
21296 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21297 for 2.16.
21298
212992012-03-16 David S. Miller <davem@davemloft.net>
21300
21301 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21302 warnings.
21303
21304 [BZ #6471]
21305 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21306 properly.
21307 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21308 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21309 sysdep_routines when subdir is sysvipc.
21310 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21311 __getshmlba helper.
21312
21313 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21314
213152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21316
21317 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21318 [__LP64__].
21319
213202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21321
21322 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21323 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21324 (__lround): Renamed to ...
21325 (__llround): This. Replace long int with long long int.
21326 Define lround functions as aliases of llround functions.
21327 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21328
213292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21330
21331 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21332 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21333 adresses to uintptr_t. Replace "long int" and "unsigned long
21334 int" with "greg_t" on va_arg.
21335
213362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21337
21338 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21339 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21340
21341 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21342 Move e_machine check before EI_CLASS check. Handle x32
21343 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21344 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21345 SKIP_EM_IA_64 and include
21346 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21347
21348 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21349 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21350 (add_system_dir): New macro.
21351
21352 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21353 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21354
213552012-03-16 Joseph Myers <joseph@codesourcery.com>
21356
21357 [BZ #2551]
21358 [BZ #2552]
21359 [BZ #2553]
21360 [BZ #2554]
21361 [BZ #2562]
21362 [BZ #2563]
21363 [BZ #2565]
21364 [BZ #2566]
21365 [BZ #2576]
21366 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21367 (y0): Likewise.
21368 * math/w_j0f.c (j0f): Likewise.
21369 (y0f): Likewise.
21370 * math/w_j0l.c (__j0l): Likewise.
21371 (__y0l): Likewise.
21372 * math/w_j1.c (j1): Likewise.
21373 (y1): Likewise.
21374 * math/w_j1f.c (j1f): Likewise.
21375 (y1f): Likewise.
21376 * math/w_j1l.c (__j1l): Likewise.
21377 (__y1l): Likewise.
21378 * math/w_jn.c (jn): Likewise.
21379 (yn): Likewise.
21380 * math/w_jnf.c (jnf): Likewise.
21381 (ynf): Likewise.
21382 * math/w_jnl.c (__jnl): Likewise.
21383 (__ynl): Likewise.
21384 * math/libm-test.inc (j0_test): Add more tests.
21385 (j1_test): Likewise.
21386 (jn_test): Likewise. Add trailing semicolon to existing test.
21387 (y0_test): Likewise.
21388 (y1_test): Likewise.
21389 * sysdeps/i386/fpu/libm-test-ulps: Update.
21390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21391
21392 [BZ #13851]
21393 [BZ #13854]
21394 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21395 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21396 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21397 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21398 (__tanl): Set errno for infinite argument.
21399 * sysdeps/i386/fpu/mptan.c: Remove.
21400 * sysdeps/i386/fpu/s_tan.S: Likewise.
21401 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21402 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21403 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21404 * math/libm-test.inc (tan_test): Add more tests and enable more
21405 tests for double and long double.
21406 * sysdeps/i386/fpu/libm-test-ulps: Update.
21407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21408
214092012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21410
21411 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21412 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21413
214142012-03-16 Roland McGrath <roland@hack.frob.com>
21415
21416 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21417 * configure.in: Use it for both main tree and add-ons.
21418 * configure: Regenerated.
21419
214202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21421
21422 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21423
214242012-03-16 Joseph Myers <joseph@codesourcery.com>
21425
21426 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21427 in comment.
21428
21429 [BZ #13851]
21430 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21431 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21432 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21433 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21434 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21435 infinite argument.
21436 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21437 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21438 != 0 for prec == 2.
21439 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21440 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21441 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21442 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21443 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21444 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21445 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21446 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21447 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21448 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21449 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21450 * math/libm-test.inc (cos_test): Add more tests and enable more
21451 tests for long double.
21452 (sin_test): Likewise.
21453 (sincos_test): Likewise.
21454 * sysdeps/i386/fpu/libm-test-ulps: Update.
21455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21456
214572012-03-16 David S. Miller <davem@davemloft.net>
21458
21459 * sysdeps/sparc/fpu/math_private.h: New file.
21460
214612012-03-15 David S. Miller <davem@davemloft.net>
21462
21463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21464 file.
21465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
21466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21467 file.
21468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21469 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21470 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21471 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21472 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21473 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21474 sysdep routines.
21475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21476
21477 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21478 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21479
21480 * sysdeps/sparc/sparc-ifunc.h: New file.
21481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21482 sparc-ifunc.h
21483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21485 Likewise.
21486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21487 Likewise.
21488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21492 Likewise.
21493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
21497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21498 Likewise.
21499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21500 Likewise.
21501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21505 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21506 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21507 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21508 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21509 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21510 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21511 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21512 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21513 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21514 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21515 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21516 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21517 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21518 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21519 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21520 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21521 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21522 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21523 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21524 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21525
215262012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21527
21528 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21529 scaling.
21530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21531
215322012-03-15 Andreas Jaeger <aj@suse.de>
21533
21534 [BZ #13852]
21535 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21536 ieee754/flt-32 implementation for sin, cos and sincos.
21537 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21538 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21539 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21540 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21541 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21542 ieee754/flt-32 implementation for tan.
21543
21544 * math/libm-test.inc (cos_test): Enable some large input tests for
21545 float as well
21546 (sin_test): Likewise.
21547 (sincos_test): Likewise.
21548 (tan_test): Add tests for large input.
21549
21550 * sysdeps/i386/fpu/libm-test-ulps: Update.
21551
215522012-03-15 Andreas Jaeger <aj@suse.de>
21553
21554 [BZ #13658]
21555 * math/libm-test.inc (cos_test): Add more test cases.
21556 (sin_test): Likewise.
21557 (sincos_test): Likewise.
21558
215592012-03-15 Andreas Jaeger <aj@suse.de>
21560
21561 [BZ #13837]
21562 * math/libm-test.inc (cos_test): Add a test case for large input
21563 value.
21564 (sin_test): Likewise.
21565 (sincos_test): Likewise.
21566
215672012-03-15 Andreas Jaeger <aj@suse.de>,
21568 Joseph Myers <joseph@codesourcery.com>
21569
21570 [BZ #13658]
21571 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
21572 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21573 * sysdeps/i386/fpu/branred.c: Likewise.
21574 * sysdeps/i386/fpu/dosincos.c: Likewise.
21575 * sysdeps/i386/fpu/mpa.c: Likewise.
21576 * sysdeps/i386/fpu/s_cos.S: Likewise.
21577 * sysdeps/i386/fpu/s_sin.S: Likewise.
21578 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21579 * sysdeps/i386/fpu/sincos32.c: Likewise.
21580
21581 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21582 Define.
21583 (libc_feupdateenv_53bit): Define.
21584 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21585 Define.
21586 (libc_feupdateenv_53bit): Define.
21587
21588 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21589 53 bit (without extend i386 double precision).
21590
21591 * math/libm-test.inc (sincos_test): Add tests for large input.
21592 (sin): Likewise.
21593 (cos): Likewise.
21594
21595 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21596
215972012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21598
21599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21600
216012012-03-15 David S. Miller <davem@davemloft.net>
21602
21603 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21604 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21605 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21606 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21611 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21612 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21613 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21614 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21615 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21616 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21617 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
21618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21619 file.
21620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
21621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21622 file.
21623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
21624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21625 file.
21626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
21627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21628 file.
21629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21630 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21631 fmin/fmax sysdep routines.
21632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21633
216342012-03-14 David S. Miller <davem@davemloft.net>
21635
21636 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21637 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21638 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21639 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21640 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21641 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21642 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21643 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21644 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21645 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21646 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21647 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21648 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21649 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21650 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21651 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21652 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21653 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21654 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21655 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21656 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21657 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21658 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21659 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21660 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21661 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21662 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21663 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
21664 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21665 routines.
21666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21667 file.
21668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
21669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21670 file.
21671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
21672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21673 file.
21674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
21675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21676 file.
21677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
21678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21679 file.
21680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
21681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21682 file.
21683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21684 file.
21685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21686 file.
21687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21688 file.
21689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21690 New file.
21691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21692 file.
21693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21694 file.
21695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
21696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21697 file.
21698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
21699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21700 file.
21701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
21702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21703 file.
21704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
21705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21706 VIS3 routines.
21707
21708 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21709 New file.
21710
21711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21712
21713 * sysdeps/sparc/configure.in: New file.
21714 * sysdeps/sparc/configure: Generate.
21715 * configure.in (libc_cv_sparc_as_vis3): Substitute.
21716 * configure: Regenerate.
21717 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21718 * config.make.in (have-as-vis3): New.
21719 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21720 available use -Av9d instead of -Av9a.
21721 * sysdeps/sparc/sparc64/Makefile: Likewise.
21722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
21723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21724 New file.
21725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21726 file.
21727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21728 New file.
21729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21730 file.
21731 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21732 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21733 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21734 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21735 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21736
21737 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21738 fzeros/fnegs to load 0x80000000 into a float register instead of
21739 using the stack.
21740 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21741
217422012-03-14 Joseph Myers <joseph@codesourcery.com>
21743
21744 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21745 bits/syscall.h.
21746 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21747 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21748 ($(inst_includedir)/bits/syscall.h): Remove rule.
21749 ($(objpfx)bits/syscall.d): Include instead of
21750 $(objpfx)syscall-list.d.
21751 (generated): Change syscall-list.h and syscall-list.d to
21752 bits/syscall.h and bits/syscall.d.
21753
217542012-03-14 Roland McGrath <roland@hack.frob.com>
21755
21756 [BZ #13846]
21757 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21758
217592012-03-14 Joseph Myers <joseph@codesourcery.com>
21760
21761 [BZ #13841]
21762 * math/s_csqrt.c: Include <float.h>.
21763 (__csqrt): Scale large or subnormal inputs.
21764 * math/s_csqrtf.c: Likewise.
21765 * math/s_csqrtl.c: Likewise.
21766 * math/libm-test.inc (csqrt_test): Add more tests.
21767 * sysdeps/i386/fpu/libm-test-ulps: Update.
21768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21769
21770 [BZ #13840]
21771 * math/libm-test.inc (hypot_test): Add more tests.
21772
217732012-03-13 David S. Miller <davem@davemloft.net>
21774
21775 [BZ #13840]
21776 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21777 double-precision for the calculation instead of scaling.
21778
217792012-03-13 Joseph Myers <joseph@codesourcery.com>
21780
21781 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21782 manipulate bits before adding and subtracting TWO52[sx].
21783 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21784 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21785 Likewise.
21786 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21787
217882012-03-13 David S. Miller <davem@davemloft.net>
21789
21790 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21791 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21792 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21793 rtld-global-offsets.h
21794 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21795
21796 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21797 large parameters.
21798
21799 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21800
21801 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21802 'err' in the ifdef scope in which it is actually used.
21803
21804 * nss/nss_db/db-init.c: Include string.h
21805
218062012-03-12 David S. Miller <davem@davemloft.net>
21807
21808 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21809 masking out of the most significant byte of random value used.
21810 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21811 Fix coding style in previous change.
21812
21813 * sysdeps/unix/sysv/linux/kernel-features.h
21814 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21815 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21816 expression.
21817 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21818 later.
21819
218202012-03-11 David S. Miller <davem@davemloft.net>
21821
21822 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21823 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
21824 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
21825 for 'resultvar' otherwise things get truncated on 64-bit.
21826
21827 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21828 Fix masking out of the most significant byte of random value used.
21829
21830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21831
218322012-03-10 Andreas Schwab <schwab@linux-m68k.org>
21833
21834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21835
218362012-03-09 David S. Miller <davem@davemloft.net>
21837
21838 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
21839 variables with appropriate CPP guards.
21840 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
21841 frame pointer, not the stack pointer. Correct layout comments. Fix test
21842 on resulting framesize and the management of the outregs buffer for pltexit.
21843 Preserve floating point return values across _dl_call_pltexit call.
21844 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
21845 framesize and the management of the outregs buffer for pltexit.
21846 Preserve floating point return values across _dl_call_pltexit
21847 call.
21848 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
21849 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
21850 (print_exit): Fix format string for return register value.
21851
218522012-03-10 Joseph Myers <joseph@codesourcery.com>
21853
21854 * sunrpc/Makefile (others): Add rpcgen.
21855 ($(objpfx)rpcgen): Remove special build rule and dependency on
21856 libc.
21857 * sunrpc/rpcgen.c: New file.
21858
218592012-03-09 Paul Eggert <eggert@cs.ucla.edu>
21860
21861 [BZ #13673]
21862 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
21863 * stdio-common/bug-vfprintf-nargs.c: Likewise.
21864 * sysdeps/i386/crti.S: Likewise.
21865 * sysdeps/i386/crtn.S: Likewise.
21866 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
21867 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
21868 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
21869 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
21870 * sysdeps/sh/crti.S: Likewise.
21871 * sysdeps/sh/crtn.S: Likewise.
21872 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21873
21874 [BZ #13673]
21875 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
21876 with URL.
21877 * locale/programs/locfile-kw.gperf: Likewise.
21878 * locale/programs/charmap-kw.h: Regenerated.
21879 * locale/programs/locfile-kw.h: Likewise.
21880
21881 [BZ #13673]
21882 * intl/plural.y: Replace FSF snail mail address with URL.
21883 * intl/plural.c: Regenerated.
21884
218852012-03-09 Richard Henderson <rth@twiddle.net>
21886
21887 * include/math_private.h: Remove file.
21888 * math/math_private.h: Move file ...
21889 * sysdeps/generic/math_private.h: ... here.
21890
21891 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
21892 * sysdeps/powerpc/fpu/math_private.h: Likewise.
21893 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21894
21895 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
21896 and <math_private.h>.
21897 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21898 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21899 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21900 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21901 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21902 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
21903 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21904 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21905 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21906 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21907 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21908 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21909 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21910 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21911 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21912 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21913 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21914 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21915 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21916 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21917 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21918 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21919 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21920 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21921 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21922 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21923 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21924 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21925 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21926 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21927 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21928 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21929 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21930 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21931 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21932 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21933 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21934 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21935 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21936 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21937 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
21938 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21939 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21940 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21941 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21942 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21943 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
21944 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21945 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21946 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21947 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21948 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
21949 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21950 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21951 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21952 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21953 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21954 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21955 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21956 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
21957 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21958 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21959 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21960 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21961 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
21962 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21963 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21964 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21965 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
21966 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
21967 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21968 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21969 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21970 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21971 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
21972 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
21973 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
21974 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21975 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
21976 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
21977 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21978 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
21979 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21980 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21981 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21982 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
21983 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
21984 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
21985 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21986 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21987 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21988 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21989 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21990 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21991 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21992 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21993 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21994 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21995 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21996 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21997 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21998 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21999 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22000 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22001 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22002 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22003 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22004 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22005 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22006 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22007 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22008 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22009 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22010 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22011 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22012 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22013 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22014 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22015 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22016 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22017 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22018 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22019 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22020 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22021 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22022 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22023 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22024 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22025 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22026 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22027 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22028 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22029 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22030 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22031 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22032 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22033 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22034 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22035 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22036 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22037 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22038 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22039 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22040 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22041 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22042 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22043 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22044 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22045 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22046 * sysdeps/ieee754/k_standard.c: Likewise.
22047 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22048 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22049 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22050 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22051 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22052 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22053 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22054 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22055 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22056 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22057 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22058 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22059 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22060 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22061 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22062 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22063 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22064 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22065 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22066 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22067 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22068 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22069 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22070 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22071 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22072 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22073 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22074 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22075 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22076 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22077 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22078 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22079 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22080 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22081 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22082 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22083 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22084 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22085 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22086 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22087 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22088 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22089 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22090 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22091 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22092 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22093 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22094 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22095 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22096 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22097 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22098 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22099 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22100 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22101 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22102 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22103 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22104 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22105 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22106 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22107 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22108 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22109 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22110 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22111 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22112 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22113 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22114 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22115 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22116 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22117 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22118 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22119 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22120 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22121 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22122 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22123 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22124 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22125 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22126 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22127 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22128 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22129 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22130 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22131 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22132 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22133 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22134 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22135 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22136 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22137 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22138 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22139 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22140 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22141 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22142 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22143 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22144 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22145 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22146 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22147 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22148 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22149 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22150 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22151 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22152 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22153 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22154 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22155 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22156 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22157 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22158 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22159 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22160 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22161 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22162 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22163 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22164 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22165 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22166 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22167 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22168 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22169 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22170 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22171 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22172 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22173 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22174 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22175 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22176 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22177 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22178 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22179 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22180 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22181 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22182 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22183 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22184 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22185 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22186 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22187 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22188 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22189 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22190 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22191 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22192 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22193 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22194 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22195 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22196 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22197 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22198 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22199 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22200 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22201 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22202 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22203 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22204 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22205 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22206 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22207 * sysdeps/ieee754/s_lib_version.c: Likewise.
22208 * sysdeps/ieee754/s_matherr.c: Likewise.
22209 * sysdeps/ieee754/s_signgam.c: Likewise.
22210 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22211 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22212 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22213 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22214 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22215 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22216 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22217 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22218 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22219 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22220 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22221 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22222 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22223 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22224 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22225 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22226 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22227 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22228 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22229 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22230 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22231
222322012-03-09 Joseph Myers <joseph@codesourcery.com>
22233
22234 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22235 * sunrpc/rpc_main.c: Likewise.
22236 * sunrpc/rpc_svcout.c: Likewise.
22237
222382012-03-09 David S. Miller <davem@davemloft.net>
22239
22240 * include/math_private.h: New file.
22241
222422012-03-09 Joseph Myers <joseph@codesourcery.com>
22243
22244 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22245 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22246 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22247 from <bits/socket_type.h>.
22248 (enum __socket_type): Don't define here.
22249 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22250 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22251 bits/socket_type.h.
22252
22253 [BZ #13566]
22254 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22255 checking __USE_GNU.
22256
22257 * Makerules ($(inst_includedir)/%.h): New rule.
22258 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22259 (install-others): Remove variable setting.
22260 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22261
222622012-03-08 Richard Henderson <rth@twiddle.net>
22263
22264 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22265 from macro to inline function; merge with the
22266 !__LIBC_INTERNAL_MATH_INLINES version.
22267 (__ieee754_sqrtf): Likewise.
22268
22269 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22270 to inline function.
22271 (__rintf, __floor, __floorf): Likewise.
22272
22273 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22274 macro to inline function.
22275 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22276
22277 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22278 not <math/math_private.h>.
22279
222802012-03-08 David S. Miller <davem@davemloft.net>
22281
22282 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22283 copyright year.
22284 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22285
222862012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22287
22288 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22289 normalization.
22290 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22291 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22292
222932012-03-08 Ulrich Drepper <drepper@gmail.com>
22294
22295 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22296 be defined individually, they must be defined as a block. Define
22297 S for printing a string instead of hidint the different by using a
22298 macro for adding the 'l'.
22299 * stdio-common/tst-fphex-wide.c: Adjust.
22300
223012012-03-07 Marek Polacek <polacek@redhat.com>
22302
22303 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22304
223052012-03-08 Marek Polacek <polacek@redhat.com>
22306
22307 [BZ #13806]
22308 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22309 * stdio-common/tst-fphex.c: Define a few macros to make the
22310 test reusable. Use them.
22311 * stdio-common/tst-fphex-wide.c: New file.
22312
223132012-03-08 Joseph Myers <joseph@codesourcery.com>
22314
22315 [BZ #6911]
22316 * manual/macros.texi (gnusystems): New macro.
22317 (nongnusystems): Likewise.
22318 (gnulinuxhurdsystems): Likewise.
22319 (gnuhurdsystems): Likewise..
22320 (gnulinuxsystems): Likewise.
22321 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22322 variants of the GNU system, not "GNU system".
22323 * manual/conf.texi: Likewise.
22324 * manual/errno.texi: Likewise. Update example of errno macro
22325 expansion.
22326 * manual/filesys.texi: Likewise.
22327 (getumask): Document as specific to GNU/Hurd.
22328 * manual/install.texi: Likewise. Reword some references to
22329 GNU/Linux.
22330 * manual/intro.texi: Likewise.
22331 * manual/io.texi: Likewise.
22332 (File Name Portability): Detail which constraints are inapplicable
22333 to all GNU systems and which are only inapplicable to GNU/Hurd.
22334 * manual/job.texi: Likewise.
22335 * manual/llio.texi: Likewise.
22336 (O_NOCTTY): Document as present on GNU/Linux.
22337 * manual/maint.texi: Likewise.
22338 * manual/memory.texi: Likewise.
22339 * manual/pattern.texi: Likewise.
22340 * manual/pipe.texi: Likewise.
22341 * manual/process.texi: Likewise.
22342 * manual/resource.texi: Likewise.
22343 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22344 child on GNU/Hurd.
22345 * manual/setjmp.texi: Likewise.
22346 * manual/signal.texi: Likewise.
22347 * manual/startup.texi: Likewise.
22348 * manual/stdio.texi: Likewise.
22349 * manual/terminal.texi: Likewise.
22350 (ONLCR): Document as POSIX.
22351 (OXTABS): Document availability on GNU/Linux as XTABS.
22352 (ONOEOT): Document availability separately from other bits.
22353 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22354 * manual/time.texi: Likewise.
22355 * manual/users.texi: Likewise.
22356 * INSTALL: Regenerated.
22357 * sysdeps/gnu/errlist.c: Regenerated.
22358
22359 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22360 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22361 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22362 puts.
22363 * configure: Regenerated.
22364
223652012-03-07 Joseph Myers <joseph@codesourcery.com>
22366
22367 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22368 default includes instead of AC_HEADER_CHECK.
22369 * sysdeps/i386/configure: Regenerated.
22370
22371 [BZ #10716]
22372 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22373 * math/s_cacoshf.c (__cacoshf): Likewise.
22374 * math/s_cacoshl.c (__cacoshl): Likewise.
22375 * math/s_casinh.c (__casinh): Set signs of result from argument.
22376 * math/s_casinhf.c (__casinhf): Likewise.
22377 * math/s_casinhl.c (__casinhl): Likewise.
22378 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22379 (casinh_test): Add more tests.
22380 * sysdeps/i386/fpu/libm-test-ulps: Update.
22381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22382
223832012-03-07 Ulrich Drepper <drepper@gmail.com>
22384
22385 * po/zh_TW.po: Update from translation team.
22386
22387 * login/Makefile (distribute): Remove variable.
22388 * catgets/Makefile: Likewise.
22389 * mach/Makefile: Likewise.
22390 * malloc/Makefile: Likewise.
22391 * misc/Makefile: Likewise.
22392 * iconv/Makefile: Likewise.
22393 * nscd/Makefile: Likewise.
22394 * hurd/Makefile: Likewise.
22395 * manual/Makefile: Likewise.
22396 * locale/Makefile: Likewise.
22397 * intl/Makefile: Likewise.
22398 * conform/Makefile: Likewise.
22399 * nss/Makefile: Likewise.
22400 * time/Makefile: Likewise.
22401 * soft-fp/Makefile: Likewise.
22402 * dirent/Makefile: Likewise.
22403 * gmon/Makefile: Likewise.
22404 * po/Makefile: Likewise.
22405 * rt/Makefile: Likewise.
22406 * socket/Makefile: Likewise.
22407 * math/Makefile: Likewise.
22408 * signal/Makefile: Likewise.
22409 * debug/Makefile: Likewise.
22410 * elf/Makefile: Likewise.
22411 * timezone/Makefile: Likewise.
22412 * stdlib/Makefile: Likewise.
22413 * iconvdata/Makefile: Likewise.
22414 * sunrpc/Makefile: Likewise.
22415 * io/Makefile: Likewise.
22416 * argp/Makefile: Likewise.
22417 * inet/Makefile: Likewise.
22418 * hesiod/Makefile: Likewise.
22419 * grp/Makefile: Likewise.
22420 * csu/Makefile: Likewise.
22421 * wctype/Makefile: Likewise.
22422 * crypt/Makefile: Likewise.
22423 * libio/Makefile: Likewise.
22424 * string/Makefile: Likewise.
22425 * nis/Makefile: Likewise.
22426 * resolv/Makefile: Likewise.
22427 * stdio-common/Makefile: Likewise.
22428 * wcsmbs/Makefile: Likewise.
22429 * dlfcn/Makefile: Likewise.
22430 * posix/Makefile: Likewise.
22431
22432 [BZ #6959]
22433 * timezone/Makefile: Don't install timezone files, just the programs
22434 and scripts.
22435
224362012-03-06 Ulrich Drepper <drepper@gmail.com>
22437
22438 * nss/databases.def: Add missing gshadow entry.
22439
22440 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22441
224422012-03-06 Marek Polacek <polacek@redhat.com>
22443
22444 [BZ #13726]
22445 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22446 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22447 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22448 * stdio-common/tst-long-dbl-fphex.c: New file.
22449
224502012-03-06 David S. Miller <davem@davemloft.net>
22451
22452 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22453 (set_obp_int): New function.
22454 (get_obp_int): New function.
22455 (__get_clockfreq_via_dev_openprom): Likewise.
22456 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22457 Avoid unused variable warnings on 'val' and use builtin_expect.
22458 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22459 __builtin_expect.
22460 (INLINE_CLONE_SYSCALL): Likewise.
22461
224622012-03-05 David S. Miller <davem@davemloft.net>
22463
22464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22465
224662012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22467
22468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22469
22470 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22471 only for |x| >= 40.
22472 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22473
224742012-03-05 H.J. Lu <hongjiu.lu@intel.com>
22475
22476 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22477 Replace gettimeofday with __vdso_gettimeofday.
22478
22479 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22480 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22481 __vdso_clock_gettime and __vdso_getcpu.
22482
22483 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22484 time with __vdso_time.
22485
224862012-03-05 Joseph Myers <joseph@codesourcery.com>
22487
22488 * manual/lang.texi (size_t): Note types to which size_t may be
22489 equivalent with the GNU C Library, but do not describe when
22490 differences between them are significant.
22491
224922012-03-05 Andreas Jaeger <aj@suse.de>
22493
22494 * sysdeps/i386/fpu/libm-test-ulps: Update.
22495
224962012-03-05 Joseph Myers <joseph@codesourcery.com>
22497
22498 [BZ #3976]
22499 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22500 (__ieee754_pow): Save and restore rounding mode and use
22501 round-to-nearest for main computations.
22502 * math/libm-test.inc (pow_test_tonearest): New function.
22503 (pow_test_towardzero): Likewise.
22504 (pow_test_downward): Likewise.
22505 (pow_test_upward): Likewise.
22506 (main): Call the new functions.
22507 * sysdeps/i386/fpu/libm-test-ulps: Update.
22508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22509
22510 [BZ #3976]
22511 * math/libm-test.inc (cosh_test_tonearest): New function.
22512 (cosh_test_towardzero): Likewise.
22513 (cosh_test_downward): Likewise.
22514 (cosh_test_upward): Likewise.
22515 (sinh_test_tonearest): Likewise.
22516 (sinh_test_towardzero): Likewise.
22517 (sinh_test_downward): Likewise.
22518 (sinh_test_upward): Likewise.
22519 (main): Call the new functions.
22520 * sysdeps/i386/fpu/libm-test-ulps: Update.
22521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22522
225232012-03-05 Tom de Vries <tom@codesourcery.com>
22524
22525 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22526 default stack guard is set in last bytes.
22527 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22528
225292012-03-05 Kees Cook <keescook@chromium.org>
22530
22531 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
22532
22533 [BZ #13656]
22534 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22535 possibly allocate from heap instead of stack.
22536 * stdio-common/bug-vfprintf-nargs.c: New file.
22537 * stdio-common/Makefile (tests): Add nargs overflow test.
22538
225392012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22540
22541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22542
225432012-03-03 Marek Polacek <polacek@redhat.com>
22544
22545 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22546 * math/math_private.h: Likewise.
22547 * stdlib/tst-strtod.c: Likewise.
22548 * sysdeps/i386/i486/bits/atomic.h: Likewise.
22549 * sysdeps/x86_64/bits/atomic.h: Likewise.
22550
225512012-03-02 David S. Miller <davem@davemloft.net>
22552
22553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22557 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22558 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22559 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22560 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22561
225622012-03-02 Roland McGrath <roland@hack.frob.com>
22563
22564 [BZ #13792]
22565 * manual/examples/README: New file, says the example source files
22566 can be used under GPL>=2.
22567 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22568 line containing just "*/".
22569 * manual/examples/add.c: Add copyright header (GPL>=2).
22570 * manual/examples/argp-ex1.c: Likewise.
22571 * manual/examples/argp-ex2.c: Likewise.
22572 * manual/examples/argp-ex3.c: Likewise.
22573 * manual/examples/argp-ex4.c: Likewise.
22574 * manual/examples/atexit.c: Likewise.
22575 * manual/examples/db.c: Likewise.
22576 * manual/examples/dir.c: Likewise.
22577 * manual/examples/dir2.c: Likewise.
22578 * manual/examples/execinfo.c: Likewise.
22579 * manual/examples/filecli.c: Likewise.
22580 * manual/examples/filesrv.c: Likewise.
22581 * manual/examples/fmtmsgexpl.c: Likewise.
22582 * manual/examples/genpass.c: Likewise.
22583 * manual/examples/inetcli.c: Likewise.
22584 * manual/examples/inetsrv.c: Likewise.
22585 * manual/examples/isockad.c: Likewise.
22586 * manual/examples/longopt.c: Likewise.
22587 * manual/examples/memopen.c: Likewise.
22588 * manual/examples/memstrm.c: Likewise.
22589 * manual/examples/mkfsock.c: Likewise.
22590 * manual/examples/mkisock.c: Likewise.
22591 * manual/examples/mygetpass.c: Likewise.
22592 * manual/examples/pipe.c: Likewise.
22593 * manual/examples/popen.c: Likewise.
22594 * manual/examples/rprintf.c: Likewise.
22595 * manual/examples/search.c: Likewise.
22596 * manual/examples/select.c: Likewise.
22597 * manual/examples/setjmp.c: Likewise.
22598 * manual/examples/sigh1.c: Likewise.
22599 * manual/examples/sigusr.c: Likewise.
22600 * manual/examples/stpcpy.c: Likewise.
22601 * manual/examples/strdupa.c: Likewise.
22602 * manual/examples/strftim.c: Likewise.
22603 * manual/examples/strncat.c: Likewise.
22604 * manual/examples/subopt.c: Likewise.
22605 * manual/examples/swapcontext.c: Likewise.
22606 * manual/examples/termios.c: Likewise.
22607 * manual/examples/testopt.c: Likewise.
22608 * manual/examples/testpass.c: Likewise.
22609 * manual/examples/timeval_subtract.c: Likewise.
22610
22611 [BZ #13792]
22612 * manual/time.texi (Elapsed Time): Move timeval_subtract example
22613 function to ...
22614 * manual/timeval_subtract.c.texi: ... here, new file.
22615
226162012-03-02 David S. Miller <davem@davemloft.net>
22617
22618 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22619
226202012-03-02 Joseph Myers <joseph@codesourcery.com>
22621
22622 [BZ #3976]
22623 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22624 (__sin): Save and restore rounding mode and use round-to-nearest
22625 for all computations.
22626 (__cos): Save and restore rounding mode and use round-to-nearest
22627 for all computations.
22628 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22629 <fenv.h>.
22630 (tan): Save and restore rounding mode and use round-to-nearest for
22631 all computations.
22632 * math/libm-test.inc (cos_test_tonearest): New function.
22633 (cos_test_towardzero): Likewise.
22634 (cos_test_downward): Likewise.
22635 (cos_test_upward): Likewise.
22636 (sin_test_tonearest): Likewise.
22637 (sin_test_towardzero): Likewise.
22638 (sin_test_downward): Likewise.
22639 (sin_test_upward): Likewise.
22640 (tan_test_tonearest): Likewise.
22641 (tan_test_towardzero): Likewise.
22642 (tan_test_downward): Likewise.
22643 (tan_test_upward): Likewise.
22644 (main): Call the new functions.
22645 * sysdeps/i386/fpu/libm-test-ulps: Update.
22646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22647
22648 [BZ #10135]
22649 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22650 small n, then large n, before computing and testing k+n.
22651 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22652 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22653 Likewise.
22654 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22655 Likewise.
22656 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22657 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22658 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22659 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22660 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22661 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22662 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22663 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22664 * math/libm-test.inc (scalbn_test): Add more tests.
22665 (scalbln_test): Likewise.
22666
22667 * manual/filesys.texi (mode_t): Describe constraints on size and
22668 signedness, not exact equivalence to a particular type.
22669 (ino_t): Likewise.
22670 (ino64_t): Likewise.
22671 (dev_t): Likewise.
22672 (nlink_t): Likewise.
22673 (blkcnt_t): Likewise.
22674 (blkcnt64_t): Likewise.
22675 * manual/llio.texi (off_t): Likewise.
22676
22677 [BZ #3976]
22678 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22679 (__ieee754_exp): Save and restore rounding mode and use
22680 round-to-nearest for all computations.
22681 * math/libm-test.inc (exp_test_tonearest): New function.
22682 (exp_test_towardzero): Likewise.
22683 (exp_test_downward): Likewise.
22684 (exp_test_upward): Likewise.
22685 (main): Call the new functions.
22686 * sysdeps/i386/fpu/libm-test-ulps: Update.
22687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22688
226892012-03-01 Chris Demetriou <cgd@google.com>
22690
22691 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22692 have predictable order.
22693
226942012-03-01 David S. Miller <davem@davemloft.net>
22695
22696 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22697
22698 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22699 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22700 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22701 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22702
22703 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22704 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22705 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22707 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22708 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22709 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22710 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22711 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22712
22713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22714
22715 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22716 * sysdeps/sparc/fpu/libm-test-ulps: to here.
22717 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22718
22719 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22720 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22721 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22722 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22723 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22724 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22725 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22726 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22727 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22728 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22729 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22730 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22731 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22732 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22733 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22734 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22735 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22736 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22737 * sysdeps/sparc/elf/configure: Regenerated.
22738
227392012-03-01 Joseph Myers <joseph@codesourcery.com>
22740
22741 * configure.in (AS, LD): Require binutils 2.20 or later.
22742 * configure: Regenerated.
22743 * manual/install.texi (Tools for Compilation): Give binutils 2.20
22744 as required minimum version.
22745 * INSTALL: Regenerated.
22746
22747 [BZ #2541]
22748 [BZ #4108]
22749 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22750 before squaring exponent.
22751 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22752 bottom long double and 27 bits of top long double before squaring
22753 exponent.
22754 * math/libm-test.inc (erfc_test): Add more tests.
22755 * sysdeps/i386/fpu/libm-test-ulps: Update.
22756 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22758
227592012-03-01 Kai Tietz <ktietz@redhat.com>
22760
22761 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22762 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22763 containing bit-fields.
22764 * soft-fp/extended.h (_FP_UNION_E): Likewise.
22765 * soft-fp/single.h (_FP_UNION_S): Likewise.
22766 * soft-fp/double.h (_FP_UNION_D): Likewise.
22767
227682012-02-29 Joseph Myers <joseph@codesourcery.com>
22769
22770 [BZ #13786]
22771 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22772 not include ../strcmp.S.
22773 [USE_AS_STRNCASECMP_L]: Likewise.
22774 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22775 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22776 * sysdeps/i386/i686/multiarch/strncase_l-c.c
22777 (__strncasecmp_l_ia32): Define as alias to
22778 __strncasecmp_l_nonascii.
22779
22780 [BZ #5794]
22781 * math/libm-test.inc (expm1_test): Add test for bug 5794.
22782 * sysdeps/i386/fpu/libm-test-ulps: Update.
22783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22784
22785 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22787
227882012-02-29 Jeff Law <law@redhat.com>
22789
22790 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22791 out of bounds read.
22792
227932012-02-29 Marek Polacek <polacek@redhat.com>
22794
22795 [BZ #13706]
22796 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22797 * elf/Makefile: Add rules to run tst-unused-dep.out.
22798
227992012-02-28 David S. Miller <davem@davemloft.net>
22800
22801 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22802 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22803 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22804 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22805 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22806 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22807
228082012-02-29 Joseph Myers <joseph@codesourcery.com>
22809
22810 * math/libm-test.inc (llround_test): Move one test from
22811 lround_test. Use TEST_f_L in moved test.
22812 (lround_test): Move misplaced test to llround_test. Add testcase
22813 from bug 2561.
22814
228152012-02-28 Ulrich Drepper <drepper@gmail.com>
22816
22817 * sysdeps/x86_64/fpu/e_expf.S: New file.
22818 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22819
228202012-02-28 Stanislav Brabec <sbrabec@suse.cz>
22821
22822 [BZ #13637]
22823 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
22824 of remain_len that may cause incomplete multi-byte character and
22825 false match.
22826 * posix/bug-regex33.c: New file.
22827 * posix/Makefile (tests): Add bug-regex33.
22828
228292012-02-28 Joseph Myers <joseph@codesourcery.com>
22830
22831 * manual/macros.texi: New file.
22832 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
22833 * manual/libc.texinfo: Include macros.texi.
22834 * manual/creatute.texi: Likewise.
22835 * manual/install.texi: Likewise.
22836 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
22837 @glibcadj{} in references to the GNU C Library.
22838 * manual/charset.texi: Likewise.
22839 * manual/conf.texi: Likewise.
22840 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
22841 when not using those macros.
22842 * manual/creature.texi: Likewise.
22843 * manual/crypt.texi: Likewise.
22844 * manual/errno.texi: Likewise.
22845 * manual/filesys.texi: Likewise.
22846 * manual/header.texi: Likewise.
22847 * manual/install.texi: Likewise.
22848 * manual/intro.texi: Likewise.
22849 * manual/io.texi: Likewise.
22850 * manual/job.texi: Likewise.
22851 * manual/lang.texi: Likewise.
22852 * manual/libc.texiinfo: Likewise.
22853 * manual/llio.texi: Likewise.
22854 * manual/locale.texi: Likewise.
22855 * manual/maint.texi: Likewise.
22856 * manual/math.texi: Likewise.
22857 * manual/memory.texi: Likewise.
22858 * manual/message.texi: Likewise.
22859 * manual/nss.texi: Likewise.
22860 * manual/pattern.texi: Likewise.
22861 * manual/process.texi: Likewise.
22862 * manual/resource.texi: Likewise.
22863 * manual/search.texi: Likewise.
22864 * manual/setjmp.texi: Likewise.
22865 * manual/signal.texi: Likewise.
22866 * manual/socket.texi: Likewise.
22867 * manual/startup.texi: Likewise.
22868 * manual/stdio.texi: Likewise.
22869 * manual/string.texi: Likewise.
22870 * manual/sysinfo.texi: Likewise.
22871 * manual/syslog.texi: Likewise.
22872 * manual/terminal.texi: Likewise.
22873 * manual/time.texi: Likewise.
22874 * manual/users.texi: Likewise.
22875 * INSTALL: Regenerated.
22876 * NOTES: Regenerated.
22877 * sysdeps/gnu/errlist.c: Regenerated.
22878
228792012-02-28 Andreas Schwab <schwab@linux-m68k.org>
22880
22881 * include/dirent.h: Include <dirstream.h> before
22882 <dirent/dirent.h>.
22883
228842012-02-28 David S. Miller <davem@davemloft.net>
22885
22886 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
22887 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
22888 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
22889 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
22890
228912012-02-27 David S. Miller <davem@davemloft.net>
22892
22893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
22894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
22895 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
22896 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
22897
22898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
22899 frame pointer instead of stack pointer relative arg slot.
22900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22901 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22902 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22903
229042012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
22905
22906 [BZ #3992]
22907 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
22908
229092012-02-27 David S. Miller <davem@davemloft.net>
22910
22911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
22912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
22915 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22916 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22917 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
22918 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
22919
229202012-02-27 Joseph Myers <joseph@codesourcery.com>
22921
22922 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
22923 later. Allow versions 5-9.
22924 * configure: Regenerated.
22925 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
22926 required minimum version and 4.6 as recommended version. Do not
22927 mention bugs in GCC 2.7 and 2.8.
22928 * INSTALL: Regenerated.
22929
229302012-02-27 David S. Miller <davem@davemloft.net>
22931
22932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
22933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
22934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
22935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
22936 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
22937 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
22938 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
22939 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
22940
22941 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
22942 manipulate bits before adding and subtracting TWO112[sx].
22943 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22944
229452012-02-27 Roland McGrath <roland@hack.frob.com>
22946
22947 [BZ #13775]
22948 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
22949 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
22950 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
22951 being in POSIX, because they are in 1003.1-2008.
22952
22953 * rt/tst-aio.c: Include <fcntl.h>.
22954 * rt/tst-aio7.c: Likewise.
22955 * rt/tst-aio64.c: Likewise.
22956
22957 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
22958
229592012-02-27 Joseph Myers <joseph@codesourcery.com>
22960
22961 * manual/install.texi (--with-headers): Describe headers as
22962 interface headers, not private headers.
22963 (Specific advice for GNU/Linux systems): Describe use of headers
22964 from "make headers_install", not private headers from older
22965 kernels.
22966 * INSTALL: Regenerated.
22967 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
22968 Change to 2.6.19.
22969 * sysdeps/unix/sysv/linux/configure: Regenerated.
22970
22971 * manual/llio.texi (fclean): Remove documentation.
22972
22973 * manual/Makefile (libc-texi-generated): New variable. Include
22974 version.texi.
22975 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
22976 $(libc-texi-generated), not duplicated list of files.
22977 (version.texi, stamp-version): New rules.
22978 (realclean): Remove $(libc-texi-generated), not individual files
22979 from that list. Do not remove dir-add.texinfo.
22980 * manual/libc.texinfo: Comment out uses of edition numbers and
22981 references to printed manual. Remove last-updated dates.
22982 (EDITION): Comment out.
22983 (ISBN): Likewise.
22984 (VERSION, UPDATED): Remove.
22985 (version.texi): Include.
22986
229872012-02-27 Andreas Schwab <schwab@linux-m68k.org>
22988
22989 * sysdeps/posix/spawni.c: Include <signal.h>.
22990 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
22991 * sysdeps/pthread/aio_fsync.c: Likewise.
22992
229932012-02-26 Ulrich Drepper <drepper@gmail.com>
22994
22995 * conform/Makefile (tests): Run only when not cross-compiling and
22996 when fast-check is not defined.
22997
22998 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
22999 * conform/data/limits.h-data: Fixes for POSIX2008.
23000 * conform/run-conformtest.sh: Run all tests.
23001 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23002 headers.
23003 * include/bits/dlfcn.h: Likewise.
23004 * include/langinfo.h: Likewise.
23005 * include/monetary.h: Likewise.
23006 * include/sys/poll.h: Likewise.
23007
23008 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23009 for __USE_GNU.
23010 * posix/spawn.h: Define __need_sigset_t.
23011 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23012 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23013 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23014 to get sigevent_t only.
23015 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23016 only for __USE_GNU.
23017 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23018 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23019 process_vm_writev only for __USE_GNU.
23020 * termios/termios.h: Declare tcgetsid also for POSIX2008.
23021
23022 * conform/Makefile: For now ignore errors from run-conformtest.
23023 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23024 POSIX to avoid namespace pollution. Don't prepend headers.
23025 * conform/data/aio.h-data: Fixes for POSIX testing.
23026 * conform/data/fcntl.h-data: Likewise.
23027 * conform/data/glob.h-data: Likewise.
23028 * conform/data/grp.h-data: Likewise.
23029 * conform/data/pthread.h-data: Likewise.
23030 * conform/data/pwd.h-data: Likewise.
23031 * conform/data/signal.h-data: Likewise.
23032 * conform/data/spawn.h-data: Likewise.
23033 * conform/data/stdio.h-data: Likewise.
23034 * conform/data/stdlib.h-data: Likewise.
23035 * conform/data/stropts.h-data: Likewise.
23036 * conform/data/sys/mman.h-data: Likewise.
23037 * conform/data/sys/stat.h-data: Likewise.
23038 * conform/data/sys/types.h-data: Likewise.
23039 * conform/data/sys/wait.h-data: Likewise.
23040 * conform/data/time.h-data: Likewise.
23041 * conform/data/unistd.h-data: Likewise.
23042 * conform/data/utime.h-data: Likewise.
23043
23044 * io/sys/stat.h: fchmod was always in POSIX.
23045 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23046 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23047 * rt/aio.h: Define __need_timespec before including <time.h>.
23048 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23049 struct. Add forward declaration of pthread_attr_t and use it in
23050 sigevent.
23051 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23052 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23053 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23054 always remove CLK_TCK definition.
23055
230562012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23057
23058 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23059
230602012-02-25 Ulrich Drepper <drepper@gmail.com>
23061
23062 * conform/run-conformtest.sh: New file.
23063 * conform/Makefile: Run run-conformtest for tests.
23064 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23065 support.
23066
23067 * conform/data/uchar.h-data: New file.
23068 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23069 * conform/data/arpa/inet.h-data: Likewise.
23070 * conform/data/assert.h-data: Likewise.
23071 * conform/data/complex.h-data: Likewise.
23072 * conform/data/cpio.h-data: Likewise.
23073 * conform/data/ctype.h-data: Likewise.
23074 * conform/data/dirent.h-data: Likewise.
23075 * conform/data/dlfcn.h-data: Likewise.
23076 * conform/data/errno.h-data: Likewise.
23077 * conform/data/fcntl.h-data: Likewise.
23078 * conform/data/float.h-data: Likewise.
23079 * conform/data/fmtmsg.h-data: Likewise.
23080 * conform/data/fnmatch.h-data: Likewise.
23081 * conform/data/ftw.h-data: Likewise.
23082 * conform/data/glob.h-data: Likewise.
23083 * conform/data/grp.h-data: Likewise.
23084 * conform/data/iconv.h-data: Likewise.
23085 * conform/data/inttypes.h-data: Likewise.
23086 * conform/data/langinfo.h-data: Likewise.
23087 * conform/data/libgen.h-data: Likewise.
23088 * conform/data/limits.h-data: Likewise.
23089 * conform/data/locale.h-data: Likewise.
23090 * conform/data/math.h-data: Likewise.
23091 * conform/data/monetary.h-data: Likewise.
23092 * conform/data/mqueue.h-data: Likewise.
23093 * conform/data/ndbm.h-data: Likewise.
23094 * conform/data/net/if.h-data: Likewise.
23095 * conform/data/netdb.h-data: Likewise.
23096 * conform/data/netinet/in.h-data: Likewise.
23097 * conform/data/nl_types.h-data: Likewise.
23098 * conform/data/poll.h-data: Likewise.
23099 * conform/data/pthread.h-data: Likewise.
23100 * conform/data/pwd.h-data: Likewise.
23101 * conform/data/regex.h-data: Likewise.
23102 * conform/data/sched.h-data: Likewise.
23103 * conform/data/search.h-data: Likewise.
23104 * conform/data/semaphore.h-data: Likewise.
23105 * conform/data/setjmp.h-data: Likewise.
23106 * conform/data/signal.h-data: Likewise.
23107 * conform/data/spawn.h-data: Likewise.
23108 * conform/data/stdarg.h-data: Likewise.
23109 * conform/data/stdio.h-data: Likewise.
23110 * conform/data/stdlib.h-data: Likewise.
23111 * conform/data/string.h-data: Likewise.
23112 * conform/data/strings.h-data: Likewise.
23113 * conform/data/stropts.h-data: Likewise.
23114 * conform/data/sys/ipc.h-data: Likewise.
23115 * conform/data/sys/mman.h-data: Likewise.
23116 * conform/data/sys/msg.h-data: Likewise.
23117 * conform/data/sys/resource.h-data: Likewise.
23118 * conform/data/sys/select.h-data: Likewise.
23119 * conform/data/sys/sem.h-data: Likewise.
23120 * conform/data/sys/shm.h-data: Likewise.
23121 * conform/data/sys/socket.h-data: Likewise.
23122 * conform/data/sys/stat.h-data: Likewise.
23123 * conform/data/sys/statvfs.h-data: Likewise.
23124 * conform/data/sys/time.h-data: Likewise.
23125 * conform/data/sys/timeb.h-data: Likewise.
23126 * conform/data/sys/times.h-data: Likewise.
23127 * conform/data/sys/types.h-data: Likewise.
23128 * conform/data/sys/uio.h-data: Likewise.
23129 * conform/data/sys/un.h-data: Likewise.
23130 * conform/data/sys/utsname.h-data: Likewise.
23131 * conform/data/sys/wait.h-data: Likewise.
23132 * conform/data/syslog.h-data: Likewise.
23133 * conform/data/tar.h-data: Likewise.
23134 * conform/data/termios.h-data: Likewise.
23135 * conform/data/utime.h-data: Likewise.
23136 * conform/data/utmpx.h-data: Likewise.
23137 * conform/data/varargs.h-data: Likewise.
23138 * conform/data/wchar.h-data: Likewise.
23139 * conform/data/wctype.h-data: Likewise.
23140 * conform/data/wordexp.h-data: Likewise.
23141
23142 * include/stropts.h: New file.
23143 * include/uchar.h: New file.
23144 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23145 * include/assert.h: Likewise.
23146 * include/ctype.h: Likewise.
23147 * include/dirent.h: Likewise.
23148 * include/dlfcn.h: Likewise.
23149 * include/fcntl.h: Likewise.
23150 * include/fnmatch.h: Likewise.
23151 * include/glob.h: Likewise.
23152 * include/grp.h: Likewise.
23153 * include/libio.h: Likewise.
23154 * include/locale.h: Likewise.
23155 * include/math.h: Likewise.
23156 * include/net/if.h: Likewise.
23157 * include/netdb.h: Likewise.
23158 * include/netinet/in.h: Likewise.
23159 * include/pthread.h: Likewise.
23160 * include/pwd.h: Likewise.
23161 * include/regex.h: Likewise.
23162 * include/sched.h: Likewise.
23163 * include/search.h: Likewise.
23164 * include/setjmp.h: Likewise.
23165 * include/signal.h: Likewise.
23166 * include/stdio.h: Likewise.
23167 * include/stdlib.h: Likewise.
23168 * include/string.h: Likewise.
23169 * include/sys/cdefs.h: Likewise.
23170 * include/sys/mman.h: Likewise.
23171 * include/sys/msg.h: Likewise.
23172 * include/sys/resource.h: Likewise.
23173 * include/sys/select.h: Likewise.
23174 * include/sys/socket.h: Likewise.
23175 * include/sys/stat.h: Likewise.
23176 * include/sys/statvfs.h: Likewise.
23177 * include/sys/time.h: Likewise.
23178 * include/sys/times.h: Likewise.
23179 * include/sys/uio.h: Likewise.
23180 * include/sys/utsname.h: Likewise.
23181 * include/sys/wait.h: Likewise.
23182 * include/termios.h: Likewise.
23183 * include/time.h: Likewise.
23184 * include/ulimit.h: Likewise.
23185 * include/unistd.h: Likewise.
23186 * include/utime.h: Likewise.
23187 * include/wchar.h: Likewise.
23188 * include/wctype.h: Likewise.
23189 * include/wordexp.h: Likewise.
23190
23191 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23192
23193 * time/time.h: TIME_UTC must be a macro.
23194 Make timespec_get available for ISO C11 only as well.
23195
231962012-02-24 Ulrich Drepper <drepper@gmail.com>
23197
23198 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23199 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23200
232012012-02-24 Joseph Myers <joseph@codesourcery.com>
23202
23203 * configure.in: Use -o not -a in test for unsupported multi-arch.
23204
232052012-02-24 Joseph Myers <joseph@codesourcery.com>
23206
23207 * manual/texinfo.tex: Update to version 2012-01-19.16.
23208
232092012-02-24 Joseph Myers <joseph@codesourcery.com>
23210
23211 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23212
232132012-02-24 Roland McGrath <roland@hack.frob.com>
23214
23215 [BZ #13738]
23216 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23217 * manual/fdl-1.3.texi: New file.
23218 * manual/fdl-1.1.texi: File removed.
23219
23220 [BZ #13738]
23221 * manual/libc.texinfo (FDL_VERSION): New @set.
23222 Use it for mention of FDL in cover text.
23223 (Documentation License): Use it in @include file name.
23224
232252012-02-22 Joseph Myers <joseph@codesourcery.com>
23226 Roland McGrath <roland@hack.frob.com>
23227
23228 [BZ #5461]
23229 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23230 not LONG_LONG_MAX and LONG_LONG_MIN.
23231 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23232 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23233 name.
23234 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23235
232362012-02-22 Joseph Myers <joseph@codesourcery.com>
23237
23238 [BZ #2547]
23239 [BZ #11365]
23240 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23241 manipulate bits before adding and subtracting TWO23[sx].
23242 * math/libm-test.inc (nearbyint_test): Add more tests.
23243
232442012-02-22 Joseph Myers <joseph@codesourcery.com>
23245
23246 [BZ #2548]
23247 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23248 bits before adding and subtracting TWO23[sx].
23249 * math/libm-test.inc (rint_test): Add more tests.
23250 (rint_test_tonearest): Likewise.
23251 (rint_test_towardzero): Likewise.
23252 (rint_test_downward): Likewise.
23253 (rint_test_upward: Likewise.
23254
232552012-02-22 Joseph Myers <joseph@codesourcery.com>
23256
23257 [BZ #10110]
23258 * include/stdc-predef.h: New file. Extracted from features.h.
23259 * include/features.h: Include stdc-predef.h.
23260 * Makefile (headers): Add stdc-predef.h.
23261 * CONFORMANCE (Compiler limitations): Update.
23262
232632012-02-22 Joseph Myers <joseph@codesourcery.com>
23264
23265 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23266
232672012-02-21 David S. Miller <davem@davemloft.net>
23268
23269 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23270 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23271
232722012-02-20 David S. Miller <davem@davemloft.net>
23273
23274 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23275 using a normal save/restore sequence, rather than allocating a
23276 dummy stack frame just to store a frame pointer and restore.
23277 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23278
232792012-02-21 Joseph Myers <joseph@codesourcery.com>
23280
23281 * manual/install.texi: Fix stray word in line-wrapped comment.
23282
232832012-02-20 David S. Miller <davem@davemloft.net>
23284
23285 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23286 both binutils and gcc support GOTDATA.
23287
23288 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23289 "rd %pc" in the PIC register setup sequences.
23290
23291 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23292 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23293 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23294 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23295 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23296 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23297 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23298 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23299 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23300 (SYSCALL_ERROR_HANDLER): Likewise.
23301 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23302 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23303 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23304 (SYSCALL_ERROR_HANDLER): Likewise.
23305
23306 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23307 (HAVE_GCC_GOTDATA): New.
23308 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23309 relocation support in both binutils and gcc.
23310 * sysdeps/sparc/elf/configure: Regenerate.
23311
23312 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23313 * sysdeps/sparc/sparc32/elf/configure: Delete.
23314 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23315 * sysdeps/sparc/sparc64/elf/configure: Delete.
23316 * sysdeps/sparc/elf/configure.in: New file.
23317 * sysdeps/sparc/elf/configure: Generate.
23318
23319 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23320 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23321 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23322 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23323 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23324
233252012-02-21 Joseph Myers <joseph@codesourcery.com>
23326
23327 * manual/install.texi: Do not mention specific glibc version
23328 numbers.
23329 * manual/libc.texinfo (VERSION, UPDATED): Update.
23330 (@copying): Use @copyright{} and range of years.
23331
233322012-02-21 Joseph Myers <joseph@codesourcery.com>
23333
23334 [BZ #13695]
23335 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23336 [crti.S not in sysdirs] (generated): Do not append.
23337 [crti.S not in sysdirs] (omit-deps): Likewise.
23338 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23339 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23340 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23341 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23342 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23343 Likewise.
23344 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23345 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23346 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23347 * csu/defs.awk: Remove file.
23348 * sysdeps/generic/initfini.c: Likewise.
23349 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23350 variable.
23351 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23352 Likewise.
23353
233542012-02-20 Joseph Myers <joseph@codesourcery.com>
23355
23356 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23357 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23358 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23359 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23360 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23361 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23362 <bits/epoll.h>.
23363 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23364 (__EPOLL_PACKED): Define to empty if not defined by
23365 <bits/epoll.h>.
23366 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23367 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23368 bits/epoll.h.
23369
233702012-02-20 Joseph Myers <joseph@codesourcery.com>
23371
23372 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23373 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23374 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23375 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23376 <bits/timerfd.h>.
23377 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23378 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23379 bits/timerfd.h.
23380
233812012-02-20 Joseph Myers <joseph@codesourcery.com>
23382
23383 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23384 in C locale.
23385 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23386 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23387 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23389
233902012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23391
23392 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23393 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23394
233952012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23396
23397 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23398 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23399 defined.
23400 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23401 Likewise.
23402 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23403 entry for 2.16.
23404
234052012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23406
23407 * math/w_acos.c: Use non-signaling floating-point comparisons.
23408 * math/w_acosf.c: Likewise.
23409 * math/w_acosh.c: Likewise.
23410 * math/w_acoshf.c: Likewise.
23411 * math/w_acoshl.c: Likewise.
23412 * math/w_acosl.c: Likewise.
23413 * math/w_asin.c: Likewise.
23414 * math/w_asinf.c: Likewise.
23415 * math/w_asinl.c: Likewise.
23416 * math/w_atanh.c: Likewise.
23417 * math/w_atanhf.c: Likewise.
23418 * math/w_atanhl.c: Likewise.
23419 * math/w_exp2.c: Likewise.
23420 * math/w_exp2f.c: Likewise.
23421 * math/w_exp2l.c: Likewise.
23422 * math/w_j0.c: Likewise.
23423 * math/w_j0f.c: Likewise.
23424 * math/w_j0l.c: Likewise.
23425 * math/w_j1.c: Likewise.
23426 * math/w_j1f.c: Likewise.
23427 * math/w_j1l.c: Likewise.
23428 * math/w_jn.c: Likewise.
23429 * math/w_jnf.c: Likewise.
23430 * math/w_log.c: Likewise.
23431 * math/w_log10.c: Likewise.
23432 * math/w_log10f.c: Likewise.
23433 * math/w_log10l.c: Likewise.
23434 * math/w_log2.c: Likewise.
23435 * math/w_log2f.c: Likewise.
23436 * math/w_log2l.c: Likewise.
23437 * math/w_logf.c: Likewise.
23438 * math/w_logl.c: Likewise.
23439 * math/w_sqrt.c: Likewise.
23440 * math/w_sqrtf.c: Likewise.
23441 * math/w_sqrtl.c: Likewise.
23442 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23443 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23444 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23445 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23446 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23447
234482012-02-19 Joseph Myers <joseph@codesourcery.com>
23449
23450 [BZ #9739]
23451 * manual/string.texi (strnlen): Use correct parameter name in
23452 equivalent expression.
23453
234542012-02-19 Joseph Myers <joseph@codesourcery.com>
23455
23456 [BZ #11174]
23457 * manual/users.texi (seteuid): Consistently use neweuid for
23458 argument name.
23459
234602012-02-19 Joseph Myers <joseph@codesourcery.com>
23461
23462 [BZ #13704]
23463 * manual/nss.texi (Services in the NSS configuration): Correct
23464 list of services in example configuration file.
23465
234662012-02-19 Nick Bowler <nbowler@draconx.ca>
23467
23468 [BZ #11322]
23469 * manual/arith.texi: Remove statements about negative zero
23470 behaving identically to zero.
23471
234722012-02-18 Joseph Myers <joseph@codesourcery.com>
23473
23474 [BZ #5993]
23475 * manual/install.texi: Do not document upgrading from libc5.
23476
234772012-02-18 Joseph Myers <joseph@codesourcery.com>
23478
23479 [BZ #4596]
23480 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23481
234822012-02-18 David S. Miller <davem@davemloft.net>
23483
23484 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23485 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23486 %o7 across the call.
23487 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23488 instead.
23489 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23490 SETUP_PIC_REG_LEAF.
23491 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23492 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23493 * sysdeps/sparc/crtn.S: Likewise.
23494
234952012-02-17 Ulrich Drepper <drepper@gmail.com>
23496
23497 * aout/Makefile: Remove.
23498
234992012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23500
23501 [BZ #13058]
23502 * manual/examples/argp-ex1.c (main): Format definition in GNU
23503 style.
23504 * manual/examples/argp-ex2.c (main): Likewise.
23505 * manual/examples/argp-ex3.c (main): Likewise.
23506 * manual/examples/argp-ex4.c (main): Likewise.
23507 * manual/examples/longopt.c (main): Use new-style prototype
23508 definition.
23509 * manual/examples/strncat.c (main): Specify return type and use
23510 (void) for arguments.
23511 * manual/examples/subopt.c (main): Use char **argv argument.
23512
235132012-02-17 Joseph Myers <joseph@codesourcery.com>
23514
23515 [BZ #5077]
23516 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23517 rounding modes.
23518
235192012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23520
23521 [BZ #6907]
23522 * manual/string.texi (strchr): Change when strchrnul is
23523 recommended.
23524
235252012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23526
23527 [BZ #174]
23528 * manual/locale.texi (setlocale): Document LOCPATH.
23529
235302012-02-17 Joseph Myers <joseph@codesourcery.com>
23531
23532 [BZ #10210]
23533 * manual/process.texi (execle): Move @dots{} before last argument.
23534
235352012-02-17 Paul Bolle <pebolle@tiscali.nl>
23536
23537 [BZ #12047]
23538 * manual/charset.texi (Generic Charset Conversion): Fix typo
23539 (LC_TYPE -> LC_CTYPE).
23540
235412012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23542
23543 [BZ #5805]
23544 * manual/arith.texi (scalbn): Use @var{} on parameter names.
23545 (scalbnf): Likewise.
23546 (scalbnl): Likewise.
23547 (scalbln): Likewise.
23548 (scalblnf): Likewise.
23549 (scalblnl): Likewise.
23550 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23551 (vwarnx): Likewise.
23552 (verr): Likewise.
23553 (verrx): Likewise.
23554 * manual/filesys.texi (telldir): Use braces around return type.
23555 * manual/llio.texi (mmap): Add space after comma.
23556 (mmap64): Likewise.
23557 * manual/math.texi (jn): Use @var{} on parameter names.
23558 (jnf): Likewise.
23559 (jnl): Likewise.
23560 (yn): Likewise.
23561 (ynf): Likewise.
23562 (ynl): Likewise.
23563 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23564 line.
23565 * manual/resource.texi (ulimit): Use @dots{} instead of literal
23566 "...".
23567 (sched_get_priority_min): Remove semicolon on @deftypefun line.
23568 (sched_get_priority_max): Likewise.
23569 * manual/signal.texi (sigvec): Add space after comma.
23570 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23571 names.
23572 (if_indextoname): Likewise.
23573 (if_freenameindex): Likewise.
23574 (sendto): Use ',' instead of '.' in prototype.
23575 * manual/startup.texi (syscall): Use @dots{} instead of literal
23576 "...".
23577 * manual/stdio.texi (__fpending): Separate initial words of
23578 paragraph from @deftypefun line.
23579 * manual/syslog.texi (syslog): Use @dots{} instead of literal
23580 "...".
23581 (vsyslog): Use @var{} on parameter names.
23582 * manual/terminal.texi (stty): Use @var{} on parameter names.
23583 * manual/users.texi (getutmp): Use @var{} on parameter names.
23584 (getutmpx): Likewise.
23585
235862012-02-17 Joseph Myers <joseph@codesourcery.com>
23587
23588 [BZ #6884]
23589 * manual/stdio.texi (fopen): Fix typos in description of
23590 ",ccs=STRING".
23591
235922012-02-17 Aurelien Jarno <aurelien@aurel32.net>
23593
23594 [BZ #4026]
23595 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23596 get clock_id definition.
23597
235982012-02-17 Thomas Schwinge <thomas@schwinge.name>
23599
23600 [BZ #4822]
23601 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23602 (madvise): Cast every argument to void on its own.
23603
236042012-02-17 Joseph Myers <joseph@codesourcery.com>
23605
23606 [BZ #9902]
23607 * manual/startup.texi (Exit Status): Fix typo.
23608
236092012-02-17 Joseph Myers <joseph@codesourcery.com>
23610
23611 [BZ #10140]
23612 * manual/examples/argp-ex1.c: Include <stdlib.h>.
23613 * manual/examples/argp-ex2.c: Likewise.
23614 * manual/examples/argp-ex3.c: Likewise.
23615
236162012-02-16 Richard Henderson <rth@redhat.com>
23617
23618 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23619 * sysdeps/s390/s390-32/initfini.c: Remove.
23620 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23621 * sysdeps/s390/s390-64/initfini.c: Remove.
23622
236232012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23624
23625 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23626 compiler output for sysdeps/generic/initfini.c.
23627 * sysdeps/sh/elf/initfini.c: Remove file.
23628
236292012-02-16 David S. Miller <davem@davemloft.net>
23630
23631 [BZ #11494]
23632 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23633
23634 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23635 * sysdeps/sparc/crti.S: New file.
23636 * sysdeps/sparc/crtn.S: New file.
23637 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23638 * sysdeps/sparc/sparc64/Makefile: Likewise.
23639
236402012-02-15 Mike Frysinger <vapier@gentoo.org>
23641
23642 [BZ #3335]
23643 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23644
236452012-02-15 Roland McGrath <roland@hack.frob.com>
23646
23647 [BZ #4822]
23648 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23649
23650 * mach/devstream.c (cookie_io_functions_t): Macro removed.
23651 (write, read, close): Likewise.
23652 Patch by Aurelien Jarno <aurelien@aurel32.net>.
23653
236542012-02-15 Joseph Myers <joseph@codesourcery.com>
23655
23656 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23657 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23658 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23659 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23660 <bits/signalfd.h>.
23661 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23662 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23663 bits/signalfd.h.
23664
236652012-02-14 Marek Polacek <polacek@redhat.com>
23666
23667 * sysdeps/x86_64/crti.S: New file.
23668 * sysdeps/x86_64/crtn.S: New file.
23669 * sysdeps/x86_64/elf/initfini.c: Remove file.
23670
236712012-02-13 Joseph Myers <joseph@codesourcery.com>
23672
23673 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23674 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23675 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23676 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23677 <bits/inotify.h>.
23678 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23679 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23680 bits/inotify.h.
23681
236822012-02-13 Joseph Myers <joseph@codesourcery.com>
23683
23684 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23685 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23686 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23687 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23688 <bits/eventfd.h>.
23689 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23690 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23691 bits/eventfd.h.
23692
236932012-02-10 Thomas Schwinge <thomas@codesourcery.com>
23694
23695 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23696 __feraiseexcept instead of feraiseexcept.
23697
23698 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23699 nanosleep invocations.
23700 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23701 strings, and add error checking for a nanosleep invocations.
23702
237032012-02-09 Paul Eggert <eggert@cs.ucla.edu>
23704
23705 Replace FSF snail mail address with URLs, as per GNU coding standards.
23706 Most of the snail mail addresses were wrong anyway, and omitting
23707 them makes the source code easier to maintain. Almost all of the
23708 changes are to license notices and to locale LC_IDENTIFICATION
23709 addresses, except for this one:
23710 * manual/libc.texinfo: In "Published by", give the FSF's URL,
23711 not its snail mail address.
23712
237132012-02-09 Richard Henderson <rth@twiddle.net>
23714
23715 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23716 of kernel-features.h.
23717
23718 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23719
237202012-02-08 Marek Polacek <polacek@redhat.com>
23721
23722 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23723 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23724 * sysdeps/gnu/_G_config.h: Likewise.
23725 * sysdeps/generic/_G_config.h: Likewise.
23726
237272012-02-08 Andreas Schwab <schwab@linux-m68k.org>
23728
23729 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23730 tests.
23731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23732
23733 * sysdeps/powerpc/powerpc32/crti.S: New file.
23734 * sysdeps/powerpc/powerpc32/crtn.S: New file.
23735 * sysdeps/powerpc/powerpc64/crti.S: New file.
23736 * sysdeps/powerpc/powerpc64/crtn.S: New file.
23737
23738 * Makeconfig (have-initfini): Don't set.
23739 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23740 * configure.in (nopic_initfini): Don't substitute.
23741 * config.h.in (HAVE_INITFINI): Don't #undef.
23742 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23743 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23744
237452012-02-08 Joseph Myers <joseph@codesourcery.com>
23746
23747 Support crti.S and crtn.S provided directly by architectures.
23748 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23749 [crti.S in sysdirs] (omit-deps): Likewise.
23750 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23751 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23752 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23753 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23754 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23755 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23756 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23757 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23758 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23759 compiler output for sysdeps/generic/initfini.c.
23760 * sysdeps/i386/elf/Makefile: Remove file.
23761 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23762
237632012-02-07 Marek Polacek <polacek@redhat.com>
23764
23765 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23766 * sysdeps/gnu/_G_config.h: Likewise.
23767 * sysdeps/mach/hurd/_G_config.h: Likewise.
23768
237692012-02-07 Marek Polacek <polacek@redhat.com>
23770
23771 * math/Makefile (tests): Add tst-CMPLX2.
23772 * math/tst-CMPLX2.c: New file.
23773
237742012-02-07 Andreas Schwab <schwab@linux-m68k.org>
23775
23776 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23777
23778 * math/libm-test.inc (jn_test): Add missing L suffix.
23779
237802012-02-06 Marek Polacek <polacek@redhat.com>
23781
23782 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23783 * sysdeps/i386/fpu/e_powf.S: Likewise.
23784 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23785 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23786 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23787 * sysdeps/i386/fpu/e_pow.S: Likewise.
23788 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23789 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23790 * sysdeps/i386/fpu/s_expm1.S: Likewise.
23791 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23792 * sysdeps/i386/fpu/e_log2.S: Likewise.
23793 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23794 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23795 * sysdeps/i386/fpu/e_powl.S: Likewise.
23796 * sysdeps/i386/fpu/s_log1p.S: Likewise.
23797 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23798 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23799 * sysdeps/i386/fpu/e_logl.S: Likewise.
23800 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23801 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23802 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23803 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23804 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23805 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23806 * sysdeps/i386/fpu/e_log.S: Likewise.
23807 * sysdeps/i386/fpu/s_cexp.S: Likewise.
23808 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23809 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23810 * sysdeps/i386/fpu/e_logf.S: Likewise.
23811 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23812 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23813 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23814 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23815 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23816 * sysdeps/i386/fpu/e_log10.S: Likewise.
23817 * sysdeps/i386/fpu/s_frexp.S: Likewise.
23818 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23819 * sysdeps/i386/fpu/s_asinh.S: Likewise.
23820 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23821 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23822 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23823 * sysdeps/i386/asm-syntax.h: Likewise.
23824 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23825 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23826 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23827 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
23828 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
23829 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23830 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23831 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23832 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23833 * sysdeps/powerpc/sysdep.h: Likewise.
23834 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23835 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23836
238372012-02-06 Joseph Myers <joseph@codesourcery.com>
23838
23839 [BZ #411]
23840 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
23841
238422012-02-06 Joseph Myers <joseph@codesourcery.com>
23843
23844 * sysdeps/i386/sysdep.h: Include <features.h>.
23845 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
23846 version.
23847
238482012-02-05 Joseph Myers <joseph@codesourcery.com>
23849
23850 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
23851 Define.
23852 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
23853 LOAD_PIC_REG_STR.
23854
238552012-02-03 Joseph Myers <joseph@codesourcery.com>
23856
23857 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
23858 (SETUP_PIC_REG): Use GET_PC_THUNK.
23859 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
23860 macro.
23861
238622012-02-03 Joseph Myers <joseph@codesourcery.com>
23863
23864 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
23865 for non-PIC compilation.
23866 (SETUP_PIC_REG): Add .p2align directive.
23867 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
23868 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23869 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23870 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23871 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23872 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23873 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23874 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23875 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23876 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23877 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23878 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23879 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23880 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23881 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23882 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23883 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23884 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23885 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23886 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23887 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23888 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23889 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23890 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23891 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23892 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23893 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23894 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23895 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23896 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23897 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23898 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23899 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23900 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23901 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23902 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23903 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23904 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23905 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23906 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23907 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23908
239092012-02-03 Joseph Myers <joseph@codesourcery.com>
23910
23911 * math/tst-CMPLX.c: Include <stdio.h>.
23912
239132012-01-31 Joseph Myers <joseph@codesourcery.com>
23914
23915 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
23916 float.
23917 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23918 * sysdeps/sparc/bits/mathdef.h: Likewise.
23919
239202012-01-31 Marek Polacek <polacek@redhat.com>
23921
23922 * libio/libio.h: Don't define _PARAMS.
23923 * locale/programs/config.h: Don't define PARAMS.
23924 * stdlib/strtol_l.c: Likewise.
23925 (__strtol_l): Remove PARAMS from the prototype.
23926
239272012-01-31 Ulrich Drepper <drepper@gmail.com>
23928
23929 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
23930 names. Just use the correct names. Remove unnecessary wrapper
23931 functions.
23932 * malloc/arena.c: Likewise.
23933 * malloc/hooks.c: Likewise.
23934
23935 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
23936 ARENA_TEST says not to. Simplify test for creation of a new arena.
23937 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
23938
239392012-01-30 Ulrich Drepper <drepper@gmail.com>
23940
23941 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
23942 into tail calls.
23943 (update_get_addr): New function.
23944 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
23945 GET_ADDR_MODULE parameter.
23946
239472012-01-30 Joseph Myers <joseph@codesourcery.com>
23948
23949 * crypt/cert.c: Remove __STDC__ conditionals.
23950 * crypt/crypt-entry.c: Likewise.
23951 * crypt/crypt_util.c: Likewise.
23952 * libio/filedoalloc.c: Likewise.
23953 * libio/fileops.c: Likewise.
23954 * libio/genops.c: Likewise.
23955 * libio/iofclose.c: Likewise.
23956 * libio/iofdopen.c: Likewise.
23957 * libio/iofopen.c: Likewise.
23958 * libio/iofopen64.c: Likewise.
23959 * libio/iogetdelim.c: Likewise.
23960 * libio/iopopen.c: Likewise.
23961 * libio/obprintf.c: Likewise.
23962 * libio/oldfileops.c: Likewise.
23963 * libio/oldiofclose.c: Likewise.
23964 * libio/oldiofdopen.c: Likewise.
23965 * libio/oldiofopen.c: Likewise.
23966 * libio/oldiopopen.c: Likewise.
23967 * libio/wfiledoalloc.c: Likewise.
23968 * libio/wgenops.c: Likewise.
23969 * locale/programs/xmalloc.c: Likewise.
23970 * misc/syslog.c: Likewise.
23971 * stdio-common/xbug.c: Likewise.
23972 * string/memchr.c: Likewise.
23973 * string/memcmp.c: Likewise.
23974 * string/memrchr.c: Likewise.
23975 * string/rawmemchr.c: Likewise.
23976 * sysdeps/posix/getcwd.c: Likewise.
23977 * time/strftime_l.c: Likewise.
23978
239792012-01-30 Joseph Myers <joseph@codesourcery.com>
23980
23981 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
23982 * config.make.in (config-cflags-sse2avx): Define.
23983 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
23984 Fix typo.
23985
239862012-01-29 Chris Metcalf <cmetcalf@tilera.com>
23987
23988 * scripts/config.guess: Update from upstream config git repository.
23989 * scripts/config.sub: Likewise.
23990
239912012-01-28 Chris Metcalf <cmetcalf@tilera.com>
23992
23993 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
23994 (EM_NUM): Update.
23995 (R_TILEPRO_*, R_TILEGX_*): New macros.
23996
23997 * scripts/firstversions.awk: Fix bug in version range handling.
23998
23999 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24000
24001 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24002
24003 * include/sys/epoll.h: New file.
24004 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24005 libc_hidden_def.
24006
240072012-01-28 Ulrich Drepper <drepper@gmail.com>
24008
24009 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24010 Avoid unnecessary __WORDSIZE == 64 test.
24011 (fmaxf): Use VEX format if possible.
24012 (fmax): Likewise.
24013 (fminf): Likewise.
24014 (fmin): Likewise.
24015
24016 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24017 * math/math_private.h: Remove libc_fegetround* and
24018 libc_fesetround*.
24019 * sysdeps/i386/configure.in: Check for -msse2avx.
24020 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24021 also if SSE2AVX is defined.
24022 Remove libc_fegetround* and libc_fesetround*.
24023 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24024 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24025 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24026 of HAS_YMM_USABLE.
24027 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24028 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24029 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24030 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24031 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24032
24033 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24034
240352012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24036
24037 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24038 size is not set.
24039 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24040
240412012-01-27 Ulrich Drepper <drepper@gmail.com>
24042
24043 [BZ #13618]
24044 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24045 relocation.
24046 * Makeconfig (libm): Define.
24047 * elf/Makefile: Add rules to build and run tst-relsort1.
24048 * elf/tst-relsort1.c: New file.
24049 * elf/tst-relsort1mod1.c: New file.
24050 * elf/tst-relsort1mod2.c: New file.
24051
240522012-01-27 Joseph Myers <joseph@codesourcery.com>
24053
24054 * math/s_ldexp.c: Remove __STDC__ conditionals.
24055 * math/s_ldexpf.c: Likewise.
24056 * math/s_ldexpl.c: Likewise.
24057 * math/s_nextafter.c: Likewise.
24058 * math/s_nexttowardf.c: Likewise.
24059 * math/s_significand.c: Likewise.
24060 * math/s_significandf.c: Likewise.
24061 * math/s_significandl.c: Likewise.
24062 * math/w_jnl.c: Likewise.
24063 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24064 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24065 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24066 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24067 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24068 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24069 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24070 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24071 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24072 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24073 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24074 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24075 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24076 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24077 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24078 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24079 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24080 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24081 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24082 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24083 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24084 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24085 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24086 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24087 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24088 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24089 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24090 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24091 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24092 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24093 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24094 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24095 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24096 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24097 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24098 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24099 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24100 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24101 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24102 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24103 * sysdeps/ieee754/k_standard.c: Likewise.
24104 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24105 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24106 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24107 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24108 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24109 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24110 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24111 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24112 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24113 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24114 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24115 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24116 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24117 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24118 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24119 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24120 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24121 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24122 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24123 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24124 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24125 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24126 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24127 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24128 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24129 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24130 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24131 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24132 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24133 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24134 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24135 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24136 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24137 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24138 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24139 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24140 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24141 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24142 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24143 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24144 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24145 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24146 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24147 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24148 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24149 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24150 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24151 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24152 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24153 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24154 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24155 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24156 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24157 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24158 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24159 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24160 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24161 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24162 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24163 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24164 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24165 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24166 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24167 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24168 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24169 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24170 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24171 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24172 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24173 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24174 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24175 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24176 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24177 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24178 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24179 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24180 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24181 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24182 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24183 * sysdeps/ieee754/s_matherr.c: Likewise.
24184 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24185 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24186 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24187 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24188
241892012-01-26 Joseph Myers <joseph@codesourcery.com>
24190
24191 * crypt/md5.h: Remove __STDC__ conditionals.
24192 * libio/libioP.h: Likewise.
24193 * locale/programs/config.h: Likewise.
24194 * sysdeps/generic/sysdep.h: Likewise.
24195 * sysdeps/i386/asm-syntax.h: Likewise.
24196 * sysdeps/s390/asm-syntax.h: Likewise.
24197 * sysdeps/unix/sysdep.h: Likewise.
24198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24200
242012012-01-26 Joseph Myers <joseph@codesourcery.com>
24202
24203 * libio/libio.h: Remove __STDC__ conditionals.
24204 * malloc/obstack.h: Likewise.
24205 * math/complex.h: Likewise.
24206 * math/math.h: Likewise.
24207 * sysdeps/generic/_G_config.h: Likewise.
24208 * sysdeps/gnu/_G_config.h: Likewise.
24209 * sysdeps/mach/hurd/_G_config.h: Likewise.
24210 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24211 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24212 * sysdeps/sparc/bits/mathdef.h: Likewise.
24213
242142012-01-26 Ulrich Drepper <drepper@gmail.com>
24215
24216 [BZ #13583]
24217 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
24218 Clean up HAS_* macros.
24219 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
24220 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24221 possible.
24222 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24223 HAS_AVX.
24224 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24225 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24226 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24227 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24228 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24229
242302012-01-25 Joseph Myers <joseph@codesourcery.com>
24231
24232 * elf/tst-unique3.cc (gets): Remove declaration.
24233 * elf/tst-unique3lib.cc (gets): Likewise.
24234 * elf/tst-unique3lib2.cc (gets): Likewise.
24235 * elf/tst-unique4.cc (gets): Likewise.
24236
242372012-01-24 Ulrich Drepper <drepper@gmail.com>
24238
24239 * include/stdio.h: Add C++ protection. Add gets declarations and
24240 definitions.
24241 * debug/tst-chk1.c: Don't declare gets here.
24242 * stdio-common/tst-gets.c: Likewise.
24243
242442012-01-24 Joseph Myers <joseph@codesourcery.com>
24245
24246 * posix/glob: Remove directory.
24247
242482012-01-24 Joseph Myers <joseph@codesourcery.com>
24249
24250 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24251
242522012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24253
24254 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24255 of the non-standard EPFNOSUPPORT.
24256
242572011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24258
24259 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24260 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24261 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24262
242632012-01-21 Ulrich Drepper <drepper@gmail.com>
24264
24265 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24266
242672012-01-20 Ulrich Drepper <drepper@gmail.com>
24268
24269 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24270 transient errors.
24271 * nscd/grpcache.c (cache_addgr): Likewise.
24272 * nscd/hstcache.c (cache_addhst): Likewise.
24273 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24274 * nscd/pwdcache.c (cache_addpw): Likewise.
24275 * nscd/servicescache.c (cache_addserv): Likewise.
24276
242772012-01-16 Ulrich Drepper <drepper@gmail.com>
24278
24279 * malloc/malloc.c: Various cleanups.
24280 * malloc/hooks.c: Likewise.
24281
24282 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24283 * stdlib/bug-fmtmsg1.c: New file.
24284
24285 * stdlib/fmtmsg.c (init): Add missing unlock.
24286 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24287
242882012-01-12 Marek Polacek <polacek@redhat.com>
24289
24290 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24291 and _GNU_SOURCE.
24292
242932012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24294
24295 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24296 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24297 macro to ensure uniqueness of label name.
24298 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24299 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24300
243012012-01-11 Ulrich Drepper <drepper@gmail.com>
24302
24303 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24304
24305 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24306 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24307 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24308 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24309
243102012-01-10 Ulrich Drepper <drepper@gmail.com>
24311
24312 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24313
24314 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24315 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24316 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24317
24318 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24319
24320 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
24321 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24322 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24323 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
24324
24325 * math/bits/math-finite.h: Add ldexp support.
24326
243272012-01-10 Marek Polacek <polacek@redhat.com>
24328
24329 * locale/programs/localedef.h (show_archive_content): Add noreturn
24330 attribute.
24331
243322012-01-09 Ulrich Drepper <drepper@gmail.com>
24333
24334 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24335
243362012-01-08 Ulrich Drepper <drepper@gmail.com>
24337
24338 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24339
24340 * io/Makefile (headers): Add bits/poll2.h.
24341
243422011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24343
24344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24345 typo #include statement.
24346
243472012-01-08 Ulrich Drepper <drepper@gmail.com>
24348
24349 * include/sys/cdefs.h: Define __attribute_alloc_size.
24350 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24351 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24352 * elf/pldd.c: Likewise.
24353 * iconv/iconv_charmap.c: Likewise.
24354 * iconv/iconvconfig.c: Likewise.
24355 * iconv/strtab.c: Likewise.
24356 * locale/programs/locale.c: Likewise.
24357 * locale/programs/localedef.h: Likewise.
24358 * locale/programs/simple-hash.c: Likewise.
24359 * nscd/nscd.h: Likewise.
24360 * nss/makedb.c: Likewise.
24361 * sysdeps/generic/ldconfig.h: Likewise.
24362 * locale/programs/localedef.c: Remove xmalloc prototype.
24363 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24364
243652012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24366
24367 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24368 appropriate.
24369
243702012-01-08 Ulrich Drepper <drepper@gmail.com>
24371
24372 * math/Makefile (tests): Add tst-CMPLX.
24373 * math/tst-CMPLX.c: New file.
24374
24375 * math/complex.h (CMPLXL): Fix typo.
24376
24377 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24378 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24379 GLIBC_2.16.
24380 * debug/tst-chk1.c: Add poll and ppoll tests.
24381 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24382 * include/sys/poll.h: Add hidden proto for ppoll.
24383 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24384 * sysdeps/mach/hurd/ppoll.c: Likewise.
24385 * io/ppoll.c: Likewise.
24386 * debug/poll_chk.c: New file.
24387 * debug/ppoll_chk.c: New file.
24388 * include/bits/poll2.h: New file.
24389 * io/bits/poll2.h: New file.
24390
24391 [BZ #1350]
24392 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24393
24394 * configure.in: static is always set to yes. Remove.
24395 * config.make.in: Don't set build-static.
24396 * Makeconfig: Remove use of build-static.
24397 * dlfcn/Makefile: Likewise.
24398 * elf/Makefile: Likewise.
24399 * math/Makefile: Likewise.
24400 * misc/Makefile: Likewise.
24401 * nptl/Makefile: Likewise.
24402 * sysdeps/mach/hurd/Makefile: Likewise.
24403
24404 * configure.in: PWD_P is not used anymore.
24405 * config.make.in: Remove PWD_P entry.
24406
24407 * configure.in: Remove last remnants of RANLIB.
24408 No need to check for signed size_t anymore.
24409 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24410 and IA-64.
24411 Remove __builtin_expect test because we require at least gcc 3.4.
24412 * aclocal.m4: Likewise.
24413
24414 * wcsmbs/mbrtoc16.c: Implement using towc function.
24415 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24416 * wcsmbs/wcsmbsload.c: Likewise.
24417 * iconv/gconv_simple.c: Likewise.
24418 * iconv/gconv_int.h: Likewise.
24419 * iconv/gconv_builtin.h: Likewise.
24420 * iconv/iconv_prog.c: Remove CHAR16 handling.
24421
24422 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24423
24424 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24425
24426 * configure.in: Remove --with-elf and --enable-bounded options.
24427 Dont set base_machine for ia64. More non-ELF conditions removed.
24428 Remove testing and setting of leading underscore information.
24429 * config.make.in (build-bounded): Set to no.
24430 * config.h.in: Remove NO_UNDERSCORES entry.
24431 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24432 them.
24433 * csu/start.c: Remove !NO_UNDERSCORE code.
24434 * locale/localeinfo.h: Likewise.
24435 * sysdeps/generic/machine-gmon.h: Likewise.
24436 * sysdeps/generic/sysdep.h: Likewise.
24437 * sysdeps/i386/sysdep.h: Likewise.
24438 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24439 * sysdeps/mach/sysdep.h: Likewise.
24440 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24441 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24442 * sysdeps/sh/sysdep.h: Likewise.
24443 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24444 * sysdeps/unix/i386/sysdep.S: Likewise.
24445 * sysdeps/unix/sparc/start.c: Likewise.
24446 * sysdeps/unix/sparc/sysdep.S: Likewise.
24447 * sysdeps/unix/sparc/sysdep.h: Likewise.
24448 * sysdeps/unix/start.c: Likewise.
24449 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24450 * sysdeps/x86_64/sysdep.h: Likewise.
24451
244522012-01-07 Ulrich Drepper <drepper@gmail.com>
24453
24454 [BZ #13553]
24455 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24456 for non-gcc.
24457 * argp/argp-fmtstream.h: Use const instead __const.
24458 * argp/argp.h: Likewise.
24459 * assert/assert.h: Likewise.
24460 * bits/fenv.h: Likewise.
24461 * bits/sched.h: Likewise.
24462 * bits/sigset.h: Likewise.
24463 * bits/sigthread.h: Likewise.
24464 * catgets/nl_types.h: Likewise.
24465 * conform/data/pthread.h-data: Likewise.
24466 * crypt/crypt-private.h: Likewise.
24467 * crypt/crypt.h: Likewise.
24468 * crypt/crypt_util.c: Likewise.
24469 * ctype/ctype.h: Likewise.
24470 * debug/execinfo.h: Likewise.
24471 * debug/mbsnrtowcs_chk.c: Likewise.
24472 * debug/mbsrtowcs_chk.c: Likewise.
24473 * debug/wcsnrtombs_chk.c: Likewise.
24474 * debug/wcsrtombs_chk.c: Likewise.
24475 * debug/wcstombs_chk.c: Likewise.
24476 * dirent/dirent.h: Likewise.
24477 * dlfcn/dlfcn.h: Likewise.
24478 * elf/neededtest4.c: Likewise.
24479 * grp/grp.h: Likewise.
24480 * gshadow/gshadow.h: Likewise.
24481 * iconv/gconv.h: Likewise.
24482 * iconv/gconv_int.h: Likewise.
24483 * iconv/gconv_simple.c: Likewise.
24484 * iconv/iconv.h: Likewise.
24485 * iconv/loop.c: Likewise.
24486 * iconv/skeleton.c: Likewise.
24487 * include/aio.h: Likewise.
24488 * include/aliases.h: Likewise.
24489 * include/argz.h: Likewise.
24490 * include/arpa/inet.h: Likewise.
24491 * include/assert.h: Likewise.
24492 * include/dirent.h: Likewise.
24493 * include/dlfcn.h: Likewise.
24494 * include/execinfo.h: Likewise.
24495 * include/fcntl.h: Likewise.
24496 * include/fenv.h: Likewise.
24497 * include/glob.h: Likewise.
24498 * include/grp.h: Likewise.
24499 * include/libintl.h: Likewise.
24500 * include/mntent.h: Likewise.
24501 * include/netdb.h: Likewise.
24502 * include/pwd.h: Likewise.
24503 * include/rpc/netdb.h: Likewise.
24504 * include/sched.h: Likewise.
24505 * include/search.h: Likewise.
24506 * include/shadow.h: Likewise.
24507 * include/signal.h: Likewise.
24508 * include/stdio.h: Likewise.
24509 * include/stdlib.h: Likewise.
24510 * include/string.h: Likewise.
24511 * include/sys/socket.h: Likewise.
24512 * include/sys/stat.h: Likewise.
24513 * include/sys/statfs.h: Likewise.
24514 * include/sys/statvfs.h: Likewise.
24515 * include/sys/syslog.h: Likewise.
24516 * include/sys/time.h: Likewise.
24517 * include/sys/uio.h: Likewise.
24518 * include/time.h: Likewise.
24519 * include/unistd.h: Likewise.
24520 * include/utmp.h: Likewise.
24521 * include/wchar.h: Likewise.
24522 * include/wctype.h: Likewise.
24523 * inet/aliases.h: Likewise.
24524 * inet/arpa/inet.h: Likewise.
24525 * inet/netinet/ether.h: Likewise.
24526 * inet/netinet/in.h: Likewise.
24527 * intl/libintl.h: Likewise.
24528 * io/bits/fcntl2.h: Likewise.
24529 * io/fcntl.h: Likewise.
24530 * io/ftw.h: Likewise.
24531 * io/sys/poll.h: Likewise.
24532 * io/sys/stat.h: Likewise.
24533 * io/sys/statfs.h: Likewise.
24534 * io/sys/statvfs.h: Likewise.
24535 * io/utime.h: Likewise.
24536 * libio/bits/stdio.h: Likewise.
24537 * libio/bits/stdio2.h: Likewise.
24538 * libio/libio.h: Likewise.
24539 * libio/libioP.h: Likewise.
24540 * libio/stdio.h: Likewise.
24541 * locale/lc-ctype.c: Likewise.
24542 * locale/locale.h: Likewise.
24543 * login/utmp.h: Likewise.
24544 * malloc/arena.c: Likewise.
24545 * malloc/malloc.c: Likewise.
24546 * malloc/malloc.h: Likewise.
24547 * malloc/mcheck.c: Likewise.
24548 * malloc/mtrace.c: Likewise.
24549 * math/bits/mathcalls.h: Likewise.
24550 * math/fenv.h: Likewise.
24551 * math/math_private.h: Likewise.
24552 * misc/bits/error.h: Likewise.
24553 * misc/bits/syslog.h: Likewise.
24554 * misc/err.h: Likewise.
24555 * misc/error.h: Likewise.
24556 * misc/fstab.h: Likewise.
24557 * misc/mntent.h: Likewise.
24558 * misc/regexp.h: Likewise.
24559 * misc/search.h: Likewise.
24560 * misc/sgtty.h: Likewise.
24561 * misc/sys/mman.h: Likewise.
24562 * misc/sys/syslog.h: Likewise.
24563 * misc/sys/uio.h: Likewise.
24564 * misc/sys/xattr.h: Likewise.
24565 * misc/ttyent.h: Likewise.
24566 * nis/rpcsvc/ypclnt.h: Likewise.
24567 * nss/nss.h: Likewise.
24568 * posix/bits/unistd.h: Likewise.
24569 * posix/fnmatch.h: Likewise.
24570 * posix/glob.h: Likewise.
24571 * posix/sched.h: Likewise.
24572 * posix/spawn.h: Likewise.
24573 * posix/sys/wait.h: Likewise.
24574 * posix/unistd.h: Likewise.
24575 * posix/wordexp.h: Likewise.
24576 * pwd/pwd.h: Likewise.
24577 * resolv/netdb.h: Likewise.
24578 * resource/sys/resource.h: Likewise.
24579 * rt/aio.h: Likewise.
24580 * rt/bits/mqueue2.h: Likewise.
24581 * rt/mqueue.h: Likewise.
24582 * shadow/shadow.h: Likewise.
24583 * signal/signal.h: Likewise.
24584 * socket/send.c: Likewise.
24585 * socket/sendto.c: Likewise.
24586 * socket/sys/socket.h: Likewise.
24587 * stdio-common/printf.h: Likewise.
24588 * stdlib/bits/stdlib.h: Likewise.
24589 * stdlib/fmtmsg.h: Likewise.
24590 * stdlib/monetary.h: Likewise.
24591 * stdlib/stdlib.h: Likewise.
24592 * stdlib/ucontext.h: Likewise.
24593 * streams/stropts.h: Likewise.
24594 * string/argz.h: Likewise.
24595 * string/bits/string2.h: Likewise.
24596 * string/string.h: Likewise.
24597 * string/strings.h: Likewise.
24598 * sunrpc/rpc/auth.h: Likewise.
24599 * sunrpc/rpc/auth_des.h: Likewise.
24600 * sunrpc/rpc/clnt.h: Likewise.
24601 * sunrpc/rpc/netdb.h: Likewise.
24602 * sunrpc/rpc/pmap_clnt.h: Likewise.
24603 * sunrpc/rpc/xdr.h: Likewise.
24604 * sysdeps/generic/inttypes.h: Likewise.
24605 * sysdeps/generic/net/if.h: Likewise.
24606 * sysdeps/generic/sys/swap.h: Likewise.
24607 * sysdeps/gnu/net/if.h: Likewise.
24608 * sysdeps/gnu/utmpx.h: Likewise.
24609 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24610 * sysdeps/i386/i486/bits/string.h: Likewise.
24611 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24612 * sysdeps/s390/bits/string.h: Likewise.
24613 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24614 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24615 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24616 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24617 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24618 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24619 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24620 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24621 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24622 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24623 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24624 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24625 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24626 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24627 * sysdeps/unix/sysv/linux/readv.c: Likewise.
24628 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24629 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24630 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24631 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24632 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24633 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24634 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24635 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24636 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24637 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24638 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24639 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24640 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24641 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24642 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24643 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24644 * sysvipc/sys/ipc.h: Likewise.
24645 * sysvipc/sys/msg.h: Likewise.
24646 * sysvipc/sys/sem.h: Likewise.
24647 * sysvipc/sys/shm.h: Likewise.
24648 * termios/termios.h: Likewise.
24649 * time/sys/time.h: Likewise.
24650 * time/time.h: Likewise.
24651 * wcsmbs/bits/wchar2.h: Likewise.
24652 * wcsmbs/uchar.h: Likewise.
24653 * wcsmbs/wchar.h: Likewise.
24654 * wctype/wctype.h: Likewise.
24655
24656 [BZ #13551]
24657 * Makeconfig: Remove all but ELF support including AIX support.
24658 * Makerules: Likewise.
24659 * config.h.in: Likewise.
24660 * config.make.in: Likewise.
24661 * configure: Likewise.
24662 * configure.in: Likewise.
24663 * csu/Makefile: Likewise.
24664 * csu/version.c: Likewise.
24665 * debug/Makefile: Likewise.
24666 * dlfcn/Makefile: Likewise.
24667 * elf/Makefile: Likewise.
24668 * extra-lib.mk: Likewise.
24669 * iconv/Makefile: Likewise.
24670 * include/libc-symbols.h: Likewise.
24671 * include/shlib-compat.h: Likewise.
24672 * resolv/Makefile: Likewise.
24673 * resolv/res_libc.c: Likewise.
24674 * rt/Makefile: Likewise.
24675 * sysdeps/i386/asm-syntax.h: Likewise.
24676 * sysdeps/i386/sysdep.h: Likewise.
24677 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24678 * sysdeps/mach/sysdep.h: Likewise.
24679 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24680 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24681 * sysdeps/s390/asm-syntax.h: Likewise.
24682 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24683 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24684 * sysdeps/sh/sysdep.h: Likewise.
24685 * sysdeps/unix/sparc/sysdep.h: Likewise.
24686 * sysdeps/wordsize-32/divdi3.c: Likewise.
24687 * sysdeps/x86_64/sysdep.h: Likewise.
24688
24689 * argp/Versions: Remove _argp_unlock_xxx.
24690
24691 [BZ #13559]
24692 * abilist/ld.abilist: Update. Adjust for removal of tls option.
24693 * abilist/libBrokenLocale.abilist: Likewise.
24694 * abilist/libanl.abilist: Likewise.
24695 * abilist/libc.abilist: Likewise.
24696 * abilist/libcrypt.abilist: Likewise.
24697 * abilist/libdl.abilist: Likewise.
24698 * abilist/libm.abilist: Likewise.
24699 * abilist/libnsl.abilist: Likewise.
24700 * abilist/libpthread.abilist: Likewise.
24701 * abilist/libresolv.abilist: Likewise.
24702 * abilist/librt.abilist: Likewise.
24703 * abilist/libthread_db.abilist: Likewise.
24704 * abilist/libutil.abilist: Likewise.
24705 * abilist/libnss_db.abilist: New file.
24706
24707 * scripts/abilist.awk: Add support for indirect functions.
24708
24709 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24710
24711 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24712
24713 * shlib-versions: Remove entries for ports architectures.
24714
24715 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
24716 files in ports.
24717 * elf/stackguard-macros.h: Remove support for IA-64.
24718 * elf/tst-auditmod1.c: Likewise.
24719 * sysdeps/generic/ldsodefs.h: Likewise.
24720
24721 * sysdeps/unix/sysv/linux/configure.in: Ports should define
24722 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24723 configure files.
24724
24725 [BZ #13552]
24726 * configure.in: Remove --enable-omitfp support.
24727 * FAQ.in: Adjust.
24728 * config.make.in: Likewise.
24729 * Makeconfig: Likewise.
24730 * manual/install.texi: Likewise.
24731
24732 In case anyone cares, the IA-64 architecture could move to ports.
24733 * sysdeps/ia64/*: Removed.
24734 * sysdeps/unix/sysv/linux/ia64/*: Removed.
24735 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
24736
24737 [BZ #13555]
24738 * configure.in: Remove entries for unsupported architectures.
24739
24740 [BZ #13533]
24741 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24742 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
24743 routines.
24744 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24745 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24746 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
24747 fall back to using wcrtomb.
24748 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24749 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
24750 renaming.
24751 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24752 * wcsmbs/tst-c16c32-1.c: New file.
24753
24754 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24755 local variable.
24756
24757 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24758
24759 * elf/tst-unique3.cc: Add explicit declaration of gets.
24760 * elf/tst-unique3lib.cc: Likewise.
24761 * elf/tst-unique3lib2.cc: Likewise.
24762 * elf/tst-unique4.cc: Likewise.
24763
24764 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24765
247662012-01-06 Joseph Myers <joseph@codesourcery.com>
24767
24768 [BZ #13566]
24769 * assert/assert.h (static_assert): Don't define for C++.
24770 * libio/stdio.h (gets): Do declare for C++ <= C++11.
24771 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24772
247732012-01-03 Ulrich Drepper <drepper@gmail.com>
24774
24775 * iconv/loop.c (single loop): Fix assertion in storing of
24776 remaining bytes.
24777
24778 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24779
247802012-01-01 Ulrich Drepper <drepper@gmail.com>
24781
24782 * posix/getconf.c: Update copyright year.
24783 * nss/getent.c: Likewise.
24784 * nss/makedb.c: Likewise.
24785 * iconv/iconvconfig.c: Likewise.
24786 * iconv/iconv_prog.c: Likewise.
24787 * elf/ldconfig.c: Likewise.
24788 * elf/pldd.c: Likewise.
24789 * elf/sotruss.ksh: Likewise.
24790 * catgets/gencat.c: Likewise.
24791 * csu/version.c: Likewise.
24792 * elf/ldd.bash.in: Likewise.
24793 * elf/sprof.c (print_version): Likewise.
24794 * locale/programs/locale.c: Likewise.
24795 * locale/programs/localedef.c: Likewise.
24796 * login/programs/pt_chown.c: Likewise.
24797 * nscd/nscd.c (print_version): Likewise.
24798 * debug/xtrace.sh: Likewise.
24799 * malloc/memusage.sh: Likewise.
24800 * malloc/mtrace.pl: Likewise.
24801 * debug/catchsegv.sh: Likewise.
24802
248032011-12-30 Jakub Jelinek <jakub@redhat.com>
24804
24805 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24806 pure attribute.
24807
248082011-12-24 Ulrich Drepper <drepper@gmail.com>
24809
24810 [BZ #13533]
24811 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24812 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24813 transformations.
24814 * iconv/gconv_int.h: Likewise.
24815 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24816 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24817 from libc for GLIBC_2.16.
24818 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24819 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
24820 * wcsmbs/uchar.h: Really define mbstate_t.
24821 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
24822 * wcsmbs/c16rtomb.c: New file.
24823 * wcsmbs/mbrtoc16.c: New file.
24824 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
24825 for C/POSIX locale.
24826 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
24827 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
24828
24829 * wcsmbs/wchar.h: Add missing __restrict.
24830
248312011-12-23 Ulrich Drepper <drepper@gmail.com>
24832
24833 [BZ #13532]
24834 * time/Makefile (routines): Add timespec_get.
24835 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
24836 * time/time.h: Define TIME_UTC and declare timespec_get. Define
24837 timespec for ISO C11.
24838 * time/timespec_get.c: New file.
24839 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
24840 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
24841
24842 [BZ #13531]
24843 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
24844 * stdlib/stdlib.h: Declare aligned_alloc.
24845 * Versions.def: Add GLIBC_2.16 for libc.
24846 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
24847
24848 [BZ 13527]
24849 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
24850 ISO C11.
24851
24852 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
24853 code.
24854
24855 [BZ #13528]
24856 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
24857
24858 [BZ #13529]
24859 * assert/assert.h (static_assert): Define.
24860
24861 * version.h: Update for 2.16 development version.
24862
24863 [BZ #13526]
24864 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
24865 _ISOC11_SOURCE.
24866
24867 * version.h (RELEASE): Bump for 2.15 release.
24868 * include/features.h (__GLIBC_MINOR__): Bump to 15.
24869
24870 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
24871 Patch by Marek Polacek <mpolacek@redhat.com>.
24872
24873 * bits/byteswap.h: Protect long long constants with __extension__.
24874 * sysdeps/i386/bits/byteswap.h: Likewise.
24875 * sysdeps/ia64/bits/byteswap.h: Likewise.
24876 * sysdeps/s390/bits/byteswap.h: Likewise.
24877 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24878
248792011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24880
24881 [BZ #13540]
24882 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
24883 destination buffer.
24884 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24885
248862011-12-23 Marek Polacek <polacek@redhat.com>
24887
24888 * elf/dl-addr.c (determine_info): Add inline keyword.
24889 * elf/tst-auditmod4b.c (check_avx): Likewise.
24890 * elf/tst-auditmod6b.c (check_avx): Likewise.
24891 * elf/tst-auditmod6c.c (check_avx): Likewise.
24892 * elf/tst-auditmod7b.c (check_avx): Likewise.
24893
248942011-12-23 Ulrich Drepper <drepper@gmail.com>
24895
24896 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
24897 !__SSE_MATH__.
24898
248992011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24900
24901 [BZ #13540]
24902 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
24903 processing for last bytes.
24904
249052011-08-06 Bruno Haible <bruno@clisp.org>
24906
24907 [BZ #13061]
24908 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
24909 U+0385, not to U+1FEE.
24910
24911 [BZ #13062]
24912 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
24913 entry for U+00A5 U+0301.
24914
249152011-12-22 Ulrich Drepper <drepper@gmail.com>
24916
24917 [BZ #13166]
24918 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
24919 buffer for the output is too small.
24920
24921 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
24922 optimization.
24923
24924 [BZ #13185]
24925 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
24926 SSE flags if possible.
24927
249282011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24929
24930 [BZ #13540]
24931 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
24932 processing for last bytes.
24933
249342011-12-22 Joseph Myers <joseph@codesourcery.com>
24935
24936 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
24937 (syscall-list-default-options, syscall-list-default-condition)
24938 (syscall-list-includes): Define.
24939 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
24940 list of ABIs and options and #if conditions for each ABI. Do not
24941 handle common syscalls between ABIs specially.
24942 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
24943 Remove.
24944 (syscall-list-variants, syscall-list-32bit-options)
24945 (syscall-list-32bit-condition, syscall-list-64bit-options)
24946 (syscall-list-64bit-condition): Define.
24947 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
24948 (syscall-list-variants, syscall-list-32bit-options)
24949 (syscall-list-32bit-condition, syscall-list-64bit-options)
24950 (syscall-list-64bit-condition): Define.
24951 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
24952 Remove.
24953 (syscall-list-variants, syscall-list-32bit-options)
24954 (syscall-list-32bit-condition, syscall-list-64bit-options)
24955 (syscall-list-64bit-condition): Define.
24956 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
24957 Remove.
24958 (syscall-list-variants, syscall-list-32bit-options)
24959 (syscall-list-32bit-condition, syscall-list-64bit-options)
24960 (syscall-list-64bit-condition): Define.
24961
249622011-12-22 Ulrich Drepper <drepper@gmail.com>
24963
24964 * locale/iso-639.def: Add brx entry.
24965
24966 [BZ #13328]
24967 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
24968 Proposed by Mariusz_Cukr <marcukr@op.pl>.
24969
24970 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
24971 __feraiseexcept_renamed.
24972
249732011-12-21 Ulrich Drepper <drepper@gmail.com>
24974
24975 [BZ #13538]
24976 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
24977 EPOLLET with unsigned values.
24978 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24979 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24980
24981 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
24982 to large cancellation.
24983 * math/s_cacoshf.c: Likewise.
24984 * math/s_cacoshl.c: Likewise.
24985
249862011-11-18 Richard B. Kreckel <kreckel@ginac.de>
24987
24988 [BZ #13305]
24989 [BZ #12786]
24990 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
24991 * math/s_cacoshf.c: Likewise.
24992 * math/s_cacoshl.c: Likewise.
24993
249942011-12-21 Ulrich Drepper <drepper@gmail.com>
24995
24996 [BZ #13439]
24997 * iconv/gconv.h: Define __GCONV_SWAP.
24998 * iconvdata/unicode.c: The swap bit must be stored in __flags.
24999 * iconvdata/utf-16.c: Likewise.
25000 * iconvdata/utf-32.c: Likewise.
25001
250022011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25003
25004 [BZ #13524]
25005 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25006 numerator after shifting it by one limb.
25007
250082011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25009
25010 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25011 under [__USE_EXTERN_INLINES].
25012
250132011-12-17 Ulrich Drepper <drepper@gmail.com>
25014
25015 [BZ #13446]
25016 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25017
250182011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25019
25020 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25021 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25022 optimized code.
25023 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25024 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25025 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25026 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25027 for strncasecmp/strncasecmp_l compilation.
25028 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25029 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25030
250312011-12-08 Marek Polacek <mpolacek@redhat.com>
25032
25033 [BZ #13484]
25034 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25035 of __asm__.
25036
250372011-12-17 Ulrich Drepper <drepper@gmail.com>
25038
25039 [BZ #13506]
25040 * time/tzfile.c (__tzfile_read): Check values from file header.
25041
250422011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25043
25044 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25045 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25046 * powerpc/powerpc32/dl-start.S: Likewise.
25047 * powerpc/powerpc32/elf/start.S: Likewise.
25048 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25049 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25050 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25051 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25052 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25053 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25054 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25055 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25056 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25057 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25058 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25059 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25060 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25061 * powerpc/powerpc32/memset.S: Likewise.
25062 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25063 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25064 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25065 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25066 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25067 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25068 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25069 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25070 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25071 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25072 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25073 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25074 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25075
250762011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25077
25078 * math/libm-test.inc: Added more nearbyint tests.
25079 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25080 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25081 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25082 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25083
250842011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25085
25086 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25087 FD_CLOEXEC.
25088
250892011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25090
25091 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25092 Add wcscpy-ssse3 wcscpy-c.
25093 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25094 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25095 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25096 * sysdeps/x86_64/wcschr.S: New file.
25097 * sysdeps/x86_64/wcsrchr.S: New file.
25098 * string/test-strcmp.c: Remove checking of wcscmp function for
25099 wrong alignments.
25100 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25101 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25102 wcsrchr-sse2 wcsrchr-c.
25103 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25104 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25105 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25106 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25107 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25108 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25109 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25110 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25111 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25112 * wcsmbc/wcschr.c (WCSCHR): New macro.
25113
251142011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25115
25116 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25117 * wcsmbs/test-wcsrchr.c: New file.
25118 * string/test-strrchr.c: Add wcsrchr support.
25119 (WIDE): New macro.
25120 * wcsmbs/test-wcscpy.c: New file.
25121 * string/test-strcpy.c: Add wcscpy support.
25122 (WIDE): New macro.
25123
251242011-12-10 Ulrich Drepper <drepper@gmail.com>
25125
25126 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25127 the inner loop.
25128
251292011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25130
25131 [BZ #13472]
25132 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25133
251342011-12-04 Ulrich Drepper <drepper@gmail.com>
25135
25136 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
25137 Minor optimizations.
25138
25139 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25140 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25141 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25142
251432011-12-03 Ulrich Drepper <drepper@gmail.com>
25144
25145 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25146 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25147 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25148 for gcc to avoid warnings.
25149 * inet/Makefile (tests): Add tst-checks.
25150 * inet/tst-checks.c: New file.
25151
25152 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25153 warning.
25154
25155 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25156 __wmemcmp_sse2.
25157
25158 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25159 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25160
25161 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25162
251632011-12-02 Ulrich Drepper <drepper@gmail.com>
25164
25165 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25166 problem.
25167
25168 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25169
251702011-11-29 Joseph Myers <joseph@codesourcery.com>
25171
25172 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25173 conditional on GCC version.
25174 (__arch_compare_and_exchange_val_8_acq)
25175 (__arch_compare_and_exchange_val_16_acq)
25176 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25177 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25178 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25179
251802011-12-02 Joseph Myers <joseph@codesourcery.com>
25181
25182 * sysdeps/sh/backtrace.c: New file.
25183
251842011-12-02 Andreas Schwab <schwab@redhat.com>
25185
25186 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25187 parenthesis.
25188
251892011-12-01 Andreas Schwab <schwab@redhat.com>
25190
25191 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25192 falling back to utime.
25193
251942011-11-30 Andreas Schwab <schwab@redhat.com>
25195
25196 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25197 expectations for float.
25198
251992011-11-29 Andreas Schwab <schwab@redhat.com>
25200
25201 * locale/weight.h (findidx): Add parameter len.
25202 * locale/weightwc.h (findidx): Likewise.
25203 * posix/fnmatch_loop.c (FCT): Adjust caller.
25204 * posix/regcomp.c (build_equiv_class): Likewise.
25205 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25206 * posix/regexec.c (check_node_accept_bytes): Likewise.
25207 * string/strcoll_l.c (STRCOLL): Likewise.
25208 * string/strxfrm_l.c (STRXFRM): Likewise.
25209
252102011-11-17 Ulrich Drepper <drepper@gmail.com>
25211
25212 * Makefile.in: Remove CVSOPT handling.
25213 * configure.in: Remove use of AC_REVISION.
25214 * iconvdata/Makefile (distribute): No need to filter out CVS.
25215 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25216 handling.
25217
252182011-11-16 Andreas Schwab <schwab@redhat.com>
25219
25220 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25221 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25222 [USE_AS_STRNCASECMP_L]: Likewise.
25223 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25224 NO_TLS_DIRECT_SEG_REFS.
25225 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25226 Fix argument offsets for non-PIC.
25227 [USE_AS_STRNCASECMP_L]: Likewise.
25228 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25229 NO_TLS_DIRECT_SEG_REFS.
25230
252312011-11-15 Ulrich Drepper <drepper@gmail.com>
25232
25233 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
25234 O_CLOEXEC.
25235 * locale/loadlocale.c (_nl_load_locale): Likewise.
25236
252372011-11-15 Andreas Schwab <schwab@redhat.com>
25238
25239 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25240 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25241 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25242 (SYSCALL_GETTIME): Set errno on error.
25243
25244 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25245 count references to noai6ai_cached.
25246
252472011-11-15 Ulrich Drepper <drepper@gmail.com>
25248
25249 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25250
25251 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25252 FD_CLOEXEC for /proc/self/maps.
25253
25254 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25255 FD_CLOEXEC for /proc/meminfo.
25256
25257 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25258 gai.conf.
25259
25260 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25261 FD_CLOEXEC for given file.
25262
25263 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25264
25265 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25266 FD_CLOEXEC for /etc/hosts.
25267 (_gethtent): Likewise.
25268
25269 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25270
25271 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25272 cancellation and set FD_CLOEXEC for /etc/netgroup.
25273
25274 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25275 reading /etc/publickey.
25276
25277 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25278 allow cancellation when reading /etc/group.
25279
25280 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25281 cancellation.
25282 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25283
25284 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25285 when using data file.
25286
25287 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25288
25289 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25290 (write_nis_obj): Use "c" and "e" in fopen.
25291
25292 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25293
25294 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25295
25296 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25297
25298 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25299
25300 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25301 locale.alias.
25302
25303 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25304
25305 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25306
25307 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25308
25309 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25310 file parsing and set FD_CLOEXEC.
25311
253122011-11-14 Ulrich Drepper <drepper@gmail.com>
25313
25314 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25315
253162011-11-14 Andreas Schwab <schwab@redhat.com>
25317
25318 * malloc/arena.c (arena_get2): Don't call reused_arena when
25319 _int_new_arena failed.
25320
253212011-11-14 Ulrich Drepper <drepper@gmail.com>
25322
25323 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25324 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25325 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25326 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25327 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25328 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25329 to compile strcasecmp and strncasecmp.
25330 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25331 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25332
25333 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25334
253352011-11-13 Ulrich Drepper <drepper@gmail.com>
25336
25337 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25338 locale-defines.sym to gen-as-const-headers.
25339 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25340 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25341 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25342 to compile strcasecmp and strncasecmp.
25343 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25344 strcasecmp_l and strncasecmp_l.
25345 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25346 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25347 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25348 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25349 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25350 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25351 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25352 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25353 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25354 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25355 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25356
253572011-11-12 Ulrich Drepper <drepper@gmail.com>
25358
25359 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25360 result of SYSDEP_GETTIME_CPU to retval.
25361 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25362 parameter list to macro. Remove trailing semicolon. Adjust users.
25363
25364 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25365 variable.
25366
25367 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25368 mantissa words.
25369 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25370
25371 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25372 from unused variable.
25373
25374 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25375 DWARF definitions.
25376 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25377 for assembling.
25378
25379 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25380 over namespaces.
25381
25382 * sunrpc/rpc_prot.c (rejected): Fix case value.
25383
25384 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25385 unsigned long long int to avoid warnings in shift.
25386
25387 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25388 of use of trans.
25389 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25390 variable tmp.
25391
25392 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25393 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25394 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25395
25396 * nis/nis_table.c (nis_list): Use variable of correct type for
25397 result of __follow_path call.
25398
253992011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25400
25401 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25402 of math functions ceil, trunc, floor, round, and sqrt, when
25403 avaliable on the platform.
25404 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25405 name clash.
25406 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25407 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25408 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25409
254102011-10-30 Marek Polacek <mpolacek@redhat.com>
25411
25412 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25413 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25414
254152011-11-11 Roland McGrath <roland@hack.frob.com>
25416
25417 * include/unistd.h: Fix __readlink return type.
25418 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25419
254202011-11-11 Ulrich Drepper <drepper@gmail.com>
25421
25422 * stdlib/ucontext.h: Undo last change for makecontext.
25423
254242011-11-11 Andreas Schwab <schwab@redhat.com>
25425
25426 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25427
25428 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25429 * setjmp/setjmp.h: Mark functions as non-leaf.
25430 * setjmp/bits/setjmp2.h: Likewise.
25431 * stdlib/ucontext.h: Likewise.
25432
254332011-11-10 Andreas Schwab <schwab@redhat.com>
25434
25435 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25436 (reused_arena): Don't check arena limit.
25437 (arena_get2): Atomically check arena limit.
25438
254392011-11-08 Ulrich Drepper <drepper@gmail.com>
25440
25441 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25442 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25443
25444 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25445 instructions.
25446
254472011-11-07 Andreas Schwab <schwab@redhat.com>
25448
25449 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25450 handler when locking.
25451
25452 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25453 Fix size of allocated buffer.
25454
254552011-11-04 Andreas Schwab <schwab@redhat.com>
25456
25457 [BZ #10103]
25458 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25459 declarations for long double functions.
25460 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25461
25462 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25463
254642011-11-03 Andreas Schwab <schwab@redhat.com>
25465
25466 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25467 installed.
25468
25469 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25470 is disabled.
25471
254722011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25473
25474 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25475
254762011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25477
25478 * include/alloca.h (stackinfo_alloca_round): Define.
25479 (extend_alloca): Use it.
25480 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25481 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25482 here.
25483
25484 * scripts/check-local-headers.sh: Ignore libaudit.h.
25485
25486 * nscd/Makefile (extra-objs): Make recursively expanded.
25487
254882011-11-01 Ulrich Drepper <drepper@gmail.com>
25489
25490 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25491 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25492
25493 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25494 * posix/tst-rfc3484-2.c: Likewise.
25495 * posix/tst-rfc3484-3.c: Likewise.
25496
25497 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25498 process_vm_writev.
25499 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25500 process_vm_writev.
25501 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25502 process_vm_writev from libc using GLIBC_2.15 version.
25503
25504 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25505
255062011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25507
25508 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25509 stack usage.
25510
255112011-10-31 Ulrich Drepper <drepper@gmail.com>
25512
25513 [BZ #13367]
25514 * nss/getent.c (initgroups_keys): Show error message in case no group
25515 names are given.
25516
25517 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25518 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25519 __bump_nl_timestamp.
25520 * nscd/connections (nscd_init): When host database is served open
25521 netlink socket and request notification about configuration changes.
25522 (main_loop_poll): Track netlink file descriptor and bump timestamp
25523 in case data becomes available.
25524 (main_loop_epoll): Likewise.
25525 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25526 (database_pers_head): Add extra_data fileds.
25527 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25528 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25529 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25530 Adjust caller.
25531 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25532 in6ai data, call __free_in6ai.
25533 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25534 Add -DHAVE_NETLINK.
25535 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25536 interface information. Reuse previous data if netlink timestamp
25537 is not changed.
25538 (__bump_nl_timestamp): New function.
25539 (__free_in6ai): New function.
25540
255412011-10-30 Ulrich Drepper <drepper@gmail.com>
25542
25543 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25544 close_not_cancel_no_status here.
25545 (__check_pf): Reorganize code a bit to not call close twice if OOM.
25546
255472011-10-29 Ulrich Drepper <drepper@gmail.com>
25548
25549 [BZ #13276]
25550 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25551 return value.
25552
25553 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
25554 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25555 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25556
255572011-07-03 Andreas Jaeger <aj@suse.de>
25558
25559 [BZ #10709]
25560 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25561 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25562 * math/libm-test.inc (sin_test): Add test case.
25563
255642011-10-29 Ulrich Drepper <drepper@gmail.com>
25565
25566 [BZ #13337]
25567 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25568 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25569
25570 * elf/chroot_canon.c (chroot_canon): Cleanups.
25571
25572 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25573
25574 [BZ #13335]
25575 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25576 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25577
25578 * string/test-strchr.c: Make usable for strchrnul testing.
25579 * string/test-strchrnul.c: New file.
25580 * string/Makefile (strop-tests): Add strchrnul.
25581
25582 * po/it.po: Update from translation team.
25583 * po/es.po: Likewise.
25584
255852011-10-28 Ulrich Drepper <drepper@gmail.com>
25586
25587 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25588 the three constants needed as parameters. Drop the others.
25589 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25590 __m128i_strloadu_tolower.
25591 Create and initialize variable zero and use it in all the places
25592 where _mm_setzero_si128 was used.
25593
25594 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25595 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25596 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25597 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25598 anymore.
25599 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25600 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25601 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25602 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25603 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25604 __mpranred, __mptan.
25605 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25606 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25607 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25608 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25609 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25610 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25611 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25612 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25613 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25614
256152011-10-28 Andreas Schwab <schwab@redhat.com>
25616
25617 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25618 redefine if SHARED.
25619 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25620
25621 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25622 wide char related routines to wcsmbs subdir.
25623
256242011-10-27 Andreas Schwab <schwab@redhat.com>
25625
25626 [BZ #13344]
25627 * misc/sys/cdefs.h (__THROWNL): Define.
25628 * posix/unistd.h: Use __THREADNL instead of __THREAD
25629 for memory synchronization functions.
25630
256312011-10-26 Roland McGrath <roland@hack.frob.com>
25632
25633 [BZ #13349]
25634 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25635 doesn't exist.
25636 * manual/stdio.texi (Obstack Streams): Node removed.
25637
256382011-10-26 Andreas Schwab <schwab@redhat.com>
25639
25640 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25641 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25642 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25643
25644 * math/math_private.h (math_force_eval): Allow non-addressable
25645 arguments.
25646 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25647
256482011-10-25 Ulrich Drepper <drepper@gmail.com>
25649
25650 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25651 file is not needed.
25652
25653 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25654 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25655 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25656 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25657 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25658 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25659 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25660 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25661 Add AVX variants.
25662 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25663 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25664 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25665 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25666 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25667 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25668 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25669 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25670 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25671 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25672 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25673 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25674 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25675 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25676 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25677 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25678 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25679 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25680 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25681
25682 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25683 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
25684
25685 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25686 place. Use VEX encoding when compiling for AVX.
25687
256882011-10-25 Andreas Schwab <schwab@redhat.com>
25689
25690 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25691 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25692
25693 * string/test-strchr.c (do_test): Don't generate NUL bytes.
25694
256952011-10-25 Ulrich Drepper <drepper@gmail.com>
25696
25697 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
25698 useless if() expression.
25699 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25700 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25701 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25702 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25703 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25704 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25705 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25706 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25707 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25708 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25709 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25710 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25711 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25712 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25713 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25714 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25715 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25716 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25717 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25718
25719 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25720
257212011-10-25 Andreas Schwab <schwab@redhat.com>
25722
25723 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25724 condition.
25725 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25726
257272011-10-25 Ulrich Drepper <drepper@gmail.com>
25728
25729 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25730 .text section. Avoid duplicate constants.
25731 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25732 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25733 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25734 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25735 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25736 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25737 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25738 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25739 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25740 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25741 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25742 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25743 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25744 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25745 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25746 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25747 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25748 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25749 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25750 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25751 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25752 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25753 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25754 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25755 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25756 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25757 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25758 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25759 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25760 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25761 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25762 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25763 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25764 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25765 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25766 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25767 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25768 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25769 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25770 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25771 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25772 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25773 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25774 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25775 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25776
257772011-10-24 Ulrich Drepper <drepper@gmail.com>
25778
25779 * sysdeps/x86_64/dla.h: Move to ...
25780 * sysdeps/x86_64/fpu/dla.h: ...here.
25781 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25782 situations. Use __builtin_fma only for gcc 4.6 and up.
25783
25784 * config.make.in: Add have-mfma4 entry.
25785 * configure.in: Substitute libc_cv_cc_fma4.
25786 * math/Makefile (dbl-only-routines): Add sincostab.
25787 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25788 Use __sincostab not sincos.
25789 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25790 name is a macro.
25791 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25792 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25793 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25794 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
25795 using __copysign.
25796 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
25797 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
25798 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25799 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25800 and __inv.
25801 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25802 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25803 __copysign.
25804 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
25805 define aliases when function name is a macro.
25806 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25807 sysdeps/ieee754/dbl-64/sincos.tbl.
25808 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25809 fma4-enabled routines.
25810 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25811 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25812 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25813 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25814 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25815 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25816 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25817 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25818 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25819 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
25820 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
25821 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
25822 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
25823 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
25824 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
25825 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
25826 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
25827 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
25828 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
25829 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
25830 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
25831 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
25832 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
25833 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
25834 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
25835 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
25836 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
25837 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
25838 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
25839 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
25840
25841 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
25842 rename.
25843 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25844 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25845 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25846 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25847 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25848 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25849 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25850 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25851
258522011-10-24 Andreas Schwab <schwab@redhat.com>
25853
25854 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
25855
258562011-10-23 Ulrich Drepper <drepper@gmail.com>
25857
25858 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
25859
25860 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
25861 prediction.
25862 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
25863
25864 * string/strnlen.c: Don't define STRNLEN, reverse logic.
25865 Remove unused variable magic_bits.
25866 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
25867
25868 * string/strnlen.c: Define and use STRNLEN macro.
25869 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
25870 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
25871 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
25872 * wcsmbs/wcslen.c: Define and use WCSLEN.
25873 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
25874 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
25875 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
25876 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
25877 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
25878 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
25879 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25880
258812011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25882
25883 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25884 strnlen-sse2-no-bsf.
25885 Rename strlen-no-bsf to strlen-sse2-no-bsf.
25886 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
25887 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
25888 Add strnlen support.
25889 (USE_AS_STRNLEN): New macro.
25890 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
25891 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
25892 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
25893 * sysdeps/x86_64/wcslen.S: New file.
25894
258952011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
25896
25897 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25898 XMM-moves are used for copying on small sizes.
25899
259002011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25901
25902 * wcsmbs/Makefile (strop-tests): Add wcschr.
25903 * wcsmbs/test-wcschr.c: New file.
25904 * string/test-strchr.c: Update.
25905 Add wcschr support.
25906 (WIDE): New macro.
25907
259082011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25909
25910 * wcsmbs/Makefile (strop-tests): Add wcslen.
25911 * wcsmbs/test-wcslen.c: New file.
25912 * string/test-strlen.c: Update.
25913 Add wcslen support.
25914 (WIDE): New macro.
25915
259162011-10-23 Ulrich Drepper <drepper@gmail.com>
25917
25918 * po/it.po: Update from translation team.
25919
259202011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25921
25922 * sysdeps/x86_64/wcscmp.S: Update.
25923 Fix wrong comparison semantics.
25924 wcscmp shall use signed comparison not unsigned.
25925 Don't use substraction to avoid overflow bug.
25926 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25927 * wcsmbc/wcscmp.c: Likewise.
25928 * string/test-strcmp.c: Likewise.
25929 Add new tests to check cases with negative values.
25930
259312011-10-23 Ulrich Drepper <drepper@gmail.com>
25932
25933 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
25934 * sysdeps/x86_64/dla.h: ...here. New file.
25935 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
25936 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25937 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25938 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25939 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25940 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25941 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25942 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25943 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25944
259452011-10-23 Andreas Schwab <schwab@linux-m68k.org>
25946
25947 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
25948 __ynl_finite aliases.
25949
259502011-10-22 Ulrich Drepper <drepper@gmail.com>
25951
25952 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25953
25954 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
25955 define DLA_FMA.
25956 [DLA_FMA] (EMULV): Use DLA_FMA.
25957 [DLA_FMA] (MUL12): Use EMULV.
25958 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
25959 that are not needed.
25960 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25961 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25962 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25963 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25964 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25965 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25966 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25967
259682011-10-22 Andreas Schwab <schwab@linux-m68k.org>
25969
25970 * math/s_nan.c: Undef __nan.
25971 * math/s_nanf.c: Undef __nanf.
25972 * math/s_nanl.c: Undef __nanl.
25973 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
25974 "math_private.h".
25975
259762011-10-22 Ulrich Drepper <drepper@gmail.com>
25977
25978 * math/s_catan.c: Add branch predictions.
25979 * math/s_catanf.c: Likewise.
25980 * math/s_catanh.c: Likewise.
25981 * math/s_catanhf.c: Likewise.
25982 * math/s_catanhl.c: Likewise.
25983 * math/s_catanl.c: Likewise.
25984 * math/s_cexp.c: Likewise.
25985 * math/s_cexpf.c: Likewise.
25986 * math/s_cexpl.c: Likewise.
25987 * math/s_clog.c: Likewise.
25988 * math/s_clog10.c: Likewise.
25989 * math/s_clog10f.c: Likewise.
25990 * math/s_clog10l.c: Likewise.
25991 * math/s_clogf.c: Likewise.
25992 * math/s_clogl.c: Likewise.
25993 * math/s_csqrt.c: Likewise.
25994 * math/s_csqrtf.c: Likewise.
25995 * math/s_csqrtl.c: Likewise.
25996 * math/s_ctanf.c: Likewise.
25997 * math/s_ctanh.c: Likewise.
25998 * math/s_ctanhf.c: Likewise.
25999 * math/s_ctanhl.c: Likewise.
26000 * math/s_ctanl.c: Likewise.
26001
26002 * math/math_private.h: Define __nan, __nanf, __nanl.
26003 * math/s_cacosh.c: Include <math_private.h>.
26004 * math/s_cacoshl.c: Likewise.
26005 * math/s_casinh.c: Likewise.
26006 * math/s_casinhf.c: Likewise.
26007 * math/s_casinhl.c: Likewise.
26008 * math/s_ccos.c: Rely entire on ccosh.
26009 * math/s_ccosf.c: Rely entire on ccoshf.
26010 * math/s_ccosl.c: Rely entirely on ccoshl.
26011 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26012 Remove tests for FE_INVALID.
26013 * math/s_ccoshf.c: Likewise.
26014 * math/s_ccoshl.c: Likewise.
26015 * math/s_csin.c: Likewise.
26016 * math/s_csinf.c: Likewise.
26017 * math/s_csinh.c Likewise.
26018 * math/s_csinhf.c: Likewise.
26019 * math/s_csinhl.c: Likewise.
26020 * math/s_csinl.c: Likewise.
26021 * math/s_ctan.c: Likewise.
26022 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26023 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26024 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26025
260262011-10-21 Ulrich Drepper <drepper@gmail.com>
26027
26028 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26029 compilation problems.
26030
26031 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26032 __builtin_expect.
26033
260342011-10-20 Ulrich Drepper <drepper@gmail.com>
26035
26036 * sysdeps/i386/configure.in: Test for -mfma4 option.
26037 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26038 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26039 COMMON_CPUID_INDEX_80000001.
26040 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26041 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26042 use it if FMA3 is not supported.
26043 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26044
26045 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26046 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26047
260482011-10-20 Andreas Schwab <schwab@redhat.com>
26049
26050 [BZ #12892]
26051 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26052 it would create a cycle with a link time dependency.
26053
260542011-10-19 Ulrich Drepper <drepper@gmail.com>
26055
26056 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26057 instruction.
26058 * string/Makefile (strop-tests): Add rawmemchr.
26059 * string/test-rawmemchr.c: New file.
26060
26061 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26062 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26063 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26064 when compiling str{,n}casecmp and when AVX is available. Hook up
26065 new optimized code in initializers.
26066
260672011-10-19 Andreas Schwab <schwab@redhat.com>
26068
26069 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26070 __feraiseexcept instead of feraiseexcept.
26071
260722011-10-18 Ulrich Drepper <drepper@gmail.com>
26073
26074 * math/math_private.h: Define defaults for libc_fetestexcept and
26075 libc_feupdateenv.
26076 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26077 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26078 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26079 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26080 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26081 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26082 libc_fetestexcept and libc_feupdateenv.
26083
26084 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26085 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26086 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26087 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26088 libc_feholdexcept_setround.
26089
26090 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26091 Add s_nearbyint-c and s_nearbyintf-c.
26092 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26093 nearbyintf inlines.
26094 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26095 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26096 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26097 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26098
26099 * math/math_private.h: Define defaults for libc_fegetround,
26100 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26101 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26102 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26103 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26104 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26105 standard functions.
26106 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26107 Remove comments and hacks for old compiler versions.
26108 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26109 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26110 libc_feholdexceptl.
26111
261122011-10-18 Andreas Schwab <schwab@redhat.com>
26113
26114 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
26115 (__feraiseexcept_renamed): Add __NTH.
26116 (feraiseexcept): Add __NTH. Rename local variables to fix
26117 namespace violations.
26118
261192011-10-17 Ulrich Drepper <drepper@gmail.com>
26120
26121 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26122
26123 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26124
26125 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26126 recently added interfaces.
26127 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26128
26129 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26130 about macro parameter expansion.
26131
26132 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26133 __NO_MATH_INLINES is defined. Cleanups.
26134
26135 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26136 and __floorf is target has SSE4.1.
26137 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26138 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26139 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26140 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26141
26142 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26143 name.
26144 (floorf): Likewise.
26145
26146 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26147
261482011-10-17 Andreas Schwab <schwab@redhat.com>
26149
26150 * misc/sys/cdefs.h: Fix last change.
26151
26152 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26153 database lookup.
26154
261552011-10-16 Ulrich Drepper <drepper@gmail.com>
26156
26157 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26158
26159 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26160 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26161 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26162 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26163 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26164 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26165 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26166 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26167 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26168 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26169 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26170 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26171 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26172 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26173 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26174 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26175 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26176 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26177 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26178 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26179 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26180 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26181
26182 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26183 ceil, ceilf, floor, floorf.
26184
26185 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26186 Perform IRELATIVE relocations last.
26187
26188 * elf/do-rel.h: Add another parameter nrelative, replacing the
26189 local variable with the same name. Change name of the function
26190 to end in Rel or Rela (uppercase).
26191 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26192 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26193 elf_dynamic_do_##reloc function.
26194
261952011-10-15 Ulrich Drepper <drepper@gmail.com>
26196
26197 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26198 is sufficient, at least on modern CPUs.
26199
26200 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26201
26202 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26203 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26204
26205 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26206 __expl_finite.
26207 * math/bits/math-finite.h: Add entries for exp.
26208 * math/e_expl.c: Add __*_finite alias.
26209 * sysdeps/i386/fpu/e_exp.S: Likewise.
26210 * sysdeps/i386/fpu/e_expf.S: Likewise.
26211 * sysdeps/i386/fpu/e_expl.c: Likewise.
26212 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26213 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26214 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26215 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26216 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26217 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26218 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26219
26220 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26221 is sufficient, at least on modern CPUs.
26222
26223 * ctype/ctype-info.c (__ctype_init): Define.
26224 * include/ctype.h (__ctype_init): Declare.
26225 (__ctype_b_loc): The variable is always initialized.
26226 (__ctype_toupper_loc): Likewise.
26227 (__ctype_tolower_loc): Likewise.
26228 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26229 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26230
262312011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26232
26233 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26234
26235 * configure.in: Also look in $cxxmachine/include for C++ system
26236 headers.
26237
262382011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26239
26240 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26241 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26242 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26243 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26244 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26245 (USE_AS_WMEMCMP): New macro.
26246 Fixing indents.
26247 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26248 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26249 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26250 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26251 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26252 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26253 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26254 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26255 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26256 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26257 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26258 (USE_AS_WMEMCMP): New macro.
26259 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26260 * sysdeps/string/test-memcmp.c: Update.
26261 Fix simple_wmemcmp.
26262 Add new tests.
26263 * wcsmbs/wmemcmp.c: Update.
26264 (WMEMCMP): New macro.
26265 Fix overflow bug.
26266
262672011-10-12 Andreas Jaeger <aj@suse.de>
26268
26269 [BZ #13268]
26270 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26271
262722011-10-15 Ulrich Drepper <drepper@gmail.com>
26273
26274 * libio/iofwide.c (do_length): Avoid warning.
26275
26276 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26277
262782011-10-14 Ulrich Drepper <drepper@gmail.com>
26279
26280 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26281
26282 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26283 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26284 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26285 * sysdeps/i386/i686/fpu/e_log.S: New file.
26286 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26287 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26288
26289 * ctype/ctype.h: Add support for inlined isXXX functions when
26290 compiling C++ code.
26291
262922011-10-14 Andreas Schwab <schwab@redhat.com>
26293
26294 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26295
26296 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26297
262982011-10-13 Roland McGrath <roland@hack.frob.com>
26299
26300 [BZ #13291]
26301 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26302
263032011-10-13 Andreas Schwab <schwab@redhat.com>
26304
26305 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26306 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26307 feraiseexcept.
26308
26309 * sysdeps/x86_64/memrchr.S: Check for zero size.
26310
26311 * string/stratcliff.c: Add memrchr tests.
26312
263132011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26314
26315 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26316 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26317 rawmemchr-sse2 rawmemchr-sse2-bsf.
26318 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26319 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26320 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26321 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26322 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26323 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26324 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26325 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26326 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26327 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26328 * string/memrchr.c (MEMRCHR): New macro.
26329
263302011-10-12 Ulrich Drepper <drepper@gmail.com>
26331
26332 Add integration with gcc's -ffinite-math-only and optimize wrapper
26333 functions in libm.
26334 * Versions.def: Define GLIBC_2.15 version for libm.
26335 * math/Makefile (headers): Add bits/math-finite.h.
26336 * math/bits/math-finite.h: New file.
26337 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26338 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26339 * math/e_acoshl.c: Add __*_finite alias.
26340 * math/e_acosl.c: Likewise.
26341 * math/e_asinl.c: Likewise.
26342 * math/e_atan2l.c: Likewise.
26343 * math/e_atanhl.c: Likewise.
26344 * math/e_coshl.c: Likewise.
26345 * math/e_exp10.c: Likewise.
26346 * math/e_exp10f.c: Likewise.
26347 * math/e_exp10l.c: Likewise.
26348 * math/e_exp2l.c: Likewise.
26349 * math/e_fmodl.c: Likewise.
26350 * math/e_gammal_r.c: Likewise.
26351 * math/e_hypotl.c: Likewise.
26352 * math/e_j0l.c: Likewise.
26353 * math/e_j1l.c: Likewise.
26354 * math/e_jnl.c: Likewise.
26355 * math/e_lgammal_r.c: Likewise.
26356 * math/e_log10l.c: Likewise.
26357 * math/e_log2l.c: Likewise.
26358 * math/e_logl.c: Likewise.
26359 * math/e_powl.c: Likewise.
26360 * math/e_sinhl.c: Likewise.
26361 * math/e_sqrtl.c: Likewise.
26362 * math/e_scalb.c: Completely rewritten and optimized.
26363 * math/e_scalbf.c: Likewise.
26364 * math/e_scalbl.c: Likewise.
26365 * math/w_acos.c: Likewise.
26366 * math/w_acosf.c: Likewise.
26367 * math/w_acosl.c: Likewise.
26368 * math/w_acosh.c: Likewise.
26369 * math/w_acoshf.c: Likewise.
26370 * math/w_acoshl.c: Likewise.
26371 * math/w_asin.c: Likewise.
26372 * math/w_asinf.c: Likewise.
26373 * math/w_asinl.c: Likewise.
26374 * math/w_atan2.c: Likewise.
26375 * math/w_atan2f.c: Likewise.
26376 * math/w_atan2l.c: Likewise.
26377 * math/w_atanh.c: Likewise.
26378 * math/w_atanhf.c: Likewise.
26379 * math/w_atanhl.c: Likewise.
26380 * math/w_exp10.c: Likewise.
26381 * math/w_exp10f.c: Likewise.
26382 * math/w_exp10l.c: Likewise.
26383 * math/w_fmod.c: Likewise.
26384 * math/w_fmodf.c: Likewise.
26385 * math/w_fmodl.c: Likewise.
26386 * math/w_j0.c: Likewise.
26387 * math/w_j0f.c: Likewise.
26388 * math/w_j0l.c: Likewise.
26389 * math/w_j1.c: Likewise.
26390 * math/w_j1f.c: Likewise.
26391 * math/w_j1l.c: Likewise.
26392 * math/w_jn.c: Likewise.
26393 * math/w_jnf.c: Likewise.
26394 * math/w_log.c: Likewise.
26395 * math/w_logf.c: Likewise.
26396 * math/w_logl.c: Likewise.
26397 * math/w_log10.c: Likewise.
26398 * math/w_log10f.c: Likewise.
26399 * math/w_log10l.c: Likewise.
26400 * math/w_log2.c: Likewise.
26401 * math/w_log2f.c: Likewise.
26402 * math/w_log2l.c: Likewise.
26403 * math/w_pow.c: Likewise.
26404 * math/w_powf.c: Likewise.
26405 * math/w_powl.c: Likewise.
26406 * math/w_remainder.c: Likewise.
26407 * math/w_remainderf.c: Likewise.
26408 * math/w_remainderl.c: Likewise.
26409 * math/w_scalb.c: Likewise.
26410 * math/w_scalbf.c: Likewise.
26411 * math/w_scalbl.c: Likewise.
26412 * math/w_sqrt.c: Likewise.
26413 * math/w_sqrtf.c: Likewise.
26414 * math/w_sqrtl.c: Likewise.
26415 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26416 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26417 used.
26418 * math/math_private.h: Declare __kernel_standard_f.
26419 * math/w_cosh.c: Remove cruft and optimize a bit.
26420 * math/w_coshf.c: Likewise.
26421 * math/w_coshl.c: Likewise.
26422 * math/w_exp2.c: Likewise.
26423 * math/w_exp2f.c: Likewise.
26424 * math/w_exp2l.c: Likewise.
26425 * math/w_hypot.c: Likewise.
26426 * math/w_hypotf.c: Likewise.
26427 * math/w_hypotl.c: Likewise.
26428 * math/w_lgamma.c: Likewise.
26429 * math/w_lgamma_r.c: Likewise.
26430 * math/w_lgammaf.c: Likewise.
26431 * math/w_lgammaf_r.c: Likewise.
26432 * math/w_lgammal.c: Likewise.
26433 * math/w_lgammal_r.c: Likewise.
26434 * math/w_sinh.c: Likewise.
26435 * math/w_sinhf.c: Likewise.
26436 * math/w_sinhl.c: Likewise.
26437 * math/w_tgamma.c: Likewise.
26438 * math/w_tgammaf.c: Likewise.
26439 * math/w_tgammal.c: Likewise.
26440 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26441 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26442 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26443 Minor optimizations. Pretty printing. Remove cruft.
26444 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26445 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26446 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26447 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26448 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26449 * sysdeps/i386/fpu/e_asin.S: Likewise.
26450 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26451 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26452 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26453 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26454 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26455 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26456 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26457 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26458 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26459 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26460 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26461 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26462 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26463 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26464 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26465 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26466 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26467 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26468 * sysdeps/i386/fpu/e_log.S: Likewise.
26469 * sysdeps/i386/fpu/e_log10.S: Likewise.
26470 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26471 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26472 * sysdeps/i386/fpu/e_log2.S: Likewise.
26473 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26474 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26475 * sysdeps/i386/fpu/e_logf.S: Likewise.
26476 * sysdeps/i386/fpu/e_logl.S: Likewise.
26477 * sysdeps/i386/fpu/e_pow.S: Likewise.
26478 * sysdeps/i386/fpu/e_powf.S: Likewise.
26479 * sysdeps/i386/fpu/e_powl.S: Likewise.
26480 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26481 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26482 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26483 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26484 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26485 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26486 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26487 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26488 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26489 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26490 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26491 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26492 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26493 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26494 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26495 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26496 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26497 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26498 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26499 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26500 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26501 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26502 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26503 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26504 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26505 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26506 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26507 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26508 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26509 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26510 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26511 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26512 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26513 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26514 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26515 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26516 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26517 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26518 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26519 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26520 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26521 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26522 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26523 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26524 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26525 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26526 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26527 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26528 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26529 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26530 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26531 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26532 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26533 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26534 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26535 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26536 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26537 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26538 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26539 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26540 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26541 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26542 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26543 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26544 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26545 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26546 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26547 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26548 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26549 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26550 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26551 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26552 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26553 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26554 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26555 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26556 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26557 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26558 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26559 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26560 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26561 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26562 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26563 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26564 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26565 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26566 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26567 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26568 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26569 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26570 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26571 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26572 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26573 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26574 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26575 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26576 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26577 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26578 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26579 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26580 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26581 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26582 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26583 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26584 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26585 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26586 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26587 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26588 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26589 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26590 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26591 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26592 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26593 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26594 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26595 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26596 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26597 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26598 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26599 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
26600 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26601 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26602 (__isnanf): Likewise.
26603 (__isinf_ns): Likewise.
26604 (__isinf_nsf): Likewise.
26605 (__finite): Likewise.
26606 (__finitef): Likewise.
26607 (__ieee754_sqrt): Define as macro.
26608 (__ieee754_sqrtf): Define as macro.
26609 (__ieee754_sqrtl): Define as macro.
26610 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26611 inlined copy.
26612 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26613 __FINITE_MATH_ONLY__ consistent.
26614 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26615
266162011-10-10 Andreas Schwab <schwab@linux-m68k.org>
26617
26618 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26619 of rawmemchr.
26620
26621 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26622
266232011-10-09 Ulrich Drepper <drepper@gmail.com>
26624
26625 * po/ja.po: Update from translation team.
26626
266272011-10-08 Roland McGrath <roland@hack.frob.com>
26628
26629 * locale/programs/locarchive.c (prepare_address_space): New function.
26630 (create_archive, enlarge_archive, open_archive): Use it.
26631
26632 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26633 inside [SHARED], where it is used.
26634
26635 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26636
26637 * nss/getent.c (netgroup_keys): Remove unused variable.
26638 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26639
266402011-10-08 Ulrich Drepper <drepper@gmail.com>
26641
26642 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26643 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26644 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26645 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26646 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26647 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26648 * math/Makefile (libm-calls): Add s_isinf_ns.
26649 * math/divtc3.c: Use __isinf_nsl instead of isinf.
26650 * math/multc3.c: Likewise.
26651 * math/s_casin.c: Likewise.
26652 * math/s_casinf.c: Likewise.
26653 * math/s_casinl.c: Likewise.
26654 * math/s_ccos.c: Likewise.
26655 * math/s_ccosf.c: Likewise.
26656 * math/s_ccosl.c: Likewise.
26657 * math/s_ctan.c: Likewise.
26658 * math/s_ctanf.c: Likewise.
26659 * math/s_ctanh.c: Likewise.
26660 * math/s_ctanhf.c: Likewise.
26661 * math/s_ctanhl.c: Likewise.
26662 * math/s_ctanl.c: Likewise.
26663 * math/w_fmod.c: Likewise.
26664 * math/w_fmodf.c: Likewise.
26665 * math/w_fmodl.c: Likewise.
26666 * math/w_remainder.c: Likewise.
26667 * math/w_remainderf.c: Likewise.
26668 * math/w_remainderl.c: Likewise.
26669 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26670 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26671 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26672 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26673 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26674 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26675 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26676 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26677
26678 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26679 of the number.
26680 * stdio-common/printf_fphex.c: Likewise.
26681 * stdio-common/printf_size.c: Likewise.
26682
26683 * math/e_exp10.c: Include math_private.h using <...> not "...".
26684 * math/e_exp10f.c: Likewise.
26685 * math/e_exp10l.c: Likewise.
26686 * math/e_exp2l.c: Likewise.
26687 * math/e_j0l.c: Likewise.
26688 * math/e_j1l.c: Likewise.
26689 * math/e_jnl.c: Likewise.
26690 * math/e_lgammal_r.c: Likewise.
26691 * math/e_rem_pio2l.c: Likewise.
26692 * math/e_scalb.c: Likewise.
26693 * math/e_scalbf.c: Likewise.
26694 * math/e_scalbl.c: Likewise.
26695 * math/k_cosl.c: Likewise.
26696 * math/k_sinl.c: Likewise.
26697 * math/k_tanl.c: Likewise.
26698 * math/s_cacoshf.c: Likewise.
26699 * math/s_catan.c: Likewise.
26700 * math/s_catanf.c: Likewise.
26701 * math/s_catanh.c: Likewise.
26702 * math/s_catanhf.c: Likewise.
26703 * math/s_catanhl.c: Likewise.
26704 * math/s_catanl.c: Likewise.
26705 * math/s_ccosh.c: Likewise.
26706 * math/s_ccoshf.c: Likewise.
26707 * math/s_ccoshl.c: Likewise.
26708 * math/s_cexp.c: Likewise.
26709 * math/s_cexpf.c: Likewise.
26710 * math/s_cexpl.c: Likewise.
26711 * math/s_clog.c: Likewise.
26712 * math/s_clog10.c: Likewise.
26713 * math/s_clog10f.c: Likewise.
26714 * math/s_clog10l.c: Likewise.
26715 * math/s_clogf.c: Likewise.
26716 * math/s_clogl.c: Likewise.
26717 * math/s_csin.c: Likewise.
26718 * math/s_csinf.c: Likewise.
26719 * math/s_csinh.c: Likewise.
26720 * math/s_csinhf.c: Likewise.
26721 * math/s_csinhl.c: Likewise.
26722 * math/s_csinl.c: Likewise.
26723 * math/s_csqrt.c: Likewise.
26724 * math/s_csqrtf.c: Likewise.
26725 * math/s_csqrtl.c: Likewise.
26726 * math/s_ctan.c: Likewise.
26727 * math/s_ctanf.c: Likewise.
26728 * math/s_ctanh.c: Likewise.
26729 * math/s_ctanhf.c: Likewise.
26730 * math/s_ctanhl.c: Likewise.
26731 * math/s_ctanl.c: Likewise.
26732 * math/s_ldexp.c: Likewise.
26733 * math/s_ldexpf.c: Likewise.
26734 * math/s_ldexpl.c: Likewise.
26735 * math/s_significand.c: Likewise.
26736 * math/s_significandf.c: Likewise.
26737 * math/s_significandl.c: Likewise.
26738 * math/w_acos.c: Likewise.
26739 * math/w_acosf.c: Likewise.
26740 * math/w_acosh.c: Likewise.
26741 * math/w_acoshf.c: Likewise.
26742 * math/w_acoshl.c: Likewise.
26743 * math/w_acosl.c: Likewise.
26744 * math/w_asin.c: Likewise.
26745 * math/w_asinf.c: Likewise.
26746 * math/w_asinl.c: Likewise.
26747 * math/w_atan2.c: Likewise.
26748 * math/w_atan2f.c: Likewise.
26749 * math/w_atan2l.c: Likewise.
26750 * math/w_atanh.c: Likewise.
26751 * math/w_atanhf.c: Likewise.
26752 * math/w_atanhl.c: Likewise.
26753 * math/w_cosh.c: Likewise.
26754 * math/w_coshf.c: Likewise.
26755 * math/w_coshl.c: Likewise.
26756 * math/w_dremf.c: Likewise.
26757 * math/w_exp10.c: Likewise.
26758 * math/w_exp10f.c: Likewise.
26759 * math/w_exp10l.c: Likewise.
26760 * math/w_exp2.c: Likewise.
26761 * math/w_exp2f.c: Likewise.
26762 * math/w_fmod.c: Likewise.
26763 * math/w_fmodf.c: Likewise.
26764 * math/w_fmodl.c: Likewise.
26765 * math/w_hypot.c: Likewise.
26766 * math/w_hypotf.c: Likewise.
26767 * math/w_hypotl.c: Likewise.
26768 * math/w_j0.c: Likewise.
26769 * math/w_j0f.c: Likewise.
26770 * math/w_j0l.c: Likewise.
26771 * math/w_j1.c: Likewise.
26772 * math/w_j1f.c: Likewise.
26773 * math/w_j1l.c: Likewise.
26774 * math/w_jn.c: Likewise.
26775 * math/w_jnf.c: Likewise.
26776 * math/w_jnl.c: Likewise.
26777 * math/w_lgamma.c: Likewise.
26778 * math/w_lgamma_r.c: Likewise.
26779 * math/w_lgammaf.c: Likewise.
26780 * math/w_lgammaf_r.c: Likewise.
26781 * math/w_lgammal.c: Likewise.
26782 * math/w_lgammal_r.c: Likewise.
26783 * math/w_log.c: Likewise.
26784 * math/w_log10.c: Likewise.
26785 * math/w_log10f.c: Likewise.
26786 * math/w_log10l.c: Likewise.
26787 * math/w_log2.c: Likewise.
26788 * math/w_log2f.c: Likewise.
26789 * math/w_log2l.c: Likewise.
26790 * math/w_logf.c: Likewise.
26791 * math/w_logl.c: Likewise.
26792 * math/w_pow.c: Likewise.
26793 * math/w_powf.c: Likewise.
26794 * math/w_powl.c: Likewise.
26795 * math/w_remainder.c: Likewise.
26796 * math/w_remainderf.c: Likewise.
26797 * math/w_remainderl.c: Likewise.
26798 * math/w_scalb.c: Likewise.
26799 * math/w_scalbf.c: Likewise.
26800 * math/w_scalbl.c: Likewise.
26801 * math/w_sinh.c: Likewise.
26802 * math/w_sinhf.c: Likewise.
26803 * math/w_sinhl.c: Likewise.
26804 * math/w_sqrt.c: Likewise.
26805 * math/w_sqrtf.c: Likewise.
26806 * math/w_sqrtl.c: Likewise.
26807 * math/w_tgamma.c: Likewise.
26808 * math/w_tgammaf.c: Likewise.
26809 * math/w_tgammal.c: Likewise.
26810
26811 * po/ja.po: Update from translation team.
26812
268132011-09-29 Andreas Jaeger <aj@suse.de>
26814
26815 [BZ #13179]
26816 * sunrpc/netname.c (netname2host): Fix logic.
26817
26818 [BZ #6779]
26819 [BZ #6783]
26820 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
26821 correctly.
26822 * math/w_remainder.c (__remainder): Likewise.
26823 * math/w_remainderf.c (__remainderf): Likewise.
26824 * math/libm-test.inc (remainder_test): Add test cases.
26825
268262011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26827
26828 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
26829 sdiv_qrnnd.
26830
268312011-10-07 Ulrich Drepper <drepper@gmail.com>
26832
26833 * string/test-memcmp.c: Avoid unncessary #defines.
26834 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26835
268362011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26837
26838 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
26839 Use new sse2 version for core i3 - i7 as it's faster
26840 than sse42 version.
26841 (bit_Prefer_PMINUB_for_stringop): New.
26842 * sysdeps/x86_64/rawmemchr.S: Update.
26843 Replace with faster SSE2 version.
26844 * sysdeps/x86_64/memrchr.S: New file.
26845 * sysdeps/x86_64/memchr.S: Update.
26846 Replace with faster SSE2 version.
26847
268482011-09-12 Marek Polacek <mpolacek@redhat.com>
26849
26850 * elf/dl-load.c (lose): Add cast to avoid warning.
26851
268522011-10-07 Ulrich Drepper <drepper@gmail.com>
26853
26854 * po/ca.po: Update from translation team.
26855
26856 * inet/getnetgrent_r.c: Hook up nscd.
26857 * nscd/Makefile (routines): Add nscd_netgroup.
26858 (nscd-modules): Add netgroupcache.
26859 (CFLAGS-netgroupcache.c): Define.
26860 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
26861 (cache_search): Add const to second parameter.
26862 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
26863 INNETGR.
26864 (dbs): Add netgrdb entry.
26865 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
26866 (verify_persistent_db): Handle netgrdb.
26867 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
26868 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
26869 GETFDNETGR.
26870 (netgroup_response_header): Define.
26871 (innetgroup_response_header): Define.
26872 (datahead): Add netgroup_response_header and innetgroup_response_header
26873 elements.
26874 * nscd/nscd.conf: Add entries for netgroup cache.
26875 * nscd/nscd.h (dbtype): Add netgrdb.
26876 (_PATH_NSCD_NETGROUP_DB): Define.
26877 (netgroup_iov_disabled): Declare.
26878 (xmalloc, xcalloc, xrealloc): Move declarations here.
26879 (cache_search): Adjust prototype.
26880 Add netgroup-related prototypes.
26881 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
26882 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
26883 (__nscd_innetgr): Declare.
26884 * nscd/selinux.c (perms): Use access_vector_t as element type and
26885 add netgroup-related initializers.
26886 * nscd/netgroupcache.c: New file.
26887 * nscd/nscd_netgroup.c: New file.
26888 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
26889 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
26890 For four parameters use innetgr.
26891 * nss/nss_files/files-init.c: Add definition and callback for netgr.
26892 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
26893 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
26894 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
26895
26896 * nscd/connections.c (register_traced_file): Don't register file
26897 for disabled databases.
26898
268992011-10-06 Ulrich Drepper <drepper@gmail.com>
26900
26901 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
26902
26903 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
26904 from tree and freeing node.
26905
269062011-09-25 Jiri Olsa <jolsa@redhat.com>
26907
26908 * nss/nsswitch.c (__nss_database_lookup): Handle
26909 nss_parse_service_list out of memory case.
26910
269112011-09-15 Jiri Olsa <jolsa@redhat.com>
26912
26913 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
26914 out of memory case.
26915
269162011-10-04 Andreas Schwab <schwab@redhat.com>
26917
26918 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
26919 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
26920 pass it down.
26921 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
26922 elf_machine_rela, elf_machine_lazy_rel.
26923 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
26924 (ELF_DYNAMIC_DO_REL): Likewise.
26925 (ELF_DYNAMIC_DO_RELA): Likewise.
26926 (ELF_DYNAMIC_RELOCATE): Likewise.
26927 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
26928 to ELF_DYNAMIC_DO_REL.
26929 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
26930 (dl_main): In trace mode always set __RTLD_NOIFUNC.
26931 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
26932 elf_machine_rela.
26933 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
26934 skip_ifunc, don't call ifunc function if non-zero.
26935 (elf_machine_rela): Likewise.
26936 (elf_machine_lazy_rel): Likewise.
26937 (elf_machine_lazy_rela): Likewise.
26938 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
26939 (elf_machine_lazy_rel): Likewise.
26940 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26941 Likewise.
26942 (elf_machine_lazy_rel): Likewise.
26943 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26944 Likewise.
26945 (elf_machine_lazy_rel): Likewise.
26946 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
26947 (elf_machine_lazy_rel): Likewise.
26948 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
26949 (elf_machine_lazy_rel): Likewise.
26950 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26951 (elf_machine_lazy_rel): Likewise.
26952 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26953 (elf_machine_lazy_rel): Likewise.
26954 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26955 (elf_machine_lazy_rel): Likewise.
26956 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26957 (elf_machine_lazy_rel): Likewise.
26958
269592011-09-28 Ulrich Drepper <drepper@gmail.com>
26960
26961 * nss/nss_files/files-init.c (_nss_files_init): Use static
26962 initialization for all the *_traced_file variables.
26963
269642011-09-28 Andreas Schwab <schwab@redhat.com>
26965
26966 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26967
269682011-09-27 Roland McGrath <roland@hack.frob.com>
26969
26970 [BZ #13226]
26971 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
26972
269732011-09-27 Andreas Schwab <schwab@redhat.com>
26974
26975 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26976 Reread the line before reparsing it.
26977
269782011-09-26 Andreas Schwab <schwab@redhat.com>
26979
26980 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
26981
269822011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
26983 Maxim Kuvyrkov <maxim@codesourcery.com>
26984 Joseph Myers <joseph@codesourcery.com>
26985
26986 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
26987 if needed for __stack_chk_guard.
26988
269892011-09-19 Roland McGrath <roland@hack.frob.com>
26990
26991 * sysdeps/posix/spawni.c (script_execute): Always define it.
26992 It will be optimized away if unused.
26993 (maybe_script_execute): New function.
26994 (__spawni): Call it.
26995
26996 * Makerules: Don't include tls.make.
26997 (config-tls): Always set to thread.
26998 * tls.make.c: File removed.
26999
270002011-09-19 Mike Frysinger <vapier@gentoo.org>
27001
27002 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27003 * config.make.in (CPPFLAGS-config): New substituted variable.
27004
270052011-09-15 Ulrich Drepper <drepper@gmail.com>
27006
27007 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27008
27009 [BZ #13192]
27010 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27011 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27012
270132011-09-15 Roland McGrath <roland@hack.frob.com>
27014
27015 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27016 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27017 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27018 (CALL_FAIL): Likewise.
27019 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27020 (CALL_FAIL): Macro removed.
27021 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27022
270232011-09-15 Ulrich Drepper <drepper@gmail.com>
27024
27025 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27026 for __FINITE_MATH_ONLY__ == 1.
27027
270282011-09-15 Andreas Schwab <schwab@redhat.com>
27029
27030 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27031 __ieee754_sqrt instead of sqrt.
27032 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27033 __ieee754_sqrtf instead of sqrtf.
27034 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27035 __floorf instead of floorf.
27036 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27037 __floorf, __truncf instead of floorf, truncf.
27038
270392011-09-14 Ulrich Drepper <drepper@gmail.com>
27040
27041 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27042
27043 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27044 __extern_always_inline.
27045 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27046 32-bit.
27047
270482011-09-14 Andreas Schwab <schwab@redhat.com>
27049
27050 * elf/rtld.c (dl_main): Also relocate in dependency order when
27051 doing symbol dependency testing.
27052
270532011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27054
27055 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27056 Always define `refsym'.
27057
270582011-09-13 Andreas Schwab <schwab@redhat.com>
27059
27060 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27061 (__FD_ELT): Renamed from __FDELT.
27062 * misc/bits/select2.h (__FD_ELT): Likewise.
27063 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27064 __FD_MASK instead of __FDELT, __FDMASK.
27065 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27066 Likewise.
27067 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27068 Likewise.
27069
27070 * elf/Makefile (gen-ldd): Fix pattern.
27071
27072 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27073 (init_tls): Likewise.
27074
270752011-09-12 Ulrich Drepper <drepper@gmail.com>
27076
27077 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27078
270792011-09-12 Andreas Schwab <schwab@redhat.com>
27080
27081 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27082 `struct cmsghdr *' instead of `void *'.
27083 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27084 Likewise.
27085
270862011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27087
27088 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27089 if non-absolute.
27090 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27091 ldd_rewrite_script.
27092
270932011-09-11 Ulrich Drepper <drepper@gmail.com>
27094
27095 * configure.in: Remove --with-tls option.
27096 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27097 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27098 out in case it is missing.
27099 * sysdeps/ia64/elf/configure.in: Likewise.
27100 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27101 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27102 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27103 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27104 * sysdeps/sh/elf/configure.in: Likewise.
27105 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27106 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27107 * sysdeps/x86_64/elf/configure.in: Likewise.
27108 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27109 * sysdeps/mach/hurd/tls.h: Likewise.
27110
27111 [BZ #13067]
27112 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27113
27114 [BZ #13090]
27115 * configure.in: Fix use of AC_INIT.
27116
27117 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27118
271192011-09-10 Ulrich Drepper <drepper@gmail.com>
27120
27121 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27122 __set_errno.
27123 * malloc/hooks.c: Likewise.
27124
27125 [BZ #11929]
27126 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27127 variables statically.
27128 (narenas): Initialize.
27129 (list_lock): Initialize.
27130 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27131 initializtion of main_arena and list_lock. Small cleanups.
27132 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27133 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27134 Add initializers to main_arena and mp_.
27135 (malloc_state): Remove pagesize member. Change all users to use
27136 GLRO(dl_pagesize).
27137
27138 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27139 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27140 is always initialized.
27141
27142 * malloc/malloc.c: Removed unused configurations and dead code.
27143 * malloc/arena.c: Likewise.
27144 * malloc/hooks.c: Likewise.
27145 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
27146
27147 * include/tls.h: Removed. USE___THREAD must always be defined.
27148 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27149 * elf/dl-libc.c: Likewise.
27150 * elf/dl-tsd.c: Likewise.
27151 * include/errno.h: Likewise.
27152 * include/netdb.h: Likewise.
27153 * include/resolv.h: Likewise.
27154 * inet/herrno-loc.c: Likewise.
27155 * inet/herrno.c: Likewise.
27156 * malloc/arena.c: Likewise.
27157 * malloc/hooks.c: Likewise.
27158 * malloc/malloc.c: Likewise.
27159 * resolv/res-state.c: Likewise.
27160 * resolv/res_libc.c: Likewise.
27161 * sysdeps/i386/dl-machine.h: Likewise.
27162 * sysdeps/ia64/dl-machine.h: Likewise.
27163 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27164 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27165 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27166 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27167 * sysdeps/sh/dl-machine.h: Likewise.
27168 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27169 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27170 * sysdeps/unix/i386/sysdep.S: Likewise.
27171 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27172 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27173 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27174 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27175 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27176 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27177 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27178 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27179 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27180 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27181 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27182 * sysdeps/x86_64/dl-machine.h: Likewise.
27183 * tls.make.c: Likewise.
27184
27185 * configure.in: Remove --with-__thread option. Make tests for
27186 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27187 tls_model attribute fail if no support is available. Remove
27188 USE_IN_LIBIO.
27189 * Makeconfig: Adjust for dropped configure option. All features are
27190 now mandatory.
27191 * Makerules: Likewise.
27192 * Versions.def: Likewise.
27193 * argp/argp-fmtstream.c: Likewise.
27194 * argp/argp-fmtstream.h: Likewise.
27195 * argp/argp-help.c: Likewise.
27196 * assert/assert.c: Likewise.
27197 * config.h.in: Likewise.
27198 * config.make.in: Likewise.
27199 * configure: Likewise.
27200 * configure.in: Likewise.
27201 * csu/Versions: Likewise.
27202 * csu/init.c: Likewise.
27203 * elf/tst-audit2.c: Likewise.
27204 * elf/tst-tls10.c: Likewise.
27205 * elf/tst-tls10.h: Likewise.
27206 * elf/tst-tls11.c: Likewise.
27207 * elf/tst-tls12.c: Likewise.
27208 * elf/tst-tls14.c: Likewise.
27209 * elf/tst-tlsmod11.c: Likewise.
27210 * elf/tst-tlsmod12.c: Likewise.
27211 * elf/tst-tlsmod13.c: Likewise.
27212 * elf/tst-tlsmod13a.c: Likewise.
27213 * elf/tst-tlsmod14a.c: Likewise.
27214 * elf/tst-tlsmod15b.c: Likewise.
27215 * elf/tst-tlsmod16a.c: Likewise.
27216 * elf/tst-tlsmod16b.c: Likewise.
27217 * elf/tst-tlsmod7.c: Likewise.
27218 * elf/tst-tlsmod8.c: Likewise.
27219 * elf/tst-tlsmod9.c: Likewise.
27220 * gmon/gmon.c: Likewise.
27221 * grp/fgetgrent_r.c: Likewise.
27222 * grp/putgrent.c: Likewise.
27223 * hurd/fopenport.c: Likewise.
27224 * include/libc-symbols.h: Likewise.
27225 * include/tls.h: Likewise.
27226 * intl/gettextP.h: Likewise.
27227 * intl/loadinfo.h: Likewise.
27228 * locale/global-locale.c: Likewise.
27229 * locale/localeinfo.h: Likewise.
27230 * mach/devstream.c: Likewise.
27231 * malloc/arena.c: Likewise.
27232 * malloc/set-freeres.c: Likewise.
27233 * misc/err.c: Likewise.
27234 * misc/getttyent.c: Likewise.
27235 * misc/mntent_r.c: Likewise.
27236 * posix/getopt.c: Likewise.
27237 * posix/wordexp.c: Likewise.
27238 * pwd/fgetpwent_r.c: Likewise.
27239 * resolv/Versions: Likewise.
27240 * resolv/res_hconf.c: Likewise.
27241 * shadow/fgetspent_r.c: Likewise.
27242 * shadow/putspent.c: Likewise.
27243 * stdio-common/printf_fphex.c: Likewise.
27244 * stdio-common/tmpfile.c: Likewise.
27245 * stdlib/abort.c: Likewise.
27246 * stdlib/fmtmsg.c: Likewise.
27247 * sunrpc/auth_unix.c: Likewise.
27248 * sunrpc/clnt_perr.c: Likewise.
27249 * sunrpc/clnt_tcp.c: Likewise.
27250 * sunrpc/clnt_udp.c: Likewise.
27251 * sunrpc/clnt_unix.c: Likewise.
27252 * sunrpc/openchild.c: Likewise.
27253 * sunrpc/svc_simple.c: Likewise.
27254 * sunrpc/svc_tcp.c: Likewise.
27255 * sunrpc/svc_udp.c: Likewise.
27256 * sunrpc/svc_unix.c: Likewise.
27257 * sunrpc/xdr.c: Likewise.
27258 * sunrpc/xdr_array.c: Likewise.
27259 * sunrpc/xdr_rec.c: Likewise.
27260 * sunrpc/xdr_ref.c: Likewise.
27261 * sunrpc/xdr_stdio.c: Likewise.
27262
272632011-09-09 Ulrich Drepper <drepper@gmail.com>
27264
27265 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27266
272672011-07-03 Andreas Jaeger <aj@suse.de>
27268
27269 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27270 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27271 regenerate with gen-libm-tests.pl.
27272
272732010-05-12 Petr Baudis <pasky@suse.cz>
27274
27275 [BZ #11589]
27276 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27277 around j0() zero points by switching to j1().
27278 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27279 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27280 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27281 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27282
272832011-09-09 Ulrich Drepper <drepper@gmail.com>
27284
27285 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27286 instead of 0.
27287 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
27288 instead of 0.
27289 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27290 Patch in part by Pavel Roskin <proski@gnu.org>.
27291
27292 [BZ #13138]
27293 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27294 realloc.
27295 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27296 Free memory block if necessary.
27297
27298 [BZ #12847]
27299 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27300 be NULL. Don't lock in this case.
27301
273022011-09-09 Roland McGrath <roland@hack.frob.com>
27303
27304 * elf/elf.h (ELFOSABI_GNU): New macro.
27305 (ELFOSABI_LINUX): Define to that.
27306
273072011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27308
27309 * string/strncat.c (strncat): Undef the symbol in case it has been
27310 defined in bits/string.h.
27311
273122011-09-09 Ulrich Drepper <drepper@gmail.com>
27313
27314 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27315
27316 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
27317 link map.
27318
273192011-08-17 Andreas Jaeger <aj@suse.de>
27320
27321 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27322
273232011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27324 Ian Lance Taylor <iant@google.com>
27325
27326 * math/libm-test.inc (lround_test): New testcase.
27327 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27328
273292011-09-08 Ulrich Drepper <drepper@gmail.com>
27330
27331 * Makefile: Remove support for automatic cvs check-ins.
27332 * Makerules: Likewise.
27333 * config.make.in: Likewise.
27334 * configure.in: Likewise.
27335 * intl/Makefile: Likewise.
27336 * locale/Makefile: Likewise.
27337 * po/Makefile: Likewise.
27338 * posix/Makefile: Likewise.
27339 * sysdeps/gnu/Makefile: Likewise.
27340 * sysdeps/mach/hurd/Makefile: Likewise.
27341 * sysdeps/sparc/sparc32/Makefile: Likewise.
27342
27343 [BZ #13118]
27344 * posix/Makefile (bug-regex32-ENV): Define.
27345 Patch by John Stanley <jpsinthemix@verizon.net>.
27346
27347 * misc/Makefile (headers): Add bits/select2.h.
27348 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27349 * misc/bits/select2.h: New file.
27350 * include/bits/select2.h: New file.
27351 * debug/Makefile (routines): Add fdelt_chk.
27352 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27353 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27354 FD_ISSET.
27355 * debug/fdelt_chk.c: New file.
27356
27357 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27358 * wcsmbs/test-wmemcmp.c: Likewise.
27359 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
27360 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
27361
273622011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27363
27364 * string/Makefile (strop-tests): Add memcmp.
27365 * string/test-wmemcmp.c: New file.
27366 * string/test-memcmp.c: Add wmemcmp support.
27367
273682011-09-08 Roland McGrath <roland@hack.frob.com>
27369
27370 [BZ #13153]
27371 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27372 2011-07-19 change.
27373
27374 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27375 garbage value in a __mach_port_mod_refs call in the cases of the
27376 task-self and thread-self ports.
27377
273782011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27379
27380 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27381
273822011-09-08 Andreas Schwab <schwab@redhat.com>
27383
27384 * elf/dl-load.c (lose): Check for non-null L.
27385
273862011-09-07 Ulrich Drepper <drepper@gmail.com>
27387
27388 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27389
27390 * elf/dl-libc.c (dlerror_run): Pass back error code from
27391 dl_catch_error.
27392
27393 [BZ #13123]
27394 * elf/dl-load.c (lose): Free l_origin if it is valid.
27395
27396 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27397 names.
27398 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27399 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27400 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27401 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27402 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27403 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27404
274052011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27406
27407 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27408 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27409 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27410 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27411 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27412 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27413 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27414 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27415 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27416 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27417
274182011-08-15 Alan Modra <amodra@gmail.com>
27419
27420 [BZ #13092]
27421 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27422 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27423 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27424 ppc_mcount to static-only-routines.
27425 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27426 __mcount_internal.
27427 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27428 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27429
274302011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27431
27432 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27433 for finite and infinity parameters.
27434
274352011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27436
27437 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27438 and add nop instructions for throughput optimization.
27439 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27440
274412011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27442
27443 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27444 aligned copy for power7 with vector-scalar instructions.
27445 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27446
274472011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27448
27449 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27450 AVX check.
27451
274522011-09-07 Andreas Schwab <schwab@redhat.com>
27453
27454 [BZ #13144]
27455 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27456 last change.
27457
274582011-09-07 Ulrich Drepper <drepper@gmail.com>
27459
27460 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27461 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27462 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27463 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27464 clock_gettime.
27465
274662011-09-06 Ulrich Drepper <drepper@gmail.com>
27467
27468 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27469 Forgot to demangle the pointer.
27470
27471 * sysdeps/i386/sysdep.h: Define atom_text_section.
27472 * sysdeps/x86_64/sysdep.h: Likewise.
27473 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27474 section with atom_text_section.
27475 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27476 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27477 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27478 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27479 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27480
27481 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27482 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27483 already be defined. Change to take two parameters and don't assign
27484 result to variable. Adjust all users.
27485 Define INTERNAL_GETTIME if not already defined.
27486 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27487 call.
27488 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27489 HAVE_CLOCK_GETTIME_VSYSCALL.
27490 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27491
27492 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27493 gettimeofday vsyscall, just use time.
27494
274952011-09-06 Andreas Schwab <schwab@redhat.com>
27496
27497 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27498 <errno.h>.
27499
275002011-09-06 Ulrich Drepper <drepper@gmail.com>
27501
27502 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27503 syscall on x86-64.
27504 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27505 syscall.
27506 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27507 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27508 syscall if possible.
27509
275102011-09-05 Ulrich Drepper <drepper@gmail.com>
27511
27512 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27513 e_ident. Don't pass to find_mapsXX.
27514 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27515
275162011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27517
27518 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27519 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27520 * sysdeps/x86_64/multiarch/strchr.S: Update.
27521 Check bit_slow_BSF bit.
27522 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27523 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27524 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27525
275262011-09-05 Ulrich Drepper <drepper@gmail.com>
27527
27528 [BZ #13134]
27529 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27530 before glibc 2.15.
27531 (tryshell): Define.
27532 (__spawni): Change last parameter to be flag. Test
27533 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27534 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27535 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27536 * posix/spawni.c: Likewise.
27537 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27538 * posix/spawnp.c: Likewise. Change normal version to use
27539 SPAWN_XFLAGS_USE_PATH.
27540 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27541 SPAWN_XFLAGS_TRY_SHELL.
27542
27543 [BZ #13150]
27544 * posix/glob.h: Remove gcc 1.x support.
27545
27546 [BZ #13068]
27547 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27548
275492011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27550
27551 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27552 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27553 strrchr-sse2-bsf
27554 * sysdeps/i386/i686/multiarch/strchr.S: New file.
27555 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27556 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27557 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27558 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27559 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27560
275612011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27562
27563 * sysdeps/x86_64/wcscmp.S: New file.
27564
27565 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27566 wcscmp-c wcscmp-sse2
27567 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27568 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27569 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27570 * wcsmbs/wcscmp.c: Allow renaming.
27571
275722011-09-05 David S. Miller <davem@davemloft.net>
27573
27574 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27575 stack slot, rather than the struct return pointer slot.
27576 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27577 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27579 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27580
275812011-09-05 Ulrich Drepper <drepper@gmail.com>
27582
27583 * po/ja.po: Update from translation team.
27584
27585 [BZ #13144]
27586 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27587 kernel in 64-bit binaries.
27588
275892011-09-01 David S. Miller <davem@davemloft.net>
27590
27591 * elf/elf.h (HWCAP_SPARC_*): Move to..
27592 * sysdeps/sparc/sysdep.h: this new file and add new values.
27593 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27594 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27595 _DL_HWCAP_COUNT to 24.
27596 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27597 entries.
27598 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27599 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27600 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27601 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27602 instead of magic constants.
27603 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27604
276052011-08-31 David S. Miller <davem@davemloft.net>
27606
27607 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27608 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27609 Reimplement to do errno handling inline.
27610 (SYSCALL_ERROR_HANDLER): New macro.
27611 (__SYSCALL_STRING): Do not do errno handling in asm.
27612 (__CLONE_SYSCALL_STRING): Delete.
27613 (__INTERNAL_SYSCALL_STRING): Delete.
27614 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27615 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27616 (PSEUDO): Reimplement to do errno handling inline.
27617 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27618 (SYSCALL_ERROR_HANDLER): New macro.
27619 (__SYSCALL_STRING): Do not do errno handling in asm.
27620 (__CLONE_SYSCALL_STRING): Delete.
27621 (__INTERNAL_SYSCALL_STRING): Delete.
27622 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27623 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27624 i386.
27625 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27626 (inline_syscall*): Add 'err' argument.
27627 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27628 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27629 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27630 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27631
27632 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27633 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27634
276352011-08-30 Andreas Schwab <schwab@redhat.com>
27636
27637 * elf/rtld.c (dl_main): Relocate objects in dependency order.
27638
276392011-08-29 Jiri Olsa <jolsa@redhat.com>
27640
27641 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27642 directive.
27643
276442011-08-24 David S. Miller <davem@davemloft.net>
27645
27646 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27647
276482011-08-24 Andreas Schwab <schwab@redhat.com>
27649
27650 * elf/Makefile: Add rules to build and run unload8 test.
27651 * elf/unload8.c: New file.
27652 * elf/unload8mod1.c: New file.
27653 * elf/unload8mod1x.c: New file.
27654 * elf/unload8mod2.c: New file.
27655 * elf/unload8mod3.c: New file.
27656
27657 * elf/dl-close.c (_dl_close_worker): Reset private search list if
27658 it wasn't used.
27659
276602011-08-23 David S. Miller <davem@davemloft.net>
27661
27662 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27663 subtract stack bias.
27664 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27665 %sp not %fp in calculations.
27666 (_JMPBUF_UNWINDS_ADJ): Likewise.
27667
27668 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27669 (aio_suspend): Call it to force an exception region around the
27670 AIO_MISC_WAIT() invocation.
27671
276722011-08-23 Andreas Schwab <schwab@redhat.com>
27673
27674 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27675 backslash.
27676
276772011-07-04 Aurelien Jarno <aurelien@aurel32.net>
27678
27679 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27680 protection macro.
27681 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27682 and <dl-machine.h>.
27683 (Elf64_FuncDesc): Remove.
27684
276852011-08-22 David S. Miller <davem@davemloft.net>
27686
27687 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27688 sigaltstack check, add missing cfi directives.
27689 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27690 missing cfi directives, and sigaltstack handling.
27691
276922011-08-16 Andreas Schwab <schwab@redhat.com>
27693
27694 [BZ #11724]
27695 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27696 object is seen twice.
27697 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27698
27699 * elf/Makefile (distribute): Add tst-initorder2.c.
27700 (tests): Add tst-initorder2.
27701 (modules-names): Add tst-initorder2a tst-initorder2b
27702 tst-initorder2c tst-initorder2d. Add rules to build them.
27703 ($(objpfx)tst-initorder2.out): New rule.
27704 * elf/tst-initorder2.c: New file.
27705 * elf/tst-initorder2.exp: New file.
27706
277072011-08-22 Andreas Schwab <schwab@redhat.com>
27708
27709 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27710
27711 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27712 dependencies back to end of function.
27713
27714 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27715 $(elfobjdir)/ld.so.
27716
277172011-08-21 Ulrich Drepper <drepper@gmail.com>
27718
27719 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27720 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27721 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27722 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27723 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27724 of __vdso_gettimeofday.
27725 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27726 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
27727 attribute_hidden.
27728 (_libc_vdso_platform_setup): Remove initialization of
27729 __vdso_gettimeofday and __vdso_time.
27730
277312011-08-20 Ulrich Drepper <drepper@gmail.com>
27732
27733 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27734 and fgetc_unlocked.
27735 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27736 getc_unlocked.
27737
27738 * elf/dl-open.c (add_to_global): Report additions to the global scope
27739 for LD_DEBUG=scopes.
27740 (dl_open_worker): Also print scope of newly loaded dependencies.
27741 (_dl_show_scope): Indicate if there is no scope.
27742
27743 [BZ #13114]
27744 * stdio-common/Makefile (tests): Add bug24.
27745 * stdio-common/bug24.c: New file.
27746
277472011-08-19 Andreas Jaeger <aj@suse.de>
27748
27749 [BZ #13114]
27750 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27751 non-existant file when using close-on-exec mode.
27752
277532011-08-20 Ulrich Drepper <drepper@gmail.com>
27754
27755 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27756 the very first instruction.
27757
27758 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27759 the CFI state in the end.
27760 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27761 inclusion of dl-trampoline.h.
27762 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27763
277642011-08-19 Andreas Schwab <schwab@redhat.com>
27765
27766 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27767 expectations for long double.
27768
27769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27770 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27771
277722011-08-14 David S. Miller <davem@davemloft.net>
27773
27774 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27775 artificual limit depends upon the system page size.
27776
277772011-08-17 Ulrich Drepper <drepper@gmail.com>
27778
27779 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27780 * resolv/Makefile: Define CFLAGS-libresolv.
27781
277822011-08-17 Andreas Schwab <schwab@redhat.com>
27783
27784 * nss/makedb.c (compute_tables): Make variables used in nested
27785 function static.
27786
277872011-08-17 Ulrich Drepper <drepper@gmail.com>
27788
27789 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27790 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27791 if buffer was too small.
27792
27793 * elf/pldd.c (main): Attach to all threads in the process.
27794 Rewrite /proc handling to use *at functions.
27795
277962011-08-16 Ulrich Drepper <drepper@gmail.com>
27797
27798 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27799 specifies first scope to show.
27800 (dl_open_worker): Update callers. Move printing scope of new
27801 object to before the relocation.
27802 * elf/rtld.c (dl_main): Update _dl_show_scope call.
27803 * sysdeps/generic/ldsodefs.h: Update declaration.
27804
27805 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27806 string for the scope number.
27807
278082011-08-14 Ulrich Drepper <drepper@gmail.com>
27809
27810 * nscd/servicescache.c (cache_addserv): Make sure written is always
27811 initialized.
27812
278132011-08-14 Roland McGrath <roland@hack.frob.com>
27814
27815 * sysdeps/i386/i486/bits/atomic.h
27816 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27817 statement expression, so as to suppress "set but not used" warning.
27818 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27819
27820 * string/strncat.c (STRNCAT): Use prototype definition.
27821
27822 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
27823 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
27824 -Iprograms here.
27825 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
27826 (localedef-modules): Add localedef.
27827 (locale-modules): Add locale.
27828
27829 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
27830 * elf/rtld.c (dl_main): Invert order of assignment in last change,
27831 to avoid a warning.
27832
278332011-08-14 David S. Miller <davem@davemloft.net>
27834
27835 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
27836 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
27837
278382011-08-13 Ulrich Drepper <drepper@gmail.com>
27839
27840 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
27841 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
27842 * elf/rtld.c (dl_main): Set l_name of vDSO.
27843 Call _dl_show_scope when DL_DEBUG_SCOPES.
27844 (process_dl_debug): Recognize scopes flag and also set it for all.
27845 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
27846 Declare _dl_show_scope.
27847
27848 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
27849 (do_dlopen): Pass caller_dlopen to dl_open.
27850 (__libc_dlopen_mode): Initialize caller_dlopen.
27851
27852 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
27853 of libc. Make tolower call locale-independent. Optimize a bit by
27854 using isdigit instead of isalnum.
27855 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
27856
278572011-08-12 Ulrich Drepper <drepper@gmail.com>
27858
27859 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
27860 was a dependency or dynamically loaded.
27861
278622011-08-11 Ulrich Drepper <drepper@gmail.com>
27863
27864 * intl/l10nflist.c: Allow architecture-specific pop function.
27865 * sysdeps/x86_64/l10nflist.c: New file.
27866
27867 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
27868 classification.
27869
278702011-08-10 Andreas Schwab <schwab@redhat.com>
27871
27872 * include/dirent.h: Add libc_hidden_proto for scandirat and
27873 scandirat64. Don't declare __scandirat64.
27874 * dirent/scandirat.c: Add libc_hidden_def.
27875 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
27876 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
27877
278782011-08-10 David S. Miller <davem@davemloft.net>
27879
27880 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
27881 enum.
27882 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27883 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27884 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27885
278862011-08-09 Ulrich Drepper <drepper@gmail.com>
27887
27888 * Versions.def [libc]: Add GLIBC_2.15.
27889 * dirent/Makefile (routines): Add scandirat and scandirat64.
27890 * dirent/Versions [libc]: Export scandirat and scandirat64 for
27891 GLIBC_2.15.
27892 * dirent/dirent.h: Declare scandirat and scandirat64.
27893 * dirent/scandirat.c: New file.
27894 * dirent/scandirat64.c: New file.
27895 * sysdeps/wordsize-64/scandirat.c: New file.
27896 * sysdeps/wordsize-64/scandirat64.c: New file.
27897 * dirent/opendir.c: Define opendirat.
27898 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
27899 using scandirat.
27900 * dirent/scandir64.c: Adjust for scandir.c change.
27901 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
27902 __scandirat64, and __scandir_cancel_handler.
27903 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
27904 additional parameter and use openat instead of open (outside of ld.so).
27905 Add new __opendir as wrapper around __opendirat.
27906 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
27907 here without requiring old scandirat implementation.
27908
279092011-08-08 Ulrich Drepper <drepper@gmail.com>
27910
27911 * dirent/scandir.c (cancel_handler): Renamed to
27912 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
27913 defined. Adjust users.
27914 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
27915 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
27916
279172011-08-04 Ulrich Drepper <drepper@gmail.com>
27918
27919 * string/test-string.h (IMPL): Use __STRING to expand name and then
27920 stringify it.
27921
27922 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
27923 of cleanups.
27924
279252011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27926
27927 * string/Makefile: Update.
27928 (strop-tests): Append strncat.
27929 * string/test-wcscmp.c: New file.
27930 New comprehensive test for wcscmp.
27931 * string/test-strcmp.c: Update.
27932 (WIDE): New define.
27933
279342011-07-22 Andreas Schwab <schwab@redhat.com>
27935
27936 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
27937 line.
27938
279392011-07-26 Andreas Schwab <schwab@redhat.com>
27940
27941 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27942 encoding to ACE if AI_IDN.
27943
279442011-08-01 Jakub Jelinek <jakub@redhat.com>
27945
27946 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
27947 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
27948
279492011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27950
27951 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
27952 Fix overflow bug in strncat.
27953 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27954
27955 * string/test-strncat.c: Update.
27956 Add new tests for checking overflow bugs.
27957
279582011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27959
27960 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27961 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
27962 * sysdeps/i386/i686/multiarch/strcat.S: New file.
27963 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
27964 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
27965 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
27966 * sysdeps/i386/i686/multiarch/strncat.S: New file.
27967 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
27968 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
27969
27970 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
27971 (USE_AS_STRCAT): Define.
27972 Add strcat and strncat support.
27973 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27974
279752011-07-25 Andreas Schwab <schwab@redhat.com>
27976
27977 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
27978 __n bigger than INT_MAX+1.
27979 (__strncmp_g): Likewise.
27980
279812011-07-23 Ulrich Drepper <drepper@gmail.com>
27982
27983 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
27984 * libio/stido.h: Likewise.
27985
27986 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
27987 (AF_NFC): Define.
27988 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
27989 (AF_NFC): Define.
27990
27991 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
27992 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27993 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27994 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27995 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27996
27997 [BZ #13021]
27998 * scripts/test-installation.pl: Don't expect libnss_test1 to be
27999 installed.
28000
28001 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28002 typo.
28003 (_dl_x86_64_save_sse): Likewise.
28004
280052011-07-22 Ulrich Drepper <drepper@gmail.com>
28006
28007 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28008 OSXSAVE.
28009 (_dl_x86_64_save_sse): Likewise.
28010
28011 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28012
28013 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28014
280152011-07-21 Andreas Schwab <schwab@redhat.com>
28016
28017 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28018 change.
28019 (_dl_x86_64_save_sse): Use correct AVX check.
28020
280212011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28022
28023 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28024 bug in strncpy/strncat.
28025 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28026
280272011-07-21 Ulrich Drepper <drepper@gmail.com>
28028
28029 * string/tester.c (test_strcat): Add tests for different alignments
28030 of source and destination.
28031 (test_strncat): Likewise.
28032
280332011-07-20 Ulrich Drepper <drepper@gmail.com>
28034
28035 [BZ #12852]
28036 * posix/glob.c (glob): Check passed in values before using them in
28037 expressions to avoid some overflows.
28038 (glob_in_dir): Likewise.
28039
28040 [BZ #13007]
28041 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28042 check for AVX enablement so that we don't crash with old kernels and
28043 new hardware.
28044 * elf/tst-audit4.c: Add same checks here.
28045 * elf/tst-audit6.c: Likewise.
28046
28047 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
28048
280492011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28050
28051 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28052
280532011-07-20 Ulrich Drepper <drepper@gmail.com>
28054
28055 * po/cs.po: Update from translation team.
28056 * po/bg.po: Likewise.
28057
280582011-07-12 Marek Polacek <mpolacek@redhat.com>
28059
28060 * misc/sys/cdefs.h: Add support for const attribute.
28061 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28062 to gnu_dev_{major,minor,makedev} functions.
28063
280642011-07-20 Marek Polacek <mpolacek@redhat.com>
28065
28066 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28067
280682011-07-20 Andreas Schwab <schwab@redhat.com>
28069
28070 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28071 strlen results.
28072
280732011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28074
28075 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28076 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28077 register in order to avoid conflicts with the soft frame pointer
28078 being held in r11 when necessary.
28079 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28080 (INTERNAL_VSYSCALL_NCS): Likewise.
28081
280822011-07-14 Marek Polacek <mpolacek@redhat.com>
28083
28084 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28085 * elf/dl-fini.c (_dl_fini): Adjust caller.
28086 * elf/dl-close.c (_dl_close_worker): Likewise.
28087 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28088
280892011-07-15 Marek Polacek <mpolacek@redhat.com>
28090
28091 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28092 "aux_cache->nlibs < 0".
28093
28094 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28095 in the reload-count case.
28096
280972011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28098
28099 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28100 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28101 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28102 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28103 * sysdeps/x86_64/multiarch/strcat.S: New file.
28104 * sysdeps/x86_64/multiarch/strncat.S: New file.
28105 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28106 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28107 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28108 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28109 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28110 (USE_AS_STRCAT): Define.
28111 Add strcat and strncat support.
28112 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28113 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28114 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28115 * string/strncat.c: Update.
28116 (USE_AS_STRNCAT): Define.
28117 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28118 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28119 and i7.
28120 * sysdeps/x86_64/multiarch/init-arch.h
28121 (bit_Prefer_PMINUB_for_stringop): New.
28122 (index_Prefer_PMINUB_for_stringop): Likewise.
28123 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28124 bit_Prefer_PMINUB_for_stringop.
28125
281262011-07-19 Ulrich Drepper <drepper@gmail.com>
28127
28128 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28129 buffer64.
28130 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28131 of casting of buffer.
28132 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28133 buffer32 and buffer64.
28134 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28135 writes instead of casting of buffer.
28136 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28137 buffer32.
28138 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28139 casting of buffer.
28140
281412011-07-19 Andreas Schwab <schwab@redhat.com>
28142
28143 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28144
281452011-07-19 Ulrich Drepper <drepper@gmail.com>
28146
28147 * nscd/nscd.c (termination_handler): Don't do anything for a database
28148 if it has not yet been initialized.
28149
281502011-07-18 Ulrich Drepper <drepper@gmail.com>
28151
28152 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28153
281542011-07-15 Marek Polacek <mpolacek@redhat.com>
28155
28156 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28157
281582011-07-18 Ulrich Drepper <drepper@gmail.com>
28159
28160 * po/nl.po: Update from translation team.
28161 * po/sv.po: Likewise.
28162
281632011-07-16 Roland McGrath <roland@hack.frob.com>
28164
28165 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28166 now disallowed by GCC.
28167
28168 * configure.in (use-default-link): Default to yes if a test -shared
28169 link meets our qualifications.
28170 * configure: Regenerated.
28171
28172 * config.make.in (output-format): New variable.
28173 * configure.in: Check for ld --print-output-format support.
28174 * configure: Regenerated.
28175 * Makerules ($(common-objpfx)format.lds)
28176 [$(output-format) != unknown]: Just use $(output-format),
28177 instead of the linker-script munging.
28178
281792011-07-14 Roland McGrath <roland@hack.frob.com>
28180
28181 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28182 of $(common-objpfx)shlib.lds.
28183 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28184
28185 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28186 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28187
28188 * configure.in (-z relro check): Adjust test code to add a large
28189 writable data section after it.
28190 * configure: Regenerated.
28191
281922011-07-11 Roland McGrath <roland@hack.frob.com>
28193
28194 * configure.in (-z relro check): Fix test code to make the variable
28195 truly const.
28196 * configure: Regenerated.
28197
281982011-07-11 Ulrich Drepper <drepper@gmail.com>
28199
28200 * nscd/nscd.h (struct traced_file): Define.
28201 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28202 elements. Add traced_files.
28203 (inotify_fd): Declare.
28204 (register_traced_file): Declare.
28205 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28206 (inotify_fd): Export.
28207 (resolv_conf_descr): Remove.
28208 (nscd_init): Move inotify descriptor creation to main.
28209 Don't register files for notification here.
28210 (register_traced_file): New function.
28211 (invalidate_cache): Don't use reset_res to determine whether to call
28212 res_init, go through the list of registered files.
28213 (main_loop_poll): The inotify descriptors are now stored in the
28214 structures for the traced files.
28215 (main_loop_epoll): Likewise
28216 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28217 to __nss_disable_nscd.
28218 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28219 for a database anymore. Check the records for all the registered
28220 files instead.
28221 * nss/Makefile (libnss_files-routines): Add files-init.
28222 (libnss_db-routines): Add db-init.
28223 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28224 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28225 * nss/nss_db/db-init.c: New file.
28226 * nss/nss_files/files-init.c: New file.
28227 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28228 __nss_lookup_function.
28229 (__nss_lookup_function): Call nss_load_library.
28230 (nss_load_all_libraries): New function.
28231 (__nss_disable_nscd): Take parameter with callback function for files
28232 to register. Set is_nscd. Load all the DSOs for the NSS modules
28233 used for the cached services.
28234 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28235 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28236 options for features to all the files in nscd.
28237
28238 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28239
282402011-07-10 Roland McGrath <roland@hack.frob.com>
28241
28242 * csu/elf-init.c (__libc_csu_init): Comment typo.
28243
282442011-07-09 Ulrich Drepper <drepper@gmail.com>
28245
28246 * po/pl.po: Update from translation team.
28247 * po/ja.po: Likewise.
28248 * po/ru.po: Likewise.
28249 * po/ko.po: Likewise.
28250 * po/fr.po: Likewise.
28251
282522011-07-09 Roland McGrath <roland@hack.frob.com>
28253
28254 * configure.in (.ctors/.dtors header and trailer check):
28255 Use an empirical test on a built program.
28256 * configure: Regenerated.
28257
28258 * configure.in (-z relro check): Use an empirical test on a built DSO.
28259 Detect, but do not require, on ia64.
28260 * configure: Regenerated.
28261
28262 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28263 Update tests that use readelf to use $READELF instead.
28264 * configure: Regenerated.
28265
282662011-07-08 Ulrich Drepper <drepper@gmail.com>
28267
28268 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28269 if the result is not used.
28270
282712011-07-05 Andreas Jaeger <aj@suse.de>
28272
28273 [BZ#9696]
28274 * stdlib/tst-strtod.c: Add testcase.
28275
282762011-07-07 Ulrich Drepper <drepper@gmail.com>
28277
28278 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
28279 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
28280 The latter has a higher limit. Take additional parameter to pass to
28281 the new function.
28282 (__pathconf): Pass file to __statfs_link_max.
28283 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28284 __statfs_link_max.
28285 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28286 __statfs_link_max.
28287
28288 [BZ #12868]
28289 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28290 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28291 Handle Lustre.
28292 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28293 (__statfs_filesize_max): Likewise.
28294 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28295
282962011-07-05 Andreas Jaeger <aj@suse.de>
28297
28298 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28299
283002011-07-06 Marek Polacek <mpolacek@redhat.com>
28301
28302 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28303 `status' variable.
28304 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28305 Likewise.
28306
283072011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28308
28309 * Makefile (strop-tests): Add strncat.
28310 * string/test-strncat.c: New file.
28311
283122011-06-30 Marek Polacek <mpolacek@redhat.com>
28313
28314 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28315
283162011-06-21 Andreas Jaeger <aj@suse.de>
28317
28318 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28319 Copy rule from iconvdata/Makefile.
28320
283212011-07-06 Ulrich Drepper <drepper@gmail.com>
28322
28323 [BZ #12922]
28324 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28325 but no long options are defined, just return 'W'.
28326
283272011-06-22 Marek Polacek <mpolacek@redhat.com>
28328
28329 [BZ #9696]
28330 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28331
283322011-07-06 Ulrich Drepper <drepper@gmail.com>
28333
28334 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28335 netgroups to read.
28336 (innetgr): Likewise.
28337
283382011-07-05 Roland McGrath <roland@hack.frob.com>
28339
28340 * config.make.in (install_root): Default to $(DESTDIR).
28341
283422011-07-05 Ulrich Drepper <drepper@gmail.com>
28343
28344 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28345
283462011-07-02 Roland McGrath <roland@hack.frob.com>
28347
28348 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28349
28350 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28351 containing directory rather than embedding absolute directory names.
28352
28353 * scripts/check-local-headers.sh: Rewritten using awk.
28354 Match by word, not by line. Print error messages for matches.
28355 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28356
28357 * Makerules [shlib-lds-flags empty]:
28358 ($(common-objpfx)libc_pic.opts): New target.
28359 ($(common-objpfx)libc_pic.os.clean): New target.
28360 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28361
28362 * config.make.in (OBJCOPY): New variable.
28363 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28364 * configure: Regenerated.
28365
28366 * config.make.in (use-default-link): New variable.
28367 * configure.in (use_default_link): Grok --with-default-link to set it.
28368 * configure: Regenerated.
28369 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28370 (shlib-lds, shlib-lds-flags): Define to empty.
28371
28372 * Makerules (shlib-lds): New variable.
28373 (shlib-lds-flags): New variable.
28374 (build-shlib, build-moduile, build-module-asneeded): Use it.
28375 ($(common-objpfx)libc.so): Use $(shlib-lds).
28376 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28377 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28378
28379 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28380 DT_FLAGS/DT_FLAGS_1 with zero flags.
28381
28382 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28383 linker script munging.
28384
283852011-07-02 Ulrich Drepper <drepper@gmail.com>
28386
28387 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28388 as 128-bit value.
28389 * crypt/sha512.c (sha512_process_block): Perform total addition using
28390 128-bit if possible.
28391 (__sha512_finish_ctx): Likewise.
28392 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28393 as 64-bit value.
28394 * crypt/sha256.c (SWAP64): Define.
28395 (sha256_process_block): Perform total addition using 64-bit if
28396 possible.
28397 (__sha256_finish_ctx): Likewise.
28398
283992011-07-01 Ulrich Drepper <drepper@gmail.com>
28400
28401 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28402 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28403 * nscd/hstcache.c (cache_addhst): Likewise.
28404 * nscd/grpcache.c (cache_addgr): Likewise.
28405 * nscd/aicache.c (addhstaiX): Likewise
28406 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28407
284082011-07-01 Thorsten Kukuk <kukuk@suse.de>
28409
28410 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28411 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28412 * nscd/hstcache.c (cache_addhst): Likewise.
28413 * nscd/grpcache.c (cache_addgr): Likewise.
28414 * nscd/aicache.c (addhstaiX): Likewise
28415
284162011-07-01 Andreas Schwab <schwab@redhat.com>
28417
28418 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28419 domain only when needed.
28420
284212011-06-30 Andreas Schwab <schwab@redhat.com>
28422
28423 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28424 is always restored.
28425
284262011-06-29 Ulrich Drepper <drepper@gmail.com>
28427
28428 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28429 are re-adding the entry.
28430 * nscd/servicescache.c (cache_addserv): Likewise.
28431
284322011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28433
28434 * sysdeps/generic/dl-irel.h: fix protection against multiple
28435 inclusions.
28436 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28437
284382011-06-28 Ulrich Drepper <drepper@gmail.com>
28439
28440 [BZ #12935]
28441 * malloc/memusage.sh: Fix quoting in message.
28442 * debug/xtrace.sh: Likewise.
28443
28444 * configure.in: Remove support for --experimental-malloc option, make
28445 it the default.
28446 * config.make.in: Likewise.
28447 * malloc/Makefile: Likewise.
28448
284492011-06-27 Andreas Schwab <schwab@redhat.com>
28450
28451 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28452 two-byte characters.
28453
284542011-06-27 Roland McGrath <roland@hack.frob.com>
28455
28456 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28457 AC_CACHE_CHECK invocation.
28458 * configure: Regenerated.
28459
28460 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28461
284622011-06-27 Ulrich Drepper <drepper@gmail.com>
28463
28464 [BZ #12350]
28465 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28466 bit from old_res_options.
28467
28468 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28469
28470 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28471 value type for setfct.
28472
284732011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28474
28475 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28476 __gettimeofday instead of gettimeofday.
28477
284782011-06-26 Ulrich Drepper <drepper@gmail.com>
28479
28480 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28481
284822011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28483
28484 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28485
28486 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28487 info.
28488
284892011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28490
28491 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28492 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28493 strcpy-sse2-unaligned strncpy-sse2-unaligned
28494 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28495 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28496 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28497 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28498 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28499 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28500 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28501 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28502 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28503 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28504 (STRCPY): Support SSE2 and SSSE3 versions.
28505
285062011-06-24 Ulrich Drepper <drepper@gmail.com>
28507
28508 [BZ #12874]
28509 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28510 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28511 kernels which artificially limit size of requests.
28512
285132011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28514
28515 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28516 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28517 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28518 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28519 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28520 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28521 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28522 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28523 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28524 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28525 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28526 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28527 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28528 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28529 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28530 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28531 Enable unaligned load optimization for Intel Core i3, i5 and i7
28532 processors.
28533 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28534 Define.
28535 (index_Fast_Unaligned_Load): Define.
28536 (HAS_FAST_UNALIGNED_LOAD): Define.
28537
285382011-06-23 Marek Polacek <mpolacek@redhat.com>
28539
28540 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28541
285422011-06-22 Ulrich Drepper <drepper@gmail.com>
28543
28544 [BZ #12907]
28545 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28546 until it is clear that the information is realy needed.
28547 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28548
285492011-06-22 Andreas Schwab <schwab@redhat.com>
28550
28551 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28552
285532011-06-22 Ulrich Drepper <drepper@gmail.com>
28554
28555 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28556 /sys/devices/system/cpu/online if it is usable.
28557
28558 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28559 reading the information from the /proc filesystem to once a second.
28560
285612011-06-21 Andreas Jaeger <aj@suse.de>
28562
28563 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28564 NULL after inclusion of kernel headers.
28565
285662011-06-21 Ulrich Drepper <drepper@gmail.com>
28567
28568 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28569 calls to internal_setent.
28570
28571 [BZ #12885]
28572 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28573 addresses using gethostbyname4_r ignore IPv4 addresses.
28574
28575 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28576 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
28577
28578 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28579
285802011-06-20 David S. Miller <davem@davemloft.net>
28581
28582 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28583 inclusions.
28584 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28585
28586 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28587 (elf_irel): Use it.
28588 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28589 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28590 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28591 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28592 * sysdeps/x86_64/dl-irel.h: Likewise.
28593
28594 * elf/dl-runtime.c: Use elf_ifunc_invoke.
28595 * elf/dl-sym.c: Likewise.
28596
285972011-06-15 Ulrich Drepper <drepper@gmail.com>
28598
28599 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
28600 need to dereference resplen2.
28601
286022011-06-14 Andreas Schwab <schwab@redhat.com>
28603
28604 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28605
286062011-06-15 Ulrich Drepper <drepper@gmail.com>
28607
28608 * Makeconfig: Define vardbdir and inst_vardbdir.
28609 * nss/Makefile: Add rules to install db-Makefile.
28610
28611 * nss/nss_db/db-XXX.c: Cleanup.
28612
28613 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28614 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28615 GLIBC_PRIVATE.
28616 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28617 * nss/makedb.c: Implement -g option to specify that value strings
28618 are generated and should not be added to table iterated over for
28619 get*ent calls.
28620 * nss/nss_db/db-initgroups.c: New file.
28621
28622 * nss/getent.c: Add support for initgroups lookups through getgrouplist
28623 interface.
28624
28625 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28626 (internal_getgrouplist): Adjust to name change.
28627 Update use_initgroups_entry if this is not the first call.
28628 * nss/databases.def: Add initgroups entry.
28629
28630 * nss/makedb.c (compute_tables): Check result of multiple hash table
28631 sizes to minimize maximum chain length.
28632
286332011-06-14 Ulrich Drepper <drepper@gmail.com>
28634
28635 * Versions.def: Add entry for libnss_db.
28636 * shlib-versions: Likewise.
28637 * nss/Makefile: Add rules to build libnss_db.
28638 * nss/Versions: Add libnss_db information. Organize libnss_files
28639 entries better.
28640 * nss/db-Makefile: Add gshadow support. Change rules for the new
28641 makedb progra. Some minor improvements to generate smaller files.
28642 * nss/nss_db/nss_db.h: Move NSS database header data structures to
28643 here from...
28644 * nss/makedb.c: ...here.
28645 Improve database format to be smaller and require less memory at
28646 runtime.
28647 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
28648 db anymore.
28649 * nss/nss_db/db-netgrp.c: Likewise.
28650 * nss/nss_db/db-open.c: Likewise.
28651 * nss/nss_files/flies-XXX.x: Adjust comments.
28652 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28653 * nss/nss_files/files-grp.c: Likewise.
28654 * nss/nss_files/files-hosts.c: Likewise.
28655 * nss/nss_files/files-network.c: Likewise.
28656 * nss/nss_files/files-proto.c: Likewise.
28657 * nss/nss_files/files-pwd.c: Likewise.
28658 * nss/nss_files/files-rpc.c: Likewise.
28659 * nss/nss_files/files-service.c: Likewise.
28660 * nss/nss_files/files-sgrp.c: Likewise.
28661 * nss/nss_files/files-spwd.c: Likewise.
28662 * nss/nss_db/db-alias.c: Removed.
28663 * nss/nss_db/dummy-db.h: Removed.
28664
286652011-06-02 Ulrich Drepper <drepper@gmail.com>
28666
28667 * nss/makedb.c: Rewritten to not use database library.
28668 * nss/Makefile: Update to build new makedb program.
28669
286702011-06-14 Andreas Jaeger <aj@suse.de>
28671
28672 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28673 memset declaration.
28674
286752011-06-10 Andreas Schwab <schwab@redhat.com>
28676
28677 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28678 tmpbuf.
28679
286802011-06-10 Roland McGrath <roland@hack.frob.com>
28681
28682 * Makerules (shlib.lds): Fail if the linker script comes out empty.
28683 * elf/Makefile ($(objpfx)ld.so): Likewise.
28684
28685 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28686 Don't list ld.so twice in dependencies.
28687
28688 * posix/bug-regex31.c: Include <stdlib.h>.
28689
28690 * nscd/hstcache.c (cache_addhst): Remove unused variable.
28691
28692 * nis/nss_compat/compat-spwd.c
28693 (getspent_next_nss_netgr): Remove unused variable.
28694 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28695
28696 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28697 nonmembers" output to use the right array.
28698
28699 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28700
28701 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28702
28703 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28704 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28705 * catgets/gencat.c (read_input_file): Likewise.
28706 * locale/programs/locarchive.c (enlarge_archive): Likewise.
28707
28708 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28709 variable definition inside #if's controlling its use.
28710
28711 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28712
28713 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28714
28715 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28716
28717 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28718 unreachable code.
28719
28720 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28721
28722 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28723 * configure: Regenerated.
28724
28725 * Makerules: Revert last change.
28726 * elf/Makefile: Likewise.
28727
287282011-06-09 Roland McGrath <roland@hack.frob.com>
28729
28730 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28731 * elf/Makefile ($(objpfx)librtld.os): Likewise.
28732 (reloc-link): Likewise.
28733
287342011-06-09 Ulrich Drepper <drepper@gmail.com>
28735
28736 * elf/Makefile: Add rules to build pldd.
28737 * elf/pldd.c: New file.
28738 * elf/pldd-xx.c: New file.
28739
287402011-06-07 Ulrich Drepper <drepper@gmail.com>
28741
28742 * version.h: Update for 2.15 development version.
28743
287442011-06-07 David S. Miller <davem@davemloft.net>
28745
28746 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28747 ifuncs.
28748 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28749 elf_machine_lazy_rel): Likewise.
28750 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28751 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28752 elf_machine_lazy_rel): Likewise.
28753 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28754 dl_hwcap via passed in argument.
28755 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28756 Likewise.
28757
287582011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28759
28760 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
28761
287622011-06-06 Roland McGrath <roland@hack.frob.com>
28763
28764 [BZ #12849]
28765 * manual/fdl-1.1.texi: New file, verbatim from:
28766 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28767 * manual/lgpl-2.1.texi: New file, verbatim from:
28768 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28769 * manual/Makefile (licenses): New variable, list those new file names.
28770 (texis): Use it.
28771 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28772
28773 * manual/fdl.texi: File removed.
28774 * manual/lesser.texi: File removed.
28775 * manual/libc.texinfo (Copying, Documentation License):
28776 Use new @include file names, put @appendix directive before @include.
28777
287782011-06-04 Jakub Jelinek <jakub@redhat.com>
28779
28780 [BZ #12841]
28781 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28782 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28783 (mq_open): Add __NTH.
28784
287852011-06-02 H.J. Lu <hongjiu.lu@intel.com>
28786
28787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28788 Assume Intel Core i3/i5/i7 processor if AVX is available.
28789
287902011-05-31 Ulrich Drepper <drepper@gmail.com>
28791
28792 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28793 typo.
28794
287952011-05-31 Andreas Schwab <schwab@redhat.com>
28796
28797 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28798 memory. Use alloca_account. Fix memory leak when retrying.
28799
288002011-05-31 Ulrich Drepper <drepper@gmail.com>
28801
28802 * version.h (RELEASE): Bump for 2.14 release.
28803 * include/features.h (__GLIBC_MINOR__): Bump to 14.
28804
28805 * config.make.in (RANLIB): Remove entry.
28806
288072011-05-30 Ulrich Drepper <drepper@gmail.com>
28808
28809 * po/Makefile (po-sed-cmd): Add ksh to extensions.
28810 (libc.pot): Work around missing support for .ksh extension in xgettext.
28811
28812 [BZ #12684]
28813 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28814 if both request failed.
28815 (send_dg): In case of server errors clear resplen or *resplen2.
28816
28817 [BZ #12454]
28818 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28819 when there are multiple maps.
28820 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
28821 (_dl_fini): Remove test here.
28822
28823 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
28824
288252011-05-29 Ulrich Drepper <drepper@gmail.com>
28826
28827 [BZ #12350]
28828 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
28829 bit from old_res_options.
28830 (gaih_inet): Likewise.
28831
28832 [BZ #11099]
28833 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
28834 as signed.
28835
28836 * resolv/res_init.c (res_setoptions): Make the code more compact.
28837
28838 [BZ #11558]
28839 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
28840 set RES_USEVC.
28841
28842 [BZ #11634]
28843 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
28844
28845 * malloc/malloc.h: Mark malloc hook variables as deprecated.
28846
28847 [BZ #11781]
28848 * malloc/malloc.h: Declare malloc hook variables as volatile.
28849
28850 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
28851 in last patch.
28852
28853 [BZ #11799]
28854 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
28855 raise in the comment.
28856 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28857 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28858 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
28859
288602011-05-28 Ulrich Drepper <drepper@gmail.com>
28861
28862 [BZ #12811]
28863 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
28864 grow the buffers more if it already has to be sufficient.
28865 (build_wcs_upper_buffer): Likewise.
28866 * posix/regexec.c (check_matching): Likewise.
28867 (clean_state_log_if_needed): Likewise.
28868 (extend_buffers): Don't enlarge buffers beyond size of the input
28869 buffer.
28870 Patches mostly by Emil Wojak <emil@wojak.eu>.
28871 * posix/bug-regex32.c: New file.
28872 * posix/Makefile (tests): Add bug-regex32.
28873
28874 * locale/findlocale.c (_nl_find_locale): Return right away if
28875 _nl_explode_name failed.
28876 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
28877
28878 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
28879
28880 * debug/xtrace.sh: Unify messages.
28881 * malloc/memusage.sh: Likewise.
28882
28883 [BZ #12813]
28884 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
28885 time symbol from vDSO. Substitute with vsyscall if not available.
28886 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
28887 __vdso_time.
28888
28889 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
28890 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
28891 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
28892 Add sendmmsg and internal_sendmmsg.
28893 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
28894 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
28895 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
28896
28897 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
28898 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
28899 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
28900
289012011-05-27 Ulrich Drepper <drepper@gmail.com>
28902
28903 [BZ #12813]
28904 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
28905 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
28906 available.
28907 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
28908 __vdso_getcpu.
28909
28910 [BZ #12814]
28911 * iconvdata/Makefile (tests): Add bug-iconv9.
28912 * iconvdata/bug-iconv9.c: New file.
28913
289142011-05-27 Andreas Schwab <schwab@redhat.com>
28915
28916 [BZ #12814]
28917 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
28918
289192011-05-25 Jakub Jelinek <jakub@redhat.com>
28920
28921 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28922 (struct user_regs_struct): Change intcs field back to cs.
28923
289242011-05-25 Ulrich Drepper <drepper@gmail.com>
28925
28926 * po/ja.po: Update from translation team.
28927
289282011-05-23 Ulrich Drepper <drepper@gmail.com>
28929
28930 [BZ #12795]
28931 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
28932 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
28933
289342011-05-20 Andreas Schwab <schwab@redhat.com>
28935
28936 * stdlib/longlong.h: Update from GCC.
28937
289382011-05-23 Andreas Schwab <schwab@redhat.com>
28939
28940 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
28941 parameter name.
28942 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
28943 Add parameter name.
28944 (__sysconf): Pass it down.
28945
289462011-05-22 Ulrich Drepper <drepper@gmail.com>
28947
28948 [BZ #12671]
28949 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
28950 some situations.
28951 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
28952 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
28953 add in in __libc_use_alloca calls. Adjust callers.
28954 (glob): Use malloc in some situations.
28955
28956 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
28957 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
28958 pltexit.
28959
289602011-05-21 Ulrich Drepper <drepper@gmail.com>
28961
28962 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
28963 and CLOCK_BOOTTIME_ALARM.
28964
28965 [BZ #12782]
28966 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
28967 is returned.
28968
28969 * string/_strerror.c (__strerror_r): Print negative errors as signed
28970 numbers.
28971
28972 [BZ #12777]
28973 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
28974 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
28975 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
28976
28977 * configure.in: Fix typo in redirection and correct removal of test
28978 files in two cases.
28979
28980 [BZ #12788]
28981 * locale/setlocale.c (new_composite_name): Fix test to check for
28982 identical name of all categories.
28983
28984 [BZ #12792]
28985 * libio/filedoalloc.c (local_isatty): New function.
28986 (_IO_file_doallocate): Use local_isatty.
28987 * stdio-common/perror.c (perror): In case a new stream is used
28988 forward the stream error.
28989 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
28990 error flag.
28991
289922011-05-20 Ulrich Drepper <drepper@gmail.com>
28993
28994 [BZ #11869]
28995 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
28996 alloca.
28997 * include/alloca.h (extend_alloca_account): Define.
28998
28999 [BZ #11857]
29000 * posix/regex.h: Fix comments with documentation of user-accessible
29001 fields after compilation and describe correct free'ing of pattern
29002 after re_compile_pattern.
29003 Patch by Reuben Thomas <rrt@sc3d.org>.
29004
290052011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29006
29007 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29008 and -mno-altivec to prevent the compiler from using Altivec and/or
29009 VSX instructions when the corresponding registers are not available.
29010
290112011-05-19 Andreas Schwab <schwab@redhat.com>
29012
29013 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29014
290152011-05-19 Ulrich Drepper <drepper@gmail.com>
29016
29017 * libio/freopen.c (freopen): Use __dup2, not dup2.
29018 * libio/freopen64.c (freopen64): Likewise.
29019
290202011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29021
29022 [BZ #12775]
29023 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29024 * math/Makefile (tests): Add test-powl.
29025 (CFLAGS-test-powl.c): Define.
29026 * math/test-powl.c: New file.
29027
290282011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29029
29030 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29031
290322011-05-17 Ulrich Drepper <drepper@gmail.com>
29033
29034 [BZ #11837]
29035 * iconvdata/gb18030.c: Update to GB18020-2005.
29036
290372011-05-16 Ulrich Drepper <drepper@gmail.com>
29038
29039 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29040 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29041 Patch by Aharon Robbins <arnold@skeeve.com>.
29042
29043 [BZ #11892]
29044 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29045 on the stack.
29046
29047 [BZ #11895]
29048 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29049 through underflows.
29050
29051 [BZ #12766]
29052 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29053 point to strings before performing equality test for error_one_per_line
29054 mode.
29055
29056 [BZ #11697]
29057 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29058
29059 [BZ #11820]
29060 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29061 (struct user_fpregs_struct): Avoid __uint*_t types.
29062
29063 [BZ #6420]
29064 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29065 symbol info. Use it instead of calling _dl_addr locally.
29066 (lock_and_info): New function.
29067 (tr_freehook): Call lock_and_info and pass symbol info as additional
29068 parameter to tr_where.
29069 (tr_mallochook): Likewise.
29070 (tr_reallochook): Likewise.
29071 (tr_memalignhook): Likewise.
29072
29073 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29074 used and couldn't be at all thread-safe.
29075
290762011-05-15 Ulrich Drepper <drepper@gmail.com>
29077
29078 * libio/freopen.c (freopen): Don't close old file descriptor
29079 before the new one is opened. Instead dup the new file descriptor
29080 to the old one after the new stream is created.
29081 * libio/freopen64.c (freopen64): Likewise.
29082 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29083 * libio/fileops.c (_IO_new_file_close_it): Handle new
29084 _IO_FLAGS2_NOCLOSE flag.
29085 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29086 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29087 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29088 _IO_FLAGS2_NOCLOSE flag.
29089 * include/unistd.h: Add hidden_proto for dup3.
29090 Define __have_dup3.
29091 * io/dup3.c: Define hidden symbol.
29092 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29093
29094 [BZ #7101]
29095 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29096 when an incomplete long option is used.
29097 * posix/tst-getopt_long1.c: New file.
29098 * posix/Makefile (tests): Add tst-getopt_long1.
29099
29100 [BZ #10138]
29101 * scripts/config.guess: Update from autoconf-2.68.
29102 * scripts/config.sub: Likewise.
29103
29104 [BZ #10157]
29105 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29106 tests into ...
29107 (has_cpuclock): ...this. New function.
29108 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29109 macro here based on has_cpuclock code.
29110
29111 [BZ #10149]
29112 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29113 First byte (not low byte) is now always NUL.
29114 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29115
29116 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29117 Use non-cancelable interfaces.
29118
29119 [BZ #9809]
29120 * locale/iso-639.def: Add entry for Sorani.
29121
29122 [BZ #11901]
29123 * include/stdlib.h: Move include protection to the right place.
29124 Define abort_msg_s. Declare __abort_msg with it.
29125 * stdlib/abort.c (__abort_msg): Adjust type.
29126 * assert/assert.c (__assert_fail_base): New function. Majority
29127 of code from __assert_fail. Allocate memory for __abort_msg with
29128 mmap.
29129 (__assert_fail): Now call __assert_fail_base.
29130 * assert/assert-perr.c: Remove bulk of implementation. Use
29131 __assert_fail_base.
29132 * include/assert.hL Declare __assert_fail_base.
29133 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29134 mmap.
29135 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29136
291372011-05-14 Ulrich Drepper <drepper@gmail.com>
29138
29139 [BZ #11952]
29140 [BZ #12453]
29141 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29142 until all modules are registered in the DTV.
29143 * elf/Makefile: Add rules to build and run tst-tls19.
29144 * elf/tst-tls19.c: New file.
29145 * elf/tst-tls19mod1.c: New file.
29146 * elf/tst-tls19mod2.c: New file.
29147 * elf/tst-tls19mod3.c: New file.
29148 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29149
29150 [BZ #12083]
29151 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29152 correctly.
29153
29154 [BZ #12601]
29155 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29156 two-byte sequence errors.
29157 * iconvdata/Makefile (tests): Add bug-iconv8.
29158 * iconvdata/bug-iconv8.c: New file.
29159
29160 [BZ #12626]
29161 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29162 buf2 definition.
29163
29164 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29165
29166 [BZ #12432]
29167 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29168 (dummy_getcfa): New function.
29169 (init): Get _Unwind_GetCFA address, use dummy if not found.
29170 (backtrace_helper): In recursion check, also check whether CFA changes.
29171 (__backtrace): Completely initialize arg.
29172
29173 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
29174 storing incomplete byte sequence in state object. Avoid testing for
29175 guaranteed too small input if we know there is enough data available.
29176
291772011-05-11 Andreas Schwab <schwab@redhat.com>
29178
29179 * Makeconfig (+link-pie): Indent.
29180 * Rules (binaries-pie): Define if $(have-fpie) and
29181 $(build-shared).
29182 (binaries-shared): Also filter out $(binaries-pie).
29183 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29184 * nscd/Makefile (others-pie): Add nscd.
29185 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29186 ($(objpfx)nscd): Remove command override.
29187 * login/Makefile (others-pie): Add pt_chown.
29188 ($(objpfx)pt_chown): Remove command override.
29189 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29190 remove command overrides.
29191
291922011-05-13 Ulrich Drepper <drepper@gmail.com>
29193
29194 * libio/tst_putwc.c: Fix error messages.
29195
29196 [BZ #12724]
29197 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29198 currently writing and seek to current position when not.
29199 * libio/Makefile (tests): Add bug-fclose1.
29200 * libio/bug-fclose1.c: New file.
29201
292022011-05-12 Ulrich Drepper <drepper@gmail.com>
29203
29204 [BZ #12511]
29205 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29206 don't set DF_1_NODELETE here.
29207 (do_lookup_x): When entering new entry test for copy relocation
29208 and if necessary set DF_1_NODELETE flag.
29209 * elf/tst-unique4.cc: New file.
29210 * elf/tst-unique4.h: New file.
29211 * elf/tst-unique4lib.cc: New file.
29212 * elf/Makefile: Add rules to build and run tst-unique4.
29213 Patch by Piotr Bury <pbury@goahead.com>.
29214
292152011-05-11 Ulrich Drepper <drepper@gmail.com>
29216
29217 [BZ #12052]
29218 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29219
29220 [BZ #12625]
29221 * misc/mntent_r.c (addmntent): Flush the stream after the output
29222
29223 [BZ #12393]
29224 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29225 (is_trusted_path_normalize): Skip initial colon. Append slash
29226 to empty buffer. Duplicate is_trusted_path code but allow
29227 constructed patch to be prefix.
29228 (is_dst): Allow $ORIGIN followed by /.
29229 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29230 Correct testing of result of is_trusted_path_normalize
29231 (decompose_rpath): Fix warning.
29232
292332011-05-10 Ulrich Drepper <drepper@gmail.com>
29234
29235 [BZ #11257]
29236 * grp/initgroups.c (internal_getgrouplist): When we found the service
29237 list through the initgroups entry in nsswitch.conf do not always
29238 continue on a successful lookup. Don't always use the
29239 __nss_group_database value if it is set.
29240 * nss/nsswitch.conf (initgroups): Change action for successful db
29241 lookup to continue for compatibility.
29242
292432011-05-09 Ulrich Drepper <drepper@gmail.com>
29244
29245 [BZ #11532]
29246 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29247 and CP774 modules.
29248 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29249 and CP774 modules.
29250 * iconvdata/tst-tables.sh: Likewise.
29251 * iconvdata/cp770.c: New file.
29252 * iconvdata/cp771.c: New file.
29253 * iconvdata/cp772.c: New file.
29254 * iconvdata/cp773.c: New file.
29255 * iconvdata/cp774.c: New file.
29256 * iconvdata/testdata/CP770: New file.
29257 * iconvdata/testdata/CP770..UTF8: New file.
29258 * iconvdata/testdata/CP771: New file.
29259 * iconvdata/testdata/CP771..UTF8: New file.
29260 * iconvdata/testdata/CP772: New file.
29261 * iconvdata/testdata/CP772..UTF8: New file.
29262 * iconvdata/testdata/CP773: New file.
29263 * iconvdata/testdata/CP773..UTF8: New file.
29264 * iconvdata/testdata/CP774: New file.
29265 * iconvdata/testdata/CP774..UTF8: New file.
29266
29267 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29268 END CHARMAP line.
29269 * iconvdata/gen-8bit-gap.sh: Likewise.
29270 * iconvdata/gen-8bit.sh: Likewise.
29271
29272 * locale/iso-639.def: Add ary entry.
29273
29274 [BZ #11258]
29275 * locale/C-translit.h.in: Add U20A1 transliteration.
29276
29277 [BZ #12178]
29278 * locale/iso-639.def: Add wae entry.
29279 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29280
29281 [BZ #12545]
29282 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29283 for n.
29284
29285 [BZ #12711]
29286 * locale/C-translit.h.in: Add entry for U20B9.
29287 Patch by pravin.d.s@gmail.com.
29288
292892011-05-08 Ulrich Drepper <drepper@gmail.com>
29290
29291 [BZ #12713]
29292 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29293 ENAMETOOLONG use generic getcwd.
29294 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29295 in rtld. Use *stat64.
29296 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
29297 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
29298 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
29299 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29300 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29301 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29302 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29303 __fstatat64 macros.
29304 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29305 * dirent/rewinddir.c: Add libc_hidden_def.
29306 * sysdeps/mach/hurd/rewinddir.c: Likewise.
29307 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
29308
29309 * include/dirent.h (__alloc_dir): Add flags parameter.
29310 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29311 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29312 __alloc_dir.
29313 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29314 from fdopendir if O_CLOEXEC is already set.
29315
293162011-03-15 Alan Modra <amodra@gmail.com>
29317
29318 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29319 l_tls_firstbyte_offset non-zero. Save padding offset in
29320 l_tls_firstbyte_offset for later use.
29321 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29322 freeing static tls block.
29323
293242011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29325
29326 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29327 where #ifdef was intended. The intent is to prevent ARG_MAX from
29328 being defined by the kernel headers.
29329
293302011-05-07 Ulrich Drepper <drepper@gmail.com>
29331
29332 [BZ #12734]
29333 * resolv/resolv.h: Define RES_NOTLDQUERY.
29334 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29335 no-tld-query and set RES_NOTLDQUERY.
29336 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29337 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29338 modern BIND to search name as TLD unless forbidden.
29339
293402011-05-07 Petr Baudis <pasky@suse.cz>
29341 Ulrich Drepper <drepper@gmail.com>
29342
29343 [BZ #12393]
29344 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29345 (is_trusted_path): ...to here.
29346 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
29347 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
29348 using is_trusted_path_normalize() in setuid scripts.
29349
293502011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29351
29352 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29353 __BEGIN/__END_DECLS.
29354
293552011-05-06 Ulrich Drepper <drepper@gmail.com>
29356
29357 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29358 NSS_STATUS_NOTFOUND if no record was found.
29359
293602011-05-05 Andreas Schwab <schwab@redhat.com>
29361
29362 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29363 (headers-not-in-tirpc): Remove rpc/netdb.h
29364 * resolv/netdb.h: Revert last change.
29365
293662011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29367
29368 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29369 circular dependency between libgcc.a and libc.a.
29370
293712011-05-05 Andreas Schwab <schwab@redhat.com>
29372
29373 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29374 * nis/Makefile: Don't install rpcsvc/*.
29375 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29376 instead of <rpc/types.h>.
29377 (MAXHOSTNAMELEN): Define.
29378
293792011-05-03 Andreas Schwab <schwab@redhat.com>
29380
29381 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29382
293832011-04-28 Maciej Babinski <mbabinski@google.com>
29384
29385 [BZ #12714]
29386 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29387 gethostbyname4_r when IPv6 results are possible.
29388
293892011-05-02 Ulrich Drepper <drepper@gmail.com>
29390
29391 [BZ #12723]
29392 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29393 _PC_PIPE_BUF handling.
29394
293952011-04-30 Bruno Haible <bruno@clisp.org>
29396
29397 [BZ #12717]
29398 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29399 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29400 to 'int'.
29401 * inet/getnameinfo.c (getnameinfo): Likewise.
29402
294032011-04-29 Ulrich Drepper <drepper@gmail.com>
29404
29405 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29406 to groups setting in database lookup.
29407 * nss/nsswitch.conf: Add initgroups entry.
29408
294092011-04-22 Ulrich Drepper <drepper@gmail.com>
29410
29411 [BZ #12685]
29412 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29413 mode string.
29414 Patch by Eric Blake <eblake@redhat.com>.
29415
294162011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29417
29418 * sunrpc/Makefile (need-export-routines): Add svc_run.
29419 (routines): Remove svc_run.
29420 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29421 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29422 * sunrpc/svc_run.c (svc_run): Likewise.
29423 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29424
294252011-04-21 Ulrich Drepper <drepper@gmail.com>
29426
29427 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29428 problem in reallocation in last patch.
29429
294302011-04-20 Ulrich Drepper <drepper@gmail.com>
29431
29432 * sunrpc/Makefile: Move inclusion of Rules.
29433
294342011-04-19 Ulrich Drepper <drepper@gmail.com>
29435
29436 * nss/nss_files/files-initgroups.c: New file.
29437 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29438 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29439 _nss_files_initgroups_dyn.
29440
294412011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29442
29443 * elf/elf.h (R_ARM_IRELATIVE): Define.
29444
294452011-04-19 Ulrich Drepper <drepper@gmail.com>
29446
29447 * po/ru.po: Update from translation team.
29448
294492011-04-17 Ulrich Drepper <drepper@gmail.com>
29450
29451 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29452 dependencies.
29453
294542011-02-06 Mike Frysinger <vapier@gentoo.org>
29455
29456 [BZ #12653]
29457 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29458 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29459 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29460 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29461 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29462
294632011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29464
29465 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29466 differing bytes.
29467 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29468 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29469 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29470
294712011-04-17 Ulrich Drepper <drepper@gmail.com>
29472
29473 [BZ #12420]
29474 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29475 storing it.
29476 * stdlib/bug-getcontext.c: New file.
29477 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29478
294792011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29480
29481 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29482 instructions into .machine "z9-109".
29483 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29484 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29485
294862011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29487
29488 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29489 between environment variables and auxiliary vector.
29490
294912011-04-16 Ulrich Drepper <drepper@gmail.com>
29492
29493 * Makefile: Add rules to build linkobj/libc.so.
29494 * include/libc-symbols.h: Define libc_hidden_nolink.
29495 * include/rpc/auth.h: Mark functions which are to be hidden.
29496 * include/rpc/auth_des.h: Likewise.
29497 * include/rpc/auth_unix.h: Likewise.
29498 * include/rpc/clnt.h: Likewise.
29499 * include/rpc/des_crypt.h: Likewise.
29500 * include/rpc/key_prot.h: Likewise.
29501 * include/rpc/pmap_clnt.h: Likewise.
29502 * include/rpc/pmap_prot.h: Likewise.
29503 * include/rpc/pmap_rmt.h: Likewise.
29504 * include/rpc/rpc_msg.h: Likewise.
29505 * include/rpc/svc.h: Likewise.
29506 * include/rpc/svc_auth.h: Likewise.
29507 * include/rpc/xdr.h: Likewise.
29508 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29509 * nss/Makefile: Likewise.
29510 * sunrpc/Makefile: Don't install headers. Build library with normal
29511 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29512 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29513 for the compat linking library. Remove use of INTDEF/INTUSE.
29514 * sunrpc/auth_none.c: Likewise.
29515 * sunrpc/auth_unix.c: Likewise.
29516 * sunrpc/authdes_prot.c: Likewise.
29517 * sunrpc/authuxprot.c: Likewise.
29518 * sunrpc/clnt_gen.c: Likewise.
29519 * sunrpc/clnt_perr.c: Likewise.
29520 * sunrpc/clnt_raw.c: Likewise.
29521 * sunrpc/clnt_simp.c: Likewise.
29522 * sunrpc/clnt_tcp.c: Likewise.
29523 * sunrpc/clnt_udp.c: Likewise.
29524 * sunrpc/clnt_unix.c: Likewise.
29525 * sunrpc/des_crypt.c: Likewise.
29526 * sunrpc/des_soft.c: Likewise.
29527 * sunrpc/get_myaddr.c: Likewise.
29528 * sunrpc/key_call.c: Likewise.
29529 * sunrpc/key_prot.c: Likewise.
29530 * sunrpc/netname.c: Likewise.
29531 * sunrpc/pm_getmaps.c: Likewise.
29532 * sunrpc/pm_getport.c: Likewise.
29533 * sunrpc/pmap_clnt.c: Likewise.
29534 * sunrpc/pmap_prot.c: Likewise.
29535 * sunrpc/pmap_prot2.c: Likewise.
29536 * sunrpc/pmap_rmt.c: Likewise.
29537 * sunrpc/publickey.c: Likewise.
29538 * sunrpc/rpc_cmsg.c: Likewise.
29539 * sunrpc/rpc_common.c: Likewise.
29540 * sunrpc/rpc_dtable.c: Likewise.
29541 * sunrpc/rpc_prot.c: Likewise.
29542 * sunrpc/rpc_thread.c: Likewise.
29543 * sunrpc/rtime.c: Likewise.
29544 * sunrpc/svc.c: Likewise.
29545 * sunrpc/svc_auth.c: Likewise.
29546 * sunrpc/svc_authux.c: Likewise.
29547 * sunrpc/svc_raw.c: Likewise.
29548 * sunrpc/svc_run.c: Likewise.
29549 * sunrpc/svc_simple.c: Likewise.
29550 * sunrpc/svc_tcp.c: Likewise.
29551 * sunrpc/svc_udp.c: Likewise.
29552 * sunrpc/svc_unix.c: Likewise.
29553 * sunrpc/svcauth_des.c: Likewise.
29554 * sunrpc/xcrypt.c: Likewise.
29555 * sunrpc/xdr.c: Likewise.
29556 * sunrpc/xdr_array.c: Likewise.
29557 * sunrpc/xdr_float.c: Likewise.
29558 * sunrpc/xdr_intXX_t.c: Likewise.
29559 * sunrpc/xdr_mem.c: Likewise.
29560 * sunrpc/xdr_rec.c: Likewise.
29561 * sunrpc/xdr_ref.c: Likewise.
29562 * sunrpc/xdr_sizeof.c: Likewise.
29563 * sunrpc/xdr_stdio.c: Likewise.
29564
295652011-04-10 Ulrich Drepper <drepper@gmail.com>
29566
29567 [BZ #12650]
29568 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29569 * sysdeps/ia64/dl-tls.h: Likewise.
29570 * sysdeps/powerpc/dl-tls.h: Likewise.
29571 * sysdeps/s390/dl-tls.h: Likewise.
29572 * sysdeps/sh/dl-tls.h: Likewise.
29573 * sysdeps/sparc/dl-tls.h: Likewise.
29574 * sysdeps/x86_64/dl-tls.h: Likewise.
29575 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29576
295772011-03-14 Andreas Schwab <schwab@redhat.com>
29578
29579 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29580 rpath element also skip the following colon.
29581 (expand_dynamic_string_token): Add is_path parameter and pass
29582 down to DL_DST_REQUIRED and _dl_dst_substitute.
29583 (decompose_rpath): Call expand_dynamic_string_token with
29584 non-zero is_path. Ignore empty rpaths.
29585 (_dl_map_object_from_fd): Call expand_dynamic_string_token
29586 with zero is_path.
29587
295882011-04-08 Andreas Schwab <schwab@linux-m68k.org>
29589
29590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29591 Make cancelable.
29592
295932011-04-09 Ulrich Drepper <drepper@gmail.com>
29594
29595 [BZ #12655]
29596 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29597 Patch by Filipe David Manana <fdmanana@apache.org>.
29598
295992011-04-07 Andreas Schwab <schwab@redhat.com>
29600
29601 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29602 Maintain aligned stack.
29603 (CHECK_RSP): Remove unused macro.
29604
296052011-04-03 Ulrich Drepper <drepper@gmail.com>
29606
29607 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29608 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29609
296102011-04-02 Ulrich Drepper <drepper@gmail.com>
29611
29612 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29613
29614 * include/features.h: Mention __USE_XOPEN2K8 in comment.
29615
296162011-03-26 H.J. Lu <hongjiu.lu@intel.com>
29617
29618 [BZ #12518]
29619 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29620 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29621 * sysdeps/x86_64/memmove.c: New file.
29622 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29623 (memcpy): Renamed to ...
29624 (__new_memcpy): This.
29625 (memcpy): Provide GLIBC_2_14 memcpy.
29626 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29627 (memcpy): Provide GLIBC_2_2_5 memcpy.
29628
296292011-04-01 Ulrich Drepper <drepper@gmail.com>
29630
29631 [BZ #12631]
29632 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29633
296342011-03-30 Andreas Schwab <schwab@redhat.com>
29635
29636 * misc/syncfs.c: New file.
29637 * misc/Makefile (routines): Add syncfs.
29638 * posix/unistd.h: Declare syncfs.
29639 * sysdeps/unix/syscalls.list: Add syncfs.
29640
296412011-04-01 Andreas Schwab <schwab@redhat.com>
29642
29643 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29644 open_by_handle_at.
29645 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29646 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29647 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29648 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29649 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29650 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29651 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29652
296532011-04-01 Ulrich Drepper <drepper@gmail.com>
29654
29655 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29656 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29657 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29658 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29659 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29660 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29661 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29662
29663 * io/Makefile: Compile fallocate.c, fallocate64.c, and
29664 sync_file_range.c with -fexceptions.
29665 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29666 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29667 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29668 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29669 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29670 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29671 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
29672 sync_file_range as cancellation point
29673 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
29674 now a wrapper around __call_sync_file_range with cancellation handling.
29675 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29676 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
29677 function name to __call_sync_file_range.
29678 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29679 Add call_sync_file_range.
29680
296812011-04-01 Andreas Schwab <schwab@redhat.com>
29682
29683 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29684 bits/timex.h.
29685
296862011-04-01 Ulrich Drepper <drepper@gmail.com>
29687
29688 * iconv/iconv.h: Fix typo in comment.
29689 * io/fcntl.h: Likewise.
29690 * libio/stdio.h: Likewise.
29691 * posix/spawn.h: Likewise.
29692 * posix/unistd.h: Likewise.
29693 * stdlib/stdlib.h: Likewise.
29694 * time/time.h: Likewise.
29695 * wcsmbs/wchar.h: Likewise.
29696
29697 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29698 open_by_handle): Add.
29699 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29700 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
29701 Augment a few comments.
29702 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29703 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29704 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29705 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29706 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29707 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29708 open_by_handle.
29709
29710 * io/fcntl.h (AT_EMPTY_PATH): Define.
29711
297122011-03-30 Ulrich Drepper <drepper@gmail.com>
29713
29714 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29715 * sysdeps/unix/sysv/linux/bits/time.h: New file.
29716 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29717 to...
29718 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
29719 * Versions.def: Add GLIBC_2.14.
29720 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29721 Export.
29722
297232011-03-22 Ulrich Drepper <drepper@gmail.com>
29724
29725 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29726 round counter.
29727 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29728
297292011-03-20 H.J. Lu <hongjiu.lu@intel.com>
29730
29731 [BZ #12597]
29732 * string/test-strncmp.c (do_page_test): New function.
29733 (check2): Likewise.
29734 (test_main): Call check2.
29735 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29736
297372011-03-20 Ulrich Drepper <drepper@gmail.com>
29738
29739 [BZ #12587]
29740 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29741 Handle cache information in CPU leaf 4.
29742 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29743
297442011-03-18 Ulrich Drepper <drepper@gmail.com>
29745
29746 [BZ #12583]
29747 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29748 character representation.
29749 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29750
297512011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
29752
29753 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29754 END(__isnan) to END(__isnanf) to match function entry point/label
29755 EALIGN(__isnanf,...).
29756
297572011-03-10 Jakub Jelinek <jakub@redhat.com>
29758
29759 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29760
297612011-03-10 Ulrich Drepper <drepper@gmail.com>
29762
29763 [BZ #12510]
29764 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29765 copy from the symbol referenced in the relocation to initialize the
29766 used variable.
29767 Patch by Piotr Bury <pbury@goahead.com>.
29768 * elf/Makefile: Add rules to build and tst-unique3.
29769 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29770 * elf/tst-unique3.cc: New file.
29771 * elf/tst-unique3.h: New file.
29772 * elf/tst-unique3lib.cc: New file.
29773 * elf/tst-unique3lib2.cc: New file.
29774
29775 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29776
297772011-03-10 Mike Frysinger <vapier@gentoo.org>
29778
29779 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29780 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
29781 to _start.
29782
297832011-03-06 Ulrich Drepper <drepper@gmail.com>
29784
29785 * elf/dl-load.c (_dl_map_object): If we are looking for the first
29786 to-be-loaded object along a path to loader is ld.so.
29787
297882011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29789 Ulrich Drepper <drepper@gmail.com>
29790
29791 * sysdeps/x86_64/memset.S: After aligning destination, code
29792 branches to different locations depending on the value of
29793 misalignment, when multiarch is enabled. Fix this.
29794
297952011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29796
29797 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29798 Set _x86_64_preferred_memory_instruction for AMD processsors.
29799 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29800 Set bit_Prefer_SSE_for_memop for AMD processors.
29801
298022011-03-04 Ulrich Drepper <drepper@gmail.com>
29803
29804 * libio/fmemopen.c (fmemopen): Optimize a bit.
29805
298062011-03-03 Andreas Schwab <schwab@redhat.com>
29807
29808 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29809
298102011-03-03 Roland McGrath <roland@redhat.com>
29811
29812 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29813
298142011-02-28 Aurelien Jarno <aurelien@aurel32.net>
29815
29816 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
29817 __bzero_ultra1 instead of __memset_ultra1.
29818
298192011-02-23 Andreas Schwab <schwab@redhat.com>
29820 Ulrich Drepper <drepper@gmail.com>
29821
29822 [BZ #12509]
29823 * include/link.h (struct link_map): Add l_orig_initfini.
29824 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
29825 returning unsuccessfully.
29826 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
29827 close of a file loaded at startup, restore the original l_initfini
29828 list.
29829 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
29830 list, store the pointer.
29831 * elf/Makefile ($(objpfx)noload-mem): New rule.
29832 (noload-ENV): Define.
29833 (tests): Add $(objpfx)noload-mem.
29834 * elf/noload.c: Include <memcheck.h>.
29835 (main): Call mtrace. Close all opened handles.
29836
298372011-02-17 Andreas Schwab <schwab@redhat.com>
29838
29839 [BZ #12454]
29840 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
29841 dependencies are missing.
29842
298432011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
29844
29845 Fix __if_freereq crash: Unlike the generic version which uses free,
29846 Hurd needs munmap.
29847 * sysdeps/mach/hurd/ifreq.h: New file.
29848
298492011-01-27 Petr Baudis <pasky@suse.cz>
29850 Ulrich Drepper <drepper@gmail.com>
29851
29852 [BZ 12445]#
29853 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
29854 to extend_alloca().
29855 * stdio-common/bug23.c: New file.
29856 * stdio-common/Makefile (tests): Add bug23.
29857
298582010-09-28 Andreas Schwab <schwab@redhat.com>
29859 Ulrich Drepper <drepper@gmail.com>
29860
29861 [BZ #12489]
29862 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
29863 before performing relro protection. At old place add assertion
29864 to make sure nothing changed.
29865
298662011-02-17 Nathan Sidwell <nathan@codesourcery.com>
29867 Glauber de Oliveira Costa <glommer@gmail.com>
29868
29869 * elf/elf.h: Add new ARM TLS relocs.
29870
298712011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
29872
29873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29874 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
29875 cast from r3.
29876 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
29877 'tests' variable.
29878 * sysdeps/wordsize-64/tst-writev.c: New file.
29879
298802011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
29881
29882 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
29883 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
29884 insns in _dl_start to prevent a TOC reference before relocs are
29885 resolved.
29886
298872011-02-15 Ulrich Drepper <drepper@gmail.com>
29888
29889 [BZ #12469]
29890 * Makeconfig: Remove RANLIB definition.
29891 * Makerules: Don't use RANLIB.
29892 * aclocal.m4: Remove ranlib test.
29893 * configure.in: No need to check for ranlib.
29894 * elf/rtld-Rules: Don't use RANLIB.
29895
298962011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
29897
29898 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
29899 protection macro.
29900 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
29901 inclusion protection macro.
29902
29903 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
29904 SIGRTMIN and SIGRTMAX and print information in that case only when
29905 SIGRTMIN is defined.
29906
299072011-02-11 Jakub Jelinek <jakub@redhat.com>
29908
29909 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
29910 arginfo fn returning -1.
29911
29912 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
29913 and thousands string is zero terminated.
29914
299152011-02-03 Andreas Schwab <schwab@redhat.com>
29916
29917 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
29918 sysdeps/unix/sysv/linux/bits/socket.h.
29919
299202011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
29921
29922 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
29923 (__CPU_COUNT): Remove old macros.
29924 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
29925 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
29926 (__CPU_ALLOC, __CPU_FREE): Add macros.
29927 (__sched_cpualloc, __sched_cpufree): Add declarations.
29928
299292011-02-05 Ulrich Drepper <drepper@gmail.com>
29930
29931 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
29932 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
29933 * nscd/aicache.c (addhstaiX): Return timeout of added value.
29934 (readdhstai): Return value of addhstaiX call.
29935 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
29936 (addgrbyX): Return value returned by cache_addgr.
29937 (readdgrbyname): Return value returned by addgrbyX.
29938 (readdgrbygid): Likewise.
29939 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
29940 (addpwbyX): Return value returned by cache_addpw.
29941 (readdpwbyname): Return value returned by addhstbyX.
29942 (readdpwbyuid): Likewise.
29943 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
29944 (addservbyX): Return value returned by cache_addserv.
29945 (readdservbyname): Return value returned by addservbyX:
29946 (readdservbyport): Likewise.
29947 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
29948 (addhstbyX): Return value returned by cache_addhst.
29949 (readdhstbyname): Return value returned by addhstbyX.
29950 (readdhstbyaddr): Likewise.
29951 (readdhstbynamev6): Likewise.
29952 (readdhstbyaddrv6): Likewise.
29953 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
29954 (readdinitgroups): Return value returned by addinitgroupsX.
29955 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
29956 (prune_cache): Keep track of timeout value of re-added entries.
29957 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
29958 * nscd/nscd.h: Adjust prototypes of readd* functions.
29959
299602011-02-04 Roland McGrath <roland@redhat.com>
29961
29962 * nis/nis_server.c (nis_servstate): Use the right name for 0.
29963 (nis_stats): Likewise.
29964 * nis/nis_modify.c (nis_modify): Likewise.
29965 * nis/nis_remove.c (nis_remove): Likewise.
29966 * nis/nis_add.c (nis_add): Likewise.
29967
29968 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
29969
29970 * posix/fnmatch_loop.c: Add some consts.
29971
29972 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
29973
299742011-02-02 H.J. Lu <hongjiu.lu@intel.com>
29975
29976 [BZ #12460]
29977 * config.make.in (config-cflags-novzeroupper): Define.
29978 * configure.in: Substitute libc_cv_cc_novzeroupper.
29979 * elf/Makefile (AVX-CFLAGS): Define.
29980 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
29981 (CFLAGS-tst-auditmod4a.c): Likewise.
29982 (CFLAGS-tst-auditmod4b.c): Likewise.
29983 (CFLAGS-tst-auditmod6b.c): Likewise.
29984 (CFLAGS-tst-auditmod6c.c): Likewise.
29985 (CFLAGS-tst-auditmod7b.c): Likewise.
29986 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
29987
299882011-02-02 Ulrich Drepper <drepper@gmail.com>
29989
29990 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
29991 function to the callback.
29992 Patch partly by Jiri Olsa <jolsa@redhat.com>.
29993
299942011-02-02 Andreas Schwab <schwab@redhat.com>
29995
29996 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
29997 of errno.
29998
299992011-01-19 Ulrich Drepper <drepper@gmail.com>
30000
30001 [BZ #11724]
30002 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30003 of constructors.
30004 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30005 of destructors.
30006 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30007
30008 [BZ #11724]
30009 * elf/Makefile: Add rules to build and run new test.
30010 * elf/tst-initorder.c: New file.
30011 * elf/tst-initorder.exp: New file.
30012 * elf/tst-initordera1.c: New file.
30013 * elf/tst-initordera2.c: New file.
30014 * elf/tst-initordera3.c: New file.
30015 * elf/tst-initordera4.c: New file.
30016 * elf/tst-initorderb1.c: New file.
30017 * elf/tst-initorderb2.c: New file.
30018 * elf/tst-order-a1.c: New file.
30019 * elf/tst-order-a2.c: New file.
30020 * elf/tst-order-a3.c: New file.
30021 * elf/tst-order-a4.c: New file.
30022 * elf/tst-order-b1.c: New file.
30023 * elf/tst-order-b2.c: New file.
30024 * elf/tst-order-main.c: New file.
30025 New test case by George Gensure <werkt0@gmail.com>.
30026
300272010-10-01 Andreas Schwab <schwab@redhat.com>
30028
30029 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30030 decoding ACE if AI_CANONIDN.
30031
300322011-01-18 Ulrich Drepper <drepper@gmail.com>
30033
30034 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30035
300362011-01-17 Ulrich Drepper <drepper@gmail.com>
30037
30038 * version.h (RELEASE): Bump for 2.13 release.
30039 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30040
30041 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30042
30043 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30044 MADV_NOHUGEPAGE.
30045 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30046 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30047 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30048 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30049 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30050 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30051
30052 * posix/getconf.c: Update copyright year.
30053 * catgets/gencat.c: Likewise.
30054 * csu/version.c: Likewise.
30055 * debug/catchsegv.sh: Likewise.
30056 * debug/xtrace.sh: Likewise.
30057 * elf/ldconfig.c: Likewise.
30058 * elf/ldd.bash.in: Likewise.
30059 * elf/sprof.c (print_version): Likewise.
30060 * iconv/iconv_prog.c: Likewise.
30061 * iconv/iconvconfig.c: Likewise.
30062 * locale/programs/locale.c: Likewise.
30063 * locale/programs/localedef.c: Likewise.
30064 * malloc/memusage.sh: Likewise.
30065 * malloc/mtrace.pl: Likewise.
30066 * nscd/nscd.c (print_version): Likewise.
30067 * nss/getent.c: Likewise.
30068
30069 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30070 PF_CAIF, and PF_ALG.
30071 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30072
300732011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30074
30075 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30076 (modules-names): Use them.
30077 (ifunc-test-modules, ifunc-pie-tests): Define.
30078 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30079 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30080 (test-extras): Likewise.
30081 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30082 $(compile-command.c).
30083 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30084 (all-built-dso): Define.
30085 (check-textrel.out, check-execstack.out): Depend on it.
30086
30087 * configure.in: Don't override --enable-multi-arch.
30088
300892011-01-15 Ulrich Drepper <drepper@gmail.com>
30090
30091 [BZ #6812]
30092 * nscd/hstcache.c (tryagain): Define.
30093 (cache_addhst): Return tryagain not notfound for temporary errors.
30094 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30095 failed.
30096
300972011-01-14 Ulrich Drepper <drepper@gmail.com>
30098
30099 [BZ #10563]
30100 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30101 to make the syscall.
30102 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30103
30104 [BZ #12378]
30105 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30106 and fall back to matching as normal character if the string ends before
30107 the matching ']' is found. This is what POSIX requires.
30108 * posix/testfnm.c: Adjust test result.
30109 * posix/globtest.sh: Adjust test result. Add new test.
30110 * posix/tst-fnmatch.input: Likewise.
30111 * posix/tst-fnmatch2.c: Add new test.
30112
301132010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30114
30115 * elf/Makefile (check-execstack): Revert last change. Depend on
30116 check-execstack.h.
30117 (check-execstack.h): New target.
30118 (generated): Add check-execstack.h.
30119 * elf/check-execstack.c: Include "check-execstack.h".
30120 (main): Revert last change.
30121 (handle_file): Return zero if GNU_STACK is absent and
30122 DEFAULT_STACK_PERMS doesn't include PF_X.
30123
301242011-01-13 Ulrich Drepper <drepper@gmail.com>
30125
30126 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30127 in child fails because the descriptor is already closed.
30128 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30129 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30130 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
30131
30132 [BZ #12397]
30133 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30134 syscall.
30135
30136 [BZ #10484]
30137 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30138 temporary buffer used to handle multi lookups locally.
30139 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
30140
301412011-01-12 Ulrich Drepper <drepper@gmail.com>
30142
30143 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30144 loader is ld.so.
30145
301462011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30147
30148 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30149 alignment for SSE2.
30150
301512011-01-12 Ulrich Drepper <drepper@gmail.com>
30152
30153 [BZ #12394]
30154 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30155 characters. When rounding increased number of integer digits recompute
30156 number of groups.
30157 * stdio-common/tst-grouping.c: New file.
30158 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30159
301602011-01-09 Ulrich Drepper <drepper@gmail.com>
30161
30162 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30163 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30164
30165 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30166 void.
30167 * bits/select.h: Likewise.
30168
301692011-01-08 Ulrich Drepper <drepper@gmail.com>
30170
30171 * po/ja.po: Update from translation team.
30172
301732011-01-04 David S. Miller <davem@sunset.davemloft.net>
30174
30175 [BZ #11155]
30176 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30177 implementation just like for lxstat, fxstatat, et al.
30178
301792010-12-27 Jim Meyering <meyering@redhat.com>
30180
30181 [BZ #12348]
30182 * posix/regexec.c (build_trtable): Return failure indication upon
30183 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30184
301852010-12-25 Ulrich Drepper <drepper@gmail.com>
30186
30187 [BZ #12201]
30188 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30189 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30190 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30191 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30192
30193 [BZ #12207]
30194 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30195
30196 [BZ #12204]
30197 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30198 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30199
302002010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30201
30202 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30203 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30204 script has SORT_BY_INIT_PRIORITY.
30205 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30206 NO_CTORS_DTORS_SECTIONS is defined.
30207 * elf/soinit.c: Likewise.
30208 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30209 NO_CTORS_DTORS_SECTIONS is defined.
30210 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30211 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30212 * sysdeps/sh/init-first.c: Likewise.
30213 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30214
302152010-12-24 Ulrich Drepper <drepper@gmail.com>
30216
30217 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30218 always use the slow path.
30219
302202010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30221
30222 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30223 similar rule which adds the sysdep directories to the header search in
30224 order to pick up the correct platform stackinfo.h.
30225 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30226 perform test if it is, otherwise return successfully without testing.
30227 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30228 DEFAULT_STACK_PERMS define in stackinfo.h.
30229 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30230 defined in stackinfo.h.
30231 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30232 DEFAULT_STACK_PERMS defined in stackinfo.h.
30233 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30234 * sysdeps/ia64/stackinfo.h: Likewise.
30235 * sysdeps/s390/stackinfo.h: Likewise.
30236 * sysdeps/sh/stackinfo.h: Likewise.
30237 * sysdeps/sparc/stackinfo.h: Likewise.
30238 * sysdeps/x86_64/stackinfo.h: Likewise.
30239 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30240 PF_X for powerpc64. Retain PF_X for powerpc32.
30241
302422010-12-19 Ulrich Drepper <drepper@gmail.com>
30243
30244 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30245 accurately.
30246 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30247 GETDENTS_64BIT_ALIGNED.
30248
302492010-12-14 Ulrich Drepper <dreper@gmail.com>
30250
30251 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
30252
302532010-12-10 Andreas Schwab <schwab@redhat.com>
30254
30255 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30256 _GNU_SOURCE.
30257
30258 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30259 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30260 Remove __restrict.
30261 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30262 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30263
302642010-12-09 Ulrich Drepper <drepper@gmail.com>
30265
30266 [BZ #11655]
30267 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30268 are initialized.
30269
302702010-12-09 Jakub Jelinek <jakub@redhat.com>
30271
30272 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30273
302742010-12-03 Ulrich Drepper <drepper@gmail.com>
30275
30276 * po/it.po: Update from translation team.
30277
302782010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30279
30280 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30281 unused codes.
30282
302832010-11-30 Ulrich Drepper <drepper@gmail.com>
30284
30285 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30286
302872010-11-24 Andreas Schwab <schwab@redhat.com>
30288
30289 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30290 specially.
30291 (gaih_getanswer_slice): Likewise.
30292
302932010-10-20 Jakub Jelinek <jakub@redhat.com>
30294
30295 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30296
302972010-05-31 Petr Baudis <pasky@suse.cz>
30298
30299 [BZ #11149]
30300 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30301 silently even in the chroot mode.
30302
303032010-11-22 Ulrich Drepper <drepper@gmail.com>
30304
30305 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30306 last patch a bit. Pretty printing
30307
303082010-05-31 Petr Baudis <pasky@suse.cz>
30309
30310 [BZ #10085]
30311 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30312 initialization of skip_initgroups_dyn.
30313
303142010-11-19 Ulrich Drepper <drepper@gmail.com>
30315
30316 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30317 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30318
303192010-11-16 Ulrich Drepper <drepper@gmail.com>
30320
30321 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30322
303232010-11-11 Andreas Schwab <schwab@redhat.com>
30324
30325 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30326 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30327 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30328 ($(objpfx)tst-fnmatch-mem): New rule.
30329 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30330 * posix/tst-fnmatch.c (main): Call mtrace.
30331
303322010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30333
30334 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30335 Support Intel processor model 6 and model 0x2c.
30336
303372010-11-10 Luis Machado <luisgpm@br.ibm.com>
30338
30339 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30340 signed comparison.
30341
303422010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30343
30344 [BZ #12205]
30345 * string/test-strncasecmp.c (check_result): New function.
30346 (do_one_test): Use it.
30347 (check1): New function.
30348 (test_main): Use it.
30349 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30350 Support strcasecmp and strncasecmp.
30351
303522010-11-08 Ulrich Drepper <drepper@gmail.com>
30353
30354 [BZ #12194]
30355 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30356 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30357
303582010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30359
30360 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30361 IFUNC support.
30362 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30363 memset-x86-64.
30364 * sysdeps/x86_64/multiarch/bzero.S: New file.
30365 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30366 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30367 * sysdeps/x86_64/multiarch/memset.S: New file.
30368 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30369 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30370 Set bit_Prefer_SSE_for_memop for Intel processors.
30371 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30372 Define.
30373 (index_Prefer_SSE_for_memop): Define.
30374 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30375
303762010-11-04 Luis Machado <luisgpm@br.ibm.com>
30377
30378 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30379 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30380
303812010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30382
30383 [BZ #12191]
30384 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30385 (__x86_64_raw_data_cache_size_half): Likewise.
30386 (__x86_64_raw_shared_cache_size): Likewise.
30387 (__x86_64_raw_shared_cache_size_half): Likewise.
30388
30389 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30390 (__x86_64_raw_data_cache_size_half): Likewise.
30391 (__x86_64_raw_shared_cache_size): Likewise.
30392 (__x86_64_raw_shared_cache_size_half): Likewise.
30393 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30394 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30395 and __x86_64_raw_shared_cache_size_half. Round
30396 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30397 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30398 to multiple of 256 bytes.
30399
304002010-11-03 Ulrich Drepper <drepper@gmail.com>
30401
30402 [BZ #12167]
30403 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30404 of inacessible symlinks. Verify result of symlink before returning it.
30405 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30406 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30407
304082010-10-28 Erich Ritz <erichritz@gmail.com>
30409
30410 * math/math.h (isinf): Fix typo in comment.
30411
304122010-11-01 Ulrich Drepper <drepper@gmail.com>
30413
30414 * po/da.po: Update from translation team.
30415
304162010-10-26 Ulrich Drepper <drepper@gmail.com>
30417
30418 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30419 is added to the list.
30420
304212010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30422 Ulrich Drepper <drepper@gmail.com>
30423
30424 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30425 the global list here. Move code to...
30426 (_dl_add_to_namespace_list): ...here. New function.
30427 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30428 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30429 * elf/dl-load.c (lose): Don't remove the element from the list.
30430 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30431 (_dl_map_object): Likewise.
30432
304332010-10-25 Ulrich Drepper <drepper@gmail.com>
30434
30435 [BZ #12159]
30436 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30437 into all bytes of SSE register.
30438 Patch by Richard Li <richardpku@gmail.com>.
30439
304402010-10-24 Ulrich Drepper <drepper@gmail.com>
30441
30442 [BZ #12140]
30443 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30444 perturbing.
30445
304462010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30447
30448 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30449 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30450 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30451 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30453 submachine.
30454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30455
304562010-10-22 Andreas Schwab <schwab@redhat.com>
30457
30458 * include/dlfcn.h (__RTLD_SECURE): Define.
30459 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30460 mode & __RTLD_SECURE instead.
30461 (open_path): Rename preloaded parameter to secure.
30462 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30463 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30464 * elf/dl-deps.c (openaux): Likewise.
30465 * elf/rtld.c (struct map_args): Remove is_preloaded.
30466 (map_doit): Don't use it.
30467 (dl_main): Likewise.
30468 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30469 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30470
304712010-09-09 Andreas Schwab <schwab@redhat.com>
30472
30473 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30474 (sysd-rules-targets): Remove duplicates.
30475 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30476 rtld-%.$o dependency.
30477
304782010-10-18 Andreas Schwab <schwab@redhat.com>
30479
30480 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30481 _dl_map_object do it.
30482
304832010-10-19 Ulrich Drepper <drepper@gmail.com>
30484
30485 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30486 fast fma builtins, define the macros in the C99 standard.
30487 (FP_FAST_FMAF): Likewise.
30488 (FP_FAST_FMAL): Likewise.
30489 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30490
30491 * bits/mathdef.h: Update copyright year.
30492 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30493
304942010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30495
30496 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30497 builtins, define the macros in the C99 standard.
30498 (FP_FAST_FMAF): Likewise.
30499 (FP_FAST_FMAL): Likewise.
30500 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30501 multiply/add.
30502 (FP_FAST_FMAF): Likewise.
30503
305042010-10-15 Jakub Jelinek <jakub@redhat.com>
30505
30506 [BZ #3268]
30507 * math/libm-test.inc (fma_test): Some new testcases.
30508 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30509 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30510 y and infinite z. Do multiplication by C already in long double.
30511 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30512 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30513 y and infinite z. Do bitwise or of inexact bit into u.d.
30514 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30515 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30516 * sysdeps/i386/fpu/s_fma.S: Removed.
30517 * sysdeps/i386/fpu/s_fmal.S: Removed.
30518
305192010-10-16 Jakub Jelinek <jakub@redhat.com>
30520
30521 [BZ #3268]
30522 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30523 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30524 computation is not scheduled after fetestexcept. Fix value
30525 of minimum denormal long double.
30526
305272010-10-14 Jakub Jelinek <jakub@redhat.com>
30528
30529 [BZ #3268]
30530 * math/libm-test.inc (fma_test): Add some more tests.
30531 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30532 correctly.
30533
305342010-10-15 Andreas Schwab <schwab@redhat.com>
30535
30536 * scripts/data/localplt-s390-linux-gnu.data: New file.
30537 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30538
305392010-10-13 Jakub Jelinek <jakub@redhat.com>
30540
30541 [BZ #3268]
30542 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30543 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30544 instead of dbl-64.
30545 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30546 inlines.
30547 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30548 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30549 if one of x and y is very large and the other is subnormal.
30550 * sysdeps/s390/fpu/s_fmaf.c: New file.
30551 * sysdeps/s390/fpu/s_fma.c: New file.
30552 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30553 * sysdeps/powerpc/fpu/s_fma.S: New file.
30554 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30555 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30556 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30557
305582010-10-12 Jakub Jelinek <jakub@redhat.com>
30559
30560 [BZ #3268]
30561 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30562 fma tests.
30563 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30564 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30565 * sysdeps/i386/i686/multiarch/s_fma.c: Include
30566 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30567 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30568 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30569 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30570
305712010-10-12 Ulrich Drepper <drepper@redhat.com>
30572
30573 [BZ #12078]
30574 * posix/regcomp.c (parse_branch): One more memory leak plugged.
30575 * posix/bug-regex31.input: Add test case.
30576
305772010-10-11 Ulrich Drepper <drepper@gmail.com>
30578
30579 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30580 * posix/bug-regex31.input: New file.
30581
30582 [BZ #12078]
30583 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30584 (parse_sub_exp): Fix last change, use postorder.
30585
30586 * posix/bug-regex31.c: New file.
30587 * posix/Makefile: Add rules to build and run bug-regex31.
30588
30589 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30590
30591 [BZ #12078]
30592 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30593
30594 [BZ #12108]
30595 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30596 to have entries in sys_siglist.
30597
30598 [BZ #12093]
30599 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30600 be NULL.
30601
306022010-10-07 Jakub Jelinek <jakub@redhat.com>
30603
30604 [BZ #3268]
30605 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30606 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30607 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30608 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30609 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30610 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30611 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30612 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30613 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30614 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30615 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30616 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30617 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30618 * math/ftestexcept.c (fetestexcept): Likewise.
30619 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30620 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30621 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30622 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30623 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30624 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30625 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30626
306272010-10-11 Ulrich Drepper <drepper@gmail.com>
30628
30629 [BZ #12107]
30630 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30631 newline.
30632
306332010-10-06 Ulrich Drepper <drepper@gmail.com>
30634
30635 * string/bug-strstr1.c: New file.
30636 * string/Makefile: Add rules to build and run bug-strstr1.
30637
306382010-10-05 Eric Blake <eblake@redhat.com>
30639
30640 [BZ #12092]
30641 * string/str-two-way.h (two_way_long_needle): Always clear memory
30642 when skipping input due to the shift table.
30643
306442010-10-03 Ulrich Drepper <drepper@gmail.com>
30645
30646 [BZ #12005]
30647 * malloc/mcheck.c: Handle large requests.
30648
30649 [BZ #12077]
30650 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30651 for strncmp and strncasecmp.
30652 * string/stratcliff.c: Add tests for strcmp and strncmp.
30653 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30654
306552010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30656
30657 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30658 __set_fpscr.
30659
306602010-09-30 Andreas Jaeger <aj@suse.de>
30661
30662 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30663 (CGROUP_SUPER_MAGIC): Define.
30664 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30665 Handle btrfs and cgroup file systems.
30666 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30667 Likewise.
30668
306692010-09-27 Luis Machado <luisgpm@br.ibm.com>
30670
30671 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30672 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30673
306742010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30675
30676 [BZ #12067]
30677 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30678 trying to locate the ELF header.
30679
306802010-09-27 Andreas Schwab <schwab@redhat.com>
30681
30682 [BZ #11611]
30683 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30684 Mask out sign-bit copies when constructing f_fsid.
30685
306862010-09-24 Petr Baudis <pasky@suse.cz>
30687
30688 * debug/stack_chk_fail_local.c: Add missing licence exception.
30689 * debug/warning-nop.c: Likewise.
30690
306912010-09-15 Joseph Myers <joseph@codesourcery.com>
30692
30693 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30694 implementing getdents64 using getdents syscall, set d_type if
30695 __ASSUME_GETDENTS32_D_TYPE.
30696
306972010-09-16 Andreas Schwab <schwab@redhat.com>
30698
30699 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30700 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30701
307022010-09-21 Ulrich Drepper <drepper@redhat.com>
30703
30704 [BZ #12037]
30705 * posix/unistd.h: Undo change of feature selection for ftruncate from
30706 2010-01-11.
30707
307082010-09-20 Ulrich Drepper <drepper@redhat.com>
30709
30710 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
30711 detection.
30712
307132010-09-20 Andreas Schwab <schwab@redhat.com>
30714
30715 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30716 fanotify_mark.
30717 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30718
307192010-09-14 Andreas Schwab <schwab@redhat.com>
30720
30721 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30722 variables after CHECK_SP call.
30723 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30724
307252010-09-13 Andreas Schwab <schwab@redhat.com>
30726 Ulrich Drepper <drepper@redhat.com>
30727
30728 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30729 re-relocationg ld.so.
30730 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30731 _dl_init_paths call.
30732 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
30733 here anymore.
30734
307352010-09-14 Ulrich Drepper <drepper@redhat.com>
30736
30737 * resolv/res_init.c (__res_vinit): Count the default server we added.
30738
307392010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
30740 Ulrich Drepper <drepper@redhat.com>
30741
30742 [BZ #11968]
30743 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30744 (____longjmp_chk): Use %ebx for saving value across system call.
30745 Add unwind info.
30746
307472010-09-06 Andreas Schwab <schwab@redhat.com>
30748
30749 * manual/Makefile: Don't mix pattern rules with normal rules.
30750
307512010-09-05 Andreas Schwab <schwab@linux-m68k.org>
30752
30753 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30754 operation.
30755 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30756 * libio/iofopncook.c (_IO_cookie_init): Likewise.
30757 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30758 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30759 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30760 Likewise.
30761
307622010-09-04 Ulrich Drepper <drepper@redhat.com>
30763
30764 [BZ #11979]
30765 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30766 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30767
307682010-09-02 Ulrich Drepper <drepper@redhat.com>
30769
30770 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30771 * sysdeps/x86_64/addmul_1.S: Likewise.
30772 * sysdeps/x86_64/lshift.S: Likewise.
30773 * sysdeps/x86_64/mul_1.S: Likewise.
30774 * sysdeps/x86_64/rshift.S: Likewise.
30775 * sysdeps/x86_64/sub_n.S: Likewise.
30776 * sysdeps/x86_64/submul_1.S: Likewise.
30777
307782010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
30779
30780 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30781 Define __sched_param instead of SCHED_* and sched_param when
30782 <bits/sched.h> is included with __need_schedparam defined.
30783 * bits/sched.h [__need_schedparam]
30784 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
30785 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30786 (__defined_schedparam): Define to 1.
30787 (__sched_param): New structure, identical to sched_param.
30788 (__need_schedparam): Undefine.
30789
307902010-08-31 Mike Frysinger <vapier@gentoo.org>
30791
30792 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30793 (epoll_create1): Declare.
30794
30795 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30796
307972010-08-31 Andreas Schwab <schwab@redhat.com>
30798
30799 [BZ #7066]
30800 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30801 shifting retval into place.
30802
308032010-09-01 Ulrich Drepper <drepper@redhat.com>
30804
30805 * nis/rpcsvc/nis.h: Update copyright notice.
30806 * nis/rpcsvc/nis.x: Likewise.
30807 * nis/rpcsvc/nis_callback.h: Likewise.
30808 * nis/rpcsvc/nis_callback.x: Likewise.
30809 * nis/rpcsvc/nis_object.x: Likewise.
30810 * nis/rpcsvc/nis_tags.h: Likewise.
30811 * nis/rpcsvc/yp.h: Likewise.
30812 * nis/rpcsvc/yp.x: Likewise.
30813 * nis/rpcsvc/ypupd.h: Likewise.
30814 * nis/yp_xdr.c: Likewise.
30815 * nis/ypupdate_xdr.c: Likewise.
30816
30817 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
30818 mainly the body of pmap_getport. Add parameters to specify timeouts.
30819 (pmap_getport): Use __libc_rpc_getport.
30820 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
30821 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
30822 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
30823
308242010-08-31 Andreas Schwab <schwab@linux-m68k.org>
30825
30826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
30827 fanotify_mark.
30828
308292010-08-27 Roland McGrath <roland@redhat.com>
30830
30831 * sysdeps/i386/i686/multiarch/Makefile
30832 (CFLAGS-varshift.c): New variable.
30833
308342010-08-27 Ulrich Drepper <drepper@redhat.com>
30835
30836 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
30837 * sysdeps/i386/i686/multiarch/varshift.c: New file.
30838
30839 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
30840
30841 * sysdeps/x86_64/strlen.S: Minimal code improvement.
30842
308432010-08-26 H.J. Lu <hongjiu.lu@intel.com>
30844
30845 * sysdeps/x86_64/strlen.S: Unroll the loop.
30846 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30847 strlen-sse2 strlen-sse2-bsf.
30848 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
30849 __strlen_no_bsf if bit_Slow_BSF is set.
30850 (__strlen_sse42): Removed.
30851 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
30852 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
30853
308542010-08-25 Roland McGrath <roland@redhat.com>
30855
30856 * sysdeps/x86_64/multiarch/varshift.S: File removed.
30857 * sysdeps/x86_64/multiarch/varshift.c: New file.
30858 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
30859 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
30860 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
30861 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30862
308632010-08-25 H.J. Lu <hongjiu.lu@intel.com>
30864
30865 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30866 strlen-sse2 strlen-sse2-bsf.
30867 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
30868 __strlen_sse2_bsf if bit_Slow_BSF is unset.
30869 (__strlen_sse2): Removed.
30870 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
30871 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
30872 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30873 bit_Slow_BSF for Atom.
30874 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
30875 (index_Slow_BSF): Define.
30876 (HAS_SLOW_BSF): Define.
30877
308782010-08-25 Ulrich Drepper <drepper@redhat.com>
30879
30880 [BZ #10851]
30881 * resolv/res_init.c (__res_vinit): When no server address at all
30882 is given default to loopback.
30883
308842010-08-24 Roland McGrath <roland@redhat.com>
30885
30886 * configure.in: Remove config-name.h generation.
30887 * configure: Regenerated.
30888 * config-name.in: File removed.
30889 * scripts/config-uname.sh: New file.
30890 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
30891 ($(objdir)config-name.h): New target.
30892
30893 * sunrpc/rpc_parse.h: Avoid nested comment.
30894
308952010-08-24 Richard Henderson <rth@redhat.com>
30896 Ulrich Drepper <drepper@redhat.com>
30897 H.J. Lu <hongjiu.lu@intel.com>
30898
30899 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
30900 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
30901 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
30902 Replace _mm_srli_si128 with __m128i_shift_right. Replace
30903 _mm_alignr_epi8 with _mm_loadu_si128.
30904 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
30905 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
30906 (__m128i_shift_right): Removed.
30907 * sysdeps/i386/i686/multiarch/varshift.h: New file.
30908 * sysdeps/i386/i686/multiarch/varshift.S: New file.
30909 * sysdeps/x86_64/multiarch/varshift.h: New file.
30910 * sysdeps/x86_64/multiarch/varshift.S: New file.
30911
309122010-08-21 Mike Frysinger <vapier@gentoo.org>
30913
30914 * configure.in: Move assembler checks to before sysdep dir checking.
30915
309162010-08-20 Petr Baudis <pasky@suse.cz>
30917
30918 * LICENSES: Sync the sunrpc license.
30919
309202010-08-19 Ulrich Drepper <drepper@redhat.com>
30921
30922 * sunrpc/auth_des.c: Update copyright notice once again.
30923 * sunrpc/auth_none.c: Likewise.
30924 * sunrpc/auth_unix.c: Likewise.
30925 * sunrpc/authdes_prot.c: Likewise.
30926 * sunrpc/authuxprot.c: Likewise.
30927 * sunrpc/bindrsvprt.c: Likewise.
30928 * sunrpc/clnt_gen.c: Likewise.
30929 * sunrpc/clnt_perr.c: Likewise.
30930 * sunrpc/clnt_raw.c: Likewise.
30931 * sunrpc/clnt_simp.c: Likewise.
30932 * sunrpc/clnt_tcp.c: Likewise.
30933 * sunrpc/clnt_udp.c: Likewise.
30934 * sunrpc/clnt_unix.c: Likewise.
30935 * sunrpc/des_crypt.c: Likewise.
30936 * sunrpc/des_soft.c: Likewise.
30937 * sunrpc/get_myaddr.c: Likewise.
30938 * sunrpc/getrpcport.c: Likewise.
30939 * sunrpc/key_call.c: Likewise.
30940 * sunrpc/key_prot.c: Likewise.
30941 * sunrpc/openchild.c: Likewise.
30942 * sunrpc/pm_getmaps.c: Likewise.
30943 * sunrpc/pm_getport.c: Likewise.
30944 * sunrpc/pmap_clnt.c: Likewise.
30945 * sunrpc/pmap_prot.c: Likewise.
30946 * sunrpc/pmap_prot2.c: Likewise.
30947 * sunrpc/pmap_rmt.c: Likewise.
30948 * sunrpc/rpc/auth.h: Likewise.
30949 * sunrpc/rpc/auth_unix.h: Likewise.
30950 * sunrpc/rpc/clnt.h: Likewise.
30951 * sunrpc/rpc/des_crypt.h: Likewise.
30952 * sunrpc/rpc/key_prot.h: Likewise.
30953 * sunrpc/rpc/netdb.h: Likewise.
30954 * sunrpc/rpc/pmap_clnt.h: Likewise.
30955 * sunrpc/rpc/pmap_prot.h: Likewise.
30956 * sunrpc/rpc/pmap_rmt.h: Likewise.
30957 * sunrpc/rpc/rpc.h: Likewise.
30958 * sunrpc/rpc/rpc_des.h: Likewise.
30959 * sunrpc/rpc/rpc_msg.h: Likewise.
30960 * sunrpc/rpc/svc.h: Likewise.
30961 * sunrpc/rpc/svc_auth.h: Likewise.
30962 * sunrpc/rpc/types.h: Likewise.
30963 * sunrpc/rpc/xdr.h: Likewise.
30964 * sunrpc/rpc_clntout.c: Likewise.
30965 * sunrpc/rpc_cmsg.c: Likewise.
30966 * sunrpc/rpc_common.c: Likewise.
30967 * sunrpc/rpc_cout.c: Likewise.
30968 * sunrpc/rpc_dtable.c: Likewise.
30969 * sunrpc/rpc_hout.c: Likewise.
30970 * sunrpc/rpc_main.c: Likewise.
30971 * sunrpc/rpc_parse.c: Likewise.
30972 * sunrpc/rpc_parse.h: Likewise.
30973 * sunrpc/rpc_prot.c: Likewise.
30974 * sunrpc/rpc_sample.c: Likewise.
30975 * sunrpc/rpc_scan.c: Likewise.
30976 * sunrpc/rpc_scan.h: Likewise.
30977 * sunrpc/rpc_svcout.c: Likewise.
30978 * sunrpc/rpc_tblout.c: Likewise.
30979 * sunrpc/rpc_util.c: Likewise.
30980 * sunrpc/rpc_util.h: Likewise.
30981 * sunrpc/rpcinfo.c: Likewise.
30982 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
30983 * sunrpc/rpcsvc/key_prot.x: Likewise.
30984 * sunrpc/rpcsvc/klm_prot.x: Likewise.
30985 * sunrpc/rpcsvc/mount.x: Likewise.
30986 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
30987 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
30988 * sunrpc/rpcsvc/rex.x: Likewise.
30989 * sunrpc/rpcsvc/rstat.x: Likewise.
30990 * sunrpc/rpcsvc/rusers.x: Likewise.
30991 * sunrpc/rpcsvc/sm_inter.x: Likewise.
30992 * sunrpc/rpcsvc/spray.x: Likewise.
30993 * sunrpc/rpcsvc/yppasswd.x: Likewise.
30994 * sunrpc/rtime.c: Likewise.
30995 * sunrpc/svc.c: Likewise.
30996 * sunrpc/svc_auth.c: Likewise.
30997 * sunrpc/svc_authux.c: Likewise.
30998 * sunrpc/svc_raw.c: Likewise.
30999 * sunrpc/svc_run.c: Likewise.
31000 * sunrpc/svc_simple.c: Likewise.
31001 * sunrpc/svc_tcp.c: Likewise.
31002 * sunrpc/svc_udp.c: Likewise.
31003 * sunrpc/svc_unix.c: Likewise.
31004 * sunrpc/svcauth_des.c: Likewise.
31005 * sunrpc/xcrypt.c: Likewise.
31006 * sunrpc/xdr.c: Likewise.
31007 * sunrpc/xdr_array.c: Likewise.
31008 * sunrpc/xdr_float.c: Likewise.
31009 * sunrpc/xdr_mem.c: Likewise.
31010 * sunrpc/xdr_rec.c: Likewise.
31011 * sunrpc/xdr_ref.c: Likewise.
31012 * sunrpc/xdr_sizeof.c: Likewise.
31013 * sunrpc/xdr_stdio.c: Likewise.
31014
31015 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31016 handling.
31017
310182010-08-19 Andreas Schwab <schwab@redhat.com>
31019
31020 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31021
310222010-08-19 Luis Machado <luisgpm@br.ibm.com>
31023
31024 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31025 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31026 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31027 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31028 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31029 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31030 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31031 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31032 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31033 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31034 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31035 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31036 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31037 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31038
310392010-07-26 Anton Blanchard <anton@samba.org>
31040
31041 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31042 * malloc/arena.c (heap_trim): Likewise.
31043
310442010-08-16 Ulrich Drepper <drepper@redhat.com>
31045
31046 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31047 here. Not...
31048 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31049 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31050
310512010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31052
31053 * sysdeps/i386/elf/Makefile: New file.
31054
310552010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31056
31057 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31058 from fanotify_init.
31059 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31060 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31061
310622010-08-15 Ulrich Drepper <drepper@redhat.com>
31063
31064 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31065 of strncasecmp_l.
31066 * sysdeps/multiarch/strcmp.S: Likewise.
31067
310682010-08-14 Ulrich Drepper <drepper@redhat.com>
31069
31070 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31071 strncase_l-nonascii.
31072 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31073 Add strncase_l-ssse3.
31074 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31075 * sysdeps/x86_64/strcmp.S: Likewise.
31076 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31077 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31078 * sysdeps/x86_64/strncase.S: New file.
31079 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31080 * sysdeps/x86_64/strncase_l.S: New file.
31081 * string/Makefile (strop-tests): Add strncasecmp.
31082 * string/test-strncasecmp.c: New file.
31083
31084 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31085 warning.
31086
31087 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31088 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31089
310902010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31091
31092 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31093
310942010-08-12 Ulrich Drepper <drepper@redhat.com>
31095
31096 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31097 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31098 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31099
311002010-05-01 Alan Modra <amodra@gmail.com>
31101
31102 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31103 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31104 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31105 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31106 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31107 tidying. Don't tail-call __sigjmp_save for static lib.
31108 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31109 save location.
31110 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31111 (CALL_MCOUNT): Add eh info, and nop after bl.
31112 (TAIL_CALL_SYSCALL_ERROR): New macro.
31113 (PSEUDO_RET): Use it.
31114 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31115 Correct save location of integer regs and cr.
31116 (_dl_profile_resolve): Correct cr save location. Delete nops
31117 after bl when SHARED. Reduce cfi size a little by better
31118 placement of cfi directives.
31119 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31120 make a stack frame. Instead use parm save area as a temp.
31121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31122 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31124 Don't make a stack frame for parent, use parm save area.
31125 Increase child stack frame to 112 bytes. Don't save unused reg,
31126 and adjust reg usage. Set up cfi on error recovery and
31127 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31129 (__makecontext): Add dummy nop after jump to exit.
31130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31131 Use correct parm save area and cr save, reduce stack frame.
31132 Correct cfi for possible PSEUDO_RET frame setup.
31133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31134 Branch to local label emitted by PSEUDO_RET rather than
31135 __syscall_error.
31136
311372010-08-12 Andreas Schwab <schwab@redhat.com>
31138
31139 [BZ #11904]
31140 * locale/programs/locale.c (print_assignment): New function.
31141 (show_locale_vars): Use it.
31142
311432010-08-11 Ulrich Drepper <drepper@redhat.com>
31144
31145 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31146 field.
31147 (struct statfs64): Likewise.
31148 (_STATFS_F_FLAGS): Define.
31149 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31150 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31151 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31152 (ST_VALID): Define locally.
31153 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31154 __statvfs_getflags, use the provided value.
31155 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31156 __ASSUME_STATFS_F_FLAGS.
31157
31158 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31159
31160 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31161 Add sys/fanotify.h.
31162 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31163 fanotify_mask for GLIBC_2.13.
31164 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31165 fanotify_init and fanotify_mark.
31166 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31167 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31168
31169 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31170 Add prlimit.
31171 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31172 prlimit64 for GLIBC_2.13.
31173 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31174 prlimit64.
31175 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31176 syscall.
31177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31178 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31179 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31180 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31181 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31182 add prlimit alias.
31183 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31184
31185 [BZ #11903]
31186 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31187 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31188
31189 * nss/Makefile: Add rules to build and run tst-nss-test1.
31190 * shlib-versions: Add entry for libnss_test1.
31191 * nss/nss_test1.c: New file.
31192 * nss/tst-nss-test1.c: New file.
31193
31194 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31195 (__nss_configure_lookup): Set appropriate entry in
31196 __nss_configure_lookup to true.
31197 * nss/nsswitch.h: Define enum with indeces of databases in
31198 databases and __nss_database_custom arrays. Declare
31199 __nss_database_custom.
31200 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31201 to avoid using nscd when custom rules are installed.
31202 * nss/getXXbyYY_r.c: Likewise.
31203 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31204
31205 * nss/nss_files/files-parse.c: Whitespace fixes.
31206
312072010-08-09 Ulrich Drepper <drepper@redhat.com>
31208
31209 [BZ #11883]
31210 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31211 * posix/fnmatch_loop.c: Likewise.
31212
312132010-07-17 Andi Kleen <ak@linux.intel.com>
31214
31215 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31216 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31217 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31218 * Versions.def [GLIBC_2.13]: Add.
31219
312202010-08-06 Ulrich Drepper <drepper@redhat.com>
31221
31222 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31223 Also fail if tpwd after pwuid call is NULL.
31224
312252010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31226
31227 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31228 when converting to ms.
31229
312302010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31231
31232 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31233 EOPNOTSUPP errors with ENOTTY.
31234 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31235 EOPNOTSUPP errors with ENOTTY.
31236
312372010-07-31 Ulrich Drepper <drepper@redhat.com>
31238
31239 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31240 Add strcasecmp_l-ssse3.
31241 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31242 strcasecmp.
31243 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31244 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31245 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31246
312472010-07-30 Ulrich Drepper <drepper@redhat.com>
31248
31249 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31250
31251 * string/Makefile (strop-tests): Add strcasecmp.
31252 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31253 strcasecmp_l-nonascii.
31254 (gen-as-const-headers): Add locale-defines.sym.
31255 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31256 * sysdeps/x86_64/strcasecmp.S: New file.
31257 * sysdeps/x86_64/strcasecmp_l.S: New file.
31258 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31259 * sysdeps/x86_64/locale-defines.sym: New file.
31260 * string/test-strcasecmp.c: New file.
31261
31262 * string/test-strcasestr.c: Test both ends of the range of characters.
31263 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31264
312652010-07-29 Roland McGrath <roland@redhat.com>
31266
31267 [BZ #11856]
31268 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31269
312702010-07-27 Ulrich Drepper <drepper@redhat.com>
31271
31272 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31273 for ld.so.
31274
312752010-07-27 Andreas Schwab <schwab@redhat.com>
31276
31277 * manual/memory.texi (Malloc Tunable Parameters): Document
31278 M_PERTURB.
31279
312802010-07-26 Roland McGrath <roland@redhat.com>
31281
31282 [BZ #11840]
31283 * configure.in (-fgnu89-inline check): Set and substitute
31284 gnu89_inline, not libc_cv_gnu89_inline.
31285 * configure: Regenerated.
31286 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31287
312882010-07-26 Ulrich Drepper <drepper@redhat.com>
31289
31290 * string/test-strnlen.c: New file.
31291 * string/Makefile (strop-tests): Add strnlen.
31292 * string/tester.c (test_strnlen): Add a few more test cases.
31293 * string/tst-strlen.c: Better error reporting.
31294
31295 * sysdeps/x86_64/strnlen.S: New file.
31296
312972010-07-24 Ulrich Drepper <drepper@redhat.com>
31298
31299 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31300 lower-latency instructions.
31301
313022010-07-23 Ulrich Drepper <drepper@redhat.com>
31303
31304 * string/test-strcasestr.c: New file.
31305 * string/test-strstr.c: New file.
31306 * string/Makefile (strop-tests): Add strstr and strcasestr.
31307 * string/str-two-way.h: Don't undefine MAX.
31308 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31309
313102010-07-21 Andreas Schwab <schwab@redhat.com>
31311
31312 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31313 strcasestr-nonascii.
31314 (CFLAGS-strcasestr-nonascii.c): Define.
31315 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31316 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31317 Remove unused attribute.
31318
313192010-07-20 Roland McGrath <roland@redhat.com>
31320
31321 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31322 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31323 ld.so.cache was broken. With it, there is no way to disable dsocaps
31324 like LD_HWCAP_MASK can disable hwcaps.
31325
313262010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31327
31328 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31329
313302010-07-16 Ulrich Drepper <drepper@redhat.com>
31331
31332 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31333 call in strcasestr.
31334 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31335 __strcasestr_sse42_nonascii.
31336 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31337 strcasestr-nonascii.c.
31338 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31339
313402010-06-15 Luis Machado <luisgpm@br.ibm.com>
31341
31342 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31343 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31344 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31345 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31346
313472010-07-09 Ulrich Drepper <drepper@redhat.com>
31348
31349 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31350 fcntl.
31351
313522010-07-06 Andreas Schwab <schwab@redhat.com>
31353
31354 [BZ #11577]
31355 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31356 dl_signal_cerror.
31357
313582010-07-06 Ulrich Drepper <drepper@redhat.com>
31359
31360 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31361 _PC_PIPE_BUF using F_GETPIPE_SZ.
31362
313632010-07-05 Roland McGrath <roland@redhat.com>
31364
31365 * manual/arith.texi (Rounding Functions): Fix rint description
31366 implicit in round description.
31367
313682010-07-02 Ulrich Drepper <drepper@redhat.com>
31369
31370 * elf/Makefile: Fix linking for a few tests to make recent linker
31371 happy.
31372
313732010-06-30 Andreas Schwab <schwab@redhat.com>
31374
31375 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31376 $(common-objpfx)libc_nonshared.a.
31377
313782010-06-21 Luis Machado <luisgpm@br.ibm.com>
31379
31380 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31381 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31382 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31383 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31384 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31385 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31386 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31387 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31402 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31403 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31404 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31405 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31406 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31407 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31408 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31409 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31410 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31411 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31412 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31413 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31428
314292010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31430
31431 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31432 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31433 * string/memmove.c (memmove): Renamed to ...
31434 (MEMMOVE): ...this. Default to memmove.
31435 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31436 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31437 (END_CHK): Define.
31438 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31439 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31440 mempcpy-ssse3-back memmove-ssse3-back.
31441 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31442 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31443 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31444 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31445 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31446 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31447 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31448 * sysdeps/x86_64/multiarch/memmove.c: New file.
31449 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31450 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31451 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31452 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31453 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31454 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31455 Define.
31456 (index_Fast_Copy_Backward): Define.
31457 (HAS_ARCH_FEATURE): Define.
31458 (HAS_FAST_REP_STRING): Define.
31459 (HAS_FAST_COPY_BACKWARD): Define.
31460
314612010-06-21 Andreas Schwab <schwab@redhat.com>
31462
31463 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31464 Restore proper fallback handling.
31465
314662010-06-19 Ulrich Drepper <drepper@redhat.com>
31467
31468 [BZ #11701]
31469 * posix/group_member.c (__group_member): Correct checking loop.
31470
31471 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31472 OOM in getpwuid_r correctly. Return error number when the caller
31473 should return, otherwise -1.
31474 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31475 call returning > 0 value.
31476 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31477
314782010-06-07 Andreas Schwab <schwab@redhat.com>
31479
31480 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31481 libc_nonshared.a from targets in modules-names.
31482
314832010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31484
31485 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31486 requires it.
31487
314882010-06-10 Luis Machado <luisgpm@br.ibm.com>
31489
31490 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31491 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31492 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31493 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31494
314952010-06-02 Andreas Schwab <schwab@redhat.com>
31496
31497 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31498
314992010-06-14 Ulrich Drepper <drepper@redhat.com>
31500
31501 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31502 and F_GETPIPE_SZ.
31503 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31504 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31505 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31506 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31507 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31508 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31509
315102010-06-14 Roland McGrath <roland@redhat.com>
31511
31512 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31513
315142010-06-07 Jakub Jelinek <jakub@redhat.com>
31515
31516 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31517 __REDIRECT followed by __THROW.
31518 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31519 * posix/getopt.h (getopt): Likewise.
31520
315212010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31522
31523 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31524 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31525 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31526 in AT_FLAGS.
31527 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31528 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31529
315302010-05-28 Luis Machado <luisgpm@br.ibm.com>
31531
31532 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31533
315342010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31535
31536 [BZ #11640]
31537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31538 Properly check family and model.
31539
315402010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31541
31542 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31543
315442010-05-24 Luis Machado <luisgpm@br.ibm.com>
31545
31546 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31547
315482010-05-21 Ulrich Drepper <drepper@redhat.com>
31549
31550 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31551 symbol reference.
31552
315532010-05-19 Andreas Schwab <schwab@redhat.com>
31554
31555 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31556 symbol reference.
31557
315582010-05-21 Andreas Schwab <schwab@redhat.com>
31559
31560 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31561 and internal_recvmmsg.
31562 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31563 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31564 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31565 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31566
31567 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31568 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31569 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31570
315712010-05-20 Andreas Schwab <schwab@redhat.com>
31572
31573 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31574
315752010-05-17 Luis Machado <luisgpm@br.ibm.com>
31576
31577 POWER7 optimizations.
31578 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31579 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31580
315812010-05-19 Ulrich Drepper <drepper@redhat.com>
31582
31583 * version.h: Update for 2.13 development version.
31584
315852010-05-12 Andrew Stubbs <ams@codesourcery.com>
31586
31587 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31588 exceptions. Return 0.
31589
315902010-05-07 Roland McGrath <roland@redhat.com>
31591
31592 * elf/ldconfig.c (main): Add a const.
31593
315942010-05-06 Ulrich Drepper <drepper@redhat.com>
31595
31596 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31597 (args_options): Add no-idn option.
31598 (ahosts_keys_int): Add idn_flags to ai_flags.
31599 (parse_option): Handle 'i' option to clear idn_flags.
31600
31601 * malloc/malloc.c (_int_free): Possible race in the most recently
31602 added check. Only act on the data if no current modification
31603 happened.
31604
31605See ChangeLog.17 for earlier changes.