]> sourceware.org Git - glibc.git/blame - ChangeLog
Make more libm tests condition exceptions tests with math-tests.h.
[glibc.git] / ChangeLog
CommitLineData
94f2c076
JM
12013-06-12 Joseph Myers <joseph@codesourcery.com>
2
3 * math/bug-nextafter.c: Include <math-tests.h>.
4 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5 the relevant type.
6 * math/bug-nexttoward.c: Include <math-tests.h>.
7 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8 the relevant type.
9 * math/test-misc.c: Include <math-tests.h>.
10 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11 the relevant type.
12
e0e50a0a
AJ
132013-06-12 Andreas Jaeger <aj@suse.de>
14
15 * po/ia.po: Update Interlingua translation from translation
16 project.
17
25061094
SP
182013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19
20 * include/fenv.h: Include stdbool.h.
21 (struct rm_ctx): New structure.
22 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23 Define macro.
24 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25 (SET_RESTORE_ROUNDF): Likewise.
26 (SET_RESTORE_ROUNDL): Likewise.
27 (SET_RESTORE_ROUND_NOEX): Likewise.
28 (SET_RESTORE_ROUND_NOEXF): Likewise.
29 (SET_RESTORE_ROUND_NOEXL): Likewise.
30 (SET_RESTORE_ROUND_53BIT): Likewise.
31 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
32 (libc_feresetround_noexf_ctx): Likewise.
33 (libc_feresetround_noexl_ctx): Likewise.
34 (libc_feholdsetround_53bit_ctx): Likewise.
35 (libc_feresetround_53bit_ctx): Likewise.
36 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
37 (libc_feholdexcept_setround_sse_ctx): New function.
38 (libc_fesetenv_sse_ctx): Likewise.
39 (libc_feupdateenv_sse_ctx): Likewise.
40 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
41 (libc_feholdexcept_setround_387_ctx): Likewise.
42 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
43 (libc_feholdsetround_387_prec_ctx): Likewise.
44 (libc_feholdsetround_387_ctx): Likewise.
45 (libc_feholdsetround_387_53bit_ctx): Likewise.
46 (libc_feholdsetround_sse_ctx): Likewise.
47 (libc_feresetround_sse_ctx): Likewise.
48 (libc_feresetround_387_ctx): Likewise.
49 (libc_feupdateenv_387_ctx): Likewise.
50 (libc_feholdexcept_setroundf_ctx): Define macro.
51 (libc_fesetenvf_ctx): Likewise.
52 (libc_feupdateenvf_ctx): Likewise.
53 (libc_feholdsetroundf_ctx): Likewise.
54 (libc_feresetroundf_ctx): Likewise.
55 (libc_feholdexcept_setround_ctx): Likewise.
56 (libc_fesetenv_ctx): Likewise.
57 (libc_feupdateenv_ctx): Likewise.
58 (libc_feholdsetround_ctx): Likewise.
59 (libc_feresetround_ctx): Likewise.
60 (libc_feholdexcept_setroundl_ctx): Likewise.
61 (libc_feupdateenvl_ctx): Likewise.
62 (libc_feholdsetroundl_ctx): Likewise.
63 (libc_feresetroundl_ctx): Likewise.
64 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
65 (libc_feresetround_53bit_ctx): Likewise.
66
59b30555
SP
672013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
68
69 * locale/iso-639.def: Convert to UTF-8.
70
f1d73d30
JM
712013-06-11 Joseph Myers <joseph@codesourcery.com>
72
73 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
74 (EXCEPTION_TESTS_double): Likewise.
75 (EXCEPTION_TESTS_long_double): Likewise.
76 (EXCEPTION_TESTS): Likewise.
77 * math/libm-test.inc (test_exceptions): Only test exceptions if
78 EXCEPTION_TESTS (FLOAT).
79
94aca5e7
SP
802013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
81
82 * benchtests/Makefile (string-bench): Add strcpy_chk and
83 stpcpy_chk.
84 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
85 * benchtests/bench-stpcpy_chk.c: New file.
86 * benchtests/bench-strcpy_chk-ifunc.c: New file.
87 * benchtests/bench-strcpy_chk.c: New file.
88 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
89 code.
90 (do_test): Likewise.
91
fac0c5f2
RA
922013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
93
94 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
95 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
96 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
97 with tabs where appropriate.
98 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
99 dl-procinfo.h.
100 [PPC_PLATFORM_PPC440]: Likewise.
101 [PPC_PLATFORM_PPC464]: Likewise.
102 [PPC_PLATFORM_PPC476]: Likewise.
103 (_dl_string_platform): Add support for detecting ppc405, ppc440,
104 ppc464, and ppc476 platform strings merging from ports/
105 dl-procinfo.h.
106
f22bc486
AS
1072013-06-11 Andreas Schwab <schwab@suse.de>
108
109 [BZ #14991]
110 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
111 (from_ucs4_idx): Regenerate.
112 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
113 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
114 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
115 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
116 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
117 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
118 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
119 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
120 from FROM_LOOP and TO_LOOP specific macros.
121 (BODY): Handle combining characters.
122 * iconvdata/BIG5HKSCS.irreversible: Update.
123 * iconvdata/BIG5HKSCS.precomposed: New file.
124 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
125 characters.
126 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
127
c1f75dc3
SP
1282013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
129
4eacded2
SP
130 * include/sys/time.h: Fix indentation and add copyright header.
131
fec799f8
SP
132 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
133 (do_test): Likewise.
134 * string/test-memchr.c (do_one_test): Likewise.
135 (do_test): Likewise.
136 * string/test-memcmp.c (do_one_test): Likewise.
137 (do_test): Likewise.
138 * string/test-memcpy.c (do_one_test): Likewise.
139 (do_test): Likewise.
140 * string/test-memmem.c (do_one_test): Likewise.
141 (do_test): Likewise.
142 (do_random_tests): Likewise.
143 * string/test-memmove.c (do_one_test): Likewise.
144 (do_test): Likewise.
145 * string/test-memset.c (do_one_test): Likewise.
146 (do_test): Likewise.
147 * string/test-rawmemchr.c (do_one_test): Likewise.
148 (do_test): Likewise.
149 * string/test-strcasecmp.c (do_one_test): Likewise.
150 (do_test): Likewise.
151 * string/test-strcasestr.c (do_one_test): Likewise.
152 (do_test): Likewise.
153 * string/test-strcat.c (do_one_test): Likewise.
154 (do_test): Likewise.
155 * string/test-strchr.c (do_one_test): Likewise.
156 (do_test): Likewise.
157 * string/test-strcmp.c (do_one_test): Likewise.
158 (do_test): Likewise.
159 * string/test-strcpy.c (do_one_test): Likewise.
160 (do_test): Likewise.
161 * string/test-string.h: Likewise.
162 (test_init): Likewise.
163 * string/test-strlen.c (do_one_test): Likewise.
164 (do_test): Likewise.
165 * string/test-strncasecmp.c (do_one_test): Likewise.
166 (do_test): Likewise.
167 * string/test-strncat.c (do_one_test): Likewise.
168 (do_test): Likewise.
169 * string/test-strncmp.c (do_one_test): Likewise.
170 (do_test_limit): Likewise.
171 (do_test): Likewise.
172 * string/test-strncpy.c (do_one_test): Likewise.
173 (do_test): Likewise.
174 * string/test-strnlen.c (do_one_test): Likewise.
175 (do_test): Likewise.
176 * string/test-strpbrk.c (do_one_test): Likewise.
177 (do_test): Likewise.
178 * string/test-strrchr.c (do_one_test): Likewise.
179 (do_test): Likewise.
180 * string/test-strspn.c (do_one_test): Likewise.
181 (do_test): Likewise.
182 * string/test-strstr.c (do_one_test): Likewise.
183 (do_test): Likewise.
184
97020474
SP
185 * benchtests/Makefile (string-bench): Add string benchmarks.
186 * benchtests/bench-bcopy-ifunc.c: New file.
187 * benchtests/bench-bcopy.c: New file.
188 * benchtests/bench-bzero-ifunc.c: New file.
189 * benchtests/bench-bzero.c: New file.
190 * benchtests/bench-memccpy-ifunc.c: New file.
191 * benchtests/bench-memccpy.c: New file.
192 * benchtests/bench-memchr-ifunc.c: New file.
193 * benchtests/bench-memchr.c: New file.
194 * benchtests/bench-memcmp-ifunc.c: New file.
195 * benchtests/bench-memcmp.c: New file.
196 * benchtests/bench-memmem-ifunc.c: New file.
197 * benchtests/bench-memmem.c: New file.
198 * benchtests/bench-memmove-ifunc.c: New file.
199 * benchtests/bench-memmove.c: New file.
200 * benchtests/bench-mempcpy-ifunc.c: New file.
201 * benchtests/bench-mempcpy.c: New file.
202 * benchtests/bench-memset-ifunc.c: New file.
203 * benchtests/bench-memset.c: New file.
204 * benchtests/bench-rawmemchr-ifunc.c: New file.
205 * benchtests/bench-rawmemchr.c: New file.
206 * benchtests/bench-stpcpy-ifunc.c: New file.
207 * benchtests/bench-stpcpy.c: New file.
208 * benchtests/bench-stpncpy-ifunc.c: New file.
209 * benchtests/bench-stpncpy.c: New file.
210 * benchtests/bench-strcasecmp-ifunc.c: New file.
211 * benchtests/bench-strcasecmp.c: New file.
212 * benchtests/bench-strcasestr-ifunc.c: New file.
213 * benchtests/bench-strcasestr.c: New file.
214 * benchtests/bench-strcat-ifunc.c: New file.
215 * benchtests/bench-strcat.c: New file.
216 * benchtests/bench-strchr-ifunc.c: New file.
217 * benchtests/bench-strchr.c: New file.
218 * benchtests/bench-strchrnul-ifunc.c: New file.
219 * benchtests/bench-strchrnul.c: New file.
220 * benchtests/bench-strcmp-ifunc.c: New file.
221 * benchtests/bench-strcmp.c: New file.
222 * benchtests/bench-strcpy-ifunc.c: New file.
223 * benchtests/bench-strcpy.c: New file.
224 * benchtests/bench-strcspn-ifunc.c: New file.
225 * benchtests/bench-strcspn.c: New file.
226 * benchtests/bench-strlen-ifunc.c: New file.
227 * benchtests/bench-strlen.c: New file.
228 * benchtests/bench-strncasecmp-ifunc.c: New file.
229 * benchtests/bench-strncasecmp.c: New file.
230 * benchtests/bench-strncat-ifunc.c: New file.
231 * benchtests/bench-strncat.c: New file.
232 * benchtests/bench-strncmp-ifunc.c: New file.
233 * benchtests/bench-strncmp.c: New file.
234 * benchtests/bench-strncpy-ifunc.c: New file.
235 * benchtests/bench-strncpy.c: New file.
236 * benchtests/bench-strnlen-ifunc.c: New file.
237 * benchtests/bench-strnlen.c: New file.
238 * benchtests/bench-strpbrk-ifunc.c: New file.
239 * benchtests/bench-strpbrk.c: New file.
240 * benchtests/bench-strrchr-ifunc.c: New file.
241 * benchtests/bench-strrchr.c: New file.
242 * benchtests/bench-strspn-ifunc.c: New file.
243 * benchtests/bench-strspn.c: New file.
244 * benchtests/bench-strstr-ifunc.c: New file.
245 * benchtests/bench-strstr.c: New file.
246
c1f75dc3
SP
247 * benchtests/Makefile: Disable parallel execution of targets.
248 (string-bench): Add memcpy.
249 (benchset): New variable to store a list of benchmark sets.
250 (bench-func): Renamed from bench.
251 (bench-set): New target.
252 (bench): Depend on bench-func and bench-set.
253 * benchtests/README: Add section on benchmark sets.
254 * benchtests/bench-memcpy-ifunc.c: New file.
255 * benchtests/bench-memcpy.c: New file.
256 * benchtests/bench-string.h: New file.
257
50fd745b
AS
2582013-06-11 Andreas Schwab <schwab@suse.de>
259
260 [BZ #15577]
261 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
262 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
263 values in the triple.
264 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
265 terminator in the group key.
266
3ee7e9fe
AJ
2672013-06-11 Andreas Jaeger <aj@suse.de>
268
269 * po/zh_TW.po: Update Chinese (traditional) translation from
270 translation project.
271
89fb6835
SP
2722013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
273
274 * include/time.h (__clock_gettime): Add libc_hidden_proto.
275 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
276 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
277 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
278 (clock_getcpuclockid): Likewise.
279 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
280 Add weak_alias and libc_hidden_def.
281 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
282 * rt/clock_gettime.c (clock_gettime): Rename to
283 __clock_gettime. Add weak_alias and libc_hidden_def.
284 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
285 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
286 __clock_nanosleep. Add weak_alias and libc_hidden_def.
287 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
288 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
289 Likewise.
290 * rt/clock_settime.c (clock_settime): Rename to
291 __clock_settime. Add weak_alias and libc_hidden_def.
292 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
293
0efa6f8b
JM
2942013-06-10 Joseph Myers <joseph@codesourcery.com>
295
b8c61b4b
JM
296 * mach/err_boot.sub: Remove trailing whitespace.
297 * mach/err_ipc.sub: Likewise.
298 * mach/err_mach.sub: Likewise.
299
0efa6f8b
JM
300 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
301 (ROUNDING_TESTS_double): Likewise.
302 (ROUNDING_TESTS_long_double): Likewise.
303 (ROUNDING_TESTS): Likewise.
304 * math/libm-test.inc: Include <math-tests.h>.
305 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
306 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
307 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
308 (IF_ROUND_INIT_FE_UPWARD): Likewise.
309
50b818bf
SP
3102013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
311
312 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
313 of assigning.
314
60d2f8f3
JM
3152013-06-08 Joseph Myers <joseph@codesourcery.com>
316
4902d2c3
JM
317 * sysdeps/gnu/errlist.awk: Do not generate space at end of
318 otherwise empty TRANS lines.
319 * sysdeps/gnu/errlist.c: Regenerated.
320
60d2f8f3
JM
321 * catgets/gencat.c (error_print): Use (void) in function
322 definition.
323 * crypt/crypt_util.c (__init_des): Likewise.
324 * crypt/speeds.c (Stop): Likewise.
325 (main): Likewise.
326 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
327 * inet/ruserpass.c (token): Likewise.
328 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
329 * intl/localealias.c (extend_alias_table): Likewise.
330 * intl/plural-exp.c (init_germanic_plural): Likewise.
331 * libio/fcloseall.c (__fcloseall): Likewise.
332 * libio/genops.c (_IO_flush_all): Likewise.
333 (_IO_flush_all_linebuffered): Likewise.
334 (_IO_cleanup): Likewise.
335 (_IO_iter_begin): Likewise.
336 (_IO_iter_end): Likewise.
337 (_IO_list_lock): Likewise.
338 (_IO_list_unlock): Likewise.
339 (_IO_list_resetlock): Likewise.
340 * libio/getchar.c (getchar): Likewise.
341 * libio/getchar_u.c (getchar_unlocked): Likewise.
342 * libio/getwchar.c (getwchar): Likewise.
343 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
344 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
345 * login/getpt.c (__getpt): Likewise.
346 * login/tst-utmp.c (main): Likewise.
347 * malloc/hooks.c (__malloc_check_init): Likewise.
348 * malloc/malloc.c (__malloc_stats): Likewise.
349 * malloc/mtrace.c (tr_break): Likewise.
350 (mtrace): Likewise.
351 (muntrace): Likewise.
352 * misc/fstab.c (endfsent): Likewise.
353 * misc/getclktck.c (__getclktck): Likewise.
354 * misc/getdtsz.c (__getdtablesize): Likewise.
355 * misc/gethostid.c (gethostid): Likewise.
356 * misc/getpagesize.c (__getpagesize): Likewise.
357 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
358 (__get_nprocs): Likewise.
359 (__get_phys_pages): Likewise.
360 (__get_avphys_pages): Likewise.
361 * misc/getttyent.c (getttyent): Likewise.
362 (setttyent): Likewise.
363 (endttyent): Likewise.
364 * misc/getusershell.c (getusershell): Likewise.
365 (endusershell): Likewise.
366 (setusershell): Likewise.
367 (initshells): Likewise.
368 * misc/hsearch.c (__hdestroy): Likewise.
369 * misc/sync.c (sync): Likewise.
370 * misc/syslog.c (closelog_internal): Likewise.
371 (closelog): Likewise.
372 * misc/ttyslot.c (ttyslot): Likewise.
373 * misc/vhangup.c (vhangup): Likewise.
374 * posix/fork.c (__fork): Likewise.
375 * posix/getegid.c (__getegid): Likewise.
376 * posix/geteuid.c (__geteuid): Likewise.
377 * posix/getgid.c (__getgid): Likewise.
378 * posix/getpid.c (__getpid): Likewise.
379 * posix/getppid.c (__getppid): Likewise.
380 * posix/getuid.c (__getuid): Likewise.
381 * posix/pause.c (pause): Likewise.
382 * posix/setpgrp.c (setpgrp): Likewise.
383 * posix/setsid.c (__setsid): Likewise.
384 * posix/test-vfork.c (noop): Likewise.
385 * resolv/gethnamaddr.c (_endhtent): Likewise.
386 (_gethtent): Likewise.
387 (ht_endhostent): Likewise.
388 (gethostent): Likewise.
389 (dns_service): Likewise.
390 * stdlib/drand48.c (drand48): Likewise.
391 * stdlib/lrand48.c (lrand48): Likewise.
392 * stdlib/mrand48.c (mrand48): Likewise.
393 * stdlib/rand.c (rand): Likewise.
394 * stdlib/random.c (__random): Likewise.
395 * stdlib/setenv.c (clearenv): Likewise.
396 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
397 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
398 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
399 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
400 (__get_nprocs): Likewise.
401 (__get_phys_pages): Likewise.
402 (__get_avphys_pages): Likewise.
403 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
404 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
405 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
406 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
407 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
408 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
409 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
410 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
411 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
412 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
413 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
414 * sysdeps/mach/hurd/sync.c (sync): Likewise.
415 * sysdeps/posix/clock.c (clock): Likewise.
416 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
417 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
418 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
419 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
420 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
421 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
422 (__get_nprocs_conf): Likewise.
423 (__get_phys_pages): Likewise.
424 (__get_avphys_pages): Likewise.
425 * time/clock.c (clock): Likewise.
426 * time/tzset.c (__tzname_max): Likewise.
427
2e09a79a
JM
4282013-06-07 Joseph Myers <joseph@codesourcery.com>
429
430 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
431 (__bswap_32): Do not use "register".
432 * crypt/crypt.c (_ufc_doit_r): Likewise.
433 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
434 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
435 * gmon/gmon.c (__monstartup): Likewise.
436 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
437 * hurd/hurdmalloc.c (more_memory): Likewise.
438 (malloc): Likewise.
439 (free): Likewise.
440 (realloc): Likewise.
441 (malloc_fork_prepare): Likewise.
442 (malloc_fork_parent): Likewise.
443 (malloc_fork_child): Likewise.
444 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
445 (_svcauth_des): Likewise.
446 * inet/inet_lnaof.c (inet_lnaof): Likewise.
447 * inet/inet_net.c (inet_network): Likewise.
448 * inet/inet_netof.c (inet_netof): Likewise.
449 * inet/rcmd.c (__validuser2_sa): Likewise.
450 * io/fts.c (fts_open): Likewise.
451 (fts_load): Likewise.
452 (fts_close): Likewise.
453 (fts_read): Likewise.
454 (fts_children): Likewise.
455 (fts_build): Likewise.
456 (fts_stat): Likewise.
457 (fts_sort): Likewise.
458 (fts_alloc): Likewise.
459 (fts_lfree): Likewise.
460 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
461 (_IO_file_xsgetn): Likewise.
462 (_IO_file_xsgetn_mmap): Likewise.
463 * libio/iofopncook.c (_IO_cookie_read): Likewise.
464 (_IO_cookie_write): Likewise.
465 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
466 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
467 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
468 * malloc/obstack.c (_obstack_begin): Likewise.
469 (_obstack_begin_1): Likewise.
470 (_obstack_newchunk): Likewise.
471 (_obstack_allocated_p): Likewise.
472 (obstack_free): Likewise.
473 (_obstack_memory_used): Likewise.
474 * misc/getttyent.c (getttynam): Likewise.
475 (getttyent): Likewise.
476 (skip): Likewise.
477 (value): Likewise.
478 * misc/getusershell.c (initshells): Likewise.
479 * misc/syslog.c (__vsyslog_chk): Likewise.
480 * misc/ttyslot.c (ttyslot): Likewise.
481 * nis/nis_hash.c (__nis_hash): Likewise.
482 * posix/fnmatch_loop.c (FCT): Likewise.
483 * posix/getconf.c (print_all): Likewise.
484 (main): Likewise.
485 * posix/getopt.c (exchange): Likewise.
486 * posix/glob.c (globfree): Likewise.
487 (prefix_array): Likewise.
488 (__glob_pattern_type): Likewise.
489 * resolv/arpa/nameser.h (NS_GET16): Likewise.
490 (NS_GET32): Likewise.
491 (NS_PUT16): Likewise.
492 (NS_PUT32): Likewise.
493 * resolv/gethnamaddr.c (getanswer): Likewise.
494 (gethostbyname2): Likewise.
495 (gethostbyaddr): Likewise.
496 (_gethtent): Likewise.
497 (_gethtbyname2): Likewise.
498 (_gethtbyaddr): Likewise.
499 * resolv/ns_print.c (dst_s_get_int16): Likewise.
500 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
501 * resolv/res_init.c (__res_vinit): Likewise.
502 (net_mask): Likewise.
503 * resolv/res_mkquery.c (outchar): Likewise.
504 (PRINT): Likewise.
505 * stdio-common/printf_fp.c (outchar): Likewise.
506 (PRINT): Likewise.
507 * stdio-common/printf_fphex.c (outchar): Likewise.
508 (PRINT): Likewise.
509 * stdio-common/printf_size.c (outchar): Likewise.
510 (PRINT): Likewise.
511 * stdio-common/test_rdwr.c (main): Likewise.
512 * stdio-common/tfformat.c (matches): Likewise.
513 * stdio-common/vfprintf.c (outchar): Likewise.
514 (printf_unknown): Likewise.
515 (buffered_vfprintf): Likewise.
516 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
517 * stdio-common/xbug.c (AppendToBuffer): Likewise.
518 (ReadFile): Likewise.
519 * stdlib/qsort.c (SWAP): Likewise.
520 (_quicksort): Likewise.
521 * stdlib/setenv.c (__add_to_environ): Likewise.
522 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
523 * stdlib/strtol_l.c (__strtol_l): Likewise.
524 * stdlib/tst-strtod.c (main): Likewise.
525 * stdlib/tst-strtol.c (main): Likewise.
526 * stdlib/tst-strtoll.c (main): Likewise.
527 * string/bits/string2.h (__strcmp_cc): Likewise.
528 (__strcmp_cg): Likewise.
529 (__strcspn_c1): Likewise.
530 (__strcspn_c2): Likewise.
531 (__strcspn_c3): Likewise.
532 (__strspn_c1): Likewise.
533 (__strspn_c2): Likewise.
534 (__strspn_c3): Likewise.
535 (__strsep_1c): Likewise.
536 (__strsep_2c): Likewise.
537 (__strsep_3c): Likewise.
538 * string/memccpy.c (__memccpy): Likewise.
539 * string/stpcpy.c (__stpcpy): Likewise.
540 * string/strcmp.c (strcmp): Likewise.
541 * string/strrchr.c (strrchr): Likewise.
542 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
543 Likewise.
544 * sysdeps/mach/hurd/getcwd.c
545 (_hurd_canonicalize_directory_name_internal): Likewise.
546 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
547 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
548 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
549 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
550 Likewise, in both definitions.
551 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
552 definitions.
553 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
554 64] (__bswap_64): Likewise.
555 * time/test_time.c (main): Likewise.
556 * time/tzfile.c (__tzfile_read): Likewise.
557 (__tzfile_compute): Likewise.
558 * time/tzset.c (__tzset_parse_tz): Likewise.
559 (tzset_internal): Likewise.
560 (compute_change): Likewise.
561 * wcsmbs/wcscat.c (__wcscat): Likewise.
562 * wcsmbs/wcschr.c (wcschr): Likewise.
563 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
564 * wcsmbs/wcscspn.c (wcscspn): Likewise.
565 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
566 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
567 * wcsmbs/wcsspn.c (wcsspn): Likewise.
568 * wcsmbs/wcsstr.c (wcsstr): Likewise.
569 * wcsmbs/wmemchr.c (wmemchr): Likewise.
570 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
571 * wcsmbs/wmemset.c (wmemset): Likewise.
572
9e54314b
JM
5732013-06-06 Joseph Myers <joseph@codesourcery.com>
574
575 * scripts/config.guess: Update to version 2013-05-16.
576 * scripts/config.sub: Update to version 2013-04-24.
577 * scripts/install-sh: Update to version 2011-11-20.07.
578 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
579 * scripts/move-if-change: Update to version 2012-01-06 07:23.
580
350635a5
OB
5812013-06-06 Ondřej Bílka <neleai@seznam.cz>
582
583 * debug/fgetws_u_chk.c: Fix leading whitespaces.
584 * elf/sln.c: Likewise.
585 * hurd/hurd/ioctl.h: Likewise.
586 * hurd/hurdmalloc.c: Likewise.
587 * hurd/xattr.c: Likewise.
588 * include/shlib-compat.h: Likewise.
589 * inet/ruserpass.c: Likewise.
590 * libio/iofgets_u.c: Likewise.
591 * libio/iofgetws_u.c: Likewise.
592 * locale/programs/ld-identification.c: Likewise.
593 * locale/programs/ld-time.c: Likewise.
594 * mach/msg-destroy.c: Likewise.
595 * nss/nss_files/files-netgrp.c: Likewise.
596 * resolv/res_data.c: Likewise.
597 * soft-fp/op-1.h: Likewise.
598 * soft-fp/op-2.h: Likewise.
599 * soft-fp/op-4.h: Likewise.
600 * soft-fp/op-common.h: Likewise.
601 * stdio-common/printf_fphex.c: Likewise.
602 * stdlib/strtod_l.c: Likewise.
603 * sunrpc/rpc/clnt.h: Likewise.
604 * sysdeps/generic/framestate.c: Likewise.
605 * sysdeps/i386/bsd-_setjmp.S: Likewise.
606 * sysdeps/i386/bsd-setjmp.S: Likewise.
607 * sysdeps/i386/__longjmp.S: Likewise.
608 * sysdeps/i386/setjmp.S: Likewise.
609 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
610 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
611 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
612 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
613 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
614 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
615 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
616 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
617 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
618 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
619 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
620 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
621 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
622 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
623 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
624 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
625 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
626 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
627 * sysdeps/ieee754/support.c: Likewise.
628 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
629 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
630 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
631 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
632 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
633 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
634 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
635 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
636 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
637 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
638 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
639 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
640 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
641 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
642 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
643 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
644 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
646
44a988af
OB
6472013-06-05 Ondřej Bílka <neleai@seznam.cz>
648
25506f09 649 * posix/transbug.c: Remove executable mode.
44a988af 650
9c84384c
JM
6512013-06-05 Joseph Myers <joseph@codesourcery.com>
652
653 * crypt/speeds.c: Remove trailing whitespace.
654 * dlfcn/default.c: Likewise.
655 * elf/ifuncdep2.c: Likewise.
656 * elf/ifuncmain1.c: Likewise.
657 * elf/ifuncmain1vis.c: Likewise.
658 * elf/testobj.h: Likewise.
659 * elf/tst-stackguard1.c: Likewise.
660 * gmon/sys/gmon.h: Likewise.
661 * hurd/hurdmsg.c: Likewise.
662 * hurd/new-fd.c: Likewise.
663 * hurd/ports-get.c: Likewise.
664 * iconvdata/ibm1008_420.c: Likewise.
665 * inet/tst-getni1.c: Likewise.
666 * inet/tst-getni2.c: Likewise.
667 * libio/ioungetc.c: Likewise.
668 * libio/wfiledoalloc.c: Likewise.
669 * manual/libm-err-tab.pl: Likewise.
670 * math/w_dremf.c: Likewise.
671 * misc/ftruncate.c: Likewise.
672 * posix/bug-glob2.c: Likewise.
673 * posix/tst-pcre.c: Likewise.
674 * posix/wait4.c: Likewise.
675 * resolv/README: Likewise.
676 * resolv/res_debug.h: Likewise.
677 * resolv/tst-inet_ntop.c: Likewise.
678 * setjmp/bug269-setjmp.c: Likewise.
679 * soft-fp/extended.h: Likewise.
680 * soft-fp/op-1.h: Likewise.
681 * soft-fp/op-2.h: Likewise.
682 * soft-fp/op-4.h: Likewise.
683 * soft-fp/op-8.h: Likewise.
684 * soft-fp/testit.c: Likewise.
685 * stdio-common/bug16.c: Likewise.
686 * stdlib/random.c: Likewise.
687 * sunrpc/rpcsvc/rquota.x: Likewise.
688 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
689 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
690 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
691 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
692 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
693 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
694 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
695 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
696 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
697 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
698 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
699 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
700 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
701 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
702 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
703 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
704 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
705 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
706 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
707 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
708 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
709 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
710 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
711 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
712 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
713 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
714 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
715 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
716 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
717 * sysdeps/ieee754/s_lib_version.c: Likewise.
718 * sysdeps/mach/hurd/check_fds.c: Likewise.
719 * sysdeps/mach/hurd/getsockname.c: Likewise.
720 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
721 * sysdeps/mach/hurd/recvfrom.c: Likewise.
722 * sysdeps/powerpc/bits/link.h: Likewise.
723 * sysdeps/powerpc/dl-procinfo.c: Likewise.
724 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
725 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
726 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
727 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
728 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
729 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
730 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
731 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
732 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
733 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
734 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
735 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
736 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
737 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
738 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
739 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
740 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
741 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
742 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
743 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
744 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
745 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
746 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
747 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
748 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
749 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
750 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
751 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
752 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
753 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
754 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
755 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
756 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
757 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
758 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
759 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
760 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
761 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
762 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
763 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
764 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
765 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
766 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
767 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
768 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
769 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
770 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
771 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
772 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
773 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
774 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
775 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
776 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
777 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
778 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
779 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
780 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
781 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
782 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
783 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
784 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
785 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
786 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
787 * sysdeps/powerpc/sysdep.h: Likewise.
788 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
789 * sysdeps/s390/s390-64/sub_n.S: Likewise.
790 * sysdeps/sh/dl-trampoline.S: Likewise.
791 * sysdeps/sh/memset.S: Likewise.
792 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
793 * sysdeps/sh/strlen.S: Likewise.
794 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
795 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
796 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
797 * sysdeps/sparc/sparc32/rem.S: Likewise.
798 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
799 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
800 * sysdeps/sparc/sparc32/strchr.S: Likewise.
801 * sysdeps/sparc/sparc32/udiv.S: Likewise.
802 * sysdeps/sparc/sparc32/urem.S: Likewise.
803 * sysdeps/sparc/sparc64/add_n.S: Likewise.
804 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
805 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
806 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
807 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
808 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
809 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
810 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
811 * sysdeps/unix/bsd/times.c: Likewise.
812 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
813 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
817 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
818 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
819 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
820 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
821 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
822 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
823 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
824 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
825 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
826 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
827 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
828 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
829 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
830 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
831 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
832 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
833 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
834 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
835 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
836 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
837 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
838 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
839 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
840 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
841 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
842 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
843 * sysdeps/x86_64/strcspn.S: Likewise.
844
869378a5
RA
8452013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
846
847 * locale/C-translit.h: Revert #include <stdint.h> because this is a
848 generated file. Regenerate properly from gen-translit.pl.
849 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
850 locale/C-translit.h.
851
840e2943
AS
8522013-06-05 Andreas Schwab <schwab@suse.de>
853
854 [BZ #15100]
855 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
856 week as 6 instead of -1.
857 * time/tst-strptime.c (day_tests): Add test case.
858
4c60cb0c
SP
8592013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
860
861 * sysdeps/generic/math_private.h
862 (libc_feholdexcept_setround_53bit): Replace with
863 libc_feholdsetround_53bit.
864 (libc_feupdateenv_53bit): Replace with
865 libc_feresetround_53bit.
866 (SET_RESTORE_ROUND_53BIT): Adjust.
867
d180203e
SP
8682013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
869
96df079a
SP
870 * string/test-strchrnul.c: Add copyright header.
871
d180203e
SP
872 * posix/tst-getaddrinfo4.c: Increase test timeout.
873
8b0ccb2d
CD
8742013-06-03 Carlos O'Donell <carlos@redhat.com>
875
876 [BZ #15536]
877 * math/libm-test.inc (MAX_EXP): Remove
878 (MIN_EXP): Define.
879 (ulp): Use MIN_EXP - MANT_DIG.
880 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
881
3b3c4d40
CD
8822013-05-31 Carlos O'Donell <carlos@redhat.com>
883
884 * po/be.po: Revert last change.
885 * po/zh_CN.po: Likewise.
886 * po/header.pot: Likewise.
887
fab7ce3f
JM
8882013-05-31 Joseph Myers <joseph@codesourcery.com>
889
890 * Makefile ($(common-objpfx)linkobj/libc.so): Define
891 link-libc-deps to empty as target-specific variable.
892 * Makerules (link-libc-args): New variable.
893 (libc-for-link): Likewise.
894 (link-libc-deps): Likewise.
895 (lib%.so): Depend on $(link-libc-deps). Link with
896 $(link-libc-args).
897 (build-module): Link with $(link-libc-args).
898 (build-module-asneeded): Likewise.
899 (build-module-helper-objlist): Filter out $(link-libc-deps) from
900 list of objects.
901 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
902 target-specific variable.
903 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
904 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
905 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
906 libc.
907 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
908 libc and ld.so.
909 ($(objpfx)libpcprofile.so): Likewise.
910 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
911 libc_nonshared.a.
912 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
913 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
914 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
915 $(link-libc-deps).
916 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
917 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
918 * login/Makefile ($(objpfx)libutil.so): Likewise.
919 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
920 * math/Makefile ($(objpfx)libm.so): Likewise.
921 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
922 $(objpfx)libnsl.so): Define libc-for-link as target-specific
923 variable instead of depending directly on libc.
924 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
925 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
926 $(link-libc-deps).
927 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
928 libc.
929 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
930 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
931 ($(objpfx)libanl.so): Likewise.
932 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
933 ld.so.
934 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
935 $(link-libc-deps).
936 * sysdeps/i386/fpu/Makefile: Remove file.
937 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
938 ($(objpfx)libm.so): Remove dependency on ld.so.
939
eca5920c
PF
9402013-05-30 Patsy Franklin <pfrankli@redhat.com>
941
942 [BZ # 15553]
943 * nis/yp_xdr.c (XDRMAXNAME): Define.
944 (XDRMAXRECORD): Define.
945 (xdr_domainname): Use XDRMAXNAME.
946 (xdr_mapname): Likewise.
947 (xdr_peername): Likewise.
948 (xdr_keydat): Use XDRMAXRECORD.
949 (xdr_valdat): Likewise.
950
9512013-05-30 Jeff Law <law@redhat.com>
96945714
JL
952
953 [BZ #14256]
954 * manual/errno.texi (ESTALE): Update to account for more than
955 just NFS file systems.
956 * sysdeps/gnu/errlist.c: Regenerated.
957
b9375348
SP
9582013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
959
960 [BZ #15465]
961 * elf/Makefile (tests): Add tst-null-argv.
962 (modules-names): Add tst-null-argv-lib.
963 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
964 (tst-null-argv-ENV): Set environment for tst-null-argv.
965 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
966 (RTLD_PROGNAME): New macro.
967 * elf/tst-null-argv.c: New test case.
968 * elf/tst-null-argv-lib.c: Library for test case.
969 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
970 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
971 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
972 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
973 * elf/dl-init.c (call_init): Likewise.
974 (_dl_init): Likewise.
975 * elf/dl-load.c (print_search_path): Likewise.
976 (_dl_map_object): Likewise.
977 * elf/dl-lookup.c (do_lookup_x): Likewise.
978 (add_dependency): Likewise.
979 (_dl_lookup_symbol_x): Likewise.
980 (_dl_debug_bindings): Likewise.
981 * elf/dl-open.c (_dl_show_scope): Likewise.
982 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
983 * elf/dl-version.c (match_symbol): Likewise.
984 (_dl_check_map_versions): Likewise.
985 * elf/rtld.c (dl_main): Likewise.
986 (print_unresolved): Use RTLD_PROGNAME.
987 (print_missing_version): Likewise.
988 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
989 (elf_machine_rela): Likewise.
990 * sysdeps/powerpc/powerpc32/dl-machine.c
991 (__process_machine_rela): Likewise.
992 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
993 Likewise.
994 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
995 Likewise.
996 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
997 Likewise.
998 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
999 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1000 Likewise.
1001 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1002 Likewise.
1003 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1004
8a9f20c8
CD
10052013-05-28 Carlos O'Donell <carlos@redhat.com>
1006
1007 * po/be.po: Add descriptive title.
1008 * po/zh_CN.po: Likewise.
1009 * po/header.pot: Likewise.
1010
0e60d68e
MF
10112013-05-28 Mike Frysinger <vapier@gentoo.org>
1012
1013 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1014 error message.
1015 (enlarge_archive): Likewise.
1016
56b672e9
BN
10172013-05-28 Ben North <ben@redfrontdoor.org>
1018
1019 * manual/arith.texi (frexp): It is the magnitude of the return
1020 value which lies in [0.5, 1), not the return value itself.
1021
5e056687
AZ
10222013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1023
1024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1025
2b66ef5d
TS
10262013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1027
528c2405
TS
1028 * stdio-common/bug26.c (main): Correct fscanf template.
1029
07b4c13d
TS
1030 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1031 declare _dl_skip_args.
1032
ec9dd97c
TS
1033 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1034 Don't declare.
1035
2b66ef5d
TS
1036 * manual/platform.texi: Add missing @end deftypefun.
1037
4f8dfe27
JM
10382013-05-24 Joseph Myers <joseph@codesourcery.com>
1039
0323d086
JM
1040 [BZ #15529]
1041 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1042 bit of mantissa of 2^16382.
1043 * math/libm-test.inc (hypot_test_data): Add more tests.
1044
dd4259b9
JM
1045 * math/libm-test.inc: Add drem and pow10 to list of tested
1046 functions.
1047 (pow10_test): New function.
1048 (drem_test): Likewise.
1049 (drem_test_tonearest): Likewise.
1050 (drem_test_towardzero): Likewise.
1051 (drem_test_downward): Likewise.
1052 (drem_test_upward): Likewise.
1053 (main): Call the new functions.
1054
4f8dfe27
JM
1055 * math/libm-test.inc (finite_test_data): Remove.
1056 (finite_test): Run tests from isfinite_test_data.
1057 (gamma_test_data): Remove.
1058 (gamma_test): Run tests from lgamma_test_data.
1059 * sysdeps/i386/fpu/libm-test-ulps: Update.
1060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1061
d116b7c4
AZ
10622013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1063
1064 * manual/platform.texi: Add PowerPC PPR function set documentation.
1065 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1066 implementation.
1067
e96e3767
CD
10682013-05-24 Carlos O'Donell <carlos@redhat.com>
1069
1070 * math/libm-test.inc (MAX_EXP): Define.
1071 (ULPDIFF): Define.
1072 (ulp): New function.
1073 (check_float_internal): Use ULPDIFF.
1074 (cpow_test): Disable failing test.
1075 (check_ulp): Test ulp() implemetnation.
1076 (main): Call check_ulp before starting tests.
1077
b679a606
JM
10782013-05-24 Joseph Myers <joseph@codesourcery.com>
1079
e8bdba36
JM
1080 * math/gen-libm-test.pl (generate_testfile): Do not handle
1081 START_DATA and END_DATA.
1082 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1083 END_DATA.
1084 (acos_tonearest_test_data): Likewise.
1085 (acos_towardzero_test_data): Likewise.
1086 (acos_downward_test_data): Likewise.
1087 (acos_upward_test_data): Likewise.
1088 (acosh_test_data): Likewise.
1089 (asin_test_data): Likewise.
1090 (asin_tonearest_test_data): Likewise.
1091 (asin_towardzero_test_data): Likewise.
1092 (asin_downward_test_data): Likewise.
1093 (asin_upward_test_data): Likewise.
1094 (asinh_test_data): Likewise.
1095 (atan_test_data): Likewise.
1096 (atanh_test_data): Likewise.
1097 (atan2_test_data): Likewise.
1098 (cabs_test_data): Likewise.
1099 (cacos_test_data): Likewise.
1100 (cacosh_test_data): Likewise.
1101 (carg_test_data): Likewise.
1102 (casin_test_data): Likewise.
1103 (casinh_test_data): Likewise.
1104 (catan_test_data): Likewise.
1105 (catanh_test_data): Likewise.
1106 (cbrt_test_data): Likewise.
1107 (ccos_test_data): Likewise.
1108 (ccosh_test_data): Likewise.
1109 (ceil_test_data): Likewise.
1110 (cexp_test_data): Likewise.
1111 (cimag_test_data): Likewise.
1112 (clog_test_data): Likewise.
1113 (clog10_test_data): Likewise.
1114 (conj_test_data): Likewise.
1115 (copysign_test_data): Likewise.
1116 (cos_test_data): Likewise.
1117 (cos_tonearest_test_data): Likewise.
1118 (cos_towardzero_test_data): Likewise.
1119 (cos_downward_test_data): Likewise.
1120 (cos_upward_test_data): Likewise.
1121 (cosh_test_data): Likewise.
1122 (cosh_tonearest_test_data): Likewise.
1123 (cosh_towardzero_test_data): Likewise.
1124 (cosh_downward_test_data): Likewise.
1125 (cosh_upward_test_data): Likewise.
1126 (cpow_test_data): Likewise.
1127 (cproj_test_data): Likewise.
1128 (creal_test_data): Likewise.
1129 (csin_test_data): Likewise.
1130 (csinh_test_data): Likewise.
1131 (csqrt_test_data): Likewise.
1132 (ctan_test_data): Likewise.
1133 (ctan_tonearest_test_data): Likewise.
1134 (ctan_towardzero_test_data): Likewise.
1135 (ctan_downward_test_data): Likewise.
1136 (ctan_upward_test_data): Likewise.
1137 (ctanh_test_data): Likewise.
1138 (ctanh_tonearest_test_data): Likewise.
1139 (ctanh_towardzero_test_data): Likewise.
1140 (ctanh_downward_test_data): Likewise.
1141 (ctanh_upward_test_data): Likewise.
1142 (erf_test_data): Likewise.
1143 (erfc_test_data): Likewise.
1144 (exp_test_data): Likewise.
1145 (exp_tonearest_test_data): Likewise.
1146 (exp_towardzero_test_data): Likewise.
1147 (exp_downward_test_data): Likewise.
1148 (exp_upward_test_data): Likewise.
1149 (exp10_test_data): Likewise.
1150 (exp2_test_data): Likewise.
1151 (expm1_test_data): Likewise.
1152 (fabs_test_data): Likewise.
1153 (fdim_test_data): Likewise.
1154 (finite_test_data): Likewise.
1155 (floor_test_data): Likewise.
1156 (fma_test_data): Likewise.
1157 (fma_towardzero_test_data): Likewise.
1158 (fma_downward_test_data): Likewise.
1159 (fma_upward_test_data): Likewise.
1160 (fmax_test_data): Likewise.
1161 (fmin_test_data): Likewise.
1162 (fmod_test_data): Likewise.
1163 (fpclassify_test_data): Likewise.
1164 (frexp_test_data): Likewise.
1165 (gamma_test_data): Likewise.
1166 (hypot_test_data): Likewise.
1167 (ilogb_test_data): Likewise.
1168 (isfinite_test_data): Likewise.
1169 (isgreater_test_data): Likewise.
1170 (isgreaterequal_test_data): Likewise.
1171 (isinf_test_data): Likewise.
1172 (isless_test_data): Likewise.
1173 (islessequal_test_data): Likewise.
1174 (islessgreater_test_data): Likewise.
1175 (isnan_test_data): Likewise.
1176 (isnormal_test_data): Likewise.
1177 (issignaling_test_data): Likewise.
1178 (isunordered_test_data): Likewise.
1179 (j0_test_data): Likewise.
1180 (j1_test_data): Likewise.
1181 (jn_test_data): Likewise.
1182 (ldexp_test_data): Likewise.
1183 (lgamma_test_data): Likewise.
1184 (lrint_test_data): Likewise.
1185 (lrint_tonearest_test_data): Likewise.
1186 (lrint_towardzero_test_data): Likewise.
1187 (lrint_downward_test_data): Likewise.
1188 (lrint_upward_test_data): Likewise.
1189 (llrint_test_data): Likewise.
1190 (llrint_tonearest_test_data): Likewise.
1191 (llrint_towardzero_test_data): Likewise.
1192 (llrint_downward_test_data): Likewise.
1193 (llrint_upward_test_data): Likewise.
1194 (log_test_data): Likewise.
1195 (log10_test_data): Likewise.
1196 (log1p_test_data): Likewise.
1197 (log2_test_data): Likewise.
1198 (logb_test_data): Likewise.
1199 (logb_downward_test_data): Likewise.
1200 (lround_test_data): Likewise.
1201 (llround_test_data): Likewise.
1202 (modf_test_data): Likewise.
1203 (nearbyint_test_data): Likewise.
1204 (nextafter_test_data): Likewise.
1205 (nexttoward_test_data): Likewise.
1206 (pow_test_data): Likewise.
1207 (pow_tonearest_test_data): Likewise.
1208 (pow_towardzero_test_data): Likewise.
1209 (pow_downward_test_data): Likewise.
1210 (pow_upward_test_data): Likewise.
1211 (remainder_test_data): Likewise.
1212 (remainder_tonearest_test_data): Likewise.
1213 (remainder_towardzero_test_data): Likewise.
1214 (remainder_downward_test_data): Likewise.
1215 (remainder_upward_test_data): Likewise.
1216 (remquo_test_data): Likewise.
1217 (rint_test_data): Likewise.
1218 (rint_tonearest_test_data): Likewise.
1219 (rint_towardzero_test_data): Likewise.
1220 (rint_downward_test_data): Likewise.
1221 (rint_upward_test_data): Likewise.
1222 (round_test_data): Likewise.
1223 (scalb_test_data): Likewise.
1224 (scalbn_test_data): Likewise.
1225 (scalbln_test_data): Likewise.
1226 (signbit_test_data): Likewise.
1227 (sin_test_data): Likewise.
1228 (sin_tonearest_test_data): Likewise.
1229 (sin_towardzero_test_data): Likewise.
1230 (sin_downward_test_data): Likewise.
1231 (sin_upward_test_data): Likewise.
1232 (sincos_test_data): Likewise.
1233 (sinh_test_data): Likewise.
1234 (sinh_tonearest_test_data): Likewise.
1235 (sinh_towardzero_test_data): Likewise.
1236 (sinh_downward_test_data): Likewise.
1237 (sinh_upward_test_data): Likewise.
1238 (sqrt_test_data): Likewise.
1239 (tan_test_data): Likewise.
1240 (tan_tonearest_test_data): Likewise.
1241 (tan_towardzero_test_data): Likewise.
1242 (tan_downward_test_data): Likewise.
1243 (tan_upward_test_data): Likewise.
1244 (tanh_test_data): Likewise.
1245 (tgamma_test_data): Likewise.
1246 (trunc_test_data): Likewise.
1247 (y0_test_data): Likewise.
1248 (y1_test_data): Likewise.
1249 (yn_test_data): Likewise.
1250 (significand_test_data): Likewise.
1251
b679a606
JM
1252 * math/gen-libm-test.pl (@functions): Remove variable.
1253 (generate_testfile): Don't handle START and END lines.
1254 * math/libm-test.inc (START): New macro.
1255 (END): Likewise.
1256 (END_COMPLEX): Likewise.
1257 (acos_test): Use END macro without arguments.
1258 (acos_test_tonearest): Likewise.
1259 (acos_test_towardzero): Likewise.
1260 (acos_test_downward): Likewise.
1261 (acos_test_upward): Likewise.
1262 (acosh_test): Likewise.
1263 (asin_test): Likewise.
1264 (asin_test_tonearest): Likewise.
1265 (asin_test_towardzero): Likewise.
1266 (asin_test_downward): Likewise.
1267 (asin_test_upward): Likewise.
1268 (asinh_test): Likewise.
1269 (atan_test): Likewise.
1270 (atanh_test): Likewise.
1271 (atan2_test): Likewise.
1272 (cabs_test): Likewise.
1273 (cacos_test): Use END_COMPLEX macro without arguments.
1274 (cacosh_test): Likewise.
1275 (carg_test): Use END macro without arguments.
1276 (casin_test): Use END_COMPLEX macro without arguments.
1277 (casinh_test): Likewise.
1278 (catan_test): Likewise.
1279 (catanh_test): Likewise.
1280 (cbrt_test): Use END macro without arguments.
1281 (ccos_test): Use END_COMPLEX macro without arguments.
1282 (ccosh_test): Likewise.
1283 (ceil_test): Use END macro without arguments.
1284 (cexp_test): Use END_COMPLEX macro without arguments.
1285 (cimag_test): Use END macro without arguments.
1286 (clog_test): Use END_COMPLEX macro without arguments.
1287 (clog10_test): Likewise.
1288 (conj_test): Likewise.
1289 (copysign_test): Use END macro without arguments.
1290 (cos_test): Likewise.
1291 (cos_test_tonearest): Likewise.
1292 (cos_test_towardzero): Likewise.
1293 (cos_test_downward): Likewise.
1294 (cos_test_upward): Likewise.
1295 (cosh_test): Likewise.
1296 (cosh_test_tonearest): Likewise.
1297 (cosh_test_towardzero): Likewise.
1298 (cosh_test_downward): Likewise.
1299 (cosh_test_upward): Likewise.
1300 (cpow_test): Use END_COMPLEX macro without arguments.
1301 (cproj_test): Likewise.
1302 (creal_test): Use END macro without arguments.
1303 (csin_test): Use END_COMPLEX macro without arguments.
1304 (csinh_test): Likewise.
1305 (csqrt_test): Likewise.
1306 (ctan_test): Likewise.
1307 (ctan_test_tonearest): Likewise.
1308 (ctan_test_towardzero): Likewise.
1309 (ctan_test_downward): Likewise.
1310 (ctan_test_upward): Likewise.
1311 (ctanh_test): Likewise.
1312 (ctanh_test_tonearest): Likewise.
1313 (ctanh_test_towardzero): Likewise.
1314 (ctanh_test_downward): Likewise.
1315 (ctanh_test_upward): Likewise.
1316 (erf_test): Use END macro without arguments.
1317 (erfc_test): Likewise.
1318 (exp_test): Likewise.
1319 (exp_test_tonearest): Likewise.
1320 (exp_test_towardzero): Likewise.
1321 (exp_test_downward): Likewise.
1322 (exp_test_upward): Likewise.
1323 (exp10_test): Likewise.
1324 (exp2_test): Likewise.
1325 (expm1_test): Likewise.
1326 (fabs_test): Likewise.
1327 (fdim_test): Likewise.
1328 (finite_test): Likewise.
1329 (floor_test): Likewise.
1330 (fma_test): Likewise.
1331 (fma_test_towardzero): Likewise.
1332 (fma_test_downward): Likewise.
1333 (fma_test_upward): Likewise.
1334 (fmax_test): Likewise.
1335 (fmin_test): Likewise.
1336 (fmod_test): Likewise.
1337 (fpclassify_test): Likewise.
1338 (frexp_test): Likewise.
1339 (gamma_test): Likewise.
1340 (hypot_test): Likewise.
1341 (ilogb_test): Likewise.
1342 (isfinite_test): Likewise.
1343 (isgreater_test): Likewise.
1344 (isgreaterequal_test): Likewise.
1345 (isinf_test): Likewise.
1346 (isless_test): Likewise.
1347 (islessequal_test): Likewise.
1348 (islessgreater_test): Likewise.
1349 (isnan_test): Likewise.
1350 (isnormal_test): Likewise.
1351 (issignaling_test): Likewise.
1352 (isunordered_test): Likewise.
1353 (j0_test): Likewise.
1354 (j1_test): Likewise.
1355 (jn_test): Likewise.
1356 (ldexp_test): Likewise.
1357 (lgamma_test): Likewise.
1358 (lrint_test): Likewise.
1359 (lrint_test_tonearest): Likewise.
1360 (lrint_test_towardzero): Likewise.
1361 (lrint_test_downward): Likewise.
1362 (lrint_test_upward): Likewise.
1363 (llrint_test): Likewise.
1364 (llrint_test_tonearest): Likewise.
1365 (llrint_test_towardzero): Likewise.
1366 (llrint_test_downward): Likewise.
1367 (llrint_test_upward): Likewise.
1368 (log_test): Likewise.
1369 (log10_test): Likewise.
1370 (log1p_test): Likewise.
1371 (log2_test): Likewise.
1372 (logb_test): Likewise.
1373 (logb_test_downward): Likewise.
1374 (lround_test): Likewise.
1375 (llround_test): Likewise.
1376 (modf_test): Likewise.
1377 (nearbyint_test): Likewise.
1378 (nextafter_test): Likewise.
1379 (nexttoward_test): Likewise.
1380 (pow_test): Likewise.
1381 (pow_test_tonearest): Likewise.
1382 (pow_test_towardzero): Likewise.
1383 (pow_test_downward): Likewise.
1384 (pow_test_upward): Likewise.
1385 (remainder_test): Likewise.
1386 (remainder_test_tonearest): Likewise.
1387 (remainder_test_towardzero): Likewise.
1388 (remainder_test_downward): Likewise.
1389 (remainder_test_upward): Likewise.
1390 (remquo_test): Likewise.
1391 (rint_test): Likewise.
1392 (rint_test_tonearest): Likewise.
1393 (rint_test_towardzero): Likewise.
1394 (rint_test_downward): Likewise.
1395 (rint_test_upward): Likewise.
1396 (round_test): Likewise.
1397 (scalb_test): Likewise.
1398 (scalbn_test): Likewise.
1399 (scalbln_test): Likewise.
1400 (signbit_test): Likewise.
1401 (sin_test): Likewise.
1402 (sin_test_tonearest): Likewise.
1403 (sin_test_towardzero): Likewise.
1404 (sin_test_downward): Likewise.
1405 (sin_test_upward): Likewise.
1406 (sincos_test): Likewise.
1407 (sinh_test): Likewise.
1408 (sinh_test_tonearest): Likewise.
1409 (sinh_test_towardzero): Likewise.
1410 (sinh_test_downward): Likewise.
1411 (sinh_test_upward): Likewise.
1412 (sqrt_test): Likewise.
1413 (tan_test): Likewise.
1414 (tan_test_tonearest): Likewise.
1415 (tan_test_towardzero): Likewise.
1416 (tan_test_downward): Likewise.
1417 (tan_test_upward): Likewise.
1418 (tanh_test): Likewise.
1419 (tgamma_test): Likewise.
1420 (trunc_test): Likewise.
1421 (y0_test): Likewise.
1422 (y1_test): Likewise.
1423 (yn_test): Likewise.
1424 (significand_test): Likewise.
1425
bae143d2
OB
14262013-05-24 Ondřej Bílka <neleai@seznam.cz>
1427
1428 [BZ #15381]
1429 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1430
9323d39b
EM
14312013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1432
d4ea44a0 1433 [BZ #14894]
9323d39b
EM
1434 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1435 __ppc_mdoio and __ppc_mdoom.
1436 * manual/platform.texi: Document new functions __ppc_yield,
1437 __ppc_mdoio and __ppc_mdoom.
1438
13e23af7
CD
14392013-05-22 Carlos O'Donell <carlos@redhat.com>
1440
1441 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1442 (main): Mention "tls" pseudo-hwcap is legacy.
1443 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1444
351fe550
JM
14452013-05-22 Joseph Myers <joseph@codesourcery.com>
1446
1447 * math/gen-libm-test.pl (parse_args): Output only string of
1448 arguments as text for test name, not full call or descriptions of
1449 tests for extra outputs.
1450 (generate_testfile): Do not pass function name to parse_args.
1451 Generate this_func variable from START.
1452 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1453 field to arg_str.
1454 (struct test_ff_f_data): Likewise.
1455 (test_ff_f_data_nexttoward): Likewise.
1456 (struct test_fi_f_data): Likewise.
1457 (struct test_fl_f_data): Likewise.
1458 (struct test_if_f_data): Likewise.
1459 (struct test_fff_f_data): Likewise.
1460 (struct test_c_f_data): Likewise.
1461 (struct test_f_f1_data): Likewise. Remove field extra_name.
1462 (struct test_fF_f1_data): Likewise.
1463 (struct test_ffI_f1_data): Likewise.
1464 (struct test_c_c_data): Rename test_name field to arg_str.
1465 (struct test_cc_c_data): Likewise.
1466 (struct test_f_i_data): Likewise.
1467 (struct test_ff_i_data): Likewise.
1468 (struct test_f_l_data): Likewise.
1469 (struct test_f_L_data): Likewise.
1470 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
1471 and extra2_name.
1472 (COMMON_TEST_SETUP): New macro.
1473 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1474 (COMMON_TEST_CLEANUP): Likewise.
1475 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1476 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
1477 macros.
1478 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1479 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
1480 macros.
1481 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1482 (RUN_TEST_fff_f): Take argument string. Call new setup and
1483 cleanup macros.
1484 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1485 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
1486 macros.
1487 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1488 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
1489 macros.
1490 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1491 (RUN_TEST_fF_f1): Take argument string. Call new setup and
1492 cleanup macros.
1493 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1494 (RUN_TEST_fI_f1): Take argument string. Call new setup and
1495 cleanup macros.
1496 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1497 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
1498 cleanup macros.
1499 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1500 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
1501 macros.
1502 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1503 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
1504 macros.
1505 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1506 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
1507 macros.
1508 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1509 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
1510 cleanup macros.
1511 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1512 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
1513 cleanup macros.
1514 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1515 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
1516 macros.
1517 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1518 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
1519 cleanup macros.
1520 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1521 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
1522 macros.
1523 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1524 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
1525 macros.
1526 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1527 (RUN_TEST_fFF_11): Take argument string. Call new setup and
1528 cleanup macros.
1529 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1530
85118d4d
EBM
15312013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1532
1533 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1534 to _sifields.sigfault.
1535 (si_addr_lsb): Define new macro.
1536 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1537 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1538 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1539
7a44c18f
CD
15402013-05-03 Carlos O'Donell <carlos at redhat.com>
1541
1542 [BZ #15441]
1543 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1544 returns -1.
1545 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1546 null return -1.
1547 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1548 loading the domain.
1549
b50a7181
JM
15502013-05-22 Joseph Myers <joseph@codesourcery.com>
1551
1552 * math/gen-libm-test.pl (parse_args): Do not include expected
1553 result in test name.
1554 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1555 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1556 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1557 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1558 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1560
051063c8
SP
15612013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1562
3ce9e010
SP
1563 * benchtests/Makefile: Sort function entries.
1564
051063c8
SP
1565 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1566 tanh, asinh, acosh, atanh.
1567 * benchtests/acos-inputs: New file.
1568 * benchtests/acosh-inputs: New file.
1569 * benchtests/asin-inputs: New file.
1570 * benchtests/asinh-inputs: New file.
1571 * benchtests/atanh-inputs: New file.
1572 * benchtests/cosh-inputs: New file.
1573 * benchtests/log-inputs: New file.
1574 * benchtests/sinh-inputs: New file.
1575 * benchtests/tanh-inputs: New file.
1576
47c22455
DL
15772013-05-21 Dmitry V. Levin <ldv@altlinux.org>
1578
1579 [BZ #15339]
1580 * posix/tst-getaddrinfo4.c: New test.
1581 * posix/Makefile (tests): Add it.
1582
3d04f5db
SP
15832013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1584
1585 [BZ #15339]
1586 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1587 when no services were used.
1588 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1589 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1590
d5dd6189
AS
15912013-05-21 Andreas Schwab <schwab@suse.de>
1592
1593 [BZ #15014]
1594 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1595 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1596 successful.
1597 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1598 redundant variable declarations and reallocation of buffer when
1599 parsing as IPv6 address. Always set NSS status when called from
1600 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
1601 buffer too small. Correct computation of needed size.
1602 * nss/Makefile (tests): Add test-digits-dots.
1603 * nss/test-digits-dots.c: New test.
1604
fef94eab
SP
16052013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1606
1607 * benchtests/Makefile: Remove instructions for adding
1608 benchmark tests.
1609 * benchtests/README: New file to explain how to execute and
1610 enhance the benchmark tests.
1611
e39adf43
AS
16122013-05-21 Andreas Schwab <schwab@suse.de>
1613
1614 [BZ #15493]
1615 * setjmp/Makefile (tests): Add tst-sigsetjmp.
1616 * setjmp/tst-sigsetjmp.c: New test.
1617
b2b671b6
OB
16182013-05-20 Ondřej Bílka <neleai@seznam.cz>
1619
1620 * sysdeps/x86_64/memset.S (memset): New implementation.
1621 (__bzero): Likewise.
1622 (__memset_tail): New function.
1623
2d48b41c
OB
16242013-05-20 Ondřej Bílka <neleai@seznam.cz>
1625
1626 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1627 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1628 __memcpy_sse2_unaligned ifunc selection.
1629 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1630 Add memcpy-sse2-unaligned.S.
1631 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1632 Add: __memcpy_sse2_unaligned.
1633
f16cc3eb
JM
16342013-05-19 Joseph Myers <joseph@codesourcery.com>
1635
3e694268
JM
1636 [BZ #15490]
1637 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1638 math_force_eval before restoring floating-point envrionment.
1639 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1640 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1641 Likewise.
1642 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1643 <math_private.h>.
1644 (__nearbyintl): Use math_force_eval before restoring
1645 floating-point environment.
1646 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1647
db62a907
JM
1648 * math/gen-libm-test.pl (special_functions): Remove.
1649 (parse_args): Don't handle TEST_extra. Handle functions with no
1650 return value.
1651 * math/libm-test.inc (struct test_sincos_data): Replace with
1652 struct test_fFF_11_data.
1653 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1654 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1655 (sincos_test_data): Change element type to struct
1656 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
1657 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1658 RUN_TEST_LOOP_sincos.
1659 * math/README.libm-test: Don't mention special handling of
1660 individual functions.
1661 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1662 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1663 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1664 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1665 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1667
f16cc3eb
JM
1668 * math/gen-libm-test.pl (get_variable): Remove function.
1669 (parse_args): Don't show pointer parameters to call in test
1670 names. Use "extra output N" in test names for extra outputs
1671 rather than naming variables.
1672
3779b5b6
JM
16732013-05-18 Joseph Myers <joseph@codesourcery.com>
1674
2ee094ff
JM
1675 [BZ #15488]
1676 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1677 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1678 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1679 double tests.
1680 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1681 disable.
1682 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1683 check_long_double.
1684
3779b5b6
JM
1685 * math/gen-libm-test.pl (@tests): Remove variable.
1686 ($count): Likewise.
1687 (new_test): Remove function.
1688 (show_exceptions): New function.
1689 (special_functions): Use show_exceptions instead of new_test.
1690 (parse_args): Likewise.
1691 (generate_testfile): Pass only function name in generated call to
1692 print_max_error or print_complex_max_error.
1693 (get_ulps): Do not handle complex tests specially.
1694 (output_test): Rename to ...
1695 (get_all_ulps_for_test): ... this. Return a string rather than
1696 printing to a file. Require ulps to be present.
1697 (output_ulps): Generate arrays rather than #defines.
1698 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1699 (struct ulp_data): New type.
1700 (BUILD_COMPLEX_ULP): Remove macro.
1701 (compare_ulp_data): New function.
1702 (find_ulps): Likewise.
1703 (find_test_ulps): Likewise.
1704 (find_function_ulps): Likewise.
1705 (find_complex_function_ulps): Likewise.
1706 (print_max_error): Determine allowed ulps using
1707 find_function_ulps.
1708 (print_complex_max_error): Determine allowed ulps using
1709 find_complex_function_ulps.
1710 (check_float_internal): Determine max ulps using find_test_ulps.
1711 (check_float): Do not take max_ulp parameter. Update call to
1712 check_float_internal.
1713 (check_complex): Likewise.
1714 (check_int): Do not take max_ulp parameter.
1715 (check_long): Likewise.
1716 (check_bool): Likewise.
1717 (check_longlong): Likewise.
1718 (struct test_f_f_data): Remove max_ulp field.
1719 (struct test_ff_f_data): Likewise.
1720 (struct test_ff_f_data_nexttoward): Likewise.
1721 (struct test_fi_f_data): Likewise.
1722 (struct test_fl_f_data): Likewise.
1723 (struct test_if_f_data): Likewise.
1724 (struct test_fff_f_data): Likewise.
1725 (struct test_c_f_data): Likewise.
1726 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1727 (struct test_fF_f1_data): Likewise.
1728 (struct test_ffI_f1_data): Likewise.
1729 (struct test_c_c_data): Remove max_ulp field.
1730 (struct test_cc_c_data): Likewise.
1731 (struct test_f_i_data): Likewise.
1732 (struct test_ff_i_data): Likewise.
1733 (struct test_f_l_data): Likewise.
1734 (struct test_f_L_data): Likewise.
1735 (struct test_sincos_data): Likewise.
1736 (RUN_TEST_f_f): Do not handle ulps.
1737 (RUN_TEST_LOOP_f_f): Likewise.
1738 (RUN_TEST_2_f): Likewise.
1739 (RUN_TEST_LOOP_2_f): Likewise.
1740 (RUN_TEST_fff_f): Likewise.
1741 (RUN_TEST_LOOP_fff_f): Likewise.
1742 (RUN_TEST_c_f): Likewise.
1743 (RUN_TEST_LOOP_c_f): Likewise.
1744 (RUN_TEST_f_f1): Likewise.
1745 (RUN_TEST_LOOP_f_f1): Likewise.
1746 (RUN_TEST_fF_f1): Likewise.
1747 (RUN_TEST_LOOP_fF_f1): Likewise.
1748 (RUN_TEST_fI_f1): Likewise.
1749 (RUN_TEST_LOOP_fI_f1): Likewise.
1750 (RUN_TEST_ffI_f1): Likewise.
1751 (RUN_TEST_LOOP_ffI_f1): Likewise.
1752 (RUN_TEST_c_c): Likewise.
1753 (RUN_TEST_LOOP_c_c): Likewise.
1754 (RUN_TEST_cc_c): Likewise.
1755 (RUN_TEST_LOOP_cc_c): Likewise.
1756 (RUN_TEST_f_i): Likewise.
1757 (RUN_TEST_LOOP_f_i): Likewise.
1758 (RUN_TEST_f_i_tg): Likewise.
1759 (RUN_TEST_LOOP_f_i_tg): Likewise.
1760 (RUN_TEST_ff_i_tg): Likewise.
1761 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1762 (RUN_TEST_f_b): Likewise.
1763 (RUN_TEST_LOOP_f_b): Likewise.
1764 (RUN_TEST_f_b_tg): Likewise.
1765 (RUN_TEST_LOOP_f_b_tg): Likewise.
1766 (RUN_TEST_f_l): Likewise.
1767 (RUN_TEST_LOOP_f_l): Likewise.
1768 (RUN_TEST_f_L): Likewise.
1769 (RUN_TEST_LOOP_f_L): Likewise.
1770 (RUN_TEST_sincos): Likewise.
1771 (RUN_TEST_LOOP_sincos): Likewise.
1772
8269107f
JM
17732013-05-17 Joseph Myers <joseph@codesourcery.com>
1774
bb38759d
JM
1775 [BZ #15480]
1776 [BZ #15485]
1777 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
1778 main case of finite arguments, set rounding mode to FE_TONEAREST
1779 and discard exceptions.
1780 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
1781 exceptions.
1782 (remainder_tonearest_test_data): New variable.
1783 (remainder_test_tonearest): New function.
1784 (remainder_towardzero_test_data): New variable.
1785 (remainder_test_towardzero): New function.
1786 (remainder_downward_test_data): New variable.
1787 (remainder_test_downward): New function.
1788 (remainder_upward_test_data): New variable.
1789 (remainder_test_upward): New function.
1790 (main): Call the new test functions.
1791
a00bdcf0
JM
1792 * math/libm-test.inc (struct test_f_f1_data): Remove field
1793 extra_init.
1794 (struct test_fF_f1_data): Likewise.
1795 (struct test_ffI_f1_data): Likewise.
1796 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
1797 based on value of EXTRA_EXPECTED.
1798 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1799 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
1800 EXTRA_VAR based on value of EXTRA_EXPECTED.
1801 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1802 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
1803 EXTRA_VAR based on value of EXTRA_EXPECTED.
1804 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1805 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
1806 EXTRA_VAR based on value of EXTRA_EXPECTED.
1807 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1808 * math/gen-libm-test.pl (parse_args): Don't output initializers
1809 for extra output values.
1810
de407f79
JM
1811 * math/libm-test.inc (check_int): Expect result to be exactly
1812 equal to expected value and do not handle ulps.
1813 (check_long): Likewise.
1814 (check_longlong): Likewise.
1815
8269107f
JM
1816 * math/libm-test.inc (ceil_test_data): Test for "inexact"
1817 exceptions.
1818 (cimag_test_data): Likewise.
1819 (conj_test_data): Likewise.
1820 (copysign_test_data): Likewise.
1821 (cproj_test_data): Likewise.
1822 (creal_test_data): Likewise.
1823 (fabs_test_data): Likewise.
1824 (fdim_test_data): Likewise.
1825 (finite_test_data): Likewise.
1826 (floor_test_data): Likewise.
1827 (fmax_test_data): Likewise.
1828 (fmin_test_data): Likewise.
1829 (fmod_test_data): Likewise.
1830 (fpclassify_test_data): Likewise.
1831 (frexp_test_data): Likewise.
1832 (ilogb_test_data): Likewise.
1833 (isfinite_test_data): Likewise.
1834 (isgreater_test_data): Likewise.
1835 (isgreaterequal_test_data): Likewise.
1836 (isinf_test_data): Likewise.
1837 (isless_test_data): Likewise.
1838 (islessequal_test_data): Likewise.
1839 (islessgreater_test_data): Likewise.
1840 (isnan_test_data): Likewise.
1841 (isnormal_test_data): Likewise.
1842 (issignaling_test_data): Likewise.
1843 (isunordered_test_data): Likewise.
1844 (ldexp_test_data): Likewise.
1845 (lrint_test_data): Likewise.
1846 (lrint_test_data) [TEST_FLOAT]: Disable one test.
1847 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
1848 (lrint_tonearest_test_data): Test for "inexact" exceptions.
1849 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1850 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
1851 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1852 test input.
1853 (lrint_towardzero_test_data): Test for "inexact" exceptions.
1854 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1855 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
1856 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
1857 that test input.
1858 (lrint_downward_test_data): Test for "inexact" exceptions.
1859 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1860 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
1861 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1862 test input.
1863 (lrint_upward_test_data): Test for "inexact" exceptions.
1864 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
1865 test input.
1866 (llrint_test_data): Test for "inexact" exceptions.
1867 (llrint_test_data) [TEST_FLOAT]: Disable one test.
1868 (llrint_tonearest_test_data): Test for "inexact" exceptions.
1869 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1870 (llrint_towardzero_test_data): Test for "inexact" exceptions.
1871 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1872 (llrint_downward_test_data): Test for "inexact" exceptions.
1873 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1874 (llrint_upward_test_data): Test for "inexact" exceptions.
1875 (logb_test_data): Likewise.
1876 (logb_downward_test_data): Likewise.
1877 (nextafter_test_data): Likewise.
1878 (nexttoward_test_data): Likewise.
1879 (remainder_test_data): Likewise.
1880 (remquo_test_data): Likewise.
1881 (scalbn_test_data): Likewise.
1882 (scalbln_test_data): Likewise.
1883 (signbit_test_data): Likewise.
1884 (sqrt_test_data): Likewise.
1885 (significand_test_data): Likewise.
1886
48a18de1
SP
18872013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1888
1889 [BZ #15424]
1890 * benchtests/bench-modf.c (struct args): Mark arg0 as
1891 volatile.
1892 * scripts/bench.pl: Mark members of struct args as volatile.
1893
13d3b41a
AZ
18942013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1895
68191c1d 1896 [BZ # 15497]
13d3b41a
AZ
1897 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
1898 negative infinity on POWER6 or lower.
1899 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
1900
2848b105
MR
19012013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1902
1903 [BZ #15442]
1904 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
1905 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
1906 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
1907 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
1908 (_FP_SETQNAN): New macro.
1909 (_FP_SETQNAN_SEMIRAW): Likewise.
1910 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
1911 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
1912 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
1913 (FP_EXTEND): Use _FP_FRAC_SNANP.
1914 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
1915 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
1916 into account.
1917 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1918 New macro.
1919 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1920 Likewise.
1921
323e5cb7
JM
19222013-05-16 Joseph Myers <joseph@codesourcery.com>
1923
c58b274f
JM
1924 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
1925 with DIVIDE_BY_ZERO_EXCEPTION.
1926 (gamma_test_data): Likewise.
1927 (lgamma_test_data): Likewise.
1928 (log_test_data): Likewise.
1929 (log10_test_data): Likewise.
1930 (log2_test_data): Likewise.
1931 (tgamma_test_data): Likewise.
1932
0ab34904
JM
1933 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
1934 (acos_test_tonearest): Likewise.
1935 (acos_test_towardzero): Likewise.
1936 (acos_test_downward): Likewise.
1937 (acos_test_upward): Likewise.
1938 (acosh_test): Likewise.
1939 (asin_test): Likewise.
1940 (asin_test_tonearest): Likewise.
1941 (asin_test_towardzero): Likewise.
1942 (asin_test_downward): Likewise.
1943 (asin_test_upward): Likewise.
1944 (asinh_test): Likewise.
1945 (atan_test): Likewise.
1946 (atanh_test): Likewise.
1947 (atan2_test): Likewise.
1948 (cabs_test): Likewise.
1949 (cacos_test): Likewise.
1950 (cacosh_test): Likewise.
1951 (casin_test): Likewise.
1952 (casinh_test): Likewise.
1953 (catan_test): Likewise.
1954 (catanh_test): Likewise.
1955 (cbrt_test): Likewise.
1956 (ccos_test): Likewise.
1957 (ccosh_test): Likewise.
1958 (cexp_test): Likewise.
1959 (clog_test): Likewise.
1960 (clog10_test): Likewise.
1961 (cos_test): Likewise.
1962 (cos_test_tonearest): Likewise.
1963 (cos_test_towardzero): Likewise.
1964 (cos_test_downward): Likewise.
1965 (cos_test_upward): Likewise.
1966 (cosh_test): Likewise.
1967 (cosh_test_tonearest): Likewise.
1968 (cosh_test_towardzero): Likewise.
1969 (cosh_test_downward): Likewise.
1970 (cosh_test_upward): Likewise.
1971 (cpow_test): Likewise.
1972 (csin_test): Likewise.
1973 (csinh_test): Likewise.
1974 (csqrt_test): Likewise.
1975 (ctan_test): Likewise.
1976 (ctan_test_tonearest): Likewise.
1977 (ctan_test_towardzero): Likewise.
1978 (ctan_test_downward): Likewise.
1979 (ctan_test_upward): Likewise.
1980 (ctanh_test): Likewise.
1981 (ctanh_test_tonearest): Likewise.
1982 (ctanh_test_towardzero): Likewise.
1983 (ctanh_test_downward): Likewise.
1984 (ctanh_test_upward): Likewise.
1985 (erf_test): Likewise.
1986 (erfc_test): Likewise.
1987 (exp_test): Likewise.
1988 (exp_test_tonearest): Likewise.
1989 (exp_test_towardzero): Likewise.
1990 (exp_test_downward): Likewise.
1991 (exp_test_upward): Likewise.
1992 (exp10_test): Likewise.
1993 (exp2_test): Likewise.
1994 (expm1_test): Likewise.
1995 (fmod_test): Likewise.
1996 (gamma_test): Likewise.
1997 (hypot_test): Likewise.
1998 (j0_test): Likewise.
1999 (j1_test): Likewise.
2000 (jn_test): Likewise.
2001 (lgamma_test): Likewise.
2002 (log_test): Likewise.
2003 (log10_test): Likewise.
2004 (log1p_test): Likewise.
2005 (log2_test): Likewise.
2006 (logb_test_downward): Likewise.
2007 (pow_test): Likewise.
2008 (pow_test_tonearest): Likewise.
2009 (pow_test_towardzero): Likewise.
2010 (pow_test_downward): Likewise.
2011 (pow_test_upward): Likewise.
2012 (remainder_test): Likewise.
2013 (remquo_test): Likewise.
2014 (sin_test): Likewise.
2015 (sin_test_tonearest): Likewise.
2016 (sin_test_towardzero): Likewise.
2017 (sin_test_downward): Likewise.
2018 (sin_test_upward): Likewise.
2019 (sincos_test): Likewise.
2020 (sinh_test): Likewise.
2021 (sinh_test_tonearest): Likewise.
2022 (sinh_test_towardzero): Likewise.
2023 (sinh_test_downward): Likewise.
2024 (sinh_test_upward): Likewise.
2025 (sqrt_test): Likewise.
2026 (tan_test): Likewise.
2027 (tan_test_tonearest): Likewise.
2028 (tan_test_towardzero): Likewise.
2029 (tan_test_downward): Likewise.
2030 (tan_test_upward): Likewise.
2031 (tanh_test): Likewise.
2032 (tgamma_test): Likewise.
2033 (y0_test): Likewise.
2034 (y1_test): Likewise.
2035 (yn_test): Likewise.
2036
323e5cb7
JM
2037 * math/gen-libm-test.pl (adjust_arg): Remove function.
2038 (special_function): Remove argument $in_func. Only handle
2039 generating output for tables of tests, not inside functions.
2040 (parse_args): Likewise.
2041 (generate_testfile): Remove variable $in_func. Update call to
2042 parse_args.
2043 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2044 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2045 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2046 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2047 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2048 (MAX_VALUE_INIT): Rename macro to max_value.
2049 (MIN_VALUE_INIT): Rename macro to min_value.
2050 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2051 (plus_zero): Remove variable.
2052 (minus_zero): Likewise.
2053 (plus_infty): Likewise.
2054 (minus_infty): Likewise.
2055 (qnan_value): Likewise.
2056 (max_value): Likewise.
2057 (min_value): Likewise.
2058 (min_subnorm_value): Likewise.
2059
e054f494
RA
20602013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2061
2062 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2063 uint64_t or uint32_t usage.
2064 * crypt/sha256-block.c: Likewise.
2065 * crypt/sha256-crypt.c: Likewise.
2066 * crypt/sha256.c: Likewise.
2067 * crypt/sha512-block.c: Likewise.
2068 * crypt/sha512-crypt.c: Likewise.
2069 * crypt/sha512.c: Likewise.
2070 * debug/backtrace-tst.c: Likewise.
2071 * debug/pcprofiledump.c: Likewise.
2072 * elf/cache.c: Likewise.
2073 * elf/dl-cache.c: Likewise.
2074 * elf/dl-misc.c: Likewise.
2075 * elf/dl-profile.c: Likewise.
2076 * elf/dl-support.c: Likewise.
2077 * elf/ldconfig.c: Likewise.
2078 * elf/sprof.c: Likewise.
2079 * iconv/dummy-repertoire.c: Likewise.
2080 * iconv/iconv_charmap.c: Likewise.
2081 * iconv/skeleton.c: Likewise.
2082 * iconvdata/8bit-generic.c: Likewise.
2083 * iconvdata/cp737.h: Likewise.
2084 * iconvdata/cp775.h: Likewise.
2085 * iconvdata/ibm1008.h: Likewise.
2086 * iconvdata/ibm1025.h: Likewise.
2087 * iconvdata/ibm1046.h: Likewise.
2088 * iconvdata/ibm1097.h: Likewise.
2089 * iconvdata/ibm1112.h: Likewise.
2090 * iconvdata/ibm1122.h: Likewise.
2091 * iconvdata/ibm1123.h: Likewise.
2092 * iconvdata/ibm1124.h: Likewise.
2093 * iconvdata/ibm1129.h: Likewise.
2094 * iconvdata/ibm1130.h: Likewise.
2095 * iconvdata/ibm1132.h: Likewise.
2096 * iconvdata/ibm1133.h: Likewise.
2097 * iconvdata/ibm1137.h: Likewise.
2098 * iconvdata/ibm1140.h: Likewise.
2099 * iconvdata/ibm1141.h: Likewise.
2100 * iconvdata/ibm1142.h: Likewise.
2101 * iconvdata/ibm1143.h: Likewise.
2102 * iconvdata/ibm1144.h: Likewise.
2103 * iconvdata/ibm1145.h: Likewise.
2104 * iconvdata/ibm1146.h: Likewise.
2105 * iconvdata/ibm1147.h: Likewise.
2106 * iconvdata/ibm1148.h: Likewise.
2107 * iconvdata/ibm1149.h: Likewise.
2108 * iconvdata/ibm1153.h: Likewise.
2109 * iconvdata/ibm1154.h: Likewise.
2110 * iconvdata/ibm1155.h: Likewise.
2111 * iconvdata/ibm1156.h: Likewise.
2112 * iconvdata/ibm1157.h: Likewise.
2113 * iconvdata/ibm1158.h: Likewise.
2114 * iconvdata/ibm1160.h: Likewise.
2115 * iconvdata/ibm1161.h: Likewise.
2116 * iconvdata/ibm1162.h: Likewise.
2117 * iconvdata/ibm1163.h: Likewise.
2118 * iconvdata/ibm1164.h: Likewise.
2119 * iconvdata/ibm1166.h: Likewise.
2120 * iconvdata/ibm1167.h: Likewise.
2121 * iconvdata/ibm12712.h: Likewise.
2122 * iconvdata/ibm1390.h: Likewise.
2123 * iconvdata/ibm1399.h: Likewise.
2124 * iconvdata/ibm16804.h: Likewise.
2125 * iconvdata/ibm4517.h: Likewise.
2126 * iconvdata/ibm4899.h: Likewise.
2127 * iconvdata/ibm4909.h: Likewise.
2128 * iconvdata/ibm4971.h: Likewise.
2129 * iconvdata/ibm5347.h: Likewise.
2130 * iconvdata/ibm803.h: Likewise.
2131 * iconvdata/ibm856.h: Likewise.
2132 * iconvdata/ibm901.h: Likewise.
2133 * iconvdata/ibm902.h: Likewise.
2134 * iconvdata/ibm9030.h: Likewise.
2135 * iconvdata/ibm9066.h: Likewise.
2136 * iconvdata/ibm921.h: Likewise.
2137 * iconvdata/ibm922.h: Likewise.
2138 * iconvdata/ibm9448.h: Likewise.
2139 * iconvdata/isiri-3342.h: Likewise.
2140 * iconvdata/jis0201.h: Likewise.
2141 * include/link.h: Likewise.
2142 * include/netdb.h: Likewise.
2143 * inet/check_native.c: Likewise.
2144 * inet/check_pf.c: Likewise.
2145 * inet/getipv4sourcefilter.c: Likewise.
2146 * inet/getnameinfo.c: Likewise.
2147 * inet/getsourcefilter.c: Likewise.
2148 * inet/htonl.c: Likewise.
2149 * inet/setipv4sourcefilter.c: Likewise.
2150 * inet/setsourcefilter.c: Likewise.
2151 * inet/test-inet6_opt.c: Likewise.
2152 * inet/tst-network.c: Likewise.
2153 * locale/C-collate.c: Likewise.
2154 * locale/C-ctype.c: Likewise.
2155 * locale/C-time.c: Likewise.
2156 * locale/C-translit.h: Likewise.
2157 * locale/loadarchive.c: Likewise.
2158 * locale/programs/3level.h: Likewise.
2159 * locale/programs/charmap.c: Likewise.
2160 * locale/programs/charmap.h: Likewise.
2161 * locale/programs/ld-address.c: Likewise.
2162 * locale/programs/ld-collate.c: Likewise.
2163 * locale/programs/ld-ctype.c: Likewise.
2164 * locale/programs/ld-identification.c: Likewise.
2165 * locale/programs/ld-measurement.c: Likewise.
2166 * locale/programs/ld-messages.c: Likewise.
2167 * locale/programs/ld-monetary.c: Likewise.
2168 * locale/programs/ld-name.c: Likewise.
2169 * locale/programs/ld-numeric.c: Likewise.
2170 * locale/programs/ld-paper.c: Likewise.
2171 * locale/programs/ld-telephone.c: Likewise.
2172 * locale/programs/ld-time.c: Likewise.
2173 * locale/programs/linereader.c: Likewise.
2174 * locale/programs/locale.c: Likewise.
2175 * locale/programs/locarchive.c: Likewise.
2176 * locale/programs/locfile.h: Likewise.
2177 * locale/programs/repertoire.c: Likewise.
2178 * locale/programs/simple-hash.c: Likewise.
2179 * locale/programs/simple-hash.h: Likewise.
2180 * malloc/memusage.c: Likewise.
2181 * malloc/memusagestat.c: Likewise.
2182 * nis/nis_defaults.c: Likewise.
2183 * nis/nis_hash.c: Likewise.
2184 * nis/nis_print.c: Likewise.
2185 * nis/nis_xdr.c: Likewise.
2186 * nscd/connections.c: Likewise.
2187 * nscd/hstcache.c: Likewise.
2188 * nscd/nscd_gethst_r.c: Likewise.
2189 * nscd/nscd_getserv_r.c: Likewise.
2190 * nscd/nscd_helper.c: Likewise.
2191 * nscd/servicescache.c: Likewise.
2192 * nss/makedb.c: Likewise.
2193 * nss/nss_db/db-XXX.c: Likewise.
2194 * nss/nss_db/db-initgroups.c: Likewise.
2195 * nss/nss_db/db-netgrp.c: Likewise.
2196 * nss/nss_files/files-network.c: Likewise.
2197 * nss/nss_files/files-parse.c: Likewise.
2198 * posix/bug-regex5.c: Likewise.
2199 * posix/fnmatch_loop.c: Likewise.
2200 * posix/regcomp.c: Likewise.
2201 * posix/regexec.c: Likewise.
2202 * posix/tst-rfc3484-2.c: Likewise.
2203 * posix/tst-rfc3484-3.c: Likewise.
2204 * posix/tst-rfc3484.c: Likewise.
2205 * resolv/nss_dns/dns-canon.c: Likewise.
2206 * resolv/nss_dns/dns-network.c: Likewise.
2207 * resolv/res_init.c: Likewise.
2208 * resolv/res_mkquery.c: Likewise.
2209 * resolv/tst-aton.c: Likewise.
2210 * stdlib/cxa_atexit.c: Likewise.
2211 * stdlib/cxa_finalize.c: Likewise.
2212 * stdlib/gen-fpioconst.c: Likewise.
2213 * stdlib/strtol_l.c: Likewise.
2214 * string/tst-endian.c: Likewise.
2215 * sunrpc/auth_des.c: Likewise.
2216 * sunrpc/clnt_udp.c: Likewise.
2217 * sunrpc/rtime.c: Likewise.
2218 * sunrpc/svcauth_des.c: Likewise.
2219 * sunrpc/xdr.c: Likewise.
2220 * sunrpc/xdr_intXX_t.c: Likewise.
2221 * sunrpc/xdr_rec.c: Likewise.
2222 * sysdeps/generic/ldconfig.h: Likewise.
2223 * sysdeps/generic/ldsodefs.h: Likewise.
2224 * sysdeps/generic/memusage.h: Likewise.
2225 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2226 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2227 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2228 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2229 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2230 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2231 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2232 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2233 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2234 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2235 * sysdeps/posix/getaddrinfo.c: Likewise.
2236 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2237 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2238 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2239 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2240 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2241 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2242 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2243 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2244 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2245 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2246 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2247 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2248 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2249 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2250 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2251 * sysdeps/x86_64/dl-tls.h: Likewise.
2252 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2253 * time/alt_digit.c: Likewise.
2254 * time/era.c: Likewise.
2255 * wcsmbs/tst-c16c32-1.c: Likewise.
2256
8c75f674
JM
22572013-05-16 Joseph Myers <joseph@codesourcery.com>
2258
2259 * math/libm-test.inc (struct test_sincos_data): New type.
2260 (RUN_TEST_LOOP_sincos): New macro.
2261 (sincos_test_data): New variable.
2262 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2263
e6e49e59
RH
22642013-05-16 Richard Henderson <rth@redhat.com>
2265
2266 * math/atest-exp2.c (LIMB64): New macro.
2267 (CONSTSZ): New macro.
2268 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2269 (hexdig): Move ...
2270 (print_mpn_fp): ... to function scope.
2271 (read_mpn_hex): Remove.
2272 (get_log2): Remove.
2273 (exp2_mpn): Use mp_log2.
2274 (main): Use mp_exp1.
2275
15c7c18d
JM
22762013-05-16 Joseph Myers <joseph@codesourcery.com>
2277
105a07df
JM
2278 * math/libm-test.inc: Remove comment about not testing "inexact"
2279 exceptions.
2280 (INEXACT_EXCEPTION): New macro.
2281 (NO_INEXACT_EXCEPTION): Likewise.
2282 (INVALID_EXCEPTION_OK): Update value.
2283 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2284 (OVERFLOW_EXCEPTION_OK): Likewise.
2285 (UNDERFLOW_EXCEPTION_OK): Likewise.
2286 (IGNORE_ZERO_INF_SIGN): Likewise.
2287 (ERRNO_UNCHANGED): Likewise.
2288 (ERRNO_EDOM): Likewise.
2289 (ERRNO_ERANGE): Likewise.
2290 (test_exceptions): Handle testing "inexact" exceptions.
2291 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2292 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2293 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2294 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2295 INEXACT_EXCEPTION.
2296 (rint_towardzero_test_data): Likewise.
2297 (rint_downward_test_data): Likewise.
2298 (rint_upward_test_data): Likewise.
2299
e9eee333
JM
2300 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2301 with OVERFLOW_EXCEPTION.
2302 (exp10_test_data): Likewise.
2303 (exp2_test_data): Likewise.
2304 (expm1_test_data): Likewise.
2305 (lgamma_test_data): Likewise.
2306 (pow_test_data): Likewise.
2307 (tgamma_test_data): Likewise.
2308 (yn_test_data): Remove duplicate test of overflow.
2309
1c38ff73
JM
2310 * math/libm-test.inc (struct test_cc_c_data): New type.
2311 (RUN_TEST_LOOP_cc_c): New macro.
2312 (cpow_test_data): New variable.
2313 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2314
15c7c18d
JM
2315 * math/libm-test.inc (struct test_f_L_data): New type.
2316 (RUN_TEST_LOOP_f_L): New macro.
2317 (llrint_test_data): New variable.
2318 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2319 (llrint_tonearest_test_data): New variable.
2320 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2321 (llrint_towardzero_test_data): New variable.
2322 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2323 (llrint_downward_test_data): New variable.
2324 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2325 (llrint_upward_test_data): New variable.
2326 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2327 (llround_test_data): New variable.
2328 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2329
f137ff13
PC
23302013-05-13 Peter Collingbourne <pcc@google.com>
2331
2332 * math/atest-exp2.c (get_log2): Remove const attribute.
2333
3608cb24
JM
23342013-05-15 Joseph Myers <joseph@codesourcery.com>
2335
2336 * math/libm-test.inc (struct test_f_l_data): New type.
2337 (RUN_TEST_LOOP_f_l): New macro.
2338 (lrint_test_data): New variable.
2339 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2340 (lrint_tonearest_test_data): New variable.
2341 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2342 (lrint_towardzero_test_data): New variable.
2343 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2344 (lrint_downward_test_data): New variable.
2345 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2346 (lrint_upward_test_data): New variable.
2347 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2348 (lround_test_data): New variable.
2349 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2350
39b1f617
PC
23512013-05-15 Peter Collingbourne <pcc@google.com>
2352
1deff3dc
PC
2353 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2354 (EXTRACT_WORDS64) Use where appropriate.
2355 (INSERT_WORDS64) Likewise.
2356
791f3ba0
PC
2357 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2358 constraints with x constraints.
2359 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2360
39b1f617
PC
2361 * malloc/obstack.c (_obstack_compat): Add initializer.
2362
12fba011
EM
23632013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2364
2365 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2366 si_trapno and add si_addr_lsb to _sifields.sigfault.
2367 (si_trapno): Remove macro.
2368 (si_addr_lsb): Define new macro.
2369 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2370
d369f531
JM
23712013-05-15 Joseph Myers <joseph@codesourcery.com>
2372
b861c6c4
JM
2373 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2374 instead of TEST_f_l.
2375 (llrint_test_tonearest): Likewise.
2376 (llrint_test_towardzero): Likewise.
2377 (llrint_test_downward): Likewise.
2378 (llrint_test_upward): Likewise.
2379 (llround_test): Likewise.
2380
7abeee12
JM
2381 * math/libm-test.inc (struct test_f_i_data): Add comment.
2382 (RUN_TEST_LOOP_f_b): New macro.
2383 (RUN_TEST_LOOP_f_b_tg): Likewise.
2384 (finite_test_data): New variable.
2385 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2386 (isfinite_test_data): New variable.
2387 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2388 (isinf_test_data): New variable.
2389 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2390 (isnan_test_data): New variable.
2391 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2392 (isnormal_test_data): New variable.
2393 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2394 (issignaling_test_data): New variable.
2395 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2396 (signbit_test_data): New variable.
2397 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2398
cbe8c4d3
JM
2399 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2400 with INVALID_EXCEPTION.
2401 (acosh_test_data): Likewise.
2402 (asin_test_data): Likewise.
2403 (atanh_test_data): Likewise.
2404 (fmod_test_data): Likewise.
2405 (log_test_data): Likewise.
2406 (log10_test_data): Likewise.
2407 (log2_test_data): Likewise.
2408 (pow_test_data): Likewise.
2409 (sqrt_test_data): Likewise.
2410 (y0_test_data): Likewise.
2411 (y1_test_data): Likewise.
2412 (yn_test_data): Likewise.
2413
5575c0e5
JM
2414 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2415 function contents.
2416
d369f531
JM
2417 * math/libm-test.inc (struct test_ff_i_data): New type.
2418 (RUN_TEST_LOOP_ff_i_tg): New macro.
2419 (isgreater_test_data): New variable.
2420 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2421 (isgreaterequal_test_data): New variable.
2422 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2423 (isless_test_data): New variable.
2424 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2425 (islessequal_test_data): New variable.
2426 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2427 (islessgreater_test_data): New variable.
2428 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2429 (isunordered_test_data): New variable.
2430 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2431
781fd748
DM
24322013-05-14 David S. Miller <davem@davemloft.net>
2433
2434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2435
87aa21df
JM
24362013-05-14 Joseph Myers <joseph@codesourcery.com>
2437
5e908270
JM
2438 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2439
f71172e5
JM
2440 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2441 extra_test to int.
2442 (struct test_f_i_data): Change type of max_ulp to int.
2443
8cfa635a
JM
2444 * math/libm-test.inc (test_ffI_f1_data): New type.
2445 (RUN_TEST_LOOP_ffI_f1): New macro.
2446 (remquo_test_data): New variable.
2447 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2448
2bcb36b2
JM
2449 * setjmp/tst-setjmp-fp.c: New file.
2450 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2451 (link-libm): New variable.
2452 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2453
acbd839a
JM
2454 * math/libm-test.inc (struct test_f_i_data): New type.
2455 (RUN_TEST_LOOP_f_i): New macro.
2456 (RUN_TEST_LOOP_f_i_tg): Likewise.
2457 (fpclassify_test_data): New variable.
2458 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2459 (ilogb_test_data): New variable.
2460 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2461
e414d745
JM
2462 * math/libm-test.inc (scalbln_test): Correct function name in END
2463 call.
2464
d9c2a0fd
JM
2465 * math/libm-test.inc (struct test_f_f1_data): Add comment.
2466 (RUN_TEST_LOOP_fI_f1): New macro.
2467 (frexp_test_data): New variable.
2468 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2469
9dc9095d
JM
2470 * math/libm-test.inc (struct test_fF_f1_data): New type.
2471 (RUN_TEST_LOOP_fF_f1): New macro.
2472 (modf_test_data): New variable.
2473 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2474
87aa21df
JM
2475 * math/libm-test.inc (struct test_f_f1_data): New type.
2476 (RUN_TEST_LOOP_f_f1): New macro.
2477 (gamma_test_data): New variable.
2478 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2479 (lgamma_test_data): New variable.
2480 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2481
141af660
CD
24822013-05-13 Carlos O'Donell <carlos@redhat.com>
2483
2484 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2485 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2486 (main): Comment "tls" pseudo-hwcap.
2487
6d33265c
JM
24882013-05-13 Joseph Myers <joseph@codesourcery.com>
2489
68fc074c
JM
2490 * math/libm-test.inc (struct test_fl_f_data): New type.
2491 (RUN_TEST_LOOP_fl_f): New variable.
2492 (scalbln_test_data): New variable.
2493 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2494
243216e1
JM
2495 * math/libm-test.inc (struct test_fi_f_data): New type.
2496 (RUN_TEST_LOOP_fi_f): New macro.
2497 (ldexp_test_data): New variable.
2498 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2499 (scalbn_test_data): New variable.
2500 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2501
6a1992e2
JM
2502 * math/libm-test.inc (struct test_c_f_data): New type.
2503 (RUN_TEST_LOOP_c_f): New macro.
2504 (cabs_test_data): New variable.
2505 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2506 (carg_test_data): New variable.
2507 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2508 (cimag_test_data): New variable.
2509 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2510 (creal_test_data): New variable.
2511 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2512
0e400df5
JM
2513 * math/libm-test.inc (struct test_if_f_data): New type.
2514 (RUN_TEST_LOOP_if_f): New macro.
2515 (jn_test_data): New variable.
2516 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2517 (yn_test_data): New variable.
2518 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2519
6d33265c
JM
2520 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2521
f98ece5f
AZ
25222013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2523
2524 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2525 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2526
0f7d347b
SP
25272013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2528
43fe811b
SP
2529 * benchtests/Makefile (CPPFLAGS-nonlib): Add
2530 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2531 (bench-deps): Add bench-timing.h.
2532 * benchtests-bench-skeleton.c: Include bench-timing.h.
2533 (main): Use TIMING_* macros instead of clock_gettime.
2534 * benchtests/bench-timing.h: New file.
2535
0f7d347b
SP
2536 [BZ #14582]
2537 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2538 Renamed from _LIB_VERSION.
2539 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2540
601a3a5f
JM
25412013-05-12 Joseph Myers <joseph@codesourcery.com>
2542
4f184d30
JM
2543 * math/libm-test.inc (struct test_fff_f_data): New type.
2544 (RUN_TEST_LOOP_fff_f): New macro.
2545 (fma_test_data): New variable.
2546 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2547 (fma_towardzero_test_data): New variable.
2548 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2549 (fma_downward_test_data): New variable.
2550 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2551 (fma_upward_test_data): New variable.
2552 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2553
08198877
JM
2554 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2555 (struct test_c_c_data): New type.
2556 (RUN_TEST_LOOP_c_c): New macro.
2557 (cacos_test_data): New variable.
2558 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2559 (cacosh_test_data): New variable.
2560 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2561 (casin_test_data): New variable.
2562 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2563 (casinh_test_data): New variable.
2564 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2565 (catan_test_data): New variable.
2566 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2567 (catanh_test_data): New variable.
2568 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2569 (ccos_test_data): New variable.
2570 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2571 (ccosh_test_data): New variable.
2572 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2573 (cexp_test_data): New variable.
2574 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2575 (clog_test_data): New variable.
2576 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2577 (clog10_test_data): New variable.
2578 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2579 (conj_test_data): New variable.
2580 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2581 (cproj_test_data): New variable.
2582 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2583 (csin_test_data): New variable.
2584 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2585 (csinh_test_data): New variable.
2586 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2587 (csqrt_test_data): New variable.
2588 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2589 (ctan_test_data): New variable.
2590 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2591 (ctan_tonearest_test_data): New variable.
2592 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2593 (ctan_towardzero_test_data): New variable.
2594 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2595 (ctan_downward_test_data): New variable.
2596 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2597 (ctan_upward_test_data): New variable.
2598 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2599 (ctanh_test_data): New variable.
2600 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2601 (ctanh_tonearest_test_data): New variable.
2602 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2603 (ctanh_towardzero_test_data): New variable.
2604 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2605 (ctanh_downward_test_data): New variable.
2606 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2607 (ctanh_upward_test_data): New variable.
2608 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2609 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2610 of BUILD_COMPLEX.
2611
601a3a5f
JM
2612 * math/libm-test.inc (struct test_ff_f_data): New type.
2613 (struct test_ff_f_data_nexttoward): Likewise.
2614 (RUN_TEST_LOOP_2_f): New macro.
2615 (RUN_TEST_LOOP_ff_f): Likewise.
2616 (atan2_test_data): New variable.
2617 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2618 (copysign_test_data): New variable.
2619 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2620 (fdim_test_data): New variable.
2621 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2622 (fmax_test_data): New variable.
2623 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2624 (fmin_test_data): New variable.
2625 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2626 (fmod_test_data): New variable.
2627 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2628 (hypot_test_data): New variable.
2629 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2630 (nextafter_test_data): New variable.
2631 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2632 (nexttoward_test_data): New variable.
2633 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2634 (pow_test_data): New variable.
2635 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2636 (pow_tonearest_test_data): New variable.
2637 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2638 (pow_towardzero_test_data): New variable.
2639 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2640 (pow_downward_test_data): New variable.
2641 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2642 (pow_upward_test_data): New variable.
2643 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2644 (remainder_test_data): New variable.
2645 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2646 (scalb_test_data): New variable.
2647 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2648 * sysdeps/i386/fpu/libm-test-ulps: Update.
2649
74c57478
JM
26502013-05-11 Joseph Myers <joseph@codesourcery.com>
2651
8329e4da
JM
2652 * math/libm-test.inc (fma_test): Use max_value instead of local
2653 variable fltmax.
2654 (nextafter_test): Likewise.
2655
74c57478
JM
2656 * math/libm-test.inc (acos_towardzero_test_data): New variable.
2657 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2658 (acos_downward_test_data): New variable.
2659 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2660 (acos_upward_test_data): New variable.
2661 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2662 (acosh_test_data): New variable.
2663 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2664 (asin_test_data): New variable.
2665 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2666 (asin_tonearest_test_data): New variable.
2667 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2668 (asin_towardzero_test_data): New variable.
2669 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2670 (asin_downward_test_data): New variable.
2671 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2672 (asin_upward_test_data): New variable.
2673 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2674 (asinh_test_data): New variable.
2675 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2676 (atan_test_data): New variable.
2677 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2678 (atanh_test_data): New variable.
2679 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2680 (cbrt_test_data): New variable.
2681 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2682 (ceil_test_data): New variable.
2683 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2684 (cos_test_data): New variable.
2685 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2686 (cos_tonearest_test_data): New variable.
2687 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2688 (cos_towardzero_test_data): New variable.
2689 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2690 (cos_downward_test_data): New variable.
2691 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2692 (cos_upward_test_data): New variable.
2693 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2694 (cosh_test_data): New variable.
2695 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2696 (cosh_tonearest_test_data): New variable.
2697 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2698 (cosh_towardzero_test_data): New variable.
2699 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2700 (cosh_downward_test_data): New variable.
2701 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2702 (cosh_upward_test_data): New variable.
2703 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2704 (erf_test_data): New variable.
2705 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2706 (erfc_test_data): New variable.
2707 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2708 (exp_test_data): New variable.
2709 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2710 (exp_tonearest_test_data): New variable.
2711 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2712 (exp_towardzero_test_data): New variable.
2713 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2714 (exp_downward_test_data): New variable.
2715 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2716 (exp_upward_test_data): New variable.
2717 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2718 (exp10_test_data): New variable.
2719 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2720 (exp2_test_data): New variable.
2721 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2722 (expm1_test_data): New variable.
2723 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2724 (fabs_test_data): New variable.
2725 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2726 (floor_test_data): New variable.
2727 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2728 (j0_test_data): New variable.
2729 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2730 (j1_test_data): New variable.
2731 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
2732 (log_test_data): New variable.
2733 (log_test): Run tests with RUN_TEST_LOOP_f_f.
2734 (log10_test_data): New variable.
2735 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
2736 (log1p_test_data): New variable.
2737 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
2738 (log2_test_data): New variable.
2739 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
2740 (logb_test_data): New variable.
2741 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
2742 (logb_downward_test_data): New variable.
2743 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2744 (nearbyint_test_data): New variable.
2745 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
2746 (rint_test_data): New variable.
2747 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
2748 (rint_tonearest_test_data): New variable.
2749 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2750 (rint_towardzero_test_data): New variable.
2751 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2752 (rint_downward_test_data): New variable.
2753 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2754 (rint_upward_test_data): New variable.
2755 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2756 (round_test_data): New variable.
2757 (round_test): Run tests with RUN_TEST_LOOP_f_f.
2758 (sin_test_data): New variable.
2759 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
2760 (sin_tonearest_test_data): New variable.
2761 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2762 (sin_towardzero_test_data): New variable.
2763 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2764 (sin_downward_test_data): New variable.
2765 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2766 (sin_upward_test_data): New variable.
2767 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2768 (sinh_test_data): New variable.
2769 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
2770 (sinh_tonearest_test_data): New variable.
2771 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2772 (sinh_towardzero_test_data): New variable.
2773 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2774 (sinh_downward_test_data): New variable.
2775 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2776 (sinh_upward_test_data): New variable.
2777 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2778 (sqrt_test_data): New variable.
2779 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
2780 (tan_test_data): New variable.
2781 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
2782 (tan_tonearest_test_data): New variable.
2783 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2784 (tan_towardzero_test_data): New variable.
2785 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2786 (tan_downward_test_data): New variable.
2787 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2788 (tan_upward_test_data): New variable.
2789 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2790 (tanh_test_data): New variable.
2791 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
2792 (tgamma_test_data): New variable.
2793 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
2794 (trunc_test_data): New variable.
2795 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
2796 (y0_test_data): New variable.
2797 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
2798 (y1_test_data): New variable.
2799 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
2800 (significand_test_data): New variable.
2801 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
2802
7187d844
CG
28032013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
2804
2805 [BZ #12387]
2806 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
2807
f63fae73
PT
28082013-05-10 Pino Toscano <toscano.pino@tiscali.it>
2809
2810 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
2811
8a67a4b3
AJ
28122013-05-10 Andreas Jaeger <aj@suse.de>
2813
2814 [BZ #15448]
2815 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
2816 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
2817
51df539d
JM
28182013-05-10 Joseph Myers <joseph@codesourcery.com>
2819
2820 * math/gen-libm-test.pl (adjust_arg): New function.
2821 (special_functions): Handle generating output in both functions
2822 and arrays.
2823 (parse_args): Likewise.
2824 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
2825 $in_func argument to parse_args.
2826 * math/libm-test.inc (struct test_f_f_data): New type.
2827 (IF_ROUND_INIT_): New macro.
2828 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2829 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2830 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2831 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2832 (ROUND_RESTORE_): Likewise.
2833 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2834 (ROUND_RESTORE_FE_TONEAREST): Likewise.
2835 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2836 (ROUND_RESTORE_FE_UPWARD): Likewise.
2837 (RUN_TEST_LOOP_f_f): New macro.
2838 (acos_test_data): New variable.
2839 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
2840 (acos_tonearest_test_data): New variable.
2841 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2842
5c637fe5
SP
28432013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2844
2845 * benchtests/bench-skeleton.c (startup): Fix coding style.
2846
ab2b9461
JM
28472013-05-10 Joseph Myers <joseph@codesourcery.com>
2848
2849 [BZ #6809]
2850 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
2851 negative infinity argument.
2852 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
2853 negative infinity argument.
2854 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
2855 negative infinity argument.
2856 * math/libm-test.inc (tgamma_test): Expect errno to be set for
2857 domain errors.
2858
4c0fe6fe
FW
28592013-05-10 Florian Weimer <fweimer@redhat.com>
2860
2861 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
2862 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
2863 * iconv/iconv_prog.c (main): Likewise.
2864 * locale/programs/charmap-dir.c (charmap_readdir)
2865 (fopen_uncompressed): Likewise.
2866 * locale/programs/locfile.c (siblings_uncached)
2867 (write_locale_data): Use lstat64 instead of lstat.
2868 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
2869 stat.
2870
a3375d29
AJ
28712013-05-10 Andreas Jaeger <aj@suse.de>
2872
2873 [BZ #15395]
2874 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
2875 localization.
2876 Include <locale.h>.
2877
36129722
CD
28782013-05-09 Carlos O'Donell <carlos@redhat.com>
2879
2880 * elf/dl-close.c (_dl_close_worker): Add comments.
2881
faa7f811
JM
28822013-05-09 Joseph Myers <joseph@codesourcery.com>
2883
ed41ffef
JM
2884 [BZ #15359]
2885 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
2886 high part of pi/2.
2887 (__ieee754_rem_pio2l): Update comments.
2888
d0213cd0
JM
2889 [BZ #15429]
2890 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
2891 high part of pi/2.
2892 (__ieee754_rem_pio2l): Update comments.
2893
0d3e777a
JM
2894 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
2895 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
2896
24f56066
JM
2897 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
2898 M_PI_4l.
2899
faa7f811
JM
2900 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
2901 (M_PI_34_LOG10El): Likewise.
2902 (M_PI2_LOG10El): Likewise.
2903 (M_PI4_LOG10El): Likewise.
2904 (M_PI_LOG10El): Likewise.
2905
e9a5e0fd
AZ
29062013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2907
2908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2909
d8cd06db
JM
29102013-05-08 Joseph Myers <joseph@codesourcery.com>
2911
a0d9f9d7
JM
2912 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
2913 (MINUS_ZERO_INIT): Likewise.
2914 (PLUS_INFTY_INIT): Likewise.
2915 (MINUS_INFTY_INIT): Likewise.
2916 (QNAN_VALUE_INIT): Likewise.
2917 (MAX_VALUE_INIT): Likewise.
2918 (MIN_VALUE_INIT): Likewise.
2919 (MIN_SUBNORM_VALUE_INIT): Likewise.
2920 (plus_zero): Initialize with PLUS_ZERO_INIT.
2921 (minus_zero): Initialize with MINUS_ZERO_INIT.
2922 (plus_infty): Initialize with PLUS_INFTY_INIT.
2923 (minus_infty): Initialize with MINUS_INFTY_INIT.
2924 (qnan_value): Initialize with QNAN_VALUE_INIT.
2925 (max_value): Initialize with MAX_VALUE_INIT.
2926 (min_value): Initialize with MIN_VALUE_INIT.
2927 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
2928
ae08db3b
JM
2929 * math/libm-test.inc (RUN_TEST_if_f): New macro.
2930 (jn_test): Use TEST_if_f instead of TEST_ff_f.
2931 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
2932 (yn_test): Use TEST_if_f instead of TEST_ff_f.
2933
f44bf14a
JM
2934 * math/libm-test.inc (RUN_TEST_f_f): New macro.
2935 (RUN_TEST_2_f): Likewise.
2936 (RUN_TEST_ff_f): Likewise.
2937 (RUN_TEST_fi_f): Likewise.
2938 (RUN_TEST_fl_f): Likewise.
2939 (RUN_TEST_fff_f): Likewise.
2940 (RUN_TEST_c_f): Likewise.
2941 (RUN_TEST_f_f1): Likewise.
2942 (RUN_TEST_fF_f1): Likewise.
2943 (RUN_TEST_fI_f1): Likewise.
2944 (RUN_TEST_ffI_f1): Likewise.
2945 (RUN_TEST_c_c): Likewise.
2946 (RUN_TEST_cc_c): Likewise.
2947 (RUN_TEST_f_i): Likewise.
2948 (RUN_TEST_f_i_tg): Likewise.
2949 (RUN_TEST_ff_i_tg): Likewise.
2950 (RUN_TEST_f_b): Likewise.
2951 (RUN_TEST_f_b_tg): Likewise.
2952 (RUN_TEST_f_l): Likewise.
2953 (RUN_TEST_f_L): Likewise.
2954 (RUN_TEST_sincos): Likewise.
2955 * math/gen-libm-test.pl (new_test): Take new argument to indicate
2956 whether to show exceptions. Do not include ");\n" in return
2957 value.
2958 (special_functions): Output call to RUN_TEST_sincos instead of
2959 check_float calls. Update calls to new_test.
2960 (parse_args): Output call to single RUN_TEST_* macro instead of
2961 check_* calls and other assignments. Update calls to new_test.
2962
d8cd06db
JM
2963 [BZ #2546]
2964 [BZ #2560]
2965 [BZ #5159]
2966 [BZ #15426]
2967 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
2968 input to result for tgamma overflow.
2969 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
2970 (gamma_coeff): New variable.
2971 (NCOEFF): New macro.
2972 (gamma_positive): New function.
2973 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
2974 underflow here. Use gamma_positive instead of exp (lgamma) for
2975 other arguments.
2976 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
2977 (gamma_coeff): New variable.
2978 (NCOEFF): New macro.
2979 (gammaf_positive): New function.
2980 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
2981 underflow here. Use gamma_positive instead of exp (lgamma) for
2982 other arguments.
2983 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
2984 (gamma_coeff): New variable.
2985 (NCOEFF): New macro.
2986 (gammal_positive): New function.
2987 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
2988 underflow here. Use gamma_positive instead of exp (lgamma) for
2989 other arguments.
2990 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
2991 (gamma_coeff): New variable.
2992 (NCOEFF): New macro.
2993 (gammal_positive): New function.
2994 (__ieee754_gammal_r): Handle positive infinity, overflow and
2995 underflow here. Handle NaN the same as positive infinity. Remove
2996 check x < 0xffffffff for negative integers. Use gamma_positive
2997 instead of exp (lgamma) for other arguments.
2998 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
2999 (gamma_coeff): New variable.
3000 (NCOEFF): New macro.
3001 (gammal_positive): New function.
3002 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3003 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3004 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3005 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3006 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3007 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3008 * sysdeps/generic/math_private.h (__gamma_productf): New
3009 prototype.
3010 (__gamma_product): Likewise.
3011 (__gamma_productl): Likewise.
3012 * math/Makefile (libm-calls): Add gamma_product.
3013 * math/libm-test.inc (tgamma_test): Add more tests.
3014 * sysdeps/i386/fpu/libm-test-ulps: Update.
3015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3016
bb7cf681
OB
30172013-05-08 Ondřej Bílka <neleai@seznam.cz>
3018
3019 * benchtests/bench-skeleton.c (main): Preheat CPU.
3020
ba853947
AJ
30212013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3022
3023 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3024
8347c74c
RM
30252013-05-07 Roland McGrath <roland@hack.frob.com>
3026
3027 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3028 and _dl_skip_args_internal.
3029
e8dd4791
CD
30302013-05-07 Carlos O'Donell <carlos@redhat.com>
3031
3032 * manual/message.texi (Message Translation): Talk about users.
3033 Message to key mapping impacts design.
3034
c7405830
RM
30352013-05-06 Roland McGrath <roland@hack.frob.com>
3036
a9173057
RM
3037 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3038
976e2f03
RM
3039 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3040
9723ffc5
RM
3041 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3042 * sysdeps/wordsize-64/glob64.c: ... here.
3043
962e6658
RM
3044 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3045 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3046 New macros.
3047
ee586a6d
RM
3048 * debug/getlogin_r_chk.c: Moved to ...
3049 * login/getlogin_r_chk.c: ... here.
3050 * debug/Makefile (routines): Move getlogin_r_chk to ...
3051 * login/Makefile (routines): ... here.
3052 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3053 * login/Versions (libc: GLIBC_2.4): ... here.
3054
355f9165
RM
3055 * io/poll.c (__poll): Renamed from poll.
3056 Add libc_hidden_def.
3057 (poll): Define as weak alias.
3058
bd9ffde6
RM
3059 * debug/ptsname_r_chk.c: Moved to ...
3060 * login/ptsname_r_chk.c: ... here.
3061 * debug/Makefile (routines): Move ptsname_r_chk to ...
3062 * login/Makefile (routines): ... here.
3063 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3064 * login/Versions (libc: GLIBC_2.4): ... here.
3065
8fb16a04
RM
3066 * posix/getlogin.c: Moved to ...
3067 * login/getlogin.c: ... here.
3068 * posix/getlogin_r.c: Moved to ...
3069 * login/getlogin_r.c: ... here.
3070 * posix/getlogin_r.c: Moved to ...
3071 * login/getlogin_r.c: ... here.
3072 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3073 * login/Makefile (routines): ... here.
3074 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3075 * login/Versions (libc: GLIBC_2.0): ... here.
3076
b99b892f
RM
3077 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3078 (setrlimit): Define as weak alias.
3079
c7405830
RM
3080 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3081 Call __ names for open, ftruncate, and close.
3082 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3083 (truncate): Define as weak alias.
3084
5bf96de5
JM
30852013-05-06 Joseph Myers <joseph@codesourcery.com>
3086
9ea3513c
JM
3087 * math/gen-libm-test.pl (parse_args): Initialize x before each
3088 test of frexp, modf and remquo.
3089
5bf96de5
JM
3090 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3091 test signgam value.
3092
16e616a7
AZ
30932013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3094
3095 [BZ #15418]
3096 [BZ #15419]
3097 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3098 internal tests.
3099 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3100
d5e82754
RM
31012013-05-06 Roland McGrath <roland@hack.frob.com>
3102
3103 * elf/dl-writev.h: New file.
3104 * elf/dl-misc.c: Include it.
3105 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3106 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3107
a7548d41
JM
31082013-05-04 Joseph Myers <joseph@codesourcery.com>
3109
b7dab1e4
JM
3110 * math/libm-test.inc (noXFails): Remove variable.
3111 (noXPasses): Likewise.
3112 (BUILD_COMPLEX_INT): Remove macro.
3113 (print_screen): Remove xfail argument.
3114 (print_screen_max_error): Likewise.
3115 (update_stats): Likewise.
3116 (print_max_error): Likewise. Update calls to other affected
3117 functions.
3118 (print_complex_max_error): Likewise.
3119 (test_single_exception): Update calls to print_screen.
3120 (test_single_errno): Likewise.
3121 (check_float_internal): Remove xfail argument. Update calls to
3122 other affected functions.
3123 (check_float): Likewise.
3124 (check_complex): Likewise.
3125 (check_int): Likewise.
3126 (check_long): Likewise.
3127 (check_bool): Likewise.
3128 (check_longlong): Likewise.
3129 (main): Don't print noXFails and noXPasses.
3130 * math/gen-libm-test.pl (top level): Don't mention expected
3131 failure handling in comment.
3132 (new_test): Don't handle expected failures.
3133 (parse_args): Don't mention expected failure handling in comment.
3134 (generate_testfile): Don't handle expected failures.
3135 (parse_ulps): Likewise.
3136 (print_ulps_file): Likewise.
3137 (get_failure): Remove function.
3138 (output_test): Don't handle expected failures.
3139 * make/README.libm-test: Don't mention expected failure handling.
3140
a7548d41
JM
3141 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3142 (minus_zero): Likewise.
3143 (plus_infty): Likewise.
3144 (minus_infty): Likewise.
3145 (qnan_value): Likewise.
3146 (max_value): Likewise.
3147 (min_value): Likewise.
3148 (min_subnorm_value): Likewise.
3149 (initialize): Do not initialize those variables dynamically.
3150
60bfd54c
RM
31512013-05-03 Roland McGrath <roland@hack.frob.com>
3152
cc0e6ed8
RM
3153 * io/open.c (__open_2): Moved to ...
3154 * io/open_2.c: ... this new file.
3155 * io/open64.c (__open64_2): Moved to ...
3156 * io/open64_2.c: ... this new file.
3157 * io/openat.c (__openat_2): Moved to ...
3158 * io/openat_2.c: ... this new file.
3159 * io/openat64.c (__openat64_2): Moved to ...
3160 * io/openat64_2.c: ... this new file.
3161 * io/Makefile (routines): Add them.
3162 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3163 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3164 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3165 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3166 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3167 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3168 (__openat64): Add hidden_ver.
3169 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3170 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3171
60bfd54c
RM
3172 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3173 Separately conditionalize setting of GLRO(dl_sysinfo) so
3174 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3175 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3176
83e7640f
AZ
31772013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3178
3179 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3180 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3181 definition.
3182 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3183 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3184 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3185 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3186 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3187
d5dc2af3
JM
31882013-05-03 Joseph Myers <joseph@codesourcery.com>
3189
c31a5b1e
JM
3190 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3191 test signgam value.
3192
d5dc2af3
JM
3193 * math/libm-test.inc (hypot_test): Do not use
3194 IGNORE_ZERO_INF_SIGN.
3195
164fd39d
AJ
31962013-05-03 Andreas Jaeger <aj@suse.de>
3197
3198 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3199 Linux 3.9.
3200 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3201 (PF_MAX): Adjust for VSOCK change.
3202
8237f48c
AZ
32032013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3204
3205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3206
9df02941
CD
32072013-05-02 Carlos O'Donell <carlos@redhat.com>
3208
3209 [BZ #15264]
3210 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3211 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3212 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3213
d422395e
DM
32142013-05-02 David S. Miller <davem@davemloft.net>
3215
3216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3217
a07c5731
OB
32182013-05-01 Ondřej Bílka <neleai@seznam.cz>
3219
3220 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3221
1324e37f
RM
32222013-05-01 Roland McGrath <roland@hack.frob.com>
3223
3224 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3225
0695940b
RS
32262013-05-01 Richard Smith <richard@metafoo.co.uk>
3227
bb5f27ad 3228 [BZ #14952]
0695940b
RS
3229 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3230 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3231 Use __attribute__ ((__gnu_inline__)).
3232 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3233 Don't use __attribute__ ((__gnu_inline__)).
3234
10de07f5
JM
32352013-05-01 Joseph Myers <joseph@codesourcery.com>
3236
3237 [BZ #15423]
3238 * math/s_catan.c (__catan): Handle small real or imaginary part of
3239 input specially to avoid spurious underflow.
3240 * math/s_catanf.c (__catanf): Likewise.
3241 * math/s_catanh.c (__catanh): Likewise.
3242 * math/s_catanhf.c (__catanhf): Likewise.
3243 * math/s_catanhl.c (__catanhl): Likewise.
3244 * math/s_catanl.c (__catanl): Likewise.
3245 * math/libm-test.inc (catan_test): Add more tests.
3246 (catanh_test): Likewise.
3247 * sysdeps/i386/fpu/libm-test-ulps: Update.
3248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3249
cb4d5414
AZ
32502013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3251
3252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3253
caf84319
JM
32542013-04-30 Joseph Myers <joseph@codesourcery.com>
3255
3256 [BZ #15416]
3257 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3258 accurately for denominator in atan2.
3259 * math/s_catanf.c (__catanf): Likewise.
3260 * math/s_catanh.c (__catanh): Likewise.
3261 * math/s_catanhf.c (__catanhf): Likewise.
3262 * math/s_catanhl.c (__catanhl): Likewise.
3263 * math/s_catanl.c (__catanl): Likewise.
3264 * math/libm-test.inc (catan_test): Add more tests.
3265 (catanh_test): Likewise.
3266 * sysdeps/i386/fpu/libm-test-ulps: Update.
3267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3268
d569c6ee
SP
32692013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3270
6dbe713d
SP
3271 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3272
f0ee064b
SP
3273 * benchtests/Makefile (bench): Remove slow benchmarks.
3274 * benchtests/atan-inputs: Add slow benchmark inputs.
3275 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3276 (BENCH_FUNC): Accept variant offset.
3277 (VARIANT): Define.
3278 * benchtests/bench-skeleton.c (main): Run benchmark for each
3279 variant.
3280 * benchtests/cos-inputs: Add slow benchmark inputs.
3281 * benchtests/exp-inputs: Likewise.
3282 * benchtests/pow-inputs: Likewise.
3283 * benchtests/sin-inputs: Likewise.
3284 * benchtests/slowatan-inputs: Remove.
3285 * benchtests/slowatan.c: Remove.
3286 * benchtests/slowcos-inputs: Remove.
3287 * benchtests/slowcos.c: Remove.
3288 * benchtests/slowexp-inputs: Remove.
3289 * benchtests/slowexp.c: Remove.
3290 * benchtests/slowpow-inputs: Remove.
3291 * benchtests/slowpow.c: Remove.
3292 * benchtests/slowsin-inputs: Remove.
3293 * benchtests/slowsin.c: Remove.
3294 * benchtests/slowtan-inputs: Remove.
3295 * benchtests/slowtan.c: Remove.
3296 * benchtests/tan-inputs: Add slow benchmark inputs.
3297 * scripts/bench.pl: Parse comments and directives.
3298
d569c6ee
SP
3299 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3300 in CPPFLAGS.
3301 ($(objpfx)bench-%.c): Remove *-ITER.
3302 * benchtests/bench-modf.c: Remove definition of ITER.
3303 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3304 (main): Loop for DURATION seconds instead of fixed number of
3305 iterations.
3306 * scripts/bench.pl: Don't expect iterations in parameters.
3307
a6a242fe
RM
33082013-04-29 Roland McGrath <roland@hack.frob.com>
3309
3310 * io/fchdir.c (__fchdir): Renamed from fchdir.
3311 (fchdir): Define as weak alias.
3312
f2da7793
JM
33132013-04-29 Joseph Myers <joseph@codesourcery.com>
3314
3315 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3316 (ERRNO_EDOM): Likewise.
3317 (ERRNO_ERANGE): Likewise.
3318 (noErrnoTests): New variable.
3319 (init_max_error): Set errno to 0.
3320 (test_single_errno): New function.
3321 (test_errno): Likewise.
3322 (check_float_internal): Call test_errno. Set errno to 0.
3323 (check_complex): Refer to errno tests in comment.
3324 (check_int): Call test_errno. Set errno to 0.
3325 (check_long): Likewise.
3326 (check_bool): Likewise.
3327 (check_longlong): Likewise.
3328 (cos_test): Use ERRNO_* flags for errno tests instead of
3329 check_int.
3330 (expm1_test): Likewise.
3331 (fmod_test): Likewise.
3332 (ilogb_test): Likewise.
3333 (lgamma_test): Likewise.
3334 (pow_test): Likewise.
3335 (remainder_test): Likewise.
3336 (sin_test): Likewise.
3337 (tan_test): Likewise.
3338 (yn_test): Likewise.
3339 (initialize): Set errno to 0.
3340 (main): Print number of errno tests.
3341 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3342
b1a36ceb
AJ
33432013-04-29 Andreas Jaeger <aj@suse.de>
3344
c3ed8088
AJ
3345 [BZ #15084]
3346 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3347 and RES_USEVC.
3348
f1a24198
AJ
3349 [BZ #15085]
3350 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3351 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3352 unimplemented.
3353
9ce3b2cb
AJ
3354 [BZ #15380]
3355 * stdlib/random.c (__initstate): Return NULL if
3356 __initstate fails.
3357
f1a24198 3358 [BZ #15086]
b1a36ceb
AJ
3359 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3360 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3361 RES_SNGLKUPREOP.
3362
7e7b6f36
AZ
33632013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3364
3365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3366
4d14f449
JM
33672013-04-29 Joseph Myers <joseph@codesourcery.com>
3368
3369 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3370 of individual tests.
3371 (casin_test): Likewise.
3372 (casinh_test): Likewise.
3373
5b4217d7
JM
33742013-04-27 Joseph Myers <joseph@codesourcery.com>
3375
3376 [BZ #15409]
3377 * math/s_catan.c (__catan): Handle arguments with large real or
3378 imaginary part separately without squaring.
3379 * math/s_catanf.c (__catanf): Likewise.
3380 * math/s_catanh.c (__catanh): Likewise.
3381 * math/s_catanhf.c (__catanhf): Likewise.
3382 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3383 and redefine.
3384 (__catanhl): Handle arguments with large real or imaginary part
3385 separately without squaring.
3386 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3387 and redefine.
3388 (__catanl): Handle arguments with large real or imaginary part
3389 separately without squaring.
3390 * math/libm-test.inc (catan_test): Add more tests.
3391 (catanh_test): Likewise.
3392 * sysdeps/i386/fpu/libm-test-ulps: Update.
3393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3394
4220c3ef
AJ
33952013-04-27 Andreas Jaeger <aj@suse.de>
3396
3397 [BZ #15007]
3398 * stdlib/stdlib.h: Update guards for qecvt.
3399 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3400 <stdlib.h>.
3401
4721b2d1
AM
34022013-04-27 Allan McRae <allan@archlinux.org>
3403
3404 * sysdeps/i386/fpu/libm-test-ulps: Update.
3405
f0302940
JM
34062013-04-26 Joseph Myers <joseph@codesourcery.com>
3407
9457fd95
JM
3408 [BZ #15406]
3409 * math/s_catan.c: Include <float.h>.
3410 (__catan): Ensure underflow exception occurs for underflowed
3411 result.
3412 * math/s_catanf.c: Include <float.h>.
3413 (__catanf): Ensure underflow exception occurs for underflowed
3414 result.
3415 * math/s_catanh.c: Include <float.h>.
3416 (__catanh): Ensure underflow exception occurs for underflowed
3417 result.
3418 * math/s_catanhf.c: Include <float.h>.
3419 (__catanhf): Ensure underflow exception occurs for underflowed
3420 result.
3421 * math/s_catanhl.c: Include <float.h>.
3422 (__catanhl): Ensure underflow exception occurs for underflowed
3423 result.
3424 * math/s_catanl.c: Include <float.h>.
3425 (__catanl): Ensure underflow exception occurs for underflowed
3426 result.
3427 * math/libm-test.inc (catan_test): Add more tests.
3428 (catanh_test): Likewise.
3429
f0302940
JM
3430 [BZ #15405]
3431 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3432 underflowed result.
3433 * math/s_ccoshf.c (__ccoshf): Likewise.
3434 * math/s_ccoshl.c (__ccoshl): Likewise.
3435 * math/s_csin.c (__csin): Likewise.
3436 * math/s_csinf.c (__csinf): Likewise.
3437 * math/s_csinh.c (__csinh): Likewise.
3438 * math/s_csinhf.c (__csinhf): Likewise.
3439 * math/s_csinhl.c (__csinhl): Likewise.
3440 * math/s_csinl.c (__csinl): Likewise.
3441 * math/libm-test.inc (ccos_test): Add more tests.
3442 (ccosh_test): Likewise.
3443 (csin_test): Likewise.
3444 (csinh_test): Likewise.
3445
aa630f59
AZ
34462013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3447
3448 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3449 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3450 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3451 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3452 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3453 powerpc/power5+/fpu folders.
3454 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3455
3456
1b835983
MT
34572013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3458
3459 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3460
73709b26
JM
34612013-04-25 Joseph Myers <joseph@codesourcery.com>
3462
3463 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3464 additions to variable.
3465 [$(config-machine) = x86_64] (modules-names): Likewise.
3466 ($(objpfx)tst-audit3): Remove dependency.
3467 ($(objpfx)tst-audit3.out): Likewise.
3468 ($(objpfx)tst-audit4): Likewise.
3469 ($(objpfx)tst-audit4.out): Likewise.
3470 ($(objpfx)tst-audit5): Likewise.
3471 ($(objpfx)tst-audit5.out): Likewise.
3472 ($(objpfx)tst-audit6): Likewise.
3473 ($(objpfx)tst-audit6.out): Likewise.
3474 ($(objpfx)tst-audit7): Likewise.
3475 ($(objpfx)tst-audit7.out): Likewise.
3476 (tst-audit3-ENV): Remove variable.
3477 (tst-audit4-ENV): Likewise.
3478 (tst-audit5-ENV): Likewise.
3479 (tst-audit6-ENV): Likewise.
3480 (tst-audit7-ENV): Likewise.
3481 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3482 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3483 addition to variable.
3484 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3485 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3486 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3487 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3488 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3489 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3490 tst-audit3, tst-audit4 and tst-audit5.
3491 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3492 tst-audit6 and tst-audit7.
3493 [$(subdir) = elf] (modules-names): Add audit modules for those
3494 tests.
3495 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3496 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3497 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3498 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3499 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3500 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3501 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3502 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3503 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3504 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3505 [$(subdir) = elf] (tst-audit3-ENV): New variable.
3506 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3507 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3508 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3509 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3510 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3511 Likewise.
3512 [$(subdir) = elf && $(config-cflags-avx) = yes]
3513 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3514 [$(subdir) = elf && $(config-cflags-avx) = yes]
3515 (CFLAGS-tst-auditmod4a.c): Likewise.
3516 [$(subdir) = elf && $(config-cflags-avx) = yes]
3517 (CFLAGS-tst-auditmod4b.c): Likewise.
3518 [$(subdir) = elf && $(config-cflags-avx) = yes]
3519 (CFLAGS-tst-auditmod6b.c): Likewise.
3520 [$(subdir) = elf && $(config-cflags-avx) = yes]
3521 (CFLAGS-tst-auditmod6c.c): Likewise.
3522 [$(subdir) = elf && $(config-cflags-avx) = yes]
3523 (CFLAGS-tst-auditmod7b.c): Likewise.
3524 * elf/tst-audit3.c: Move to ...
3525 * sysdeps/x86_64/tst-audit3.c: ... here.
3526 * elf/tst-audit4.c: Move to ...
3527 * sysdeps/x86_64/tst-audit4.c: ... here.
3528 * elf/tst-audit5.c: Move to ...
3529 * sysdeps/x86_64/tst-audit5.c: ... here.
3530 * elf/tst-audit6.c: Move to ...
3531 * sysdeps/x86_64/tst-audit6.c: ... here.
3532 * elf/tst-audit7.c: Move to ...
3533 * sysdeps/x86_64/tst-audit7.c: ... here.
3534 * elf/tst-auditmod3a.c: Move to ...
3535 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3536 * elf/tst-auditmod3b.c: Move to ...
3537 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3538 * elf/tst-auditmod4a.c: Move to ...
3539 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3540 * elf/tst-auditmod4b.c: Move to ...
3541 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3542 * elf/tst-auditmod5a.c: Move to ...
3543 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3544 * elf/tst-auditmod5b.c: Move to ...
3545 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3546 * elf/tst-auditmod6a.c: Move to ...
3547 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3548 * elf/tst-auditmod6b.c: Move to ...
3549 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3550 * elf/tst-auditmod6c.c: Move to ...
3551 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3552 * elf/tst-auditmod7a.c: Move to ...
3553 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3554 * elf/tst-auditmod7b.c: Move to ...
3555 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3556
1ef74943
PP
35572013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3558
3559 [BZ #15366]
3560 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3561 define unconditionally.
3562 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3563 define unconditionally.
3564 (INT8_C, INT16_C, etc.): Likewise.
3565
93fd48c5
MR
35662013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
3567
ae9552cf
MR
3568 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3569 __ehdr_start with hidden visibility.
3570
93fd48c5
MR
3571 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3572
418601aa
CD
35732013-04-24 Carlos O'Donell <carlos@redhat.com>
3574
3575 * math/libm-test.inc (cos_test): Use accurate hex constants.
3576 (sincost_test): Likewise.
3577
2f38fbfe
JM
35782013-04-24 Joseph Myers <joseph@codesourcery.com>
3579
5e221800
JM
3580 * math/libm-test.inc (catan_test): Add more tests.
3581 (catanh_test): Likewise.
3582
77f143fd
JM
3583 * math/s_catanf.c (__catanf): Use suffixed floating-point
3584 constants.
3585 * math/s_catanhf.c (__catanhf): Likewise.
3586 * math/s_catanhl.c (__catanhl): Likewise.
3587 * math/s_catanl.c (__catanl): Likewise.
3588
2f38fbfe
JM
3589 [BZ #15394]
3590 * math/s_catan.c (__catan): Calculate imaginary part of result
3591 with log1p not log unless computing log of number close to 0.
3592 * math/s_catanf.c (__catanf): Likewise.
3593 * math/s_catanl.c (__catanl): Likewise.
3594 * math/s_catanh.c (__catanh): Calculate real part of result with
3595 log1p not log unless computing log of number close to 0.
3596 * math/s_catanhf.c (__catanhf): Likewise.
3597 * math/s_catanhl.c (__catanhl): Likewise.
3598 * math/libm-test.inc (catan_test): Add more tests.
3599 (catanh_test): Likewise.
3600 * sysdeps/i386/fpu/libm-test-ulps: Update.
3601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3602
45d69176
SP
36032013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3604
3605 * benchtests/Makefile: Mention files in which fast and slow
3606 paths of math functions are implemented.
3607
87f51853
RM
36082013-04-23 Roland McGrath <roland@hack.frob.com>
3609
3610 * sysdeps/posix/timespec_get.c: New file.
3611
3c026539
AZ
36122013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3613
3614 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3615 POWER.
3616 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3617 for POWER.
3618 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3619 powerpc/power5/fpu folders.
3620 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3621 * benchtests/Makefile: Add modf testcase.
3622 * benchtests/bench-modf.c: New file: Benchmark test for mo
3623
ff491d14
SP
36242013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3625
3626 [BZ #14888]
3627 * time/Makefile (tests): Add tst-strptime-whitespace.
3628 * time/strptime_l.c (get_number): Use ISSPACE.
3629 (__strptime_internal): Likewise.
3630 * time/tst-strptime-whitespace.c: New test case.
3631
7ed3f4e8
AS
36322013-04-23 Andreas Schwab <schwab@linux-m68k.org>
3633
3634 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3635 member.
3636 (_nss_files_init): Set it here.
3637
5c95f7b6
HC
36382013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
3639
3640 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3641 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3642 unsigned.
3643
d34c9158
JBG
36442013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
3645
3646 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3647
2169712d
SP
36482013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3649
3650 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3651 size just once.
3652
29c5de99
DM
36532013-04-21 David S. Miller <davem@davemloft.net>
3654
3655 * po/ru.po: Update Russion translation from translation project.
3656
ccdad15d
AC
36572013-04-17 Adam Conrad <adconrad@0c3.net>
3658
3659 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3660 and setfsgid.
3661
0f122b8d
CD
36622013-04-17 Carlos O'Donell <carlos@redhat.com>
3663
5c5b07da 3664 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 3665 * configure: Regenerate.
5c5b07da 3666 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
3667 Add example to error message.
3668 * sysdeps/i386/configure: Regenerate.
3669
037714dd
SP
36702013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3671
3672 * benchtests/Makefile (bench): Add cos, tan, slowcos and
3673 slowtan.
3674 * benchtests/cos-inputs: New file.
3675 * benchtests/slowcos-inputs: New file.
3676 * benchtests/slowcos.c: New file.
3677 * benchtests/slowtan-inputs: New file.
3678 * benchtests/slowtan.c: New file.
3679 * benchtests/tan-inputs: New file.
3680
e913141d
RM
36812013-04-16 Roland McGrath <roland@hack.frob.com>
3682
3683 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3684 considered kosher.
3685
a2964074
SP
36862013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3687
4856bcd2
SP
3688 * benchtests/Makefile: Include cppflags-iterator.mk to add
3689 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3690
a2964074
SP
3691 * Makefile.in (bench-clean): New target.
3692 * benchtests/Makefile (bench-clean): Likewise.
3693
9fbf9aca
DH
36942013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
3695
3696 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3697
207d1e2a
TS
36982013-04-15 Thomas Schwinge <thomas@codesourcery.com>
3699
3700 * stdio-common/tstdiomisc.c: Fix coding-style violation.
3701
306dfba9
AS
37022013-04-15 Andreas Schwab <schwab@suse.de>
3703
3704 * nscd/grpcache.c (cache_addgr): Properly check for short write.
3705 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3706 * nscd/pwdcache.c (cache_addpw): Likewise.
3707 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
3708 more than recsize.
3709
206a6699
SP
37102013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3711
3712 * benchtests/Makefile (bench): Write all output to
3713 bench-out.tmp together.
3714
0582f6b3
AS
37152013-04-15 Andreas Schwab <schwab@suse.de>
3716
3717 * nscd/nscd.c (main): Don't fork again after closing files.
3718
acb4325f
SP
37192013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3720
5cb26d0a
SP
3721 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3722
acb4325f
SP
3723 * benchtests/Rules (bench-deps): Collect dependencies into a
3724 single variable. Add Makefile to dependencies.
3725 ($(objpfx)bench-%.c): Depend on bench-deps.
3726
47792506
RM
37272013-04-12 Roland McGrath <roland@hack.frob.com>
3728 Xavier Roche <roche+kml2@exalead.com>
3729
3730 [BZ #15361]
3731 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
3732 just that it's a file descriptor.
3733 * manual/llio.texi (Synchronizing AIO Operations): Update description
3734 for EBADF error from aio_fsync.
3735
8fc1bee5
SP
37362013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3737
3738 * Rules (bench): Move target definition...
3739 * benchtests/Makefile: ... here.
3740
aba5e333
CD
37412013-04-11 Carlos O'Donell <carlos@redhat.com>
3742
3743 * math/libm-test.inc (cos_test): Fix PI/2 test.
3744 (sincos_test): Likewise.
3745 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3746 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3747
273cdee8
AS
37482013-04-11 Andreas Schwab <schwab@suse.de>
3749
6ecec3b6
AS
3750 [BZ #13988]
3751 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
3752 accept exponent character only when digits were seen.
3753 * stdio-common/Makefile (tests): Add bug26.
3754 * stdio-common/bug26.c: New file.
3755
273cdee8
AS
3756 [BZ #14293]
3757 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
3758 non-freeable.
3759
8da491f5
SP
37602013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3761
01dc6df9
SP
3762 * Makeconfig (rtld-prefix): Define built linker prefix.
3763 * Rules (run-bench): Use it.
3764 * math/Makefile (run-regen-ulps): Likewise.
3765
8da491f5
SP
3766 * Rules (bench): Remove eval.
3767
abe7f530
SP
37682013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3769 Roland McGrath <roland@hack.frob.com>
3770 Ondrej Bilka <neleai@seznam.cz>
3771
3772 [BZ #15346]
3773 * time/getdate.c: Include ctype.h and alloca.h.
3774 (__getdate_r): Trim leading and trailing spaces of input.
3775 * time/tst-getdate.c (tests): Add tests with leading and
3776 trailing spaces.
3777
61c23e62
RM
37782013-04-08 Roland McGrath <roland@hack.frob.com>
3779
3780 [BZ #14280]
3781 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
3782 when computing value.
3783
7208a313
CD
37842013-04-06 Carlos O'Donell <carlos@redhat.com>
3785
085b2d41
CD
3786 * math/README.libm-test (How can I generate "libm-test-ulps"?):
3787 Use testrun.sh to run libm tests.
3788
7208a313
CD
3789 [BZ #15309]
3790 * elf/dl-open.c (dl_open_worker): memset all of seen array.
3791
872c0acd
MM
37922013-04-06 Marko Myllynen <myllynen@redhat.com>
3793
3794 [BZ #15264]
3795 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
3796
26510bdd
CD
37972013-04-06 Carlos O'Donell <carlos@redhat.com>
3798
3799 * Makefile.in (regen-ulps): New target.
3800 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
3801 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
3802 [ifneq (no,$(PERL)] (regen-ulps): New target.
3803 [ifeq (no,$(PERL)] (regen-ulps): New target.
3804 * math/libm-test.inc (ulps_file_name): Define.
3805 (output_dir): New variable.
3806 (options): Add "output-dir" option.
3807 (parse_opt): Handle 'o' case.
3808 (main): If output_dir is non-NULL use it as a prefix
3809 otherwise use "".
3810 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
3811
a01f19c8
CD
38122013-04-06 Carlos O'Donell <carlos@redhat.com>
3813
3814 [BZ #10060, #10062]
3815 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
3816 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
3817 fail configure if __sync_val_compare_and_swap is not inlined.
3818 * sysdeps/i386/configure: Regenerate.
3819 * configure.in: Build for i686 when configured for i386.
3820 * configure: Regenerate.
3821 * README: Remove i386 reference.
3822
b7a329a5
CD
38232013-04-06 Carlos O'Donell <carlos@redhat.com>
3824
3825 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
3826 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3827
bf0f50df
TS
38282013-04-05 Thomas Schwinge <thomas@codesourcery.com>
3829
ee091edf
TS
3830 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
3831 (lmsnanval): New variables.
3832 (F): Add conversion tests.
3833 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
3834 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
3835
a8b792d6
TS
3836 * stdio-common/tstdiomisc.c (F): Properly collect individual
3837 tests' results.
3838
a1cbf437
TS
3839 [BZ #14686, #15336]
3840 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
3841 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3842 Instead, use input NaN values or generate a qNaN by arithmetic
3843 operation. Also fix bugs to comply with the standard.
3844 * math/libm-test.inc (remainder_test): Add more tests.
3845
8b43a0c9
TS
3846 [BZ #15335, #15342]
3847 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
3848 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
3849 input NaN values or generate a qNaN by arithmetic operation.
3850
d91da4ce
TS
3851 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
3852 unreachable code.
3853
bf0f50df
TS
3854 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
3855 definitions.
3856
05e166c8
JM
38572013-04-03 Joseph Myers <joseph@codesourcery.com>
3858
3859 [BZ #14478]
3860 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
3861 underflowed result.
3862 * math/s_cexpf.c (__cexpf): Likewise.
3863 * math/s_cexpl.c (__cexpl): Likewise.
3864 * math/libm-test.inc (cexp_test): Add more tests.
3865
1cef1b19
AS
38662013-04-03 Andreas Schwab <schwab@suse.de>
3867
3868 [BZ #15330]
3869 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
3870 order arrays from heap if bigger than alloca cutoff.
3871
74d87055
TS
38722013-04-03 Thomas Schwinge <thomas@codesourcery.com>
3873
3874 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
3875 (SNAN_TESTS_double): Refer to GCC PR56831.
3876 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
3877 GCC PR56828.
3878
d755bba4
SP
38792013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3880
90d5d5bb
SP
3881 * Rules (bench): Move bench.out after the run is complete.
3882
73e0cd5d
SP
3883 * Rules (bench): Echo currently running benchmark.
3884
64aabd4b
SP
3885 * benchtests/Makefile (bench): Add atan and slowatan.
3886 * benchtests/atan-inputs: New file.
3887 * benchtests/slowatan-inputs: New file.
3888 * benchtests/slowatan.c: New file.
3889
c871eccd
SP
3890 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
3891 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
3892 its value.
3893
d755bba4
SP
3894 [BZ #15305]
3895 * sysdeps/unix/sysv/linux/kernel-features.h
3896 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
3897 __ASSUME_XFS_RESTRICTED_CHOWN.
3898 * sysdeps/unix/sysv/linux/pathconf.c
3899 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3900 Save and restore errno.
3901
52ce4860
JM
39022013-04-02 Joseph Myers <joseph@codesourcery.com>
3903
3904 [BZ #15327]
3905 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
3906 arguments using __kernel_casinh.
3907 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
3908 arguments using __kernel_casinhf.
3909 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
3910 arguments using __kernel_casinhl.
3911 * math/libm-test.inc (cacosh_test): Add more tests.
3912 * sysdeps/i386/fpu/libm-test-ulps: Update.
3913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3914
81f311c2
SP
39152013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3916
e7906a47
SP
3917 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
3918 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
3919
92e3664b
SP
3920 * bench/Makefile (bench): Add sin and slowsin.
3921 * benchtests/sin-inputs: New file.
3922 * benchtests/slowsin-inputs: New file.
3923 * benchtests/slowsin.c: New file.
3924
81f311c2
SP
3925 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
3926 (bench): Add slowexp and slowpow.
3927 (exp-ITER): Increase iterations.
3928 (pow-ITER): Likewise.
3929 * benchtests/exp-inputs: Change input.
3930 * benchtests/pow-inputs: Likewise.
3931 * benchtests/slowexp-inputs: New file.
3932 * benchtests/slowexp.c: New file.
3933 * benchtests/slowpow-inputs: New file.
3934 * benchtests/slowpow.c: New file.
3935
ab0f1aa9
AZ
39362013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3937
3938 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
3939 instructions.
3940 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3941 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3942 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3943 * benchtests/Makefile: Add rint benchtest.
3944 * benchtests/rint-inputs: Input for rint benchtest.
3945
57267616
TS
39462013-04-02 Thomas Schwinge <thomas@codesourcery.com>
3947
3948 * Versions.def (libm): Add GLIBC_2.18.
3949 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
3950 hidden libm prototypes.
3951 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
3952 * math/Makefile (libm-calls): Add s_issignaling.
3953 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
3954 __issignalingf, __issignalingl. Adjust all libm.abilist files.
3955 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
3956 declaration.
3957 * math/math.h [__USE_GNU] (issignaling): New macro.
3958 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
3959 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
3960 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
3961 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
3962 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
3963 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
3964 * manual/arith.texi (issignaling): New section.
3965 * manual/libm-err-tab.pl (@all_functions): Update comment.
3966 * math/gen-libm-test.pl (parse_args): Apply special handling for
3967 issignaling.
3968 * math/libm-test.inc (print_float, issignaling_test): New
3969 functions.
3970 (check_float_internal): Add issignaling checks.
3971 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
3972 default definition.
3973 * sysdeps/powerpc/math-tests.h: New file.
3974 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
3975 tests.
3976 * math/test-snan.c (TEST_FUNC): Likewise.
3977
6142896d
DM
39782013-03-30 David S. Miller <davem@davemloft.net>
3979
3980 * po/de.po: Update from translation team.
3981
ccc8cadf
JM
39822013-03-30 Joseph Myers <joseph@codesourcery.com>
3983
3984 [BZ #10357]
3985 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3986 imaginary part less than 1.0 and real part less than 0.5
3987 specially.
3988 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3989 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3990 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
3991 (cacos_test): Add more tests.
3992 (casin_test): Likewise.
3993 (casinh_test): Likewise.
3994 * sysdeps/i386/fpu/libm-test-ulps: Update.
3995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3996
0f6a8d4b
SP
39972013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3998
0d1029de
SP
3999 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4000 ONE with its value.
4001
c2d94018
SP
4002 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4003 (__pow_mp): Replace ONE and MONE with their values.
4004 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4005 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4006 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4007 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4008 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4009 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4010
27ec37f1
SP
4011 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4012
a64d7e0e
SP
4013 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4014 (__pow_mp): Replace ZERO and MZERO with their values.
4015 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4016 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4017 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4018 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4019 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4020 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4021 (__sqr): Likewise.
4022
d26dd3eb
SP
4023 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4024
0f6a8d4b
SP
4025 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4026
e57b0c61
RM
40272013-03-28 Roland McGrath <roland@hack.frob.com>
4028
4029 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4030 Declare with __attribute__ ((weak)).
4031 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4032 Call __call_tls_dtors only if it's not NULL.
4033
356b3480
RM
40342013-03-28 Roland McGrath <roland@hack.frob.com>
4035
288f7d79
RM
4036 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4037 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4038 magic __ehdr_start linker symbol if it's defined.
4039 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4040 them up here if it was already done.
4041
dc0a0263
RM
4042 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4043 (_dl_aux_init): Use const in cast when setting it.
4044 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4045 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4046 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4047
3d3436ae
RM
4048 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4049 Declare them here.
4050 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4051 * csu/libc-tls.c: Nor here.
4052 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4053
356b3480
RM
4054 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4055 (__libc_message): Never call vsyslog.
4056
b0f1246a
AM
40572013-03-28 Alan Modra <amodra@gmail.com>
4058
4059 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4060 Define as empty.
4061 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4062 Likewise.
4063
fbbe2b9a
AZ
40642013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4065
4066 [BZ #15214]
4067 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4068 underflow.
4069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4070
1728ab37
SP
40712013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4072
7a86be6e
SP
4073 [BZ #15304]
4074 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4075 Don't add gid passed as argument.
4076
1728ab37
SP
4077 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4078
3a7182a1
JM
40792013-03-27 Joseph Myers <joseph@codesourcery.com>
4080
4081 [BZ #15307]
4082 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4083 imaginary part between 1.0 and 1.5 and real part less than 0.5
4084 specially.
4085 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4086 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4087 * math/libm-test.inc (cacos_test): Add more tests.
4088 (casin_test): Likewise.
4089 (casinh_test): Likewise.
4090 * sysdeps/i386/fpu/libm-test-ulps: Update.
4091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4092
6f2e90e7
SP
40932013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4094
5739f705
SP
4095 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4096 constants.
4097 (norm): Likewise.
4098 (denorm): Likewise.
4099 (__dbl_mp): Likewise.
4100 (add_magnitudes): Likewise.
4101 (sub_magnitudes): Likewise.
4102 (__add): Likewise.
4103 (__sub): Likewise.
4104 (__mul): Likewise.
4105 (__sqr): Likewise.
4106 (__inv): Likewise.
4107 (__dvd): Likewise.
4108
e375e83d
SP
4109 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4110 commented code.
4111 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4112 (__dubcos): Likewise.
4113 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4114 (__ieee754_acos): Likewise.
4115 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4116 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4117 (__exp1): Likewise.
4118 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4119 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4120 (log1): Likewise.
4121 (my_log2): Likewise.
4122 (checkint): Likewise.
4123 * sysdeps/ieee754/dbl-64/e_remainder.c
4124 (__ieee754_remainder): Likewise.
4125 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4126 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4127 (bsloww): Likewise.
4128 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4129
6f2e90e7
SP
4130 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4131 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4132 MANTISSA_STORE_T to store computations on mantissa. Use
4133 macros for rounding and division.
4134 (denorm): Likewise.
4135 (__dbl_mp): Likewise.
4136 (add_magnitudes): Likewise.
4137 (sub_magnitudes): Likewise.
4138 (__mul): Likewise.
4139 (__sqr): Likewise.
4140 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4141 powers of two in terms of TWOPOW macro.
4142 (mp_no): Make type of mantissa as MANTISSA_T.
4143 [!RADIXI]: Define RADIXI.
4144 [!TWO52]: Define TWO52.
4145 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4146
fce14d4e
AZ
41472013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4148
4149 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4150 llroundl symbol when building for PPC32.
4151
9ad027fb
MW
41522013-03-24 Mark H Weaver <mhw@netris.org>
4153
4154 * manual/arith.texi (Normalization Functions): Fix prototypes for
4155 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4156
e42a38dd
AZ
41572013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4158
4159 [BZ #13889]
4160 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4161 high value to check if expl overflow.
4162 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4163 to check for underflow and overflow.
4164 * math/libm-test.inc: Add exp test.
4165
2e0fb521
DL
41662013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4167
4168 [BZ #11120]
4169 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4170 with NOT_IN_libc.
4171
b5784d95
AZ
41722013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4173
4174 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4175 symbol.
4176
5aa4a1a1
TS
41772013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4178
bdef0be7
TS
4179 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4180 wrap blocks consisting of several statements.
4181
5aa4a1a1
TS
4182 * sysdeps/generic/math-tests.h: New file.
4183 * sysdeps/i386/fpu/math-tests.h: Likewise.
4184 * math/test-snan.c: Include it.
4185 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4186
98c48fe5
JM
41872013-03-21 Joseph Myers <joseph@codesourcery.com>
4188
4189 [BZ #15285]
4190 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4191 (__ieee754_j0l): Do not improve calculations using cos of twice
4192 input for inputs above LDBL_MAX / 2.0L.
4193 (__ieee754_y0l): Likewise.
4194 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4195 (__ieee754_j1l): Do not improve calculations using cos of twice
4196 input for inputs above LDBL_MAX / 2.0L.
4197 (__ieee754_y1l): Likewise.
4198 * math/libm-test.inc (j0_test): Add another test.
4199 (j1_test): Likewise.
4200 (y0_test): Likewise.
4201 (y1_test): Likewise.
4202 * sysdeps/i386/fpu/libm-test-ulps: Update.
4203
3775a8bc
SP
42042013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4205
4206 * Rules ($(objpfx)bench-%.c): Include code from a C source
4207 file.
4208
0a1b2ae6
JM
42092013-03-21 Joseph Myers <joseph@codesourcery.com>
4210
4211 [BZ #15287]
4212 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4213 imaginary part 1.0 and real part less than 0.5 specially.
4214 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4215 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4216 * math/libm-test.inc (cacos_test): Add more tests.
4217 (casin_test): Likewise.
4218 (casinh_test): Likewise.
4219 * sysdeps/i386/fpu/libm-test-ulps: Update.
4220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4221
b33d4ce4
SP
42222013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4223
4224 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4225 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4226
bef0b507
JM
42272013-03-20 Joseph Myers <joseph@codesourcery.com>
4228
4229 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4230 * config.make.in (config-cflags-sse4): Remove variable.
4231 (config-cflags-avx): Likewise.
4232 (config-cflags-sse2avx): Likewise.
4233 (config-cflags-novzeroupper): Likewise.
4234 (config-asflags-i686): Likewise.
4235 (have-mfma4): Likewise.
4236 (have-as-vis3): Likewise.
4237 (MIG): Likewise.
4238 * configure.in (MIG): Do not AC_SUBST.
4239 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4240 (libc_cv_cc_sse4): Do not AC_SUBST.
4241 (libc_cv_cc_avx): Likewise.
4242 (libc_cv_cc_sse2avx): Likewise.
4243 (libc_cv_cc_novzeroupper): Likewise.
4244 (libc_cv_cc_fma4): Likewise.
4245 (libc_cv_as_i686): Likewise.
4246 (libc_cv_sparc_as_vis3): Likewise.
4247 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4248 LIBC_CONFIG_VAR.
4249 (config-asflags-i686): Likewise.
4250 (config-cflags-avx): Likewise.
4251 (config-cflags-sse2avx): Likewise.
4252 (have-mfma4): Likewise.
4253 (config-cflags-novzeroupper): Likewise.
4254 * sysdeps/mach/configure.in (MIG): Likewise.
4255 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4256 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4257 LIBC_CONFIG_VAR.
4258 (config-cflags-avx): Likewise.
4259 (config-cflags-sse2avx): Likewise.
4260 (have-mfma4): Likewise.
4261 (config-cflags-novzeroupper): Likewise.
4262 * configure: Regenerated.
4263 * sysdeps/i386/configure: Likewise.
4264 * sysdeps/mach/configure: Likewise.
4265 * sysdeps/sparc/configure: Likewise.
4266 * sysdeps/x86_64/configure: Likewise.
4267
912cc4b3
RM
42682013-03-20 Roland McGrath <roland@hack.frob.com>
4269
4270 [BZ #14812]
4271 * locale/programs/localedef.c (options): Put N_ translation marker
4272 on argument names, not just descriptions.
4273
04eed2b0
MS
42742013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4275
4276 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4277
a065ceff
OB
42782013-03-20 Ondřej Bílka <neleai@seznam.cz>
4279
9bb2a810 4280 [BZ #14176]
a065ceff
OB
4281 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4282
a600e5ce
RM
42832013-03-19 Roland McGrath <roland@hack.frob.com>
4284
4285 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4286 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4287 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4288 [!BEFORE_ABORT] (before_abort): New function.
4289 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4290 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4291 (writev_for_fatal): New function.
4292 (WRITEV_FOR_FATAL): New macro; call that.
4293 (backtrace_and_maps): New function.
4294 (BEFORE_ABORT): New macro; call that.
4295 (struct str_list): Type removed.
4296 (__libc_message, __libc_fatal): Functions removed.
4297 Include <sysdeps/posix/libc_fatal.c> instead.
4298
6b18bea6
JM
42992013-03-19 Joseph Myers <joseph@codesourcery.com>
4300
4301 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4302 constants.
4303 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4304 double constants.
4305
aaa8cb4b
AS
43062013-03-19 Andreas Schwab <schwab@suse.de>
4307
44673770
AS
4308 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4309 * sysdeps/gnu/configure: Regenerate.
4310
aaa8cb4b
AS
4311 * configure.in: Substitute libc_cv_rtlddir.
4312 * configure: Regenerate.
4313 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4314 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4315 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4316 * elf/Makefile (install-others, CFLAGS-interp.c)
4317 (ldso_install, common-ldd-rewrite): Likewise.
4318 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4319 $(inst_slibdir)/$(rtld-installed-name).
4320 * scripts/rellns-sh: Add -p option.
4321 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4322 for source.
4323
d3cfc668
SP
43242013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4325
4326 * manual/nptl.texi: Renamed to ...
4327 * manual/threads.texi: ... this.
4328 * manual/Makefile (chapters): Update.
4329
0e2b9cdd
RM
43302013-03-18 Roland McGrath <roland@hack.frob.com>
4331
4332 [BZ #14812]
4333 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4334 on argument names, not just descriptions.
0e2b9cdd
RM
4335 * malloc/memusagestat.c (options): Likewise.
4336 * nss/getent.c (options): Likewise.
63270c24
RM
4337
43382013-03-18 Benno Schulenberg <bensberg@justemail.net>
4339
4340 [BZ #14812]
4341 * iconv/iconv_prog.c (options): Put N_ translation marker
4342 on argument names, not just descriptions.
4343 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 4344
b2e1393c
OB
43452013-03-18 Ondrej Bilka <neleai@seznam.cz>
4346
4347 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4348 implementation which is faster on all x86_64 architectures.
4349 Tested on AMD, Intel Nehalem, SNB, IVB.
4350 * sysdeps/x86_64/strnlen.S: Likewise.
4351
4352 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4353 Remove all multiarch strlen and strnlen versions.
4354 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4355 Remove strlen and strnlen related parts.
4356
4357 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4358 Inline strlen part.
4359 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4360
4361 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4362 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4363 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4364 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4365 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4366 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4367
ec4ff04d
CD
43682013-03-17 Carlos O'Donell <carlos@redhat.com>
4369
4370 * manual/memory.texi (Malloc Tunable Parameters):
4371 Sort parameters alphabetically. Add comments for missing entries.
4372
cd18e90a
DM
43732013-03-17 David S. Miller <davem@davemloft.net>
4374
4375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4376
2a185d32
JM
43772013-03-16 Joseph Myers <joseph@codesourcery.com>
4378
d2f9799e
JM
4379 [BZ #15283]
4380 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4381 for arguments at most half maximum finite value.
4382 * math/libm-test.inc (j0_test): Add more tests.
4383 (j1_test): Likewise.
4384 (y0_test): Likewise.
4385 (y1_test): Likewise.
4386 * sysdeps/i386/fpu/libm-test-ulps: Update.
4387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4388
2a185d32
JM
4389 [BZ #14155]
4390 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4391 1 / x and functions P and Q for arguments above 0x1p256L.
4392 (__ieee754_y0l): Likewise.
4393 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4394 (__ieee754_y1l): Likewise.
4395 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4396 (j1_test): Likewise.
4397 (y0_test): Likewise.
4398 (y1_test): Likewise.
4399
6cbec759
TS
44002013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4401
4402 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4403 variable.
4404
bc16e260
RM
44052013-03-15 Roland McGrath <roland@hack.frob.com>
4406
aefc9b8c
RM
4407 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4408 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4409 zero since it's initialized to EXEC_PAGESIZE.
4410
bc16e260
RM
4411 * sysdeps/unix/sysv/linux/ldsodefs.h
4412 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4413 * sysdeps/generic/ldsodefs.h: ... here.
4414
a57da955
TS
44152013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4416
af00a34d
TS
4417 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4418
495ded2c
TS
4419 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4420 math/test-snan.c.
4421 * math/test-snan.c: Renamed from
4422 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4423 * math/Makefile (tests): Add test-snan.
4424 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4425 test-powerpc-snan.
4426
777b0332
TS
4427 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4428 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4429 functions.
4430 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4431 __builtin_nan family of functions.
4432 * math/libm-test.inc (initialize): Initialize qnan_value with
4433 __builtin_nan family of functions.
4434 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4435 Remove variables.
4436 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4437 Remove functions.
4438 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4439 storage class. Initialize qNaN_var and sNaN_var with
4440 __builtin_nan and __builtin_nans families of functions,
4441 respectively.
4442
64d063b8
TS
4443 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4444 (sqrt_test): Remove duplicate test with qNaN input.
4445 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4446 (round_test, signbit_test, significand_test): Note missing +/-Inf
4447 as well as qNaN tests.
4448
67e971f1
TS
4449 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4450 qNaN_var. Fix a few strings, too.
4451 * math/libm-test.inc (nan_value): Rename to qnan_value.
4452 * math/gen-libm-test.pl (%beautify): Adjust to that.
4453 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4454 * math/test-misc.c (main): Likewise.
4455 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4456 to __qnan_bytes, and __qnan_union, respectively.
4457 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4458 Likewise.
4459 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4460 and lqnanval, respectively.
4461 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4462 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4463 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4464 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4465
64487e12
TS
4466 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4467 * math/test-misc.c (main) [__x86_64__]: Enable test for long
4468 doubles.
4469
e015e27b
TS
4470 * math/test-misc.c (main): Fix copy'n'pastos.
4471 * misc/tst-efgcvt.c (special): Likewise.
4472
a57da955
TS
4473 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4474 Remove declarations.
4475
1e380345
SP
44762013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4477
4478 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4479 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4480 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4481 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4482
ef26eece
AZ
44832013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4484
4485 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4486 macro to return vdso values correctly in IFUNC implementations.
4487 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4488 Optimization by using IFUNC.
4489
8cfdb7e0
SP
44902013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4491 Richard Henderson <rth@redhat.com>
4492 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4493
4494 * Makefile.in (bench): New target.
4495 * NEWS: Mention the benchmark framework.
4496 * Rules (bench): Likewise.
4497 (binaries-bench): Generate binaries for functions to
4498 benchmark.
4499 * benchtests/Makefile: New makefile for benchmark tests.
4500 * benchtests/bench-skeleton.c: New skeleton file for benchmark
4501 programs.
4502 * benchtests/exp-inputs: New input file for EXP function.
4503 * benchtests/pow-inputs: New input file for POW function.
4504 * scripts/bench.pl: New script to generate source files for
4505 benchmark programs.
4506
bcda9880
SP
45072013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4508
d22ca8cd
SP
4509 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4510 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4511 computations on mantissa. Use macros for rounding and
4512 division.
4513 (denorm): Likewise.
4514 (__dbl_mp): Likewise.
4515 (add_magnitudes): Likewise.
4516 (sub_magnitudes): Likewise.
4517 (__mul): Likewise.
4518 (__sqr): Likewise.
4519 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4520 powers of two in terms of TWOPOW macro.
4521 (mp_no): Make type of mantissa as MANTISSA_T.
4522 [!RADIXI]: Define RADIXI.
4523 [!TWO52]: Define TWO52.
4524 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4525
bcda9880
SP
4526 * manual/nptl.texi (cindex): Modify threads to pthreads.
4527
06d5adfb
JM
45282013-03-15 Joseph Myers <joseph@codesourcery.com>
4529
4530 * sysdeps/x86_64/preconfigure: Regenerated.
4531
41c7328e
JM
45322013-03-14 Joseph Myers <joseph@codesourcery.com>
4533
4534 [BZ #14155]
4535 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4536 0x1p28 and above.
4537 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4538 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4539 0x1p28 and above.
4540 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4541 * math/libm-test.inc (j0_test): Do not allow one spurious
4542 underflow exception.
4543 (y1_test): Likewise.
4544
e25cfa60
SP
45452013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4546
0409959c
SP
4547 * manual/Makefile (chapters): Add nptl.
4548 * manual/debug.texi (Debugging Support): Add link to Threads
4549 chapter.
4550 * manual/nptl.texi: New file.
4551
e25cfa60
SP
4552 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4553
58a1335e
PB
45542013-03-14 Petr Baudis <pasky@ucw.cz>
4555
4556 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4557 for non-NULL pointer before the memory validity test. Pointed
4558 out by Holger Brunck <holger.brunck@keymile.com>.
4559
9dc7c64f
AS
45602013-03-13 Andreas Schwab <schwab@suse.de>
4561
4562 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4563 instead of .os.
4564
54206aa6
JM
45652013-03-13 Joseph Myers <joseph@codesourcery.com>
4566
4567 * timezone/zic.c: Update from tzcode 2013b.
4568
e98cdb38
CD
45692013-03-12 Carlos O'Donell <carlos@redhat.com>
4570
4571 * manual/install.texi (Configuring and compiling):
4572 Mention i686 and i586.
4573 * INSTALL: Regenerate.
4574
9967e003
RM
45752013-03-12 Roland McGrath <roland@hack.frob.com>
4576
4577 * sysdeps/init_array/elf-init.c: New file.
4578 * csu/elf-init.c
4579 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4580 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4581
4582 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4583 __gmon_start__ as global, but as static with a .preinit_array pointer.
4584 * sysdeps/init_array/gmon-start.c: New file. Use that.
4585 * sysdeps/init_array/crti.S: New file, empty except for comments.
4586 * sysdeps/init_array/crtn.S: Likewise.
4587
e6b5a293 45882013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
4589
4590 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4591 definining bcopy.
80f844c9
OB
4592 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4593 Remove Prefer_SSE_for_memop.
4594 * sysdeps/x86_64/multiarch/init-arch.h: Remove
4595 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4596 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
4597 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4598 memset-x86-64.
80f844c9 4599 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 4600 Remove bzero, memset ifunc support.
80f844c9
OB
4601 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4602 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4603 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4604 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4605
fb6b0fcb
AS
46062013-03-11 Andreas Schwab <schwab@suse.de>
4607
4608 [BZ #15234]
4609 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4610 by SHLIB_COMPAT.
4611 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4612 (GLIBC_2.16): Remove pthread_atfork.
4613
3e6bd4b1
PP
46142013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4615
4616 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4617 (ptestcases.h): Likewise.
4618
222d7f00
RM
46192013-03-08 Roland McGrath <roland@hack.frob.com>
4620
4621 * Makeconfig ($(common-objpfx)config.status): Depend on
4622 sysdeps/*/preconfigure{,.in} too.
4623
1ba4f030
JM
46242013-03-08 Joseph Myers <joseph@codesourcery.com>
4625
a222d91a
JM
4626 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4627 (__free_hook): Use void * instead of __malloc_ptr_t.
4628 (__malloc_hook): Likewise.
4629 (__realloc_hook): Likewise.
4630 (__memalign_hook): Likewise.
4631 (__after_morecore_hook): Likewise.
4632 * malloc/arena.c (save_malloc_hook): Likewise.
4633 (save_free_hook): Likewise.
4634 * malloc/hooks.c (malloc_hook_ini): Likewise.
4635 (realloc_hook_ini): Likewise.
4636 (memalign_hook_ini): Likewise.
4637 * malloc/malloc.c (malloc_hook_ini): Likewise.
4638 (realloc_hook_ini): Likewise.
4639 (memalign_hook_ini): Likewise.
4640 (__free_hook): Likewise.
4641 (__malloc_hook): Likewise.
4642 (__realloc_hook): Likewise.
4643 (__memalign_hook): Likewise.
4644 (__libc_malloc): Likewise.
4645 (__libc_free): Likewise.
4646 (__libc_realloc): Likewise.
4647 (__libc_memalign): Likewise.
4648 (__libc_valloc): Likewise.
4649 (__libc_pvalloc): Likewise.
4650 (__libc_calloc): Likewise.
4651 (__posix_memalign): Likewise.
4652 * malloc/morecore.c (__sbrk): Likewise.
4653 (__default_morecore): Likewise.
4654
5cc45e10
JM
4655 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4656
dd54b864
JM
4657 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4658 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4659 __malloc_ptrdiff_t.
4660
1ba4f030
JM
4661 * malloc/malloc.h (__malloc_size_t): Remove macro.
4662 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4663 __malloc_size_t.
4664 (old_memalign_hook): Likewise.
4665 (old_realloc_hook): Likewise.
4666 (struct hdr): Likewise.
4667 (flood): Likewise.
4668 (mallochook): Likewise.
4669 (memalignhook): Likewise.
4670 (reallochook): Likewise.
4671 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4672 (tr_old_realloc_hook): Likewise.
4673 (tr_old_memalign_hook): Likewise.
4674 (tr_mallochook): Likewise.
4675 (tr_reallochook): Likewise.
4676 (tr_memalignhook): Likewise.
4677
edf66e57
AZ
46782013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4679
4680 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4681 default_ldbl_pack and using as default implementation.
4682 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4683 implementation.
4684 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4685 redundant definition.
4686 (ldbl_insert_mantissa): Likewise.
4687 (ldbl_canonicalize): Likewise.
4688 (ldbl_nearbyint): Likewise.
4689 (ldbl_pack): Rename to ldbl_pack_ppc.
4690 (ldbl_unpack): Rename to ldbl_unpack_ppc.
4691 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4692 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4693
6d9145d8
SP
46942013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4695
4696 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4697 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4698 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4699 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4700 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4701 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4702 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4703 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4704
4dd4e157
AJ
47052013-03-07 Andreas Jaeger <aj@suse.de>
4706
4707 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4708 bits/mman-linux.h.
4709
adbb8027
SP
47102013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4711
ce544b5b
SP
4712 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4713 Include mpa.h and declare __MPEXP.
4714 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4715 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4716 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4717 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4718 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4719 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4720 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4721
4cc149fd
SP
4722 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4723 (__slowpow): Use long double EXPL and LOGL functions to
4724 compute POW.
4725 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4726 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4727 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4728 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4729 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4730 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4731
e6ebd4a7
SP
4732 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
4733 intermediate variable to calculate exponent.
4734 (__sqr): Likewise.
4735 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4736 Likewise.
4737 (__sqr): Likewise.
4738
82a9811d
SP
4739 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
4740 [!NO__SQR]: Define __sqr.
4741 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
4742 and NO__SQR. Remove all code except __mul and __sqr. Include
4743 sysdeps/ieee754/dbl-64/mpa.c.
4744 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4745
adbb8027
SP
4746 [BZ #12723]
4747 * posix/Makefile (tests): Add tst-pathconf.
4748 * posix/tst-pathconf.c: New test case.
4749 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
4750 _PC_PIPE_BUF.
4751 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
4752
39120df9
PF
47532013-03-06 Patsy Franklin <pfrankli@redhat.com>
4754
4755 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
4756
67525cb8
AJ
47572013-03-06 Andreas Jaeger <aj@suse.de>
4758
664a9ce4
AJ
4759 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
4760 definition via __MAP_ANONYMOUS.
4761
8e39047d
AJ
4762 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
4763 it's not part of Linux headers.
4764
67525cb8
AJ
4765 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4766 (MAP_HUGE_MASK): Define.
4767
4768 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4769 Define.
4770 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4771 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4772 Define.
4773 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4774 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4775 Define.
4776 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4777 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
4778 Define.
4779 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4780
4781 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
4782 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
4783 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
4784 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
4785 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
4786 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
4787
4788 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4789 Handle f2fs.
4790
4791 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4792 Handle f2fs and efivarfs.
4793
4794 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
4795 f2fs.
4796
4797 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
4798 (EFIVARFS_MAGIC): Add.
4799 (F2FS_LINK_MAX): Add.
4800
e1b42695
PP
48012013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4802
4803 * stdio-common/vfprintf.c: Replace __builtin_expect with
4804 __glibc_unlikely.
4805
2d67d91a
JM
48062013-03-06 Joseph Myers <joseph@codesourcery.com>
4807
4808 [BZ #13550]
4809 * sysdeps/generic/bp-sym.h: Remove file.
4810 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
4811 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
4812 <bp-sym.h> and <bp-asm.h>.
4813 (__longjmp): Don't use BP_SYM.
4814 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
4815 and <bp-asm.h>.
4816 (memcpy): Don't use BP_SYM.
4817 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
4818 <bp-sym.h> and <bp-asm.h>.
4819 (memcpy): Don't use BP_SYM.
4820 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
4821 <bp-asm.h>.
4822 (memcpy): Don't use BP_SYM.
4823 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
4824 <bp-asm.h>.
4825 (memset): Don't use BP_SYM.
4826 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4827 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4828 (__bzero): Don't use BP_SYM.
4829 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4830 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4831 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
4832 <bp-sym.h> and <bp-asm.h>.
4833 (memcmp): Don't use BP_SYM. Remove comment about bounded
4834 pointers.
4835 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
4836 <bp-sym.h> and <bp-asm.h>.
4837 (memcpy): Don't use BP_SYM.
4838 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
4839 <bp-sym.h> and <bp-asm.h>.
4840 (memset): Don't use BP_SYM.
4841 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4842 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4843 (__bzero): Don't use BP_SYM.
4844 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4845 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4846 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
4847 <bp-sym.h> and <bp-asm.h>.
4848 (strncmp): Don't use BP_SYM. Remove comment about bounded
4849 pointers.
4850 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
4851 <bp-sym.h> and <bp-asm.h>.
4852 (memcpy): Don't use BP_SYM.
4853 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
4854 <bp-sym.h> and <bp-asm.h>.
4855 (memset): Don't use BP_SYM.
4856 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4857 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4858 (__bzero): Don't use BP_SYM.
4859 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4860 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4861 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
4862 <bp-sym.h> and <bp-asm.h>.
4863 (__memchr): Don't use BP_SYM.
4864 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
4865 <bp-sym.h> and <bp-asm.h>.
4866 (memcmp): Don't use BP_SYM. Remove comment about bounded
4867 pointers.
4868 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
4869 <bp-sym.h> and <bp-asm.h>.
4870 (memcpy): Don't use BP_SYM.
4871 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
4872 <bp-sym.h> and <bp-asm.h>.
4873 (__mempcpy): Don't use BP_SYM.
4874 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
4875 <bp-sym.h> and <bp-asm.h>.
4876 (__memrchr): Don't use BP_SYM.
4877 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
4878 <bp-sym.h> and <bp-asm.h>.
4879 (memset): Don't use BP_SYM.
4880 (__bzero): Likewise.
4881 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
4882 <bp-sym.h> and <bp-asm.h>.
4883 (__rawmemchr): Don't use BP_SYM.
4884 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
4885 <bp-sym.h> and <bp-asm.h>.
4886 (__STRCMP): Don't use BP_SYM.
4887 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
4888 <bp-sym.h> and <bp-asm.h>.
4889 (strchr): Don't use BP_SYM.
4890 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
4891 <bp-sym.h> and <bp-asm.h>.
4892 (__strchrnul): Don't use BP_SYM.
4893 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
4894 <bp-sym.h> and <bp-asm.h>.
4895 (strlen): Don't use BP_SYM.
4896 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
4897 <bp-sym.h> and <bp-asm.h>.
4898 (strncmp): Don't use BP_SYM. Remove comment about bounded
4899 pointers.
4900 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
4901 <bp-sym.h> and <bp-asm.h>.
4902 (__strnlen): Don't use BP_SYM.
4903 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
4904 <bp-sym.h> and <bp-asm.h>.
4905 (__GI__setjmp): Don't use BP_SYM.
4906 (_setjmp): Likewise.
4907 (__sigsetjmp): Likewise.
4908 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
4909 (L(start_addresses)): Don't use BP_SYM.
4910 (_start): Likewise.
4911 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
4912 <bp-asm.h>.
4913 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
4914 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
4915 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4916 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4917 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
4918 <bp-asm.h>.
4919 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
4920 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
4921 about bounded pointers.
4922 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4923 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4924 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
4925 <bp-asm.h>.
4926 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4927 about bounded pointers. Remove GKM FIXME comments.
4928 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4929 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
4930 <bp-asm.h>.
4931 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
4932 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
4933 Remove GKM FIXME comments.
4934 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4935 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4936 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
4937 <bp-asm.h>.
4938 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4939 about bounded pointers. Remove GKM FIXME comment.
4940 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
4941 and <bp-asm.h>.
4942 (strncmp): Don't use BP_SYM. Remove comment about bounded
4943 pointers.
4944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
4945 <bp-sym.h> and <bp-asm.h>.
4946 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
4948 <bp-sym.h> and <bp-asm.h>.
4949 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4950 comment.
4951
cdcf361f
PP
49522013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4953
4954 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
4955 call free(NULL).
4956
3c4a2b15
DM
49572013-03-05 David S. Miller <davem@davemloft.net>
4958
4959 * po/es.po: Update from translation team.
4960
cdcf361f 49612013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
4962
4963 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
4964 <bits/mman-linux.h>.
4965 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4966 is fine.
4967 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
4968 <bits/mman-linux.h> to end of file.
4969 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4970 is fine.
4971 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
4972 <bits/mman-linux.h> to end of file.
4973 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4974 is fine.
4975 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
4976 <bits/mman-linux.h> to end of file.
4977
4978 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
4979 (MCL_CURRENT, MCL_FUTURE): Define here.
4980
5f67c04f
AK
49812013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4982
8a4473cc 4983 [BZ #15232]
5f67c04f
AK
4984 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
4985 attribute_hidden.
4986 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4987
c3e94a95
AK
49882013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4989
4990 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
4991 fourth parameter needed for rt_sigprocmask syscall.
4992 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4993 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4994 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
4995 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4996 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4997 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
4998
cfb6382a
JM
49992013-03-04 Joseph Myers <joseph@codesourcery.com>
5000
5001 [BZ #13550]
5002 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5003 comment about bounded pointers.
5004 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5005 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5006
539d8e01
AJ
50072013-03-04 Andreas Jaeger <aj@suse.de>
5008
5009 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5010 common definitions.
5011
5012 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5013 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5014 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5015 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5016 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5017 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5018
2e167a70 50192013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5020
5021 [BZ #15055]
5022 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5023 __ieee754_sqrl instead of __sqrl.
5024
68508633
JM
50252013-03-01 Joseph Myers <joseph@codesourcery.com>
5026
5027 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5028 * sysdeps/powerpc/fpu_control.h: ... here.
5029 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5030 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5031 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5032 * sysdeps/powerpc/bits/mathinline.h: ... here.
5033
7775448e
RM
50342013-03-01 Roland McGrath <roland@hack.frob.com>
5035
5036 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5037 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5038 to just [NEED_DL_SYSINFO_DSO].
5039 * elf/dl-support.c: Likewise.
5040 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5041 * elf/rtld.c (dl_main): Likewise.
5042 * elf/setup-vdso.h (setup_vdso): Likewise.
5043 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5044 * sysdeps/unix/sysv/linux/dl-sysdep.c
5045 (_dl_discover_osversion): Likewise.
5046
4e9b5995
CD
50472013-03-01 Carlos O'Donell <carlos@redhat.com>
5048
5049 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5050 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5051
e23872c8
SP
50522013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5053
e5c74c63
SP
5054 * NEWS: Mention libm performance improvements and non-x86 PI
5055 futex support.
5056
e23872c8
SP
5057 * csu/libc-start.c (__pthread_initialize_minimal): Change
5058 function arguments.
5059 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5060
b5510883
JM
50612013-02-28 Joseph Myers <joseph@codesourcery.com>
5062
5063 [BZ #13550]
5064 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5065 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5066 <bp-sym.h> and <bp-asm.h>.
5067 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5068 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5069 and <bp-asm.h>.
5070 (memcpy): Don't use BP_SYM.
5071 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5072 <bp-asm.h>.
5073 (__mpn_add_n): Don't use BP_SYM.
5074 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5075 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5076 and <bp-asm.h>.
5077 (__mpn_addmul_1): Don't use BP_SYM.
5078 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5079 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5080 <bp-sym.h>.
5081 (_setjmp): Don't use BP_SYM.
5082 (__novmx_setjmp): Likewise.
5083 (__GI__setjmp): Likewise.
5084 (__vmx_setjmp): Likewise.
5085 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5086 <bp-sym.h>.
5087 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5088 (__bzero): Don't use BP_SYM.
5089 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5090 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5091 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5092 <bp-sym.h> and <bp-asm.h>.
5093 (memcpy): Don't use BP_SYM.
5094 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5095 <bp-sym.h> and <bp-asm.h>.
5096 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5097 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5098 <bp-sym.h> and <bp-asm.h>.
5099 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5100 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5101 <bp-asm.h>.
5102 (__mpn_lshift): Don't use BP_SYM.
5103 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5104 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5105 <bp-asm.h>.
5106 (memset): Don't use BP_SYM.
5107 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5108 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5109 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5110 <bp-asm.h>.
5111 (__mpn_mul_1): Don't use BP_SYM.
5112 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5113 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5114 <bp-sym.h> and <bp-asm.h>.
5115 (memcmp): Don't use BP_SYM.
5116 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5117 <bp-sym.h> and <bp-asm.h>.
5118 (memcpy): Don't use BP_SYM.
5119 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5120 <bp-sym.h> and <bp-asm.h>.
5121 (memset): Don't use BP_SYM.
5122 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5123 <bp-sym.h> and <bp-asm.h>.
5124 (strncmp): Don't use BP_SYM.
5125 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5126 <bp-sym.h> and <bp-asm.h>.
5127 (memcpy): Don't use BP_SYM.
5128 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5129 <bp-sym.h> and <bp-asm.h>.
5130 (memset): Don't use BP_SYM.
5131 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5132 <bp-sym.h> and <bp-asm.h>.
5133 (__memchr): Don't use BP_SYM.
5134 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5135 <bp-sym.h> and <bp-asm.h>.
5136 (memcmp): Don't use BP_SYM.
5137 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5138 <bp-sym.h> and <bp-asm.h>.
5139 (memcpy): Don't use BP_SYM.
5140 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5141 <bp-sym.h> and <bp-asm.h>.
5142 (__mempcpy): Don't use BP_SYM.
5143 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5144 <bp-sym.h> and <bp-asm.h>.
5145 (__memrchr): Don't use BP_SYM.
5146 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5147 <bp-sym.h> and <bp-asm.h>.
5148 (memset): Don't use BP_SYM.
5149 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5150 <bp-sym.h> and <bp-asm.h>.
5151 (__rawmemchr): Don't use BP_SYM.
5152 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5153 <bp-sym.h> and <bp-asm.h>.
5154 (__STRCMP): Don't use BP_SYM.
5155 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5156 <bp-sym.h> and <bp-asm.h>.
5157 (strchr): Don't use BP_SYM.
5158 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5159 <bp-sym.h> and <bp-asm.h>.
5160 (__strchrnul): Don't use BP_SYM.
5161 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5162 <bp-sym.h> and <bp-asm.h>.
5163 (strlen): Don't use BP_SYM.
5164 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5165 <bp-sym.h> and <bp-asm.h>.
5166 (strncmp): Don't use BP_SYM.
5167 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5168 <bp-sym.h> and <bp-asm.h>.
5169 (__strnlen): Don't use BP_SYM.
5170 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5171 <bp-asm.h>.
5172 (__mpn_rshift): Don't use BP_SYM.
5173 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5174 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5175 <bp-sym.h> and <bp-asm.h>.
5176 (__sigsetjmp): Don't use BP_SYM.
5177 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5178 (L(start_addresses)): Don't use BP_SYM.
5179 (_start): Likewise.
5180 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5181 <bp-asm.h>.
5182 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5183 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5184 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5185 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5186 <bp-asm.h>.
5187 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5188 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5189 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5190 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5191 <bp-asm.h>.
5192 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5193 comments.
5194 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5195 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5196 <bp-asm.h>.
5197 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5198 FIXME comments.
5199 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5200 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5201 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5202 <bp-asm.h>.
5203 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5204 comment.
5205 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5206 and <bp-asm.h>.
5207 (strncmp): Don't use BP_SYM,
5208 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5209 <bp-asm.h>.
5210 (__mpn_sub_n): Don't use BP_SYM.
5211 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5212 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5213 and <bp-asm.h>.
5214 (__mpn_submul_1): Don't use BP_SYM.
5215 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5217 <bp-sym.h> and <bp-asm.h>.
5218 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5220 <bp-sym.h> and <bp-asm.h>.
5221 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5222 comment.
5223
8d19fe64
SP
52242013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5225
5226 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5227 Use ZK to minimize writes to Z.
5228 (sub_magnitudes): Simplify code a bit.
5229 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5230 Use ZK to minimize writes to Z.
5231 (sub_magnitudes): Simplify code a bit.
5232
85bd816a
RM
52332013-02-27 Roland McGrath <roland@hack.frob.com>
5234
5235 * csu/gmon-start.c: Add special exception to license text.
5236
b5977bf2
RH
52372013-02-27 Richard Henderson <rth@redhat.com>
5238
5239 * scripts/config.guess: Update from config.git.
5240 * scripts/config.sub: Likewise.
5241
11d6e2f2
SP
52422013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5243
09c14ed2
SP
5244 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5245
a688864e
SP
5246 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5247
6295157a
SP
5248 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5249
b8de2202
SP
5250 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5251
11d6e2f2
SP
5252 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5253
7e80ddb8
RM
52542013-02-26 Roland McGrath <roland@hack.frob.com>
5255
5256 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5257 [$(build-shared = yes].
7e80ddb8 5258
7da6d9ed
SP
52592013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5260
45f05884
SP
5261 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5262 (__mul): Reduce iterations for calculating mantissa.
5263
2236d359
SP
5264 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5265 MPTWO.
5266 (__mpranred): Likewise.
5267
7da6d9ed
SP
5268 [BZ #15160]
5269 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5270 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5271
b7688c42
PE
52722013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5273
5274 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5275 Define __attribute__.
5276
53a5c423
SP
52772013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5278
5279 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5280 unused.
5281 * posix/regex_internal.h (__attribute): Remove.
5282 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5283 (re_string_context_at): Likewise.
5284 (bitset_not): Use __attribute__ and mark function as possibly
5285 unused.
5286 (bitset_merge): Likewise.
5287 (bitset_mask): Likewise.
5288 (re_string_char_size_at): Likewise.
5289 (re_string_wchar_at): Likewise.
5290 (re_string_elem_size_at): Likewise.
5291
60f5a8b5
SP
52922013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5293
2a983a2e
SP
5294 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5295 code.
5296 (cc32): Likewise.
5297
e69804d1
SP
5298 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5299 (__acr): Likewise.
5300 (__cpy): Likewise.
5301 (norm): Likewise.
5302 (denorm): Likewise.
5303 (__dbl_mp): Likewise.
5304 (add_magnitudes): Likewise.
5305 (sub_magnitudes): Likewise.
5306 (__mul): Likewise.
5307 (__inv): Likewise.
5308
2f22a1e8
SP
5309 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5310 style.
5311
8930ddc7
SP
5312 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5313 style.
5314
dc60cb11
SP
5315 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5316 code.
5317
60f5a8b5
SP
5318 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5319 up changes with default code.
5320 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5321 Likewise.
5322
b4d1fd33
AM
53232013-02-24 Allan McRae <allan@archlinux.org>
5324
faf6f8bc
AM
5325 * manual/socket.texi (The Internet Namespace): Order menu items
5326 to match that in the file.
5327
b4d1fd33
AM
5328 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5329 node listing of the info page menu.
5330
2366713d
JM
53312013-02-21 Joseph Myers <joseph@codesourcery.com>
5332
5333 [BZ #13550]
5334 * sysdeps/i386/bp-asm.h: Remove file.
5335 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5336 (PARMS): Do not use macros from bp-asm.h.
5337 (S1): Likewise.
5338 (S2): Likewise.
5339 (SIZE): Likewise.
5340 (__mpn_add_n): Do not use BP_SYM
5341 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5342 "bp-asm.h".
5343 (PARMS): Do not use macros from bp-asm.h.
5344 (S1): Likewise.
5345 (SIZE): Likewise.
5346 (__mpn_addmul_1): Do not use BP_SYM
5347 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5348 "bp-asm.h".
5349 (PARMS): Do not use macros from bp-asm.h.
5350 (SIGMSK): Likewise.
5351 (_setjmp): Likewise. Do not use BP_SYM.
5352 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5353 "bp-asm.h".
5354 (PARMS): Do not use macros from bp-asm.h.
5355 (SIGMSK): Likewise.
5356 (setjmp): Likewise. Do not use BP_SYM.
5357 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5358 "bp-asm.h".
5359 (PARMS): Do not use macros from bp-asm.h.
5360 (__frexp): Do not use BP_SYM.
5361 (frexp): Likewise.
5362 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5363 "bp-asm.h".
5364 (PARMS): Do not use macros from bp-asm.h.
5365 (__frexpf): Do not use BP_SYM.
5366 (frexpf): Likewise.
5367 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5368 "bp-asm.h".
5369 (PARMS): Do not use macros from bp-asm.h.
5370 (__frexpl): Do not use BP_SYM.
5371 (frexpl): Likewise.
5372 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5373 "bp-asm.h".
5374 (PARMS): Do not use macros from bp-asm.h.
5375 (__remquo): Do not use BP_SYM.
5376 (remquo): Likewise.
5377 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5378 "bp-asm.h".
5379 (PARMS): Do not use macros from bp-asm.h.
5380 (__remquof): Do not use BP_SYM.
5381 (remquof): Likewise.
5382 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5383 "bp-asm.h".
5384 (PARMS): Do not use macros from bp-asm.h.
5385 (__remquol): Do not use BP_SYM.
5386 (remquol): Likewise.
5387 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5388 "bp-asm.h".
5389 (PARMS): Do not use macros from bp-asm.h.
5390 (DEST): Likewise.
5391 (SRC): Likewise.
5392 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5393 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5394 "bp-asm.h".
5395 (PARMS): Do not use macros from bp-asm.h.
5396 (strlen): Do not use BP_SYM.
5397 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5398 "bp-asm.h".
5399 (PARMS): Do not use macros from bp-asm.h.
5400 (S1): Likewise.
5401 (S2): Likewise.
5402 (SIZE): Likewise.
5403 (__mpn_add_n): Do not use BP_SYM.
5404 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5405 "bp-asm.h".
5406 (PARMS): Do not use macros from bp-asm.h.
5407 (S1): Likewise.
5408 (SIZE): Likewise.
5409 (__mpn_addmul_1): Do not use BP_SYM.
5410 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5411 weak_alias.
5412 (bzero): Likewise.
5413 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5414 "bp-asm.h".
5415 (PARMS): Do not use macros from bp-asm.h.
5416 (S): Likewise.
5417 (SIZE): Likewise.
5418 (__mpn_lshift): Do not use BP_SYM.
5419 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5420 "bp-asm.h".
5421 (PARMS): Do not use macros from bp-asm.h.
5422 (DEST): Likewise.
5423 (SRC): Likewise.
5424 (LEN): Likewise.
5425 (memcpy): Likewise. Do not use BP_SYM.
5426 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5427 libc_hidden_def and weak_alias.
5428 (mempcpy): Do not use BP_SYM in weak_alias.
5429 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5430 "bp-asm.h".
5431 (PARMS): Do not use macros from bp-asm.h.
5432 (DEST): Likewise.
5433 (LEN): Likewise.
5434 [!BZERO_P] (CHR): Likewise.
5435 (memset): Likewise. Do not use BP_SYM.
5436 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5437 "bp-asm.h".
5438 (PARMS): Do not use macros from bp-asm.h.
5439 (S1): Likewise.
5440 (SIZE): Likewise.
5441 (__mpn_mul_1): Do not use BP_SYM.
5442 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5443 "bp-asm.h".
5444 (PARMS): Do not use macros from bp-asm.h.
5445 (S): Likewise.
5446 (SIZE): Likewise.
5447 (__mpn_rshift): Do not use BP_SYM.
5448 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5449 "bp-asm.h".
5450 (PARMS): Do not use macros from bp-asm.h.
5451 (STR): Likewise.
5452 (CHR): Likewise.
5453 (strchr): Likewise. Do not use BP_SYM.
5454 (index): Do not use BP_SYM in weak_alias.
5455 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5456 "bp-asm.h".
5457 (PARMS): Do not use macros from bp-asm.h.
5458 (DEST): Likewise.
5459 (SRC): Likewise.
5460 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
5461 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5462 "bp-asm.h".
5463 (PARMS): Do not use macros from bp-asm.h.
5464 (strlen): Do not use BP_SYM.
5465 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5466 "bp-asm.h".
5467 (PARMS): Do not use macros from bp-asm.h.
5468 (S1): Likewise.
5469 (S2): Likewise.
5470 (SIZE): Likewise.
5471 (__mpn_sub_n): Do not use BP_SYM.
5472 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5473 "bp-asm.h".
5474 (PARMS): Do not use macros from bp-asm.h.
5475 (S1): Likewise.
5476 (SIZE): Likewise.
5477 (__mpn_submul_1): Do not use BP_SYM.
5478 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5479 "bp-asm.h".
5480 (PARMS): Do not use macros from bp-asm.h.
5481 (S1): Likewise.
5482 (S2): Likewise.
5483 (SIZE): Likewise.
5484 (__mpn_add_n): Do not use BP_SYM.
5485 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5486 weak_alias.
5487 (bzero): Likewise.
5488 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5489 "bp-asm.h".
5490 (PARMS): Do not use macros from bp-asm.h.
5491 (BLK2): Likewise.
5492 (LEN): Likewise.
5493 (memcmp): Do not use BP_SYM.
5494 (bcmp): Do not use BP_SYM in weak_alias.
5495 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5496 "bp-asm.h".
5497 (PARMS): Do not use macros from bp-asm.h.
5498 (DEST): Likewise.
5499 (SRC): Likewise.
5500 (LEN): Likewise.
5501 (memcpy): Likewise. Do not use BP_SYM.
5502 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5503 "bp-asm.h".
5504 (PARMS): Do not use macros from bp-asm.h.
5505 (DEST): Likewise.
5506 (SRC): Likewise.
5507 (LEN): Likewise.
5508 (memmove): Likewise. Do not use BP_SYM.
5509 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5510 "bp-asm.h".
5511 (PARMS): Do not use macros from bp-asm.h.
5512 (DEST): Likewise.
5513 (SRC): Likewise.
5514 (LEN): Likewise.
5515 (__mempcpy): Likewise. Do not use BP_SYM.
5516 (mempcpy): Do not use BP_SYM in weak_alias.
5517 * sysdeps/i386/i686/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/i686/strcmp.S: Do not include "bp-sym.h" and
5525 "bp-asm.h".
5526 (PARMS): Do not use macros from bp-asm.h.
5527 (STR2): Likewise.
5528 (strcmp): Do not use BP_SYM.
5529 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5530 "bp-asm.h".
5531 (PARMS): Do not use macros from bp-asm.h.
5532 (STR): Likewise.
5533 (DELIM): Likewise.
5534 [USE_AS_STRTOK_R] (SAVE): Likewise.
5535 (FUNCTION): Likewise. Do not use BP_SYM.
5536 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5537 aliases.
5538 (strtok_r): Likewise.
5539 (__GI___strtok_r): Likewise.
5540 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5541 (PARMS): Do not use macros from bp-asm.h.
5542 (S): Likewise.
5543 (SIZE): Likewise.
5544 (__mpn_lshift): Do not use BP_SYM.
5545 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5546 (PARMS): Do not use macros from bp-asm.h.
5547 (STR): Likewise.
5548 (CHR): Likewise.
5549 (__memchr): Do not use BP_SYM.
5550 (memchr): Do not use BP_SYM in weak_alias.
5551 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5552 (PARMS): Do not use macros from bp-asm.h.
5553 (BLK2): Likewise.
5554 (LEN): Likewise.
5555 (memcmp): Do not use BP_SYM.
5556 (bcmp): Do not use BP_SYM in weak_alias.
5557 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5558 (PARMS): Do not use macros from bp-asm.h.
5559 (S1): Likewise.
5560 (SIZE): Likewise.
5561 (__mpn_mul_1): Do not use BP_SYM.
5562 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5563 "bp-asm.h".
5564 (PARMS): Do not use macros from bp-asm.h.
5565 (STR): Likewise.
5566 (CHR): Likewise.
5567 (__rawmemchr): Do not use BP_SYM.
5568 (rawmemchr): Do not use BP_SYM in weak_alias.
5569 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5570 (PARMS): Do not use macros from bp-asm.h.
5571 (S): Likewise.
5572 (SIZE): Likewise.
5573 (__mpn_rshift): Do not use BP_SYM.
5574 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5575 (PARMS): Do not use macros from bp-asm.h.
5576 (SIGMSK): Likewise.
5577 (__sigsetjmp): Likewise. Do not use BP_SYM.
5578 * sysdeps/i386/start.S: Do not include "bp-sym.h".
5579 (_start): Do not use BP_SYM.
5580 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5581 (PARMS): Do not use macros from bp-asm.h.
5582 (DEST): Likewise.
5583 (SRC): Likewise.
5584 (__stpcpy): Likewise. Do not use BP_SYM.
5585 (stpcpy): Do not use BP_SYM in weak_alias.
5586 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5587 "bp-asm.h".
5588 (PARMS): Do not use macros from bp-asm.h.
5589 (DEST): Likewise.
5590 (SRC): Likewise.
5591 (LEN): Likewise.
5592 (__stpncpy): Likewise. Do not use BP_SYM.
5593 (stpncpy): Do not use BP_SYM in weak_alias.
5594 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5595 (PARMS): Do not use macros from bp-asm.h.
5596 (STR): Likewise.
5597 (CHR): Likewise.
5598 (strchr): Likewise. Do not use BP_SYM.
5599 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5600 "bp-asm.h".
5601 (PARMS): Do not use macros from bp-asm.h.
5602 (STR): Likewise.
5603 (CHR): Likewise.
5604 (__strchrnul): Likewise. Do not use BP_SYM.
5605 (strchrnul): Do not use BP_SYM in weak_alias.
5606 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5607 "bp-asm.h".
5608 (PARMS): Do not use macros from bp-asm.h.
5609 (STOP): Likewise.
5610 (strcspn): Do not use BP_SYM.
5611 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5612 "bp-asm.h".
5613 (PARMS): Do not use macros from bp-asm.h.
5614 (STR): Likewise.
5615 (STOP): Likewise.
5616 (strpbrk): Likewise. Do not use BP_SYM.
5617 * sysdeps/i386/strrchr.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 (CHR): Likewise.
5622 (strrchr): Likewise. Do not use BP_SYM.
5623 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5624 (PARMS): Do not use macros from bp-asm.h.
5625 (SKIP): Likewise.
5626 (strspn): Do not use BP_SYM.
5627 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5628 (PARMS): Do not use macros from bp-asm.h.
5629 (STR): Likewise.
5630 (DELIM): Likewise.
5631 (SAVE): Likewise.
5632 (FUNCTION): Likewise. Do not use BP_SYM.
5633 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5634 aliases.
5635 (strtok_r): Likewise.
5636 (__GI___strtok_r): Likewise.
5637 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5638 (PARMS): Do not use macros from bp-asm.h.
5639 (S1): Likewise.
5640 (S2): Likewise.
5641 (SIZE): Likewise.
5642 (__mpn_sub_n): Do not use BP_SYM.
5643 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5644 "bp-asm.h".
5645 (PARMS): Do not use macros from bp-asm.h.
5646 (S1): Likewise.
5647 (SIZE): Likewise.
5648 (__mpn_submul_1): Do not use BP_SYM.
5649 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5650 <bp-sym.h>.
5651 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5652 and <bp-asm.h>.
5653 (PARMS): Do not use macros from bp-asm.h.
5654 (FLAGS): Likewise.
5655 (PTID): Likewise.
5656 (TLS): Likewise.
5657 (CTID): Likewise.
5658 (__clone): Do not use BP_SYM.
5659 (clone): Do not use BP_SYM in weak_alias.
5660 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5661 and <bp-asm.h>.
5662 (PARMS): Do not use macros from bp-asm.h.
5663 (LEN): Likewise.
5664 (__mmap64): Do not use BP_SYM.
5665 (mmap64): Do not use BP_SYM in weak_alias.
5666 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5667 <bp-sym.h> and <bp-asm.h>.
5668 (PARMS): Do not use macros from bp-asm.h.
5669 (__posix_fadvise64_l64): Do not use BP_SYM.
5670 * sysdeps/unix/sysv/linux/i386/semtimedop.S
5671 (PARMS): Do not use macros from bp-asm.h.
5672 (NSOPS): Likewise.
5673 (semtimedop): Do not use BP_SYM.
5674 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5675 and <bp-asm.h>.
5676
582a3cff
AM
56772013-02-21 Allan McRae <allan@archlinux.org>
5678
5679 * manual/message.texi (Charset conversion in gettext):
5680 Move @end statement to beginning of line.
5681
bab8a695
SP
56822013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5683
80945231
SP
5684 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5685 static.
5686 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5687 Likewise.
5688
bab8a695
SP
5689 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5690 (denorm): Likewise.
5691 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5692 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5693
e21d7aa7
AK
56942013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5695
5696 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5697 tail-call to the resolved function if pltexit isn't needed.
5698
4c7a4263
SP
56992013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5700
5701 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5702 or Y being zero as being unlikely.
5703 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5704 Likewise.
5705
41f49342
CD
57062013-02-20 Carlos O'Donell <carlos@redhat.com>
5707
5708 * manual/nss.texi (System Databases and Name Service Switch):
5709 Remove frobnicate @pxref.
5710
50022a93
TS
57112013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5712
5713 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5714 __attribute__ ((unused)) to __attribute__ ((__unused__)).
5715
08cbd996
PM
57162013-02-20 Petr Machata <pmachata@redhat.com>
5717
5718 * elf/elf.h (R_ARM_TARGET1): New macro.
5719 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5720 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5721 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5722 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5723 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5724 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5725 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5726 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5727 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5728 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5729 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5730 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5731 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
5732 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
5733 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
5734 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
5735 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
5736 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
5737 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
5738 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
5739 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
5740 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
5741 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
5742 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
5743 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
5744 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
5745 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
5746 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
5747 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
5748 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
5749 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
5750 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
5751 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
5752 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
5753 (R_ARM_THM_GOT_BREL12): Likewise.
5754 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
5755 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
5756 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
5757 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
5758 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
5759 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
5760 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
5761 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
5762 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
5763
c7b275d6
TS
57642013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5765
5766 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5767 __attribute_used__ to __attribute__ ((unused)).
5768
20cd7fb3
SP
57692013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5770
5771 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
5772 powerpc mpa.c.
5773 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
5774 comment formatting.
5775 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
5776
92945b52
JM
57772013-02-19 Joseph Myers <joseph@codesourcery.com>
5778
5779 [BZ #13550]
5780 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
5781 Remove macro.
5782 (ENTER): Remove both macro definitions.
5783 (LEAVE): Likewise.
5784 (CHECK_BOUNDS_LOW): Likewise.
5785 (CHECK_BOUNDS_HIGH): Likewise.
5786 (CHECK_BOUNDS_BOTH): Likewise.
5787 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
5788 (RETURN_BOUNDED_POINTER): Likewise.
5789 (RETURN_NULL_BOUNDED_POINTER): Likewise.
5790 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
5791 (POP_ERRNO_LOCATION_RETURN): Likewise.
5792 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
5793 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5794 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
5795 macros.
5796 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5797 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
5798 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
5799 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
5800 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
5801 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
5802 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
5803 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
5804 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
5805 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
5806 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
5807 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
5808 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5809 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
5810 removed macros.
5811 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5812 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
5813 macros.
5814 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5815 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
5816 * sysdeps/i386/i586/memset.S (memset): Likewise.
5817 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
5818 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5819 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
5820 macros.
5821 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5822 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
5823 Change uses of L(2) to L(out).
5824 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
5825 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
5826 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
5827 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5828 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
5829 removed macros.
5830 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5831 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
5832 macros.
5833 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5834 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
5835 (RETURN): Do not use macro LEAVE.
5836 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
5837 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
5838 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
5839 * sysdeps/i386/i686/memset.S (memset): Likewise.
5840 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
5841 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
5842 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5843 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
5844 Likewise.
5845 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5846 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
5847 L(1_2) and L(1_3) into L(1).
5848 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5849 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
5850 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5851 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
5852 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5853 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
5854 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
5855 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5856 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
5857 macros.
5858 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
5859 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5860 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
5861 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
5862 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
5863 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5864 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
5865 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
5866 * sysdeps/i386/strcspn.S (strcspn): Likewise.
5867 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
5868 * sysdeps/i386/strrchr.S (strrchr): Likewise.
5869 * sysdeps/i386/strspn.S (strspn): Likewise.
5870 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
5871 conditional code.
5872 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5873 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
5874 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5875 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
5876 L(1_3) into L(1_1).
5877 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
5878 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5879 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
5880 macros.
5881 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5882
2389741a
JJ
58832013-02-19 Jakub Jelinek <jakub@redhat.com>
5884
5885 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
5886 macro.
5887
2016b3cd
SP
58882013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5889
e4f22324
SP
5890 * math/atest-exp.c (exp_mpn): Remove ROUND.
5891 * math/atest-exp2.c (exp_mpn): Likewise.
5892 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
5893
2016b3cd
SP
5894 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
5895 * stdlib/tst-tls-atexit-lib.c: Likewise.
5896 * stdlib/tst-tls-atexit.c: Likewise.
5897
4be9b544
MF
58982013-02-18 Mike Frysinger <vapier@gentoo.org>
5899
5900 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
5901 and __attribute_alloc_size__.
5902
2f62b9ee
MF
59032013-02-18 Mike Frysinger <vapier@gentoo.org>
5904
5905 * include/programs/xmalloc.h: Change __attribute_alloc_size to
5906 __attribute_alloc_size__.
5907 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
5908 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
5909
6ff444c4
MF
59102013-02-18 Mike Frysinger <vapier@gentoo.org>
5911
5912 * include/programs/xmalloc.h: New file.
5913 * catgets/gencat.c: Include it.
5914 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
5915 * elf/pldd.c: Likewise.
5916 * iconv/iconv_charmap.c: Likewise.
5917 * iconv/iconvconfig.c: Likewise.
5918 * iconv/strtab.c: Likewise.
5919 * locale/programs/locale.c: Likewise.
5920 * locale/programs/localedef.h: Likewise.
5921 * locale/programs/simple-hash.c: Likewise.
5922 * nscd/nscd.h: Likewise.
5923 * nss/makedb.c: Likewise.
5924 * sysdeps/generic/ldconfig.h: Likewise.
5925
be179c8a
SP
59262013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5927
ba384f6e
SP
5928 * Versions.def: Add GLIBC_2.18.
5929 * include/link.h (struct link_map): New member l_tls_dtor_count.
5930 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
5931 (__call_tls_dtors): Likewise.
5932 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
5933 __cxa_thread_atexit_impl.
5934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5935 Likewise.
5936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5937 Likewise.
5938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5939 Likewise.
5940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5941 Likewise.
5942 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
5944 Likewise.
5945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
5946 Likewise.
5947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5949 Likewise.
5950 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
5951 (tests): Add test case tst-tls-atexit.
5952 (modules-names): Add shared library for tst-tls-atexit.
5953 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
5954 (GLIBC_PRIVATE): Add __call_tls_dtors.
5955 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
5956 for libstdc++.
5957 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
5958 * stdlib/tst-tls-atexit.c: New test case.
5959 * stdlib/tst-tls-atexit-lib.c: New test case.
5960
ffaa74cf 5961 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 5962
be179c8a
SP
5963 * elf/Versions (ld): Add _dl_find_dso_for_object.
5964 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
5965 * elf/dl-open.c (_dl_find_dso_for_object): New function.
5966 (dl_open_worker): Use _dl_find_dso_for_object.
5967 * elf/dl-sym.c (do_sym): Likewise.
5968 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
5969
f78b5caa
AK
59702013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5971
5972 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
5973 Syntactic changes only.
5974 (_dl_runtime_profile): Do a tail-call to the resolved function.
5975
29691210
JM
59762013-02-17 Joseph Myers <joseph@codesourcery.com>
5977
5978 [BZ #13550]
5979 * sysdeps/x86_64/bp-asm.h: Remove file.
5980 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
5981 <bp-sym.h> and <bp-asm.h>.
5982 (__clone): Do not use BP_SYM.
5983 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
5984 <bp-sym.h> and <bp-asm.h>.
5985 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5986 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
5987 "bp-asm.h".
5988 (_setjmp): Do not use BP_SYM.
5989 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
5990 "bp-asm.h".
5991 (setjmp): Do not use BP_SYM.
5992 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
5993 libc_hidden_def.
5994 (mempcpy): Do not use BP_SYM in weak_alias.
5995 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
5996 "bp-asm.h".
5997 (strchr): Do not use BP_SYM.
5998 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
5999 "bp-asm.h".
6000 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6001 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6002 (_start): Do not use BP_SYM.
6003 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6004 "bp-asm.h".
6005 (strcat): Do not use BP_SYM.
6006 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6007 "bp-asm.h".
6008 (STRCMP): Do not use BP_SYM.
6009 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6010 "bp-asm.h".
6011 (STRCPY): Do not use BP_SYM.
6012 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6013 "bp-asm.h".
6014 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6015 "bp-asm.h".
6016 (FUNCTION): Do not use BP_SYM.
6017 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6018 weak_alias.
6019 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6020
f238fd19
AJ
60212013-02-17 Andreas Jaeger <aj@suse.de>
6022
6023 * time/Versions: Sort entries.
6024 * string/Versions: Likewise.
6025 * resolv/Versions: Likewise.
6026 * posix/Versions: Likewise.
6027 * iconv/Versions: Likewise.
6028 * elf/Versions: Likewise.
6029 * wcsmbs/Versions: Likewise.
6030
bd07f23c 60312013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6032
22af19f9
SP
6033 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6034 loop termination condition.
6035
4709fe76
SP
6036 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6037 variable to calculate EZ.
6038 (__sqr): Likewise.
2d0e0f29
SP
6039
6040 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6041 the lower precision input.
6042
daaa7713
JM
60432013-02-15 Joseph Myers <joseph@codesourcery.com>
6044
6045 [BZ #13550]
6046 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6047 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6048 (run-via-rtld-prefix): Do not handle %-bp tests.
6049 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6050 (all-object-suffixes): Remove .ob.
6051 (bppfx): Remove variable.
6052 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6053 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6054 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6055 [$(build-bounded) = yes] (libtype.ob): Likewise.
6056 * Makerules (elide-routines.ob): Remove variable.
6057 (do-tests-clean): Do not handle *-bp.out.
6058 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6059 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6060 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6061 (tests): Do not include $(tests-bp.out).
6062 (xtests): Do not include $(xtests-bp.out).
6063 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6064 [$(build-bounded) = yes] ($(addprefix
6065 $(objpfx),$(binaries-bounded))): Remove rule.
6066 ($(objpfx)%-bp.out): Remove rule.
6067 * config.make.in (build-bounded): Remove variable.
6068 * crypt/Makefile [$(build-bounded) = yes]
6069 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6070 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6071 append to variable.
6072 [$(build-bounded) = yes] (install-lib): Likewise.
6073 [$(build-bounded) = yes] (generated): Likewise.
6074 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6075 Remove rule.
6076 * intl/Makefile [$(build-bounded) = yes]
6077 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6078 * math/Makefile [$(build-bounded) = yes]
6079 ($(tests:%=$(objpfx)%-bp): Likewise.
6080 * misc/Makefile [$(build-bounded) = yes]
6081 ($(objpfx)tst-tsearch-bp): Likewise.
6082 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6083 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6084 Remove dependency.
6085 * string/Makefile (o-objects.ob): Remove variable.
6086 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6087 (CFLAGS-.ob): Remove variable.
6088 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6089 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6090 both definitions of variable.
6091 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6092 (ASFLAGS-.ob): Remove variable.
6093
e97ed6dd
JM
60942013-02-14 Joseph Myers <joseph@codesourcery.com>
6095
2bdd4ca6
JM
6096 [BZ #13550]
6097 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6098 Remove __BOUNDED_POINTERS__ from condition.
6099 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6100 * string/bits/string2.h [!__NO_STRING_INLINES &&
6101 !__BOUNDED_POINTERS__]: Likewise.
6102 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6103 Likewise.
6104 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6105 Remove conditional code.
6106 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6107 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6108 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6109 condition.
6110
e97ed6dd
JM
6111 [BZ #13550]
6112 * csu/libc-start.c: Do not include <bp-sym.h>.
6113 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6114 * elf/dl-open.c: Do not include <bp-sym.h>.
6115 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6116 * math/fegetenv.c: Do not include <bp-sym.h>.
6117 (fegetenv): Do not use BP_SYM in versioned symbols.
6118 * nptl/sysdeps/pthread/bits/libc-lockP.h
6119 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6120 <bp-sym.h>.
6121 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6122 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6123 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6124 (__pthread_mutex_destroy): Likewise.
6125 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6126 (__pthread_mutex_lock): Likewise.
6127 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6128 (__pthread_mutex_trylock): Likewise.
6129 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6130 (__pthread_mutex_unlock): Likewise.
6131 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6132 (__pthread_mutexattr_init): Likewise.
6133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6134 (__pthread_mutexattr_destroy): Likewise.
6135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6136 (__pthread_mutexattr_settype): Likewise.
6137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6138 (__pthread_rwlock_init): Likewise.
6139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6140 (__pthread_rwlock_destroy): Likewise.
6141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6142 (__pthread_rwlock_rdlock): Likewise.
6143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6144 (__pthread_rwlock_tryrdlock): Likewise.
6145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6146 (__pthread_rwlock_wrlock): Likewise.
6147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6148 (__pthread_rwlock_trywrlock): Likewise.
6149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6150 (__pthread_rwlock_unlock): Likewise.
6151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6152 (__pthread_key_create): Likewise.
6153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6154 (__pthread_setspecific): Likewise.
6155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6156 (__pthread_getspecific): Likewise.
6157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6158 Likewise.
6159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6160 (_pthread_cleanup_push_defer): Likewise.
6161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6162 (_pthread_cleanup_pop_restore): Likewise.
6163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6164 (pthread_setcancelstate): Likewise.
6165 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6166 <bp-sym.h>.
6167 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6168 (memchr): Do not use BP_SYM in weak_alias.
6169 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6170 (fegetenv): Do not use BP_SYM in versioned symbols.
6171 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6172 (fesetenv): Do not use BP_SYM in versioned symbols.
6173 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6174 (feupdateenv): Do not use BP_SYM in versioned symbols.
6175 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6176 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6177 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6178 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6179 (open64): Do not use BP_SYM in weak_alias.
6180 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6181 (fegetenv): Do not use BP_SYM in versioned symbols.
6182 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6183 (fesetenv): Do not use BP_SYM in versioned symbols.
6184 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6185 (feupdateenv): Do not use BP_SYM in versioned symbols.
6186 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6187 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6188 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6189 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6190 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6191 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6192 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6193 <bp-sym.h>.
6194 (__libc_start_main): Do not use BP_SYM.
6195
d6752ccd
SP
61962013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6197
cb57ce60
SP
6198 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6199 redundant return line.
6200 (norm): Likewise.
6201 (denorm): Likewise.
6202 (dbl_mp): Likewise.
6203 (sub_magnitudes): Likewise.
6204 (__add): Likewise.
6205 (__sub): Likewise.
6206 (__mul): Likewise.
6207 (__inv): Likewise.
6208 (__dvd): Likewise.
6209 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6210 (norm): Likewise.
6211 (denorm): Likewise.
6212 (dbl_mp): Likewise.
6213 (sub_magnitudes): Likewise.
6214 (__add): Likewise.
6215 (__sub): Likewise.
6216 (__mul): Likewise.
6217 (__inv): Likewise.
6218 (__dvd): Likewise.
6219
f414520d
SP
6220 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6221 instead of __mul.
6222 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6223 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6224 (cc32): Likewise.
6225
d6752ccd
SP
6226 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6227 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6228 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6229 of __mul for squares.
6230 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6231 function
6232 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6233 Likewise.
6234 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6235 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6236
70d9946a
JM
62372013-02-13 Joseph Myers <joseph@codesourcery.com>
6238
6239 [BZ #13550]
6240 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6241 code.
6242 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6243 prototype or function definition. Rename ubp_* variables and
6244 parameters. Remove argv definitions conditional on
6245 [__BOUNDED_POINTERS__].
6246 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6247 * elf/dl-runtime.c (_dl_fixup): Likewise.
6248 * include/set-hooks.h (RUN_HOOK): Likewise.
6249 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6250 definition.
6251 * string/strcpy.c (strcpy): Do not use __unbounded.
6252 * sysdeps/generic/frame.h (struct layout): Likewise.
6253 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6254 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6255 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6256 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6257 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6258 (__backtrace): Likewise.
6259 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6260 use __ptrvalue.
6261 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6262 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6263 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6264 Likewise.
6265 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6266 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6267 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6268 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6269 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6270 Do not use __unbounded.
6271 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6272 Rename __unboundedrlimits parameter to rlimits in prototype.
6273 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6274 Do not use __unbounded.
6275 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6276 not use __ptrvalue.
6277 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6278 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6279 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6280 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6281 __ptrvalue or __unbounded.
6282 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6283 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6284 use __unbounded.
6285 (__new_msgctl): Do not use __ptrvalue.
6286 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6287 __unbounded.
6288 (__libc_msgrcv): Do not use __ptrvalue.
6289 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6290 startup_info): Do not use __unbounded.
6291 (__libc_start_main): Likewise. Rename ubp_* variables and
6292 parameters. Remove argv definitions conditional on
6293 [__BOUNDED_POINTERS__].
6294 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6295 __ptrvalue.
6296 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6297 use __unbounded.
6298 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6299 or __ptrvalue.
6300 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6301 use __unbounded.
6302 (__new_shmctl): Do not use __ptrvalue.
6303 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6304 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6305 Likewise.
6306 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6307 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6308 (__libc_sigaction): Likewise.
6309 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6310 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6311 Likewise.
6312 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6313
cc7834d6
OB
63142013-02-13 Ondřej Bílka <neleai@seznam.cz>
6315
ffb1ec7b 6316 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
6317
6318 * string/mempcpy.c: Implement by calling memcpy.
6319
bdf02814
SP
63202013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6321
c2af38aa
SP
6322 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6323
4e92d59e
SP
6324 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6325 evaluation.
6326
909279a5
SP
6327 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6328 values in the mantissa.
6329
bdf02814
SP
6330 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6331 minimize writes to Z.
6332 (sub_magnitudes): Simplify code a bit.
6333
cd525923
RM
63342013-02-12 Roland McGrath <roland@hack.frob.com>
6335
6336 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6337 from the message. The linker prefixes all warnings with that already.
6338
7e2f0d2d
AS
63392013-02-12 Andreas Schwab <schwab@suse.de>
6340
a445af0b
AS
6341 [BZ #15078]
6342 * posix/regexec.c (extend_buffers): Add parameter min_len.
6343 (check_matching): Pass minimum needed length.
6344 (clean_state_log_if_needed): Likewise.
6345 (get_subexp): Likewise.
6346 * posix/Makefile (tests): Add bug-regex34.
6347 (bug-regex34-ENV): Define.
6348 * posix/bug-regex34.c: New file.
6349
7e2f0d2d
AS
6350 [BZ #11561]
6351 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6352 elements compare against the byte sequence of it, not its name.
6353 * posix/Makefile (tests): Add bug-regex35.
6354 (bug-regex35-ENV): Define.
6355 * posix/bug-regex35.c: New file.
6356
a175b684
TV
63572013-02-11 Tom de Vries <tom@codesourcery.com>
6358
6359 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6360 comment.
6361 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6362 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6363 (CHECK_EOL): Add undef.
6364
310998fe 63652013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
6366
6367 * bits/stdlib-bsearch.h: New file.
6368 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 6369 * stdlib/stdlib.h: Likewise.
41eda41d 6370
8ded91fb
RM
63712013-02-11 Roland McGrath <roland@hack.frob.com>
6372
6373 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6374 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6375 declaration.
6376 * manual/search.texi (Array Search Function): Add missing const in
6377 lfind prototype.
6378 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6379 declaration to use rlim_t.
6380 (Basic Scheduling Functions): Remove erroneous const from
6381 sched_getparam prototype. Remove erroneous * from
6382 sched_get_priority_max and sched_get_priority_min prototypes.
6383 (Resource Usage): Fix summary @comment on vtimes to refer to
6384 sys/vtimes.h rather than vtimes.h.
6385 Add missing *s in vtimes prototype.
6386 (Limits on Resources): Fix ulimit prototype to return long int.
6387 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6388 prototypes to use long int rather than double.
6389 (BSD Random): Fix initstate and setstate to use char *, not void *.
6390 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6391 prototype to make second argument 'struct aiocb64 *const[]'.
6392 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6393 (Status of AIO Operations): Remove erroneous const in aio_return and
6394 aio_return64 prototypes.
6395 (Synchronizing I/O): Fix sync prototype to return void.
6396 * manual/startup.texi (Suboptions): Remove an erroneous const in
6397 getsubopt prototype.
6398 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6399 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6400 use size_t rather than int.
6401 (Scanning All Users): Likewise for getpwent_r.
6402 (Setting Groups): Add missing const to setgroups prototype.
6403 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6404 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6405 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6406 'const void *' rather than 'const char *'.
6407 (Host Address Functions): Likewise for inet_ntop.
6408 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6409 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6410 ssize_t for return value.
6411 (Sending Data): Likewise for send, sendto, sendmsg.
6412 (Socket Option Functions): Add a missing const in setsockopt prototype.
6413 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6414 use wchar_t for the argument.
6415 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6416 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6417 take no arguments.
6418 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6419 double/float/long double for second argument.
6420 Fix return types of significand, significandf, significandl.
6421 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6422 argument in fchmod prototype.
6423 (File Owner): Use uid_t and gid_t in fchown prototype.
6424 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6425 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6426 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6427 use 'const struct dirent **' as argument types to CMP function pointer
6428 argument.
6429 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6430 (File Times): Fix summary magic @comment for struct utimbuf and utime
6431 to refer to utime.h, not time.h.
6432 * manual/string.texi (Argz Functions): Add missing const in
6433 argz_extract and argz_next prototypes.
6434 (Finding Tokens in a String): Likewise for basename.
6435 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6436 (Copying and Concatenation): Fix typo in wmemmove prototype.
6437 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6438 (Signal Stack): Remove erroneous const in sigstack prototype.
6439 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6440 prototype.
6441 (Simple Calendar Time): Likewise for stime.
6442 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6443 prototype.
6444 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6445 say sys/sysctl.h instead.
6446 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6447 and vsyslog prototypes.
6448
fe77fe6d
TV
64492013-02-11 Tom de Vries <tom@codesourcery.com>
6450
6451 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6452 Remove.
6453
3a09b620
RM
64542013-02-11 Roland McGrath <roland@hack.frob.com>
6455
6456 * misc/sys/mman.h: Fix typo in mremap comment.
6457
550a0b89
RM
64582013-02-08 Roland McGrath <roland@hack.frob.com>
6459
6460 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6461 the '\0' terminator.
6462
a2da1673
JM
64632013-02-08 Joseph Myers <joseph@codesourcery.com>
6464
6465 [BZ #13550]
6466 * debug/segfault.c: Don't include <bp-checks.h>.
6467 * sysdeps/generic/bp-checks.h: Remove file.
6468 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6469 (__GETDENTS): Don't use CHECK_N.
6470 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6471 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6472 (__getgroups): Don't use CHECK_N.
6473 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6474 (setgroups): Don't use CHECK_N.
6475 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6476 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6477 (__libc_msgrcv): Don't use CHECK_N.
6478 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6479 (__libc_msgsnd): Don't use CHECK_N.
6480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6481 <bp-checks.h>.
6482 (__libc_pread): Don't use CHECK_N.
6483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6484 include <bp-checks.h>.
6485 (__libc_pread64): Don't use CHECK_N.
6486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6487 include <bp-checks.h>.
6488 (__libc_pwrite): Don't use CHECK_N.
6489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6490 include <bp-checks.h>.
6491 (__libc_pwrite64): Don't use CHECK_N.
6492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6493 <bp-checks.h>.
6494 (__libc_pread): Don't use CHECK_N.
6495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6496 include <bp-checks.h>.
6497 (__libc_pread64): Don't use CHECK_N.
6498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6499 include <bp-checks.h>.
6500 (__libc_pwrite): Don't use CHECK_N.
6501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6502 include <bp-checks.h>.
6503 (__libc_pwrite64): Don't use CHECK_N.
6504 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6505 (do_pread): Don't use CHECK_N.
6506 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6507 (do_pread64): Don't use CHECK_N.
6508 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6509 (do_pwrite): Don't use CHECK_N.
6510 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6511 (do_pwrite64): Don't use CHECK_N.
6512 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6513 (__libc_readv): Don't use CHECK_N.
6514 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6515 (semop): Don't use CHECK_N.
6516 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6517 <bp-checks.h>.
6518 (semtimedop): Don't use CHECK_N.
6519 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6520 (__libc_pread): Don't use CHECK_N.
6521 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6522 <bp-checks.h>.
6523 (__libc_pread64): Don't use CHECK_N.
6524 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6525 <bp-checks.h>.
6526 (__libc_pwrite): Don't use CHECK_N.
6527 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6528 <bp-checks.h>.
6529 (__libc_pwrite64): Don't use CHECK_N.
6530 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6531 <bp-checks.h>.
6532 (__libc_msgrcv): Don't use CHECK_N.
6533 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6534 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
6535 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6536 (__libc_writev): Don't use CHECK_N.
6537
b84660a8
RM
65382013-02-08 Roland McGrath <roland@hack.frob.com>
6539
7f3e75f8
RM
6540 * string/strcpy.c: Removed unused variable.
6541
b84660a8
RM
6542 * Makeconfig (+sysdep-includes): Define with := rather than =.
6543 Use an existing include/ subdir of each sysdeps dir before it.
6544
471514d3
CD
65452013-02-08 Carlos O'Donell <carlos@redhat.com>
6546
6547 * nscd/connection.c (register_traced_file): Comment function.
6548 [HAVE_INOTIFY] (union __inev): Define.
6549 [HAVE_INOTIFY] (inotify_check_files): New function.
6550 [HAVE_INOTIFY] (clear_db_cache): Likewise.
6551 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6552 clear_db_cache.
6553 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6554
b2d3c3be
CD
65552013-02-08 Carlos O'Donell <carlos@redhat.com>
6556
6557 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6558 loaded if not already and that a failure is permanent.
6559
b39949d2
CD
65602013-02-08 Carlos O'Donell <carlos@redhat.com>
6561
ddacd1db 6562 [BZ #15006]
b39949d2
CD
6563 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6564 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6565
b2c9eff4
JM
65662013-02-08 Joseph Myers <joseph@codesourcery.com>
6567
f3aae3f3
JM
6568 [BZ #13550]
6569 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6570 (CHECK_1_NULL_OK): Likewise.
6571 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6572 (__fxstat): Do not use CHECK_1.
6573 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6574 <bp-checks.h>.
6575 (___fxstat64): Do not use CHECK_1.
6576 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6577 <bp-checks.h>.
6578 (__fxstatat): Do not use CHECK_1.
6579 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6580 <bp-checks.h>.
6581 (__fxstatat64): Do not use CHECK_1.
6582 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6583 <bp-checks.h>.
6584 (__fxstat): Do not use CHECK_1.
6585 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6586 <bp-checks.h>.
6587 (__fxstatat): Do not use CHECK_1.
6588 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6589 <bp-checks.h>.
6590 (__getresgid): Do not use CHECK_1.
6591 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6592 <bp-checks.h>.
6593 (__getresuid): Do not use CHECK_1.
6594 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6595 <bp-checks.h>.
6596 (__lxstat): Do not use CHECK_1.
6597 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6598 <bp-checks.h>.
6599 (__old_msgctl): Do not use CHECK_1.
6600 (__new_msgctl): Likewise.
6601 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6602 <bp-checks.h>.
6603 (__new_setrlimit): Do not use CHECK_1.
6604 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6605 <bp-checks.h>.
6606 (__old_shmctl): Do not use CHECK_1.
6607 (__new_shmctl): Likewise.
6608 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6609 <bp-checks.h>.
6610 (__xstat): Do not use CHECK_1.
6611 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6612 (__lxstat): Do not use CHECK_1.
6613 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6614 <bp-checks.h>.
6615 (___lxstat64): Do not use CHECK_1.
6616 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6617 (__old_msgctl): Do not use CHECK_1.
6618 (__new_msgctl): Likewise.
6619 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6620 <bp-checks.h>.
6621 (__gettimeofday): Do not use CHECK_1.
6622 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6623 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6624 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6625 <bp-checks.h>.
6626 (__gettimeofday): Do not use CHECK_1.
6627 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6628 (__old_shmctl): Do not use CHECK_1_NULL_OK.
6629 (__new_shmctl): Do not use CHECK_1.
6630 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6631 <bp-checks.h>.
6632 (do_sigtimedwait): Do not use CHECK_1.
6633 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6634 <bp-checks.h>.
6635 (do_sigwaitinfo): Do not use CHECK_1.
6636 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6637 <bp-checks.h>.
6638 (msgctl): Do not use CHECK_1.
6639 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6640 <bp-checks.h>.
6641 (shmctl): Do not use CHECK_1.
6642 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6643 (ustat): Do not use CHECK_1.
6644 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6645 <bp-checks.h>.
6646 (__fxstat): Do not use CHECK_1.
6647 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6648 <bp-checks.h>.
6649 (__fxstatat): Do not use CHECK_1.
6650 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6651 <bp-checks.h>.
6652 (__lxstat): Do not use CHECK_1.
6653 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6654 <bp-checks.h>.
6655 (__xstat): Do not use CHECK_1.
6656 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6657 (__xstat): Do not use CHECK_1.
6658 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6659 (___xstat64): Do not use CHECK_1.
6660
b2c9eff4
JM
6661 [BZ #13550]
6662 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6663 definitions.
6664 (CHECK_BOUNDS_HIGH): Likewise.
6665 * string/strcpy.c: Do not include <bp-checks.h>.
6666 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6667
f1d70dad
RM
66682013-02-07 Roland McGrath <roland@hack.frob.com>
6669
6670 * nscd/nscd-client.h (__nscd_drop_map_ref):
6671 Add __attribute__ ((unused)).
6672 * nis/nss-nisplus.h (niserr2nss): Likewise.
6673
6674 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6675 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6676
6677 * csu/libc-tls.c (init_static_tls, init_slotinfo):
6678 Remove inline keyword.
6679 * include/rounding-mode.h (round_away): Likewise.
6680 * libio/wfileops.c (adjust_wide_data): Likewise.
6681 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6682 (__m128i_strloadu_tolower): Likewise.
6683 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6684 (__m128i_strloadu_tolower): Likewise.
6685 * time/mktime.c (ydhms_diff): Likewise.
6686 * locale/elem-hash.h (elem_hash): Likewise.
6687 * locale/setlocale.c (setdata): Likewise.
6688 * posix/regex_internal.h (re_string_char_size_at): Likewise.
6689 (re_string_wchar_at): Likewise.
6690 (bitset_not, bitset_merge, bitset_mask): Likewise.
6691 [!(__GNUC__ > 3)] (inline): Remove macro.
6692 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6693 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6694 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6695 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6696 * string/memcmp.c (memcmp_bytes): Likewise.
6697 * locale/programs/locarchive.c (compute_hashval): Likewise.
6698 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6699 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6700 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6701 * nss/getent.c (print_rpc, print_protocols): Likewise.
6702 (print_passwd, print_group, print_aliases): Likewise.
6703 * nis/nss-nisplus.h (niserr2nss): Likewise.
6704 * nscd/connections.c (restart_p): Likewise.
6705 Change return type to bool.
6706
eab55bfb
RM
67072013-02-05 Roland McGrath <roland@hack.frob.com>
6708
7bd642f5
RM
6709 * Makeconfig (all-Depend-files): Add existing
6710 $(sorted-subdirs:=/Depend) files.
6711 (all-subdirs): Remove nss.
6712 * sysdeps/unix/inet/Subdirs: Add it here instead.
6713 * hesiod/Depend: New file.
6714
573c29b2
RM
6715 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6716 instead of calling alloca.
6717
b2e25af0
RM
6718 * io/lseek.c (__lseek): Rename to __libc_lseek.
6719 Define __lseek as an alias.
6720
eab55bfb
RM
6721 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6722
9a0d1941
CD
67232013-02-04 Carlos O'Donell <carlos@redhat.com>
6724
6725 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6726 else clause and remove check for non-standard endianness.
6727
b83bbec4
DM
67282013-02-04 David S. Miller <davem@davemloft.net>
6729
6730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6731
6277fdab
JM
67322013-02-04 Joseph Myers <joseph@codesourcery.com>
6733
6734 [BZ #13550]
6735 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
6736 (__ubp_memchr): Remove prototype.
6737 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
6738 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6739 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
6740 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6741 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
6742 Remove alias.
6743 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
6744 (__ubp_memchr): Likewise.
6745 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
6746 (__ubp_memchr): Likewise.
6747 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
6748 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
6749 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
6750 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
6751 CHECK_STRING.
6752 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6753 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
6754 (__getcwd): Do not use CHECK_STRING.
6755 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6756 <bp-checks.h>.
6757 (__real_chown): Do not use CHECK_STRING.
6758 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
6759 <bp-checks.h>.
6760 (fchownat): Do not use CHECK_STRING.
6761 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
6762 CHECK_STRING.
6763 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6764 <bp-checks.h>.
6765 (__lchown): Do not use CHECK_STRING.
6766 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6767 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6768 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6769 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6771 include <bp-checks.h>.
6772 (truncate64): Do not use CHECK_STRING.
6773 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6774 <bp-checks.h>.
6775 (__real_chown): Do not use CHECK_STRING.
6776 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6777 <bp-checks.h>.
6778 (__lchown): Do not use CHECK_STRING.
6779 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6780 <bp-checks.h>.
6781 (__chown): Do not use CHECK_STRING.
6782 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
6783 <bp-checks.h>.
6784 (truncate64): Do not use CHECK_STRING.
6785 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
6786 Likewise.
6787 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
6788 (__xmknod): Do not use CHECK_STRING.
6789 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6790 <bp-checks.h>.
6791 (__xmknodat): Do not use CHECK_STRING.
6792 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6793 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6794
903ae060
AS
67952013-02-04 Andreas Schwab <schwab@suse.de>
6796
6797 [BZ #14142]
6798 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
6799 * include/netdb.h: Likewise for h_errno.
6800 * elf/tst-stackguard1.c: Include <tls.h>.
6801
542f9466
JK
68022013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6803
6804 * elf/link.h (struct link_map): Extend the l_addr comment.
6805 * include/link.h (struct link_map): Likewise.
6806
e782a927
JM
68072013-02-01 Joseph Myers <joseph@codesourcery.com>
6808
6809 [BZ #13550]
6810 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
6811 (BOUNDED_1): Remove macro.
6812 * debug/backtrace.c: Don't include <bp-checks.h>.
6813 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
6814 (__backtrace): Likewise.
6815 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
6816 <bp-checks.h>.
6817 (__backtrace): Don't use BOUNDED_1.
6818 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
6819 <bp-checks.h>.
6820 (__backtrace): Don't use BOUNDED_1.
6821 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
6822 (__backtrace): Don't use BOUNDED_1.
6823 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
6824 (shmat): Don't use BOUNDED_N.
6825
8cf28c5e
JM
68262013-01-31 Joseph Myers <joseph@codesourcery.com>
6827
3a7ac8a0
JM
6828 [BZ #13550]
6829 * sysdeps/generic/bp-start.h: Remove file.
6830 * csu/libc-start.c: Don't include <bp-start.h>.
6831 (LIBC_START_MAIN): Set up __environ directly instead of using
6832 INIT_ARGV_and_ENVIRON.
6833 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
6834 <bp-start.h>.
6835
f3499f95
JM
6836 [BZ #13550]
6837 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
6838 definitions.
6839 (CHECK_FCNTL): Likewise.
6840 (CHECK_N_PAGES): Likewise.
6841
32a45bea
JM
6842 [BZ #13550]
6843 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
6844 definitions.
6845 (CHECK_SIGSET_NULL_OK): Likewise.
6846 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
6847 <bp-checks.h>.
6848 (sigpending): Don't use CHECK_SIGSET.
6849 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
6850 <bp-checks.h>.
6851 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6852 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
6853 <bp-checks.h>.
6854 (do_sigsuspend): Don't use CHECK_SIGSET.
6855 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
6856 use CHECK_SIGSET.
6857 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
6858 (do_sigwait): Don't use CHECK_SIGSET.
6859 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
6860 use CHECK_SIGSET.
6861 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
6862 include <bp-checks.h>.
6863 (sigpending): Don't use CHECK_SIGSET.
6864 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
6865 include <bp-checks.h>.
6866 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6867 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
6868 <bp-checks.h>.
6869 (sigpending): Don't use CHECK_SIGSET.
6870 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
6871 <bp-checks.h>.
6872 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6873
2e8a5c8c
JM
6874 [BZ #13550]
6875 * sysdeps/generic/bp-semctl.h: Remove file.
6876 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
6877 <bp-checks.h> and <bp-semctl.h>.
6878 (__old_semctl): Don't use CHECK_SEMCTL.
6879 (__new_semctl): Likewise.
6880 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
6881 and <bp-semctl.h>.
6882 (__old_semctl): Don't use CHECK_SEMCTL.
6883 (__new_semctl): Likewise.
6884 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
6885 <bp-checks.h> and <bp-semctl.h>.
6886 (__old_semctl): Don't use CHECK_SEMCTL.
6887 (__new_semctl): Likewise.
6888 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
6889 <bp-checks.h> and <bp-semctl.h>.
6890 (semctl): Don't use CHECK_SEMCTL.
6891
c2d54929
JM
6892 [BZ #13550]
6893 * Makerules (elide-bp-thunks): Remove variable.
6894 (elide-routines.oS): Don't use $(elide-bp-thunks).
6895 (elide-routines.os): Likewise.
6896 (elide-routines.o): Likewise.
6897 (elide-routines.op): Likewise.
6898 (elide-routines.og): Likewise.
6899 (objects): Don't use $(bp-thunks).
6900 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
6901 include.
6902 (common-generated): Do not add s-proto-bp.d.
6903 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
6904 (int): Likewise.
6905 (typ): Likewise.
6906 Do not generate makefile rules for bounded-pointer thunks.
6907 * sysdeps/generic/bp-thunks.h: Remove file.
6908 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
6909 * sysdeps/unix/s-proto-bp.S: Likewise.
6910
8cf28c5e
JM
6911 [BZ #15062]
6912 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
6913 parts of result separately when argument is not close to line from
6914 -i to i and one part of argument is small.
6915 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6916 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6917 * math/libm-test.inc (cacos_test): Add more tests.
6918 (casin_test): Likewise.
6919 (casinh_test): Likewise.
6920 * sysdeps/i386/fpu/libm-test-ulps: Update.
6921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6922
c4e33b8d
DM
69232013-01-31 David S. Miller <davem@davemloft.net>
6924
6925 * po/de.po: Update from translation team.
6926
3b60b421
MK
69272013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
6928
6929 * time/tzfile.c: Include stdint.h for SIZE_MAX.
6930
bb931195
TS
69312013-01-25 Thomas Schwinge <thomas@codesourcery.com>
6932
b5a5da23
TS
6933 * configure.in (_AC_PROG_CC_C89): New definition.
6934 * configure: Regenerate.
6935
bb931195
TS
6936 * configure.in (AC_PROG_CPP): New definition.
6937 * configure: Regenerate.
6938
8c53a12c
JM
69392013-01-23 Joseph Myers <joseph@codesourcery.com>
6940
6941 * debug/tst-backtrace.h: New file.
6942 * debug/tst-backtrace2.c: Include tst-backtrace.h.
6943 (ret): Remove variable.
6944 (x): Likewise.
6945 (FAIL): Remove macro.
6946 (NO_INLINE): Likewise.
6947 (fn1): Use match function instead of strstr.
6948 * debug/tst-backtrace3.c: Include tst-backtrace.h.
6949 (ret): Remove variable.
6950 (x): Likewise.
6951 (FAIL): Remove macro.
6952 (NO_INLINE): Likewise.
6953 (fn): Use match function instead of strstr.
6954 * debug/tst-backtrace4.c: Include tst-backtrace.h.
6955 (ret): Remove variable.
6956 (x): Likewise.
6957 (FAIL): Remove macro.
6958 (NO_INLINE): Likewise.
6959 (handle_signal): Use match function instead of strstr.
6960 * debug/tst-backtrace5.c: Include tst-backtrace.h.
6961 (ret): Remove variable.
6962 (x): Likewise.
6963 (FAIL): Remove macro.
6964 (NO_INLINE): Likewise.
6965 (handle_signal): Use match function instead of strstr.
6966
4858fa2a
RM
69672013-01-23 Roland McGrath <roland@hack.frob.com>
6968
6969 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
6970
bae8e7f5
DM
69712013-01-23 David S. Miller <davem@davemloft.net>
6972
6973 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
6974 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
6975 argument of CAS if possible.
6976 * sysdeps/sparc/sparc64/bits/atomic.h
6977 (__arch_compare_and_exchange_val_32_acq): Likewise.
6978 (__arch_compare_and_exchange_val_64_acq): Likewise.
6979
9cbbc4ae
PT
69802013-01-23 Pino Toscano <toscano.pino@tiscali.it>
6981
6982 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
6983 * sysdeps/posix/ulimit.c: ... this.
92a601b8 6984 Include <limits.h>.
67b3f58c 6985 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 6986
5655a0b5
AC
69872013-01-23 Adam Conrad <adconrad@0c3.net>
6988
6989 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
6990 (LDFLAGS-tst-array5): Likewise.
6991
052aff95
JM
69922013-01-23 Joseph Myers <joseph@codesourcery.com>
6993
6994 [BZ #15036]
6995 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
6996 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
6997 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
6998 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
6999
7c1e01aa
DM
70002013-01-21 David S. Miller <davem@davemloft.net>
7001
7002 * sysdeps/sparc/backtrace.c: New file.
7003 * sysdeps/sparc/sparc32/backtrace.h: New file.
7004 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7005 * sysdeps/sparc/sparc64/backtrace.h: New file.
7006 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7007 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7008 -funwind-tables.
7009
ab087e0a
AS
70102013-01-21 Andreas Schwab <schwab@suse.de>
7011
7012 [BZ #15020]
7013 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7014 closed its stdout.
7015
ed689c2f
AS
70162013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7017
7018 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7019 "mpa2.h".
7020 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7021
31d470ac
JM
70222013-01-18 Joseph Myers <joseph@codesourcery.com>
7023 Mark Mitchell <mark@codesourcery.com>
7024 Tom de Vries <tom@codesourcery.com>
7025 Paul Pluzhnikov <ppluzhnikov@google.com>
7026
7027 * debug/tst-backtrace2.c: New file.
7028 * debug/tst-backtrace3.c: Likewise.
7029 * debug/tst-backtrace4.c: Likewise.
7030 * debug/tst-backtrace5.c: Likewise.
7031 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7032 (CFLAGS-tst-backtrace3.c): Likewise.
7033 (CFLAGS-tst-backtrace4.c): Likewise.
7034 (CFLAGS-tst-backtrace5.c): Likewise.
7035 (LDFLAGS-tst-backtrace2): Likewise.
7036 (LDFLAGS-tst-backtrace3): Likewise.
7037 (LDFLAGS-tst-backtrace4): Likewise.
7038 (LDFLAGS-tst-backtrace5): Likewise.
7039 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7040 tst-backtrace4 and tst-backtrace5.
7041
90567f30 70422013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7043 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7044
7045 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7046 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7047 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7048 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7050 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7051 "+r" and remove output regs list as redundant. Add explicit inline
7052 asm to specify register of return val to work around compiler codegen
7053 bug. Remove (int) cast on return value. Add return type parameter to
7054 use in macro so that this macro does not truncate return value for
7055 64-bit values.
7056 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7057 pass to INTERNAL_VSYSCALL_NCS.
7058 (INLINE_VSYSCALL): Add 'long int' as return type to
7059 INTERNAL_VSYSCALL_NCS macro invocation.
7060 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7061 INTERNAL_VSYSCALL_NCS macro invocation.
7062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7063
d3b9ea61
SP
70642013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7065
0b57daeb
SP
7066 [BZ #14496]
7067 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7068 Fix application of SIMD FP exception mask.
7069
caa99d06
SP
7070 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7071 mp_no from a power of two.
7072 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7073 __mpexp_twomm1. Use __pow_mp.
7074
d3b9ea61
SP
7075 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7076 multiplication.
7077
1dbaee3c
DM
70782013-01-17 David S. Miller <davem@davemloft.net>
7079
7080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7081
728d7b43
JM
70822013-01-17 Joseph Myers <joseph@codesourcery.com>
7083
7084 [BZ #15023]
7085 * include/complex.h: Condition contents on [!_COMPLEX_H].
7086 (__kernel_casinhf): New prototype.
7087 (__kernel_casinh): Likewise.
7088 (__kernel_casinhl): Likewise.
7089 * math/Makefile (libm_calls): Add k_casinh.
7090 * math/k_casinh.c: New file.
7091 * math/k_casinhf.c: Likewise.
7092 * math/k_casinhl.c: Likewise.
7093 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7094 finite nonzero arguments.
7095 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7096 finite nonzero arguments.
7097 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7098 finite nonzero arguments.
7099 * math/s_casinh.c: Do not include <float.h>.
7100 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7101 * math/s_casinhf.c: Do not include <float.h>.
7102 (__casinhf): Move code for finite nonzero arguments to
7103 k_casinhf.c.
7104 * math/s_casinhl.c: Do not include <float.h>.
7105 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7106 redefine.
7107 (__casinhl): Move code for finite nonzero arguments to
7108 k_casinhl.c.
7109 * math/libm-test.inc (cacos_test): Add more tests.
7110 * sysdeps/i386/fpu/libm-test-ulps: Update.
7111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7112
2a26ef3a
PT
71132013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7114
7115 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7116 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7117 [!HAVE_MREMAP]: Remove [defined linux] case.
7118 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7119
a897655d
SP
71202013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7121
7122 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7123
881ebe89 71242013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7125
7126 * elf/elf.h (R_386_SIZE32): New relocation.
7127 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7128 R_386_SIZE32.
7129 (elf_machine_rela): Likewise.
7130 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7131 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7132
59981e9b
JM
71332013-01-17 Joseph Myers <joseph@codesourcery.com>
7134
7135 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7136 (FP_FAST_FMA): Do not define.
7137 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7138 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7139 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7140 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7141 !_SOFT_FLOAT]: Likewise.
7142 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7143 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7144 value.
7145 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7146 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7147 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7148 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7149 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7150 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7151 file.
7152
cfa8054f
AS
71532013-01-16 Andreas Schwab <schwab@suse.de>
7154
7155 [BZ #14327]
7156 * include/stdlib.h (__mktemp): Add declaration.
7157 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7158 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7159
dd930cc5
SP
71602013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7161
881ebe89
SP
7162 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7163 definitions.
7164 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7165 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7166 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7167 definitions here.
7168 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7169 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7170 definitions.
7171 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7172 and ONE.
7173 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7174 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7175 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7176 definitions.
7177 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7178 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7179 definitions.
7180 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7181
dd930cc5
SP
7182 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7183
c19a9f89
DM
71842013-01-15 David S. Miller <davem@davemloft.net>
7185
1aa61767
DM
7186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7187 trunc{,f} to libm-sysdep_routes.
7188 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7190 file.
7191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7193 file.
7194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7195 file.
7196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7198 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7199 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7200 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7201 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7202 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7203 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7204
c42d5e98
DM
7205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7206 nearbyint{,f} to libm-sysdep_routes.
7207 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7209 New file.
7210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7211 file.
7212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7213 New file.
7214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7215 file.
7216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7218 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7219 file.
7220 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7221 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7222 file.
7223 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7224 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7225 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7226
c19a9f89
DM
7227 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7228 libc_feholdexcept and libc_fesetenv.
7229
357679d2
MF
72302013-01-15 Mike Frysinger <vapier@gentoo.org>
7231
7232 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7233
65a82e3d
DM
72342013-01-14 David S. Miller <davem@davemloft.net>
7235
8b954ab9
DM
7236 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7237 (SPARC_ASM_VIS2_IFUNC): Likewise.
7238 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7240 use of 'siam' instruction.
7241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7242 Likewise.
7243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7244 Likewise.
7245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7246 Likewise.
7247 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7248 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7249 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7250 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7252 file.
7253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7254 file.
7255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7256 file.
7257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7258 file.
7259 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7260 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7261 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7262 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7264 new VIS2 routines.
7265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7268 Likewise.
7269 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7270 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7271 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7272 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7274 routines to libm-sysdep_routines.
7275 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7276
65a82e3d
DM
7277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7278 fdim/fdimf to libm-sysdep_routines.
7279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7280 file.
7281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7283 file.
7284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7287 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7288 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7289 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7290 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7291
e34ab705
SP
72922013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7293
2a91b573
SP
7294 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7295 to optimize copies.
7296
1066a534
SP
7297 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7298 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7299 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7300
e34ab705
SP
7301 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7302 local variable MPTWO.
7303 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7304 Likewise.
7305
aba5e596
MF
73062013-01-13 Mike Frysinger <vapier@gentoo.org>
7307
7308 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7309 GLOB_NOESCAPE.
7310
e557e9e5
MF
73112013-01-13 Mike Frysinger <vapier@gentoo.org>
7312
7313 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7314
0428cec9
MF
73152013-01-13 Mike Frysinger <vapier@gentoo.org>
7316
7317 * manual/pattern.texi (glob_t): Document gl_flags.
7318 (glob64_t): Likewise.
7319
8794a964
DM
73202013-01-11 David S. Miller <davem@davemloft.net>
7321
66438c3f
RM
7322 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7323 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7324 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
7325 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7326 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7327 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7328 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7329 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7330 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7331 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7332 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7333 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7334 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7335
4ae4244d
DM
7336 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7337 sparc V9 rather than using V8 code.
7338 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7339 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7340
8794a964
DM
7341 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7342 Move to...
7343 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7344 Here.
7345
6270516e
RM
73462013-01-11 Roland McGrath <roland@hack.frob.com>
7347
7348 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7349 not in the main loop.
7350 * configure: Regenerated.
7351
6a57d931
JM
73522013-01-11 Joseph Myers <joseph@codesourcery.com>
7353
7354 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7355 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7356 to just #else.
7357 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7358 [!__GLIBC_HAVE_LONG_LONG] case.
7359 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7360 condition to just #else.
7361 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7362 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7363 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7364 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7365 unconditional.
7366 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7367 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7368 #elif condition to just #else.
7369 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7370 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7371 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7372 #elif condition to just #else.
7373
0e8529e9
SE
73742013-01-11 Steve Ellcey <sellcey@mips.com>
7375
7376 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7377 (EF_MIPS_ARCH_64): Fix value.
7378 (EF_MIPS_ARCH_32R2): New.
7379 (EF_MIPS_ARCH_64R2): New.
7380
740b3dbe
L
73812013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7382
7383 * Makeconfig (+link-pie-before-libc): New.
7384 (+link-pie-after-libc): Likewise.
7385 (+link-pie-tests): Likewise.
7386 (+link-pie): Rewritten.
7387 (link-before-libc): Remove $(config-LDFLAGS).
7388 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7389 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7390 (config-LDFLAGS): Renamed to ...
7391 (rtld-LDFLAGS): This.
7392 (rtld-tests-LDFLAGS): New macro.
7393 (link-libc-rpath-link): Likewise.
7394 (link-libc-tests-rpath-link): Likewise.
7395 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7396 (link-libc): Prepand $(link-libc-rpath-link).
7397 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7398 (test-program-prefix): New macro.
7399 (test-via-rtld-prefix): Likewise.
7400 (test-program-cmd): Likewise.
7401 (host-test-program-cmd): Likewise.
7402 * Makefile ($(common-objpfx)testrun.sh): Replace
7403 $(run-program-prefix) with $(test-program-prefix).
7404 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7405 $(rtld-LDFLAGS).
7406 ($(common-objpfx)shlib.lds): Likewise.
7407 (build-module-helper): Likewise.
7408 ($(common-objpfx)format.lds): Likewise.
7409 * Rules (binaries-pie-tests): New.
7410 (binaries-pie-notests): Likewise.
7411 (binaries-pie): Rewritten.
7412 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7413 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7414 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7415 (make-test-out): Replace $(host-built-program-cmd) with
7416 $(host-test-program-cmd).
7417 * config.make.in (build-hardcoded-path-in-tests): New variable.
7418 * configure.in (--enable-hardcoded-path-in-tests): New configure
7419 option.
7420 (hardcoded_path_in_tests): New AC_SUBST.
7421 * configure: Regenerated.
7422 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7423 $(built-program-cmd) with $(test-program-cmd).
7424 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7425 (test_program_cmd): This.
7426 * elf/Makefile ($(objpfx)order.out): Run test with
7427 $(test-program-prefix).
7428 ($(objpfx)order2.out): Likewise.
7429 ($(objpfx)tst-initorder.out): Likewise.
7430 ($(objpfx)tst-initorder2.out): Likewise.
7431 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7432 $(test-program-cmd).
7433 ($(objpfx)tst-array1-static.out): Likewise.
7434 ($(objpfx)tst-array2.out): Likewise.
7435 ($(objpfx)tst-array3.out): Likewise.
7436 ($(objpfx)tst-array4.out): Likewise.
7437 ($(objpfx)tst-array5.out): Likewise.
7438 ($(objpfx)tst-array5-static.out): Likewise.
7439 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7440 $(test-program-cmd).
7441 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7442 $(run-program-prefix) with $(test-program-prefix).
7443 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7444 (test_program_prefix): This.
7445 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7446 $(run-program-prefix) with $(test-program-prefix).
7447 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7448 (test_program_prefix): This.
7449 * iconvdata/tst-tables.sh: Likewise.
7450 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7451 $(run-program-prefix) with $(test-program-prefix).
7452 ($(objpfx)tst-translit.out): Likewise.
7453 ($(objpfx)tst-gettext2.out): Likewise.
7454 ($(objpfx)tst-gettext4.out): Likewise.
7455 ($(objpfx)tst-gettext6.out): Likewise.
7456 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7457 (test_program_prefix): This.
7458 * intl/tst-gettext2.sh: Likewise.
7459 * intl/tst-gettext4.sh Likewise.
7460 * intl/tst-gettext6.sh: Likewise.
7461 * intl/tst-translit.sh: Likewise.
7462 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7463 with $(test-program-cmd).
7464 * libio/Makefile ($(objpfx)test-freopen.out): Replace
7465 $(run-program-prefix) with $(test-program-prefix).
7466 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7467 (test_program_prefix): This.
7468 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7469 $(run-program-prefix) with $(test-program-prefix).
7470 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7471 (test_program_prefix): This.
7472 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7473 * posix/Makefile ($(objpfx)globtest.out): Replace
7474 $(run-via-rtld-prefix) and $(test-wrapper) with
7475 $(test-program-prefix) and $(test-via-rtld-prefix).
7476 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7477 $(test-program-prefix).
7478 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7479 $(host-test-program-cmd).
7480 (tst-spawn-ARGS): Likewise.
7481 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7482 $(test-program-prefix).
7483 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7484 (test_via_rtld_prefix): This.
7485 (test_wrapper): Renamed to ...
7486 (test_program_prefix): This.
7487 (run_program_prefix): Replaced by test_program_prefix.
7488 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7489 (test_program_prefix): This.
7490 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7491 with $(host-test-program-cmd).
7492 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7493 $(run-program-prefix) with $(test-program-prefix).
7494 ($(objpfx)tst-printf.out): Likewise.
7495 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7496 $(test-program-cmd).
7497 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7498 (test_program_prefix): This.
7499 * stdio-common/tst-unbputc.sh: Likewise.
7500 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7501 $(run-program-prefix) with $(test-program-prefix).
7502 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7503 (test_program_prefix): This.
7504 * string/Makefile ($(objpfx)tst-svc.out): Replace
7505 $(built-program-cmd) with $(test-program-cmd).
7506
c6fe55cf
AJ
75072013-01-11 Andreas Jaeger <aj@suse.de>
7508
7509 [BZ #15003]
7510 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7511 value. Sync with Linux 3.7.
7512
9e6919c8
DM
75132013-01-10 David S. Miller <davem@davemloft.net>
7514
7515 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7516 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7517 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7518
1c9f1a02
RM
75192013-01-10 Roland McGrath <roland@hack.frob.com>
7520
7521 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7522 never set.
7523 * configure: Regenerated.
7524
b9de2dde
DM
75252013-01-10 David S. Miller <davem@davemloft.net>
7526
7527 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7528 sparc V9 rather than using V8 code.
7529 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7530 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7531
e7f68ef4
RM
75322013-01-10 Roland McGrath <roland@hack.frob.com>
7533
7534 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7535 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7536 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7537 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7538 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7539 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7540 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7541 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7542 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7543 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7544 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7545 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7546 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7547 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7548 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7549 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7550 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7551 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7552 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7553 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7554 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7555 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7556 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7557 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7558 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7559 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7560 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7561
5a47cc9c
DM
75622013-01-10 David S. Miller <davem@davemloft.net>
7563
7564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7565
4cf8f209
L
75662013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7567
7568 * posix/Makefile (tests-static): New variable.
7569 (tests): Add $(tests-static).
7570 (tst-exec-static-ARGS): New variable.
7571 (tst-spawn-static-ARGS): Likewise.
7572 * posix/tst-exec-static.c: New file.
7573 * posix/tst-spawn-static.c: Likewise.
7574 * posix/tst-exec.c: Support run directly.
7575 * posix/tst-spawn.c: Likewise.
7576
fed0faa1
JM
75772013-01-10 Joseph Myers <joseph@codesourcery.com>
7578
828beb13
JM
7579 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7580 long.
7581 * math/bits/mathcalls.h (llrint): Likewise.
7582 (llround): Likewise.
7583 * stdlib/stdlib.h (struct drand48_data): Likewise.
7584 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7585 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7586 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7587 Likewise.
7588 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7589 Likewise.
7590 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7591 (elf_greg_t): Likewise.
7592 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7593 (__jmp_buf): Likewise.
7594 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7595 definitions.
7596 (llrint): Likewise, for all definitions.
7597 (llrintl): Likewise.
7598
fed0faa1
JM
7599 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7600 Remove [__GNUC__] condition.
7601 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7602 condition to just [__USE_ISOC99].
7603 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7604
1a20cb20
L
76052013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7606
7607 [BZ #14200]
7608 * sysdeps/unix/sysv/linux/x86/bits/environments.h
7609 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7610 defined.
7611 (_POSIX_V6_ILP32_OFF32): Likewise.
7612 (_XBS5_ILP32_OFF32): Likewise.
7613 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7614 (__ILP32_OFFBIG_LDFLAGS): Likewise.
7615
751b85f7
SP
76162013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7617
7490eb81
SP
7618 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7619
751b85f7
SP
7620 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7621 doubles __mpexp_twomm1. Adjust usage.
7622 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7623 Remove.
7624
988197f0
AS
76252013-01-10 Andreas Schwab <schwab@suse.de>
7626
7627 [BZ #14964]
7628 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7629 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7630
e83d7298
DM
76312013-01-09 David S. Miller <davem@davemloft.net>
7632
034ed64b 7633 [BZ #15003]
e83d7298
DM
7634 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7635 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7636 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7637 TCP_FASTOPEN): Define.
7638 (tcp_repair_opt): New structure.
7639 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7640 enum values.
7641 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7642 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7643 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7644 (tcp_cookie_transactions): New structure.
7645
d5e0b9bd
AB
76462013-01-09 Anton Blanchard <anton@samba.org>
7647
7648 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7649 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7650 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7651 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7652
0c07e3ea
JM
76532013-01-09 Joseph Myers <joseph@codesourcery.com>
7654
7655 * include/features.h (__USE_ANSI): Remove.
7656
232f7002
RM
76572013-01-09 Roland McGrath <roland@hack.frob.com>
7658
ad98e30c
RM
7659 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7660
232f7002
RM
7661 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7662
950c99ca
SP
76632013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7664
b5792741
SP
7665 * sysdeps/s390/fpu/libm-test-ulps: Update.
7666
47cf2278
SP
7667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7668
950c99ca
SP
7669 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7670 (__acr): Likewise.
7671 (__cpy): Likewise.
7672 (norm): Likewise.
7673 (denorm): Likewise.
7674 (__mp_dbl): Likewise.
7675 (__dbl_mp): Likewise.
7676 (add_magnitudes): Likewise.
7677 (sub_magnitudes): Likewise.
7678 (__add): Likewise.
7679 (__sub): Likewise.
7680 (__mul): Likewise.
7681 (__inv): Likewise.
7682 (__dvd): Likewise.
7683 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7684 (__acr): Likewise.
7685 (__cpy): Likewise.
7686 (norm): Likewise.
7687 (denorm): Likewise.
7688 (__mp_dbl): Likewise.
7689 (__dbl_mp): Likewise.
7690 (add_magnitudes): Likewise.
7691 (sub_magnitudes): Likewise.
7692 (__add): Likewise.
7693 (__sub): Likewise.
7694 (__mul): Likewise.
7695 (__inv): Likewise.
7696 (__dvd): Likewise.
7697 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7698 (__acr): Likewise.
7699 (__cpy): Likewise.
7700 (norm): Likewise.
7701 (denorm): Likewise.
7702 (__mp_dbl): Likewise.
7703 (__dbl_mp): Likewise.
7704 (add_magnitudes): Likewise.
7705 (sub_magnitudes): Likewise.
7706 (__add): Likewise.
7707 (__sub): Likewise.
7708 (__mul): Likewise.
7709 (__inv): Likewise.
7710 (__dvd): Likewise.
7711
eede9df9
JM
77122013-01-08 Joseph Myers <joseph@codesourcery.com>
7713
7714 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7715 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7716 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7717 2 && __USE_EXTERN_INLINES]: Likewise.
7718
c40ea3d9
AJ
77192013-01-08 Andreas Jaeger <aj@suse.de>
7720
7721 [BZ# 14985]
7722 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7723 Remove.
7724 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7725 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7726
2ccdea26
AB
77272013-01-07 Anton Blanchard <anton@samba.org>
7728
7729 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7730 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7731 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
7732 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7733 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7734 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7735 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
7736 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7737 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7738 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7739 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7740 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7741 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7742 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7743 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7744 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7745 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7746 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7747 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7748 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7749 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7750 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
7751 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7752 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7753 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
7754 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7755 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7756 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7757 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
7758 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7759 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7760 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7761 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7762 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7763 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7764 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7765 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7766 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7767 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
7768 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7769 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
7770 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7771 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7772
a9708fed
JM
77732013-01-07 Joseph Myers <joseph@codesourcery.com>
7774
375607b9
JM
7775 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
7776 (__MALLOC_PMT): Likewise.
7777 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
7778 [__GNUC__], only on [_LIBC].
7779 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7780 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
7781 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7782 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
7783 forward declaration.
7784 (realloc_hook_ini): Likewise.
7785 (memalign_hook_ini): Likewise.
7786 (__libc_memalign): Do not use __MALLOC_PMT in variable
7787 declaration.
7788 (__libc_valloc): Likewise.
7789 (__libc_pvalloc): Likewise.
7790 (__libc_calloc): Likewise.
7791 (__posix_memalign): Likewise.
7792
a9708fed
JM
7793 [BZ #14996]
7794 * math/s_casinh.c: Include <float.h>.
7795 (__casinh): Do not do computation with squaring and square root
7796 for large arguments.
7797 * math/s_casinhf.c: Include <float.h>.
7798 (__casinhf): Do not do computation with squaring and square root
7799 for large arguments.
7800 * math/s_casinhl.c: Include <float.h>.
7801 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
7802 (__casinhl): Do not do computation with squaring and square root
7803 for large arguments.
7804 * math/libm-test.inc (casin_test): Add more tests.
7805 (casinh_test): Likewise.
7806 * sysdeps/i386/fpu/libm-test-ulps: Update.
7807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7808
afec409a
L
78092013-01-04 H.J. Lu <hongjiu.lu@intel.com>
7810
7811 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
7812 (__x86_64_raw_data_cache_size): Likewise.
7813 (__x86_64_data_cache_size_half): Likewise.
7814 (__x86_64_raw_data_cache_size_half): Likewise.
7815 (__x86_64_shared_cache_size): Likewise.
7816 (__x86_64_raw_shared_cache_size): Likewise.
7817 (__x86_64_shared_cache_size_half): Likewise.
7818 (__x86_64_raw_shared_cache_size_half): Likewise.
7819 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
7820 to ...
7821 (__x86_data_cache_size): This.
7822 (__x86_64_raw_data_cache_size): Renamed to ...
7823 (__x86_raw_data_cache_size): This.
7824 (__x86_64_data_cache_size_half): Renamed to ...
7825 (__x86_data_cache_size_half): This.
7826 (__x86_64_raw_data_cache_size_half): Renamed to ...
7827 (__x86_raw_data_cache_size_half): This.
7828 (__x86_64_shared_cache_size): Renamed to ...
7829 (__x86_shared_cache_size): This.
7830 (__x86_64_raw_shared_cache_size): Renamed to ...
7831 (__x86_raw_shared_cache_size): This.
7832 (__x86_64_shared_cache_size_half): Renamed to ...
7833 (__x86_shared_cache_size_half): This.
7834 (__x86_64_raw_shared_cache_size_half): Renamed to ...
7835 (__x86_raw_shared_cache_size_half): This.
7836 * sysdeps/x86_64/memcpy.S: Updated.
7837 * sysdeps/x86_64/memset.S: Likewise.
7838 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7839 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7840 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7841
0b3986d0
DM
78422013-01-04 David S. Miller <davem@davemloft.net>
7843
7844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7845
e47686e9
AS
78462013-01-04 Andreas Schwab <schwab@linux-m68k.org>
7847
d643bac1
AS
7848 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
7849 1 to avoid redefinition warning.
7850 (__USE_GNU): Don't define.
7851 (init_signaling_nan): Protoize.
7852
e47686e9
AS
7853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7854
b18decba
SP
78552013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7856
fffb407f
SP
7857 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
7858 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
7859 (__cpymn): Likewise.
7860 (norm): Remove commented code.
7861 (denorm): Likewise.
7862 (__mp_dbl): Likewise.
7863 (__inv): Likewise.
7864 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
7865 (__cpymn): Likewise.
7866 (norm): Remove commented code.
7867 (denorm): Likewise.
7868 (__mp_dbl): Likewise.
7869 (__inv): Likewise.
7870
b18decba
SP
7871 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
7872 mp_no value for 1.0 and 2.0.
7873 (norm): Use RADIXI instead of radixi.d.
7874 (denorm): Likewise.
7875 (__mul): Use 0.0 instead of zero.d.
7876 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
7877 mp_no value for 1.0 and 2.0.
7878 (norm): Use RADIXI instead of radixi.d.
7879 (denorm): Likewise.
7880 (__mul): Use 0.0 instead of zero.d.
7881
cdc1c96f
JM
78822013-01-04 Joseph Myers <joseph@codesourcery.com>
7883
7884 [BZ #14994]
7885 * math/s_casinh.c (__casinh): Reduce finite argument to first
7886 quadrant then set signs of results at the end.
7887 * math/s_casinhf.c (__casinhf): Likewise.
7888 * math/s_casinhl.c (__casinhl): Likewise.
7889 * math/libm-test.inc (casin_test): Add more tests.
7890 (casinh_test): Likewise.
7891 * sysdeps/i386/fpu/libm-test-ulps: Update.
7892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7893
302913e1
SP
78942013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7895
6420d207
SP
7896 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
7897
a9e48ab4
SP
7898 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
7899
b7837264
SP
7900 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
7901 declarations.
7902 (denorm): Likewise.
7903 (__mp_dbl): Likewise.
7904 (__inv): Likewise.
7905
f8af25d2
SP
7906 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
7907 and adjust the header comment.
7908
302913e1
SP
7909 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
7910 variable name from declaration.
7911
5d7dd1ca
L
79122013-01-03 H.J. Lu <hongjiu.lu@intel.com>
7913
7914 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7915 Initialize COMMON_CPUID_INDEX_7 element.
7916 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
7917 (CPUID_RTM): Likewise.
7918 (HAS_RTM): Likewise.
7919 (COMMON_CPUID_INDEX_7): New enum.
7920
2f5f40f4
AS
79212013-01-03 Andreas Schwab <schwab@linux-m68k.org>
7922
7923 [BZ #14981]
7924 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
7925 size is zero, record memory as freed.
7926
4056f4a0
AJ
79272013-01-03 Andreas Jaeger <aj@suse.de>
7928
7929 * po/ia.po: Add new Interlingua translation.
7930
ab15736f 79312012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
7932
7933 * locale/programs/localedef.c: Fix description of '--posix' flag.
7934
568035b7
JM
79352013-01-02 Joseph Myers <joseph@codesourcery.com>
7936
e6898b8d
JM
7937 * NEWS: Update dates in second copyright notice.
7938 * README: Update copyright dates in example.
7939 * manual/libc.texinfo: Update copyright dates.
7940 * scripts/test-installation.pl: Update copyright date in --version
7941 output.
7942
0e2f9562
JM
7943 * hurd/ctty-input.c: Fix copyright notice formatting.
7944 * hurd/ctty-output.c: Likewise.
7945 * hurd/dtable.c: Likewise.
7946 * hurd/hurd-raise.c: Likewise.
7947 * hurd/hurdprio.c: Likewise.
7948 * hurd/msgportdemux.c: Likewise.
7949 * misc/sys/file.h: Likewise.
7950 * misc/sys/ioctl.h: Likewise.
7951 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7952 * sysdeps/mach/hurd/chdir.c: Likewise.
7953 * sysdeps/mach/hurd/fchdir.c: Likewise.
7954 * sysdeps/mach/hurd/rename.c: Likewise.
7955 * sysdeps/mach/hurd/rmdir.c: Likewise.
7956 * sysdeps/mach/hurd/seekdir.c: Likewise.
7957 * sysdeps/mach/hurd/setsid.c: Likewise.
7958 * sysdeps/posix/wait3.c: Likewise.
7959
568035b7
JM
7960 * All files with FSF copyright notices: Update copyright dates
7961 using scripts/update-copyrights.
7962 * intl/plural.c: Regenerated.
7963 * locale/programs/charmap-kw.h: Likewise.
7964 * locale/programs/locfile-kw.h: Likewise.
7965
da08f647
SP
79662013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7967
0f5477af
SP
7968 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
7969 four values.
7970
44e0d4c2
SP
7971 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
7972 calculation loop and add branch prediction.
7973
4d55b4e5
SP
7974 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
7975 check access beyond bounds of m1np.
7976
da08f647
SP
7977 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7978 MPTWO.
7979 (__inv): Remove local variable MPTWO to use the global
7980 constant.
7981 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
7982 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7983 variable MPTWO.
7984 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
7985 MP3HALFS static const.
7986
8e051029
DM
79872013-01-01 David S. Miller <davem@davemloft.net>
7988
7989 * po/ca.po: Update from translation team.
7990
f4cf5f2d
JM
79912013-01-01 Joseph Myers <joseph@codesourcery.com>
7992
7993 * scripts/update-copyrights: New file.
7994 * Makeconfig: Reformat copyright notice.
7995 * ctype/ctype.h: Likewise.
7996 * debug/swprintf_chk.c: Likewise.
7997 * elf/dl-cache.c: Likewise.
7998 * elf/dl-debug.c: Likewise.
7999 * elf/dl-object.c: Likewise.
8000 * grp/initgroups.c: Likewise.
8001 * hurd/Makefile: Likewise.
8002 * hurd/hurd/signal.h: Likewise.
8003 * hurd/hurdfault.c: Likewise.
8004 * hurd/hurdioctl.c: Likewise.
8005 * hurd/hurdlookup.c: Likewise.
8006 * hurd/intr-msg.c: Likewise.
8007 * iconv/gconv_open.c: Likewise.
8008 * libio/swprintf.c: Likewise.
8009 * locale/lc-ctype.c: Likewise.
8010 * locale/nl_langinfo.c: Likewise.
8011 * mach/Machrules: Likewise.
8012 * mach/Makefile: Likewise.
8013 * malloc/obstack.h: Likewise.
8014 * manual/Makefile: Likewise.
8015 * manual/tsort.awk: Likewise.
8016 * misc/bits/stab.def: Likewise.
8017 * nis/nis_print_group_entry.c: Likewise.
8018 * nis/nis_table.c: Likewise.
8019 * nis/nss_compat/compat-pwd.c: Likewise.
8020 * nis/nss_compat/compat-spwd.c: Likewise.
8021 * po/Makefile: Likewise.
8022 * posix/fnmatch.c: Likewise.
8023 * posix/regex.h: Likewise.
8024 * resolv/Makefile: Likewise.
8025 * resolv/nss_dns/dns-network.c: Likewise.
8026 * resolv/res_hconf.c: Likewise.
8027 * scripts/gen-sorted.awk: Likewise.
8028 * soft-fp/soft-fp.h: Likewise.
8029 * stdio-common/printf.h: Likewise.
8030 * stdlib/monetary.h: Likewise.
8031 * stdlib/random.c: Likewise.
8032 * stdlib/random_r.c: Likewise.
8033 * sysdeps/generic/Makefile: Likewise.
8034 * sysdeps/gnu/Makefile: Likewise.
8035 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8036 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8037 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8038 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8039 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8040 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8041 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8042 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8043 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8044 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8045 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8046 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8047 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8048 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8049 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8050 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8051 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8052 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8053 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8054 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8055 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8056 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8057 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8058 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8059 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8060 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8061 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8062 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8063 * sysdeps/mach/hurd/errnos.awk: Likewise.
8064 * sysdeps/mach/hurd/fork.c: Likewise.
8065 * sysdeps/mach/hurd/getcwd.c: Likewise.
8066 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8067 * sysdeps/mach/hurd/mmap.c: Likewise.
8068 * sysdeps/mach/hurd/utimes.c: Likewise.
8069 * sysdeps/mach/hurd/xmknod.c: Likewise.
8070 * sysdeps/posix/profil.c: Likewise.
8071 * sysdeps/posix/readdir_r.c: Likewise.
8072 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8073 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8074 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8075 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8076 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8077 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8078 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8079 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8080 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8081 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8082 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8083 * sysdeps/pthread/lio_listio.c: Likewise.
8084 * sysdeps/sparc/dl-procinfo.h: Likewise.
8085 * sysdeps/unix/i386/sysdep.S: Likewise.
8086 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8087 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8088 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8089 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8091 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8092 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8093 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8094 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8095 * sysdeps/wordsize-32/divdi3.c: Likewise.
8096 * time/sys/time.h: Likewise.
8097 * wcsmbs/Makefile: Likewise.
8098
0549fbba
DM
80992013-01-01 David S. Miller <davem@davemloft.net>
8100
a141f1a7
DM
8101 * po/fr.po: Update from translation team.
8102
0549fbba
DM
8103 * catgets/gencat.c: Update copyright year.
8104 * csu/version.c: Likewise.
8105 * debug/catchsegv.sh: Likewise.
8106 * debug/pcprofiledump.c: Likewise.
8107 * debug/xtrace.sh: Likewise.
8108 * elf/ldconfig.c: Likewise.
8109 * elf/ldd.bash.in: Likewise.
8110 * elf/pldd.c: Likewise.
8111 * elf/sotruss.ksh: Likewise.
8112 * elf/sprof.c: Likewise.
8113 * iconv/iconv_prog.c: Likewise.
8114 * iconv/iconvconfig.c: Likewise.
8115 * locale/programs/locale.c: Likewise.
8116 * locale/programs/localedef.c: Likewise.
8117 * login/programs/pt_chown.c: Likewise.
8118 * malloc/memusage.sh: Likewise.
8119 * malloc/memusagestat.c: Likewise.
8120 * malloc/mtrace.pl: Likewise.
8121 * nscd/nscd.c: Likewise.
8122 * nss/getent.c: Likewise.
8123 * nss/makedb.c: Likewise.
8124 * posix/getconf.c: Likewise.
8125
18ea052c
SP
81262012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8127
8128 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8129 numbers.
8130
9c89fca6
MF
81312012-12-30 Mike Frysinger <vapier@gentoo.org>
8132
8133 * math/bits/mathcalls.h (modf): Use __nonnull.
8134
085ec079
SP
81352012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8136
8137 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8138 (split): Use macro CN instead of the bare value.
8139 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8140 could be used.
8141 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8142 instead of the bare value.
8143 (power1): Likewise.
8144
6d9f97e1
SP
81452012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8146
d63f73be
SP
8147 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8148 __ATAN_TWOM.
8149 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8150
6d9f97e1
SP
8151 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8152 their values.
8153 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8154 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8155 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8156 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8157
4c4febf5
AJ
81582012-12-28 Andreas Jaeger <aj@suse.de>
8159
af5843ef
AJ
8160 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8161 values are from Linux 3.7.
8162
4c4febf5
AJ
8163 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8164 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8165
99136f82
SP
81662012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8167
2f216c3c 8168 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8169 TRUE case.
8170
99136f82
SP
8171 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8172 (norm): Likewise.
8173 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8174 variables with preprocessor constants.
8175 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8176 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8177 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8178
7fffbdff
BH
81792012-12-27 Bruno Haible <bruno@clisp.org>
8180
8181 [BZ #14317]
8182 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8183 only if needed.
8184
b76eb5f0
SP
81852012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8186
31a7fe5c
SP
8187 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8188 and use variable directly.
8189 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8190
b76eb5f0
SP
8191 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8192 MPONE.
8193 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8194 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8195 variable MPONE.
8196 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8197 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8198 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8199 include directive. Remove local variable MPONE.
8200 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8201 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8202 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8203
2c8bfe7d
DM
82042012-12-25 David S. Miller <davem@davemloft.net>
8205
8206 * version.h (RELEASE): Set to "development".
8207 (VERSION): Set to "2.17.90".
8208 * NEWS: Add 2.18 section.
8209
147d03b0
DM
82102012-12-21 David S. Miller <davem@davemloft.net>
8211
8212 * po/hr.po: Update from translation team.
8213
a8ebb2b9
AK
82142012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8215
8216 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8217
95b4f1b6
SE
82182012-12-19 Steve Ellcey <sellcey@mips.com>
8219
b2d94007 8220 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 8221
cedb2a90
MS
82222012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8223
8224 * manual/contrib.texi (Contributors): Spelling correction.
8225
bbf527d6
DM
82262012-12-15 David S. Miller <davem@davemloft.net>
8227
8228 * po/ru.po: Update from translation team.
8229
bc38c906
DM
82302012-12-13 David S. Miller <davem@davemloft.net>
8231
85429b1a
DM
8232 * NEWS: Mention IFUNC testsuite enhancements.
8233
d283e353
DM
8234 * po/pl.po: Update from translation team.
8235 * po/bg.po: Likewise.
8236
bc38c906
DM
8237 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8238 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8239
a181b0d7
DM
82402012-12-11 David S. Miller <davem@davemloft.net>
8241
4641d57e
DM
8242 * po/sv.po: Update from translation team.
8243
f7bc6495
DM
8244 * po/vi.po: Update from translation team.
8245
6fc9048f
DM
8246 * po/cs.po: Update from translation team.
8247
a181b0d7
DM
8248 * po/de.po: Update from translation team.
8249 * po/eo.po: Likewise.
8250 * po/nl.po: Likewise.
8251
f70bfe80
SP
82522012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8253
3c8b4190
SP
8254 [BZ #14246]
8255 * manual/argp.texi (Argp Helper Functions): Move node to follow
8256 Argp Parsing State.
8257
f70bfe80
SP
8258 [BZ #14872]
8259 * manual/conf.texi (Limits on File System Capacity): Mention if
8260 terminating null is included in the max size.
8261
188f0adf
AJ
82622012-12-10 Andreas Jaeger <aj@suse.de>
8263
8264 * po/cs.po: Update from translation team.
8265
56e7d3ad
SP
82662012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8267
8268 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8269 void pointer and cast to uintptr_t.
8270 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8271 path.
8272 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8273 * sysdeps/s390/s390-64/memset.S: Likewise.
8274
76f2d2ea 82752012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
8276
8277 [BZ #14833]
8278 * menual/message.texi (Message Translation): Fix typos.
8279 (Helper programs for gettext): Likewise.
8280
67cbf9a2
AS
82812012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8282
8283 [BZ #14898]
8284 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8285 Change to -1.
8286
682d0e9a
DM
82872012-12-07 David S. Miller <davem@davemloft.net>
8288
8289 * po/libc.pot: Update.
8290
573cd484
RH
82912012-12-07 Richard Henderson <rth@redhat.com>
8292
7e9da188 8293 [BZ #10114]
573cd484
RH
8294 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8295 normal/normal case to before the switch.
8296 (_FP_DIV): Likewise.
8297
e933a943
MF
82982012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8299 Mike Frysinger <vapier@gentoo.org>
8300
8301 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8302 check for __NR_fadvise64_64.
8303
82123268
CM
83042012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8305
8306 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8307 0, not just to plain "0" as a statement.
8308 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8309 with cw.
8310
d9814526
JM
83112012-12-06 Joseph Myers <joseph@codesourcery.com>
8312
8313 * NEWS: Use sourceware.org in Bugzilla URL.
8314
7728c574
SP
83152012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8316
f16946dd
SP
8317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8318 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8319
5704bbcb
SP
8320 * stdio-common/tst-put-error.c (do_test): Add newline to the
8321 padded test to ensure flush.
8322
17aa0516
JL
83232012-12-05 Jeff Law <law@redhat.com>
8324
8325 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8326
363313b5
JM
83272012-12-05 Joseph Myers <joseph@codesourcery.com>
8328
effbd42a
JM
8329 * README: Don't refer to ports add-on as distributed separately.
8330 Mention AArch64 in list of systems supported in the ports add-on.
8331
87600365
JM
8332 * LICENSES: Add more non-FSF copyright and license notices.
8333
a0d7066a
JM
8334 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8335 ((unused)).
8336
66ca5a5b
JM
8337 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8338
363313b5
JM
8339 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8340 10000 as width of padded output.
8341
b37984ad
JM
83422012-12-04 Joseph Myers <joseph@codesourcery.com>
8343
9003570a
JM
8344 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8345
b37984ad
JM
8346 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8347 variable LX with __attribute__ ((unused)).
8348 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8349 Likewise.
8350 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8351 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8352 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8353 with __attribute__ ((unused)).
8354
c8df52ec
DM
83552012-12-04 David S. Miller <davem@abraco.davemloft.net>
8356
8357 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8358
b3b099af
JM
83592012-12-04 Joseph Myers <joseph@codesourcery.com>
8360
c33aa6e3
JM
8361 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8362 (CFLAGS-nldbl-acos.c): New variable.
8363 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8364 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8365 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8366 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8367 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8368 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8369 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8370 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8371 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8372 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8373 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8374 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8375 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8376 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8377 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8378 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8379 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8380 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8381 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8382 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8383 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8384 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8385 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8386 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8387 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8388 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8389 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8390 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8391 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8392 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8393 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8394 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8395 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8396 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8397 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8398 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8399 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8400 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8401 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8402 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8403 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8404 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8405 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8406 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8407 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8408 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8409 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8410 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8411 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8412 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8413 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8414 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8415 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8416 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8417 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8418 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8419 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8420 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8421 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8422 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8423 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8424 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8425 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8426 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8427 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8428 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8429 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8430 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8431 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8432 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8433 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8434 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8435 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8436 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8437 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8438 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8439 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8440 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8441 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8442 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8443 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8444 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8445 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8446 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8447 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8448 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8449 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8450 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8451 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8452 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8453 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8454 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8455 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8456 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8457 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8458 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8459 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8460
20f0018d
JM
8461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8462 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8463
b3b099af
JM
8464 [BZ #14914]
8465 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8466 whole low double instead of just low 47 bits when splitting values
8467 into two parts.
8468
029264d1
AM
84692012-12-03 Allan McRae <allan@archlinux.org>
8470
8471 * manual/stdio.texi (Predefined Printf Handlers): Remove
8472 @hsep and @vsep usage.
8473
c9d6789e
MF
84742012-12-03 Mike Frysinger <vapier@gentoo.org>
8475
8476 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8477 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8478
4b7634a5
JL
84792012-12-03 Jeff Law <law@redhat.com>
8480
8481 * time/sys/time.h (settimeofday): Do not mark TV argument
8482 as __nonnull.
8483
eb6cbd24
MF
84842012-12-01 Mike Frysinger <vapier@gentoo.org>
8485
8486 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8487 when currently writing and seek to current position when not.
8488 * libio/Makefile (tests): Remove bug-fclose1.
8489 * libio/bug-fclose1.c: Delete.
8490
f638872a
JM
84912012-12-01 Joseph Myers <joseph@codesourcery.com>
8492
8493 * manual/arith.texi (feenableexcept): Fix typo.
8494 (fedisableexcept): Likewise.
8495
48085d14
RM
84962012-11-30 Roland McGrath <roland@hack.frob.com>
8497
8498 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8499 second, differently-typed declaration, rather than a cast.
8500
1a538b9f
SP
85012012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8502
8503 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8504 * include/rpc/svc.h: ... here.
8505
d07f2ff1 85062012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
8507
8508 [BZ #13013]
8509 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8510 depending n and resplen2 to catch cases where answer
8511 equals answerp2.
8512
c93ec1f0
CD
85132012-11-29 Carlos O'Donell <carlos@systemhalted.org>
8514
8515 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8516 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8517
37db69de
MF
85182012-11-29 Mike Frysinger <vapier@gentoo.org>
8519
8520 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8521
e10c4e4f
RM
85222012-11-29 Roland McGrath <roland@hack.frob.com>
8523
8524 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8525
2af1b328
JL
85262012-11-28 Jeff Law <law@redhat.com>
8527
8528 [BZ #13761]
8529 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8530 dataset_temporary. Track alloca usage into alloca_used.
8531 If dataset is large allocate and release it via malloc/free.
8532
111db5b1
FW
85332012-06-04 Florian Weimer <fweimer@redhat.com>
8534
f06cc227 8535 [BZ #14197]
111db5b1
FW
8536 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8537
dd694abd
DM
85382012-11-28 David S. Miller <davem@davemloft.net>
8539
8540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8541
9984dd01
JM
85422012-11-28 Joseph Myers <joseph@codesourcery.com>
8543
8544 [BZ #14803]
8545 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8546 of pi/2 rounded to nearest to 64 bits.
8547 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8548 nearest to 64 bits.
8549 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8550 bits.
8551
14bc93a9
JL
85522012-11-28 Jeff Law <law@redhat.com>
8553 Martin Osvald <mosvald@redhat.com>
8554
8555 [BZ #14889]
8556 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8557 * sunrpc/svc.c: Include time.h.
8558 (__svc_accept_failed): New function.
8559 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8560 any reason other than EINTR, call __svc_accept_failed.
8561 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8562 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8563
e3c6aa3a
AS
85642012-11-28 Andreas Schwab <schwab@suse.de>
8565
8566 * scripts/abilist.awk: Also handle indirect functions in .opd
8567 section.
8568
1bead169
JM
85692012-11-28 Joseph Myers <joseph@codesourcery.com>
8570
8571 [BZ #13881]
8572 * sysdeps/x86/fpu/powl_helper.c: New file.
8573 * sysdeps/x86/fpu/Makefile: Likewise.
8574 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8575 (p3): New object.
8576 (__ieee754_powl): Use __powl_helper for finite arguments except
8577 integer exponents below 8.
8578 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8579 (p3): New object.
8580 (__ieee754_powl): Use __powl_helper for finite arguments except
8581 integer exponents below 8.
8582 * math/libm-test.inc (pow_test): Add more tests and enable some
8583 previously disabled tests.
8584 * sysdeps/i386/fpu/libm-test-ulps: Update.
8585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8586
0817d63d
SP
85872012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8588 Carlos O'Donell <carlos_odonell@mentor.com>
8589
8590 * nss/makedb.c (is_prime): Assert that input is odd and greater
8591 than 4. Note that fact in a comment too.
8592 (next_prime): Add 4 to input.
8593
de2fd463
SP
85942012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8595
8596 [BZ #11741]
8597 * libio/Makefile (tests): Add test case tst-fwrite-error.
8598 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8599 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8600 * libio/tst-fwrite-error.c: New test case.
8601
c515fb51
L
86022012-11-26 H.J. Lu <hongjiu.lu@intel.com>
8603
8604 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8605 before casting to void *.
8606 * include/libc-internal.h (__pointer_type): New macro.
8607 (__integer_if_pointer_type_sub): Likewise.
8608 (__integer_if_pointer_type): Likewise.
8609 (cast_to_integer): Likewise.
8610 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8611 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8612 before casting to atomic64_t.
8613 (atomic_exchange_acq): Likewise.
8614 (__arch_exchange_and_add_body): Likewise.
8615 (__arch_add_body): Likewise.
8616 (atomic_add_negative): Likewise.
8617 (atomic_add_zero): Likewise.
8618
4cf77aa9
JM
86192012-11-26 Joseph Myers <joseph@codesourcery.com>
8620
8621 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8622 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8623 (add_fdes): Likewise.
8624 (linear_search_fdes): Likewise.
8625 (binary_search_unencoded_fdes): Likewise.
8626
d260b3b4
AS
86272012-11-26 Andreas Schwab <schwab@linux-m68k.org>
8628
8629 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8630
67060746
AC
86312012-11-24 Adam Conrad <adconrad@0c3.net>
8632
8633 * configure.in: Autodetect C++ header directories.
8634 * configure: Regenerated.
8635
800938a1
MF
86362012-11-23 Mike Frysinger <vapier@gentoo.org>
8637
8638 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8639
4e6e34e6
AS
86402012-11-23 Andreas Schwab <schwab@linux-m68k.org>
8641
8642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8643
7c7feb47
JM
86442012-11-22 Joseph Myers <joseph@codesourcery.com>
8645
7184dcdf
JM
8646 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8647 LDBL_MANT_DIG == 106]: Disable some tests.
8648 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8649 Likewise.
8650 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8651 Likewise.
8652
0a42601f
JM
8653 [BZ #14871]
8654 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8655 input for small inputs. Return +/- pi/2 for large inputs.
8656 * math/libm-test.inc (atan_test): Add more tests.
8657
79c9b9fe
JM
8658 * sysdeps/generic/unwind-dw2-fde-glibc.c
8659 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8660 __attribute__ ((unused)).
8661
c60d3bf2
JM
8662 [BZ #14645]
8663 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8664 x * y if x and y are nonzero and z is zero.
8665
ef1e0867
JM
8666 [BZ #14811]
8667 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8668 nonzero exponents with absolute value below 0x1p-117 to +/-
8669 0x1p-117.
8670
1468ded3
JM
8671 [BZ #14869]
8672 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8673 up arguments below 2**-450, not just those below 2**-500.
8674 * math/libm-test.inc (hypot_test): Add another test.
8675
8e27e3cc
JM
8676 [BZ #14868]
8677 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8678 Return a+b for ratio over 2**120, not 2**60.
8679 * math/libm-test.inc (hypot_test): Add another test.
8680
c9c0279b
JM
8681 * math/libm-test.inc (clog_test): Use
8682 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8683 (clog10_test): Likewise.
8684
7c7feb47
JM
8685 [BZ #6778]
8686 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8687
fff1530e
AS
86882012-11-22 Andreas Schwab <schwab@suse.de>
8689
8690 * sysdeps/i386/fpu/libm-test-ulps: Update.
8691
94558d30
PT
86922012-11-22 Pino Toscano <toscano.pino@tiscali.it>
8693
8694 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8695 printf output with newline.
8696
7e1be741
L
86972012-11-21 H.J. Lu <hongjiu.lu@intel.com>
8698
6bfea974
L
8699 [BZ #14865]
8700 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8701 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8702 -z nodlopen, -z initfirst and -z execstack support.
8703 * configure: Regenerated.
8704
7e1be741
L
8705 * elf/elf.h (DF_1_NODIRECT): New macro.
8706 (DF_1_IGNMULDEF): Likewise.
8707 (DF_1_NOKSYMS): Likewise.
8708 (DF_1_NOHDR): Likewise.
8709 (DF_1_EDITED): Likewise.
8710 (DF_1_NORELOC): Likewise.
8711 (DF_1_SYMINTPOSE): Likewise.
8712 (DF_1_GLOBAUDIT): Likewise.
8713 (DF_1_SINGLETON): Likewise.
8714 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8715 DT_1_SUPPORTED_MASK bits.
8716 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8717
105ce2ce
CD
87182012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
8719
8720 * sysdeps/unix/make-syscalls.sh: Document prefixes.
8721
123be9de
TS
87222012-11-20 Thomas Schwinge <thomas@codesourcery.com>
8723
d072f3f7
TS
8724 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8725 macro.
8726
123be9de
TS
8727 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8728 (sendmmsg): Move declarations...
8729 * socket/sys/socket.h: ... here.
8730 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8731 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
8732 include it from...
8733 * socket/recvmmsg.c: ... this new file.
8734 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
8735 (sendmmsg): Rename to __sendmmsg, create weak alias and make
8736 definition of __sendmmsg hidden.
8737 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8738 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
8739 Move ENOSYS stub into and include it from...
8740 * socket/sendmmsg.c: ... this new file.
8741 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
8742 (sysdep_routines): Move recvmmsg and sendmmsg...
8743 * socket/Makefile (routines): ... here.
8744 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
8745 (GLIBC_PRIVATE): Add __sendmmsg.
8746 * include/sys/socket.h (__sendmmsg): Add declarations.
8747 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
8748 sendmmsg.
8749
cf9a5d18
JM
87502012-11-20 Joseph Myers <joseph@codesourcery.com>
8751
8752 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
8753 variable I1 with __attribute__ ((unused)).
8754 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8755
ecd4caf9
JM
87562012-11-19 Joseph Myers <joseph@codesourcery.com>
8757
be14d48f
JM
8758 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
8759 DUMMY variables with __attribute__ ((unused)).
8760
ecd4caf9
JM
8761 * bits/byteswap.h: Include <bits/types.h>.
8762 (__bswap_64): Use __uint64_t instead of unsigned long long int.
8763
986cab95
PT
87642012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8765
8766 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
8767 string_t. Do not manually set errno.
8768 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
8769 length with __strnlen. Make sure to both set errno and return it on
8770 failure.
8771
6d33cc9d
DM
87722012-11-19 David S. Miller <davem@davemloft.net>
8773
8774 With help from Joseph Myers.
8775 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
8776 very large arguments properly.
8777 * math/libm-test.inc (atan_test): New tests.
8778 (atan2_test): New tests.
8779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8780 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8781
ee663277
JM
87822012-11-19 Joseph Myers <joseph@codesourcery.com>
8783
877f2d8e
JM
8784 [BZ #14856]
8785 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
8786 Define to 3.
8787
116fc08a
JM
8788 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
8789 [POSIX] (EADDRNOTAVAIL): Likewise.
8790 [POSIX] (EAFNOSUPPORT): Likewise.
8791 [POSIX] (EALREADY): Likewise.
8792 [POSIX] (ECONNABORTED): Likewise.
8793 [POSIX] (ECONNREFUSED): Likewise.
8794 [POSIX] (ECONNRESET): Likewise.
8795 [POSIX] (EDESTADDRREQ): Likewise.
8796 [POSIX] (EDQUOT): Likewise.
8797 [POSIX] (EHOSTUNREACH): Likewise.
8798 [POSIX] (EIDRM): Likewise.
8799 [POSIX] (EISCONN): Likewise.
8800 [POSIX] (ELOOP): Likewise.
8801 [POSIX] (EMULTIHOP): Likewise.
8802 [POSIX] (ENETDOWN): Likewise.
8803 [POSIX] (ENETUNREACH): Likewise.
8804 [POSIX] (ENOBUFS): Likewise.
8805 [POSIX] (ENODATA): Likewise.
8806 [POSIX] (ENOLINK): Likewise.
8807 [POSIX] (ENOMSG): Likewise.
8808 [POSIX] (ENOPROTOOPT): Likewise.
8809 [POSIX] (ENOSR): Likewise.
8810 [POSIX] (ENOSTR): Likewise.
8811 [POSIX] (ENOTCONN): Likewise.
8812 [POSIX] (ENOTSOCK): Likewise.
8813 [POSIX] (EOPNOTSUPP): Likewise.
8814 [POSIX] (EOVERFLOW): Likewise.
8815 [POSIX] (EPROTO): Likewise.
8816 [POSIX] (EPROTONOSUPPORT): Likewise.
8817 [POSIX] (EPROTOTYPE): Likewise.
8818 [POSIX] (ESTALE): Likewise.
8819 [POSIX] (ETIME): Likewise.
8820 [POSIX] (ETXTBSY): Likewise.
8821 [POSIX] (EWOULDBLOCK): Likewise.
8822 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
8823 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
8824 [POSIX] (SEEK_CUR): Likewise.
8825 [POSIX] (SEEK_END): Likewise.
8826 [POSIX || UNIX98] (mode_t): Do not require.
8827 [POSIX] (off_t): Likewise.
8828 [POSIX] (pid_t): Likewise.
8829 [POSIX] (sys/stat.h): Do not allow header.
8830 [POSIX] (unistd.h): Likewise.
8831 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
8832 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
8833 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
8834 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
8835 require.
8836 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
8837 sigevent): Specify elements.
8838 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
8839 entry.
8840 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
8841 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
8842
a483863f
JM
8843 * conform/data/cpio.h-data [POSIX]: Disable whole file.
8844 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
8845 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
8846 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
8847 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
8848 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
8849 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
8850 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
8851 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
8852 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
8853 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
8854 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
8855 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
8856 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
8857 Likewise.
8858 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
8859 Likewise.
8860 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
8861 Likewise.
8862 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
8863 Likewise.
8864 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
8865 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
8866 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
8867 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
8868 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
8869 Specify lower bound on value.
8870 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
8871 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
8872 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
8873 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
8874 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
8875 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
8876 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
8877 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
8878 value.
8879 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
8880 as optional.
8881 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
8882 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
8883 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
8884 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
8885 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
8886 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
8887 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
8888 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
8889 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
8890 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
8891 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
8892 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
8893 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
8894 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
8895 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
8896 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
8897 entry.
8898 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
8899 optional.
8900 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
8901 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
8902 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
8903 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
8904 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
8905 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
8906 Likewise.
8907 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
8908 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
8909 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
8910 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
8911 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
8912 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
8913 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
8914 as optional.
8915 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
8916 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
8917 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
8918 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
8919 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
8920 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
8921 specify as optional.
8922 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
8923 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
8924 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
8925 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
8926 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
8927 [XPG3] (NL_LANGMAX): Likewise.
8928 [POSIX || XPG3] (NL_MSGMAX): Likewise.
8929 [POSIX || XPG3] (NL_NMAX): Likewise.
8930 [POSIX || XPG3] (NL_SETMAX): Likewise.
8931 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
8932 [XPG3] (NZERO): Likewise.
8933 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
8934 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
8935 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
8936 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
8937 (REG_ERANGE): Expect.
8938 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
8939 optional-constant.
8940 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
8941 Use (void) in prototype.
8942 [POSIX] (*_t): Allow.
8943 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
8944 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
8945 (WRDE_BADVAL): Expect.
8946
5ba924e3
JM
8947 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
8948 expect.
8949 [XPG3 || XPG4] (O_RSYNC): Likewise.
8950 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
8951 Likewise.
8952 [XPG3 || XPG4] (pthread_sigmask): Likewise.
8953 [XPG3 || XPG4] (sigqueue): Likewise.
8954 [XPG3 || XPG4] (sigtimedwait): Likewise.
8955 [XPG3 || XPG4] (sigwaitinfo): Likewise.
8956 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
8957 [XPG3 || XPG4] (vsnprintf): Likewise.
8958 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
8959 Likewise.
8960 [XPG3 || XPG4] (blksize_t): Likewise.
8961 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
8962 Likewise.
8963 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
8964 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8965 [XPG3 || XPG4] (struct itimerspec): Likewise.
8966 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
8967 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
8968 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
8969 [XPG3 || XPG4] (clockid_t): Likewise.
8970 [XPG3 || XPG4] (timer_t): Likewise.
8971 [XPG3 || XPG4] (clock_getres): Likewise.
8972 [XPG3 || XPG4] (clock_gettime): Likewise.
8973 [XPG3 || XPG4] (clock_settime): Likewise.
8974 [XPG3 || XPG4] (nanosleep): Likewise.
8975 [XPG3 || XPG4] (timer_create): Likewise.
8976 [XPG3 || XPG4] (timer_delete): Likewise.
8977 [XPG3 || XPG4] (timer_gettime): Likewise.
8978 [XPG3 || XPG4] (timer_getoverrun): Likewise.
8979 [XPG3 || XPG4] (timer_settime): Likewise.
8980 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
8981 [XPG3 || XPG4] (getlogin_r): Likewise.
8982 [XPG3 || XPG4] (pread): Likewise.
8983 [XPG3 || XPG4] (pthread_atfork): Likewise.
8984 [XPG3 || XPG4] (pwrite): Likewise.
8985
ee663277
JM
8986 [BZ #14835]
8987 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
8988 <bits/siginfo.h>.
8989
942caa16
PT
89902012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8991
e19af380
PT
8992 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
8993 finalizing MALLSTREAM.
8994
942caa16
PT
8995 * sysdeps/mach/hurd/syncfs.c: New file.
8996
cfde9b46
SP
89972012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8998
8999 [BZ #14719]
9000 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9001 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9002 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9003 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9004 (_nss_dns_gethostbyname4_r): Likewise.
9005 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9006 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9007
f6da27e5
PH
90082012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9009
9010 [BZ #13763]
9011 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9012
6665d4a2
SM
90132012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9014
1f51ee92
SM
9015 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9016 * elf/cache.c (print_entry): Print ",AArch64" for
9017 FLAG_AARCH64_LIB64
9018
6665d4a2
SM
9019 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9020 * elf/cache.c (print_entry): Print ",hard-float" for
9021 FLAG_ARM_LIBHF.
9022
05b227bd
DM
90232012-11-18 David S. Miller <davem@davemloft.net>
9024
9025 With help from Joseph Myers.
9026 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9027 cutoff to 2**-13.
9028 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9029 cutoff to 2**-25.
9030 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9031 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9032 small.
9033 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9034 * math/libm-test.inc (y0_test): New tests.
9035 (y1_test): New tests.
9036 * sysdeps/i386/fpu/libm-test-ulps: Update.
9037 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9038 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9039
786b0b67
AS
90402012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9041
9042 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9043 64-bit targets.
9044 * configure: Regenerated.
9045
8e18b86d
DM
90462012-11-17 David S. Miller <davem@davemloft.net>
9047
9048 [BZ #14811]
9049 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9050 nonzero exponents with absolute value below 0x1p-128 to +/-
9051 0x1p-128.
9052
531f1ae0
JM
90532012-11-17 Joseph Myers <joseph@codesourcery.com>
9054
12df29e2
JM
9055 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9056
150dc1a0
JM
9057 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9058
531f1ae0
JM
9059 * posix/getconf-speclist.c: New file.
9060 * posix/posix-envs.def: Likewise.
9061 * posix/confstr.c (START_ENV_GROUP): New macro.
9062 (END_ENV_GROUP): Likewise.
9063 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9064 (KNOWN_PRESENT_ENV_STRING): Likewise.
9065 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9066 (UNKNOWN_ENVIRONMENT): Likewise.
9067 (confstr): Include posix-envs.def instead of handling
9068 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9069 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9070 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9071 (END_ENV_GROUP): Likewise.
9072 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9073 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9074 (UNKNOWN_ENVIRONMENT): Likewise.
9075 (__sysconf): Include posix-envs.def instead of handling associated
9076 cases directly here.
9077 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9078 preprocessing getconf-speclist.c rather than running getconf or
9079 generating empty file.
9080
a93f9cbc
PT
90812012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9082
9083 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9084
d64d9f87
AL
90852012-11-16 Andrej Lajovic <natrij@gmail.com>
9086
9087 [BZ #14672]
9088 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9089
447885eb
DM
90902012-11-16 David S. Miller <davem@davemloft.net>
9091
9092 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9093 smaller than LDBL_EPSILON/2.0L, just return xm1.
9094
bcbf9830
L
90952012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9096
9097 * elf/tst-array1.c (init): Set constructor priority to 1000.
9098 (fini): Set destructor priority to 1000.
9099 * elf/tst-array2dep.c: Likewise.
9100
2b766585
SP
91012012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9102
9103 [BZ #11741]
9104 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9105 (_IO_new_file_xsputn): Also return EOF if none of the input
9106 data was written when overflow failed.
9107 * libio/iopadn.c (_IO_padn): Likewise.
9108 * libio/iowpadn.c (_IO_wpadn): Likewise.
9109 * stdio-common/tst-put-error.c: Add copyright notice.
9110 (do_test): Add case for printing padded string.
9111 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9112 _IO_padn returned error.
9113 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9114 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9115 return EOF.
9116
b1848fde
SP
91172012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9118
9119 * libio/libioP.h: Add comment note that the references to C++
9120 bits are now obsolete.
9121
2fd89785
MS
91222012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9123
9124 * math/libm-test.inc (check_complex): Use asprintf.
9125
e3ea5409
JM
91262012-11-14 Joseph Myers <joseph@codesourcery.com>
9127
9128 * debug/pcprofiledump.c (print_version): Update copyright year.
9129 * malloc/memusagestat.c (print_version): Likewise.
9130
2e64d265
L
91312012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9132
9133 [BZ #14831]
9134 * elf/Makefile (tests): Add tst-audit8.
9135 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9136 ($(objpfx)tst-audit8.out): New target.
9137 (tst-audit8-ENV): New variable.
9138 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9139 audit if l_reloc_result is NULL.
9140 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9141 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9142 * elf/tst-audit8.c: New file.
9143
c485e4d2
MS
91442012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9145
9146 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9147 * misc/Makefile (CFLAGS-select.c): Define.
9148 * posix/Makefile (CFLAGS-pause.c): Define.
9149
3a0d900a
DM
91502012-11-13 David S. Miller <davem@davemloft.net>
9151
9152 * crypt/Makefile: Move test targets after toplevel Rules
9153 inclusion. Grab any necessary sysdep routines when linking.
9154 * crypt/md5.c (md5_process_block): Remove define, we will always
9155 name it __md5_process_block.
9156 (md5_finish_ctx): Update md5_process_block call.
9157 (md5_stream): Likewise.
9158 (md5_process_bytes): Likewise.
9159 (md5_process_block): Rename to __md5_process_block and move to ...
9160 * crypt/md5-block.c: ... here.
9161 * crypt/sha256.c (sha256_process_block): Move to ...
9162 * crypt/sha256-block.c: ... here.
9163 * crypt/sha512.c (sha512_process_block): Move to ...
9164 * crypt/sha512-block.c: ... here.
9165 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9166 path.
9167 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9168 * sysdeps/sparc/sparc64/multiarch/Makefile
9169 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9170 crypt subdir.
9171 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9172 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9173 multiarch changes.
9174 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9175 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9176 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9177 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9178 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9179 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9180 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9181 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9182 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9183 file.
9184 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9185 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9186 file.
9187 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9188
8ca89318
JM
91892012-11-13 Joseph Myers <joseph@codesourcery.com>
9190
e27d476a
JM
9191 * timezone/tzselect.ksh: Update from tzcode git revision
9192 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9193 * timezone/zdump.c: Likewise.
9194 * timezone/zic.c: Likewise.
9195 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9196 in TZVERSION setting, not $(PKGVERSION).
9197 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9198 REPORT_BUGS_TO settings.
9199
8ca89318
JM
9200 [BZ #14838]
9201 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9202 macro.
9203
47594329
MS
92042012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9205
9206 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9207 detection to immediately after _FP_ROUND().
9208 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9209 bits are 0.
9210
640ac3f1
DM
92112012-11-11 David S. Miller <davem@davemloft.net>
9212
9213 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9214 inttypes.h
9215 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9216 __close rather than their public counterparts.
9217
3d2577bb
JM
92182012-11-10 Joseph Myers <joseph@codesourcery.com>
9219
9220 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9221 file.
9222 [UNIX98] (sem_timedwait): Do not expect.
9223 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9224 [XPG4 || UNIX98] (sockatmark): Do not expect.
9225 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9226 (clock_getcpuclockid): Do not expect.
9227 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9228 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9229 Do not expect.
9230 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9231 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9232 [UNIX98] (vwscanf): Likewise.
9233 [UNIX98] (vswscanf): Likewise.
9234
fb1ae1ee
JM
92352012-11-09 Joseph Myers <joseph@codesourcery.com>
9236
9ec6f8bd
JM
9237 * timezone/version.h: Remove file.
9238 * timezone/README: Do not refer to version.h.
9239 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9240 $(objpfx)version.h.
9241 ($(objpfx)zdump.o): Likewise.
c3f81911 9242 ($(objpfx)version.h): New target.
9ec6f8bd 9243
0aa8f8a1
JM
9244 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9245 2012i.
9246 * timezone/README: Don't mention modification to tzselect.ksh.
9247 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9248 work on unmodified tzselect.ksh. Substitute version numbers in
9249 tzselect.ksh.
9250
4e87147f
JM
9251 * Makefile (format-me): Remove.
9252 (INSTALL): Adjust indentation. Use commands directly instead of
9253 using $(format-me).
9254
8b748aed
JM
9255 * aclocal.m4 (ACX_PKGVERSION): New macro.
9256 (ACX_BUGURL): Likewise.
9257 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9258 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9259 (REPORT_BUGS_TO): Likewise.
9260 * configure: Regenerated.
9261 * config.h.in (PKGVERSION): New macro.
9262 (REPORT_BUGS_TO): Likewise.
9263 * config.make.in (PKGVERSION): New variable.
9264 (PKGVERSION_TEXI): Likewise.
9265 (REPORT_BUGS_TO): Likewise.
9266 (REPORT_BUGS_TEXI): Likewise.
9267 * Makefile (format-me): Use -I$(common-objpfx)manual.
9268 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9269 ($(common-objpfx)manual/%): New target.
9270 (manual/%): Remove target.
9271 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9272 (print_version): Use PKGVERSION.
9273 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9274 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9275 and REPORT_BUGS_TO.
9276 ($(objpfx)xtrace): Likewise.
9277 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9278 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9279 (print_version): Use PKGVERSION.
9280 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9281 (do_version): Use PKGVERSION.
9282 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9283 REPORT_BUGS_TO.
9284 (common-ldd-rewrite): Likewise.
9285 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9286 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9287 (print_version): Use PKGVERSION.
9288 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9289 * elf/pldd.c (argp_program_bug_address): Remove variable.
9290 (more_help): New function.
9291 (argp): Use more_help.
9292 (print_version): Use PKGVERSION.
9293 * elf/sln.c (main): Use PKGVERSION.
9294 (usage): Use REPORT_BUGS_TO.
9295 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9296 (top level): Use PKGVERSION.
9297 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9298 (print_version): Use PKGVERSION.
9299 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9300 (print_version): Use PKGVERSION.
9301 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9302 (print_version): Use PKGVERSION.
9303 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9304 (print_version): Use PKGVERSION.
9305 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9306 (print_version): Use PKGVERSION.
9307 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9308 (print_version): Use PKGVERSION.
9309 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9310 and BUGURL.
9311 ($(objpfx)memusage): Likewise.
9312 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9313 (do_version): Use PKGVERSION.
9314 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9315 (print_version): Use PKGVERSION.
9316 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9317 ($PKGVERSION): New variable.
9318 ($REPORT_BUGS_TO): Likewise.
9319 (usage): Use $REPORT_BUGS_TO.
9320 (top level): Use $PKGVERSION.
9321 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9322 ($(objpfx)pkgvers.texi): New rule.
9323 ($(objpfx)stamp-pkgvers): Likewise.
9324 * manual/install.texi: Include pkgvers.texi.
9325 (--with-pkgversion): Document new configure option.
9326 (--with-bugurl): Likewise.
9327 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9328 than necessarily for this particular distribution. Use
9329 REPORT_BUGS_TO for where to report bugs.
9330 * INSTALL: Regenerated.
9331 * manual/libc.texinfo: Include pkgvers.texi.
9332 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9333 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9334 (print_version): Use PKGVERSION.
9335 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9336 (print_version): Use PKGVERSION.
9337 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9338 (print_version): Use PKGVERSION.
9339 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9340 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9341 macro.
9342 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9343 (print_version): Use PKGVERSION.
9344 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9345 (print_version): Use PKGVERSION.
9346 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9347 and PKGVERSION.
9348
92e4b6a9
JM
9349 * timezone/checktab.awk: Update from tzcode 2012i.
9350 * timezone/ialloc.c: Likewise.
9351 * timezone/private.h: Likewise.
9352 * timezone/scheck.c: Likewise.
9353 * timezone/tzfile.h: Likewise.
9354 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9355 (TZVERSION): Hardcode tzcode version number.
9356 * timezone/zdump.c: Update from tzcode 2012i.
9357 * timezone/zic.c: Likewise.
9358 * timezone/version.h: New file.
9359 * timezone/README: Describe version.h. Update upstream location.
9360
9bde902c
JM
9361 [BZ #14824]
9362 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9363 (mktemp): Enable declaration.
9364 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9365 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9366 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9367 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9368 Likewise.
9369 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9370 Likewise.
9371 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9372 Likewise.
9373 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9374 Likewise.
9375 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9376 Likewise.
9377 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9378 Likewise.
9379
fb1ae1ee
JM
9380 [BZ #14821]
9381 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9382 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9383 for copies of such integer values.
9384 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9385 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9386
2c1adbcb
AJ
93872012-11-09 Andreas Jaeger <aj@suse.de>
9388
9389 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9390 definitions and declarations that are provided by
9391 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9392
d0f8457e
AK
93932012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9394
3a235abb 9395 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
9396 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9397 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9398 definition.
9399
57241e26
MS
94002012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9401
9402 * elf/elf.h: Update comment before AArch64 relocations.
9403
60e8270d
DM
94042012-11-07 David S. Miller <davem@davemloft.net>
9405
9406 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9407 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9408 (__start_context): Declare.
9409 (__makecontext_ret): Delete.
9410 (__makecontext): Hook up __start_context instead of
9411 __makecontext_ret.
9412 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9413 (sysdep_routines): Add __start_context when in stdlib.
9414
0fbb0fbc
JM
94152012-11-07 Joseph Myers <joseph@codesourcery.com>
9416
9417 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9418 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9419 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9420 hardcoded "nm".
9421 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9422 (READELF): New variable. Use it instead of hardcoded "readelf".
9423
eb48db7e
L
94242012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9425
9426 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9427 * sysdeps/x86/Makefile: Here.
9428 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9429 * sysdeps/x86/tst-xmmymm.sh: This.
9430
05bcf62a
JM
94312012-11-07 Joseph Myers <joseph@codesourcery.com>
9432
c4b6cf53
JM
9433 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9434 expectations.
9435 [UNIX98] (pthread_barrier_t): Do not expect.
9436 [UNIX98] (pthread_barrierattr_t): Likewise.
9437 [UNIX98] (pthread_spinlock_t): Likewise.
9438 [UNIX98] (pthread_barrier_destroy): Likewise.
9439 [UNIX98] (pthread_barrier_init): Likewise.
9440 [UNIX98] (pthread_barrier_wait): Likewise.
9441 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9442 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9443 [UNIX98] (pthread_barrierattr_init): Likewise.
9444 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9445 [UNIX98] (pthread_getcpuclockid): Likewise.
9446 [UNIX98] (pthread_mutex_timedlock): Likewise.
9447 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9448 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9449 [UNIX98] (pthread_sigmask): Likewise.
9450 [UNIX98] (pthread_spin_destroy): Likewise.
9451 [UNIX98] (pthread_spin_init): Likewise.
9452 [UNIX98] (pthread_spin_lock): Likewise.
9453 [UNIX98] (pthread_spin_trylock): Likewise.
9454 [UNIX98] (pthread_spin_unlock): Likewise.
9455 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9456 Do not expect.
9457 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9458 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9459 [XPG3 || XPG4] (pthread_cond_t): Likewise.
9460 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9461 [XPG3 || XPG4] (pthread_key_t): Likewise.
9462 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9463 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9464 [XPG3 || XPG4] (pthread_once_t): Likewise.
9465 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9466 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9467 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9468 [XPG3 || XPG4] (pthread_t): Likewise.
9469
cbe6e120
JM
9470 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9471 not expect.
9472 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9473
1b126443
JM
9474 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9475 Change function return type to int.
9476
b961a573
JM
9477 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9478 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9479 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9480 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9481 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9482 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9483 [!POSIX] (posix_madvise): Likewise.
9484 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9485 && !UNIX98].
9486 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9487 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9488 (mode_t): Likewise.
9489 (posix_mem_offset): Likewise.
9490 (posix_typed_mem_get_info): Likewise.
9491 (posix_typed_mem_open): Likewise.
9492
9e188909
JM
9493 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9494 Change condition to [XOPEN2K8].
9495
05bcf62a
JM
9496 * conform/conformtest.pl: Preprocess allow-header data with -x c
9497 instead of from stdin.
9498 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9499 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9500 [C99-based standards] (cerfc): Likewise.
9501 [C99-based standards] (cexp2): Likewise.
9502 [C99-based standards] (cexpm1): Likewise.
9503 [C99-based standards] (clog10): Likewise.
9504 [C99-based standards] (clog1p): Likewise.
9505 [C99-based standards] (clog2): Likewise.
9506 [C99-based standards] (clgamma): Likewise.
9507 [C99-based standards] (ctgamma): Likewise.
9508 [C99-based standards] (cerff): Likewise.
9509 [C99-based standards] (cerfcf): Likewise.
9510 [C99-based standards] (cexp2f): Likewise.
9511 [C99-based standards] (cexpm1f): Likewise.
9512 [C99-based standards] (clog10f): Likewise.
9513 [C99-based standards] (clog1pf): Likewise.
9514 [C99-based standards] (clog2f): Likewise.
9515 [C99-based standards] (clgammaf): Likewise.
9516 [C99-based standards] (ctgammaf): Likewise.
9517 [C99-based standards] (cerfl): Likewise.
9518 [C99-based standards] (cerfcl): Likewise.
9519 [C99-based standards] (cexp2l): Likewise.
9520 [C99-based standards] (cexpm1l): Likewise.
9521 [C99-based standards] (clog10l): Likewise.
9522 [C99-based standards] (clog1pl): Likewise.
9523 [C99-based standards] (clog2l): Likewise.
9524 [C99-based standards] (clgammal): Likewise.
9525 [C99-based standards] (ctgammal): Likewise.
9526 * conform/data/inttypes.h-data [C99-based standards]: Include
9527 stdint.h-data. Remove all expectations for stdint.h contents.
9528 [C99-based standards] (PRI*): Do not allow.
9529 [C99-based standards] (SCN*): Likewise.
9530 [C99-based standards] (*_t): Likewise.
9531 [C99-based-standards] (PRId8): Expect macro.
9532 [C99-based-standards] (PRIi8): Likewise.
9533 [C99-based-standards] (PRIo8): Likewise.
9534 [C99-based-standards] (PRIu8): Likewise.
9535 [C99-based-standards] (PRIx8): Likewise.
9536 [C99-based-standards] (PRIX8): Likewise.
9537 [C99-based-standards] (SCNd8): Likewise.
9538 [C99-based-standards] (SCNi8): Likewise.
9539 [C99-based-standards] (SCNo8): Likewise.
9540 [C99-based-standards] (SCNu8): Likewise.
9541 [C99-based-standards] (SCNx8): Likewise.
9542 [C99-based-standards] (PRIdLEAST8): Likewise.
9543 [C99-based-standards] (PRIiLEAST8): Likewise.
9544 [C99-based-standards] (PRIoLEAST8): Likewise.
9545 [C99-based-standards] (PRIuLEAST8): Likewise.
9546 [C99-based-standards] (PRIxLEAST8): Likewise.
9547 [C99-based-standards] (PRIXLEAST8): Likewise.
9548 [C99-based-standards] (SCNdLEAST8): Likewise.
9549 [C99-based-standards] (SCNiLEAST8): Likewise.
9550 [C99-based-standards] (SCNoLEAST8): Likewise.
9551 [C99-based-standards] (SCNuLEAST8): Likewise.
9552 [C99-based-standards] (SCNxLEAST8): Likewise.
9553 [C99-based-standards] (PRIdFAST8): Likewise.
9554 [C99-based-standards] (PRIiFAST8): Likewise.
9555 [C99-based-standards] (PRIoFAST8): Likewise.
9556 [C99-based-standards] (PRIuFAST8): Likewise.
9557 [C99-based-standards] (PRIxFAST8): Likewise.
9558 [C99-based-standards] (PRIXFAST8): Likewise.
9559 [C99-based-standards] (SCNdFAST8): Likewise.
9560 [C99-based-standards] (SCNiFAST8): Likewise.
9561 [C99-based-standards] (SCNoFAST8): Likewise.
9562 [C99-based-standards] (SCNuFAST8): Likewise.
9563 [C99-based-standards] (SCNxFAST8): Likewise.
9564 [C99-based-standards] (PRId16): Likewise.
9565 [C99-based-standards] (PRIi16): Likewise.
9566 [C99-based-standards] (PRIo16): Likewise.
9567 [C99-based-standards] (PRIu16): Likewise.
9568 [C99-based-standards] (PRIx16): Likewise.
9569 [C99-based-standards] (PRIX16): Likewise.
9570 [C99-based-standards] (SCNd16): Likewise.
9571 [C99-based-standards] (SCNi16): Likewise.
9572 [C99-based-standards] (SCNo16): Likewise.
9573 [C99-based-standards] (SCNu16): Likewise.
9574 [C99-based-standards] (SCNx16): Likewise.
9575 [C99-based-standards] (PRIdLEAST16): Likewise.
9576 [C99-based-standards] (PRIiLEAST16): Likewise.
9577 [C99-based-standards] (PRIoLEAST16): Likewise.
9578 [C99-based-standards] (PRIuLEAST16): Likewise.
9579 [C99-based-standards] (PRIxLEAST16): Likewise.
9580 [C99-based-standards] (PRIXLEAST16): Likewise.
9581 [C99-based-standards] (SCNdLEAST16): Likewise.
9582 [C99-based-standards] (SCNiLEAST16): Likewise.
9583 [C99-based-standards] (SCNoLEAST16): Likewise.
9584 [C99-based-standards] (SCNuLEAST16): Likewise.
9585 [C99-based-standards] (SCNxLEAST16): Likewise.
9586 [C99-based-standards] (PRIdFAST16): Likewise.
9587 [C99-based-standards] (PRIiFAST16): Likewise.
9588 [C99-based-standards] (PRIoFAST16): Likewise.
9589 [C99-based-standards] (PRIuFAST16): Likewise.
9590 [C99-based-standards] (PRIxFAST16): Likewise.
9591 [C99-based-standards] (PRIXFAST16): Likewise.
9592 [C99-based-standards] (SCNdFAST16): Likewise.
9593 [C99-based-standards] (SCNiFAST16): Likewise.
9594 [C99-based-standards] (SCNoFAST16): Likewise.
9595 [C99-based-standards] (SCNuFAST16): Likewise.
9596 [C99-based-standards] (SCNxFAST16): Likewise.
9597 [C99-based-standards] (PRId32): Likewise.
9598 [C99-based-standards] (PRIi32): Likewise.
9599 [C99-based-standards] (PRIo32): Likewise.
9600 [C99-based-standards] (PRIu32): Likewise.
9601 [C99-based-standards] (PRIx32): Likewise.
9602 [C99-based-standards] (PRIX32): Likewise.
9603 [C99-based-standards] (SCNd32): Likewise.
9604 [C99-based-standards] (SCNi32): Likewise.
9605 [C99-based-standards] (SCNo32): Likewise.
9606 [C99-based-standards] (SCNu32): Likewise.
9607 [C99-based-standards] (SCNx32): Likewise.
9608 [C99-based-standards] (PRIdLEAST32): Likewise.
9609 [C99-based-standards] (PRIiLEAST32): Likewise.
9610 [C99-based-standards] (PRIoLEAST32): Likewise.
9611 [C99-based-standards] (PRIuLEAST32): Likewise.
9612 [C99-based-standards] (PRIxLEAST32): Likewise.
9613 [C99-based-standards] (PRIXLEAST32): Likewise.
9614 [C99-based-standards] (SCNdLEAST32): Likewise.
9615 [C99-based-standards] (SCNiLEAST32): Likewise.
9616 [C99-based-standards] (SCNoLEAST32): Likewise.
9617 [C99-based-standards] (SCNuLEAST32): Likewise.
9618 [C99-based-standards] (SCNxLEAST32): Likewise.
9619 [C99-based-standards] (PRIdFAST32): Likewise.
9620 [C99-based-standards] (PRIiFAST32): Likewise.
9621 [C99-based-standards] (PRIoFAST32): Likewise.
9622 [C99-based-standards] (PRIuFAST32): Likewise.
9623 [C99-based-standards] (PRIxFAST32): Likewise.
9624 [C99-based-standards] (PRIXFAST32): Likewise.
9625 [C99-based-standards] (SCNdFAST32): Likewise.
9626 [C99-based-standards] (SCNiFAST32): Likewise.
9627 [C99-based-standards] (SCNoFAST32): Likewise.
9628 [C99-based-standards] (SCNuFAST32): Likewise.
9629 [C99-based-standards] (SCNxFAST32): Likewise.
9630 [C99-based-standards] (PRId64): Likewise.
9631 [C99-based-standards] (PRIi64): Likewise.
9632 [C99-based-standards] (PRIo64): Likewise.
9633 [C99-based-standards] (PRIu64): Likewise.
9634 [C99-based-standards] (PRIx64): Likewise.
9635 [C99-based-standards] (PRIX64): Likewise.
9636 [C99-based-standards] (SCNd64): Likewise.
9637 [C99-based-standards] (SCNi64): Likewise.
9638 [C99-based-standards] (SCNo64): Likewise.
9639 [C99-based-standards] (SCNu64): Likewise.
9640 [C99-based-standards] (SCNx64): Likewise.
9641 [C99-based-standards] (PRIdLEAST64): Likewise.
9642 [C99-based-standards] (PRIiLEAST64): Likewise.
9643 [C99-based-standards] (PRIoLEAST64): Likewise.
9644 [C99-based-standards] (PRIuLEAST64): Likewise.
9645 [C99-based-standards] (PRIxLEAST64): Likewise.
9646 [C99-based-standards] (PRIXLEAST64): Likewise.
9647 [C99-based-standards] (SCNdLEAST64): Likewise.
9648 [C99-based-standards] (SCNiLEAST64): Likewise.
9649 [C99-based-standards] (SCNoLEAST64): Likewise.
9650 [C99-based-standards] (SCNuLEAST64): Likewise.
9651 [C99-based-standards] (SCNxLEAST64): Likewise.
9652 [C99-based-standards] (PRIdFAST64): Likewise.
9653 [C99-based-standards] (PRIiFAST64): Likewise.
9654 [C99-based-standards] (PRIoFAST64): Likewise.
9655 [C99-based-standards] (PRIuFAST64): Likewise.
9656 [C99-based-standards] (PRIxFAST64): Likewise.
9657 [C99-based-standards] (PRIXFAST64): Likewise.
9658 [C99-based-standards] (SCNdFAST64): Likewise.
9659 [C99-based-standards] (SCNiFAST64): Likewise.
9660 [C99-based-standards] (SCNoFAST64): Likewise.
9661 [C99-based-standards] (SCNuFAST64): Likewise.
9662 [C99-based-standards] (SCNxFAST64): Likewise.
9663 [C99-based-standards] (PRIdMAX): Likewise.
9664 [C99-based-standards] (PRIiMAX): Likewise.
9665 [C99-based-standards] (PRIoMAX): Likewise.
9666 [C99-based-standards] (PRIuMAX): Likewise.
9667 [C99-based-standards] (PRIxMAX): Likewise.
9668 [C99-based-standards] (PRIXMAX): Likewise.
9669 [C99-based-standards] (SCNdMAX): Likewise.
9670 [C99-based-standards] (SCNiMAX): Likewise.
9671 [C99-based-standards] (SCNoMAX): Likewise.
9672 [C99-based-standards] (SCNuMAX): Likewise.
9673 [C99-based-standards] (SCNxMAX): Likewise.
9674 [C99-based-standards] (PRIdPTR): Likewise.
9675 [C99-based-standards] (PRIiPTR): Likewise.
9676 [C99-based-standards] (PRIoPTR): Likewise.
9677 [C99-based-standards] (PRIuPTR): Likewise.
9678 [C99-based-standards] (PRIxPTR): Likewise.
9679 [C99-based-standards] (PRIXPTR): Likewise.
9680 [C99-based-standards] (SCNdPTR): Likewise.
9681 [C99-based-standards] (SCNiPTR): Likewise.
9682 [C99-based-standards] (SCNoPTR): Likewise.
9683 [C99-based-standards] (SCNuPTR): Likewise.
9684 [C99-based-standards] (SCNxPTR): Likewise.
9685 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9686 allow.
9687 * conform/data/stdint.h-data: Update comments to clarify
9688 requirements.
9689 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
9690 type.
9691 [C99-based standards] (INT8_MAX): Likewise.
9692 [C99-based standards] (INT16_MIN): Likewise.
9693 [C99-based standards] (INT16_MAX): Likewise.
9694 [C99-based standards] (INT32_MIN): Likewise.
9695 [C99-based standards] (INT32_MAX): Likewise.
9696 [C99-based standards] (INT64_MIN): Likewise.
9697 [C99-based standards] (INT64_MAX): Likewise.
9698 [C99-based standards] (UINT8_MAX): Likewise.
9699 [C99-based standards] (UINT16_MAX): Likewise.
9700 [C99-based standards] (UINT32_MAX): Likewise.
9701 [C99-based standards] (UINT64_MAX): Likewise.
9702 [C99-based standards] (INT_LEAST8_MIN): Likewise.
9703 [C99-based standards] (INT_LEAST8_MAX): Likewise.
9704 [C99-based standards] (INT_LEAST16_MIN): Likewise.
9705 [C99-based standards] (INT_LEAST16_MAX): Likewise.
9706 [C99-based standards] (INT_LEAST32_MIN): Likewise.
9707 [C99-based standards] (INT_LEAST32_MAX): Likewise.
9708 [C99-based standards] (INT_LEAST64_MIN): Likewise.
9709 [C99-based standards] (INT_LEAST64_MAX): Likewise.
9710 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9711 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9712 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9713 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9714 [C99-based standards] (INT_FAST8_MIN): Likewise.
9715 [C99-based standards] (INT_FAST8_MAX): Likewise.
9716 [C99-based standards] (INT_FAST16_MIN): Likewise.
9717 [C99-based standards] (INT_FAST16_MAX): Likewise.
9718 [C99-based standards] (INT_FAST32_MIN): Likewise.
9719 [C99-based standards] (INT_FAST32_MAX): Likewise.
9720 [C99-based standards] (INT_FAST64_MIN): Likewise.
9721 [C99-based standards] (INT_FAST64_MAX): Likewise.
9722 [C99-based standards] (UINT_FAST8_MAX): Likewise.
9723 [C99-based standards] (UINT_FAST16_MAX): Likewise.
9724 [C99-based standards] (UINT_FAST32_MAX): Likewise.
9725 [C99-based standards] (UINT_FAST64_MAX): Likewise.
9726 [C99-based standards] (INTPTR_MIN): Likewise.
9727 [C99-based standards] (INTPTR_MAX): Likewise.
9728 [C99-based standards] (UINTPTR_MAX): Likewise.
9729 [C99-based standards] (INTMAX_MIN): Likewise.
9730 [C99-based standards] (INTMAX_MAX): Likewise.
9731 [C99-based standards] (UINTMAX_MAX): Likewise.
9732 [C99-based standards] (PTRDIFF_MIN): Likewise.
9733 [C99-based standards] (PTRDIFF_MAX): Likewise.
9734 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
9735 [C99-based standards] (SIZE_MAX): Likewise.
9736 [C99-based standards] (WCHAR_MAX): Likewise.
9737 [C99-based standards] (WINT_MAX): Likewise.
9738 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
9739 constraint on value.
9740 [C99-based standards] (WCHAR_MIN): Likewise.
9741 [C99-based standards] (WINT_MIN): Likewise.
9742 [C99-based standards] (*_t): Allow.
9743 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
9744 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
9745 Include math.h-data and complex.h-data. Remove all expectations
9746 of math.h and complex.h contents.
9747 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
9748 at end of line.
9749 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
9750 (struct tm): Expect tag.
9751 [C99-based-standards] (wcstof): Expect function.
9752 [C99-based-standards] (wcstold): Likewise.
9753 [C99-based-standards] (wcstoll): Likewise.
9754 [C99-based-standards] (wcstoull): Likewise.
9755 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
9756 macro-int-constant. Specify type.
9757 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
9758 constraint on value.
9759 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9760 Specify type.
9761 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
9762 Specify value.
9763 [ISO C standards]: Do not allow headers.
9764 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
9765 wcs[abcdefghijklmnopqrstuvwxyz]*.
9766 [ISO C standards] (*_t): Do not allow.
9767 * conform/data/wctype.h-data [C99-based standards] (iswblank):
9768 Expect function.
9769 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
9770 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9771 Specify type.
9772 [ISO C standards]: Do not allow headers.
9773 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
9774 is[abcdefghijklmnopqrstuvwxyz]*.
9775 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
9776 to[abcdefghijklmnopqrstuvwxyz]*.
9777 [ISO C standards] (*_t): Do not allow.
9778 * conform/data/stdalign.h-data: New file.
9779 * conform/data/stdbool.h-data: Likewise.
9780 * conform/data/stdnoreturn.h-data: Likewise.
9781
7514feb8
RM
97822012-11-07 Roland McGrath <roland@hack.frob.com>
9783
9784 [BZ #14815]
9785 * manual/filesys.texi (Directory Entries): Typo fix.
9786 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
9787
19b2ecfc
MS
97882012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9789
9790 * elf/elf.h (EM_AARCH64): New macro.
9791 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
9792 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
9793 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
9794 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
9795 (R_AARCH64_TLSDESC): Likewise.
9796 (NT_ARM_TLS): Likewise.
9797 (NT_ARM_HW_BREAK): Likewise.
9798 (NT_ARM_HW_WATCH): Likewise.
9799
60e235ee
JM
98002012-11-07 Joseph Myers <joseph@codesourcery.com>
9801
9802 [BZ #14811]
9803 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
9804 (__ieee754_powl): Saturate nonzero exponents with absolute value
9805 below 0x1p-79 to +/- 0x1p-79.
9806 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
9807 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
9808 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
9809 nonzero exponents with absolute value below 0x1p-32 to +/-
9810 0x1p-32.
9811 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
9812 (__ieee754_powl): Saturate nonzero exponents with absolute value
9813 below 0x1p-79 to +/- 0x1p-79.
9814 * math/libm-test.inc (pow_test): Add more tests.
9815
0ab234b7
AK
98162012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9817
9818 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
9819 _dl_s390_cap_flags with kernel. Increase string length.
9820 (_dl_s390_platforms): Add z196 and zEC12.
9821
45832f74
JM
98222012-11-07 Joseph Myers <joseph@codesourcery.com>
9823
9824 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
9825 Change XOPEN21K to XOPEN2K.
9826
19218757
MK
98272012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
9828
9829 * string/memmove.c: Use memcpy when possible.
9830
c5f45721
AJ
98312012-11-06 Andreas Jaeger <aj@suse.de>
9832
9833 * po/eo.po: Update from translation team.
9834
82477c28
JM
98352012-11-06 Joseph Myers <joseph@codesourcery.com>
9836
9837 [BZ #14793]
9838 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
9839 exponent and small x and y exponents, scale x or y up. Increase
9840 by 2 the exponent used in scaling up.
9841 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9842 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9843 * math/libm-test.inc (fma_test): Add more tests.
9844 (fma_test_towardzero): Likewise.
9845 (fma_test_downward): Likewise.
9846 (fma_test_upward): Likewise.
9847
99252c8c
JM
98482012-11-05 Joseph Myers <joseph@codesourcery.com>
9849
acfa885f
JM
9850 [BZ #14805]
9851 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
9852 fenv_t *.
9853
99252c8c
JM
9854 [BZ #14801]
9855 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
9856 namespace for names of struct fields.
9857 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
9858 fenv_t fields.
9859 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9860 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
9861
d6d98dea
ST
98622012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9863
9864 [BZ #3665]
9865 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
9866
e10bb107
TS
98672012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9868
9869 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
9870 PTR_DEMANGLE.
9871
9872 [BZ #5246]
9873 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
9874 PTR_DEMANGLE.
9875
a0c2940d
JM
98762012-11-04 Joseph Myers <joseph@codesourcery.com>
9877
9878 [BZ #14797]
9879 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
9880 definitely overflow as x * y not x * y + z.
9881 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9882 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9883 * math/libm-test.inc (fma_test): Add more tests.
9884 (fma_test_towardzero): Likewise.
9885 (fma_test_downward): Likewise.
9886 (fma_test_upward): Likewise.
9887
b830319d
TS
98882012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9889
9890 [BZ #157]
9891
9892 * include/stub-tag.h: Remove file.
9893 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
9894 '#include' of it.
9895 * manual/maint.texi (Porting): Don't reference it.
9896 * Makerules ($(objpfx)stubs): Likewise.
9897 * dirent/closedir.c: Don't include <stub-tag.h>.
9898 * dirent/dirfd.c: Likewise.
9899 * dirent/fdopendir.c: Likewise.
9900 * dirent/getdents.c: Likewise.
9901 * dirent/getdents64.c: Likewise.
9902 * dirent/opendir.c: Likewise.
9903 * dirent/readdir.c: Likewise.
9904 * dirent/readdir64.c: Likewise.
9905 * dirent/readdir64_r.c: Likewise.
9906 * dirent/readdir_r.c: Likewise.
9907 * dirent/rewinddir.c: Likewise.
9908 * dirent/seekdir.c: Likewise.
9909 * dirent/telldir.c: Likewise.
9910 * gmon/profil.c: Likewise.
9911 * grp/setgroups.c: Likewise.
9912 * inet/if_index.c: Likewise.
9913 * io/access.c: Likewise.
9914 * io/chdir.c: Likewise.
9915 * io/chmod.c: Likewise.
9916 * io/chown.c: Likewise.
9917 * io/close.c: Likewise.
9918 * io/dup.c: Likewise.
9919 * io/dup2.c: Likewise.
9920 * io/dup3.c: Likewise.
9921 * io/euidaccess.c: Likewise.
9922 * io/faccessat.c: Likewise.
9923 * io/fchdir.c: Likewise.
9924 * io/fchmod.c: Likewise.
9925 * io/fchmodat.c: Likewise.
9926 * io/fchown.c: Likewise.
9927 * io/fchownat.c: Likewise.
9928 * io/fcntl.c: Likewise.
9929 * io/flock.c: Likewise.
9930 * io/fstatfs.c: Likewise.
9931 * io/fstatfs64.c: Likewise.
9932 * io/fstatvfs.c: Likewise.
9933 * io/fstatvfs64.c: Likewise.
9934 * io/futimens.c: Likewise.
9935 * io/fxstat.c: Likewise.
9936 * io/fxstat64.c: Likewise.
9937 * io/fxstatat.c: Likewise.
9938 * io/fxstatat64.c: Likewise.
9939 * io/getcwd.c: Likewise.
9940 * io/isatty.c: Likewise.
9941 * io/lchmod.c: Likewise.
9942 * io/lchown.c: Likewise.
9943 * io/link.c: Likewise.
9944 * io/linkat.c: Likewise.
9945 * io/lseek.c: Likewise.
9946 * io/lseek64.c: Likewise.
9947 * io/lxstat64.c: Likewise.
9948 * io/mkdir.c: Likewise.
9949 * io/mkdirat.c: Likewise.
9950 * io/mkfifo.c: Likewise.
9951 * io/mkfifoat.c: Likewise.
9952 * io/open.c: Likewise.
9953 * io/open64.c: Likewise.
9954 * io/openat.c: Likewise.
9955 * io/openat64.c: Likewise.
9956 * io/pipe.c: Likewise.
9957 * io/pipe2.c: Likewise.
9958 * io/poll.c: Likewise.
9959 * io/posix_fadvise.c: Likewise.
9960 * io/posix_fadvise64.c: Likewise.
9961 * io/posix_fallocate.c: Likewise.
9962 * io/posix_fallocate64.c: Likewise.
9963 * io/read.c: Likewise.
9964 * io/readlink.c: Likewise.
9965 * io/readlinkat.c: Likewise.
9966 * io/rmdir.c: Likewise.
9967 * io/sendfile.c: Likewise.
9968 * io/sendfile64.c: Likewise.
9969 * io/statfs.c: Likewise.
9970 * io/statfs64.c: Likewise.
9971 * io/statvfs.c: Likewise.
9972 * io/statvfs64.c: Likewise.
9973 * io/symlink.c: Likewise.
9974 * io/symlinkat.c: Likewise.
9975 * io/ttyname.c: Likewise.
9976 * io/ttyname_r.c: Likewise.
9977 * io/umask.c: Likewise.
9978 * io/unlink.c: Likewise.
9979 * io/unlinkat.c: Likewise.
9980 * io/utime.c: Likewise.
9981 * io/utimensat.c: Likewise.
9982 * io/write.c: Likewise.
9983 * io/xmknod.c: Likewise.
9984 * io/xmknodat.c: Likewise.
9985 * io/xstat.c: Likewise.
9986 * io/xstat64.c: Likewise.
9987 * login/getpt.c: Likewise.
9988 * login/grantpt.c: Likewise.
9989 * login/unlockpt.c: Likewise.
9990 * math/e_acoshl.c: Likewise.
9991 * math/e_acosl.c: Likewise.
9992 * math/e_asinl.c: Likewise.
9993 * math/e_atan2l.c: Likewise.
9994 * math/e_atanhl.c: Likewise.
9995 * math/e_coshl.c: Likewise.
9996 * math/e_expl.c: Likewise.
9997 * math/e_fmodl.c: Likewise.
9998 * math/e_gammal_r.c: Likewise.
9999 * math/e_hypotl.c: Likewise.
10000 * math/e_j0l.c: Likewise.
10001 * math/e_j1l.c: Likewise.
10002 * math/e_jnl.c: Likewise.
10003 * math/e_lgammal_r.c: Likewise.
10004 * math/e_log10l.c: Likewise.
10005 * math/e_log2l.c: Likewise.
10006 * math/e_logl.c: Likewise.
10007 * math/e_powl.c: Likewise.
10008 * math/e_rem_pio2l.c: Likewise.
10009 * math/e_sinhl.c: Likewise.
10010 * math/e_sqrtl.c: Likewise.
10011 * math/fclrexcpt.c: Likewise.
10012 * math/fedisblxcpt.c: Likewise.
10013 * math/feenablxcpt.c: Likewise.
10014 * math/fegetenv.c: Likewise.
10015 * math/fegetexcept.c: Likewise.
10016 * math/fegetround.c: Likewise.
10017 * math/feholdexcpt.c: Likewise.
10018 * math/fesetenv.c: Likewise.
10019 * math/fesetround.c: Likewise.
10020 * math/feupdateenv.c: Likewise.
10021 * math/fgetexcptflg.c: Likewise.
10022 * math/fraiseexcpt.c: Likewise.
10023 * math/fsetexcptflg.c: Likewise.
10024 * math/ftestexcept.c: Likewise.
10025 * math/k_cosl.c: Likewise.
10026 * math/k_rem_pio2l.c: Likewise.
10027 * math/k_sinl.c: Likewise.
10028 * math/k_tanl.c: Likewise.
10029 * math/s_asinhl.c: Likewise.
10030 * math/s_atanl.c: Likewise.
10031 * math/s_cbrtl.c: Likewise.
10032 * math/s_erfl.c: Likewise.
10033 * math/s_expm1l.c: Likewise.
10034 * math/s_log1pl.c: Likewise.
10035 * math/s_tanhl.c: Likewise.
10036 * misc/acct.c: Likewise.
10037 * misc/brk.c: Likewise.
10038 * misc/chflags.c: Likewise.
10039 * misc/chroot.c: Likewise.
10040 * misc/fchflags.c: Likewise.
10041 * misc/fgetxattr.c: Likewise.
10042 * misc/flistxattr.c: Likewise.
10043 * misc/fremovexattr.c: Likewise.
10044 * misc/fsetxattr.c: Likewise.
10045 * misc/fsync.c: Likewise.
10046 * misc/ftruncate.c: Likewise.
10047 * misc/futimes.c: Likewise.
10048 * misc/futimesat.c: Likewise.
10049 * misc/getdomain.c: Likewise.
10050 * misc/getdtsz.c: Likewise.
10051 * misc/gethostid.c: Likewise.
10052 * misc/gethostname.c: Likewise.
10053 * misc/getloadavg.c: Likewise.
10054 * misc/getpagesize.c: Likewise.
10055 * misc/getsysstats.c: Likewise.
10056 * misc/getxattr.c: Likewise.
10057 * misc/gtty.c: Likewise.
10058 * misc/ioctl.c: Likewise.
10059 * misc/lgetxattr.c: Likewise.
10060 * misc/listxattr.c: Likewise.
10061 * misc/llistxattr.c: Likewise.
10062 * misc/lremovexattr.c: Likewise.
10063 * misc/lsetxattr.c: Likewise.
10064 * misc/lutimes.c: Likewise.
10065 * misc/madvise.c: Likewise.
10066 * misc/mincore.c: Likewise.
10067 * misc/mlock.c: Likewise.
10068 * misc/mlockall.c: Likewise.
10069 * misc/mmap.c: Likewise.
10070 * misc/mprotect.c: Likewise.
10071 * misc/msync.c: Likewise.
10072 * misc/munlock.c: Likewise.
10073 * misc/munlockall.c: Likewise.
10074 * misc/munmap.c: Likewise.
10075 * misc/preadv.c: Likewise.
10076 * misc/preadv64.c: Likewise.
10077 * misc/ptrace.c: Likewise.
10078 * misc/pwritev.c: Likewise.
10079 * misc/pwritev64.c: Likewise.
10080 * misc/readv.c: Likewise.
10081 * misc/reboot.c: Likewise.
10082 * misc/remap_file_pages.c: Likewise.
10083 * misc/removexattr.c: Likewise.
10084 * misc/revoke.c: Likewise.
10085 * misc/select.c: Likewise.
10086 * misc/setdomain.c: Likewise.
10087 * misc/setegid.c: Likewise.
10088 * misc/seteuid.c: Likewise.
10089 * misc/sethostid.c: Likewise.
10090 * misc/sethostname.c: Likewise.
10091 * misc/setregid.c: Likewise.
10092 * misc/setreuid.c: Likewise.
10093 * misc/setxattr.c: Likewise.
10094 * misc/sstk.c: Likewise.
10095 * misc/stty.c: Likewise.
10096 * misc/swapoff.c: Likewise.
10097 * misc/swapon.c: Likewise.
10098 * misc/sync.c: Likewise.
10099 * misc/syncfs.c: Likewise.
10100 * misc/syscall.c: Likewise.
10101 * misc/truncate.c: Likewise.
10102 * misc/ualarm.c: Likewise.
10103 * misc/usleep.c: Likewise.
10104 * misc/ustat.c: Likewise.
10105 * misc/utimes.c: Likewise.
10106 * misc/vhangup.c: Likewise.
10107 * misc/writev.c: Likewise.
10108 * posix/_exit.c: Likewise.
10109 * posix/alarm.c: Likewise.
10110 * posix/execve.c: Likewise.
10111 * posix/fexecve.c: Likewise.
10112 * posix/fork.c: Likewise.
10113 * posix/fpathconf.c: Likewise.
10114 * posix/getaddrinfo.c: Likewise.
10115 * posix/getegid.c: Likewise.
10116 * posix/geteuid.c: Likewise.
10117 * posix/getgid.c: Likewise.
10118 * posix/getgroups.c: Likewise.
10119 * posix/getlogin.c: Likewise.
10120 * posix/getlogin_r.c: Likewise.
10121 * posix/getpgid.c: Likewise.
10122 * posix/getpid.c: Likewise.
10123 * posix/getppid.c: Likewise.
10124 * posix/getresgid.c: Likewise.
10125 * posix/getresuid.c: Likewise.
10126 * posix/getsid.c: Likewise.
10127 * posix/getuid.c: Likewise.
10128 * posix/glob64.c: Likewise.
10129 * posix/nanosleep.c: Likewise.
10130 * posix/pathconf.c: Likewise.
10131 * posix/pause.c: Likewise.
10132 * posix/posix_madvise.c: Likewise.
10133 * posix/pread.c: Likewise.
10134 * posix/pread64.c: Likewise.
10135 * posix/pwrite.c: Likewise.
10136 * posix/pwrite64.c: Likewise.
10137 * posix/sched_getaffinity.c: Likewise.
10138 * posix/sched_getp.c: Likewise.
10139 * posix/sched_gets.c: Likewise.
10140 * posix/sched_primax.c: Likewise.
10141 * posix/sched_primin.c: Likewise.
10142 * posix/sched_rr_gi.c: Likewise.
10143 * posix/sched_setaffinity.c: Likewise.
10144 * posix/sched_setp.c: Likewise.
10145 * posix/sched_sets.c: Likewise.
10146 * posix/sched_yield.c: Likewise.
10147 * posix/setgid.c: Likewise.
10148 * posix/setlogin.c: Likewise.
10149 * posix/setpgid.c: Likewise.
10150 * posix/setresgid.c: Likewise.
10151 * posix/setresuid.c: Likewise.
10152 * posix/setsid.c: Likewise.
10153 * posix/setuid.c: Likewise.
10154 * posix/sleep.c: Likewise.
10155 * posix/spawni.c: Likewise.
10156 * posix/sysconf.c: Likewise.
10157 * posix/times.c: Likewise.
10158 * posix/wait.c: Likewise.
10159 * posix/wait3.c: Likewise.
10160 * posix/wait4.c: Likewise.
10161 * posix/waitpid.c: Likewise.
10162 * resolv/gai_sigqueue.c: Likewise.
10163 * resource/getpriority.c: Likewise.
10164 * resource/getrlimit.c: Likewise.
10165 * resource/getrusage.c: Likewise.
10166 * resource/nice.c: Likewise.
10167 * resource/setpriority.c: Likewise.
10168 * resource/setrlimit.c: Likewise.
10169 * resource/ulimit.c: Likewise.
10170 * rt/aio_cancel.c: Likewise.
10171 * rt/aio_fsync.c: Likewise.
10172 * rt/aio_read.c: Likewise.
10173 * rt/aio_sigqueue.c: Likewise.
10174 * rt/aio_suspend.c: Likewise.
10175 * rt/aio_write.c: Likewise.
10176 * rt/clock_getres.c: Likewise.
10177 * rt/clock_gettime.c: Likewise.
10178 * rt/clock_nanosleep.c: Likewise.
10179 * rt/clock_settime.c: Likewise.
10180 * rt/lio_listio.c: Likewise.
10181 * rt/mq_close.c: Likewise.
10182 * rt/mq_getattr.c: Likewise.
10183 * rt/mq_notify.c: Likewise.
10184 * rt/mq_open.c: Likewise.
10185 * rt/mq_receive.c: Likewise.
10186 * rt/mq_send.c: Likewise.
10187 * rt/mq_setattr.c: Likewise.
10188 * rt/mq_timedreceive.c: Likewise.
10189 * rt/mq_timedsend.c: Likewise.
10190 * rt/mq_unlink.c: Likewise.
10191 * rt/shm_open.c: Likewise.
10192 * rt/shm_unlink.c: Likewise.
10193 * rt/timer_create.c: Likewise.
10194 * rt/timer_delete.c: Likewise.
10195 * rt/timer_getoverr.c: Likewise.
10196 * rt/timer_gettime.c: Likewise.
10197 * rt/timer_settime.c: Likewise.
10198 * setjmp/__longjmp.c: Likewise.
10199 * setjmp/setjmp.c: Likewise.
10200 * signal/kill.c: Likewise.
10201 * signal/killpg.c: Likewise.
10202 * signal/raise.c: Likewise.
10203 * signal/sigaction.c: Likewise.
10204 * signal/sigaltstack.c: Likewise.
10205 * signal/sigblock.c: Likewise.
10206 * signal/sigignore.c: Likewise.
10207 * signal/sigintr.c: Likewise.
10208 * signal/signal.c: Likewise.
10209 * signal/sigpause.c: Likewise.
10210 * signal/sigpending.c: Likewise.
10211 * signal/sigqueue.c: Likewise.
10212 * signal/sigreturn.c: Likewise.
10213 * signal/sigset.c: Likewise.
10214 * signal/sigsetmask.c: Likewise.
10215 * signal/sigstack.c: Likewise.
10216 * signal/sigsuspend.c: Likewise.
10217 * signal/sigtimedwait.c: Likewise.
10218 * signal/sigvec.c: Likewise.
10219 * signal/sigwait.c: Likewise.
10220 * signal/sigwaitinfo.c: Likewise.
10221 * signal/sysv_signal.c: Likewise.
10222 * socket/accept.c: Likewise.
10223 * socket/accept4.c: Likewise.
10224 * socket/bind.c: Likewise.
10225 * socket/connect.c: Likewise.
10226 * socket/getpeername.c: Likewise.
10227 * socket/getsockname.c: Likewise.
10228 * socket/getsockopt.c: Likewise.
10229 * socket/isfdtype.c: Likewise.
10230 * socket/listen.c: Likewise.
10231 * socket/recv.c: Likewise.
10232 * socket/recvfrom.c: Likewise.
10233 * socket/recvmsg.c: Likewise.
10234 * socket/send.c: Likewise.
10235 * socket/sendmsg.c: Likewise.
10236 * socket/sendto.c: Likewise.
10237 * socket/setsockopt.c: Likewise.
10238 * socket/shutdown.c: Likewise.
10239 * socket/sockatmark.c: Likewise.
10240 * socket/socket.c: Likewise.
10241 * socket/socketpair.c: Likewise.
10242 * stdio-common/ctermid.c: Likewise.
10243 * stdio-common/cuserid.c: Likewise.
10244 * stdio-common/remove.c: Likewise.
10245 * stdio-common/rename.c: Likewise.
10246 * stdio-common/renameat.c: Likewise.
10247 * stdio-common/tempname.c: Likewise.
10248 * stdlib/getcontext.c: Likewise.
10249 * stdlib/makecontext.c: Likewise.
10250 * stdlib/setcontext.c: Likewise.
10251 * stdlib/swapcontext.c: Likewise.
10252 * stdlib/system.c: Likewise.
10253 * streams/fattach.c: Likewise.
10254 * streams/fdetach.c: Likewise.
10255 * streams/getmsg.c: Likewise.
10256 * streams/getpmsg.c: Likewise.
10257 * streams/putmsg.c: Likewise.
10258 * streams/putpmsg.c: Likewise.
10259 * sysdeps/unix/bsd/getpt.c: Likewise.
10260 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10261 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10262 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10264 Likewise.
10265 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10266 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10267 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10268 * sysvipc/msgctl.c: Likewise.
10269 * sysvipc/msgget.c: Likewise.
10270 * sysvipc/msgrcv.c: Likewise.
10271 * sysvipc/msgsnd.c: Likewise.
10272 * sysvipc/semctl.c: Likewise.
10273 * sysvipc/semget.c: Likewise.
10274 * sysvipc/semop.c: Likewise.
10275 * sysvipc/semtimedop.c: Likewise.
10276 * sysvipc/shmat.c: Likewise.
10277 * sysvipc/shmctl.c: Likewise.
10278 * sysvipc/shmdt.c: Likewise.
10279 * sysvipc/shmget.c: Likewise.
10280 * termios/tcdrain.c: Likewise.
10281 * termios/tcflow.c: Likewise.
10282 * termios/tcflush.c: Likewise.
10283 * termios/tcgetattr.c: Likewise.
10284 * termios/tcgetpgrp.c: Likewise.
10285 * termios/tcsendbrk.c: Likewise.
10286 * termios/tcsetattr.c: Likewise.
10287 * termios/tcsetpgrp.c: Likewise.
10288 * time/adjtime.c: Likewise.
10289 * time/clock.c: Likewise.
10290 * time/getitimer.c: Likewise.
10291 * time/gettimeofday.c: Likewise.
10292 * time/setitimer.c: Likewise.
10293 * time/settimeofday.c: Likewise.
10294 * time/stime.c: Likewise.
10295 * time/time.c: Likewise.
10296
102972012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 10298
a20492cf
PT
10299 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10300 /usr/old/bin.
10301
72e182e3
PT
10302 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10303 instead of spaces.
10304 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10305
fbeafede
JM
103062012-11-03 Joseph Myers <joseph@codesourcery.com>
10307
5b5b04d6
JM
10308 [BZ #14796]
10309 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10310 FE_TONEAREST before applying Dekker multiplication and Knuth
10311 addition. Clear inexact exceptions and check for exact zero
10312 results afterwards.
10313 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10314 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10315 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10316 * math/libm-test.inc (fma_test): Add more tests.
10317 (fma_test_towardzero): Likewise.
10318 (fma_test_downward): Likewise.
10319 (fma_test_upward): Likewise.
10320 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10321 function.
10322 (libc_fesetround): New macro.
10323 (libc_fesetroundf): Likewise.
10324 (libc_fesetroundl): Likewise.
10325 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10326 function.
10327 (libc_fesetround_387): Likewise.
10328 (libc_fesetroundf): New macro.
10329 (libc_fesetround): Likewise.
10330 (libc_fesetroundl): Likewise.
10331 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10332 function.
10333 (libc_fesetroundf): New macro.
10334 (libc_fesetround): Likewise.
10335 (libc_fesetroundl): Likewise.
10336 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10337 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10338 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10339 libm_hidden_ver.
10340 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10341 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10342 libm_hidden_def.
10343 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10344 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10345 libm_hidden_ver.
10346 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10347 libm_hidden_def.
10348
fbeafede
JM
10349 [BZ #3439]
10350 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10351 integer constant usable in #if and use that to give value to enum
10352 constant.
10353 (FE_DIVBYZERO): Likewise.
10354 (FE_UNDERFLOW): Likewise.
10355 (FE_OVERFLOW): Likewise.
10356 (FE_INVALID): Likewise.
10357 (FE_INVALID_SNAN): Likewise.
10358 (FE_INVALID_ISI): Likewise.
10359 (FE_INVALID_IDI): Likewise.
10360 (FE_INVALID_ZDZ): Likewise.
10361 (FE_INVALID_IMZ): Likewise.
10362 (FE_INVALID_COMPARE): Likewise.
10363 (FE_INVALID_SOFTWARE): Likewise.
10364 (FE_INVALID_SQRT): Likewise.
10365 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10366 (FE_TONEAREST): Likewise.
10367 (FE_TOWARDZERO): Likewise.
10368 (FE_UPWARD): Likewise.
10369 (FE_DOWNWARD): Likewise.
10370 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10371 (FE_DIVBYZERO): Likewise.
10372 (FE_OVERFLOW): Likewise.
10373 (FE_UNDERFLOW): Likewise.
10374 (FE_INEXACT): Likewise.
10375 (FE_TONEAREST): Likewise.
10376 (FE_DOWNWARD): Likewise.
10377 (FE_UPWARD): Likewise.
10378 (FE_TOWARDZERO): Likewise.
10379 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10380 (FE_UNDERFLOW): Likewise.
10381 (FE_OVERFLOW): Likewise.
10382 (FE_DIVBYZERO): Likewise.
10383 (FE_INVALID): Likewise.
10384 (FE_TONEAREST): Likewise.
10385 (FE_TOWARDZERO): Likewise.
10386 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10387 (FE_OVERFLOW): Likewise.
10388 (FE_UNDERFLOW): Likewise.
10389 (FE_DIVBYZERO): Likewise.
10390 (FE_INEXACT): Likewise.
10391 (FE_TONEAREST): Likewise.
10392 (FE_TOWARDZERO): Likewise.
10393 (FE_UPWARD): Likewise.
10394 (FE_DOWNWARD): Likewise.
10395 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10396 (FE_DIVBYZERO): Likewise.
10397 (FE_OVERFLOW): Likewise.
10398 (FE_UNDERFLOW): Likewise.
10399 (FE_INEXACT): Likewise.
10400 (FE_TONEAREST): Likewise.
10401 (FE_DOWNWARD): Likewise.
10402 (FE_UPWARD): Likewise.
10403 (FE_TOWARDZERO): Likewise.
10404
105ca950
CM
104052012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10406
10407 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10408
a542b389
AS
104092012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10410
10411 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10412 commands. Quote $PWD.
10413 (blacklist_exports): Don't use remove_newlines. Replace "declare
10414 -x" by "export".
10415 (remove_newlines): Remove.
10416
f62c8abc
L
104172012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10418
10419 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10420 * stdlib/stdlib.h (atof): Moved to ...
10421 * include/bits/stdlib-float.h: Here. New file.
10422 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10423 * stdlib/bits/stdlib-float.h: New file.
10424 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10425 -mno-sse -mno-mmx.
10426 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10427 <xmmintrin.h>.
10428
0155d5b2
JM
104292012-11-02 Joseph Myers <joseph@codesourcery.com>
10430
a68d0680
JM
10431 * conform/conformtest.pl (@headers): Add fenv.h.
10432 * conform/data/fenv.h-data: New file.
10433 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10434 include of <math/fenv.h>.
10435
caf7f573
JM
10436 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10437 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10438 && !UNIX98]. Enables tests for XOPEN2K8.
10439 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10440 POSIX2008]: Likewise.
10441
6c073ad6
JM
10442 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10443 (struct rusage): Do not expect type or its members.
10444
0155d5b2
JM
10445 [BZ #3439]
10446 * math/math.h (FP_NAN): Define macro to integer constant usable in
10447 #if and use that to give value to enum constant.
10448 (FP_INFINITE): Likewise.
10449 (FP_ZERO): Likewise.
10450 (FP_SUBNORMAL): Likewise.
10451 (FP_NORMAL): Likewise.
10452
b5dcacb4
AS
104532012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10454
10455 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10456 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10457 arguments.
10458
f7934be8
RM
104592012-11-02 Roland McGrath <roland@hack.frob.com>
10460
10461 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10462 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10463 autoconf-time if not.
10464 * configure.in: Remove AC_PREREQ.
10465
d7d08bde
TMQMF
104662012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10467
10468 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10469 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10470 of the internal implementation.
10471
dcdae19a
JM
104722012-11-02 Joseph Myers <joseph@codesourcery.com>
10473
10474 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10475 except include of <misc/sys/syslog.h>.
10476
d6cffd3e
AS
104772012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10478
10479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10480 function returns with a NULL context exit with zero.
10481
b3563932
TMQMF
104822012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10483
10484 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10485
b288a93d
L
104862012-11-01 H.J. Lu <hongjiu.lu@intel.com>
10487
10488 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10489 (run_program_cmd): This.
10490 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10491 (tst_langinfo): New variable. Use it.
10492
a2421a68
SAS
104932012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
10494
10495 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10496 floating point opcodes.
10497
6f796e1b
TS
104982012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10499
7402596b
TS
10500 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10501 variable.
10502
d0d4f868
TS
10503 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10504
6f796e1b
TS
10505 * sysdeps/mach/hurd/powerpc: Remove directory.
10506 * sysdeps/mach/powerpc: Likewise.
10507
4da224a2
AS
105082012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10509
10510 * scripts/check-local-headers.sh: Ignore c++ headers.
10511
341dd673
TS
105122012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10513
10514 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10515 __libc_cleanup_region_start argument.
10516
473611b2
JM
105172012-11-01 Joseph Myers <joseph@codesourcery.com>
10518
10519 [BZ #14784]
10520 [BZ #14785]
10521 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10522 x * y using scaling, not as x * y + z.
10523 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10524 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10525 * math/libm-test.inc (fma_test): Add more tests.
10526 (fma_test_towardzero): Likewise.
10527 (fma_test_downward): Likewise.
10528 (fma_test_upward): Likewise.
10529
4078da3d
TS
105302012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10531
10532 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10533
903252aa
JM
105342012-10-31 Joseph Myers <joseph@codesourcery.com>
10535
10536 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10537 New variable.
10538
cbc818d0
TS
105392012-10-31 Thomas Schwinge <thomas@codesourcery.com>
10540
10541 * rt/tst-shm.c (worker): Correct checking for mmap failure.
10542
5a03cb1e
AS
105432012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10544
10545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10546 Fix sort order.
10547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10548 Likewise.
10549
90aff2ff
TMQMF
105502012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10551
10552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10553 Fix the order of the list for glibc 2.17.
10554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10555 Likewise.
10556
1818fcb7
AS
105572012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10558
10559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10560
ef82f4da
JM
105612012-10-31 Joseph Myers <joseph@codesourcery.com>
10562
16a0e2ec
JM
10563 [BZ #14610]
10564 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10565 for low part of x being zero before using __atanl (y).
10566 * math/libm-test.inc (atan2_test): Add another test.
10567
0eb69512
JM
10568 * manual/install.texi (Configuring and compiling): Document
10569 general use of test-wrapper and test-wrapper-env.
10570 * INSTALL: Regenerated.
10571
ef82f4da
JM
10572 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10573 (__fma): Do not extract and scale down low bits on after-rounding
10574 systems when result rounded to normal precision would have normal
10575 exponent.
10576 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10577 (__fmal): Do not extract and scale down low bits on after-rounding
10578 systems when result rounded to normal precision would have normal
10579 exponent.
10580 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10581 (__fmal): Do not extract and scale down low bits on after-rounding
10582 systems when result rounded to normal precision would have normal
10583 exponent.
10584 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10585 macro.
10586 (fma_test): Add more tests.
10587 (fma_test_towardzero): Likewise.
10588 (fma_test_downward): Likewise.
10589 (fma_test_upward): Likewise.
10590
954ef0d9
L
105912012-10-30 H.J. Lu <hongjiu.lu@intel.com>
10592
10593 * sysdeps/i386/tininess.h: Renamed to ...
10594 * sysdeps/x86/tininess.h: This.
10595 * sysdeps/x86_64/tininess.h: Removed.
10596
df61ffb2
JM
105972012-10-30 Joseph Myers <joseph@codesourcery.com>
10598
10599 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10600 input. Use $(build-program-cmd).
10601 ($(objpfx)tst-array1-static.out): Likewise.
10602 ($(objpfx)tst-array2.out): Likewise.
10603 ($(objpfx)tst-array3.out): Likewise.
10604 ($(objpfx)tst-array4.out): Likewise.
10605 ($(objpfx)tst-array5.out): Likewise.
10606 ($(objpfx)tst-array5-static.out): Likewise.
10607
01767843
CM
106082012-10-30 Chris Metcalf <cmetcalf@tilera.com>
10609
47cc1490
CM
10610 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10611 if defined.
10612
01767843
CM
10613 * nss/nsswitch.h (nss_interface_function): Provide new
10614 macro for use with NSS functions.
10615 * grp/initgroups.c: Use new macro.
10616 * nss/getXXbyYY.c: Likewise.
10617 * nss/getXXbyYY_r.c: Likewise.
10618 * nss/getXXent.c: Likewise.
10619 * nss/getXXent_r.c: Likewise.
10620 * sysdeps/posix/getaddrinfo.c: Likewise.
10621
8321aa97
AJ
106222012-10-30 Andreas Jaeger <aj@suse.de>
10623
10624 * po/ru.po: Update Russion translation from translation project.
10625
2a27fd6d
JM
106262012-10-30 Joseph Myers <joseph@codesourcery.com>
10627
8627a232
JM
10628 [BZ #14152]
10629 [BZ #14783]
10630 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10631 result and shift together with sticky bit instead of replicating
10632 round-to-nearest rounding.
10633 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10634 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10635 * math/libm-test.inc (fma_test): Add more tests. Do not permit
10636 missing underflow exceptions.
10637 (fma_test_towardzero): Add more tests.
10638 (fma_test_downward): Likewise.
10639 (fma_test_upward): Likewise.
10640
2a27fd6d
JM
10641 [BZ #14047]
10642 * sysdeps/generic/tininess.h: New file.
10643 * sysdeps/i386/tininess.h: Likewise.
10644 * sysdeps/sh/tininess.h: Likewise.
10645 * sysdeps/x86_64/tininess.h: Likewise.
10646 * stdlib/tst-strtod-underflow.c: Likewise.
10647 * stdlib/tst-tininess.c: Likewise.
10648 * stdlib/strtod_l.c: Include <tininess.h>.
10649 (round_and_return): Do not set errno for exact underflow cases.
10650 Force an underflow exception when setting errno for underflow.
10651 Determine underflow based on rounding to normal precision if
10652 TININESS_AFTER_ROUNDING.
10653 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10654 ERANGE for exact underflow cases.
10655 * stdlib/Makefile (tests): Add tst-tininess and
10656 tst-strtod-underflow.
10657 ($(objpfx)tst-tininess): Use $(link-libm).
10658 ($(objpfx)tst-strtod-underflow): Likewise.
10659
e7170363
AJ
106602012-10-30 Andreas Jaeger <aj@suse.de>
10661
e5088dc6
AJ
10662 [BZ#14767]
10663 * elf/Makefile (tests): Remove conditional for have-initfini-array
10664 since this is now always required and the variable does not exist
10665 anymore.
10666 (tests-static): Likewise.
10667 (modules-names): Likewise.
10668
e7170363 10669 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
10670
10671 * elf/tst-array1.c (fini_array): Make writeable so that it can be
10672 merged with constructor/destructor.
10673 (init_array): Likewise.
10674 * elf/tst-array2dep.c (fini_array): Likewise.
10675 (init_array): Likewise.
10676
60457d8a
MF
106772012-10-29 Mike Frysinger <vapier@gentoo.org>
10678
10679 * manual/message.texi: Delete @cartouche tags.
10680
8bece752
PT
106812012-10-29 Pino Toscano <toscano.pino@tiscali.it>
10682
94ce799f
PT
10683 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10684 EOPNOTSUPP.
10685 * sysdeps/mach/hurd/fsync.c: Likewise.
10686
8bece752
PT
10687 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10688 [_POSIX_REALTIME_SIGNALS]: Change condition to
10689 [_POSIX_REALTIME_SIGNALS > 0].
10690
86ebe6b1
AJ
106912012-10-27 Andreas Jaeger <aj@suse.de>
10692
10693 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10694 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10695 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10696 [__WORDSIZE != 64]: Likewise.
10697
54399c08
L
106982012-10-26 H.J. Lu <hongjiu.lu@intel.com>
10699
10700 * iconvdata/tst-table.sh: Remove ${SHELL}.
10701 * iconvdata/tst-tables.sh: Likewise.
10702
e2211bed
DM
107032012-10-25 David S. Miller <davem@davemloft.net>
10704
10705 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10706 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10707 of strtoull.
10708
f303f97c
DM
10709 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10710 ifunc-impl-list.c
10711 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10712 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10713 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10714 file.
10715
1e9d84cd
RM
107162012-10-25 Roland McGrath <roland@hack.frob.com>
10717
10718 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10719 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10720 __getdirentries.
10721
df381762
JM
107222012-10-25 Joseph Myers <joseph@codesourcery.com>
10723 Jim Blandy <jimb@codesourcery.com>
10724
10725 * scripts/cross-test-ssh.sh: New file.
10726 * manual/install.texi (Configuring and compiling): Document use of
10727 cross-test-ssh.sh.
10728 * INSTALL: Regenerated.
10729
bff64913
PT
107302012-10-25 Pino Toscano <toscano.pino@tiscali.it>
10731
10732 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
10733 EOPNOTSUPP.
10734
25fe8932
JM
107352012-10-25 Joseph Myers <joseph@codesourcery.com>
10736
10737 * Makeconfig (run-program-prefix): Fix comment.
10738
cc1290d0
JM
107392012-10-24 Joseph Myers <joseph@codesourcery.com>
10740 Jim Blandy <jimb@codesourcery.com>
10741
10742 * Makeconfig (test-wrapper): New variable,
10743 (test-wrapper-env): Likewise.
10744 [$(cross-compiling) = yes && $(test-wrapper) != ""]
10745 (run-built-tests): Define to yes.
10746 (run-program-prefix): Use $(test-wrapper).
10747 (built-program-cmd): Likewise.
10748 * Rules (make-test-out): Use $(test-wrapper-env) and
10749 $(host-built-program-cmd).
10750 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
10751 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
10752 tst-pathopt.sh.
10753 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
10754 $(test-wrapper-env) to tst-rtld-load-self.sh.
10755 ($(objpfx)order2.out): Use $(test-wrapper).
10756 ($(objpfx)tst-initorder.out): Likewise.
10757 ($(objpfx)tst-initorder2.out): Likewise.
10758 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
10759 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
10760 (test_wrapper_env): New variable. Use it to run ld.so.
10761 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
10762 Use it to run ld.so.
10763 (test_wrapper_env): Likewise.
10764 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
10765 $(test-wrapper) to run-iconv-test.sh.
10766 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
10767 (ICONV): Use $test_wrapper.
10768 * posix/Makefile ($(objpfx)globtest.out): Pass
10769 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
10770 globtest.sh, not $(run-program-prefix).
10771 * posix/globtest.sh (run_via_rtld_prefix): New variable.
10772 (test_wrapper): Likewise.
10773 (test_wrapper_env): Likewise. Use it to run globtest with HOME
10774 set together with run_via_rtld_prefix.
10775 (run_program_prefix): Define in terms of test_wrapper and
10776 run_via_rtld_prefix.
10777
6e6249d0
RM
107782012-10-24 Roland McGrath <roland@hack.frob.com>
10779
10780 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
10781 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
10782 Targets removed.
10783
10784 [BZ #14743]
10785 * include/time.h: Remove librt_hidden_proto (clock_gettime).
10786 Declare __clock_getres, __clock_gettime, __clock_settime,
10787 __clock_nanosleep, and __clock_getcpuclockid.
10788 * rt/clock_gettime.c: Define __clock_gettime as an alias.
10789 Remove librt_hidden_def (clock_gettime).
10790 * sysdeps/unix/clock_gettime.c: Likewise.
10791 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
10792 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10793 * rt/clock_getres.c: Define __clock_getres as an alias.
10794 * sysdeps/posix/clock_getres.c: Likewise.
10795 * rt/clock_settime.c: Define __clock_settime as an alias.
10796 * sysdeps/unix/clock_settime.c: Likewise.
10797 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
10798 * sysdeps/unix/clock_nanosleep.c: Likewise.
10799 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10800 * rt/clock-compat.c: New file.
10801 * rt/Makefile (librt-routines): Add clock-compat and move
10802 $(clock-routines) to ...
10803 (routines): ... here, new variable.
10804 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
10805 Don't add get_clockfreq here.
10806 * rt/Versions (libc: GLIBC_2.17): New version set.
10807 Add clock_* symbols here.
10808 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
10809 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
10810 (GLIBC_2.17): Add clock_* symbols.
10811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10813 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10815 Likewise.
10816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10817 Likewise.
10818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10819 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10822 * NEWS: Mention the move.
10823
10824 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10825 Use __open, __read, __close rather than their public counterparts.
10826 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10827 (__get_clockfreq_via_cpuinfo): Likewise.
10828 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
10829 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
10830
10831 * config.h.in (HAVE_IFUNC): New #undef.
10832 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
10833 was successful.
10834 * configure: Regenerated.
10835
0cae3f4b
MF
108362012-10-24 Mike Frysinger <vapier@gentoo.org>
10837
10838 * configure.in: Move READELF check to start of file.
10839 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
10840 libc_cv_asm_gnu_indirect_function in the process.
10841 * configure: Regenerated.
10842
8175a253
MF
108432012-10-24 Mike Frysinger <vapier@gentoo.org>
10844
10845 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
10846 send the output to /dev/null.
10847 (libc_cv_cc_with_libunwind): Likewise.
10848 (libc_cv_as_noexecstack): Likewise.
10849 * configure: Regenerate.
10850
0708a7d1
JM
108512012-10-24 Joseph Myers <joseph@codesourcery.com>
10852
10b40d85
JM
10853 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
10854
0708a7d1
JM
10855 * posix/globtest.sh (TMPDIR): Do not set.
10856 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
10857 (testout): Likewise.
10858
9fddec1a
AJ
108592012-10-24 Andreas Jaeger <aj@suse.de>
10860
3a8db22f
AJ
10861 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
10862 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
10863 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
10864 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
10865 posix_fadvise64, posix_fallocate64.
10866
9fddec1a
AJ
10867 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
10868 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
10869 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
10870 Likewise.
10871 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
10872 Likewise.
10873 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
10874
10875 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
10876 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
10877 <bits/fcntl-linux.h>.
10878 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
10879
10880 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
10881 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
10882 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
10883 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
10884 [__WORDSIZE != 64]: Likewise.
10885
ebfd1bbd
JM
108862012-10-23 Joseph Myers <joseph@codesourcery.com>
10887
03ac099f
JM
10888 * Makeconfig (run-built-tests): New variable.
10889 * Rules [$(cross-compiling) = yes]: Change condition to
10890 [$(run-built-tests) = no].
10891 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
10892 to [$(run-built-tests) = yes].
10893 * elf/Makefile [$(cross-compiling) = no]: Likewise
10894 * grp/Makefile [$(cross-compiling) = no]: Likewise.
10895 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
10896 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
10897 * intl/Makefile [$(cross-compiling) = no]: Likewise.
10898 * io/Makefile [$(cross-compiling) = no]: Likewise.
10899 * libio/Makefile [$(cross-compiling) = no]: Likewise.
10900 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
10901 * misc/Makefile [$(cross-compiling) = no]: Likewise.
10902 * posix/Makefile [$(cross-compiling) = no]: Likewise.
10903 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
10904 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
10905 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
10906 * string/Makefile [$(cross-compiling) = no]: Likewise.
10907
ebfd1bbd
JM
10908 * posix/Makefile ($(objpfx)globtest.out): Pass
10909 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
10910 $(rtld-installed-name).
10911 * posix/globtest.sh (elf_objpfx): Remove variable.
10912 (rtld_installed_name): Likewise.
10913 (library_path): Likewise.
10914 (run_program_prefix): New variable. Use for running globtest
10915 binary.
10916
166bca24
JB
109172012-10-23 Jim Blandy <jimb@codesourcery.com>
10918 Joseph Myers <joseph@codesourcery.com>
10919
10920 * Makeconfig (host-built-program-cmd): New variable.
10921 * elf/Makefile (tst-stackguard1-ARGS): Use
10922 $(host-built-program-cmd).
10923 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
10924 (tst-spawn-ARGS): Likewise.
10925 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
10926
88866099
JM
109272012-10-23 Joseph Myers <joseph@codesourcery.com>
10928 Jim Blandy <jimb@codesourcery.com>
10929
10930 * Makeconfig (run-via-rtld-prefix): New variable.
10931 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
10932 (built-program-cmd): Likewise.
10933
b4b4c296
AJ
109342012-10-22 Andreas Jaeger <aj@suse.de>
10935
10936 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
10937 __O_RSYNC if it exists, otherwise to O_SYNC.
10938
6fb54a22
JB
109392012-10-22 Jim Blandy <jimb@codesourcery.com>
10940 Joseph Myers <joseph@codesourcery.com>
10941
10942 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
10943 /dev/null.
10944 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
10945 from /dev/null
10946 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
10947 /dev/null.
10948
481b90b9
AJ
109492012-10-22 Andreas Jaeger <aj@suse.de>
10950
2a0e2669
AJ
10951 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
10952 Define always.
10953 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
10954
76e38f9a
AJ
10955 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10956 bits/fcntl-linux.h.
10957
7cd37b43
AJ
10958 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
10959 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
10960
481b90b9
AJ
10961 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
10962 to __O_LARGEFILE.
10963 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
10964 to __O_LARGEFILE.
10965
aba75984
JB
109662012-10-21 Jim Blandy <jimb@codesourcery.com>
10967 Joseph Myers <joseph@codesourcery.com>
10968
10969 * config.make.in (NM): New variable.
10970
88d4247f
AJ
109712012-10-21 Andreas Jaeger <aj@suse.de>
10972
10973 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
10974 definitions and declarations that are provided by
10975 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10976
f2eed205
L
109772012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10978
10979 [BZ #14683]
10980 * elf/Makefile (tests-static): Add tst-leaks1-static.
10981 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
10982 ($(objpfx)tst-leaks1-static): New rule.
10983 ($(objpfx)tst-leaks1-static-mem): Likewise.
10984 (tst-leaks1-static-ENV): New macro.
10985 * elf/dl-open.c (dl_open_worker): Check the main application
10986 only if SHARED is defined.
10987 * elf/tst-leaks1-static.c: New file.
10988
335e6931
AJ
109892012-10-20 Andreas Jaeger <aj@suse.de>
10990
10991 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
10992 generic values for Linux.
10993 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
10994 and declarations that are provided by <bits/fcntl-linux.h> and
10995 include <bits/fcntl-linux.h>.
10996 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10997 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10998
ac5c94d3
RM
109992012-10-20 Roland McGrath <roland@hack.frob.com>
11000
11001 * io/fcntl.h: Move include of <bits/types.h> to the top and
11002 include it unconditionally.
11003
de54b33a
L
110042012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11005
228cfb01
L
11006 * wcsmbs/Makefile (tests-ifunc): New variable.
11007 (tests): Add $(tests-ifunc).
11008 * wcsmbs/test-wcschr-ifunc.c: New file.
11009 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11010 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11011 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11012 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11013 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11014
69f07e5f
L
11015 * string/Makefile (tests-ifunc): New variable.
11016 (tests): Add $(tests-ifunc).
11017 * string/test-memccpy.c (TEST_NAME): New macro.
11018 * string/test-memchr.c (TEST_NAME): Likewise.
11019 * string/test-memcmp.c (TEST_NAME): Likewise.
11020 * string/test-memcpy.c (TEST_NAME): Likewise.
11021 * string/test-memmem.c (TEST_NAME): Likewise.
11022 * string/test-memmove.c (TEST_NAME): Likewise.
11023 * string/test-memset.c (TEST_NAME): Likewise.
11024 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11025 * string/test-stpcpy.c (TEST_NAME): Likewise.
11026 * string/test-stpncpy.c (TEST_NAME): Likewise.
11027 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11028 * string/test-strcasestr.c (TEST_NAME): Likewise.
11029 * string/test-strcat.c (TEST_NAME): Likewise.
11030 * string/test-strchr.c (TEST_NAME): Likewise.
11031 * string/test-strcmp.c(TEST_NAME): Likewise.
11032 * string/test-strcpy.c (TEST_NAME): Likewise.
11033 * string/test-strcspn.c (TEST_NAME): Likewise.
11034 * string/test-strlen.c (TEST_NAME): Likewise.
11035 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11036 * string/test-strncmp.c (TEST_NAME): Likewise.
11037 * string/test-strncpy.c (TEST_NAME): Likewise.
11038 * string/test-strnlen.c (TEST_NAME): Likewise.
11039 * string/test-strpbrk.c (TEST_NAME): Likewise.
11040 * string/test-strrchr.c (TEST_NAME): Likewise.
11041 * string/test-strspn.c (TEST_NAME): Likewise.
11042 * string/test-strstr.c (TEST_NAME): Likewise.
11043 * string/test-bcopy-ifunc.c: New file.
11044 * string/test-bzero-ifunc.c: Likewise.
11045 * string/test-memccpy-ifunc.c: Likewise.
11046 * string/test-memchr-ifunc.c: Likewise.
11047 * string/test-memcmp-ifunc.c: Likewise.
11048 * string/test-memcpy-ifunc.c: Likewise.
11049 * string/test-memmem-ifunc.c: Likewise.
11050 * string/test-memmove-ifunc.c: Likewise.
11051 * string/test-mempcpy-ifunc.c: Likewise.
11052 * string/test-memset-ifunc.c: Likewise.
11053 * string/test-rawmemchr-ifunc.c: Likewise.
11054 * string/test-stpcpy-ifunc.c: Likewise.
11055 * string/test-stpncpy-ifunc.c: Likewise.
11056 * string/test-strcasecmp-ifunc.c: Likewise.
11057 * string/test-strcasestr-ifunc.c: Likewise.
11058 * string/test-strcat-ifunc.c: Likewise.
11059 * string/test-strchr-ifunc.c: Likewise.
11060 * string/test-strchrnul-ifunc.c: Likewise.
11061 * string/test-strcmp-ifunc.c: Likewise.
11062 * string/test-strcpy-ifunc.c: Likewise.
11063 * string/test-strcspn-ifunc.c: Likewise.
11064 * string/test-strlen-ifunc.c: Likewise.
11065 * string/test-strncasecmp-ifunc.c: Likewise.
11066 * string/test-strncat-ifunc.c: Likewise.
11067 * string/test-strncmp-ifunc.c: Likewise.
11068 * string/test-strncpy-ifunc.c: Likewise.
11069 * string/test-strnlen-ifunc.c: Likewise.
11070 * string/test-strpbrk-ifunc.c: Likewise.
11071 * string/test-strrchr-ifunc.c: Likewise.
11072 * string/test-strspn-ifunc.c: Likewise.
11073 * string/test-strstr-ifunc.c: Likewise.
11074
de54b33a
L
11075 * debug/Makefile (tests-ifunc): New variable.
11076 (tests): Add $(tests-ifunc).
11077 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11078 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11079 * debug/test-stpcpy_chk-ifunc.c: New file.
11080 * debug/test-strcpy_chk-ifunc.c: Likewise.
11081
88481c16
SP
110822012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11083
11084 [BZ #13601]
11085 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11086 header is not read in.
11087
135948bd
JM
110882012-10-19 Joseph Myers <joseph@codesourcery.com>
11089
89f1c388
JM
11090 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11091 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11092 directly. Pass built executable to script as
11093 $(built-program-cmd).
11094 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11095 $testprogram without using LD_LIBRARY_PATH and $ldso.
11096
e40a0d21
JM
11097 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11098 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11099 $(rtld-installed-name).
11100 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11101 (rtld_installed_name): Likewise.
11102 (library_path): Likewise.
11103 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11104 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11105 $(run-program-prefix) to tst-tables.sh.
11106 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11107 it to run tst-table-from and tst-table-to.
11108 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11109 Pass it to tst-table.sh.
11110 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11111 $(run-program-prefix) to tst-gettext.sh.
11112 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11113 tst-translit.sh.
11114 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11115 tst-gettext2.sh.
11116 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11117 to run tst-gettext.
11118 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11119 to run tst-gettext2.
11120 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11121 to run tst-translit.
11122 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11123 $(run-program-prefix) to tst-mtrace.sh.
11124 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11125 to run tst-mtrace.
11126 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11127 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11128 $(rtld-installed-name).
11129 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11130 (rtld_installed_name): Likewise.
11131 (run_program_prefix): New variable. Use it to run wordexp-test.
11132
728e272a
JM
11133 * Makeconfig (ARCH): Remove all definitions.
11134 (machine): Likewise.
11135 [ARCH]: Remove conditional code.
11136 [!objdir]: Give error.
11137 [!objdir] (objpfx): Remove.
11138 [!objdir] (common-objpfx): Likewise.
11139 [!objdir] (common-objdir): Likewise.
11140 * configure.in (config_makefile): Remove. Hardcode Makefile in
11141 AC_CONFIG_FILES call.
11142 * configure: Regenerated.
11143
d528cdcf
JM
11144 [BZ #13888]
11145 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11146 or TMPDIR.
11147 (testout): Likewise.
11148
135948bd
JM
11149 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11150 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11151 $(rtld-installed-name).
11152 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11153 (rtld_installed_name): Likwise.
11154 (runit): Remove function.
11155 (run_getconf): New variable, Use it for running getconf binary.
11156
38c78296
L
111572012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11158
11159 [BZ #14716]
11160 * string/test-memmem.c (check_result): New function.
11161 (do_one_test): Use it.
11162 (check1): New function.
11163 (test_main): Use it.
11164
d077f65f
MT
111652012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11166
11167 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11168
ced52c71
JM
111692012-10-18 Joseph Myers <joseph@codesourcery.com>
11170
11171 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11172 (_G_LSEEK64): Likewise.
11173 (_G_MMAP64): Likewise.
11174 (_G_FSTAT64): Likewise.
11175 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11176 (_G_LSEEK64): Likewise.
11177 (_G_MMAP64): Likewise.
11178 (_G_FSTAT64): Likewise.
11179 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11180 unconditional. Call __mmap64 directly.
11181 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11182 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11183 __lseek64 directly.
11184 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11185 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11186 __mmap64 directly.
11187 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11188 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11189 __lseek64 directly.
11190 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11191 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11192 __lseek64 directly.
11193 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11194 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11195 __lseek64 directly.
11196 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11197 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11198 __fxstat64 directly.
11199 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11200 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11201 unconditional.
11202 (freopen64) [!_G_OPEN64]: Remove conditional code.
11203 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11204 unconditional.
11205 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11206 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11207 unconditional.
11208 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11209 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11210 unconditional.
11211 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11212 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11213 unconditional.
11214 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11215 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11216 unconditional.
11217 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11218 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11219 unconditional.
11220 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11221 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11222 unconditional.
11223 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11224
b741de23
SP
112252012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11226
11227 [BZ #12140]
11228 * manual/memory.texi (Malloc Tunable Parameters): Add note
11229 about free list pointers overwriting some perturb bytes.
11230 Wording suggested by Roland McGrath.
11231
f9b9d9c9
JM
112322012-10-17 Joseph Myers <joseph@codesourcery.com>
11233
11234 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11235 (lgamma_test): Likewise.
11236 (tgamma_test): Likewise.
11237
172a631a
FW
112382012-10-16 Florian Weimer <fweimer@redhat.com>
11239
11240 [BZ #14700]
11241 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11242 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11243
e9f37252
MK
112442012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11245
11246 * NEWS: Mention BZ #14716.
11247 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11248 when removing AVAILABLE1_USES_J macro.
11249
d394eb74
L
112502012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11251
11252 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11253 (__bswap_64): __uint64_t for unsigned 64-bit int.
11254
ca38dc17
AS
112552012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11256
11257 * include/string.h (memmem): Declare libc hidden alias.
11258 * string/memmem.c (memmem): Define libc hidden alias.
11259 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11260 __read, __close instead of open, read, close.
11261
9a387d1f
L
112622012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11263
ac49ecaf
L
11264 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11265 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11266 global and hidden.
11267 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11268 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11269 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11270 Likewise.
11271 (__rawmemchr_sse2): Likewise.
11272 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11273 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11274 (__strchr_sse2): Likewise.
11275 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11276 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11277 (__strcasecmp_sse2): Likewise.
11278 (__strncasecmp_sse2): Likewise.
11279 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11280 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11281 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11282 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11283 (__strrchr_sse2): Likewise.
11284 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11285 ifunc-impl-list.c.
11286 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11287 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11288 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11289 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11290 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11291 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11292 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11293 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11294 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11295 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11296 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11297 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11298 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11299 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11300 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11301 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11302 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11303 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11304 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11305 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11306 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11307 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11308 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11309 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11310 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11311 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11312 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11313 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11314 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11315 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11316
b090e8ea
L
11317 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11318 global and hidden.
11319 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11320 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11321 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11322 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11323 Likewise.
11324 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11325 Likewise.
11326 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11327 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11328 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11329 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11330 ifunc-impl-list.c.
11331 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11332 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11333 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11334 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11335 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11336 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11337 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11338 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11339 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11340 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11341 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11342 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11343 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11344 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11345 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11346 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11347 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11348 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11349 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11350 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11351 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11352 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11353 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11354 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11355 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11356 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11357 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11358 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11359 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11360 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11361 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11362 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11363 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11364 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11365 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11366 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11367 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11368 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11369 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11370 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11371 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11372
11dd4af6
L
11373 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11374 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11375 * include/ifunc-impl-list.h: New file.
11376 * misc/ifunc-impl-list.c: Likewise.
11377 * misc/Makefile (routines): Add ifunc-impl-list.
11378 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11379 * string/test-string.h: Include <ifunc-impl-list.h>.
11380 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11381 impl_array): New variables.
11382 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11383 are defined.
11384 (test_init): Call __libc_ifunc_impl_list to initialize
11385 func_list if TEST_IFUNC and TEST_NAME are defined.
11386
9a387d1f
L
11387 * string/Makefile (strop-tests): Add bcopy and bzero.
11388 * string/test-bcopy.c: New file.
11389 * string/test-bzero.c: Likewise.
11390 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11391 defined.
11392 * string/test-memset.c: Support bzero test if TEST_BZERO is
11393 defined.
11394 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11395 __libc_memmove.
11396 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11397 __libc_memset.
11398 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11399 of memset.
11400
472371b9
JM
114012012-10-10 Joseph Myers <joseph@codesourcery.com>
11402
1e4a9536
JM
11403 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11404 * configure: Regenerated.
11405
d173d12e
JM
11406 * Makeconfig (+link-static-before-libc): Don't include
11407 $(link-static-libc).
11408
472371b9
JM
11409 * libio/libio.h (_IO_pos_t): Remove.
11410
89a3ad0b
AO
114112012-10-10 Alexandre Oliva <aoliva@redhat.com>
11412
11413 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11414 McGrath.
11415
e7451425
AO
114162012-10-10 Alexandre Oliva <aoliva@redhat.com>
11417
11418 * crypt/crypt-entry.c: Include fips-private.h.
11419 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11420 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11421 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11422 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11423
4ba74a35
AO
114242012-10-10 Alexandre Oliva <aoliva@redhat.com>
11425
11426 * crypt/crypt-private.h: Include stdbool.h.
11427 (_ufc_setup_salt_r): Return bool.
11428 * crypt/crypt-entry.c: Include errno.h.
11429 (__crypt_r): Return NULL with EINVAL for bad salt.
11430 * crypt/crypt_util.c (bad_for_salt): New.
11431 (_ufc_setup_salt_r): Check that salt is long enough and within
11432 the specified alphabet.
11433 * crypt/badsalttest.c: New file.
11434 * crypt/Makefile (tests): Add it.
11435 ($(objpfx)badsalttest): New.
11436
f96f1242
MK
114372012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11438
11439 * NEWS: Add entry for BZ #14602.
11440
0e8e0c1c
JM
114412012-10-09 Joseph Myers <joseph@codesourcery.com>
11442
11443 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11444 type-generic.
11445 * math/libm-test.inc: Update comment listing what functions and
11446 macros are tested.
11447 (isgreater_test): New function.
11448 (isgreaterequal_test): Likewise.
11449 (isless_test): Likewise.
11450 (islessequal_test): Likewise.
11451 (islessgreater_test): Likewise.
11452 (isunordered_test): Likewise.
11453 (main): Call the new functions.
11454
273edc5e
RM
114552012-10-09 Roland McGrath <roland@hack.frob.com>
11456
b8493de0
RM
11457 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11458 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11459 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11460 * sysdeps/i386/configure: Regenerated.
11461 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11462 * sysdeps/mach/configure: Regenerated.
11463 * sysdeps/mach/hurd/configure: Regenerated.
11464 * sysdeps/powerpc/configure: Regenerated.
11465 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11466 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11467 * sysdeps/s390/s390-32/configure: Regenerated.
11468 * sysdeps/s390/s390-64/configure: Regenerated.
11469 * sysdeps/sh/configure: Regenerated.
11470 * sysdeps/sparc/configure: Regenerated.
11471 * sysdeps/unix/sysv/linux/configure: Regenerated.
11472 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11473 * sysdeps/x86_64/configure: Regenerated.
11474
273edc5e
RM
11475 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11476 defined. Don't check if MAP is NULL.
11477
c8450f70
JM
114782012-10-09 Joseph Myers <joseph@codesourcery.com>
11479
11480 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11481 (_G_stat64): Likewise.
11482 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11483 (_G_stat64): Likewise.
11484 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11485 instead of struct _G_stat64.
11486 * libio/fileops.c (mmap_remap_check): Likewise.
11487 (decide_maybe_mmap): Likewise.
11488 (_IO_new_file_seekoff): Likewise.
11489 (_IO_file_stat): Likewise.
11490 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11491 _G_off64_t.
11492 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11493 instead of struct _G_stat64.
11494 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11495
57e605ba
MK
114962012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
11497
11498 [BZ #14602]
11499 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11500 Replace with ...
11501 (CHECK_EOL): New macro.
11502 (two_way_short_needle): Check beginning of haystack for EOL. Use
11503 CHECK_EOL.
11504 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11505 Replace with CHECK_EOL.
11506 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11507 Replace with CHECK_EOL.
11508
ef1bb361
JM
115092012-10-08 Joseph Myers <joseph@codesourcery.com>
11510
11511 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11512 type-generic.
11513 * math/libm-test.inc: Update comment listing what functions and
11514 macros are tested.
11515 (finite_test): New function.
11516 (isinf_test): Likewise.
11517 (isnan_test): Likewise.
11518 (fpclassify_test): Test subnormal input.
11519 (isfinite_test): Likewise.
11520 (isnormal_test): Likewise.
11521 (main): Call the new functions.
11522
55f11534
JN
115232012-10-08 Jonathan Nieder <jrnieder@gmail.com>
11524
11525 [BZ #14660]
11526 * Makerules (%.dynsym): Force C locale when running
11527 $(OBJDUMP) --dynamic-syms.
11528
1ab29350
AS
115292012-10-08 Andreas Schwab <schwab@linux-m68k.org>
11530
11531 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11532 <stdint.h>.
11533
f1ecb7ef
DM
115342012-10-06 David S. Miller <davem@davemloft.net>
11535
11536 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11537 upper 32-bits of the length value in %o2 since we use branch-on-register
11538 tests which consider the entire 64-bit register.
11539
5d41d91a
L
115402012-10-06 H.J. Lu <hongjiu.lu@intel.com>
11541
11542 * string/test-strstr.c (check2): Add a test for page boundary.
11543
3baddb72
DM
115442012-10-05 David S. Miller <davem@davemloft.net>
11545
11546 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11547 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11548 file.
11549 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11550 sysdep_routines.
11551 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11552 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11553 and bzero when HWCAP_SPARC_CRYPTO is present.
11554
9cee5585
L
115552012-10-05 H.J. Lu <hongjiu.lu@intel.com>
11556
d7e0dab9
L
11557 [BZ #14602]
11558 * string/test-strstr.c (check2): New function.
11559 (test_main): Call check2.
11560
03759f47
L
11561 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11562 and bug-strchr1.
11563 * string/bug-strcasestr1.c (do_test): Moved to ...
11564 * string/test-strcasestr.c (check1): Here. New function.
11565 (do_one_test): Break out result checking code into ...
11566 (check_result): This. New function.
11567 (do_one_test): Call check_result.
11568 (test_main): Call check1.
11569 * string/bug-strchr1.c (do_test): Moved to ...
11570 * string/test-strchr.c (check1): Here. New function.
11571 (do_one_test): Break out result checking code into ...
11572 (check_result): This. New function.
11573 (do_one_test): Call check_result.
11574 (test_main): Call check1.
11575 * string/bug-strstr1.c (main): Moved to ...
046f153e 11576 * string/test-strstr.c (check1): Here. New function.
03759f47
L
11577 (do_one_test): Break out result checking code into ...
11578 (check_result): This. New function.
11579 (do_one_test): Call check_result.
11580 (test_main): Call check1.
11581 * string/bug-strcasestr1.c: Removed.
11582 * string/bug-strchr1.c: Likewise.
11583 * string/bug-strstr1.c: Likewise.
11584
53cea63e
L
11585 * elf/Makefile (dl-routines): Add hwcaps.
11586 * elf/dl-support.c (_dl_important_hwcaps): Removed.
11587 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11588 (_dl_important_hwcaps): Moved to ...
11589 * elf/dl-hwcaps.c: Here. New file.
11590 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11591
9cee5585 11592 [BZ #14557]
bb859b06
L
11593 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11594 if IS_IN_rtld isn't defined.
11595
9cee5585
L
11596 * elf/dl-support.c (_dl_sysinfo_map): New.
11597 Include "get-dynamic-info.h" and "setup-vdso.h".
11598 (_dl_non_dynamic_init): Call setup_vdso.
11599 * elf/dynamic-link.h: Don't include <assert.h>.
11600 (elf_get_dynamic_info): Moved to ...
11601 * elf/get-dynamic-info.h: Here. New file.
11602 * elf/dynamic-link.h: Include "get-dynamic-info.h".
11603 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11604 * elf/setup-vdso.h: Here. New file.
11605 * elf/rtld.c: Include "setup-vdso.h".
11606 (dl_main): Call setup_vdso.
11607
23c31b76
JM
116082012-10-05 Joseph Myers <joseph@codesourcery.com>
11609
28234b07
JM
11610 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11611 creal in comment listing functions tested. List finite, isinf,
11612 isnan, isless, islessequal, isgreater, isgreaterequal,
11613 islessgreater, isunordered, lgamma_r and pow10 as functions and
11614 macros not tested. Mention which functions not tested are aliases
11615 for other functions. Fix typo. Note that signs of NaNs are not
11616 tested.
11617
23c31b76
JM
11618 * scripts/config.guess: Update from config.git.
11619 * scripts/config.sub: Likewise.
11620
9043e228
RM
116212012-10-04 Roland McGrath <roland@hack.frob.com>
11622
11623 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11624 * misc/madvise.c (madvise): Renamed to __madvise.
11625 Make madvise a weak alias.
11626 * include/sys/mman.h: Declare __madvise.
11627 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11628 * sysdeps/unix/syscalls.list
11629 (madvise): Make __madvise the strong name, and madvise a weak alias.
11630 * sysdeps/unix/sysv/linux/syscalls.list
11631 (madvise, mmap): Remove redundant entries.
11632 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11633 * malloc/malloc.c (mtrim): Likewise.
11634 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11635
f57f8055
RM
116362012-10-03 Roland McGrath <roland@hack.frob.com>
11637
11638 * sysdeps/mach/hurd/dl-cache.c: File removed.
11639 * config.h.in (USE_LDCONFIG): New #undef.
11640 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11641 * configure: Regenerated.
11642 * elf/Makefile (dl-routines): Add dl-cache only under
11643 [$(use-ldconfig) = yes].
11644 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11645 cache on [USE_LDCONFIG].
11646 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11647 [USE_LDCONFIG].
11648 * elf/rtld.c (dl_main): Likewise.
11649
5bb0c10a
PT
116502012-10-03 Pino Toscano <toscano.pino@tiscali.it>
11651
11652 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11653 _SC_LEVEL4_CACHE_LINESIZE.
11654
010188c6
RM
116552012-10-03 Roland McGrath <roland@hack.frob.com>
11656
11657 * sysdeps/unix/bsd/confstr.h: File removed.
11658
b6c5ec07
AO
116592012-10-02 Alexandre Oliva <aoliva@redhat.com>
11660
11661 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11662 sys/sdt-config.h.
11663
408223d4
RM
116642012-10-02 Roland McGrath <roland@hack.frob.com>
11665
11666 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11667 Make 'mapoff' field ElfW(Off) rather than off_t.
11668
bb9510dc
DL
116692012-10-02 Dmitry V. Levin <ldv@altlinux.org>
11670
fc997c6e
DL
11671 * nscd/Makefile: Remove nscd-cflags and all its users.
11672 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11673 (CFLAGS-nonlib): Add compiler flags for nscd modules.
11674
bb9510dc
DL
11675 [BZ #10631]
11676 * malloc.c (malloc_printerr): Clarify error message.
11677
05699367
L
116782012-10-02 H.J. Lu <hongjiu.lu@intel.com>
11679
11680 [BZ #14648]
11681 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11682 Set bit_FMA_Usable if FMA is supported.
11683 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11684 macro.
11685 (bit_FMA4_Usable): Updated.
11686 (index_FMA_Usable): New macro.
11687 (CPUID_FMA): Likewise
11688 (HAS_FMA): Defined with bit_FMA_Usable.
11689
51367701
RM
116902012-10-01 Roland McGrath <roland@hack.frob.com>
11691
11692 * bits/types.h (__swblk_t): Type removed.
11693 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11694 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11695 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11696 (__SWBLK_T_TYPE): Likewise.
11697 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11698 (__SWBLK_T_TYPE): Likewise.
11699 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11700 (__SWBLK_T_TYPE): Likewise.
11701 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11702 (__SWBLK_T_TYPE): Likewise.
11703
4d57bf63 117042012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 11705 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
11706
11707 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11708 (xdr_mapname): Use YPMAXMAP as maxsize.
11709 (xdr_peername): Use YPMAXPEER as maxsize.
11710 (xdr_keydat): Use YPAXRECORD as maxsize.
11711 (xdr_valdat): Use YPMAXRECORD as maxsize.
11712
93c65d43
RM
117132012-10-01 Roland McGrath <roland@hack.frob.com>
11714
497a03d6
RM
11715 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11716
93c65d43
RM
11717 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11718 * csu/init-first.c: ... here.
11719 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11720 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11721 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11722 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11723 * sysdeps/i386/init-first.c: File removed.
11724 * sysdeps/sh/init-first.c: File removed.
11725
bec749fd
JM
117262012-10-01 Joseph Myers <joseph@codesourcery.com>
11727
11728 [BZ #14645]
11729 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11730 if x * y might underflow to zero and z is zero.
11731 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11732 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11733 * math/libm-test.inc (min_subnorm_value): New variable.
11734 (fma_test): Add more tests.
11735 (fma_test_towardzero): Likewise.
11736 (fma_test_downward): Likewise
11737 (fma_test_upward): Likewise.
11738 (initialize): Set min_subnorm_value.
11739
8ec5b013
JM
117402012-09-29 Joseph Myers <joseph@codesourcery.com>
11741
11742 [BZ #14638]
11743 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
11744 0 + 0.
11745 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
11746 mode for addition resulting in exact zero.
11747 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
11748 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
11749 exact 0 + 0.
11750 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11751 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11752 * math/libm-test.inc (fma_test): Add more tests.
11753 (fma_test_towardzero): New function.
11754 (fma_test_downward): Likewise.
11755 (fma_test_upward): Likewise.
11756 (main): Call the new functions.
11757
b1fa802e
DM
117582012-09-28 David S. Miller <davem@davemloft.net>
11759
11760 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
11761
d3b9fd9e
RM
117622012-09-28 Roland McGrath <roland@hack.frob.com>
11763
ea4d37b3
RM
11764 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
11765 instead of SIGALRM.
11766
ac51c949
RM
11767 * sysdeps/gnu/_G_config.h: Moved to ...
11768 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
11769 * sysdeps/mach/hurd/_G_config.h: Moved to ...
11770 * sysdeps/generic/_G_config.h: ... here.
11771
28c195f7
RM
11772 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
11773
848917f9
RM
11774 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
11775
6bacf05b
RM
11776 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
11777 Conditionalize target on [libnss_test1.so-version].
11778
91363dbb
RM
11779 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
11780
cc87f7d8
RM
11781 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
11782 (elfobjdir): Move out of conditionals.
11783
b1c608fe
RM
11784 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
11785 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
11786 (__nss_lookup_function): Conditionalize label remove_from_tree on
11787 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 11788
1d9a6d96
DM
117892012-09-28 David S. Miller <davem@davemloft.net>
11790
11791 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
11792 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
11793 file.
11794 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11795 sysdep_routines.
11796 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11797 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
11798 when HWCAP_SPARC_CRYPTO is present.
11799
72581615
PT
118002012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11801
11802 * io/tst-mknodat.c: Create a FIFO instead of a socket.
11803
715a900c
JL
118042012-09-28 Andreas Schwab <schwab@linux-m68k.org>
11805
11806 [BZ #6530]
11807 * stdio-common/vfprintf.c (process_string_arg): Revert
11808 2000-07-22 change.
11809
118102011-09-28 Jonathan Nieder <jrnieder@gmail.com>
11811
11812 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
11813 for testcase.
11814 * stdio-common/tst-sprintf.c: Include <locale.h>
11815 (main): Test sprintf's handling of incomplete multibyte
11816 characters.
11817
9bac1d86
L
118182012-09-28 H.J. Lu <hongjiu.lu@intel.com>
11819
11820 * elf/dl-runtime.c (VERSYMIDX): Removed.
11821 * elf/dl-version.c (VERSYMIDX): Likewise.
11822 * elf/do-rel.h (VERSYMIDX): Likewise.
11823 (VALIDX): Likewise.
11824 * elf/dynamic-link.h (VERSYMIDX): Likewise.
11825 * elf/rtld.c (VALIDX): Likewise.
11826 (ADDRIDX): Likewise.
9bac1d86
L
11827 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
11828 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
11829 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
11830 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
11831 (VALIDX): Likewise.
11832 (ADDRIDX): Likewise.
9bac1d86 11833
b31606c0
PT
118342012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11835
11836 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
11837
11541177
JL
118382012-09-28 Dmitry V. Levin <ldv@altlinux.org>
11839
11840 [BZ #11438]
11841 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
11842 to global scope.
11843 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
11844 addresses are in the same scope as 192.0.2/24.
11845 * posix/gai.conf: Document new scope table defaults.
11846
adb26fae
SP
118472012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11848
11849 [BZ #5298]
11850 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
11851 for ftell. Compute offsets from write pointers instead.
11852 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11853
4573c6b0
SP
118542012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11855
11856 [BZ #14543]
11857 * libio/Makefile (tests): New test case tst-fseek.
11858 * libio/tst-fseek.c: New test case to verify that fseek/ftell
11859 combination works in wide mode.
11860 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
11861 state when the external buffer state changes.
11862
aa9bbfe6
DM
118632012-09-27 David S. Miller <davem@davemloft.net>
11864
11865 [BZ #14376]
11866 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
11867 pass reloc->r_addend in as the 'high' argument to
11868 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
11869
784421e7
DM
11870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11871
c39bc8b8
PT
118722012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11873
11874 * rt/tst-aio2.c: Include <pthread.h>.
11875 * rt/tst-aio3.c: Likewise.
11876
1ccc2399
SE
118772012-09-27 Steve Ellcey <sellcey@mips.com>
11878
11879 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
11880
31ed4153
L
118812012-09-27 H.J. Lu <hongjiu.lu@intel.com>
11882
25f5f885
L
11883 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
11884 contents on [SHARED].
31ed4153 11885
b7bfe116
MP
118862012-09-26 Marek Polacek <polacek@redhat.com>
11887
11888 [BZ #14530]
11889 [BZ #13741]
11890 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
11891 for C++ and GCC <4.3 as well as for non GCC compilers.
11892
43c4edba
MT
118932012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11894
11895 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11896
6a1bf82f
RM
118972012-09-25 Roland McGrath <roland@hack.frob.com>
11898
11899 * Makefile.in (all, install): Declare with .PHONY.
11900 Reported by Michael Hope <michael.hope@linaro.org>.
11901
8ad11b9a
TMQMF
119022012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11903
11904 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
11905 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
11906 system header.
11907 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
11908 Likewise.
11909 (sydep_routines): Add the new and the internal functions.
11910 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
11911 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
11912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
11913 (GLIBC_2.17): Add the new function.
11914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11915 (GLIBC_2.17): Likewise.
11916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
11917 (GLIBC_2.17): Likewise.
11918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
11919 (GLIBC_2.17): Likewise.
11920 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
11921
7e2fca8d
AM
119222012-09-25 Alan Modra <amodra@gmail.com>
11923
11924 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
11925 Add release barrier before setting once_control to say
11926 initialisation is done. Add hints on lwarx. Use macro in
11927 place of isync.
11928 (clear_once_control): Add release barrier.
11929
b87c4b24
JM
119302012-09-25 Joseph Myers <joseph@codesourcery.com>
11931
d032e0d2
JM
11932 [BZ #13629]
11933 * math/s_clog.c (__clog): Handle more values close to |z| = 1
11934 specially.
11935 * math/s_clog10.c (__clog10): Likewise.
11936 * math/s_clog10f.c (__clog10f): Likewise.
11937 * math/s_clog10l.c (__clog10l): Likewise.
11938 * math/s_clogf.c (__clogf): Likewise.
11939 * math/s_clogl.c (__clogl): Likewise.
11940 * math/Makefile (libm-calls): Add x2y2m1.
11941 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
11942 (__x2y2m1): Likewise.
11943 (__x2y2m1l): Likewise.
11944 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
11945 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
11946 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11947 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11948 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11949 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11950 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
11951 * sysdeps/i386/fpu/libm-test-ulps: Update.
11952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11953
b87c4b24
JM
11954 [BZ #14621]
11955 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
11956 int as type of variable DEPTH.
11957 (glob): Use size_t instead of int as type of variables NEWCOUNT
11958 and OLD_PATHC.
11959
6d3bf199
LD
119602012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11961
22bf5c17
LD
11962 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11963 Add s_sincosf-sse2.
11964 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
11965 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
11966 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
11967 macros for using routine as __sincosf_ia32.
11968 Use macro for function declaration and weak_alias.
11969 * sysdeps/i386/fpu/libm-test-ulps: Update.
11970
11971 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
11972 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11973
11974 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
11975 subnormal argument.
11976 * math/s_cexpf.c (__cexpf): Likewise.
11977 * math/s_csinf.c (__csinf): Likewise.
11978 * math/s_csinhf.c (__csinhf): Likewise.
11979 * math/s_ctanf.c (__ctanf): Likewise.
11980 * math/s_ctanhf.c (__ctanhf): Likewise.
11981 * math/s_ccosh.c (__ccoshf): Likewise.
11982 * math/s_cexp.c (__cexpl): Likewise.
11983 * math/s_csin.c (__csin): Likewise.
11984 * math/s_csinh.c (__csinh): Likewise.
11985 * math/s_ctan.c (__ctan): Likewise.
11986 * math/s_ctanh.c (ctanh): Likewise.
11987 * math/s_ccoshl.c (__ccoshl): Likewise.
11988 * math/s_cexpl.c (__cexpl): Likewise.
11989 * math/s_csinl.c (__csinl): Likewise.
11990 * math/s_csinhl.c (__csinhl): Likewise.
11991 * math/s_ctanl.c (__ctanl): Likewise.
11992 * math/s_ctanhl.c (__ctanhl): Likewise.
11993
203e5603
JM
119942012-09-25 Joseph Myers <joseph@codesourcery.com>
11995
11996 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
11997 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
11998 (_IO_off_t): Define to __off_t, not _G_off_t.
11999 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12000 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12001 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12002 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12003 type of __dummy and __dummy2 fields.
12004 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12005 (_G_ssize_t): Likewise.
12006 (_G_off_t): Likewise.
12007 (_G_pid_t): Likewise.
12008 (_G_uid_t): Likewise.
12009 (_G_wchar_t): Likewise.
12010 (_G_wint_t): Likewise.
12011 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12012 (_G_ssize_t): Likewise.
12013 (_G_off_t): Likewise.
12014 (_G_pid_t): Likewise.
12015 (_G_uid_t): Likewise.
12016 (_G_wchar_t): Likewise.
12017 (_G_wint_t): Likewise.
12018 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12019 (_G_ssize_t): Likewise.
12020 (_G_off_t): Likewise.
12021 (_G_pid_t): Likewise.
12022 (_G_uid_t): Likewise.
12023 (_G_wchar_t): Likewise.
12024 (_G_wint_t): Likewise.
12025
9fab36eb
SP
120262012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12027
12028 * malloc/arena.c: Include malloc-sysdep.h.
12029 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12030 is sufficient to shrink the heap or an unmap is needed.
12031 * sysdeps/generic/malloc-sysdep.h: New file. Define
12032 new function check_may_shrink_heap.
12033 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12034 new function check_may_shrink_heap.
12035
2b4f00d1
SP
120362012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12037
12038 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12039 comments.
12040
9a9028b1
DL
120412012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12042
57c69bef
DL
12043 * catgets/test-gencat.sh: Add "set -e".
12044 * elf/tst-pathopt.sh: Likewise.
12045 * grp/tst_fgetgrent.sh: Likewise.
12046 * iconvdata/run-iconv-test.sh: Likewise.
12047 * intl/tst-gettext.sh: Likewise.
12048 * intl/tst-gettext2.sh: Likewise.
12049 * intl/tst-gettext4.sh: Likewise.
12050 * intl/tst-gettext6.sh: Likewise.
12051 * intl/tst-translit.sh: Likewise.
12052 * io/ftwtest-sh: Likewise.
12053 * libio/test-freopen.sh: Likewise.
12054 * malloc/tst-mtrace.sh: Likewise.
12055 * posix/globtest.sh: Likewise.
12056 * posix/tst-getconf.sh: Likewise.
12057 * posix/wordexp-tst.sh: Likewise.
12058 * stdio-common/tst-printf.sh: Likewise.
12059 * stdio-common/tst-unbputc.sh: Likewise.
12060 * stdlib/tst-fmtmsg.sh: Likewise.
12061 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12062 * catgets/Makefile: Do not specify -e option when running
12063 testsuite shell scripts.
12064 * elf/Makefile: Likewise.
12065 * grp/Makefile: Likewise.
12066 * iconvdata/Makefile: Likewise.
12067 * intl/Makefile: Likewise.
12068 * io/Makefile: Likewise.
12069 * libio/Makefile: Likewise.
12070 * malloc/Makefile: Likewise.
12071 * posix/Makefile: Likewise.
12072 * stdio-common/Makefile: Likewise.
12073 * stdlib/Makefile: Likewise.
12074 * sysdeps/x86_64/Makefile: Likewise.
12075
9a9028b1
DL
12076 * io/ftwtest-sh: Add copyright header.
12077 * posix/globtest.sh: Likewise.
12078 * posix/tst-getconf.sh: Likewise.
12079 * posix/wordexp-tst.sh: Likewise.
12080 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12081
ced6f16e
L
120822012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12083
94b32c39
L
12084 [BZ #13679]
12085 * Makeconfig (+link): Defined as $(+link-static) if
12086 $(build-shared) isn't yes.
12087 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12088 isn't yes.
12089 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12090
189e935b
L
12091 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12092
ced6f16e
L
12093 [BZ #14562]
12094 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12095 new chunk size with MALLOC_ALIGN_MASK.
12096
a9f8e53a
JM
120972012-09-24 Joseph Myers <joseph@codesourcery.com>
12098
12099 [BZ #5044]
12100 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12101 <rounding-mode.h>.
12102 (__printf_fphex): Determine rounding using get_rounding_mode and
12103 round_away.
12104 * stdio-common/tst-printf-round.c (struct hex_test): New
12105 structure.
12106 (hex_tests): New variable.
12107 (test_hex_in_one_mode): New function.
12108 (do_test): Also run tests for hex float output.
12109
43153109
JM
121102012-09-21 Joseph Myers <joseph@codesourcery.com>
12111
12112 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12113 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12114 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12115 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12116 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12117 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12118 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12119 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12120
8a26625d
JM
121212012-09-20 Joseph Myers <joseph@codesourcery.com>
12122
12123 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12124 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12125 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12126 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12127
f3fd569c
DL
121282012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12129
12130 [BZ #14579]
12131 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12132 mode only.
12133 * elf/tst-rtld-load-self.sh: New test.
12134 * elf/Makefile: Run it.
12135
63bbedd4
JM
121362012-09-18 Joseph Myers <joseph@codesourcery.com>
12137
12138 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12139 (tst-writev-ENV): Remove.
12140 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12141
626f8b6a
CM
121422012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12143
12144 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12145
b7aaa4d6
JM
121462012-09-17 Joseph Myers <joseph@codesourcery.com>
12147
12148 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12149 unconditional.
12150 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12151 Likewise.
12152 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12153 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12154 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12155 Likewise.
12156
65513990
L
121572012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12158
12159 [BZ #14587]
12160 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12161 * config.make.in (have-cpp-asm-debuginfo): Removed.
12162 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12163 * configure: Regenerated.
12164
784761be
JM
121652012-09-14 Joseph Myers <joseph@codesourcery.com>
12166
12167 [BZ #5044]
12168 * stdio-common/printf_fp.c: Include <stdbool.h> and
12169 <rounding-mode.h>.
12170 (___printf_fp): Determine rounding using get_rounding_mode and
12171 round_away.
12172 * stdio-common/tst-printf-round.c: New file.
12173 * stdio-common/Makefile (tests): Add tst-printf-round.
12174 (link-libm): New variable.
12175 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12176
9503345f
L
121772012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12178
12179 [BZ #14576]
12180 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12181 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12182 Likewise.
12183 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12184 Likewise.
12185
ad35fc00
JM
121862012-09-13 Joseph Myers <joseph@codesourcery.com>
12187
12188 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12189 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12190 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12191 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12192
6c9b0f68
JM
121932012-09-12 Joseph Myers <joseph@codesourcery.com>
12194
12195 [BZ #14518]
12196 * include/rounding-mode.h: New file.
12197 * sysdeps/generic/get-rounding-mode.h: Likewise.
12198 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12199 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12200 (MAX_VALUE): New macro.
12201 (MIN_VALUE): Likewise.
12202 (overflow_value): New function.
12203 (underflow_value): Likewise.
12204 (round_and_return): Use overflow_value and underflow_value to
12205 determine return values in overflow and underflow cases. Use
12206 round_away to determine rounding depending on rounding mode.
12207 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12208 determine return values in overflow and underflow cases.
12209 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12210 (struct test_results): New structure.
12211 (struct test): Use struct test_results to store expected results
12212 for all rounding modes.
12213 (TEST): Include expected results for all rounding modes.
12214 (test_in_one_mode): New function.
12215 (do_test): Use test_in_one_mode to compute and check results.
12216 Check results for all rounding modes.
12217 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12218 $(link-libm).
12219
19fcedd5
AM
122202012-12-09 Allan McRae <allan@archlinux.org>
12221
1e9d84cd 12222 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 12223
8bbfd2f1
JM
122242012-09-11 Joseph Myers <joseph@codesourcery.com>
12225
12226 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12227 (_G_int32_t): Likewise.
12228 (_G_uint16_t): Likewise.
12229 (_G_uint32_t): Likewise.
12230 (_G_HAVE_BOOL): Likewise.
12231 (_G_HAVE_ATEXIT): Likewise.
12232 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12233 (_G_HAVE_IO_FILE_OPEN): Likewise.
12234 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12235 (_G_int32_t): Likewise.
12236 (_G_uint16_t): Likewise.
12237 (_G_uint32_t): Likewise.
12238 (_G_HAVE_BOOL): Likewise.
12239 (_G_HAVE_ATEXIT): Likewise.
12240 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12241 (_G_HAVE_IO_FILE_OPEN): Likewise.
12242 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12243 (_G_int32_t): Likewise.
12244 (_G_uint16_t): Likewise.
12245 (_G_uint32_t): Likewise.
12246 (_G_HAVE_BOOL): Likewise.
12247 (_G_HAVE_ATEXIT): Likewise.
12248 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12249 (_G_HAVE_IO_FILE_OPEN): Likewise.
12250
b1dc5912
L
122512012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12252
12253 * csu/libc-tls.c: Update copyright years.
12254
0e886ef9
JM
122552012-09-10 Joseph Myers <joseph@codesourcery.com>
12256
28361c5e
JM
12257 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12258 [!_G_USING_THUNKS]: Remove conditional code.
12259 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12260 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12261
0e886ef9
JM
12262 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12263 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12264 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12265 (_G_VTABLE_LABEL_PREFIX): Likewise.
12266 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12267 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12268 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12269 (_G_VTABLE_LABEL_PREFIX): Likewise.
12270 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12271 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12272 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12273 (_G_VTABLE_LABEL_PREFIX): Likewise.
12274 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12275
bcba7aa2
L
122762012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12277
12278 * libio/Makefile: Include ../Makeconfig before tests.
12279 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12280 only if $(build-shared) is yes.
12281
06585ee8
L
12282 * iconv/gconv_db.c: Update copyright years.
12283
80ccd52c
LD
122842012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12285
12286 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12287 unwind info if defined PIC. Fix special cases description.
12288 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12289
12290 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12291 DP_HI_MASK entry.
12292 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12293
691bc9c1
L
122942012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12295
3d9b46b3
L
12296 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12297
de2139a9
L
12298 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12299 is NULL.
12300
5ca78dd0
L
12301 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12302 (LDLIBS-tst-chk4): This.
12303 (LDFLAGS-tst-chk5): Renamed to ...
12304 (LDLIBS-tst-chk5): This.
12305 (LDFLAGS-tst-chk6): Renamed to ...
12306 (LDLIBS-tst-chk6): This.
12307 (LDFLAGS-tst-lfschk4): Renamed to ...
12308 (LDLIBS-tst-lfschk4): This.
12309 (LDFLAGS-tst-lfschk5): Renamed to ...
12310 (LDLIBS-tst-lfschk5): This.
12311 (LDFLAGS-tst-lfschk6): Renamed to ...
12312 (LDLIBS-tst-lfschk6): This.
12313
691bc9c1
L
12314 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12315 on $(common-objpfx)soversions.mk.
12316
65cafb1c
JM
123172012-09-07 Joseph Myers <joseph@codesourcery.com>
12318
12319 [BZ #10014]
12320 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12321 example host name.
12322
c78ab094
SP
123232012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12324
12325 * malloc/arena.c (arena_get_retry): New function that gets
12326 another arena for the caller to try its request on.
12327 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12328 current arena cannot fulfill the request.
12329 (__libc_memalign): Likewise.
12330 (__libc_memalign): Likewise.
12331 (__libc_pvalloc): Likewise.
12332 (__libc_calloc): Likewise.
12333
01f49f59
JT
123342012-09-05 John Tobey <john.tobey@gmail.com>
12335
12336 [BZ #13542]
12337 * manual/arith.texi (Operations on Complex): Fix description
12338 of carg branch cut.
12339
4c23fed5
JM
123402012-09-06 Joseph Myers <joseph@codesourcery.com>
12341
1d3c8572
JM
12342 [BZ #10014]
12343 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12344 host name.
12345
4c23fed5
JM
12346 [BZ #10038]
12347 * manual/memory.texi (Memory): Make order of menu items match
12348 order of sections.
12349
04570aaa
L
123502012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12351
12352 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12353 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12354 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12355
b80af2f4
L
123562012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12357
12358 * csu/libc-tls.c (static_dtv): Renamed to ...
12359 (_dl_static_dtv): This. Make it global.
12360 (_dl_initial_dtv): Removed.
12361 (__libc_setup_tls): Updated.
12362 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12363 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12364 DL_INITIAL_DTV.
12365
2abe9f15
PM
123662012-09-06 Petr Machata <pmachata@redhat.com>
12367
12368 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12369 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12370 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12371 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12372
0948c3af
L
123732012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12374
12375 [BZ #14545]
12376 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12377 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12378 freeing dtv[-1].
12379
a5055ad1
L
123802012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12381
12382 [BZ #14544]
12383 * Makeconfig (link-static-before-libc): Replace $(+prector)
12384 with $(+prectorT).
12385 (link-static-after-libc): Replace $(+postctor) with
12386 $(+postctorT).
12387 (link-bounded): Replace $(+prector)/$(+postctor) with
12388 $(+prectorT)/$(+postctorT).
12389 (+prectorT): New macro.
12390 (+postctorT): Likewise.
12391
ed8c2ecd
JM
123922012-09-06 Joseph Myers <joseph@codesourcery.com>
12393
12394 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12395 (round_str): Handle values above the maximum for IBM long double
12396 as inexact.
12397 * stdlib/tst-strtod-round.c (tests): Regenerated.
12398
14c996c8
AK
123992012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12400
12401 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12402 assembler flag.
12403 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12404 zarch_nohighgprs around the zarch optimized routines.
12405 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12406 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12407 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12408 for zarch.
12409
430d6ce6
DM
124102012-09-05 David S. Miller <davem@davemloft.net>
12411
12412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12413
ff04dda4
DM
12414 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12415 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12416 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12417 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12418 entries.
12419
24d4e01b
AO
124202012-09-05 Alexandre Oliva <aoliva@redhat.com>
12421
12422 * malloc/arena.c: Fold copyright years.
12423 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12424
61d58174
AO
124252012-09-05 Alexandre Oliva <aoliva@redhat.com>
12426
12427 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12428
20196a5e
AO
124292012-09-05 Alexandre Oliva <aoliva@redhat.com>
12430
12431 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12432
5c447383
AO
124332012-09-05 Alexandre Oliva <aoliva@redhat.com>
12434
12435 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12436 change internal state upon failure.
12437
fad64255
AO
124382012-09-05 Alexandre Oliva <aoliva@redhat.com>
12439
12440 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12441 * malloc/memusage.c (mmap): Likewise.
12442 (mmap64, mremap): Likewise. Adjust name in comment.
12443
1ffb8c90
SP
124442012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12445
12446 * libio/fileops.c: Fix typos in comments.
12447 * libio/oldfileops.c: Likewise.
12448 * libio/wfileops.c: Likewise.
12449
6ef9cc37
SP
124502012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12451
12452 [BZ #1349]
12453 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12454 (tst-malloc-usable-ENV): Set environment for test case.
12455 * malloc/hooks.c (malloc_check_get_size): New function to get
12456 requested size.
12457 * malloc/malloc.c (musable): Use malloc_check_get_size.
12458 * malloc/tst-malloc-usable.c: New test case.
12459
4d038ae3
AS
124602012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12461
12462 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12463
c4e85184
AM
124642012-09-05 Allan McRae <allan@archlinux.org>
12465
b9dafc56 12466 [BZ #13966]
c4e85184
AM
12467 * configure.in (CXX_SYSINCLUDES): Use compiler output to
12468 determine header location.
12469 * configure: Regenerated.
12470
e1343020
AS
124712012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12472
12473 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12474 float format.
12475 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
12476 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12477 format.
e1343020
AS
12478 (test): Regenerate.
12479
0a9f1987
DM
124802012-09-04 David S. Miller <davem@davemloft.net>
12481
12482 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12483 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12484 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12485
29237804
FW
124862012-09-04 Florian Weimer <fweimer@redhat.com>
12487
12488 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12489 failures.
12490
edb3cb88
FW
12491 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12492
60160d83
JM
124932012-09-04 Joseph Myers <joseph@codesourcery.com>
12494
12495 [BZ #9914]
12496 * libio/iogetdelim.c: Include <limits.h>.
12497 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12498 + len + 1 would overflow.
12499
bcd6c8dc
AJ
125002012-09-03 Andreas Jaeger <aj@suse.de>
12501
12502 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12503 * sysdeps/i386/fpu/libm-test-ulps: Update.
12504
4ffffbd2
LD
125052012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12506
12507 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12508 Add s_sinf-sse2, s_conf-sse2.
12509
12510 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12511 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12512 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12513 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12514
12515 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12516 for using routine as __sinf_ia32.
12517 Use macro for function declaration and weak_alias.
12518 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12519 for using routine as __cosf_ia32.
12520 Use macro for function declaration and weak_alias.
12521
12522 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12523 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12524
12525 * sysdeps/x86_64/fpu/s_sinf.S: New file.
12526 * sysdeps/x86_64/fpu/s_cosf.S: New file.
12527 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12528
12529 * math/libm-test.inc (cos_test): Add more test cases.
12530 (sin_test): Likewise.
12531 (sincos_test): Likewise.
12532
511fa286
AK
125332012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12534
12535 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12536 (IFUNC_RESOLVE): Make pointers to the specialized implementations
12537 hidden.
12538 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12539
5f30cfec
L
125402012-09-02 H.J. Lu <hongjiu.lu@intel.com>
12541
12542 [BZ #14538]
12543 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12544 first element of the GOT.
12545 (elf_machine_load_address): Return the difference between
12546 the runtime address of _DYNAMIC and elf_machine_dynamic ().
12547
0786794f
AM
125482012-09-01 Allan McRae <allan@archlinux.org>
12549
5f30cfec
L
12550 [BZ #13412]
12551 * configure.in (AWK): Require gawk version 3.0 or later.
12552 * configure: Regenerated.
0786794f 12553
26889eac
JM
125542012-09-01 Joseph Myers <joseph@codesourcery.com>
12555
12556 * sysdeps/unix/sysv/linux/kernel-features.h
12557 (__ASSUME_POSIX_CPU_TIMERS): Remove.
12558 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12559 [__NR_clock_getres]: Make code unconditional.
12560 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12561 (clock_getcpuclockid): Remove code left unreachable by removal of
12562 conditionals.
12563 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12564 code unconditional.
12565 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12566 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12567 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12568 Make code unconditional.
12569 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12570 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12571 * sysdeps/unix/sysv/linux/clock_settime.c
12572 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12573 conditional code.
12574 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12575 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12576
d22e28b0
L
125772012-08-29 H.J. Lu <hongjiu.lu@intel.com>
12578
12579 [BZ #14476]
12580 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12581 scripts/test-installation.pl.
12582
12583 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12584 and $ld_so_version if it is set.
12585
050af9c4
SP
125862012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12587
12588 [BZ #14516]
12589 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12590 failure if reading from procfs failed.
12591 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12592
ad845c0b
JM
125932012-08-27 Joseph Myers <joseph@codesourcery.com>
12594
12595 * sysdeps/unix/sysv/linux/kernel-features.h
12596 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12597 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12598 Remove conditional code.
12599 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12600 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12601 Remove conditional code.
12602 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12603 * sysdeps/unix/sysv/linux/i386/fxstat.c
12604 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12605 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12606 * sysdeps/unix/sysv/linux/i386/fxstatat.c
12607 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12608 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12609 * sysdeps/unix/sysv/linux/i386/lxstat.c
12610 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12611 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12612 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12613 Remove conditional code.
12614 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12615 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12616 Remove conditional code.
12617 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12618 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12619 <kernel-features.h>.
12620 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12621 Remove.
12622 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12623 Remove conditional code.
12624 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12625 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12626 Remove conditional.
12627
5dbf56af
MF
126282012-08-27 Mike Frysinger <vapier@gentoo.org>
12629
12630 [BZ #5400]
12631 * NEWS: Add fixed bug number.
12632
d6e70f43
JM
126332012-08-27 Joseph Myers <joseph@codesourcery.com>
12634
7efb4737
JM
12635 [BZ #14519]
12636 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12637 underflowing exponent in case of negative sign.
12638 * stdlib/tst-strtod-round-data: Add more tests.
12639 * stdlib/tst-strtod-round.c (tests): Regenerated.
12640
af92131a
JM
12641 [BZ #3479]
12642 * stdlib/strtod_l.c (NDIG): Remove.
12643 (HEXNDIG): Likewise.
12644 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12645 smallest representable value.
12646 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12647 lie within an exact representation of 1/2 ulp of the result.
12648 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12649 unconditionally.
12650 (TENS_P9_IDX): Define unconditionally.
12651 (TENS_P9_SIZE): Likewise.
12652 (TENS_P10_IDX): Likewise.
12653 (TENS_P10_SIZE): Likewise.
12654 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12655 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12656 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12657 entries for 10^2^13 and 10^2^14.
12658 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12659 (TENS_P13_IDX): Define.
12660 (TENS_P13_SIZE): Likewise.
12661 (TENS_P14_IDX): Likewise.
12662 (TENS_P14_SIZE): Likewise.
12663 (_fpioconst_pow10): Change array size to
12664 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
12665 unconditional.
12666 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12667 1024]: Add entries for 10^2^13 and 10^2^14.
12668 [LAST_POW10 > _LAST_POW10]: Remove #error.
12669 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12670 (_fpioconst_pow10): Change array size to
12671 FPIOCONST_POW10_ARRAY_SIZE.
12672 * stdlib/gen-fpioconst.c: New file.
12673 * stdlib/gen-tst-strtod-round.c: Likewise.
12674 * stdlib/tst-strtod-round-data: Likewise.
12675 * stdlib/tst-strtod-round.c: Likewise.
12676 * stdlib/Makefile (tests): Add tst-strtod-round.
12677
d6e70f43
JM
12678 [BZ #14459]
12679 * stdlib/strtod_l.c: Include <stdint.h>.
12680 (NDEBUG): Do not define.
12681 (round_and_return): Change EXPONENT parameter to type intmax_t.
12682 Rearrange calculations to avoid internal overflow possibilities.
12683 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12684 Rearrange calculations to avoid internal overflow possibilities.
12685 Assert that number fits inside MPNSIZE limbs.
12686 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12687 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
12688 calculations and add assertions to avoid internal overflow
12689 possibilities. Add casts to avoid signed/unsigned operations.
12690 * stdlib/tst-strtod-overflow.c: New file.
12691 * stdlib/Makefile (tests): Add tst-strtod-overflow.
12692
1f529f7d
MP
126932012-08-25 Marek Polacek <polacek@redhat.com>
12694
12695 * time/time.h: Fix some typos in comments.
12696
59a629f1
RM
126972012-08-23 Roland McGrath <roland@hack.frob.com>
12698
12699 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12700 * posix/tst-rfc3484-2.c: Likewise.
12701 * posix/tst-rfc3484-3.c: Likewise.
12702
d3bafbc9
SM
127032012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
12704
12705 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12706 (EF_ARM_ABI_FLOAT_HARD): Likewise.
12707
4efcc022
JM
127082012-08-23 Joseph Myers <joseph@codesourcery.com>
12709
12710 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12711 #include of fxstatat64.c.
12712
3cc3ef96
RM
127132012-08-22 Roland McGrath <roland@hack.frob.com>
12714
f04e2132
RM
12715 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12716 * shadow/getspent_r.c: Likewise.
12717 * shadow/getspnam.c: Likewise.
12718 * shadow/getspnam_r.c: Likewise.
12719 * gshadow/getsgent.c: Likewise.
12720 * gshadow/getsgent_r.c: Likewise.
12721 * gshadow/getsgnam.c: Likewise.
12722 * gshadow/getsgnam_r.c: Likewise.
12723 * inet/getnetbyad.c: Likewise.
12724 * inet/getnetbyad_r.c: Likewise.
12725 * inet/getnetbynm.c: Likewise.
12726 * inet/getnetbynm_r.c: Likewise.
12727 * inet/getnetent.c: Likewise.
12728 * inet/getnetent_r.c: Likewise.
12729 * inet/getproto.c: Likewise.
12730 * inet/getproto_r.c: Likewise.
12731 * inet/getprtent.c: Likewise.
12732 * inet/getprtent_r.c: Likewise.
12733 * inet/getprtname.c: Likewise.
12734 * inet/getprtname_r.c: Likewise.
12735 * inet/getrpcbyname.c: Likewise.
12736 * inet/getrpcbyname_r.c: Likewise.
12737 * inet/getrpcbynumber.c: Likewise.
12738 * inet/getrpcbynumber_r.c: Likewise.
12739 * inet/getrpcent.c: Likewise.
12740 * inet/getrpcent_r.c: Likewise.
12741 * inet/getaliasent.c: Likewise.
12742 * inet/getaliasent_r.c: Likewise.
12743 * inet/getaliasname.c: Likewise.
12744 * inet/getaliasname_r.c: Likewise.
12745 * nscd/getgrgid_r.c: Likewise.
12746 * nscd/getgrnam_r.c: Likewise.
12747 * nscd/gethstbyad_r.c: Likewise.
12748 * nscd/gethstbynm3_r.c: Likewise.
12749 * nscd/getpwnam_r.c: Likewise.
12750 * nscd/getpwuid_r.c: Likewise.
12751 * nscd/getsrvbynm_r.c: Likewise.
12752 * nscd/getsrvbypt_r.c: Likewise.
12753 * nscd/gai.c: Likewise.
12754
c53d909c
RM
12755 * configure.in (build_nscd): New substituted variable, set
12756 by --disable-build-nscd and defaults to $use_nscd.
12757 * configure: Regenerated.
12758 * config.make.in (build-nscd): New substituted variable.
12759 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
12760 Change conditional to require [$(build-nscd) = yes] as well.
12761 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
12762
3cc3ef96
RM
12763 [BZ# 13696]
12764 * configure.in (use_nscd): New substituted variable, set by
12765 --disable-nscd. If enabled, define USE_NSCD.
12766 * configure: Regenerated.
12767 * config.h.in: Add USE_NSCD.
12768 * config.make.in (use-nscd): New substituted variable.
12769 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
12770 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
12771 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
12772 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
12773 (CFLAGS-getgrnam_r.c): Likewise.
12774 (CFLAGS-initgroups.c): Likewise.
12775 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
12776 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
12777 Variables removed.
12778 * inet/getnetgrent_r.c
12779 (nscd_setnetgrent): New function, broken out of ...
12780 (setnetgrent): ... here. Call it.
12781 (innetgr): Conditionalize nscd bits on [USE_NSCD].
12782 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
12783 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
12784 * nscd/Makefile (routines, aux): Move definitions after include of
12785 Makeconfig. Conditionalize on [$(use-nscd) != no].
12786 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
12787 Conditionalize on [USE_NSCD].
12788 (is_nscd, nscd_init_cb): Likewise.
12789 (nss_load_library): Conditionalize init callback on [USE_NSCD].
12790 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
12791 * nss/nss_db/db-init.c: Likewise.
12792 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
12793 [USE_NSCD].
12794 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
12795 (make_request): Use it.
12796 (cache_valid_p): New function.
12797 (__check_pf): Use it.
12798 * NEWS: Add item for --disable-nscd.
12799
07e51550
DL
128002012-08-22 Dmitry V. Levin <ldv@altlinux.org>
12801
12802 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
12803 to support sed >= 4.2.1-20-ga9bf076.
12804 * configure: Regenerated.
12805
35a5b08b
RM
128062012-08-22 Roland McGrath <roland@hack.frob.com>
12807
12808 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
12809 Conditionalize whole body on [IREL].
12810
8479f23a
JL
128112012-08-22 Jeff Law <law@redhat.com>
12812
12813 [BZ #14505]
12814 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
12815 if the family is PF_UNSPEC.
12816
48da0b21
MF
128172012-08-22 Mike Frysinger <vapier@gentoo.org>
12818
12819 * Makerules (lib-version): Rename from V.
12820 (install-lib-nosubdir): Change V to lib-version.
12821
15d0da8c
WS
128222012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
12823
12824 [BZ #14252]
12825 * powerpc32/power6/wcschr.c: New file.
12826 * powerpc32/power6/wcscpy.c: New file.
12827 * powerpc32/power6/wcsrchr.c: New file.
12828 * powerpc64/power6/wcschr.c: New file.
12829 * powerpc64/power6/wcscpy.c: New file.
12830 * powerpc64/power6/wcsrchr.c: New file.
12831
bcca0895
MK
128322012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12833
12834 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
12835 (two_way_short_needle): Use it.
5a4aaa33
RM
12836 * string/strstr.c (AVAILABLE1_USES_J): Define.
12837 * string/strcasestr.c: Likewise.
99677e57
MK
12838
12839 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
12840 array references.
12841 * string/strcasestr.c (TOLOWER): Make side-effect safe.
12842
400726de
MK
12843 [BZ #11607]
12844 * NEWS: Add an entry.
12845 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
12846 define their defaults.
12847 (two_way_short_needle): Detect end-of-string on-the-fly.
12848 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
12849 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
12850 * string/bug-strcasestr1.c: New test.
12851 * string/Makefile: Run it.
12852
20a71f2c
MK
128532012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12854
12855 [BZ #11607]
12856 * string/str-two-way.h (two_way_short_needle): Optimize matching of
12857 the first character.
12858
21ad0558
RM
128592012-08-21 Roland McGrath <roland@hack.frob.com>
12860
12861 * csu/elf-init.c (__libc_csu_irel): Function removed.
12862 * csu/libc-start.c (apply_irel): New function.
12863 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
12864
0e1d9911
JM
128652012-08-21 Joseph Myers <joseph@codesourcery.com>
12866
12867 * sysdeps/unix/sysv/linux/kernel-features.h
12868 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
12869 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12870 <kernel-features.h>.
12871 [__NR_fadvise64_64]: Make code unconditional.
12872 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
12873 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12874 !__NR_fadvise64_64)]: Likewise.
12875 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12876 !__NR_fadvise64_64))]: Likewise.
12877 [__NR_fadvise64]: Make code unconditional.
12878 [!__NR_fadvise64]: Remove conditional code.
12879 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
12880 <kernel-features.h>.
12881 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12882 unconditional.
12883 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12884 conditional code.
12885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
12886 not include <kernel-features.h>.
12887 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12888 unconditional.
12889 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12890 conditional code.
12891 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
12892 include <kernel-features.h>.
12893 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12894 unconditional.
12895 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12896 conditional code.
12897
14a50c9d
WS
128982012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12899
12900 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
12901 slight instruction rearrangements per scrollpipe analysis.
12902 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12903
c0f4faf0
RM
129042012-08-20 Roland McGrath <roland@hack.frob.com>
12905
696da859
RM
12906 * manual/syslog.texi (syslog; vsyslog, closelog):
12907 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
12908 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
12909
c0f4faf0
RM
12910 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
12911 DSOCAPS to match condition on defining it.
12912
348363b2
JM
129132012-08-20 Joseph Myers <joseph@codesourcery.com>
12914
a35cbf28
JM
12915 * sysdeps/unix/sysv/linux/kernel-features.h
12916 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
12917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
12918 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12919 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
12921 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12922 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
12924 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12925 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12926
445f7ecd
JM
12927 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
12928 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
12929
348363b2
JM
12930 * sysdeps/unix/sysv/linux/kernel-features.h
12931 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
12932 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
12933 unconditional.
12934 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12935 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
12936 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12937 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12938 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
12939 Make code unconditional.
12940 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12941 (__mmap64) [!__NR_mmap2]: Likewise.
12942 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
12943 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12944 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12945 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
12946 [__NR_mmap2]: Make code unconditional.
12947 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12948 (__mmap64) [!__NR_mmap2]: Likewise.
12949
bc5bc0e5
AK
129502012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12951
12952 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
12953
88d506de
AJ
129542012-08-18 Andreas Jaeger <aj@suse.de>
12955
12956 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
12957
493387d2
MF
129582012-08-18 Mike Frysinger <vapier@gentoo.org>
12959
12960 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
12961 * include/unistd.h (__have_sock_cloexec): Likewise.
12962 (__have_pipe2): Likewise.
12963 (__have_dup3): Likewise.
12964
a277af22
MF
129652012-08-18 Mike Frysinger <vapier@gentoo.org>
12966
12967 [BZ #9685]
12968 * include/unistd.h (__have_pipe2): Change define into an extern int.
12969 (__have_dup3): Likewise.
12970 * socket/have_sock_cloexec.c: Include fcntl.h.
12971 (__have_pipe2): New variable.
12972 (__have_dup3): Likewise.
12973
fdab8fd3
MF
129742012-08-17 Mike Frysinger <vapier@gentoo.org>
12975
12976 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
12977
31035e80
MP
129782012-08-17 Marek Polacek <polacek@redhat.com>
12979
12980 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
12981 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
12982
3bd9e993
RM
129832012-08-17 Roland McGrath <roland@hack.frob.com>
12984
c91c505f
RM
12985 * configure.in: Add AC_SUBST for sysheaders.
12986 * configure: Regenerated.
12987 * config.make.in (sysheaders): New substituted variable.
12988
7c6f9d53
RM
12989 * sysdeps/unix/mkfifo.c: Moved ...
12990 * sysdeps/posix/mkfifo.c: ... here.
12991 * sysdeps/unix/mkfifoat.c: Moved ...
12992 * sysdeps/posix/mkfifoat.c: ... here.
12993
12994 * sysdeps/unix/utime.c: Moved ...
12995 * sysdeps/posix/utime.c: ... here.
12996
12997 * sysdeps/unix/time.c: Moved ...
12998 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
12999 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13000 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13001
13002 * sysdeps/unix/nice.c: Moved ...
13003 * sysdeps/posix/nice.c: ... here.
13004
13005 * sysdeps/unix/alarm.c: Moved ...
13006 * sysdeps/posix/alarm.c: ... here.
13007
3bd9e993
RM
13008 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13009
d1f09384
JL
130102012-08-17 Jeff Law <law@redhat.com>
13011
13012 * intl/Makefile (codeset_mo): New variable.
13013 ($(codeset_mo)): New target.
13014 (tst-codeset.out): Depend on that. Remove explicit rule.
13015 (tst-gettext3.out, tst-gettext5.out): Likewise.
13016 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13017 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13018 * intl/tst-codeset.sh: Remove.
13019 * intl/tst-gettext3.sh: Likewise.
13020 * intl/tst-gettext5.sh: Likewise.
13021
2ae1ae5c
RM
130222012-08-17 Roland McGrath <roland@hack.frob.com>
13023
c31fdb83
RM
13024 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13025 * sysdeps/unix/syscalls.list: ... here.
13026
a0844057
RM
13027 * sysdeps/posix/getaddrinfo.c
13028 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13029 (gaiconf_init, gaiconf_reload): Use them.
13030 [!_STATBUF_ST_NSEC]
13031 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13032 Define using time_t rather than struct timespec.
13033
750c1f2a
RM
13034 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13035 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13036 Macros removed.
13037 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13038 [!NO_THREADS].
13039 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13040 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13041 Likewise.
13042
2ae1ae5c
RM
13043 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13044 __libc_cleanup_push argument.
13045
e66a42f5
RM
13046 * bits/param.h: New file.
13047 * misc/sys/param.h: New file.
13048 * include/sys/param.h: New file.
13049 * misc/Makefile (headers): Add bits/param.h.
13050 * sysdeps/generic/sys/param.h: File removed.
13051 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13052 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13053 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13054 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13055
b7c08a66
RM
13056 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13057 last change.
13058
b2e1c562
RM
13059 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13060 [_IO_MTSAFE_IO].
13061 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13062 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13063 New macros.
13064
c75ccd4c
RM
13065 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13066 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13067 rather than -D_IO_MTSAFE_IO conditionally.
13068 * stdio-common/Makefile (CPPFLAGS): Likewise.
13069 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13070 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13071 Use $(libio-mtsafe).
13072 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13073 of -D_IO_MTSAFE_IO.
13074 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13075 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13076 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13077 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13078 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13079 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13080 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13081 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13082 (CFLAGS-fread_u_chk.c): Likewise.
13083 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13084 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13085 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13086 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13087 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13088 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13089 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13090 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13091 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13092
13093 * libio/Makefile: Test [$(libc-reentrant) = yes]
13094 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13095
13096 * Makeconfig
13097 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13098 * sysdeps/pthread/configure: File removed.
13099 * sysdeps/pthread/Makeconfig: New file.
13100 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13101 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13102
d9195db8
GB
131032012-08-16 Gary Benson <gbenson@redhat.com>
13104
13105 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13106 unmapping the first object in a namespace.
13107
86466cd9
RM
131082012-08-16 Roland McGrath <roland@hack.frob.com>
13109
13110 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13111 (__internal_setnetgrent): ... this. Add internal_function to
13112 definition. Add libc_hidden_def.
13113 (setnetgrent): Update caller.
13114 (internal_endnetgrent): Renamed to ...
13115 (__internal_endnetgrent): ... this. Add internal_function to
13116 definition. Add libc_hidden_def.
13117 (endnetgrent): Update caller.
13118 (internal_getnetgrent_r): Renamed to ...
13119 (__internal_getnetgrent_r): ... this. Add internal_function to
13120 definition. Add libc_hidden_def.
13121 (__getnetgrent_r): Update caller.
13122 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13123
c3c8283c
JM
131242012-08-16 Joseph Myers <joseph@codesourcery.com>
13125
13126 * stdlib/longlong.h: Update from GCC.
13127
db1ee0a8
RM
131282012-08-16 Roland McGrath <roland@hack.frob.com>
13129
13130 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13131 on _QL, which is set by umul_ppmm but never used.
13132 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13133 variables, which are set by GMP macros but never used.
13134 * stdio-common/_itowa.c (_itowa): Likewise.
13135 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13136 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13137
30f69637
CD
131382012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13139
13140 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13141 struct La_sh_regs is not constant.
13142 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13143 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13144 and struct La_sparc64_regs are not constant.
13145
93a78ac4
JM
131462012-08-16 Joseph Myers <joseph@codesourcery.com>
13147
13148 * sysdeps/unix/sysv/linux/kernel-features.h
13149 (__ASSUME_POSIX_TIMERS): Remove.
13150 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13151 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13152 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13153 Make code unconditional.
13154 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13155 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13156 Make code unconditional.
13157 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13158 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13159 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13160 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13161 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13162 Make code unconditional.
13163 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13164 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13165 (__libc_missing_posix_timers): Remove.
13166
dd924cd7
RM
131672012-08-15 Roland McGrath <roland@hack.frob.com>
13168
4b4f2771
RM
13169 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13170 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13171
601c888b
RM
13172 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13173
176790a7
RM
13174 * elf/dl-sym.c: Include <stdlib.h>.
13175
329bc018
RM
13176 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13177 constants, which avoids warnings in 32-bit builds.
13178
e04e272d
RM
13179 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13180 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13181
952bf94a
RM
13182 * misc/lseek.c: File moved to ...
13183 * io/lseek.c: ... here.
13184
7c99b50a
RM
13185 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13186
dd924cd7
RM
13187 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13188 shifting LEN more than 31 bits at once.
13189
b3f479a8
LD
131902012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13191
13192 [BZ #14195]
8c4ae0d4
RM
13193 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13194 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13195 * string/test-strncasecmp.c (check1): Renamed to...
13196 (bz12205): ...this.
13197 (bz14195): Add new testcase for two empty input strings and N > 0.
13198 (test_main): Call new testcase, adapt for renamed function.
13199
9c55864e
AJ
132002012-08-15 Andreas Jaeger <aj@suse.de>
13201
13202 [BZ #14090]
13203 * crypt/md5test2.c: New test, based on test supplied by Serge
13204 Belyshev <belyshev@depni.sinp.msu.ru>.
13205 * crypt/Makefile (xtests): Add md5test-giant..
13206 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13207
02dcb6c5
PE
132082012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13209
13210 [BZ #14090]
13211 * crypt/md5.c (md5_process_block): Don't assume the buffer
13212 length is less than 2**32.
13213 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13214 length is less than 2**64.
13215
a3f95dcc
RM
132162012-08-15 Roland McGrath <roland@hack.frob.com>
13217
be75d758
RM
13218 * string/str-two-way.h: Include <sys/param.h>.
13219 (MAX): Macro removed.
13220
7312ca90
RM
13221 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13222 Move #define and #undef of memmove to just before and after
13223 including <string.h>.
13224
9a0a5486
RM
13225 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13226 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13227 and after including <string.h>. Move declarations of
13228 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13229 to before #include "string/memmove.c".
13230
67cc348d
RM
13231 * include/dirent.h: Declare __getdirentries.
13232
a3f95dcc
RM
13233 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13234 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13235
ca98e171
MF
132362012-08-14 Mike Frysinger <vapier@gentoo.org>
13237
13238 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13239 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13240 * sysdeps/i386/configure: Regenerated.
13241 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13242 STABS_CURRENT_FILE, and STABS_FUN.
13243 (END): Remove call to STABS_FUN_END.
13244 (STABS_CURRENT_FILE1): Delete.
13245 (STABS_CURRENT_FILE): Likewise.
13246 (STABS_FUN): Likewise.
13247 (STABS_FUN_END): Likewise.
13248 (STABS_FUN2): Likewise.
13249 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13250 * sysdeps/x86_64/configure: Regenerated.
13251
5908bf46
RM
132522012-08-14 Roland McGrath <roland@hack.frob.com>
13253
13254 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 13255 * elf/dl-lookup.c: Likewise.
5908bf46 13256
f2c05b9e
JM
132572012-08-14 Joseph Myers <joseph@codesourcery.com>
13258
13259 * sysdeps/unix/sysv/linux/kernel-features.h
13260 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13261 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13262 unconditionally.
13263 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13264 unconditionally.
13265 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13266 condition on __ASSUME_CLONE_THREAD_FLAGS.
13267
e11f5155
AJ
132682012-08-14 Andreas Jaeger <aj@suse.de>
13269
13270 * sysdeps/i386/fpu/libm-test-ulps: Update.
13271
51a9ba86
MK
132722012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13273
2fdd4f78
AJ
13274 * include/atomic.h (atomic_exchange_and_add): Split into ...
13275 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13276 New atomic macros.
51a9ba86 13277
ba6cba9e
MT
132782012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13279
13280 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13281
42443a47
JL
132822012-08-13 Jeff Law <law@redhat.com>
13283
13284 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13285 null byte in the output string.
13286
121dce05
JM
132872012-08-10 Joseph Myers <joseph@codesourcery.com>
13288
13289 * sysdeps/unix/sysv/linux/kernel-features.h
13290 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13291 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13292 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13293 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13294 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13295 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13296 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13297
bf51f568
JL
132982012-08-09 Jeff Law <law@redhat.com>
13299
13300 [BZ #13939]
13301 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13302 When avoid_arena is set, don't retry in the that arena. Pick the
13303 next one, whatever it might be.
13304 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13305 (arena_lock): Pass in new parameter to arena_get2.
13306 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13307 arena_get2.
13308 (__libc_malloc): Unify retrying after main arena failure with
13309 __libc_memalign version.
13310 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13311
f85fa270
L
133122012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13313
13314 [BZ #14166]
13315 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13316 to __redirect_strstr.
13317 (__strstr_sse42): Use typeof __redirect_strstr.
13318 (__strstr_ia32): Likewise.
13319 (__libc_strstr): New prototype.
13320 (strstr): Renamed to ...
13321 (__libc_strstr): This.
13322 (strstr): New strong alias of __libc_strstr.
13323 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13324 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13325 __redirect_time.
13326 Include <time.h>.
13327 (__libc_time): New prototype.
13328 (time_ifunc): Replace time with __libc_time.
13329 (time): New strong alias and hidden definition of __libc_time.
13330 (__GI_time): Remove strong alias.
13331 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13332 Include <stddef.h>.
13333 (memmove): Redefined to __redirect_memmove.
13334 (__memmove_sse2): Use typeof __redirect_memmove.
13335 (__memmove_ssse3): Likewise.
13336 (__memmove_ssse3_back): Likewise.
13337 (__libc_memmove): New prototype.
13338 (memmove): Renamed to ...
13339 (__libc_memmove): This.
13340 (memmove): New strong alias of __libc_memmove.
13341
33b4a91e
MS
133422012-08-08 Mark Salter <msalter@redhat.com>
13343
13344 * elf/elf.h
13345 (R_MN10300_TLS_GD): Define.
13346 (R_MN10300_TLS_LD): Likewise.
13347 (R_MN10300_TLS_LDO): Likewise.
13348 (R_MN10300_TLS_GOTIE): Likewise.
13349 (R_MN10300_TLS_IE): Likewise.
13350 (R_MN10300_TLS_LE): Likewise.
13351 (R_MN10300_TLS_DTPMOD): Likewise.
13352 (R_MN10300_TLS_DTPOFF): Likewise.
13353 (R_MN10300_TLS_TPOFF): Likewise.
13354 (R_MN10300_SYM_DIFF): Likewise.
13355 (R_MN10300_ALIGN): Likewise.
13356 (R_MN10300_NUM): Update.
13357
b36137f1
JM
133582012-08-08 Joseph Myers <joseph@codesourcery.com>
13359
13360 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13361 Remove.
13362
cdd915fd
RM
133632012-08-08 Roland McGrath <roland@hack.frob.com>
13364
a2433aac
RM
13365 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13366
cdd915fd
RM
13367 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13368 sysdeps/unix -> sysdeps/posix move.
13369 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13370
bf9b740a
AM
133712012-08-07 Allan McRae <allan@archlinux.org>
13372
13373 [BZ #14303]
13374 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13375 (SUNOS_CPP): Likewise.
13376 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13377 not found.
13378 (open_input): Call CPP using execvp.
13379
93df14ee
JM
133802012-08-07 Joseph Myers <joseph@codesourcery.com>
13381
13382 * sysdeps/unix/sysv/linux/kernel-features.h
13383 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13384 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13385 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13386 (__ASSUME_WAITID_SYSCALL): Likewise.
13387 * sysdeps/unix/sysv/linux/dl-execstack.c
13388 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13389 code unconditional.
13390 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13391 conditional code.
13392 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13393 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13394 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13395 code.
13396 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13397 unconditional.
13398 [__ASSUME_WAITID_SYSCALL]: Likewise.
13399 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13400
d34689de
RM
134012012-08-07 Roland McGrath <roland@hack.frob.com>
13402
a281decc
RM
13403 * sysdeps/unix/closedir.c: Renamed to ...
13404 * sysdeps/posix/closedir.c: ... here.
13405 * sysdeps/unix/dirfd.c: Renamed to ...
13406 * sysdeps/posix/dirfd.c: ... here.
13407 * sysdeps/unix/dirstream.h: Renamed to ...
13408 * sysdeps/posix/dirstream.h: ... here.
13409 * sysdeps/unix/fdopendir.c: Renamed to ...
13410 * sysdeps/posix/fdopendir.c: ... here.
13411 * sysdeps/unix/opendir.c: Renamed to ...
13412 * sysdeps/posix/opendir.c: ... here.
13413 * sysdeps/unix/readdir.c: Renamed to ...
13414 * sysdeps/posix/readdir.c: ... here.
13415 * sysdeps/unix/readdir_r.c: Renamed to ...
13416 * sysdeps/posix/readdir_r.c: ... here.
13417 * sysdeps/unix/rewinddir.c: Renamed to ...
13418 * sysdeps/posix/rewinddir.c: ... here.
13419 * sysdeps/unix/seekdir.c: Renamed to ...
13420 * sysdeps/posix/seekdir.c: ... here.
13421 * sysdeps/unix/telldir.c: Renamed to ...
13422 * sysdeps/posix/telldir.c: ... here.
13423 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13424 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13425 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13426 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13427
22895b47
RM
13428 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13429 * bits/fcntl.h: ... here.
13430
707a53b6
RM
13431 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13432 not 0.
13433 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13434 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13435 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13436 (struct flock): Move l_start, l_len to the beginning.
13437 Use __pid_t for l_pid.
13438 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13439 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13440 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13441 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13442 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13443 [__USE_LARGEFILE64] (struct flock64): New type.
13444 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13445
f0bd3e25
RM
13446 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13447 * bits/dirent.h: ... here.
13448
d34689de
RM
13449 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13450 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13451
6dad2c06
JM
134522012-08-07 Joseph Myers <joseph@codesourcery.com>
13453
13454 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13455 Change from 2.6.0 to 2.6.16.
13456 * sysdeps/unix/sysv/linux/configure: Regenerated.
13457 * sysdeps/unix/sysv/linux/kernel-features.h
13458 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13459 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13460 version.
13461 (__ASSUME_UTIMES): Likewise.
13462 (__ASSUME_CLONE_STOPPED): Remove.
13463 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13464 architectures, not kernel version.
13465 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13466 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13467 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13468 (__ASSUME_WAITID_SYSCALL): Likewise.
13469 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13470 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13471 * README: State 2.6.16 as minimum Linux kernel version. Do not
13472 refer to older versions.
13473
03af9520
RM
134742012-08-06 Roland McGrath <roland@hack.frob.com>
13475
8e49df1d
RM
13476 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13477 Define alphasort64 as an alias.
13478 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13479 Define versionsort64 as an alias.
13480 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13481 Define scandir64 as an alias.
13482 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13483 Define scandirat64 as an alias.
13484 * dirent/alphasort64.c (alphasort64):
13485 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13486 * dirent/versionsort64.c: Likewise.
13487 * dirent/scandir64.c: Likewise.
13488 * dirent/scandirat64.c: Likewise.
13489 * sysdeps/wordsize-64/alphasort.c: File removed.
13490 * sysdeps/wordsize-64/alphasort64.c: File removed.
13491 * sysdeps/wordsize-64/scandir.c: File removed.
13492 * sysdeps/wordsize-64/scandir64.c: File removed.
13493 * sysdeps/wordsize-64/scandirat.c: File removed.
13494 * sysdeps/wordsize-64/scandirat64.c: File removed.
13495 * sysdeps/wordsize-64/versionsort.c: File removed.
13496 * sysdeps/wordsize-64/versionsort64.c: File removed.
13497 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13498 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13499 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13500 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13501 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13502 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13503 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13504 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13505
13506 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13507 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13508 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13509 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13510 [defined __arch64__ || defined __sparcv9]
13511 (__INO_T_MATCHES_INO64_T): New macro.
13512 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13513 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13514 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13515 * sysdeps/unix/sysv/linux/bits/dirent.h
13516 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13517 (_DIRENT_MATCHES_DIRENT64): New macro.
13518
03af9520
RM
13519 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13520 Define lockf64 as an alias.
13521 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13522 Define fseeko64 as an alias.
13523 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13524 Define ftello64 as an alias.
13525 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13526 Define _IO_fgetpos64 and fgetpos64 as aliases.
13527 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13528 Define _IO_fsetpos64 and fsetpos64 as aliases.
13529 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13530 Conditionalize body on this.
13531 * libio/fseeko64.c: Likewise.
13532 * libio/ftello64.c: Likewise.
13533 * libio/iofgetpos64.c: Likewise.
13534 * libio/iofsetpos64.c: Likewise.
13535 * sysdeps/wordsize-64/lockf.c: File removed.
13536 * sysdeps/wordsize-64/lockf64.c: File removed.
13537 * sysdeps/wordsize-64/fseeko.c: File removed.
13538 * sysdeps/wordsize-64/fseeko64.c: File removed.
13539 * sysdeps/wordsize-64/ftello.c: File removed.
13540 * sysdeps/wordsize-64/ftello64.c: File removed.
13541 * sysdeps/wordsize-64/iofgetpos.c: File removed.
13542 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13543 * sysdeps/wordsize-64/iofsetpos.c: File removed.
13544 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13545 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13546 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13547 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13548 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13549 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13550 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13551 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13552 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13553 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13554 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13555
13556 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13557 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13558 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13559 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13560 [defined __arch64__ || defined __sparcv9]
13561 (__OFF_T_MATCHES_OFF64_T): New macro.
13562 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13563 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13564 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13565 (__OFF_T_MATCHES_OFF64_T): New macro.
13566
c5757acd
L
135672012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13568
13569 * stdlib/secure-getenv.c (__secure_getenv): Replace
13570 GLIBC_2_16 with GLIBC_2_17.
13571
3a31811e
L
135722012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13573
13574 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13575 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13576
faa2bccb
DM
135772012-08-03 David S. Miller <davem@davemloft.net>
13578
13579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13580
85fe1997
JM
135812012-08-03 Joseph Myers <joseph@codesourcery.com>
13582
13583 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13584 Remove.
13585 (__ASSUME_CORRECT_SI_PID): Likewise.
13586 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13587 (__ASSUME_TMPFS_NAME): Likewise.
13588 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13589 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13590 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13591 (HAVE_AUX_SECURE): Make definition unconditional.
13592 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13593 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13594
4f75b7a0
RM
135952012-08-03 Roland McGrath <roland@hack.frob.com>
13596
13597 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13598 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13599 * sysdeps/mach/hurd/eloop-threshold.h: New file.
13600 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13601 __eloop_threshold instead of SYMLOOP_MAX.
13602
13603 * sysdeps/generic/eloop-threshold.h: New file.
13604 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13605 of MAXSYMLINKS.
13606 * elf/chroot_canon.c (chroot_canon): Likewise.
13607
7aab07e4
JM
136082012-08-03 Joseph Myers <joseph@codesourcery.com>
13609
13610 [BZ #13717]
13611 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13612 Change to 2.6.0 everywhere.
13613 * sysdeps/unix/sysv/linux/configure: Regenerated.
13614 * sysdeps/unix/sysv/linux/kernel-features.h
13615 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13616 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13617 kernel versions.
13618 (__ASSUME_POSIX_TIMERS): Define unconditionally.
13619 (__ASSUME_FUTEX_REQUEUE): Remove.
13620 (__ASSUME_STATFS64): Define unconditionally.
13621 (__ASSUME_AT_SECURE): Likewise.
13622 (__ASSUME_CORRECT_SI_PID): Likewise.
13623 (__ASSUME_TGKILL): Define without depending on kernel version for
13624 i386.
13625 (__ASSUME_UTIMES): Likewise.
13626 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13627 kernel version.
13628 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13629 (__ASSUME_TMPFS_NAME): Likewise.
13630 * README: Update reference to Linux kernel versions.
13631
b67e9372
MP
136322012-08-02 Marek Polacek <polacek@redhat.com>
13633
1f529f7d 13634 [BZ# 14150]
b67e9372
MP
13635 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
13636 libc_cv_asm_type_prefix with %.
13637 * configure: Regenerated.
d2441631
RM
13638 * include/libc-symbols.h: Remove comment about
13639 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
13640 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13641 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13642 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13643 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13644 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13645 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13646 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13647 * elf/tst-unique2mod1.c: Likewise.
13648 * elf/tst-unique1mod2.c: Likewise.
13649 * elf/tst-unique1mod1.c: Likewise.
13650 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13651 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13652 Replace ASM_TYPE_DIRECTIVE with .type.
13653 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13654 * sysdeps/i386/sysdep.h: Likewise.
13655 * sysdeps/x86_64/sysdep.h: Likewise.
13656 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
13657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13658 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 13659 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
13660 * sysdeps/powerpc/powerpc32/sysdep.h:
13661 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
13662 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13663 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13664 * sysdeps/i386/fpu/e_powf.S: Likewise.
13665 * sysdeps/i386/fpu/e_expl.S: Likewise.
13666 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13667 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13668 * sysdeps/i386/fpu/e_pow.S: Likewise.
13669 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13670 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13671 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13672 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13673 * sysdeps/i386/fpu/e_log2.S: Likewise.
13674 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13675 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13676 * sysdeps/i386/fpu/e_powl.S: Likewise.
13677 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13678 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13679 * sysdeps/i386/fpu/e_logl.S: Likewise.
13680 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13681 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13682 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13683 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13684 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13685 * sysdeps/i386/fpu/e_log.S: Likewise.
13686 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13687 * sysdeps/i386/fpu/e_logf.S: Likewise.
13688 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13689 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13690 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13691 * sysdeps/i386/fpu/e_log10.S: Likewise.
13692 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13693 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13694 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13695 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13696 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13697 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13698 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13699 * sysdeps/i386/i686/strtok.S: Likewise.
13700 * sysdeps/i386/i386-mcount.S: Likewise.
13701 * sysdeps/i386/strtok.S: Likewise.
13702 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13703 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13704 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13705 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13706 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13707 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13708 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13709 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13710 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13711 * sysdeps/x86_64/_mcount.S: Likewise.
13712 * sysdeps/x86_64/strtok.S: Likewise.
13713 * sysdeps/sh/_mcount.S: Likewise.
13714
2747bf9a
RM
137152012-08-01 Roland McGrath <roland@hack.frob.com>
13716
13717 * libio/iofopen.c: Include <fcntl.h>.
13718 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13719 (_IO_fopen64, fopen64): Define as aliases.
13720 * libio/iofopen64.c: Include <fcntl.h>.
13721 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13722 Conditionalize body on this.
13723 * sysdeps/wordsize-64/iofopen.c: File removed.
13724 * sysdeps/wordsize-64/iofopen64.c: File removed.
13725
3fb791b8
MP
137262012-08-01 Marek Polacek <polacek@redhat.com>
13727
13728 * libc/Makeconfig: Use elf in place of binfmt-subdir.
13729 Use dlfcn directly instead of a variable.
13730 (binfmt-subdir): Do not define.
13731 (dlfcn): Likewise.
13732
a9f1039f
JM
137332012-08-01 Joseph Myers <joseph@codesourcery.com>
13734
23bddc06
JM
13735 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
13736 Remove all definitions.
13737 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
13738 <kernel-features.h>.
13739 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13740 (miss_F_GETOWN_EX): Remove all definitions.
13741 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
13742 macro definition.
13743 [!__ASSUME_FCNTL64]: Remove conditional code.
13744 [__ASSUME_FCNTL64]: Make code unconditional.
13745 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
13746 <kernel-features.h>.
13747 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13748 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
13749 (lockf64) [__NR_fcntl64]: Make code unconditional.
13750 (lockf64) [__ASSUME_FCNTL64]: Likewise.
13751
a9f1039f
JM
13752 * sysdeps/unix/sysv/linux/kernel-features.h
13753 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
13754 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
13755 Make code unconditional.
13756 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13757 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
13759 [__NR_vfork]: Make code unconditional.
13760 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13761 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
13763 [__NR_vfork]: Make code unconditional.
13764 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13765 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13766
09c0ee5f
RM
137672012-08-01 Roland McGrath <roland@hack.frob.com>
13768
48aec5b9
RM
13769 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
13770 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
13771
cd97c966
RM
13772 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13773 Define mkstemp64 as an alias.
3f55550c
RM
13774 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13775 Define mkstemps64 as an alias.
cd97c966
RM
13776 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13777 Define mkostemp64 as an alias.
b8625cfc
RM
13778 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13779 Define mkostemps64 as an alias.
cd97c966
RM
13780 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
13781 Conditionalize body on this.
13782 * misc/mkostemp64.c: Likewise.
b8625cfc 13783 * misc/mkostemps64.c: Likewise.
3f55550c 13784 * misc/mkstemps64.c: Likewise.
cd97c966
RM
13785 * sysdeps/wordsize-64/mkstemp64.c: File removed.
13786 * sysdeps/wordsize-64/mkostemp64.c: File removed.
13787 * sysdeps/wordsize-64/mkostemp.c: File removed.
13788 * sysdeps/wordsize-64/mkstemp.c: File removed.
13789 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
13790 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
13791 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
13792 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
13793
09c0ee5f
RM
13794 [BZ #14138]
13795 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
13796 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
13797 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
13798 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
13799
13800 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
13801 compat_symbol macros from <shlib-compat.h> rather than the underlying
13802 default_symbol_version and symbol_version macros, so that DEFAULT
13803 lines in shlib-versions are respected.
13804 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
13805
7e66ee51
FW
138062012-08-01 Florian Weimer <fweimer@redhat.com>
13807
13808 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
13809 Declare with warn_unused_result.
13810 (setgid, setregid, setegid, setresgid): Likewise.
13811 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
13812 Likewise.
13813 * WUR-REPORT: Remove set*id functions.
13814
d2a54255
PT
138152012-07-31 Pino Toscano <toscano.pino@tiscali.it>
13816
13817 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
13818
7ecdb005
RM
138192012-07-31 Roland McGrath <roland@hack.frob.com>
13820
b4180a5e 13821 [BZ #10191]
789bd351
RM
13822 * include/sys/socket.h (__libc_accept, __libc_accept4):
13823 Add attribute_hidden.
13824 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
13825
40ce302d
RM
13826 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
13827 use of PTR_MANGLE.
13828 * inet/getnetgrent_r.c (setup): Likewise.
13829
7ecdb005
RM
13830 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
13831
e2eabb2c
DM
138322012-07-31 David S. Miller <davem@davemloft.net>
13833
13834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13835
d0419dbf
JM
138362012-07-31 Joseph Myers <joseph@codesourcery.com>
13837
13838 [BZ #13629]
13839 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
13840 value between 1.0 and 2.0 and smaller part has absolute value less
13841 than 1.0.
13842 * math/s_clog10.c (__clog10): Likewise.
13843 * math/s_clog10f.c (__clog10f): Likewise.
13844 * math/s_clog10l.c (__clog10l): Likewise.
13845 * math/s_clogf.c (__clogf): Likewise.
13846 * math/s_clogl.c (__clogl): Likewise.
13847 * math/libm-test.inc (clog_test): Add more tests.
13848 (clog10_test): Likewise.
13849 * sysdeps/i386/fpu/libm-test-ulps: Update.
13850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13851
2bc13872
FW
138522012-07-31 Florian Weimer <fweimer@redhat.com>
13853
13854 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
13855 Exit with zero in case no suitable GID is found, and write a
13856 message to standard error.
13857
bea9b193
RM
138582012-07-30 Roland McGrath <roland@hack.frob.com>
13859
13860 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
13861 rather than to 1.
13862 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
13863 (MAXPATHLEN): Removed.
13864 (NOGROUP, NODEV): New macros.
13865 (setbit, clrbit, isset, isclr): New macros.
13866 (howmany, roundup, powerof2): New macros.
13867 (DEV_BSIZE): New macro.
13868
13869 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
13870 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
13871
13872 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
13873 definition on [!__NO_LONG_DOUBLE_MATH].
13874
13875 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
13876 PTR_MANGLE and PTR_DEMANGLE.
13877
13878 * socket/accept4.c (accept4): Rename to __libc_accept4.
13879 Define accept4 as a weak alias.
13880
13881 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
13882 on [_DIRENT_HAVE_D_TYPE].
13883 * io/ftw.c (ftw_dir): Likewise.
13884
13885 * io/xmknod.c (__xmknod): Don't check PATH for being null.
13886
13887 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
13888
13889 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
13890 Use the BSD numbers rather than the arbitrary ones we had.
13891 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
13892 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
13893 (SIGXCPU, SIGXFSZ): New macros.
13894 (_NSIG): Now 32.
13895
13896 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
13897 initializer on [_LIBC_REENTRANT].
13898
13899 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
13900 definitions inside [_POSIX_MAPPED_FILES].
13901
13902 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
13903
13904 * dirent/opendir.c: Include <fcntl.h>.
13905
13906 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
13907 (__libc_getspecific): Likewise.
13908 (__libc_key_create): Likewise.
13909
13910 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
13911 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
13912 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
13913 (tmpfile64): Define as alias.
13914 * sysdeps/wordsize-64/tmpfile.c: File removed.
13915 * sysdeps/wordsize-64/tmpfile64.c: File removed.
13916 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
13917 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
13918
13919 * stdio-common/vfscanf.c: Include <stdbool.h>.
13920 * nss/makedb.c: Likewise.
13921 * stdio-common/_i18n_number.h: Likewise.
13922 * argp/argp-help.c: Likewise.
13923 * posix/wordexp.c: Likewise.
13924 * sysdeps/posix/spawni.c: Likewise.
13925 * nss/nss_files/files-initgroups.c: Likewise.
13926 * stdio-common/reg-modifier.c: Include <stdlib.h>.
13927 * nss/nss_files/files-initgroups.c: Likewise.
13928 * nss/nss_db/db-netgrp.c: Likewise.
13929 * nss/nss_db/db-initgroups.c: Likewise.
13930 * io/fchmodat.c: Include <sys/stat.h>.
13931
13932 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
13933 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
13934
13935 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
13936 [HAVE_MMAP].
13937
13938 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
13939 Add multiple inclusion protection.
13940
e5abc686
DM
139412012-07-27 David S. Miller <davem@davemloft.net>
13942
13943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13944
815e6fa3
GB
139452012-07-27 Gary Benson <gbenson@redhat.com>
13946
13947 [BZ #14298]
13948 * elf/rtld.c: Include <stap-probe.h>.
13949 (dl_main): Added static probes "init_start" and "init_complete".
13950 * elf/dl-load.c: Include <stap-probe.h>.
13951 (lose): Take new parameter "nsid".
13952 Added static probe "map_failed".
13953 (_dl_map_object_from_fd): Pass namespace id to lose.
13954 Added static probe "map_start".
13955 (open_verify): Pass namespace id to lose.
13956 * elf/dl-open.c: Include <stap-probe.h>.
13957 (dl_open_worker) Added static probes "map_complete", "reloc_start"
13958 and "reloc_complete".
13959 * elf/dl-close.c: Include <stap-probe.h>.
13960 (_dl_close_worker): Added static probes "unmap_start" and
13961 "unmap_complete".
13962 * elf/rtld-debugger-interface.txt: New file documenting the above.
13963
9f98c16c
RM
139642012-07-26 Roland McGrath <roland@hack.frob.com>
13965
13966 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
13967 rather than a string variable.
13968 * sunrpc/rpc_main.c (h_output): Likewise.
13969 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
13970
f3c22df3
PT
139712012-07-26 Pino Toscano <toscano.pino@tiscali.it>
13972
13973 * inet/check_native.c: New file.
13974
3129cfc6
JM
139752012-07-26 Joseph Myers <joseph@codesourcery.com>
13976
da865e95
JM
13977 [BZ #13629]
13978 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
13979 if larger part has absolute value 1.0.
13980 * math/s_clog10.c (__clog10): Likewise.
13981 * math/s_clog10f.c (__clog10f): Likewise.
13982 * math/s_clog10l.c (__clog10l): Likewise.
13983 * math/s_clogf.c (__clogf): Likewise.
13984 * math/s_clogl.c (__clogl): Likewise.
13985 * math/libm-test.inc (clog_test): Add more tests.
13986 (clog10_test): Likewise.
13987 * sysdeps/i386/fpu/libm-test-ulps: Update.
13988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13989
3129cfc6
JM
13990 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
13991 (pltexit): Likewise.
13992 (La_regs): Likewise.
13993 (La_retval): Likewise.
13994 (int_retval): Likewise.
13995 Update #error for removed macros to refer only to definitions in
13996 tst-audit.h.
13997 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
13998 macro.
13999 (pltexit): Likewise.
14000 (La_regs): Likewise.
14001 (La_retval): Likewise.
14002 (int_retval): Likewise.
14003 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14004 macro.
14005 (pltexit): Likewise.
14006 (La_regs): Likewise.
14007 (La_retval): Likewise.
14008 (int_retval): Likewise.
14009 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14010 macro.
14011 (pltexit): Likewise.
14012 (La_regs): Likewise.
14013 (La_retval): Likewise.
14014 (int_retval): Likewise.
14015 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14016 macro.
14017 (pltexit): Likewise.
14018 (La_regs): Likewise.
14019 (La_retval): Likewise.
14020 (int_retval): Likewise.
14021 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14022 macro.
14023 (pltexit): Likewise.
14024 (La_regs): Likewise.
14025 (La_retval): Likewise.
14026 (int_retval): Likewise.
14027 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14028 macro.
14029 (pltexit): Likewise.
14030 (La_regs): Likewise.
14031 (La_retval): Likewise.
14032 (int_retval): Likewise.
14033 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14034 macro definitions in tst-audit.h.
14035 * sysdeps/i386/tst-audit.h: New file.
14036 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14037 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14038 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14039 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14040 * sysdeps/sh/tst-audit.h: Likewise.
14041 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14042 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14043 * sysdeps/x86_64/tst-audit.h: Likewise.
14044
bfc07087
AJ
140452012-07-26 Andreas Jaeger <aj@suse.de>
14046
b1b2aaf8
AJ
14047 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14048 ptrace.
14049
14050 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14051 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14052 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14053 PTRACE_O_MASK.
14054 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14055 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14056 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14057
bfc07087
AJ
14058 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14059 value.
14060
14061 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14062 _sigsys.
14063 (si_call_addr, si_syscall, si_arch): Define new macro.
14064 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14065 _sigsys.
14066 (si_call_addr, si_syscall, si_arch): Define new marcro.
14067 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14068 _sigsys.
14069 (si_call_addr, si_syscall, si_arch): Define new macro.
14070 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14071 _sigsys.
14072 (si_call_addr, si_syscall, si_arch): Define new macro.
14073
89b4b02f
JM
140742012-07-25 Joseph Myers <joseph@codesourcery.com>
14075
14076 [BZ #13717]
14077 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14078 Change to 2.4.21 where previously 2.4.1.
14079 * sysdeps/unix/sysv/linux/configure: Regenerated.
14080 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14081 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14082 Linux kernel version.
14083 (__ASSUME_STD_AUXV): Remove.
14084 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14085 kernel version.
14086 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14087 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14088 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14089 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14090 (__ASSUME_NETLINK_SUPPORT): Likewise.
14091 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14092 (__no_netlink_support): Remove conditional definition.
14093 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14094 Remove.
14095 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14096 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14097 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14098 (if_nameindex_ioctl): Remove.
14099 (if_nameindex_netlink): Do not handle __no_netlink_support.
14100 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14101 code.
14102 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14103 Remove conditional code.
14104 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14105 code.
14106 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14107 unconditional.
14108 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14109 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14110 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14111 Remove.
14112 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14113 [!__ASSUME_STD_AUXV]: Remove conditional code.
14114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14115 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14116 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14118 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14119 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14120 code.
14121 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14123 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14124 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14125 conditional code.
14126 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14128 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14129 code.
14130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14131 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14132 conditional code.
14133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14134 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14135 code unconditional.
14136 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14137 conditional code.
14138 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14139 unconditional.
14140 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14141 conditional code.
14142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14143 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14144 unconditional.
14145 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14146 conditional code.
14147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14148 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14149 code unconditional.
14150 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14151 conditional code.
14152 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14153 unconditional.
14154 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14155 conditional code.
14156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14157 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14158 code unconditional.
14159 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14160 conditional code.
14161 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14162 unconditional.
14163 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14164 conditional code.
14165
842a39cd
AS
141662012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14167
14168 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14169 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14170 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14171 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14172 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14173 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14174 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14175 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14176 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14177 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14178 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14179 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14180 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14181 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14182 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14183 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14184 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14185 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14186 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14187 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14188 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14189 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14190 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14191
84b3fd84
FW
141922012-07-25 Florian Weimer <fweimer@redhat.com>
14193
14194 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14195 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14196 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14197 Introduce __libc_secure_getenv.
0c7936d5
FW
14198 * stdlib/Versions (2.17): Add secure_getenv
14199 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14200 * stdlib/secure-getenv.c: Rename __secure_getenv to
14201 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14202 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14203 * stdlib/tst-secure-getenv.c: New.
14204 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14205 * manual/startup.texi (Environment Access): Document
14206 secure_getenv.
84b3fd84
FW
14207 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14208 __libc_secure_getenv.
14209 * inet/ruserpass.c (ruserpass): Likewise.
14210 * malloc/mtrace.c (mtrace): Likewise.
14211 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14212 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14213 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14214 * sysdeps/posix/tempname.c: Likewise. Evaluate
14215 HAVE_SECURE_GETENV.
14216 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 14217 __secure_getenv to __libc_secure_getenv.
84b3fd84 14218 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
14219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14220 Likewise.
14221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14222 Likewise.
14223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14225 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 14230
56e49b71
JM
142312012-07-25 Joseph Myers <joseph@codesourcery.com>
14232
14233 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14234 (struct La_i86_retval): Likewise.
14235 (struct La_x86_64_regs): Likewise.
14236 (struct La_x86_64_retval): Likewise.
14237 (struct La_x32_regs): Likewise.
14238 (struct La_x32_retval): Likewise.
14239 (struct La_ppc32_regs): Likewise.
14240 (struct La_ppc32_retval): Likewise.
14241 (struct La_ppc64_regs): Likewise.
14242 (struct La_ppc64_retval): Likewise.
14243 (struct La_sh_regs): Likewise.
14244 (struct La_sh_retval): Likewise.
14245 (struct La_s390_32_regs): Likewise.
14246 (struct La_s390_32_retval): Likewise.
14247 (struct La_s390_64_regs): Likewise.
14248 (struct La_s390_64_retval): Likewise.
14249 (struct La_sparc32_regs): Likewise.
14250 (struct La_sparc32_retval): Likewise.
14251 (struct La_sparc64_regs): Likewise.
14252 (struct La_sparc64_retval): Likewise.
14253 (struct audit_ifaces): Remove architecture-specific pltenter and
14254 pltexit members.
14255 * sysdeps/i386/ldsodefs.h: New file.
14256 * sysdeps/powerpc/ldsodefs.h: Likewise.
14257 * sysdeps/s390/ldsodefs.h: Likewise.
14258 * sysdeps/sh/ldsodefs.h: Likewise.
14259 * sysdeps/sparc/ldsodefs.h: Likewise.
14260 * sysdeps/x86_64/ldsodefs.h: Likewise.
14261
354691b7
MP
142622012-07-25 Marek Polacek <polacek@redhat.com>
14263
14264 [BZ #6808]
14265 * math/libm-test.inc (yn_test): Add another test.
14266 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14267 to ERANGE when the result is +-Inf.
14268 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14269 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14270 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14271 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14272
bf9e2071
JM
142732012-07-24 Joseph Myers <joseph@codesourcery.com>
14274
14275 * conform/data/time.h-data (NULL): Use macro-constant. Require
14276 equal to 0.
14277 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14278 clock_t.
14279 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14280
57633811
TS
142812012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14282
14283 * configure.in <sysdeps resolving>: Correct printing
14284 Implies_before.
14285 * configure: Regenerate.
14286
c23c33b0
TS
142872012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14288
14289 * math/w_ilogb.c: Include <limits.h>.
14290 * math/w_ilogbl.c: Likewise.
14291
b5982523
JM
142922012-07-20 Joseph Myers <joseph@codesourcery.com>
14293
14294 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14295 va_copy. Document allowing for unavailable va_copy only as
14296 pre-C99 compatibility.
14297 * manual/string.texi (Copying and Concatenation): Use va_copy
14298 instead of __va_copy in concat example.
14299
ac4ea442
PT
143002012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14301
14302 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14303 (__sendto): Use create_address_port. Initialize APORT and deallocate
14304 it if not null.
14305
f98eafbd
PT
14306 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14307 with O_NOLINK passed to __file_name_lookup.
14308
898c7aab
PT
14309 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14310 with O_NOLINK passed to __file_name_lookup.
14311
0ced335a
PT
14312 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14313 negative N or less than NGIDS.
14314
b3404dbd
PT
14315 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14316 type to string_t. Set ERANGE as errno and return it if NAME is not big
14317 enough. Use memcpy instead of strncpy.
14318
0f48659e
JM
143192012-07-20 Joseph Myers <joseph@codesourcery.com>
14320
14321 * elf/Makefile (check-data): Remove.
14322 (localplt.data): New vpath directive.
14323 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14324 instead of $(check-data).
14325 * scripts/data/localplt-generic.data: Move to ...
14326 * sysdeps/generic/localplt.data: ... here.
14327 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14328 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14329 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14331 ... here.
14332 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14334 ... here.
14335 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14337 ... here.
14338 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14340 ... here.
14341 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14342 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14343 ... here.
14344 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14346 ... here.
14347
d37cbdaa
AZ
143482012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14349
14350 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14351 PPC32 and PPC64 files.
14352 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14353 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14354
46f85fc2
AK
143552012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14356
14357 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14358 __makecontext_ret to ...
14359 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14360 ... here and call exit if uc_link is NULL. New file.
14361 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14362 __makecontext_ret.S.
14363 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14364 __makecontext_ret to ...
14365 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14366 ... here and call exit if uc_link is NULL. New file.
14367 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14368 __makecontext_ret.S.
14369
08f43f9b
AK
143702012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14371
14372 * elf/elf.h (R_390_IRELATIVE): New definition.
14373 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14374 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14375 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14376 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14377 (elf_machine_lazy_rel): Likewise.
14378 * sysdeps/s390/dl-irel.h: New file.
14379 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14380 * sysdeps/s390/s390-64/memset.S: New asm code.
14381 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14382 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14383 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14384 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14385 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14386 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14387 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14388 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14389 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14390 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14391 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14392 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14393 * sysdeps/s390/s390-32/memset.S: New asm code.
14394 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14395
3b05db33
MP
143962012-07-17 Marek Polacek <polacek@redhat.com>
14397
14398 [BZ #14349]
14399 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14400 * sysdeps/s390/s390-64/configure.in: Likewise.
14401 * sysdeps/sparc/configure.in: Likewise.
14402 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14403 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14404 * sysdeps/i386/configure.in: Likewise.
14405 * sysdeps/x86_64/configure.in: Likewise.
14406 * sysdeps/sh/configure.in: Likewise.
14407 * sysdeps/s390/s390-32/configure: Regenerated.
14408 * sysdeps/s390/s390-64/configure: Likewise.
14409 * sysdeps/x86_64/configure: Likewise.
14410 * sysdeps/sh/configure: Likewise.
14411 * sysdeps/powerpc/powerpc64/configure: Likewise.
14412 * sysdeps/powerpc/powerpc32/configure: Likewise.
14413 * sysdeps/sparc/configure: Likwise.
14414 * sysdeps/i386/configure: Likewise.
14415
a66877c6
MP
14416 * elf/dl-open.c: Comment fixes.
14417
cfc82fd8
JM
144182012-07-17 Joseph Myers <joseph@codesourcery.com>
14419
bd29910a
JM
14420 * Makefile [CXX] (check-data): Remove.
14421 [CXX] (c++-types.data): New vpath directive.
14422 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14423 vpath. Do not allow for C++ type data being missing.
14424 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14425 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14426 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14427 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14428 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14429 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14430 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14432 ... here.
14433 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14435 ... here.
14436 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14438 ... here.
14439 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14441 ... here.
14442 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14443 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14444 ... here.
14445 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14446 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14447 ... here.
14448 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14450 ... here.
14451 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14452 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14453
cfc82fd8
JM
14454 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14455 definitions to architecture-specific files.
14456 (TLS_IE): Likewise.
14457 (TLS_LD): Likewise.
14458 (TLS_GD): Likewise.
14459 * sysdeps/i386/tls-macros.h: New file.
14460 * sysdeps/powerpc/tls-macros.h: Likewise.
14461 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14462 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14463 * sysdeps/sh/tls-macros.h: Likewise.
14464 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14465 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14466 * sysdeps/x86_64/tls-macros.h: Likewise.
14467
f7db3170
TS
144682012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14469
07cbfc23
TS
14470 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14471 zero value for regular exit case.
14472
f7db3170
TS
14473 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14474 (__start_context): Preserve zero value for regular exit case.
14475
dc97c227
TS
144762012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14477 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14478
14479 * manual/setjmp.texi (setcontext): Clarify normal process
14480 termination when uc_link is the null pointer.
14481 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14482 exit call.
14483
d0cd7d02
AS
144842012-07-16 Andreas Schwab <schwab@linux-m68k.org>
14485
14486 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14487 preprocessor. Test for each exception mask separately.
14488
dd318934
AJ
144892012-07-16 Andreas Jaeger <aj@suse.de>
14490
14491 * po/ru.po: Update from translation team.
14492
8048311a
JM
144932012-07-15 Joseph Myers <joseph@codesourcery.com>
14494
14495 * conform/data/string.h-data (NULL): Use macro-constant. Require
14496 equal to 0.
14497 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14498 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14499 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14500 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14501 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14502
b637d46e
AJ
145032012-07-13 Andreas Jaeger <aj@suse.de>
14504
14505 * po/fr.po: Update from translation team.
14506
541428fe
MP
145072012-07-12 Marek Polacek <polacek@redhat.com>
14508
14509 [BZ #14173]
14510 * math/libm-test.inc (yn_test): Add test for BZ #14173.
14511 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14512 loop condition.
14513
ec332e94
JM
145142012-07-12 Joseph Myers <joseph@codesourcery.com>
14515
14516 [BZ #13717]
14517 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14518 Change to 2.4.1 where previously 2.4.0.
14519 * sysdeps/unix/sysv/linux/configure: Regenerated.
14520 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14521 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14522 version.
14523 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14524 (__ASSUME_AT_CLKTCK): Remove.
14525 (__ASSUME_AT_PAGESIZE): Likewise.
14526 (__ASSUME_AT_XID): Likewise.
14527 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14528 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14529 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14530 unconditionally.
14531 (HAVE_AUX_PAGESIZE): Likewise.
14532 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14533 [__ASSUME_AT_CLKTCK]: Make code unconditional.
14534 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14535
7b6e99be
JB
145362012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
14537
14538 [BZ #14307]
14539 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14540 the temporary buffer used to invoke __gethostbyname2_r,
14541 __gethostbyaddr_r and gethostbyname4_r to make room for struct
14542 host_data / struct gaih_addrtuple.
14543 * resolv/nss_dns/dns-host.c (global scope): Move definition of
14544 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14545 header file nss/nsswitch.h.
14546 * nss/nsswitch.h (global scope): Add definition of implementation
14547 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14548 resolv/nss_dns/dns-host.c).
14549
608404eb
AJ
145502012-07-11 Andreas Jaeger <aj@suse.de>
14551
14552 * po/fr.po: Update from translation team.
14553
71220aca
AJ
14554 * po/sv.po: Update from translation team
14555 * po/fr.po: Another update from translation team.
14556
28cfe843
AZ
145572012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14558
14559 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14560 for subnormals or multiply small sinh result by itself.
14561 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14563
6b90f981
DM
145642012-07-11 David S. Miller <davem@davemloft.net>
14565
14566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14567
c6825772
AS
145682012-07-10 Andreas Schwab <schwab@linux-m68k.org>
14569
14570 [BZ #14347]
14571 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14572 (INTERNAL_MARK): Shift it here.
14573
7b8e0d49
MP
145742012-07-10 Marek Polacek <polacek@redhat.com>
14575
14576 [BZ #14151]
14577 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
14578 libc_cv_asm_global_directive with .globl.
14579 * configure: Regenerated.
14580 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14581 with .globl.
14582 * sysdeps/i386/configure: Regenerated.
14583 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14584 with .globl.
14585 * sysdeps/x86_64/configure: Regenerated.
14586 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14587 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14588 * elf/tst-unique2mod2.c: Likewise.
14589 * elf/tst-unique2mod1.c: Likewise.
14590 * elf/tst-unique1mod2.c: Likewise.
14591 * elf/tst-unique1mod1.c: Likewise.
14592 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14593 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14594 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14595 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14596 * sysdeps/mach/sysdep.h: Likewise.
14597 * sysdeps/i386/sysdep.h: Likewise.
14598 * sysdeps/i386/i386-mcount.S: Likewise.
14599 * sysdeps/x86_64/_mcount.S: Likewise.
14600 * sysdeps/x86_64/sysdep.h: Likewise.
14601 * sysdeps/sh/_mcount.S: Likewise.
14602 * sysdeps/sh/sysdep.h: Likewise.
14603 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14604 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14605 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14606 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14607 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14608 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14609 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14610 * locale/localeinfo.h: Likewise.
14611 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14612 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14613
6c55cda3
RM
146142012-07-09 Roland McGrath <roland@hack.frob.com>
14615
14616 [BZ #14336]
14617 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14618 system".
14619 * manual/message.texi (The Uniforum approach): Likewise.
14620 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14621 (glibc iconv Implementation): Likewise.
14622
638a572e
JM
146232012-07-09 Joseph Myers <joseph@codesourcery.com>
14624
14625 [BZ #14337]
14626 * math/s_clog.c (__clog): Avoid scaling a value down where that
14627 could result in underflow.
14628 * math/s_clog10.c (__clog10): Likewise.
14629 * math/s_clog10f.c (__clog10f): Likewise.
14630 * math/s_clog10l.c (__clog10l): Likewise.
14631 * math/s_clogf.c (__clogf): Likewise.
14632 * math/s_clogl.c (__clogl): Likewise.
14633 * math/libm-test.inc (clog_test): Add more tests.
14634 (clog10_test): Likewise.
14635 * sysdeps/i386/fpu/libm-test-ulps: Update.
14636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14637
261f4859
AS
146382012-07-06 Andreas Schwab <schwab@linux-m68k.org>
14639
0abaf3e4
AS
14640 [BZ #14283]
14641 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14642 by 7 not 8 to examine high bit of fractional part.
14643
261f4859
AS
14644 [BZ #14042]
14645 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14646 for call to __mcount_internal.
14647 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14648 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14649 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14650
f17ac40d
JM
146512012-07-06 Joseph Myers <joseph@codesourcery.com>
14652
9ad63c23
JM
14653 [BZ #14154]
14654 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14655 approximation for values within 0x1p-13f of an odd multiple of
14656 pi/4.
14657 * math/libm-test.inc (tan_test): Do not allow spurious underflow
14658 exception. Add more tests.
14659 * sysdeps/i386/fpu/libm-test-ulps: Update.
14660
f17ac40d
JM
14661 [BZ #6778]
14662 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14663 inputs and return -1 for them. Do not check for +Inf in case not
14664 reachable for +Inf.
14665 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14666 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14667 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14668 and return -1 for them. Do not check for +Inf in case not
14669 reachable for +Inf.
14670 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14671 define.
14672 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14673 and return -1 for them. Do not check for +Inf in case not
14674 reachable for +Inf.
14675 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
14676 spurious underflow.
14677 * sysdeps/i386/fpu/libm-test-ulps: Update.
14678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14679
fb21f89b
MF
146802012-07-06 Mike Frysinger <vapier@gentoo.org>
14681
14682 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14683
cdfe2c5e
JM
146842012-07-05 Joseph Myers <joseph@codesourcery.com>
14685
14686 [BZ #14157]
14687 [BZ #14331]
14688 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14689 could result in spurious underflow. Scale down values above
14690 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14691 * math/s_csqrtf.c (__csqrtf): Likewise.
14692 * math/s_csqrtl.c (__csqrtl): Likewise.
14693 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
14694 spurious underflow.
14695 * sysdeps/i386/fpu/libm-test-ulps: Update.
14696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14697
70d35b67
AS
146982012-07-04 Andreas Schwab <schwab@linux-m68k.org>
14699
704bc459
AS
14700 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14701 xopen-msg.sed.
14702 * catgets/xopen-msg.awk: New file.
14703 * catgets/xopen-msg.sed: Removed.
14704
70d35b67
AS
14705 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14706 po2text.sed.
14707 * intl/po2test.awk: New file.
14708 * intl/po2test.sed: Removed.
14709
ca61cf32
JM
147102012-07-04 Joseph Myers <joseph@codesourcery.com>
14711
14712 [BZ #14328]
14713 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14714 or multiply small sinh result by itself.
14715 * math/s_ctanf.c (__ctanf): Likewise.
14716 * math/s_ctanh.c (__ctanh): Likewise.
14717 * math/s_ctanhf.c (__ctanhf): Likewise.
14718 * math/s_ctanhl.c (__ctanhl): Likewise.
14719 * math/s_ctanl.c (__ctanl): Likewise.
14720 * math/libm-test.inc (ctan_test_tonearest): New function.
14721 (ctan_test_towardzero): Likewise.
14722 (ctan_test_downward): Likewise.
14723 (ctan_test_upward): Likewise.
14724 (ctanh_test_tonearest): Likewise.
14725 (ctanh_test_towardzero): Likewise.
14726 (ctanh_test_downward): Likewise.
14727 (ctanh_test_upward): Likewise.
14728 (main): Call these new functions.
14729 * sysdeps/i386/fpu/libm-test-ulps: Update.
14730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14731
ca48a46a
MF
147322012-07-03 Mike Frysinger <vapier@gentoo.org>
14733
14734 * .gitignore: Delete /ports entry.
14735
9d63d37d
AJ
147362012-07-03 Andreas Jaeger <aj@suse.de>
14737
14738 * po/bg.po: Update from translation team.
14739 * po/cs.po: Likewise.
14740 * po/de.po: Likewise.
14741 * po/hr.po: Likewise.
14742 * po/nl.pl: Likewise.
14743 * po/pl.po: Likewise.
14744 * po/vi.po: Likewise.
14745
370ca3d2
JM
147462012-07-03 Joseph Myers <joseph@codesourcery.com>
14747
95f5a9a8
JM
14748 * Makeconfig [!+link] (+link-before-libc): New variable.
14749 [!+link] (+link-after-libc): Likewise.
14750 [!+link] (+link-tests): Likewise.
14751 [!+link] (+link): Define in terms of $(+link-before-libc) and
14752 $(+link-after-libc).
14753 [!+link-static] (+link-static-before-libc): New variable.
14754 [!+link-static] (+link-static-after-libc): Likewise.
14755 [!+link-static] (+link-static-tests): Likewise.
14756 [!+link-static] (+link-static): Define in terms of
14757 $(+link-static-before-libc) and $(+link-static-after-libc).
14758 [build-shared] (link-libc-before-gnulib): New variable.
14759 [build-shared] (link-libc-tests): Likewise.
14760 [build-shared] (link-libc): Define in terms of
14761 $(link-libc-before-gnulib).
14762 [!build-shared] (link-libc-tests): New variable.
14763 (link-libc-static-tests): New variable.
14764 [!gnulib] (gnulib-arch): New variable.
14765 [!gnulib] (gnulib-tests): Likewise.
14766 [!gnulib] (static-gnulib-arch): Likewise.
14767 [!gnulib] (static-gnulib-tests): Likewise.
14768 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
14769 Define with "=" instead of ":=".
14770 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
14771 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
14772 * Rules (binaries-all-notests): New variable.
14773 (binaries-all-tests): Likewise.
14774 (binaries-static-notests): Likewise.
14775 (binaries-static-tests): Likewise.
14776 (binaries-all): Define using $(binaries-all-notests) and
14777 $(binaries-all-tests).
14778 (binaries-static): Define using $(binaries-static-notests) and
14779 $(binaries-static-tests).
14780 (binaries-shared-tests): New variable.
14781 (binaries-shared-notests): Likewise.
14782 (binaries-shared): Remove variable.
14783 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
14784 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
14785 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
14786 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
14787 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
14788 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
14789 * elf/Makefile (sln-modules): New variable.
14790 (extra-objs): Add $(sln-modules:=.o).
14791 (ldconfig-modules): Add static-stubs.
14792 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
14793 * elf/static-stubs.c: New file.
14794
7a845b2c
JM
14795 [BZ #14283]
14796 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
14797 by 7 not 8 to examine high bit of fractional part. Use volatile
14798 variables when splitting into final array of floats if
14799 __FLT_EVAL_METHOD__ != 0.
14800 * math/libm-test.inc (cos_test): Add another test.
14801 (sin_test): Likewise.
14802 * sysdeps/i386/fpu/libm-test-ulps: Update.
14803
e2283f38
JM
14804 [BZ #14273]
14805 * math/libm-test.inc (cosh_test): Add more tests.
14806
370ca3d2
JM
14807 * version.h (RELEASE): Set to "development".
14808 (VERSION): Set to "2.16.90".
14809
ee9247c3
CD
148102012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
14811
14812 * NEWS: Update copyright. Remove last-updated date.
14813 Mention math library bug fixes and timezone data changes.
14814 * README: Mention GNU/Hurd, x32, and HPPA support status.
14815
4648c381
TS
148162012-06-28 Thomas Schwinge <thomas@codesourcery.com>
14817
14818 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
14819
aac78a43
AJ
148202012-06-27 Andreas Jaeger <aj@suse.de>
14821
14822 * manual/contrib.texi (Contributors): Add Samuel Thibault.
14823
ed3dbfad
AJ
148242012-06-25 Andreas Jaeger <aj@suse.de>
14825
14826 * sysdeps/s390/fpu/libm-test-ulps: Update.
14827
4d0ee855
AS
148282012-06-23 Andreas Schwab <schwab@linux-m68k.org>
14829 Thomas Schwinge <thomas@codesourcery.com>
14830
14831 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
14832 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
14833 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
14834 fanotify_mark.
14835
af1bce34
TS
148362012-06-23 Thomas Schwinge <thomas@codesourcery.com>
14837
a9fa33ba
TS
14838 * sysdeps/mach/start.c: Remove file.
14839 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
14840 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
14841 * sysdeps/sh/init-first.c: Likewise.
14842
58f902b8
TS
14843 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
14844 registers for frame unwinding purposes, add CFI directives.
14845 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14846 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
14847 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
14848 Likewise.
14849
1518f58b
TS
14850 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
14851 __fortify_fail returning.
14852 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14853
db9b5059
TS
14854 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
14855 sysdeps/sh/____longjmp_chk.S.
14856 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
14857 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
14858 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
14859 (gen-as-const-headers): Append sigaltstack-offsets.sym.
14860
967705fe
TS
14861 * sysdeps/sh/abort-instr.h: New file.
14862 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
14863 process in case exit returns.
14864
a9def8c4
TS
14865 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
14866 initialize the GOT register before use.
14867
2a649725
TS
14868 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
14869 calculation of ARGC > 4.
14870
af1bce34
TS
14871 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
14872 meaningful names to some local labels.
14873
d230f50a
KK
148742012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14875 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14876
14877 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
14878 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
14879 (__arch_compare_and_exchange_val_16_acq): Likewise.
14880 (__arch_compare_and_exchange_val_32_acq): Likewise.
14881 (atomic_exchange_and_add): Fix gUSA sequence.
14882 (atomic_add): Likewise.
14883 (atomic_add_negative): Likewise.
14884 (atomic_add_zero): Likewise.
14885 (atomic_bit_test_set): Likewise.
14886
0479b305
AS
148872012-06-22 Andreas Schwab <schwab@redhat.com>
14888
14889 [BZ #13579]
14890 * include/link.h (struct link_map): Add l_free_initfini.
14891 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
14892 l_initfini.
14893 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
14894 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
14895 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
14896 set.
14897
0e3933b9
CD
148982012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
14899
14900 * configure.in: Use AC_LANG_SOURCE.
14901 * configure: Regenerate.
14902
4248b1b1
RM
149032012-06-22 Roland McGrath <roland@hack.frob.com>
14904
14905 * configure.in (libc_cv_localstatedir): New substituted variable.
14906 * configure: Regenerated.
14907 * config.make.in (localstatedir): New variable, substituted from
14908 libc_cv_localstatedir.
14909 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
14910 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
14911 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
14912 * sysdeps/gnu/configure: Regenerated.
14913
006dd861
JL
149142012-06-21 Jeff Law <law@redhat.com>
14915
14916 [BZ #14277]
14917 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
14918 free. Simplify list management for _LIBC case.
14919
79662d42
JM
149202012-06-21 Joseph Myers <joseph@codesourcery.com>
14921
b7abb4bf
JM
14922 [BZ #14273]
14923 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
14924 Clear sign bit of 64-bit integer value before comparing against
14925 overflow value.
14926
79662d42
JM
14927 * sysdeps/mach/configure: Regenerated.
14928
1f150908
L
149292012-06-21 H.J. Lu <hongjiu.lu@intel.com>
14930
14931 [BZ #14278]
14932 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
14933
28363bbf
JL
149342012-06-21 Jeff Law <law@redhat.com>
14935
14936 [BZ #13882]
14937 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
14938 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 14939 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
14940 * elf/dl-open.c (dl_open_worker): Likewise.
14941
09615db4
CD
149422012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
14943
14944 * scripts/list-sources.sh: Scan PORTS for translations.
14945 * po/libc.pot: Regenerated.
14946
2174c6dd
AJ
149472012-06-21 Andreas Jaeger <aj@suse.de>
14948
14949 [BZ #12194]
14950 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
14951 warning.
14952 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
14953 * bits/byteswap-16.h (__bswap_16): Likewise.
14954 * bits/byteswap.h (__bswap_constant_16): Likewise.
14955
3ee947b1
L
149562012-06-18 H.J. Lu <hongjiu.lu@intel.com>
14957
14958 [BZ #14117]
a2f34833
L
14959 * sysdeps/i386/fpu_control.h: Removed.
14960 * sysdeps/x86_64/fpu_control.h: Moved to ...
14961 * sysdeps/x86/fpu_control.h: Here.
14962
3ee947b1
L
14963 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
14964 (_FPU_SETCW): Likewise.
14965
ed1825f8
L
149662012-06-15 H.J. Lu <hongjiu.lu@intel.com>
14967
25f1282a
L
14968 [BZ #14117]
14969 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
14970 * sysdeps/x86/fpu/bits/mathinline.h: This.
14971 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
14972
ed1825f8
L
14973 [BZ #14050]
14974 [BZ #14117]
14975 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
14976 functions if __x86_64__ is defined.
14977
36d54b74
CLT
149782012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
14979
14980 * string/endian.h: Add !__ASSEMBLER__ condition for including
14981 conversion interfaces.
14982
10285c21
JM
149832012-06-15 Joseph Myers <joseph@codesourcery.com>
14984
14985 [BZ #14241]
14986 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
14987 of ABS(x) in calculating zero to negative powers other than odd
14988 integers.
14989 * math/libm-test.inc (pow_test): Add more tests.
14990
06c5abbd
AJ
149912012-06-15 Andreas Jaeger <aj@suse.de>
14992
14993 * manual/contrib.texi (Contributors): Update entry of Liubov
14994 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
14995 Machado Filho.
14996
a3aeac40
CH
149972012-06-15 Cyril Hrubis <metan@ucw.cz>
14998
14999 * string/string.h: Add __wur to GNU version of strerror_r.
15000
49bdf4c1
L
150012012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15002
15003 [BZ #14229]
15004 * string/Makefile (tests): Add tst-strtok_r.
15005 * string/tst-strtok_r.c: New file.
15006 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15007 RAX_LP/RDX_LP on SAVE_PTR.
15008
834f9b8d
RM
150092012-06-14 Roland McGrath <roland@hack.frob.com>
15010
15011 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15012
75fa1921
JM
150132012-06-14 Joseph Myers <joseph@codesourcery.com>
15014
15015 * libm_test.inc (csqrt_test): Allow more spurious underflow
15016 exceptions.
15017 (j0_test): Likewise.
15018 (j1_test): Likewise.
15019 (y0_test): Likewise.
15020 (y1_test): Likewise.
15021
771766df
CD
150222012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15023
15024 * po/Makefile (libc.pot): Use UTF-8 charset.
15025
ceb9e56b
PP
150262012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15027
15028 [BZ #14210]
15029 Suppress sign-conversion warning from FD_SET.
15030 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15031 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15032 not unsigned long int.
15033 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15034
ddb28975
L
150352012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15036
15037 [BZ #14050]
15038 [BZ #14117]
15039 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15040 __extern_always_inline instead of __extern_inline.
15041 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15042 (__signbit): Likewise.
15043 (__signbitl): Support C++ namespace.
15044 (lrintf): New inline function.
15045 (lrint): Likewise.
15046 (llrintf): Likewise.
15047 (llrint): Likewise.
15048 (fmaxf): Likewise.
15049 (fmax): Likewise.
15050 (fminf): Likewise.
15051 (fmin): Likewise.
15052 (rint): Likewise.
15053 (rintf): Likewise.
15054 (ceil): Likewise.
15055 (ceilf): Likewise.
15056 (floor): Likewise.
15057 (floorf): Likewise.
15058 (nearbyint): Likewise.
15059 (nearbyintf): Likewise.
15060
d7b4fb26
TS
150612012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15062
15063 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15064 non-default versions.
15065
eb55f5c2
RM
150662012-06-11 Roland McGrath <roland@hack.frob.com>
15067
15068 [BZ #14218]
15069 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15070
366af02c
TS
150712012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15072
99ff6e5c
TS
15073 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15074 (FE_UPWARD, FE_DOWNWARD): Don't define.
15075 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15076 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15077
366af02c
TS
15078 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15079 reading it.
15080 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15081 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15082
793ea851
KK
150832012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15084
15085 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15086 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15087 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15088 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15089
a728a38f
L
150902012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15091
15092 [BZ #14117]
c08010c7
L
15093 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15094 * sysdeps/i386/fpu/Implies: New file.
15095 * sysdeps/x86_64/fpu/Implies: Likewise.
15096 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15097 * sysdeps/x86/fpu/bits/fenv.h: This.
15098
a728a38f
L
15099 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15100 __SSE_MATH__.
15101
6e230d11
SP
151022012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15103
15104 [BZ #14134]
15105 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15106 character 0xffff that matches the last element of the
15107 conversion table.
15108
1b671feb
AZ
151092012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15110
15111 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15112 fmodl commit.
15113
6043738b
AZ
151142012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15115
15116 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15117 values higher than 25.6283.
15118
34ae0b32
AZ
151192012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15120
15121 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15122 subnormal exponent extraction and add some __builtin_expect.
15123 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15124 Fix for subnormal mantissa calculation.
15125
1214ec8f
MF
151262012-06-04 Mike Frysinger <vapier@gentoo.org>
15127
15128 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15129 cpu2 is -1 and errno is not ENOSYS.
15130
f3d1f93c
L
151312012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15132
15133 [BZ #14117]
0e4a3cd7
L
15134 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15135 * sysdeps/x86/bits/string.h: This.
15136 * sysdeps/x86_64/bits/string.h: Removed.
15137
6704c645
L
15138 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15139 if not compiling for x86-64, but compiling for >= i486.
15140
48495318
L
15141 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15142 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15143
14adcbfc
L
15144 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15145 New macro from Linux kernel 3.4.0.
15146 (FP_XSTATE_MAGIC2): Likewise.
15147 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15148 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15149 (struct _fpx_sw_bytes): New struct.
15150 (struct _xsave_hdr): Likewise.
15151 (struct _ymmh_state): Likewise.
15152 (struct _xstate): Likewise.
15153
68e408ab
L
15154 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15155 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15156 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15157 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15158 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15159 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15160
f3d1f93c
L
15161 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15162 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15163 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15164 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15165 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15166 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15167
d9dc34cd
TMQMF
151682012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15169
15170 [BZ #13743]
15171 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15172 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15173 (sysdep_headers): Include sys/platform/ppc.h.
15174 * sysdeps/powerpc/test-gettimebase.c: Test for
15175 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15176 * manual/Makefile (appendices): Include platform.texi.
15177 * manual/contrib.texi (Contributors): Update @node pointers.
15178 * manual/maint.texi (Maintenance): Likewise.
15179 (Platform): New node.
15180 * manual/platform.texi: New file. Document the new features.
15181
4af3879c
SP
151822012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15183 Jakub Jelinek <jakub@redhat.com>
15184
15185 [BZ #14188]
15186 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15187 where __builtin_expect is unavailable.
15188
2fd6ff13
DM
151892012-06-03 David S. Miller <davem@davemloft.net>
15190
15191 * stdlib/longlong.h: Updated from GCC.
15192
173f7220
AS
151932012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15194
15195 [BZ #14042]
15196 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15197 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15198 __mcount_internal.
15199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15200 (GLIBC_2.16): Likewise.
15201
f34a1c6f
L
152022012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15203
15204 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15205
88a4576f
JM
152062012-06-01 Joseph Myers <joseph@codesourcery.com>
15207
ea32bcdd
JM
15208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15209 (default-abi): New variable.
15210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15211 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15212 variable.
15213 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15214 Likewise.
15215 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15216 Likewise.
15217 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15218 Likewise.
15219
88a4576f
JM
15220 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15221 definition. Document in comment.
15222
402fe938
DM
152232012-06-01 David S. Miller <davem@davemloft.net>
15224
15225 * stdlib/longlong.h: Updated from GCC.
15226
3553723f
L
152272012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15228
15229 [BZ #14117]
3bd872c4
L
15230 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15231 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15232 sys/debugreg.h sys/io.h here.
15233 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15234 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15235 sys/io.h.
15236 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15237 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15238 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15239 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15240 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15241 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15242
3553723f
L
15243 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15244 Define only if __x86_64__ is defined.
15245
4842e4fe
JM
152462012-06-01 Joseph Myers <joseph@codesourcery.com>
15247
c5bfe3d5
JM
15248 [BZ #14048]
15249 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15250 Use int64_t for variable i.
15251 * math/libm-test.inc (fmod_test): Add more tests.
15252
4842e4fe
JM
15253 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15254 z computation is not scheduled after fetestexcept.
15255 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15256 Use math_force_eval instead of asm to ensure calculation scheduled
15257 before exception test.
15258 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15259 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15260
efb73488
AJ
152612012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15262
15263 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15264 computation is not scheduled after fetestexcept.
15265
29bcce7c
L
152662012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15267
15268 [BZ #14117]
15269 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15270 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15271
73a68f94
AZ
152722012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15273
15274 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15275 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15276
67b6df78
L
152772012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15278
edf2933a 15279 [BZ #14117]
ebc64a18
L
15280 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15281 <bits/wordsize.h>.
15282 (__WCHAR_MIN): Support __WORDSIZE == 64.
15283 (__WCHAR_MAX): Likewise.
15284
edf2933a
L
15285 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15286 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15287
57c6cf40
L
15288 [BZ #14183]
15289 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15290 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15291
67b6df78 15292 [BZ #14117]
8eb6281e
L
15293 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15294 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15295
aac639f4
L
15296 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15297 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15298
67b6df78
L
15299 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15300 Defined to 1 if __x86_64__ isn't defined.
15301 (_STAT_VER_LINUX_OLD): New.
15302 (st_atime): Remove duplicate.
15303 (st_mtime): Likewise.
15304 (st_ctime): Likewise.
15305
1c2cfe81
DM
153062012-05-31 David S. Miller <davem@davemloft.net>
15307
15308 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15309 entries.
15310
5be8418c
AS
153112012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15312
e7725326
AS
15313 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15314 gen-libm-test.pl.
15315
5be8418c
AS
15316 [BZ #14132]
15317 * elf/dl-reloc.c: Include <_itoa.h>.
15318 (_dl_reloc_bad_type): Remove use of INTUSE.
15319 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15320 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15321 * stdio-common/psiginfo.c (psiginfo): Likewise.
15322 * stdio-common/psignal.c (psignal): Likewise.
15323 * string/strsignal.c (strsignal): Likewise.
15324 * include/signal.h (_sys_siglist): Declare hidden proto.
15325 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15326 INTVARDEF with libc_hidden_data_def.
15327 * stdio-common/itoa-udigits.c: Likewise.
15328 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15329 (_itoa_lower_digits_internal): Remove declaration.
15330 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15331 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15332 (_sys_sigabbrev_internal): Remove aliases.
15333 (_sys_siglist): Define hidden alias.
15334
507352f1
MT
153352012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15336
15337 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15338 bits/sysctl.h.
15339
42bbb1c3
L
153402012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15341
15342 [BZ #14117]
6bd784b6
L
15343 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15344 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15345
8bca20f0
L
15346 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15347 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15348 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15349 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15350 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15351 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15352
f9e890a9
L
15353 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15354 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15355 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15356
471101a1
L
15357 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15358 with __addr.
15359 (insw): Likewise.
15360 (insl): Likewise.
15361 (outsb): Likewise.
15362 (outsw): Likewise.
15363 (outsl): Likewise.
15364
6451c862
L
15365 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15366 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15367 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15368
a254b8c9
L
15369 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15370 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15371 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15372 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15373 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15374 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15375
b8dfdd92
L
15376 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15377 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15378
578cd270
L
15379 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15380 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15381
de662f5f
L
15382 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15383 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15384 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15385
25653439
L
15386 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15387 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15388 to ...
15389 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15390
6bad24a0
L
15391 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15392 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15393 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15394
42bbb1c3
L
15395 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15396 for x86-64.
15397 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15398
2d10d547
JM
153992012-05-31 Joseph Myers <joseph@codesourcery.com>
15400
15401 * math/math.h (M_El): Use two more decimal places.
15402 (M_LOG2El): Likewise.
15403 (M_LOG10El): Likewise.
15404 (M_LN2l): Likewise.
15405 (M_LN10l): Likewise.
15406 (M_PIl): Likewise.
15407 (M_PI_2l): Likewise.
15408 (M_PI_4l): Likewise.
15409 (M_1_PIl): Likewise.
15410 (M_2_PIl): Likewise.
15411 (M_2_SQRTPIl): Likewise.
15412 (M_SQRT2l): Likewise.
15413 (M_SQRT1_2l): Likewise.
15414
f230c29b
DM
154152012-05-31 David S. Miller <davem@davemloft.net>
15416
15417 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15418 values between float registers.
15419 * sysdeps/sparc/sparc64/memset.S: Likewise.
15420 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15421
fed806c3
MF
154222012-05-31 Mike Frysinger <vapier@gentoo.org>
15423
15424 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15425 -D_FORTIFY_SOURCE=1.
15426 (CPPFLAGS-tst-longjmp_chk.c): Define.
15427 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15428 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15429 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15430 CFLAGS-tst-wchar-h.c.
15431
30917259
MP
154322012-05-31 Marek Polacek <polacek@redhat.com>
15433
15434 [BZ #14132]
15435 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15436 __endmntent_internal): Remove declaration.
15437 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15438 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15439 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15440
1c58d5dc
DM
154412012-05-30 David S. Miller <davem@davemloft.net>
15442
15443 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15444 (___Q_simulate_exceptions): Use real FP ops rather than writing
15445 into the %fsr.
15446 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15447 Likewise.
15448
7dc00e0d
L
154492012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15450
15451 [BZ #14117]
0bd53985
L
15452 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15453 * sysdeps/x86/bits/xtitypes.h: This.
15454
3a257e66
L
15455 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15456 * sysdeps/x86/bits/wordsize.h: This.
15457
62f62904
L
15458 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15459 * sysdeps/x86/bits/huge_vall.h: This.
15460
404fe9d9
L
15461 * sysdeps/i386/bits/select.h: Removed.
15462 * sysdeps/x86_64/bits/select.h: Renamed to ...
15463 * sysdeps/x86/bits/select.h: This.
15464
d48d0446
L
15465 * sysdeps/i386/bits/setjmp.h: Removed.
15466 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15467 * sysdeps/x86/bits/setjmp.h: This.
15468
7dc00e0d
L
15469 * sysdeps/i386/bits/mathdef.h: Removed.
15470 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15471 * sysdeps/x86/bits/mathdef.h: This.
15472
03277f8f
AS
154732012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15474
15475 [BZ #14132]
15476 * include/sys/socket.h (__connect_internal)
15477 (__libc_sa_len_internal): Remove declaration.
15478 (__connect, __libc_sa_len): Declare hidden_proto.
15479 (SA_LEN): Remove use of INTUSE.
15480 * socket/connect.c: Add libc_hidden_def.
15481 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15482 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15483 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15484 alias.
15485 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15486 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15487 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15488 of adding _internal alias.
15489
13764867
L
154902012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15491
15492 [BZ #14117]
6bd97696
L
15493 * sysdeps/i386/bits/link.h: Removed.
15494 * sysdeps/i386/bits/linkmap.h: Likewise.
15495 * sysdeps/x86_64/bits/link.h: Renamed to ...
15496 * sysdeps/x86/bits/link.h: This.
15497 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15498 * sysdeps/x86/bits/linkmap.h: This.
15499
f726f0bb
L
15500 * sysdeps/i386/bits/endian.h: Removed.
15501 * sysdeps/x86_64/bits/endian.h: Renamed to ...
15502 * sysdeps/x86/bits/endian.h: This.
15503
13764867
L
15504 * sysdeps/i386/bits/byteswap.h: Removed.
15505 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15506 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15507 * sysdeps/x86/bits/byteswap.h: This.
15508 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15509 * sysdeps/x86/bits/byteswap-16.h: This.
15510 * sysdeps/i386/Implies: Add x86.
15511 * sysdeps/x86_64/Implies: Likewise.
15512
ae251b0b
DM
155132012-05-30 David S. Miller <davem@davemloft.net>
15514
15515 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15516 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15517 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15518 (FP_TRAPPING_EXCEPTIONS): Define.
15519 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15520 (FP_TRAPPING_EXCEPTIONS): Define.
15521 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15522 subnormals only when inexact has been signalled or underflow
15523 exceptions are enabled.
15524 (_FP_PACK_CANONICAL): Likewise.
15525
d5c90867
L
155262012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15527
15528 [BZ #14183]
15529 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15530 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15531
63f1549e
RH
155322012-05-30 Richard Henderson <rth@twiddle.net>
15533
8d8f2279
RH
15534 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15535 with #ifndef NOT_IN_libc.
15536
63f1549e
RH
15537 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
15538 marked to avoid plt entry.
15539
0ab0291b
L
155402012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15541
15542 [BZ #14112]
15543 * Makeconfig (default-abi): New macro.
15544 (abi-includes): Likewise.
15545 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
15546 $(abi-$(default-abi)-lib-soname) for soname if defined.
15547 ($(common-objpfx)gnu/lib-names.stmp): Generate from
15548 abi-variants.
15549 * Makefile (installed-stubs): Likewise.
15550 * include/stubs-biarch.h: Removed.
15551 * scripts/lib-names.awk: Only handle one library at a time.
15552 * scripts/soversions.awk: Remove WORDSIZE support.
15553 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15554 entries.
15555 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15556 Removed.
15557 (syscall-list-default-condition): Likewise.
15558 (syscall-list-default-condition): Likewise.
15559 (syscall-list-includes): Likewise.
15560 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15561 syscall-list-* with abi-*. Handle undefined abi-variants.
15562 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15563 * sysdeps/unix/sysv/linux/i386/Implies: New file.
15564 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15565 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15566 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15567 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15568 Removed.
15569 (syscall-list-32-options): Likewise.
15570 (syscall-list-32-condition): Likewise.
15571 (syscall-list-64-options): Likewise.
15572 (syscall-list-64-condition): Likewise.
15573 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15574 macro.
15575 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15576 Renamed to ...
15577 (abi-*): This.
15578 (abi-64-ld-soname): New macro.
15579 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15580 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15581 Renamed to ...
15582 (abi-*): This.
15583 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15584 * sysdeps/x86_64/x32/shlib-versions: Likewise.
15585
4da0431d
JM
155862012-05-30 Joseph Myers <joseph@codesourcery.com>
15587
3a85279c
JM
15588 * sysdeps/unix/sysv/linux/kernel-features.h
15589 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15590 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15591 include <kernel-features.h>.
15592 [!__NR_ftruncate64]: Remove conditional code.
15593 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15594 [__NR_ftruncate64]: Make code unconditional.
15595 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15596 * sysdeps/unix/sysv/linux/truncate64.c: Do not
15597 include <kernel-features.h>.
15598 [!__NR_ftruncate64]: Remove conditional code.
15599 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15600 [__NR_ftruncate64]: Make code unconditional.
15601 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15603 include <kernel-features.h>.
15604 [!__NR_ftruncate64]: Remove conditional code.
15605 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15606 [__NR_ftruncate64]: Make code unconditional.
15607 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15609 include <kernel-features.h>.
15610 [!__NR_ftruncate64]: Remove conditional code.
15611 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15612 [__NR_ftruncate64]: Make code unconditional.
15613 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15614
4da0431d
JM
15615 * configure.in (libc_cv_fpie): Weaken to a compile test using
15616 LIBC_TRY_CC_OPTION.
15617 * configure: Regenerated.
15618
11ef492c
AK
156192012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15620
15621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15625 Refreshed.
15626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15632 Refreshed.
15633
d66ef399
DM
156342012-05-27 David S. Miller <davem@davemloft.net>
15635
15636 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15637 (___Q_zero): New.
15638 (__Q_simulate_exceptions): Return void. Change to simulate
15639 exceptions by writing into the %fsr.
15640 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15641 (__Qp_handle_exceptions): Likewise.
15642 (numbers): Delete.
15643 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15644 __Qp_handle_exceptions.
15645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15646 __Qp_handle_exceptions.
15647 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15648 as unused and give dummy FP_RND_NEAREST initializer.
15649 (FP_INHIBIT_RESULTS): Define.
15650 (___Q_simulate_exceptions): Update declaration.
15651 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15652 formatting.
15653 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15654 as unused and give dummy FP_RND_NEAREST initializer.
15655 (__Qp_handle_exceptions): Update declaration.
15656 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15657 formatting.
15658
04fb54b5
TS
156592012-05-27 Thomas Schwinge <thomas@codesourcery.com>
15660
15661 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15662 the temporary FPU control word.
15663 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15664 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15665 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15666 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15667 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15668 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15669 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15670 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15671 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15672 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15673 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15674
3f99608f
KK
156752012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15676
15677 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15678 fields.
15679
65a4de4e
CLT
156802012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
15681
15682 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15683 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15684 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15685 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15686 Likewise.
15687 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15688 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15689 Likewise.
15690
15749d40
UD
156912012-05-27 Ulrich Drepper <drepper@gmail.com>
15692
15693 * po/h.po: Update from translation team.
15694
25dbcb27
AS
156952012-05-26 Andreas Schwab <schwab@linux-m68k.org>
15696
3d3f8e55
AS
15697 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15698
25dbcb27
AS
15699 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15700 handling of denormals.
15701 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15702 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15703 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15704 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15705 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15706 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15707 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15708 Likewise.
15709
7ad47a80 157102012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
15711
15712 [BZ #14152]
15713 * math/libm-test.inc (fma_test): Don't always expect underflow
15714 exception.
15715
9c6ea9fa
SP
157162012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15717
15718 [BZ #12416]
15719 * elf/tst-execstack.c: Include stackinfo.h.
15720 (do_test): Adjust test case to ensure that pthread_getattr_np
15721 behaviour remains the same after marking stack executable.
15722
a8239222
JM
157232012-05-25 Joseph Myers <joseph@codesourcery.com>
15724
15725 * sysdeps/unix/sysv/linux/kernel-features.h
15726 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15727 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15728 kernel-features.h.
15729 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15730 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15731 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
15732 kernel-features.h.
15733 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15734 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15735
918b5606
L
157362012-05-25 H.J. Lu <hongjiu.lu@intel.com>
15737
15738 * configure.in: Define the default includes to being none.
15739 * configure: Regenerated.
15740
3a097cc7
RM
157412012-05-25 Roland McGrath <roland@hack.frob.com>
15742
8422c9a5
RM
15743 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
15744 * sysdeps/x86_64/setjmp.S: Likewise.
15745 * sysdeps/i386/bsd-setjmp.S: Likewise.
15746 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15747 * sysdeps/i386/setjmp.S: Likewise.
15748 * sysdeps/i386/__longjmp.S: Likewise.
15749 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15750 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
15751
3a097cc7
RM
15752 * include/stap-probe.h: New file.
15753 * configure.in: Handle --enable-systemtap.
15754 * configure: Regenerated.
15755 * config.h.in (USE_STAP_PROBE): New #undef.
15756 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
15757 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
15758 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15759
21708942
JM
157602012-05-25 Joseph Myers <joseph@codesourcery.com>
15761
15762 [BZ #13717]
15763 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15764 to 2.4.0 where earlier.
15765 * sysdeps/unix/sysv/linux/configure: Regenerated.
15766 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15767 <kernel-features.h>.
15768 [__ASSUME_32BITUIDS]: Make code unconditional.
15769 [!__ASSUME_32BITUIDS]: Remove conditional code.
15770 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
15771 <kernel-features.h>.
15772 [__ASSUME_32BITUIDS]: Make code unconditional.
15773 [!__ASSUME_32BITUIDS]: Remove conditional code.
15774 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
15775 [__ASSUME_32BITUIDS]: Make code unconditional.
15776 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
15777 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
15778 <kernel-features.h>.
15779 [__ASSUME_32BITUIDS]: Make code unconditional.
15780 [!__ASSUME_32BITUIDS]: Remove conditional code.
15781 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
15782 <kernel-features.h>.
15783 [__ASSUME_32BITUIDS]: Make code unconditional.
15784 [!__ASSUME_32BITUIDS]: Remove conditional code.
15785 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
15786 <kernel-features.h>.
15787 [__ASSUME_32BITUIDS]: Make code unconditional.
15788 [!__ASSUME_32BITUIDS]: Remove conditional code.
15789 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
15790 <kernel-features.h>.
15791 [__ASSUME_32BITUIDS]: Make code unconditional.
15792 [!__ASSUME_32BITUIDS]: Remove conditional code.
15793 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15794 <kernel-features.h>.
15795 [__ASSUME_32BITUIDS]: Make code unconditional.
15796 [!__ASSUME_32BITUIDS]: Remove conditional code.
15797 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15798 <kernel-features.h>.
15799 [__ASSUME_32BITUIDS]: Make code unconditional.
15800 [!__ASSUME_32BITUIDS]: Remove conditional code.
15801 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
15802 <kernel-features.h>.
15803 [__ASSUME_32BITUIDS]: Make code unconditional.
15804 [!__ASSUME_32BITUIDS]: Remove conditional code.
15805 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15806 <kernel-features.h>.
15807 [__ASSUME_32BITUIDS]: Make code unconditional.
15808 [!__ASSUME_32BITUIDS]: Remove conditional code.
15809 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15810 <kernel-features.h>.
15811 [__ASSUME_32BITUIDS]: Make code unconditional.
15812 [!__ASSUME_32BITUIDS]: Remove conditional code.
15813 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
15814 <kernel-features.h>.
15815 [__ASSUME_32BITUIDS]: Make code unconditional.
15816 [!__ASSUME_32BITUIDS]: Remove conditional code.
15817 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
15818 <kernel-features.h>.
15819 [__NR_setresgid] (__setresgid): Do not declare.
15820 [__ASSUME_32BITUIDS]: Make code unconditional.
15821 [!__ASSUME_32BITUIDS]: Remove conditional code.
15822 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
15823 <kernel-features.h>.
15824 [__NR_setresuid] (__setresuid): Do not declare.
15825 [__ASSUME_32BITUIDS]: Make code unconditional.
15826 [!__ASSUME_32BITUIDS]: Remove conditional code.
15827 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
15828 <kernel-features.h>.
15829 [__ASSUME_32BITUIDS]: Make code unconditional.
15830 [!__ASSUME_32BITUIDS]: Remove conditional code.
15831 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
15832 <kernel-features.h>.
15833 [__ASSUME_32BITUIDS]: Make code unconditional.
15834 [!__ASSUME_32BITUIDS]: Remove conditional code.
15835 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
15836 <kernel-features.h>.
15837 [__ASSUME_32BITUIDS]: Make code unconditional.
15838 [!__ASSUME_32BITUIDS]: Remove conditional code.
15839 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
15840 <kernel-features.h>.
15841 [__ASSUME_32BITUIDS]: Make code unconditional.
15842 [!__ASSUME_32BITUIDS]: Remove conditional code.
15843 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
15844 <kernel-features.h>.
15845 [__ASSUME_32BITUIDS]: Make code unconditional.
15846 [!__ASSUME_32BITUIDS]: Remove conditional code.
15847 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
15848 <kernel-features.h>.
15849 [__ASSUME_32BITUIDS]: Make code unconditional.
15850 [!__ASSUME_32BITUIDS]: Remove conditional code.
15851 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
15852 <kernel-features.h>.
15853 [__ASSUME_32BITUIDS]: Make code unconditional.
15854 [!__ASSUME_32BITUIDS]: Remove conditional code.
15855 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
15856 <kernel-features.h>.
15857 [__ASSUME_32BITUIDS]: Make code unconditional.
15858 [!__ASSUME_32BITUIDS]: Remove conditional code.
15859 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
15860 <kernel-features.h>.
15861 [__ASSUME_32BITUIDS]: Make code unconditional.
15862 [!__ASSUME_32BITUIDS]: Remove conditional code.
15863 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15864 <kernel-features.h>.
15865 [__ASSUME_32BITUIDS]: Make code unconditional.
15866 [!__ASSUME_32BITUIDS]: Remove conditional code.
15867 * sysdeps/unix/sysv/linux/kernel-features.h
15868 (__ASSUME_SETRESUID_SYSCALL): Remove.
15869 (__ASSUME_SETRESGID_SYSCALL): Likewise.
15870 (__ASSUME_32BITUIDS): Likewise.
15871 (__ASSUME_LDT_WORKS): Likewise.
15872 (__ASSUME_O_DIRECTORY): Likewise.
15873 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
15874 architecture but not kernel version.
15875 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15876 (__ASSUME_MMAP2_SYSCALL): Likewise.
15877 (__ASSUME_STAT64_SYSCALL): Likewise.
15878 (__ASSUME_IPC64): Likewise.
15879 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
15880 <kernel-features.h>.
15881 [__ASSUME_32BITUIDS]: Make code unconditional.
15882 [!__ASSUME_32BITUIDS]: Remove conditional code.
15883 * sysdeps/unix/sysv/linux/opendir.c: Do not include
15884 <kernel-features.h>.
15885 [__ASSUME_O_DIRECTORY]: Make code unconditional.
15886 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
15887 132096]: Remove conditional code.
15888 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
15889 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/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/setegid.c: Do not include
15898 <kernel-features.h>.
15899 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
15900 unconditional.
15901 (__setresgid): Do not declare.
15902 [__ASSUME_32BITUIDS]: Make code unconditional.
15903 [!__ASSUME_32BITUIDS]: Remove conditional code.
15904 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
15905 <kernel-features.h>.
15906 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
15907 unconditional.
15908 (__setresuid): Do not declare.
15909 [__ASSUME_32BITUIDS]: Make code unconditional.
15910 [!__ASSUME_32BITUIDS]: Remove conditional code.
15911 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15912 <kernel-features.h>.
15913 [__ASSUME_32BITUIDS]: Make code unconditional.
15914 [!__ASSUME_32BITUIDS]: Remove conditional code.
15915 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
15916 <kernel-features.h>.
15917 [__ASSUME_32BITUIDS]: Make code unconditional.
15918 [!__ASSUME_32BITUIDS]: Remove conditional code.
15919
a386f1cc
RH
159202012-05-25 Richard Henderson <rth@twiddle.net>
15921
15922 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
15923 dl_hwcap to ifunc resolver.
15924 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
15925 elf_ifunc_invoke.
15926 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
15927 dl_hwcap to ifunc resolver.
15928 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
15929
b6550497
JM
159302012-05-24 Joseph Myers <joseph@codesourcery.com>
15931
15932 [BZ #14153]
15933 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
15934 for |x| <= 2**-26, not 2**-57.
15935 * math/libm-test.inc (acos_test): Do not allow spurious underflow
15936 exception.
15937
b0bc23a1
JL
159382012-05-24 Jeff Law <law@redhat.com>
15939
15940 * stdio-common/Makefile (tests): Add bug25.
15941 * stdio-common/bug25.c: New test.
15942
347c92e9
L
159432012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15944
15945 [BZ #13576]
15946 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
15947 multiple of MALLOC_ALIGNMENT in size.
15948 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
15949
6bcc8b3f
JM
159502012-05-24 Joseph Myers <joseph@codesourcery.com>
15951
15952 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
15953 Require >= 256.
15954 (FILENAME_MAX): Use macro-int-constant.
15955 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
15956 (_IOFBF): Use macro-int-constant.
15957 (_IOLBF): Likewise.
15958 (_IONBF): Likewise.
15959 (SEEK_CUR): Likewise.
15960 (SEEK_END): Likewise.
15961 (SEEK_SET): Likewise.
15962 (TMP_MAX): Likewise.
15963 (EOF): Use macro-int-constant. Require < 0.
15964 (NULL): Use macro-constant. Require == 0.
15965 (stdin): Require type to be FILE *.
15966 (stdout): Likewise.
15967 (stderr): Likewise.
15968 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
15969 macro-int-constant.
15970 (EXIT_SUCCESS): Likewise.
15971 (NULL): Use macro-constant. Require == 0.
15972 (RAND_MAX): Use macro-int-constant.
15973 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
15974 [C99-based standards] (strtof): Require function.
15975 [C99-based standards] (strtold): Likewise.
15976 [C99-based standards] (strtoll): Likewise.
15977 [C99-based standards] (strtoull): Likewise.
15978 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15979 [ISO || ISO99 || ISO11] (limits.h): Likewise.
15980 [ISO || ISO99 || ISO11] (math.h): Likewise.
15981 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
15982 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15983 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15984
d18ea0c5
AS
159852012-05-24 Andreas Schwab <schwab@linux-m68k.org>
15986
15987 [BZ #14132]
56d25bb8
AS
15988 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
15989 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
15990 * intl/dgettext.c (DCGETTEXT): Likewise.
15991 * intl/gettext.c (DCGETTEXT): Likewise.
15992 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
15993 * posix/regex_internal.h (gettext): Likewise.
15994 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
15995 Remove declaration.
15996 * include/argz.h (__argz_count_internal)
15997 (__argz_stringify_internal): Remove declaration.
15998 (__argz_count, __argz_stringify): Declare hidden proto.
15999 * intl/dcgettext.c: Remove use of INTDEF.
16000 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16001 * string/argz-stringify.c: Likewise.
16002 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16003 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16004 Declare hidden proto.
d18ea0c5
AS
16005 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16006 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16007 Declare hidden proto.
16008 * include/stdio.h (__asprintf_internal): Don't declare.
16009 (__asprintf): Don't define as macro. Declare hidden proto.
16010 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16011 (__fsetlocking): Declare hidden proto.
16012 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16013 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16014 hidden proto.
16015 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16016 (_IO_setlinebuf): Remove use of INTUSE.
16017 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16018 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16019 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16020 Remove declaration.
16021 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16022 (_IO_do_flush): Remove use of INTUSE.
16023 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16024 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16025 (_IO_adjust_column, _IO_least_wmarker)
16026 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16027 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16028 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16029 (_IO_default_doallocate, _IO_wdefault_doallocate)
16030 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16031 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16032 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16033 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16034 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16035 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16036 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16037 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16038 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16039 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16040 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16041 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16042 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16043 proto.
16044 (_IO_flush_all_internal, _IO_adjust_column_internal)
16045 (_IO_default_uflow_internal, _IO_default_finish_internal)
16046 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16047 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16048 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16049 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16050 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16051 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16052 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16053 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16054 (_IO_file_close_internal, _IO_file_close_it_internal)
16055 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16056 (_IO_file_init_internal, _IO_file_attach_internal)
16057 (_IO_file_fopen_internal, _IO_file_read_internal)
16058 (_IO_file_sync_internal, _IO_file_seek_internal)
16059 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16060 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16061 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16062 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16063 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16064 (_IO_list_all_internal, _IO_link_in_internal)
16065 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16066 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16067 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16068 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16069 (_IO_do_write_internal, _IO_padn_internal)
16070 (_IO_getline_info_internal, _IO_getline_internal)
16071 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16072 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16073 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16074 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16075 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16076 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16077 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16078 with libc_hidden_ver, remove use of INTUSE.
16079 * libio/genops.c: Likewise.
16080 * libio/freopen.c: Likewise.
16081 * libio/freopen64.c: Likewise.
16082 * libio/iofclose.c: Likewise.
16083 * libio/iofdopen.c: Likewise.
16084 * libio/iofflush.c: Likewise.
16085 * libio/iofflush_u.c: Likewise.
16086 * libio/iofgets.c: Likewise.
16087 * libio/iofgets_u.c: Likewise.
16088 * libio/iofopen.c: Likewise.
16089 * libio/iofopncook.c: Likewise.
16090 * libio/iofread.c: Likewise.
16091 * libio/iofread_u.c: Likewise.
16092 * libio/ioftell.c: Likewise.
16093 * libio/iofwrite.c: Likewise.
16094 * libio/iogetline.c: Likewise.
16095 * libio/iogets.c: Likewise.
16096 * libio/iogetwline.c: Likewise.
16097 * libio/iopadn.c: Likewise.
16098 * libio/iopopen.c: Likewise.
16099 * libio/ioseekoff.c: Likewise.
16100 * libio/ioseekpos.c: Likewise.
16101 * libio/iosetbuffer.c: Likewise.
16102 * libio/iosetvbuf.c: Likewise.
16103 * libio/ioungetc.c: Likewise.
16104 * libio/ioungetwc.c: Likewise.
16105 * libio/iovdprintf.c: Likewise.
16106 * libio/iovsprintf.c: Likewise.
16107 * libio/iovsscanf.c: Likewise.
16108 * libio/memstream.c: Likewise.
16109 * libio/obprintf.c: Likewise.
16110 * libio/oldfileops.c: Likewise.
16111 * libio/oldiofclose.c: Likewise.
16112 * libio/oldiofdopen.c: Likewise.
16113 * libio/oldiofopen.c: Likewise.
16114 * libio/oldiopopen.c: Likewise.
16115 * libio/oldstdfiles.c: Likewise.
16116 * libio/putc.c: Likewise.
16117 * libio/setbuf.c: Likewise.
16118 * libio/setlinebuf.c: Likewise.
16119 * libio/stdfiles.c: Likewise.
16120 * libio/strops.c: Likewise.
16121 * libio/vasprintf.c: Likewise.
16122 * libio/vscanf.c: Likewise.
16123 * libio/vsnprintf.c: Likewise.
16124 * libio/vswprintf.c: Likewise.
16125 * libio/wfiledoalloc.c: Likewise.
16126 * libio/wfileops.c: Likewise.
16127 * libio/wgenops.c: Likewise.
16128 * libio/wmemstream.c: Likewise.
16129 * libio/wstrops.c: Likewise.
16130 * libio/__fpurge.c: Likewise.
16131 * libio/__fsetlocking.c: Likewise.
16132 * assert/assert.c: Likewise.
16133 * debug/fgets_chk.c: Likewise.
16134 * debug/fgets_u_chk.c: Likewise.
16135 * debug/fread_chk.c: Likewise.
16136 * debug/fread_u_chk.c: Likewise.
16137 * debug/gets_chk.c: Likewise.
16138 * debug/obprintf_chk.c: Likewise.
16139 * debug/vasprintf_chk.c: Likewise.
16140 * debug/vdprintf_chk.c: Likewise.
16141 * debug/vsnprintf_chk.c: Likewise.
16142 * debug/vsprintf_chk.c: Likewise.
16143 * malloc/mtrace.c: Likewise.
16144 * misc/error.c: Likewise.
16145 * misc/syslog.c: Likewise.
16146 * stdio-common/asprintf.c: Likewise.
16147 * stdio-common/fxprintf.c: Likewise.
16148 * stdio-common/getw.c: Likewise.
16149 * stdio-common/isoc99_fscanf.c: Likewise.
16150 * stdio-common/isoc99_scanf.c: Likewise.
16151 * stdio-common/isoc99_vfscanf.c: Likewise.
16152 * stdio-common/isoc99_vscanf.c: Likewise.
16153 * stdio-common/isoc99_vsscanf.c: Likewise.
16154 * stdio-common/printf-prs.c: Likewise.
16155 * stdio-common/printf_fp.c: Likewise.
16156 * stdio-common/printf_fphex.c: Likewise.
16157 * stdio-common/printf_size.c: Likewise.
16158 * stdio-common/putw.c: Likewise.
16159 * stdio-common/scanf.c: Likewise.
16160 * stdio-common/sprintf.c: Likewise.
16161 * stdio-common/tmpfile.c: Likewise.
16162 * stdio-common/vfprintf.c: Likewise.
16163 * stdio-common/vfscanf.c: Likewise.
16164 * stdlib/strfmon_l.c: Likewise.
16165 * sunrpc/openchild.c: Likewise.
16166 * sunrpc/xdr_stdio.c: Likewise.
16167 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16168 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16169
d6c33fda
RM
161702012-05-24 Roland McGrath <roland@hack.frob.com>
16171
c1487492
RM
16172 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16173
16174 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16175 in the third column, to generate for the shared library an IFUNC
16176 that uses _dl_vdso_vsym.
16177 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16178 * Makeconfig (object-suffixes-noshared): New variable.
16179
16180 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16181 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16182 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16183 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16184
d6c33fda
RM
16185 [BZ #14132]
16186 * include/sys/time.h (__gettimeofday): Remove macro.
16187 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16188 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16189 Remove INTDEF.
16190 (__gettimeofday): Add libc_hidden_def.
16191 (gettimeofday): Add libc_hidden_weak.
16192 * sysdeps/mach/gettimeofday.c: Likewise.
16193 * sysdeps/posix/gettimeofday.c: Likewise.
16194 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16195 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16196 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16197 (__gettimeofday_internal): Remove strong_alias.
16198 (__gettimeofday): Add libc_hidden_def.
16199 (gettimeofday): Add libc_hidden_weak.
16200 * sysdeps/unix/syscalls.list (gettimeofday):
16201 Remove __gettimeofday_internal alias.
16202
b5a2bbe6
L
162032012-05-24 Daniel Jacobowitz <drow@false.org>
16204 H.J. Lu <hongjiu.lu@intel.com>
16205
16206 [BZ #12495]
16207 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16208 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16209 (largebin_index_32_big): New.
16210 (largebin_index): Use it for 16-byte alignment.
16211 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16212 correction with front_misalign.
16213
cfba4fda
L
162142012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16215
7f907421
L
16216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16217 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16218 Likewise.
16219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16220 Likewise.
16221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16222 Likewise.
16223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16224 Likewise.
16225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16226 Likewise.
16227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16228 Likewise.
16229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16230 Likewise.
16231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16232 Likewise.
16233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16234 Likewise.
16235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16236 Likewise.
16237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16238 Likewise.
16239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16240 Likewise.
16241
cfba4fda
L
16242 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16243 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16244
80bad0cc
JM
162452012-05-24 Joseph Myers <joseph@codesourcery.com>
16246
7a25eb06
JM
16247 [BZ #10846]
16248 [BZ #14036]
16249 * math/libm-test.inc (exp_test): Add test from bug 14036.
16250 (pow_test): Add test from bug 10846.
16251
795405f9
JM
16252 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16253 and other flags.
16254 (special_function): Do not include flags in test name.
16255 (parse_args): Likewise.
16256 * sysdeps/i386/fpu/libm-test-ulps: Update.
16257 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16258 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16259 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16261
80bad0cc
JM
16262 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16263 exceptions.
16264 * math/libm-test.inc ("Philosophy"): Update comment about
16265 exception testing.
16266 (UNDERFLOW_EXCEPTION): New macro.
16267 (UNDERFLOW_EXCEPTION_OK): Likewise.
16268 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16269 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16270 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16271 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16272 (INVALID_EXCEPTION_OK): Update value.
16273 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16274 (OVERFLOW_EXCEPTION_OK): Likewise.
16275 (IGNORE_ZERO_INF_SIGN): Likewise.
16276 (test_exceptions): Handle underflow exceptions.
16277 (acos_test): Update for underflow exception expectations.
16278 (cexp_test): Likewise.
16279 (clog_test): Likewise.
16280 (clog10_test): Likewise.
16281 (csqrt_test): Likewise.
16282 (ctan_test): Likewise.
16283 (ctanh_test): Likewise.
16284 (exp_test): Likewise.
16285 (exp10_test): Likewise.
16286 (exp2_test): Likewise.
16287 (expm1_test): Likewise.
16288 (fma_test): Likewise.
16289 (j0_test): Likewise.
16290 (jn_test): Likewise.
16291 (nexttoward_test): Likewise.
16292 (pow_test): Likewise.
16293 (scalbn_test): Likewise.
16294 (scalbln_test): Likewise.
16295 (tan_test): Likewise.
16296 (y1_test): Likewise.
16297 * sysdeps/i386/fpu/libm-test-ulps: Update.
16298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16299
9e0e3d0b
DM
163002012-05-23 David S. Miller <davem@davemloft.net>
16301
16302 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16303 (__libc_sigaction): Remove unused local variables.
16304
ccd0a08f
L
163052012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16306
16307 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16308
62bdf9a6
PE
163092012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16310
f8591f80
PE
16311 mktime: avoid signed integer overflow
16312 * time/mktime.c (__mktime_internal): Do not mishandle the case
16313 where diff == INT_MIN.
16314
94c7d826
PE
16315 mktime: simplify computation of average
16316 * time/mktime.c (ranged_convert): Use new time_t_avg function
16317 instead of rolling our own (probably-slower) code.
16318
ce73d683
PE
16319 mktime: do not assume signed right shift propagates sign bit
16320 * time/mktime.c (isdst_differ): New static function.
16321 (__mktime_internal): No need to normalize tm_isdst now.
16322 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16323 tm_isdst values.
16324
72a22e59
PE
16325 mktime: merge another wrapv change from gnulib
16326 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16327 from some compilers.
16328
68605433
PE
16329 mktime: remove incorrect attempt at unusual arithmetics
16330 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16331 The code didn't really work on such machines anyway.
16332 (TYPE_MINIMUM): Assume two's complement.
16333 (twos_complement_arithmetic): Verify that long_int and time_t
16334 are two's complement (or unsigned, in the latter case).
16335
03cf7fe3
PE
16336 mktime: check signed shifts on long_int and time_t, too
16337 * time/mktime.c (SHR): Check that shifts work as desired
16338 on the types long_int and time_t too, as SHR is used on
16339 such types.
16340
f04dfbc2
PE
16341 mktime: do not assume 'long' is wide enough
16342 * time/mktime.c (verify): Move decl up.
16343 (long_int): New type.
16344 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16345 to remove assumption in the code that 'long' is wide enough to
16346 store year values. This assumption is not true on x32 and on
16347 some non-glibc platforms.
16348
62bdf9a6
PE
16349 mktime: merge wrapv change from gnulib
16350 * time/mktime.c (WRAPV): New macro.
16351 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16352 (guess_time_tm, __mktime_internal): Do not assume that signed
16353 integer overflow wraps around; modern compilers generate code
16354 where this assumption is no longer valid.
16355
5e292e4f
L
163562012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16357
16358 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16359 Replace "jmp L(pseudo_end)" with "ret".
16360 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16361 Likewise.
16362
8caf8c87
AJ
163632012-05-23 Andreas Jaeger <aj@suse.de>
16364
16365 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16366 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16367
1a09dc56
AJ
163682012-05-23 Andreas Jaeger <aj@suse.de>
16369 Maximilian Attems <max@stro.at>
16370
16371 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16372 New macros.
16373
1c87aba0
L
163742012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16375
16376 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16377 code so that pseudo_end is just ret and the stack pointer is
16378 correct also for static library in error case.
16379
40e45bd5
JM
163802012-05-23 Joseph Myers <joseph@codesourcery.com>
16381
c2670533
JM
16382 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16383 move to syscalls.list.
16384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16388
40e45bd5
JM
16389 * manual/install.texi (Running make install): Do not mention Linux
16390 kernel version for which pt_chown is not needed.
16391 (Linux): Do not mention problems with nscd with 2.0 kernels.
16392 * INSTALL: Regenerated.
16393
be08eda5
AJ
163942012-05-23 Andreas Jaeger <aj@suse.de>
16395
16396 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16397 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16398 macro.
16399 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16400 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16401 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16402 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16403 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16404 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16405 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16406 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16407 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16408 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16409 * sysdeps/unix/sysv/linux/bits/in.h
16410 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16411
a6a056bb
RM
164122012-05-22 Roland McGrath <roland@hack.frob.com>
16413
16414 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16415 (PREPARE_VERSION): Just use assert instead, it will be elided
16416 under [NDEBUG] anyway.
16417
c9009328
L
164182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16419
16420 * sysdeps/unix/sysv/linux/Makefile: Include
16421 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 16422 (sysdep_routines): Remove sysctl.
c9009328
L
16423 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16424 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16425 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16426 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16427 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16428
73338355
AJ
164292012-05-22 Andreas Jaeger <aj@suse.de>
16430
16431 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16432 that pseudo_end is just ret and the stack pointer is correct also
16433 for static library in error case.
16434
d44638b0
PP
164352012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16436
16437 [BZ #14122]
16438 * nss/nsswitch.c (defconfig_entries): New variable.
16439 (__nss_database_lookup): Don't leak defconfig entries.
16440 (nss_parse_service_list): Don't leak on error paths.
16441 (free_database_entries): New function.
16442 (free_defconfig): New function.
16443 (free_mem): Move common code to free_database_entries.
16444
31a39bd8
L
164452012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16446
da0331a8
L
16447 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16448 Add arch_prctl.
16449 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16450
31a39bd8
L
16451 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16452 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16453 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16454 New macro.
16455 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16456 (INTERNAL_SYSCALL_TYPES): Likewise.
16457 (LOAD_ARGS_TYPES_[1-6]): Likewise.
16458 (LOAD_REGS_TYPES_[1-6]): Likewise.
16459 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16460 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16461
45470df3
AZ
164622012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16463
16464 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16465 copysignl for GLIBC_2_0.
16466 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16467 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16468 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16469 logbl for GLIBC_2_0.
16470 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16471 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16472
98a61bcb
L
164732012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16474
a4f6e481
L
16475 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16476 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16477
f63d5db6
L
16478 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16479 Use "neg %eax".
16480
98a61bcb
L
16481 * time/mktime.c: Update copyright years.
16482
95770f14
PE
164832012-05-22 Paul Eggert <eggert@cs.ucla.edu>
16484
6226efbd
PE
16485 mktime: merge comment-quoting-style change from gnulib
16486 * time/mktime.c: Quote 'like this' in comments.
16487 The GNU coding standards suggest that we no longer quote `like this',
16488 as "`" and "'" are typically rendered asymmetrically nowadays.
16489 The typical gnulib style is to quote 'like this' when quoting
16490 code, and "like this" when quoting English.
16491
b99e4f78
PE
16492 * time/mktime.c (compile-command): Add "-I.".
16493
643e01e6
PE
16494 mktime: merge mktime-internal.h change from gnulib
16495 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16496
2554247d
PE
16497 mktime: merge time_r change from gnulib
16498 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16499
826dd0ab
PE
16500 mktime: merge DEBUG change from gnulib
16501 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16502 case system <time.h> has a #define.
16503
bd83aabe
PE
16504 mktime: merge <sys/types.h> change from gnulib
16505 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16506 since <time.t> is now guaranteed to define time_t.
16507
95770f14
PE
16508 mktime: merge HAVE_CONFIG_H change from gnulib
16509 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16510
5e1a27a9
L
165112012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16512
0e44a77e
L
16513 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16514 Use "neg %eax".
16515
5e1a27a9
L
16516 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16517 __rlim_t cast.
16518 (struct rusage): Use anonymous union to pad each field to
16519 __syscall_slong_t.
16520
46259bec
DM
165212012-05-21 David S. Miller <davem@davemloft.net>
16522
16523 * Makefules (o-iterator): Remove .s cases.
16524 (compile-command.s): Delete.
16525 (COMPILE.s): Delete.
16526 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16527
59f0c22e
JM
165282012-05-21 Joseph Myers <joseph@codesourcery.com>
16529
16530 * configure.in (libc_cv_predef_stack_protector): Only consider
16531 "foobar" and "__stack_chk_fail" lines in libc_undefs.
16532 * configure: Regenerated.
16533
20c07380
L
165342012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16535
bbb3154b
L
16536 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16537 New macro. Use R*LP on int and pointer.
16538 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
16539 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16540 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
16541 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16542
20c07380
L
16543 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16544 [__WORDSIZE_TIME64_COMPAT32] instead of
16545 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16546 (struct utmp): Likewise.
16547 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16548 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16549 Renamed to ...
16550 (__WORDSIZE_TIME64_COMPAT32): This.
16551 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16552 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16553 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16554 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16555 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16556 (__WORDSIZE_TIME64_COMPAT32): New macro.
16557
d8d1017e
AJ
165582012-05-21 Andreas Jaeger <aj@suse.de>
16559
16560 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16561 only if [SHARED]. Add prototype for __wcschr_ia32.
16562
6c7fb145
RM
165632012-05-21 Roland McGrath <roland@hack.frob.com>
16564
16565 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16566 of %rbp unmolested in the jmp_buf while mangling the low bits.
16567 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16568 unmolested high bits of %rbp while demangling the low bits.
16569 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16570
66274218
AJ
165712012-05-21 Andreas Jaeger <aj@suse.de>
16572
07c58f8f
AJ
16573 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16574 * sunrpc/svc_simple.c: Use it for registerrpc.
16575 * sunrpc/xcrypt.c: Use it for passwd2des.
16576
66274218
AJ
16577 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16578
61f65140
L
165792012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16580
16581 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16582 Don't define if [__SYSCALL_WORDSIZE != 32].
16583 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16584 New macro.
16585
5fefb436
AJ
165862012-05-21 Bruno Haible <bruno@clisp.org>
16587 Andreas Jaeger <aj@suse.de>
16588
16589 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16590 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16591 inptr and inend for must_buffer_ch.
16592 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16593 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16594 * stdio-common/Makefile (tests): Remove bug15.
16595 (bug15-ENV): Remove macro.
16596 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16597 anymore.
16598
d8e272ab
AJ
165992012-05-19 Andreas Jaeger <aj@suse.de>
16600 Roland McGrath <roland@hack.frob.com>
16601
16602 * manual/contrib.texi: Completely rewritten. It contains now an
16603 alphabetical list of contributors and their contributions.
16604
4a56a162
RH
166052012-05-21 Richard Henderson <rth@twiddle.net>
16606
16607 * misc/getauxval.c (__getauxval): Use unsigned long int.
16608 * misc/sys/auxv.h: Include <sys/cdefs.h>.
16609 (getauxval): Use unsigned long int.
16610
d024d23c
L
166112012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16612
16613 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16614
cbc00a03
RM
166152012-05-21 Roland McGrath <roland@hack.frob.com>
16616
16617 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16618 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16619 __alignof__ (long double).
16620
478143fa
AZ
166212012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16622
16623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16624
c7683a6d
RH
166252012-05-20 Richard Henderson <rth@twiddle.net>
16626
16627 * misc/getauxval.c: New file.
16628 * misc/sys/auxv.h: New file.
16629 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16630 (routines): Add getauxval.
16631 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16632 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16633 * elf/dl-sysdep.c (_dl_auxv): Remove.
16634 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16635 * elf/dl-support.c (_dl_auxv): New variable.
16636 (_dl_aux_init): Initialize it.
16637 * manual/startup.texi (Auxiliary Vector): New node.
16638 * sysdeps/generic/bits/hwcap.h: New file.
16639 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16640 * sysdeps/powerpc/sysdep.h: ... here. Include it.
16641 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16642 * sysdeps/sparc/sysdep.h: ... here. Include it.
16643 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16644 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
16645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16646 Update.
c7683a6d
RH
16647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16650 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16651 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16654 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16655
a6f1845d
AZ
166562012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16657
16658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16659
cbcbe830
DM
166602012-05-19 David S. Miller <davem@davemloft.net>
16661
16662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16663
e0b16cc2
JM
166642012-05-19 Joseph Myers <joseph@codesourcery.com>
16665
16666 [BZ #14123]
16667 * math/s_ccosh.c: Include <float.h>
16668 (__ccosh): Avoid internal overflow calculating sinh and cosh
16669 values before multiplying by sin and cos values.
16670 * math/s_ccoshf.c: Likewise.
16671 * math/s_ccoshl.c: Likewise.
16672 * math/s_csin.c: Likewise.
16673 * math/s_csinf.c: Likewise.
16674 * math/s_csinl.c: Likewise.
16675 * math/s_csinh.c: Likewise.
16676 * math/s_csinhf.c: Likewise.
16677 * math/s_csinhl.c: Likewise.
16678 * math/libm-test.inc (ccos_test): Add more tests.
16679 (ccosh_test): Likewise.
16680 (csin_test): Likewise.
16681 (csinh_test): Likewise.
16682 * sysdeps/i386/fpu/libm-test-ulps: Update.
16683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16684
6ad13e08
L
166852012-05-19 H.J. Lu <hongjiu.lu@intel.com>
16686
f66f0ce8
L
16687 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16688 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16689
6ad13e08
L
16690 * sysdeps/x86_64/x32/_itoa.h: Add comment.
16691
b1d072a7
JM
166922012-05-19 Joseph Myers <joseph@codesourcery.com>
16693
16694 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16695 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16696 * sysdeps/powerpc/soft-fp/Versions: Likewise.
16697 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16698 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16699 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16700 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16701 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16702 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16703 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16704 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16705 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16706 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16707 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16708 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16709 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16710 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16711 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16712 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16713 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16714 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16715 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16716 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16717 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16718 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16719 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16720 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16721 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16722 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16723 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16724 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16725
9eae47cb
AJ
167262012-05-18 Andreas Jaeger <aj@suse.de>
16727
16728 * csu/.gitignore: Delete.
16729
bb07f69f
L
167302012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16731
16732 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
16733 (timex): Use __syscall_slong_t.
16734
e6bdb741
AJ
167352012-05-18 Andreas Jaeger <aj@suse.de>
16736 Carlos O'Donell <carlos_odonell@mentor.com>
16737
16738 * manual/install.texi (Configuring and compiling): Update
16739 description about files modified in the source directory.
d6c33fda 16740 * INSTALL: Regenerated.
e6bdb741 16741
1b74487e
L
167422012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16743
16744 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
16745 value. Use "or" to set return value to -1.
16746 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
16747 negate return value.
16748
a88b64b9
TMQMF
167492012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16750
16751 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
16752 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
16753 failure if the compiler has Graphite support disabled.
16754 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
16755 Likewise.
16756 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
16757 CFLAGS-memmove.c): Likewise.
16758 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
16759 Likewise.
16760
3707636e
L
167612012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16762
610b8622
L
16763 * sysdeps/x86_64/x32/_itoa.h: New file.
16764
7cd195df
L
16765 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
16766 getdents system call only if kernel and user dirents have the
16767 same d_ino and d_off.
16768
94b07d20
L
16769 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16770 LLONG_MAX != LONG_MAX.
16771 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16772 (_fitoa_word): Likewise.
16773
18298070
L
16774 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
16775 years.
16776 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
16777 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
16778 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
16779
553c7ea4
L
16780 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
16781 include <bits/wordsize.h>. Check __x86_64__ instead of
16782 __WORDSIZE.
16783 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
16784 if __x86_64__ is defined. Use anonymous union on fpstate.
16785
3707636e
L
16786 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
16787 anonymous union.
16788
b53ef01a
AS
167892012-05-18 Andreas Schwab <schwab@linux-m68k.org>
16790
37fb1dc0
AS
16791 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16792 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
16793 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
16794 Refer to _rtld_local_ro instead of _rtld_global_ro.
16795 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
16796 Likewise.
16797 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
16798 Likewise.
16799 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
16800 Likewise.
16801 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
16802 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
16803 of _rtld_global, and rtld_progname instead of _dl_argv[0].
16804
b53ef01a
AS
16805 * sysdeps/powerpc/powerpc32/dl-machine.c
16806 (__elf_machine_runtime_setup) [PROF]: Don't reference
16807 _dl_prof_resolve.
16808
7a185db2
AJ
168092012-05-18 Andreas Jaeger <aj@suse.de>
16810
16811 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
16812 function only available for GCCs before 3.4 since GCC 3.4
16813 introduced a builtin.
16814 (lrint): Likewise.
16815 (llrintf): Likewise.
16816 (llrint): Likewise.
16817 (fmaxf): Likewise.
16818 (fmax): Likewise.
16819 (fminf): Likewise.
16820 (fmin): Likewise.
16821 (rint): Likewise.
16822 (rintf): Likewise.
16823 (nearbyint): Likewise.
16824 (nearbyintf): Likewise.
16825 (ceil): Likewise.
16826 (ceilf): Likewise.
16827 (floor): Likewise.
16828 (floorf): Likewise.
16829
3e5aef87
L
168302012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16831
428bd707
L
16832 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
16833 on both fields and cast pointer to __syscall_ulong_t.
16834
3e5aef87
L
16835 * bits/types.h (__fsword_t): New type.
16836 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
16837 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
16838 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16839 (__FSWORD_T_TYPE): Likewise.
16840 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16841 (__FSWORD_T_TYPE): Likewise.
16842 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16843 (__FSWORD_T_TYPE): Likewise.
16844 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
16845 (__FSWORD_T_TYPE): Likewise.
16846 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
16847 __SWORD_TYPE with __fsword_t.
16848 (statfs64): Likewise.
16849
1ba7c3dc
DM
168502012-05-17 David S. Miller <davem@davemloft.net>
16851
16852 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
16853
59910343
AJ
168542012-05-17 Andreas Jaeger <aj@suse.de>
16855
16856 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
16857 warning.
16858
2e4c1e9e
L
168592012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16860
16861 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
16862
de7f5ce7
AJ
168632012-05-17 Andreas Jaeger <aj@suse.de>
16864
16865 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
16866 when it is used.
16867
286abc3d
CM
168682012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16869
16870 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
16871
477cc68e
L
168722012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16873
16874 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
16875 * sysdeps/x86_64/tst-mallocalign1.c: New file.
16876
1a0994f5
CD
168772012-05-17 Andreas Jaeger <aj@suse.de>
16878 Carlos O'Donell <carlos_odonell@mentor.com>
16879
16880 [BZ #14059]
16881 * sysdeps/x86_64/multiarch/init-arch.h
16882 (bit_YMM_Usable): Rename to...
16883 (bit_AVX_Usable): ... this.
16884 (bit_FMA4_Usable): New macro.
16885 (bit_XMM_state): New macro.
16886 (bit_YMM_state): New macro.
16887 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
16888 [__ASSEMBLER__] (index_AVX_Usable): ... this.
16889 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
16890 (CPUID_OSXSAVE): New macro.
16891 (CPUID_AVX): New macro.
16892 (CPUID_FMA4): New macro.
16893 (index_YMM_Usable): Rename to...
16894 (index_AVX_Usable): ... this.
16895 (HAS_AVX): Use HAS_ARCH_FEATURE.
16896 (HAS_FMA4): Likewise.
16897 (HAS_YMM_USABLE): Remove.
16898 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16899 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
16900 are present.
16901 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
16902 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
16903 * sysdeps/x86_64/multiarch/Makefile: Likewise.
16904 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
16905 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
16906
0af797de
CM
169072012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16908
16909 * math/libm-test.c: Support platforms without multiple rounding modes.
16910 * math/bug-nextafter.c: Support platforms without FP exceptions.
16911 * math/bug-nexttoward.c: Likewise.
16912 * math/test-fenv.c: Likewise.
16913 * math/test-misc.c: Likewise.
16914 * stdlib/bug-getcontext.c: Likewise.
16915
e39745ff
AJ
169162012-05-17 Andreas Jaeger <aj@suse.de>
16917
16918 * manual/examples/search.c (critter_cmp): Change signature to
16919 avoid warnings.
16920 * manual/string.texi (Collation Functions): Likewise.
16921
48970aba
L
169222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16923
16924 * bits/types.h: Fold copyright years.
16925 * bits/typesizes.h: Likewise.
16926 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
16927 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16928 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
16929 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
16930 * time/time.h: Likewise.
16931
bedee953
PP
169322012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
16933
16934 [BZ #208]
16935 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
16936 in instead of returning them. Return void.
16937 (__libc_mallinfo): Accumulate over all arenas.
16938 (__malloc_stats): Adjust for change in int_mallinfo interface.
16939
61653dfb
RM
169402012-05-16 Roland McGrath <roland@hack.frob.com>
16941
30b99d79
RM
16942 [BZ #10375]
16943 * configure.in (NM): Add AC_CHECK_TOOL for it.
16944 (libc_extra_cflags): New substituted variable.
16945 Check for -fstack-protector being used implicitly.
16946 * configure: Regenerated.
16947 * config.make.in (config-extra-cflags): New variable,
16948 gets @libc_extra_cflags@.
16949 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
16950
61653dfb
RM
16951 [BZ #10375]
16952 * configure.in: Check for _FORTIFY_SOURCE being predefined.
16953 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
16954 * configure: Regenerated.
16955 * config.make.in (CPPUNDEFS): New substituted variable.
16956 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
16957 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
16958 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
16959
661768bb
L
169602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16961
16962 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
16963 (mq_attr): Use __syscall_slong_t.
16964
d4261567
L
169652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16966
16967 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
16968 Check __x86_64__ instead of __WORDSIZE.
16969 (_STAT_VER_LINUX): Likewise.
16970 (stat): Check __x86_64__ instead of __WORDSIZE. Use
16971 __syscall_ulong_t and __syscall_slong_t.
16972 (stat64): Likewise.
16973
cf3ff365
L
169742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16975
16976 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
16977
76cf3e4d
L
169782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16979
16980 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
16981
a637753a
L
169822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16983
16984 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
16985 __syscall_ulong_t.
16986
d5e05119
L
16987 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
16988 include <bits/wordsize.h>. Check __x86_64__ instead of
16989 __WORDSIZE.
16990 (greg_t): Use "__extension__ long long int" if __x86_64__ is
16991 defined.
16992 (mcontext_t): Replace "unsigned long" with "unsigned long long".
16993
f62ee380
L
16994 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
16995 include <bits/wordsize.h>. Check __x86_64__ instead of
16996 __WORDSIZE.
16997 (user_regs_struct): Use "__extension__ unsigned long long"
16998 instead of "unsigned long" if __x86_64__ is defined.
16999 (user): Likewise. Pad after pointer field if __ILP32__ is
17000 defined.
17001
4e124ced
JM
170022012-05-16 Joseph Myers <joseph@codesourcery.com>
17003
6a3951a0
JM
17004 * configure.in (makeinfo): Require version 4.5 or later. Allow
17005 versions 5 to 9.
17006 * configure: Regenerated.
17007 * manual/install.texi (texinfo): Increase version requirement to
17008 4.5 or later.
17009 * INSTALL: Regenerated.
17010
4e124ced
JM
17011 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17012
953ca31a
L
170132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17014
17015 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17016
617aca05
L
17017 * sysdeps/x86_64/x32/ffs.c: New file.
17018
5762f7ae
L
17019 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17020 __syscall_ulong_t.
17021 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17022 defined. Use __syscall_ulong_t.
17023 (shminfo): Use __syscall_ulong_t.
17024 (shm_info): Likewise.
17025
a26b6856
L
17026 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17027 __syscall_ulong_t.
17028
cb2b9ef7
L
17029 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17030 <bits/wordsize.h>.
17031 (msgqnum_t): Use __syscall_ulong_t.
17032 (msglen_t): Likewise.
17033 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17034 __syscall_ulong_t.
17035
34683bb0
L
17036 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17037 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17038
84a68786
L
17039 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17040
48baa5f1
L
17041 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17042 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17043
180be88b
L
17044 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17045 __syscall_slong_t.
17046
5e90c8ad
L
17047 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17048 include <bits/wordsize.h>. Check __x86_64__ instead of
17049 __WORDSIZE.
17050
23dfb58b
L
17051 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17052 "unsigned long long int" if __x86_64__ is defined.
17053 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17054
ce5d54b0
L
17055 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17056 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17057 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17058
13dc9eac
L
17059 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17060 <stdint.h>.
17061 (GET_PC): Cast to uintptr_t first.
17062 (GET_FRAME): Likewise.
17063 (GET_STACK): Likewise.
17064
a7895d15
L
17065 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17066 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17067 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17068 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17069 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17070 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17071 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17072 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17073 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17074 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17075 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17076 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17077 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17078 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17079 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17080 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17081 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17082 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17083 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17084 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17085 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17086 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17087 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17088 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17089 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17090 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17091 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17092 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17093 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17094
656416c9
AS
170952012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17096
5bd66283
AS
17097 * Makerules (+depfiles): Also collect depfiles from .oS in
17098 $(extra-objs).
17099 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17100 .oS, $(libnldbl-routines)).
17101
656416c9
AS
17102 * Makerules (native-compile-mkdep-flags): Define.
17103 * sunrpc/Makefile (extra-objs): Add $(addprefix
17104 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17105 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17106 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17107 calling $(make-target-directory).
17108
a46f2169
L
171092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17110
17111 * bits/types.h (__snseconds_t): Removed.
17112 * time/time.h (struct timespec): Replace __snseconds_t with
17113 __syscall_slong_t.
17114 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17115 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17116 Likewise.
17117 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17118 (__SNSECONDS_T_TYPE): Likewise.
17119 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17120 (__SNSECONDS_T_TYPE): Likewise.
17121 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17122 (__SNSECONDS_T_TYPE): Likewise.
17123
6af6528b
L
171242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17125
17126 * sysdeps/mach/hurd/bits/typesizes.h
17127 (__SYSCALL_SLONG_TYPE): New macro.
17128 (__SYSCALL_ULONG_TYPE): Likewise.
17129
de986b56
L
171302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17131
17132 * bits/types.h (__syscall_slong_t): New type.
17133 (__syscall_ulong_t): Likewise.
17134
17135 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17136 (__SYSCALL_ULONG_TYPE): Likewise.
17137 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17138 (__SYSCALL_SLONG_TYPE): Likewise.
17139 (__SYSCALL_ULONG_TYPE): Likewise.
17140 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17141 (__SYSCALL_SLONG_TYPE): Likewise.
17142 (__SYSCALL_ULONG_TYPE): Likewise.
17143 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17144 (__SYSCALL_SLONG_TYPE): Likewise.
17145 (__SYSCALL_ULONG_TYPE): Likewise.
17146
85736dc7
L
171472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17148
17149 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17150 Add sigaltstack-offsets.sym.
17151 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17152 <sigaltstack-offsets.h>.
17153 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17154 longjmp_msg pointer.
17155 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17156 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17157 signal stack.
17158 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17159
cc03b296
JM
171602012-05-15 Joseph Myers <joseph@codesourcery.com>
17161
a9538892
JM
17162 * elf/stackguard-macros.h: Remove file.
17163 * sysdeps/generic/stackguard-macros.h: New file.
17164 * sysdeps/i386/stackguard-macros.h: Likewise.
17165 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17166 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17167 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17168 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17169 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17170 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17171 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17172 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17173 <elf/stackguard-macros.h>.
17174
cc03b296
JM
17175 [BZ #14109]
17176 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17177 __aligned__ in attribute.
17178 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17179 (gregset_t): Likewise.
17180
93171016
L
171812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17182
17183 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17184 * sysdeps/x86_64/64/Implies-after: Here. New file.
17185 * sysdeps/x86_64/x32/Implies-after: New file.
17186
d86813a0
L
171872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17188
17189 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17190 and access return value for _dl_profile_fixup. Use R10_LP to
17191 load frame size.
17192
2953ec75
L
171932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17194
17195 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17196
3b550e9e
L
171972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17198
17199 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17200 * sysdeps/x86_64/x32/sysdep.h: New file.
17201
eda41706
L
172022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17203
17204 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17205 * sysdeps/x86_64/setjmp.S: Likewise.
17206
9ea01d93
AZ
172072012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17208
17209 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17210 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17211 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17212 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17213 remove unused global constant.
17214
02a91938
CM
172152012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17216
17217 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17218 include of <not-cancel.h>.
17219
6540185f
RM
172202012-05-15 Roland McGrath <roland@hack.frob.com>
17221
17222 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17223
509072a0
AJ
172242012-05-15 Jeff Law <law@redhat.com>
17225 Andreas Jaeger <aj@suse.de>
17226
17227 [BZ #13594]
17228 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17229 out from...
17230 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17231 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17232 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17233 code changing __hst_map_handle.map.
17234
ba75122d
RM
172352012-05-15 Roland McGrath <roland@hack.frob.com>
17236
17237 * configure.in (sysnames): Look for Implies-before and Implies-after
17238 files.
17239 * configure: Regenerated.
17240
890d8bd8
L
172412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17242
17243 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17244 8-byte data alignment with LP_SIZE alignment.
17245
f6ee6623
L
172462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17247
17248 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17249 into R10_LP.
17250
ea2626f6
L
172512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17252
17253 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17254
085f715e
L
172552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17256
17257 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17258 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17259 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17260 Likewise.
17261 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17262
be8498fc
L
172632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17264
17265 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17266 (stackinfo_sub_sp): Likewise.
17267
70bc83b9
L
172682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17269
17270 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17271 RAX_LP.
17272
9bc0b730
L
172732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17274
17275 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17276 into R*_LP.
17277
6d2850e7
L
172782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17279
17280 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17281 sizes into R*_LP.
17282
3cb84561
L
172832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17284
17285 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17286
54e2ed81
L
172872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17288
17289 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17290 into R11_LP and load __x86_64_shared_cache_size_half into
17291 R8_LP.
17292
8a17f349
L
172932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17294
17295 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17296 R8_LP.
17297
777b1eea
AZ
172982012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17299
17300 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17301 logb for POWER7.
17302 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17303 logbf for POWER7.
17304 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17305 logbl for POWER7.
17306 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17307 powerpc32/power7/fpu/s_logb.c via #include.
17308 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17309 powerpc32/power7/fpu/s_logbf.c via #include.
17310 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17311 powerpc32/power7/fpu/s_logbl.c via #include.
17312
d20d4ac2
JM
173132012-05-15 Joseph Myers <joseph@codesourcery.com>
17314
17315 * README.libm: Remove file.
17316
6cdef1ab
L
173172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17318
17319 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17320 count for x32. Use R*_LP and omit operand-size suffix.
17321
0b254d8f
L
173222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17323
17324 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17325 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17326 * sysdeps/x86_64/x32/shlib-versions: New file.
17327
ceb809dc
RM
173282012-05-14 Roland McGrath <roland@hack.frob.com>
17329
17330 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17331 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17332 Use _dl_fatal_printf instead.
17333
37f1abd4
JM
173342012-05-14 Joseph Myers <joseph@codesourcery.com>
17335
17336 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17337 set if not set by the user. Do not allow for being unset.
17338 * sysdeps/unix/sysv/linux/configure: Regenerated.
17339
11de3a33
L
173402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17341
17342 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17343 the `q' suffix from lea and replace .quad with ASM_ADDR.
17344
e02f153a
L
173452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17346
17347 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17348 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17349 instead of $17.
17350 (PTR_DEMANGLE): Likewise.
17351
520ae0fd
L
173522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17353
17354 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17355 (LP_OP): Likewise.
17356 (ASM_ADDR): Likewise.
17357 (RAX_LP): Likewise.
17358 (RBP_LP): Likewise.
17359 (RBX_LP): Likewise.
17360 (RCX_LP): Likewise.
17361 (RDI_LP): Likewise.
17362 (RSI_LP): Likewise.
17363 (RSP_LP): Likewise.
17364 (R8_LP): Likewise.
17365 (R9_LP): Likewise.
17366 (R10_LP): Likewise.
17367 (R10_LP): Likewise.
17368 (R11_LP): Likewise.
17369 (R12_LP): Likewise.
17370 (R13_LP): Likewise.
17371 (R14_LP): Likewise.
17372 (R15_LP): Likewise.
17373
b985be81
L
173742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17375
17376 * sysdeps/x86_64/x32/dl-machine.h: New file.
17377
6a4888ff
AJ
173782012-05-14 Andreas Jaeger <aj@suse.de>
17379
17380 * manual/Makefile (subdir): Remove export of subdir.
17381 (all): Remove target.
17382 (.PHONY): Remove all from list.
17383 (mkinstalldirs): Remove.
17384 (.PHONY): Remove installdirs from list.
17385 ($(inst_infodir)/libc.info): Use make-target-directory.
17386 (installdirs): Remove.
17387 (subdir_%): Remove.
17388 (glibc-targets): Remove.
17389 (lib): Remove.
17390 (stubs): Remove.
17391 ($(objpfx)stubs ../po/manual.pot): Remove.
17392 ($(objpfx)stamp%): Remove.
17393 (make-target-directory): Remove.
17394 (subdir_install): Remove.
17395 (routines): Remove.
17396 (aux): Remove.
17397 (sources): Remove.
17398 (objects): Remove.
17399 (headers): Remove.
17400
17401 [BZ #13750]
17402 * manual/.gitignore: Remove, it's not needed anymore.
17403 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17404 all files in it.
17405 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17406 directory.
17407 (texis): Renamed to $(objpfx)texis.
17408 (texis-path): New, contains path to generated files.
17409 (chapters.%): Use texis-path for complete path, add extra argument
17410 libc-texinfo.sh.
17411 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17412 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17413 (summary,texi, stamp-summary): Use complete path of
17414 files. Generate files in build dir.
17415 (dir-add.texi): Build in build dir.
17416 (libm-err.texi,stamp-libm-err): Likewise.
17417 (version.texi, stamp-version): Likewise.
17418 (.%c.texi): Likewise.
17419 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17420 (mostlyclean): Remove target.
17421 (realclean): Remove target.
17422 (generated): Add new variable with contents from mostlyclean and
17423 realclean, remove entries duplicated in common-mostlyclean, add
17424 stamp-libm-err and stamp-version.
17425 (generated-dirs): Add libc directory.
17426 ($(inst_infodir)/libc.info): Install files from build dir.
17427
17428 * manual/install.texi (Configuring and compiling): Adjust since
17429 the info files are not part of the tar ball anymore.
17430
7ac77294
AJ
174312012-05-14 Andreas Jaeger <aj@suse.de>
17432
17433 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17434 variable.
17435
ffb7875d
JM
174362012-05-14 Joseph Myers <joseph@codesourcery.com>
17437
17438 [BZ #13717]
17439 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17440 to 2.2.0 where earlier.
17441 * sysdeps/unix/sysv/linux/configure: Regenerated.
17442 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17443 Remove conditional code.
17444 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17445 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17446 Remove conditional code.
17447 [!__NR_lchown]: Likewise.
17448 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17449 [__NR_lchown]: Likewise.
17450 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17451 comment referencing __ASSUME_LCHOWN_SYSCALL.
17452 * sysdeps/unix/sysv/linux/i386/sigaction.c
17453 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17454 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17455 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17456 Remove conditional code.
17457 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17458 (__protocol_available): Remove #if 0 code.
17459 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17460 conditional code.
17461 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17462 * sysdeps/unix/sysv/linux/kernel-features.h
17463 (__ASSUME_GETCWD_SYSCALL): Don't define.
17464 (__ASSUME_REALTIME_SIGNALS): Likewise.
17465 (__ASSUME_PREAD_SYSCALL): Likewise.
17466 (__ASSUME_PWRITE_SYSCALL): Likewise.
17467 (__ASSUME_POLL_SYSCALL): Likewise.
17468 (__ASSUME_LCHOWN_SYSCALL): Likewise.
17469 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17470 non-SPARC.
17471 (__ASSUME_SIOCGIFNAME): Don't define.
17472 (__ASSUME_MSG_NOSIGNAL): Likewise.
17473 (__ASSUME_SENDFILE): Define unconditionally.
17474 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17475 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17476 conditional code.
17477 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17478 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17479 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17480 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17481 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17482 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17483 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17485 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17486 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17488 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17489 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17491 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17492 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17494 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17495 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17497 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17498 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17500 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17501 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17503 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17504 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17506 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17507 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17508 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17509 Remove conditional code.
17510 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17511 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17512 Remove conditional code.
17513 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17514 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17515 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17516 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17517 Remove conditional code.
17518 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17519 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17520 Remove conditional code.
17521 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17522 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17523 Remove conditional code.
17524 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17525 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17526 Remove conditional code.
17527 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17528 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17529 Remove conditional code.
17530 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17531 * sysdeps/unix/sysv/linux/sh/pwrite64.c
17532 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17533 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17534 * sysdeps/unix/sysv/linux/sigaction.c
17535 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17536 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17537 * sysdeps/unix/sysv/linux/sigpending.c
17538 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17539 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17540 * sysdeps/unix/sysv/linux/sigprocmask.c
17541 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17542 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17543 * sysdeps/unix/sysv/linux/sigsuspend.c
17544 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17545 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17546 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17547 (__libc_missing_rt_sigs): Remove.
17548 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17549 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17550 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17551 Remove conditional code.
17552 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17553 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17554 return 1.
17555 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17556 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17557 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17558 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17559
1bfb7291
AJ
175602012-05-14 Andreas Jaeger <aj@suse.de>
17561
caae5a81
AJ
17562 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17563 it's not used in glibc.
17564 (__coshm1): Likewise.
17565 (__acosh1p): Likewise.
17566 (__sgn): Likewise.
17567
1bfb7291
AJ
17568 * manual/string.texi (Copying and Concatenation): Add missing
17569 variable in concat example.
17570 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17571
c044d724
L
175722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17573
144c5467 17574 [BZ #14103]
c044d724
L
17575 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17576 __builtin_clzl with __builtin_clzll.
17577
2523c62b
L
175782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17579
17580 [BZ #14104]
17581 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17582 libc_freeres_ptr.
17583
d7bb4c42
LD
175842012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17585
17586 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17587 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17588 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17589 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17590
9dc4e1fb
MF
175912012-05-14 Mike Frysinger <vapier@gentoo.org>
17592
17593 * NEWS: Update ia64 info.
17594
c7df0112
AS
175952012-05-12 Andreas Schwab <schwab@linux-m68k.org>
17596
17597 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17598 used as bcopy.
17599
dc70356c
TS
176002012-05-12 Thomas Schwinge <thomas@codesourcery.com>
17601
17602 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17603 * sysdeps/unix/syscalls.list (dup3): Likewise.
17604 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17605 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17606
9fb1a21f
L
176072012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17608
17609 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17610 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17611
4822a2a5
L
176122012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17613
17614 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17615 thread pointer.
17616 (TLS_IE): Use mov/add instead of movq/addq to load thread
17617 pointer.
17618 (TLS_GD_PREFIX): New.
17619 (TLS_GD): Use it.
17620
842b81d6
DM
176212012-05-11 David S. Miller <davem@davemloft.net>
17622
17623 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17624 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17625 (_FPU_SETCW): Likewise.
17626
1cf463cd
L
176272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17628
17629 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17630 is 32-byte aligned.
17631
60cc4a18
AS
176322012-05-11 Andreas Schwab <schwab@linux-m68k.org>
17633
17634 [BZ #11837]
17635 * iconvdata/gb18030.c: Update tables.
17636 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
17637 characters specially.
17638 (BODY for TO_LOOP): Add encoding of missing ranges.
17639
febb44a4
TS
176402012-05-11 Thomas Schwinge <thomas@codesourcery.com>
17641
17642 [BZ #13673]
17643 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17644 * sysdeps/mach/hurd/dup3.c: Likewise.
17645 * sysdeps/mach/hurd/readlinkat.c: Likewise.
17646 * sysdeps/powerpc/memmove.c:: Likewise.
17647
0a10fb9e
L
176482012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17649
17650 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17651 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17652
df8a552f
L
176532012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17654
17655 * elf/elf.h (R_X86_64_RELATIVE64): New.
17656 (R_X86_64_NUM): Updated.
17657 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17658 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
17659 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17660 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17661 tst-quad1pie tst-quad2pie
17662 (modules-names): Add tst-quadmod1 tst-quadmod2.
17663 ($(objpfx)tst-quad1): New dependency.
17664 ($(objpfx)tst-quad2): Likewise.
17665 ($(objpfx)tst-quad1pie): Likewise.
17666 ($(objpfx)tst-quad2pie): Likewise.
17667 * sysdeps/x86_64/tst-quad1.c: New file.
17668 * sysdeps/x86_64/tst-quad1pie.c: New file.
17669 * sysdeps/x86_64/tst-quad2.c: Likewise.
17670 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17671 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17672 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17673 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17674 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17675
f34d6f84
ST
176762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17677
f42d41d1
ST
17678 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17679 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17680 * streams/stropts.h (t_scalar_t): Define type.
17681
3c3571fc
ST
17682 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17683 (_PATH_PRESERVE): Set to "/var/lib".
17684 (_PATH_RWHODIR): Set to "/var/spool/rwho".
17685
61f06bd3
ST
17686 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17687 instead of int.
17688
918d4d71
ST
17689 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17690 if __dir_mkfile succeeded.
17691
f34d6f84
ST
17692 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17693 checking for _hurd_dtablesize. Unlock it right after having
17694 finished _hurd_dtable allocation.
17695
10589b4a
TS
176962012-05-10 Thomas Schwinge <thomas@schwinge.name>
17697
674cdbc7
TS
17698 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17699 * sysdeps/mach/hurd/configure: Regenerated.
17700 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17701 special-casing to...
17702 * sysdeps/gnu/configure.in: ... this new file.
17703 * sysdeps/unix/sysv/linux/configure: Regenerated.
17704 * sysdeps/gnu/configure: New generated file.
17705
8e41b99f
TS
17706 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17707 for Linux: use nsec instead of usec, as well as:
17708 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17709 members of type struct timespec.
17710 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17711 New macros.
17712 (struct stat64): Likewise.
17713 (_STATBUF_ST_NSEC): New macro.
17714 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17715
10589b4a
TS
17716 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17717 __strtoul_internal rather than strtoul.
17718
63643c85
PT
177192012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17720
17721 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17722 and reject them.
17723
3faebe6a
ST
177242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17725
17726 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17727 which preserves existing values.
17728 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17729
c6474b07
PT
177302012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17731
17732 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
17733 TIMEOUT values. Return EINVAL for NFDS values either negative or
17734 greater than FD_SETSIZE.
17735
1043890b
ST
177362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17737
17738 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
17739 allocated, call __vm_protect to finish enabling the existing space, and
17740 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
17741 allocate the remainder.
17742
37ed8b9b
PT
177432012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17744
17745 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
17746 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
17747
db653660
ST
177482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17749
37ed8b9b
PT
17750 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
17751 sysdeps/mach/hurd/readlink.c.
b29d4053 17752
db653660
ST
17753 * posix/tst-sysconf.c (posix_options): Only use
17754 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
17755 _POSIX_SYNCHRONIZED_IO when they are defined
17756 * sysdeps/mach/hurd/bits/posix_opt.h:
17757 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
17758 (_XOPEN_REALTIME): Undefine macro.
17759 (_XOPEN_REALTIME_THREADS): Undefine macro.
17760 (_XOPEN_SHM): Undefine macro.
17761 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
17762 macro to -1.
17763 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
17764 macro to -1.
17765 (_POSIX_ASYNC_IO): Undefine macro.
17766 (_POSIX_PRIORITIZED_IO): Undefine macro.
17767 (_POSIX_SPIN_LOCKS): Define macro to -1.
17768
ee16e894
ST
17769 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
17770 SA_NODEFER, SA_RESETHAND.
17771 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
17772 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
17773 F_DUPFD_CLOEXEC.
17774
6103ae3b
TS
177752012-05-10 Thomas Schwinge <thomas@schwinge.name>
17776
17777 * elf/Makefile (pldd-modules): Define unconditionally.
17778
80b4e5f3
TS
177792012-05-10 Thomas Schwinge <thomas@schwinge.name>
17780
17781 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
17782
edadcbd6
ST
177832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17784
17785 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
17786 Return ENOENT when name is empty.
17787 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
17788
80694780
TS
177892012-05-10 Thomas Schwinge <thomas@schwinge.name>
17790
1792c087
TS
17791 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
17792
80694780
TS
17793 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
17794
6b645f0d
ST
177952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17796
80694780
TS
17797 Fix mlock in all cases except non-readable pages.
17798 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
17799 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 17800
6b645f0d
ST
17801 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
17802 (__mkdir): When path is `/', just fail with EEXIST.
17803 * sysdeps/mach/hurd/mkdirat.c: Likewise.
17804
e468f8a3
TS
178052012-05-10 Thomas Schwinge <thomas@schwinge.name>
17806
17807 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
17808 <sys/uio.h> (for writev).
17809 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
17810 and <sys/param.h> (for MIN).
17811
a4186cff
PT
178122012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17813
17814 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
17815 REQUESTED_TIME. Properly set the remaining time and return EINTR
17816 if interrupted.
17817
510bbf14
TS
178182012-05-10 Thomas Schwinge <thomas@schwinge.name>
17819
17820 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
17821 Depend on against $(link-rpcuserlibs).
17822
5d5722e8
ST
178232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17824
a4186cff
PT
17825 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
17826 (__libc_stack_end): Do not use attribute_relro.
17827 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
17828 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 17829 to libthread-provided value.
a4186cff
PT
17830 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
17831 attribute_relro.
5d5722e8 17832
37233df9
TS
178332012-05-10 Thomas Schwinge <thomas@schwinge.name>
17834
be971a2b
TS
17835 [BZ #3748]
17836 * bits/libc-lock.h (__libc_once_get): New macro.
17837 * sysdeps/mach/bits/libc-lock.h: Likewise.
17838 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
17839 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
17840 instead of using implementation details.
17841
37233df9
TS
17842 * libio/fileops.c: Unconditionally include <kernel-features.h>.
17843 * libio/freopen.c: Likewise.
17844 * libio/freopen64.c: Likewise.
17845 * misc/syslog.c: Likewise.
17846 * nscd/connections.c: Likewise.
17847 * nscd/netgroupcache.c: Likewise.
17848 * sysdeps/posix/getcwd.c: Likewise.
17849
38de94a5
RM
178502012-05-10 Roland McGrath <roland@hack.frob.com>
17851
17852 * math/w_ilogbf.c: Add #include <limits.h>.
17853
67530489
ST
178542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17855
a4186cff 17856 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
17857 path instead of returning without unlocking.
17858
67530489
ST
17859 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
17860 immediate-write ioctls.
17861 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
17862
5aa3a74a
TS
178632012-05-10 Thomas Schwinge <thomas@schwinge.name>
17864
18bad2ae
TS
17865 * sysdeps/mach/hurd/i386/init-first.c (init): Use
17866 __builtin_frame_address instead of making assumptions about the
17867 location of the return address relative to DATA. Force early load of
17868 the return address.
17869 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
17870 __builtin_frame_address.
17871
5aa3a74a
TS
17872 dup3 for GNU Hurd.
17873 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
17874 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
17875 implement dup3 and do some further code clean-ups.
17876 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
17877 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
17878
ecd0de9a
ST
178792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17880
cd9fa985
ST
17881 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
17882
a4186cff
PT
17883 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
17884 HURD_CRITICAL_END around holding _hurd_dtable_lock.
17885 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
17886 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
17887 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
17888 d->port.lock.
802ca5a5 17889
a4186cff
PT
17890 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
17891 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
17892 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 17893
bcf55240
TS
178942012-05-10 Thomas Schwinge <thomas@schwinge.name>
17895
6960eb42
TS
17896 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
17897 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
17898 definitions.
17899
eb43375f
TS
17900 accept4 for GNU Hurd.
17901 * include/sys/socket.h (__libc_accept4): New prototype.
17902 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
17903 to implement __libc_accept4.
17904 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
17905 __libc_accept4.
17906 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
17907
bcf55240
TS
17908 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
17909 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
17910 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
17911 signal-defines.sym.
17912
6178c55b
ST
179132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17914
a4186cff 17915 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 17916
6f080c2f
TS
179172012-05-10 Thomas Schwinge <thomas@schwinge.name>
17918
17919 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
17920 assertion on O_CLOEXEC flag.
17921 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
17922 * hurd/intern-fd.c: Likewise.
17923 * hurd/port2fd.c: Likewise.
17924
bcfe3a54
ST
179252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17926
17927 [BZ #3906]
17928 * bits/in.h (IPV6_PKTINFO): Define new macro.
17929 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
17930
89c9aa49
AZ
179312012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17932
17933 [BZ #13954]
17934 [BZ #13955]
17935 [BZ #13956]
17936 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
17937 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17938 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
17939 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17940 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17941 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17942 * math/libm-test.inc (logb_test) : Additional logb tests.
17943
021db4be
AJ
179442012-05-09 Andreas Schwab <schwab@linux-m68k.org>
17945 Andreas Jaeger <aj@suse.de>
17946
17947 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
17948 * configure: Regenerated.
17949 * config.h.in (LINK_OBSOLETE_RPC): New macro.
17950 * config.make.in (link-obsolete-rpc): New substituted variable.
17951 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
17952 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
17953 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17954 (shared-only-routines): Don't set it under [link-obsolete-rpc],
17955 so that libc.a contains the symbols.
17956 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17957 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
17958 * sunrpc/auth_none.c: Likewise.
17959 * sunrpc/auth_unix.c: Likewise.
17960 * sunrpc/authdes_prot.c: Likewise.
17961 * sunrpc/authuxprot.c: Likewise.
17962 * sunrpc/clnt_gen.c: Likewise.
17963 * sunrpc/clnt_perr.c: Likewise.
17964 * sunrpc/clnt_raw.c: Likewise.
17965 * sunrpc/clnt_simp.c: Likewise.
17966 * sunrpc/clnt_tcp.c: Likewise.
17967 * sunrpc/clnt_udp.c: Likewise.
17968 * sunrpc/clnt_unix.c: Likewise.
17969 * sunrpc/des_crypt.c: Likewise.
17970 * sunrpc/des_soft.c: Likewise.
17971 * sunrpc/get_myaddr.c: Likewise.
17972 * sunrpc/key_call.c: Likewise.
17973 * sunrpc/key_prot.c: Likewise.
17974 * sunrpc/netname.c: Likewise.
17975 * sunrpc/pm_getmaps.c: Likewise.
17976 * sunrpc/pm_getport.c: Likewise.
17977 * sunrpc/pmap_clnt.c: Likewise.
17978 * sunrpc/pmap_prot.c: Likewise.
17979 * sunrpc/pmap_prot2.c: Likewise.
17980 * sunrpc/pmap_rmt.c: Likewise.
17981 * sunrpc/publickey.c: Likewise.
17982 * sunrpc/rpc_cmsg.c: Likewise.
17983 * sunrpc/rpc_common.c: Likewise.
17984 * sunrpc/rpc_dtable.c: Likewise.
17985 * sunrpc/rpc_prot.c: Likewise.
17986 * sunrpc/rpc_thread.c: Likewise.
17987 * sunrpc/rtime.c: Likewise.
17988 * sunrpc/svc.c: Likewise.
17989 * sunrpc/svc_auth.c: Likewise.
17990 * sunrpc/svc_raw.c: Likewise.
17991 * sunrpc/svc_run.c: Likewise.
17992 * sunrpc/svc_tcp.c: Likewise.
17993 * sunrpc/svc_udp.c: Likewise.
17994 * sunrpc/svc_unix.c: Likewise.
17995 * sunrpc/svcauth_des.c: Likewise.
17996 * sunrpc/xcrypt.c: Likewise.
17997 * sunrpc/xdr.c: Likewise.
17998 * sunrpc/xdr_array.c: Likewise.
17999 * sunrpc/xdr_float.c: Likewise.
18000 * sunrpc/xdr_intXX_t.c: Likewise.
18001 * sunrpc/xdr_mem.c: Likewise.
18002 * sunrpc/xdr_rec.c: Likewise.
18003 * sunrpc/xdr_ref.c: Likewise.
18004 * sunrpc/xdr_sizeof.c: Likewise.
18005 * sunrpc/xdr_stdio.c: Likewise.
18006
b5c086a2
RM
180072012-05-10 Roland McGrath <roland@hack.frob.com>
18008
18009 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18010 change. Update copyright years.
18011
6d74dd09
JM
180122012-05-10 Joseph Myers <joseph@codesourcery.com>
18013
18014 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18015
28e72501
MK
180162012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18017 Joseph Myers <joseph@codesourcery.com>
18018 Paul Pluzhnikov <ppluzhnikov@google.com>
18019
18020 [BZ #14012]
18021 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18022 requiring rpcgen.
18023 [cross-compiling] (extra-libs): Likewise.
18024 [cross-compiling] (extra-libs-others): Likewise.
18025 [cross-compiling] (librpcsvc-routines): Likewise.
18026 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18027 [cross-compiling] (omit-deps): Likewise.
18028 (sunrpc-CPPFLAGS): New variable.
18029 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18030 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18031 (cross-rpcgen-objs): New variable.
18032 (extra-objs): Append $(cross-rpcgen-objs).
18033 ($(cross-rpcgen-objs)): New rule.
18034 ($(objpfx)cross-rpcgen): Likewise.
18035 (rpcgen-cmd): Define to use $(built-program-file). Expand
18036 comment.
18037 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18038 ($(objpfx)x%.stmp): Likewise.
18039 * sunrpc/proto.h [IS_IN_build] (_): Define.
18040 [IS_IN_build] (_libc_intl_domainname): Likewise.
18041
c8c59454
L
180422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18043
18044 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18045 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18046 and R_X86_64_TPOFF64.
18047
6f27cd16
JM
180482012-05-10 Joseph Myers <joseph@codesourcery.com>
18049
18050 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18051 sysdeps/unix/sysv/syscalls.list.
18052 (stime): Likewise.
18053 (utime): Likewise.
18054 * sysdeps/unix/sysv/syscalls.list: Remove file.
18055
02467e1c
PE
180562012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18057
18058 [BZ #3440]
18059 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18060 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18061 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18062 (__LC_IDENTIFICATION): Make these macros useful in #if
18063 expressions, as required by C99.
18064
da392631
AS
180652012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18066
18067 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18068 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18069 after this.
18070
8115f29b
L
180712012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18072
18073 * stdlib/longlong.h: Updated from GCC.
18074
bdd74070
AJ
180752012-05-09 Andreas Jaeger <aj@suse.de>
18076
edfe0dbe
AJ
18077 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18078 default is first entry.
18079 (run_mode): Set type.
18080 (main): Remove informal message about syslog.
18081 (options): Fix typo.
18082
bcfe3a54
ST
18083 [BZ #14053]
18084 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18085 to asm.
bcfe3a54
ST
18086 (lrint): Likewise.
18087 (llrintf): Likewise.
18088 (llrint): Likewise.
18089 (rint): Likewise.
18090 (rintf): Likewise.
18091 (nearbyint): Likewise.
18092 (nearbyintf): Likewise.
bdd74070 18093
91d8d69e
AJ
180942012-05-09 Andreas Jaeger <aj@suse.de>
18095 Pedro Alves <palves@redhat.com>
18096
18097 * nscd/nscd.c (run_mode): Use enum.
18098 (main): Cleanup coding style issue.
18099
bb90b80b
AJ
181002012-05-09 Alexandre Oliva <aoliva@redhat.com>
18101 Andreas Jaeger <aj@suse.de>
18102
bcfe3a54
ST
18103 * nscd/nscd.c (go_background): Replaced with...
18104 (run_mode): ... this.
bb90b80b 18105 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18106 (options): Add -F --foreground.
18107 (main): Implement it.
18108 (parse_opt): Parse it.
bb90b80b 18109
1a4b75a1
AJ
181102012-05-09 Andreas Jaeger <aj@suse.de>
18111
18112 [BZ #14083]
18113 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18114 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18115 -Wconversion warning.
18116 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18117 Likewise.
18118
b1cc2472
JM
181192012-05-09 Joseph Myers <joseph@codesourcery.com>
18120
18121 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18122 == 0.
18123 (LC_ALL): Use macro-int-constant.
18124 (LC_COLLATE): Likewise.
18125 (LC_CTYPE): Likewise.
18126 (LC_MESSAGES): Likewise.
18127 (LC_MONETARY): Likewise.
18128 (LC_NUMERIC): Likewise.
18129 (LC_TIME): Likewise.
18130 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18131 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18132 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18133 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18134 Specify type.
18135 [C99-based standards] (float_t): Expect type.
18136 [C99-based standards] (double_t): Expect type.
18137 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18138 type.
18139 [C99-based standards] (HUGE_VALL): Likewise.
18140 [C99-based standards] (INFINITY): Likewise.
18141 [C99-based standards] (NAN): Likewise.
18142 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18143 [C99-based standards] (FP_NAN): Likewise.
18144 [C99-based standards] (FP_NORMAL): Likewise.
18145 [C99-based standards] (FP_SUBNORMAL): Likewise.
18146 [C99-based standards] (FP_ZERO): Likewise.
18147 [C99-based standards] (FP_FAST_FMA): Use
18148 optional-macro-int-constant. Specify type. Require == 1.
18149 [C99-based standards] (FP_FAST_FMAF): Likewise.
18150 [C99-based standards] (FP_FAST_FMAL): Likewise.
18151 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18152 [C99-based standards] (FP_ILOGBNAN): Likewise.
18153 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18154 Specify type.
18155 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18156 [C99-based standards] (math_errhandling): Specify type.
18157 [ISO99 || ISO11] (signgam): Do not allow.
18158 [non-C99-based standards] (copysignf): Do not allow.
18159 [non-C99-based standards] (exp2f): Likewise.
18160 [non-C99-based standards] (log2f): Likewise.
18161 [non-C99-based standards] (modff): Allow.
18162 [non-C99-based standards] (erff): Do not allow.
18163 [non-C99-based standards] (erfcf): Likewise.
18164 [non-C99-based standards] (gammaf): Likewise.
18165 [non-C99-based standards] (hypotf): Likewise.
18166 [non-C99-based standards] (j0f): Likewise.
18167 [non-C99-based standards] (j1f): Likewise.
18168 [non-C99-based standards] (jnf): Likewise.
18169 [non-C99-based standards] (lgammaf): Likewise.
18170 [non-C99-based standards] (tgammaf): Likewise.
18171 [non-C99-based standards] (y0f): Likewise.
18172 [non-C99-based standards] (y1f): Likewise.
18173 [non-C99-based standards] (ynf): Likewise.
18174 [non-C99-based standards] (isnanf): Likewise.
18175 [non-C99-based standards] (acoshf): Likewise.
18176 [non-C99-based standards] (asinhf): Likewise.
18177 [non-C99-based standards] (atanhf): Likewise.
18178 [non-C99-based standards] (cbrtf): Likewise.
18179 [non-C99-based standards] (expm1f): Likewise.
18180 [non-C99-based standards] (ilogbf): Likewise.
18181 [non-C99-based standards] (log1pf): Likewise.
18182 [non-C99-based standards] (logbf): Likewise.
18183 [non-C99-based standards] (nextafterf): Likewise.
18184 [non-C99-based standards] (remainderf): Likewise.
18185 [non-C99-based standards] (rintf): Likewise.
18186 [non-C99-based standards] (scalbf): Likewise.
18187 [non-C99-based standards] (copysignl): Likewise.
18188 [non-C99-based standards] (exp2l): Likewise.
18189 [non-C99-based standards] (log2l): Likewise.
18190 [non-C99-based standards] (modfl): Allow.
18191 [non-C99-based standards] (erfl): Do not allow.
18192 [non-C99-based standards] (erfcl): Likewise.
18193 [non-C99-based standards] (gammal): Likewise.
18194 [non-C99-based standards] (hypotl): Likewise.
18195 [non-C99-based standards] (j0l): Likewise.
18196 [non-C99-based standards] (j1l): Likewise.
18197 [non-C99-based standards] (jnl): Likewise.
18198 [non-C99-based standards] (lgammal): Likewise.
18199 [non-C99-based standards] (tgammal): Likewise.
18200 [non-C99-based standards] (y0l): Likewise.
18201 [non-C99-based standards] (y1l): Likewise.
18202 [non-C99-based standards] (ynl): Likewise.
18203 [non-C99-based standards] (isnanl): Likewise.
18204 [non-C99-based standards] (acoshl): Likewise.
18205 [non-C99-based standards] (asinhl): Likewise.
18206 [non-C99-based standards] (atanhl): Likewise.
18207 [non-C99-based standards] (cbrtl): Likewise.
18208 [non-C99-based standards] (expm1l): Likewise.
18209 [non-C99-based standards] (ilogbl): Likewise.
18210 [non-C99-based standards] (log1pl): Likewise.
18211 [non-C99-based standards] (logbl): Likewise.
18212 [non-C99-based standards] (nextafterl): Likewise.
18213 [non-C99-based standards] (remainderl): Likewise.
18214 [non-C99-based standards] (rintl): Likewise.
18215 [non-C99-based standards] (scalbl): Likewise.
18216 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18217 [non-C99-based standards] (FP_*): Do not allow.
18218 [C99-based standards] (FP_*): Change to
18219 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18220 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18221 allow.
18222 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18223 (SIG_ERR): Likewise.
18224 [X/Open-based standards] (SIG_HOLD): Likewise.
18225 (SIG_IGN): Likewise.
18226 (SIGABRT): Use macro-int-constant. Specify type. Require
18227 positive value.
18228 (SIGFPE): Likewise.
18229 (SIGILL): Likewise.
18230 (SIGINT): Likewise.
18231 (SIGSEGV): Likewise.
18232 (SIGTER): Likewise.
18233 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18234 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18235 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18236 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18237 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18238 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18239 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18240 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18241 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18242 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18243 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18244 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18245 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18246 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18247 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18248 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18249 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18250 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18251 [X/Open-based standards] (SIGTRAP): Likewise.
18252 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18253 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18254 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18255 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18256 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18257 allow.
18258
b9f1922d
IW
182592012-05-08 Ian Wienand <ianw@vmware.com>
18260
18261 [BZ #14080]
18262 * time/tzset.c (__tzset_parse_tz): Update default rules for
18263 daylight time changes in the Energy Policy Act of 2005.
18264
1db86e88
AJ
182652012-05-09 Andreas Jaeger <aj@suse.de>
18266
18267 [BZ #13983]
18268 * elf/ldconfig.c (parse_conf): Change string to make clear that
18269 ldconfig only issued a warning if ld.so.conf does not exist.
18270
dee4a4e3
DM
182712012-05-08 David S. Miller <davem@davemloft.net>
18272
ee0db190
DM
18273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18274 movxtod instead of popping the value on the stack.
18275
dee4a4e3
DM
18276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18277
6a43ec98
CD
182782012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18279
18280 * config.h.in: Add HAVE_ARM_PCS_VFP.
18281
05c2c961
RMG
182822012-05-08 Roland Mc Grath <roland@hack.frob.com>
18283
bcfe3a54
ST
18284 [BZ #13979]
18285 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18286 checking but the checks are disabled for any reason.
05c2c961 18287
4b30f61a
L
182882012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18289
18290 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18291 and ELF64_R_TYPE with ELFW(R_TYPE).
18292
eee2bc67
JM
182932012-05-08 Joseph Myers <joseph@codesourcery.com>
18294
7ea5391a
JM
18295 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18296 (ulimit): Likewise.
18297
eee2bc67
JM
18298 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18299 (settimeofday): Likewise.
18300
abb66a67
MF
183012012-05-08 Mike Frysinger <vapier@gentoo.org>
18302
18303 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18304 a struct th_u2 inside the union, and move tu_block/tu_code into
18305 a new th_u3 union of tu_block/tu_code inside of that. Move
18306 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18307 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18308 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18309 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18310 (th_stuff): Change to th_u1.tu_stuff.
18311 (th_data): Define.
18312 (th_msg): Change to th_u1.th_u2.tu_data.
18313
7f18b530
DM
183142012-05-07 David S. Miller <davem@davemloft.net>
18315
05760585
DM
18316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18317
7f18b530
DM
18318 [BZ #14074]
18319 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18320 (SETUP_PIC_REG): Use it.
18321 (SETUP_PIC_REG_LEAF): Use it.
18322
495fd99f
JM
183232012-05-07 Joseph Myers <joseph@codesourcery.com>
18324
18325 [BZ #13885]
18326 [BZ #13923]
18327 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18328 USE_AS_EXPM1L.
18329 (EXPL_FINITE): Likewise.
18330 (FLDLOG): Likewise.
18331 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18332 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18333 e_expl.S.
18334 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18335 USE_AS_EXPM1L.
18336 (EXPL_FINITE): Likewise.
18337 (FLDLOG): Likewise.
18338 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18339 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18340 e_expl.S.
18341 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18342 test of -max_value argument for long double.
18343 * sysdeps/i386/fpu/libm-test-ulps: Update.
18344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18345
6693d694
DM
183462012-05-06 David S. Miller <davem@davemloft.net>
18347
18348 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18349 quad soft-float symbols whose references which are compiler
18350 generated.
18351 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18352
6c23e11c
JM
183532012-05-06 Joseph Myers <joseph@codesourcery.com>
18354
d8b82cad
JM
18355 [BZ #13884]
18356 [BZ #13914]
18357 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18358 USE_AS_EXP10L.
18359 (EXPL_FINITE): Likewise.
18360 (FLDLOG): Likewise.
18361 (c0): Likewise.
18362 (c1): Likewise.
18363 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18364 Adjust comments for base varying.
18365 (__expl_finite): Change alias to EXPL_FINITE.
18366 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18367 e_expl.S.
18368 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18369 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18370 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18371 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18372 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18373 USE_AS_EXP10L.
18374 (EXPL_FINITE): Likewise.
18375 (FLDLOG): Likewise.
18376 (c0): Likewise.
18377 (c1): Likewise.
18378 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18379 Adjust comments for base varying.
18380 (__expl_finite): Change alias to EXPL_FINITE.
18381 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18382 tests for bugs.
18383 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18384
6c23e11c
JM
18385 [BZ #14064]
18386 * math/libm-test.inc (check_float_internal): Correct ulp
18387 calculation for subnormal expected results.
18388
29ba805c
AJ
183892012-05-06 Andreas Jaeger <aj@suse.de>
18390
18391 * Makeconfig (+math-flags): New, set to -frounding-math.
18392 (+cflags): Add +math-flags so that all of glibc gets compiled with
18393 it.
18394
18395 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18396
7b17aeda
JM
183972012-05-05 Joseph Myers <joseph@codesourcery.com>
18398
5779f134
JM
18399 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18400 Disable one test.
18401
41498f4d
JM
18402 [BZ #13787]
18403 [BZ #13922]
18404 [BZ #14036]
18405 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18406 (__ieee754_expl): Allow for and saturate large arguments.
18407 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18408 (u_threshold): Likewise.
18409 (__exp): Call __ieee754_exp before checking for overflow and
18410 underflow.
18411 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18412 (u_threshold): Likewise.
18413 (__expf): Call __ieee754_expf before checking for overflow and
18414 underflow.
18415 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18416 (u_threshold): Likewise.
18417 (__expl): Call __ieee754_expl before checking for overflow and
18418 underflow.
18419 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18420 (__ieee754_expl): Allow for and saturate large arguments.
18421 * math/libm-test.inc (exp_test): Add another test. Do not allow
18422 missing overflow exception on overflow.
18423 (expm1_test): Do not allow missing overflow exception on overflow.
18424
6698b8bf
JM
18425 * sysdeps/i386/fpu/e_expl.c: Move to ...
18426 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18427 rather than using inline asm.
18428 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18429 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18430 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18431
7b17aeda
JM
18432 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18433 (nice): Likewise.
18434 (poll): Likewise.
18435 (signal): Likewise.
18436 (time): Likewise.
18437 (times): Likewise.
18438
f7c85819
JM
184392012-05-04 Joseph Myers <joseph@codesourcery.com>
18440
18441 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18442 sysdeps/unix/common/syscalls.list.
18443 (fchmod): Likewise.
18444 (fchown): Likewise.
18445 (ftruncate): Likewise.
18446 (getrusage): Likewise.
18447 (gettimeofday): Likewise.
18448 (setpgid): Likewise.
18449 (setregid): Likewise.
18450 (setreuid): Likewise.
18451 (sigaction): Likewise.
18452 (truncate): Likewise.
18453 (vhangup): Likewise.
18454 * sysdeps/unix/common/syscalls.list: Remove file.
18455 * sysdeps/unix/bsd/Implies: Don't include unix/common.
18456 * sysdeps/unix/sysv/linux/Implies: Likewise.
18457
336270d0
L
184582012-05-04 H.J. Lu <hongjiu.lu@intel.com>
18459
18460 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18461 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18462 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18463 Moved to ...
18464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18465 Here.
18466 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18467 to ...
18468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18469 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18470 to ...
18471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18472 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18473 to ...
18474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18475 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18476 to ...
18477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18478 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18479 to ...
18480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18481 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18482 to ...
18483 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18484 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18485 to ...
18486 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18487 Here.
18488 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18489 to ...
18490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18491 Here.
18492 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18493 to ...
18494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18495 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18496 Moved to ...
18497 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18498 Here.
18499 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18500 to ...
18501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18502
d128e450
JM
185032012-05-04 Joseph Myers <joseph@codesourcery.com>
18504
fa8ee516
JM
18505 * sysdeps/unix/common/bits/dirent.h: Remove file.
18506 * sysdeps/unix/common/bits/fcntl.h: Likewise.
18507
d128e450
JM
18508 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18509 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18510 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18511 * sysdeps/unix/bsd/isatty.c: Likewise.
18512 * sysdeps/unix/bsd/tcdrain.c: Likewise.
18513 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18514 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18515
ff8faaf0 185162012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 18517
62881be4 18518 [BZ #13563]
31dc8730
AZ
18519 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18520 long double comparison inaccuracies.
18521 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18523
6fef930c
AS
185242012-05-04 Andreas Schwab <schwab@linux-m68k.org>
18525
18526 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18527 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18528
8f203e6c
JM
185292012-05-04 Joseph Myers <joseph@codesourcery.com>
18530
18531 [BZ #14049]
18532 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18533 nonzero digits before rounding a hex value.
18534 * stdlib/tst-strtod.c (tests): Add another test.
18535
5197d9c2
AK
185362012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18537
18538 * sysdeps/s390/fpu/libm-test-ulps: Update.
18539
f0c1dedf
AJ
185402012-05-03 Andreas Jaeger <aj@suse.de>
18541
18542 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18543 does not get optimized out.
18544 (malloc_opt_barrier): New.
18545
a65ef2ae 185462012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 18547 Roland McGrath <roland@hack.frob.com>
a65ef2ae 18548
2b942cb7 18549 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 18550 intermediate file deletion.
2b942cb7 18551 (generated): Add .symlist files.
a65ef2ae 18552
54b71e02
JM
185532012-05-03 Joseph Myers <joseph@codesourcery.com>
18554
18555 [BZ #13775]
18556 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18557 Redirect under this condition.
18558 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18559 [__USE_GNU] (__dprintf_chk): Not under this condition.
18560 [__USE_GNU] (__vdprintf_chk): Likewise.
18561 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18562 under this condition.
18563 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18564 [__USE_XOPEN2K8] (dprintf): Define under this condition.
18565 [__USE_XOPEN2K8] (vdprintf): Likewise.
18566 [__USE_GNU] (__dprintf_chk): Not under this condition.
18567 [__USE_GNU] (__vdprintf_chk): Likewise.
18568 [__USE_GNU] (dprintf): Likewise.
18569 [__USE_GNU] (vdprintf): Likewise.
18570
d3dfcc41
RM
185712012-05-03 Roland McGrath <roland@hack.frob.com>
18572
18573 * elf/Makefile (common-generated): Set this instead of generated for
18574 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
18575 $(all-built-dso)-derived lists.
18576
7ac30cc5
AJ
185772012-05-03 Andreas Jaeger <aj@suse.de>
18578
0c51e550
AJ
18579 * sysdeps/i386/fpu/libm-test-ulps: Update.
18580
7ac30cc5
AJ
18581 * FAQ: Removed.
18582 * FAQ.in: Likewise.
18583 * scripts/gen-FAQ.pl: Likewise.
18584 * manual/install.texi (Installation): Point to online location of
18585 FAQ.
18586 * Makefile (files-for-dist): Remove FAQ.
18587 (FAQ): Remove.
18588
d4c2917f
AM
185892012-05-02 Allan McRae <allan@archlinux.org>
18590
18591 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18592 (LDFLAGS-reldepmod5.so): Likewise.
18593 (LDFLAGS-reldep6mod1.so): Likewise.
18594 (LDFLAGS-reldep6mod4.so): Likewise.
18595 (LDFLAGS-reldep8mod3.so): Likewise.
18596 (LDFLAGS-unload4mod1.so): Likewise.
18597 (LDFLAGS-unload4mod2.so): Likewise.
18598 (LDFLAGS-tst-initorder): Likewise.
18599 (LDFLAGS-tst-initordera2.so): Likewise.
18600 (LDFLAGS-tst-initordera3.so): Likewise.
18601 (LDFLAGS-tst-initordera4.so): Likewise.
18602 (LDFLAGS-tst-initorderb2.so): Likewise.
18603 (LDFLAGS-noload): Likewise.
18604 (LDFLAGS-next): Likewise.
18605 (LDFLAGS-order2mod1.so): Likewise.
18606 (LDFLAGS-order2mod2.so): Likewise.
18607 (LDFLAGS-tst-initorder2): Likewise.
18608 (LDFLAGS-tst-initorder2a.so): Likewise.
18609 (LDFLAGS-tst-initorder2b.so): Likewise.
18610 (LDFLAGS-tst-initorder2c.so): Likewise.
18611 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18612
d77f993f
DM
186132012-05-02 David S. Miller <davem@davemloft.net>
18614
18615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18616
171a70b4
PP
186172012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
18618
18619 [BZ #14055]
18620 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18621
0be196ad
AJ
186222012-05-02 Andreas Jaeger <aj@suse.de>
18623
18624 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18625 since we manipulate rounding mode.
18626 (CPPFLAGS-test-idouble.c): Likewise.
18627 (CPPFLAGS-test-ifloat.c): Likewise.
18628 (CFLAGS-test-ldouble.c): Likewise.
18629 (CFLAGS-test-double.c): Likewise.
18630 (CFLAGS-test-float.c): Likewise.
18631 (CFLAGS-test-misc.c): Likewise.
18632 (CFLAGS-test-test-fenv.c): Likewise.
18633
4f9d04aa
AZ
186342012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18635
2b942cb7
RM
18636 [BZ #2550]
18637 [BZ #2570]
18638 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18639 comparisons to determine direction to adjust input.
4f9d04aa 18640
82a79e7d
RM
186412012-05-01 Roland McGrath <roland@hack.frob.com>
18642
f5a01ca9
RM
18643 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18644 output to the target.
18645
90fe4186
RM
18646 * scripts/localplt.awk: New file.
18647 * elf/Makefile ($(objpfx)check-localplt): Target removed.
18648 (check-localplt-CFLAGS): Variable removed.
18649 ($(all-built-dso:=.jmprel)): New static pattern rule.
18650 (generated): Add those targets.
18651 (localplt-built-dso): New variable.
18652 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18653
18654 * elf/check-localplt.c: File removed.
18655
82397ed6
RM
18656 * scripts/check-execstack.awk: New file.
18657 * elf/Makefile ($(objpfx)check-execstack): Target removed.
18658 (check-execstack-CFLAGS): Variable removed.
18659 ($(objpfx)check-execstack.h): Target removed.
18660 ($(objpfx)execstack-default): New target.
18661 (generated): Add that instead of check-execstack.h.
18662 ($(all-built-dso:=.phdr)): New static pattern rule.
18663 (generated): Add those targets.
18664 * elf/check-execstack.c: File removed.
18665
82a79e7d
RM
18666 * scripts/check-textrel.awk: New file.
18667 * elf/Makefile ($(objpfx)check-textrel): Target removed.
18668 (check-textrel-CFLAGS): Variable removed.
18669 (all-built-dso): Use := to define.o
18670 ($(all-built-dso:=.dyn)): New static pattern rule.
18671 (generated): Add those targets.
18672 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18673 * config.make.in (READELF): New substituted variable.
18674 * elf/check-textrel.c: File removed.
18675
62fde54f 186762012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 18677
615605c9
JM
18678 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18679 allow.
18680 * conform/data/ctype.h-data [C99-based standards] (isblank):
18681 Expect function.
18682 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18683 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18684 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18685 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18686 Specify type. Require positive value.
18687 (EILSEQ): Likewise.
18688 (ERANGE): Likewise.
18689 [ISO || POSIX] (EILSEQ): Do not expect.
18690 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18691 Specify type. Require positive value.
18692 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18693 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18694 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18695 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18696 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18697 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18698 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18699 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18700 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18701 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18702 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18703 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18704 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18705 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18706 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18707 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18708 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18709 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18710 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18711 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18712 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18713 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18714 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18715 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18716 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18717 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18718 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18719 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18720 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18721 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18722 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18723 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18724 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18725 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18726 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18727 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18728 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18729 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18730 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18731 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
18732 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
18733 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
18734 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
18735 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
18736 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
18737 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
18738 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
18739 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
18740 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
18741 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
18742 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
18743 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
18744 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
18745 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
18746 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
18747 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
18748 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
18749 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
18750 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
18751 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
18752 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
18753 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
18754 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
18755 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
18756 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
18757 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
18758 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
18759 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
18760 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
18761 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
18762 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
18763 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
18764 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
18765 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
18766 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
18767 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
18768 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
18769 Require >= 2.
18770 (FLT_ROUNDS): Expect as macro, not constant.
18771 (FLT_MANT_DIG): Use macro-int-constant.
18772 (DBL_MANT_DIG): Likewise.
18773 (LDBL_MANT_DIG): Likewise.
18774 (FLT_DIG): Likewise.
18775 (DBL_DIG): Likewise.
18776 (LDBL_DIG): Likewise.
18777 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
18778 (DBL_MIN_EXP): Likewise.
18779 (LDBL_MIN_EXP): Likewise.
18780 (FLT_MAX_EXP): Use macro-int-constant.
18781 (DBL_MAX_EXP): Likewise.
18782 (LDBL_MAX_EXP): Likewise.
18783 (FLT_MAX_10_EXP): Likewise.
18784 (DBL_MAX_10_EXP): Likewise.
18785 (LDBL_MAX_10_EXP): Likewise.
18786 (FLT_MAX): Use macro-constant.
18787 (DBL_MAX): Likewise.
18788 (LDBL_MAX): Likewise.
18789 (FLT_EPSILON): Use macro-constant. Give upper bound.
18790 (DBL_EPSILON): Likewise.
18791 (LDBL_EPSILON): Likewise.
18792 (FLT_MIN): Likewise.
18793 (DBL_MIN): Likewise.
18794 (LDBL_MIN): Likewise.
18795 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
18796 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
18797 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
18798 [ISO11] (FLT_HAS_SUBNORM): Likewise.
18799 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
18800 [ISO11] (DBL_DECIMAL_DIG): Likewise.
18801 [ISO11] (FLT_DECIMAL_DIG): Likewise.
18802 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
18803 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
18804 [ISO11] (FLT_TRUE_MIN): Likewise.
18805 [ISO11] (LDBL_TRUE_MIN): Likewise.
18806 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18807 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
18808 (SCHAR_MIN): Use macro-int-constant. Specify type.
18809 (SCHAR_MAX): Likewise.
18810 (UCHAR_MAX): Likewise.
18811 (CHAR_MIN): Likewise.
18812 (CHAR_MAX): Likewise.
18813 (MB_LEN_MAX): Use macro-int-constant.
18814 (SHRT_MIN): Use macro-int-constant. Specify type.
18815 (SHRT_MAX): Likewise.
18816 (USHRT_MAX): Likewise.
18817 (INT_MAX): Likewise.
18818 (INT_MIN): Use macro-int-constant. Specify type. Make upper
18819 bound negative.
18820 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
18821 bound with "U".
18822 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18823 bound with "L".
18824 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
18825 bound negative. Suffix upper bound with "L".
18826 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18827 bound with "UL".
18828 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
18829 Specify type.
18830 [C99-based standards] (LLONG_MAX): Likewise.
18831 [C99-based standards] (ULLONG_MAX): Likewise.
18832 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
18833 == 0.
18834 [ISO11] (max_align_t): Require type.
18835 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18836
c9140a62
JM
18837 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
18838 from $CFLAGS, without defining away __attribute__ calls.
18839 (checknamespace): Use $CFLAGS_namespace.
18840
9af0bf29
JM
18841 * conform/conformtest.pl (@keywords): Only include C99 keywords
18842 for standards based on C99 or C11.
18843
343222a2
JM
18844 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
18845 Disable tests.
18846 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
18847 UNIX98]: Likewise.
18848
661f8cf0
JM
18849 * conform/conformtest.pl: Handle "macro-int-constant" and test for
18850 usability of symbols in #if.
18851
ee74b9cb
JM
18852 * conform/conformtest.pl: If macro or constant types start
18853 "promoted:", expect the symbol to be of the following type
18854 promoted by the integer promotions.
62fde54f 18855
aafc49b3
JM
18856 * conform/conformtest.pl: Parse all "constant" and "macro" lines
18857 in one place. Also handle "macro-constant".
18858
fefdf574
JM
18859 * conform/conformtest.pl: Only accept expected macro values with
18860 "==". Parse all "macro" lines in one place.
18861 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
18862
f2d922fe
JM
18863 * conform/conformtest.pl: Handle braced types on "constant" lines
18864 instead of handling "typed-constant".
18865 * conform/data/signal.h-data: Use "constant" instead of
18866 "typed-constant".
18867
d22956c9
JM
18868 * conform/conformtest.pl: Handle "optional-" at start of lines in
18869 one place rather than duplicating several cases. Handle each
18870 format of "macro" line with initial "optional-".
18871
028e2e38
JM
18872 * conform/conformtest.pl: Only accept expected constant or
18873 optional-constant values with "==". Parse all "constant" lines in
18874 one place. Parse all "optional-constant" lines in one place.
18875 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
18876 * conform/data/fmtmsg.h-data: Likewise.
18877 * conform/data/netinet/in.h-data: Likewise.
18878 * conform/data/tar.h-data: Likewise.
18879 * conform/data/limits.h-data: Use "==" form on "constant" and
18880 "optional-constant" lines.
18881
1b8f2850
JM
18882 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
18883 Use -std=c99 for XOPEN2K.
18884 (@knownproblems): Remove.
18885 (newtoken): Don't check %isknown.
18886
a05a144b
JM
18887 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
18888 Do not expect macro.
18889 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
18890 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
18891 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
18892 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
18893 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
18894 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
18895 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
18896 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
18897 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
18898 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
18899 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
18900 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
18901 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
18902 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
18903 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
18904 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
18905 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
18906 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
18907 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
18908 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
18909 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
18910 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
18911 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
18912 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
18913 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
18914 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
18915 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
18916 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
18917 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
18918 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
18919 [XPG3] (acosh): Likewise.
18920 [XPG3] (asinh): Likewise.
18921 [XPG3] (atanh): Likewise.
18922 [XPG3] (cbrt): Likewise.
18923 [XPG3] (expm1): Likewise.
18924 [XPG3] (ilogb): Likewise.
18925 [XPG3] (log1p): Likewise.
18926 [XPG3] (logb): Likewise.
18927 [XPG3] (nextafter): Likewise.
18928 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
18929 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
18930 [XPG3] (remainder): Likewise.
18931 [XPG3] (rint): Likewise.
18932 [XPG3 || XPG4 || UNIX98] (round): Likewise.
18933 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
18934 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
18935 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
18936 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
18937 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
18938 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
18939 [UNIX98 || XOPEN2K] (scalb): Expect.
18940 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
18941 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
18942 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
18943 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
18944 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
18945 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
18946 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
18947 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
18948 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
18949 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
18950 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
18951 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
18952 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
18953 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
18954 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
18955 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
18956 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
18957 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
18958 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
18959 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
18960 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
18961 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
18962 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
18963 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
18964 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
18965 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
18966 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
18967 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
18968 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
18969 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
18970 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
18971 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
18972 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
18973 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
18974 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
18975 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
18976 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
18977 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
18978 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
18979 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
18980 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
18981 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
18982 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
18983 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
18984 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
18985 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
18986 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
18987 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
18988 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
18989 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
18990 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
18991 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
18992 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
18993 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
18994 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
18995 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
18996 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
18997 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
18998 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
18999 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19000 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19001 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19002 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19003 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19004 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19005 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19006 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19007 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19008 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19009 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19010 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19011 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19012 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19013 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19014 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19015 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19016 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19017 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19018 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19019 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19020 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19021 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19022 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19023 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19024 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19025 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19026 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19027 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19028 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19029 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19030 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19031 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19032 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19033 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19034 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19035 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19036 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19037 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19038 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19039 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19040 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19041 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19042 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19043 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19044 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19045 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19046 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19047 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19048 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19049 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19050 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19051 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19052 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19053 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19054 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19055 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19056 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19057 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19058 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19059 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19060 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19061 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19062 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19063 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19064 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19065 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19066 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19067 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19068 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19069 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19070 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19071 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19072 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19073 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19074 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19075 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19076 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19077
73c5ebe3
JM
19078 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19079 _XOPEN_SOURCE_EXTENDED for XPG4.
19080
39c33b6c
JM
19081 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19082
62fde54f
JM
19083 * Makeconfig (localtime): Remove variable.
19084 (inst_localtime-file): Likewise.
19085
0741d64c
AS
190862012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19087
19088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19089 Update.
19090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19091 Update.
19092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19093 Update.
19094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19095 Update.
19096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19097 Update.
19098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19099 Update.
19100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19101 Update.
19102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19103 Update.
19104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19105 Update.
19106
7cb029ee
JM
191072012-05-01 Joseph Myers <joseph@codesourcery.com>
19108
19109 [BZ #2550]
19110 [BZ #2570]
19111 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19112 comparisons to determine direction to adjust input.
19113 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19114 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19115 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19116 Likewise.
19117 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19118 Likewise.
19119 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19120 Likewise.
19121 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19122 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19123 Likewise.
19124 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19125 Likewise.
19126 * math/libm-test.inc (nexttoward_test): Add more tests.
19127
412bd966
AS
191282012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19129
19130 [BZ #14040]
19131 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19132 in version GLIBC_2.1, not GLIBC_2.0.
19133 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19134 Likewise.
19135
9568c0c2
JM
191362012-04-30 Joseph Myers <joseph@codesourcery.com>
19137
adfbc8ac
JM
19138 [BZ #13942]
19139 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19140 (1 - x) * (1 + x).
19141 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19142 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19143 * math/libm-test.inc (acos_test): Add more tests.
19144 (asin_test): Likewise.
19145 * sysdeps/i386/fpu/libm-test-ulps: Update.
19146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19147
5ba3cc69
JM
19148 [BZ #14034]
19149 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19150 of square root.
19151 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19152 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19153 * math/libm-test.inc (acos_test_tonearest): New function.
19154 (acos_test_towardzero): Likewise.
19155 (acos_test_downward): Likewise.
19156 (acos_test_upward): Likewise.
19157 (asin_test_tonearest): Likewise.
19158 (asin_test_towardzero): Likewise.
19159 (asin_test_downward): Likewise.
19160 (asin_test_upward): Likewise.
19161 (main): Call the new functions.
19162 * sysdeps/i386/fpu/libm-test-ulps: Update.
19163 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19164
9568c0c2
JM
19165 [BZ #13884]
19166 [BZ #13924]
19167 * math/e_exp10.c: Include <float.h>.
19168 (__ieee754_exp10): Handle underflow here rather than multiplying
19169 large negative argument by M_LN10.
19170 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19171 of __ieee754_expf.
19172 * math/e_exp10l.c: Include <float.h>.
19173 (__ieee754_exp10l): Handle underflow here rather than multiplying
19174 large negative argument by M_LN10l.
19175 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19176 spurious overflow exception on underflow.
19177
5ac3ea17
MP
191782012-04-29 Marek Polacek <polacek@redhat.com>
19179
19180 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19181 (__fortify_function): New macro.
19182 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19183 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19184 __extern_always_inline.
19185 * libio/bits/stdio2.h: Likewise.
19186 * libio/bits/stdio.h: Likewise.
19187 * string/string.h: Likewise.
19188 * string/bits/string3.h: Likewise.
19189 * include/stdio.h: Likewise.
19190 * stdlib/bits/stdlib.h: Likewise.
19191 * stdlib/stdlib.h: Likewise.
19192 * rt/bits/mqueue2.h: Likewise.
19193 * rt/mqueue.h: Likewise.
19194 * posix/bits/unistd.h: Likewise.
19195 * posix/unistd.h: Likewise.
19196 * io/bits/poll2.h: Likewise.
19197 * io/bits/fcntl2.h: Likewise.
19198 * io/fcntl.h: Likewise.
19199 * io/sys/poll.h: Likewise.
19200 * misc/bits/syslog.h: Likewise.
19201 * misc/bits/syslog-ldbl.h: Likewise.
19202 * misc/sys/syslog.h: Likewise.
19203 * socket/bits/socket2.h: Likewise.
19204 * socket/sys/socket.h: Likewise.
19205 * debug/tst-chk1.c: Likewise.
19206 * wcsmbs/bits/wchar2.h: Likewise.
19207 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19208 * wcsmbs/wchar.h: Likewise.
19209
ecf0ebfb
AJ
192102012-04-29 Andreas Jaeger <aj@suse.de>
19211
19212 * Makerules (tests): Remove enable-check-abi protection.
19213 (check-abi-warn): Remove.
19214 (check-abi-%): Remove check-abi-warn usage.
19215
19216 * configure.in: Remove check-abi configure option.
19217 * configure: Regenerated.
19218 * config.make.in (enable-check-abi): Remove.
19219
6d5c57fa
AS
192202012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19221
24c5d07e 19222 [BZ #14033]
ded5180a
AS
19223 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19224 double functions to double *_finite functions.
19225
7e0d315d
AS
19226 [BZ #13941]
19227 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19228 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19229 LDBL_MIN_EXP.
19230 * stdio-common/Makefile (tests): Add tst-sprintf3.
19231 * stdio-common/tst-sprintf3.c: New file.
19232
6d5c57fa
AS
19233 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19234 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19235
0749ff8b
JM
192362012-04-28 Joseph Myers <joseph@codesourcery.com>
19237
19238 * conform/conformtest.pl: Remove duplicate typed-constant
19239 handling.
19240
8dbd5d7b
DM
192412012-04-28 David S. Miller <davem@davemloft.net>
19242
19243 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19244 (check-abi-%): Remove AWK script prerequisite and explicit
19245 abilist directory.
19246 (check-abi): Rewrite to just diff the symlist with the abilist.
19247 (config-tls, config-abi-config): Delete, no longer used.
19248 (update-abi-%): Remove AWK script and explicit abilist directory.
19249 (update-abi): Rewrite to simply compare and conditionally copy the
19250 symlist and the sysdep abilist file. Remove update-abi-config
19251 checks.
19252 * abilist/ld.abilist: Remove.
19253 * abilist/libBrokenLocale.abilist: Remove.
19254 * abilist/libanl.abilist: Remove.
19255 * abilist/libcrypt.abilist: Remove.
19256 * abilist/libdl.abilist: Remove.
19257 * abilist/librt.abilist: Remove.
19258 * abilist/libthread_db.abilist: Remove.
19259 * abilist/libutil.abilist: Remove.
19260 * scripts/extract-abilist.awk: Remove.
19261 * scripts/merge-abilist.awk: Remove.
19262 * sysdeps/generic/libcidn.abilist: New file.
19263 * sysdeps/generic/libnss_compat.abilist: New file.
19264 * sysdeps/generic/libnss_db.abilist: New file.
19265 * sysdeps/generic/libnss_dns.abilist: New file.
19266 * sysdeps/generic/libnss_files.abilist: New file.
19267 * sysdeps/generic/libnss_hesiod.abilist: New file.
19268 * sysdeps/generic/libnss_nis.abilist: New file.
19269 * sysdeps/generic/libnss_nisplus.abilist: New file.
19270 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19271 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19272 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19273 file.
19274 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19275 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19276 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19277 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19278 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19279 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19280 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19281 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19282 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19283 file.
19284 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19285 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19286 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19287 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19288 file.
19289 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19290 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19291 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19292 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19293 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19294 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19295 file.
19296 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19297 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19298 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19299 file.
19300 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19301 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19302 New file.
19303 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19304 New file.
19305 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19306 New file.
19307 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19308 New file.
19309 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19310 New file.
19311 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19312 New file.
19313 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19314 New file.
19315 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19316 New file.
19317 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19318 New file.
19319 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19320 New file.
19321 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19322 New file.
19323 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19324 New file.
19325 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19326 New file.
19327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19328 file.
19329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19330 New file.
19331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19332 New file.
19333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19334 file.
19335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19336 New file.
19337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19338 New file.
19339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19340 file.
19341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19342 New file.
19343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19344 New file.
19345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19346 New file.
19347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19348 New file.
19349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19350 New file.
19351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19352 New file.
19353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19355 file.
19356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19357 New file.
19358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19359 file.
19360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19361 file.
19362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19363 file.
19364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19365 file.
19366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19367 file.
19368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19369 New file.
19370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19371 file.
19372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19373 file.
19374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19375 New file.
19376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19377 file.
19378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19380 file.
19381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19382 New file.
19383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19384 file.
19385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19386 file.
19387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19388 file.
19389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19390 file.
19391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19392 file.
19393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19394 New file.
19395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19396 file.
19397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19398 file.
19399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19400 New file.
19401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19402 file.
19403 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19404 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19405 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19406 file.
19407 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19408 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19409 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19410 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19411 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19412 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19413 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19414 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19415 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19416 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19419 file.
19420 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19421 New file.
19422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19423 file.
19424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19425 file.
19426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19427 file.
19428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19429 file.
19430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19431 file.
19432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19433 New file.
19434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19435 New file.
19436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19437 file.
19438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19439 New file.
19440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19441 file.
19442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19443 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19444 file.
19445 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19446 New file.
19447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19448 file.
19449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19450 file.
19451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19452 file.
19453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19454 file.
19455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19456 file.
19457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19458 New file.
19459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19460 New file.
19461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19462 file.
19463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19464 New file.
19465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19466 file.
19467
41d73a1b
JM
194682012-04-28 Joseph Myers <joseph@codesourcery.com>
19469
19470 * conform/conformtest.pl: Fix typo in handling typed-constant from
19471 allow-header.
19472
28aeeda4
JM
194732012-04-27 Joseph Myers <joseph@codesourcery.com>
19474
adae8f5e
JM
19475 * README: Cut down references to pre-2.6 Linux kernels and
19476 Linuxthreads. Update lists of configurations in libc and ports
19477 and sort alphabetically. Say "or newer" with Linux kernel version
19478 requirements.
19479
28aeeda4
JM
19480 * config.h.in [IS_IN_build]: Allow compiling without optimization.
19481
a462cb63
RA
194822012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19483
19484 [BZ #887]
19485 * math/libm-test.inc (logb_test_downward): New test to expose
19486 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19487 rounding mode.
19488
6ad3493e
JM
194892012-04-27 Joseph Myers <joseph@codesourcery.com>
19490
19491 [BZ #14027]
19492 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19493 to be done.
19494 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19495 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19496
2ce4f015
JM
194972012-04-26 Joseph Myers <joseph@codesourcery.com>
19498
5aeb141a
JM
19499 * sysdeps/unix/i386/brk.S: Remove file.
19500 * sysdeps/unix/i386/dl-brk.S: Likewise.
19501 * sysdeps/unix/i386/pipe.S: Likewise.
19502 * sysdeps/unix/i386/sigreturn.S: Likewise.
19503 * sysdeps/unix/i386/syscall.S: Likewise.
19504 * sysdeps/unix/i386/vfork.S: Likewise.
19505 * sysdeps/unix/i386/wait.S: Likewise.
19506
7143acae
JM
19507 * sysdeps/unix/common/tcsendbrk.c: Move to ...
19508 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19509
2ce4f015
JM
19510 * configure.in (arm*-none*): Do not allow without
19511 --enable-hacker-mode.
19512 (netbsd*): Remove case setting base_os.
19513 (386bsd*): Likewise.
19514 (freebsd*): Likewise.
19515 (bsdi*): Likewise.
19516 (osf*): Likewise.
19517 (sunos*): Likewise.
19518 (ultrix*): Likewise.
19519 (newsos*): Likewise.
19520 (dynix*): Likewise.
19521 (*bsd*): Likewise.
19522 (sysv*): Likewise.
19523 (isc*): Likewise.
19524 (esix*): Likewise.
19525 (sco*): Likewise.
19526 (minix*): Likewise.
19527 (irix4*): Likewise.
19528 (irix6*): Likewise.
19529 (solaris[2-9]*): Likewise.
19530 (none): Likewise.
19531 * configure: Regenerated.
19532
0ac229c8
AZ
195332012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19534
19535 [BZ #11521]
19536 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19537 overflow or cancellation in calculating denominator.
19538 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19539 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19540 down expression to avoid unexpected rounding in newer GCCs.
19541 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19542
33f244f4
DM
195432012-04-26 David S. Miller <davem@davemloft.net>
19544
19545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19546 long-double compat symbols.
19547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19560
cfa1f3e8
DM
195612012-04-25 David S. Miller <davem@davemloft.net>
19562
19563 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19564 HWCAP_* values only after the memory barriers have been defined.
19565 (atomic_full_barrier): Define.
19566 (atomic_read_barrier): Define.
19567 (atomic_write_barrier): Define.
19568
6e236b92
SP
195692012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19570
19571 * shlib-versions: Add libgcc_s version information.
19572 * sysdeps/generic/libgcc_s.h: Remove.
19573 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19574 libgcc_s.h.
19575 * sysdeps/gnu/unwind-resume.c: Likewise.
19576 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19577
aab39a09
DM
195782012-04-25 David S. Miller <davem@davemloft.net>
19579
19580 * sysdeps/unix/sparc/brk.S: Delete.
19581 * sysdeps/unix/sparc/dl-brk.S: Delete.
19582 * sysdeps/unix/sparc/pipe.S: Delete.
19583 * sysdeps/unix/sparc/sysdep.S: Delete.
19584 * sysdeps/unix/sparc/sysdep.h: Delete.
19585 * sysdeps/unix/sparc/vfork.S: Delete.
19586 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19587 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19588 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19589 ret_ERRVAL, r0, r1, MOVE): Define.
19590 (JUMPTARGET): Remove.
19591 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19592 sysdeps/unix/sparc/sysdep.h
19593 (ENTRY, END): Remove.
19594 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19595
a3cc4f48
JM
195962012-04-25 Joseph Myers <joseph@codesourcery.com>
19597
2ed8cda2
JM
19598 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19599 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19600 -DIS_IN_build.
19601
35d76d59
JM
19602 * timezone/README: Update upstream location and email address for
19603 tzcode and tzdata.
19604 * timezone/zdump.c: Update from tzcode 2012b.
19605 * timezone/zic.c: Likewise.
19606
a3cc4f48
JM
19607 * configure.in (libc_cv_as_needed): Remove test.
19608 * configure: Regenerated.
19609 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19610 conditional definition.
19611 [$(have-as-needed) != yes] (no-as-needed): Likewise.
19612 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19613 * config.make.in (have-as-needed): Remove variable.
19614
ceab42c3
SP
196152012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19616 Paul Pluzhnikov <ppluzhnikov@google.com>
19617
19618 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19619 strings correctly.
19620
3ce2865f
CLT
196212012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
19622
19623 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19624 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19625 * sysdeps/sh/strlen.S: Likewise.
19626
f37e0d68
JM
196272012-04-24 Joseph Myers <joseph@codesourcery.com>
19628
ae186e9a
JM
19629 * sysdeps/unix/fork.S: Remove file.
19630 * sysdeps/unix/i386/fork.S: Likewise.
19631 * sysdeps/unix/sparc/fork.S: Likewise.
19632
b96914af
JM
19633 * sysdeps/unix/system.c: Remove file.
19634 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19635
f37e0d68
JM
19636 * sysdeps/unix/getegid.S: Remove file.
19637 * sysdeps/unix/geteuid.S: Likewise.
19638
87ef29ca
RM
196392012-04-24 Roland McGrath <roland@hack.frob.com>
19640
83bcd236
RM
19641 * scripts/check-localplt.awk: New file.
19642 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19643 of diff.
19644 * scripts/data/localplt-generic.data: Add a comment.
19645
87ef29ca
RM
19646 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19647 NODE when __dir_mkfile failed.
19648 * sysdeps/mach/hurd/symlinkat.c: Likewise.
19649 Reported by Ludovic Courtès <ludo@gnu.org>.
19650
e5a6e567
AJ
196512012-04-24 Andreas Jaeger <aj@suse.de>
19652
19653 * Makerules (common-clean): Also remove gen-as-const-headers
19654 files.
19655
c1820385
JM
196562012-04-24 Joseph Myers <joseph@codesourcery.com>
19657
19658 * Makerules (native-compile): Do not change working directory for
19659 build. Use $(OUTPUT_OPTION) in command.
19660 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19661
94e02fc4
AZ
196622012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19663
19664 [BZ #13886]
19665 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19666 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19667 * math/libm-test.inc (floor_test): Add more tests.
19668 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19669
3a533ca3
JM
196702012-04-24 Joseph Myers <joseph@codesourcery.com>
19671
940ab4b3
JM
19672 * sysdeps/unix/getdents.c: Remove file.
19673 * sysdeps/unix/sysv/getdents.c: Likewise.
19674 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19675
90e037bd
JM
19676 * sysdeps/unix/syscalls.list (madvise): Add syscall from
19677 sysdeps/unix/mman/syscalls.list.
19678 (mmap): Likewise.
19679 (mprotect): Likewise.
19680 (msync): Likewise.
19681 (munmap): Likewise.
19682 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19683 * sysdeps/unix/mman/syscalls.list: Remove.
19684 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19685
3a533ca3
JM
19686 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19687 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19688 * configure: Regenerated.
19689 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19690 $(libgcc_s_suffix).
19691 * config.make.in (libgcc_s_suffix): Remove variable.
19692
1ad743de
JM
196932012-04-23 Joseph Myers <joseph@codesourcery.com>
19694
4ad451e2
JM
19695 * sysdeps/unix/sysv/gethostname.c: Move to ...
19696 * sysdeps/posix/gethostname.c: ... here.
19697
5e37ce39
JM
19698 * sysdeps/unix/execve.S: Remove file.
19699
1ad743de
JM
19700 * sysdeps/unix/_exit.S: Remove file.
19701
4e681b5b
AJ
197022012-04-23 Andreas Jaeger <aj@suse.de>
19703
19704 [BZ #13739]
19705 * manual/Makefile: Remove make dist support, there's no
19706 need for a stand-alone documentation tar ball.
19707 (TEXI2DVI): Define always, it's not in Makeconfig.
19708 (dist): Removed.
19709 (tar-it): Removed.
19710 (edition): Removed.
19711 (glibc-doc-$(edition).tar): Removed
19712 (%.Z): Removed.
19713 (%.gz): Removed.
19714 (%.uu): Removed.
19715 (ETAGS): Remove, it's in Makeconfig.
19716 (move-if-change): Remove, it's in Makeconfig.
19717
38686a03 197182012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
19719
19720 [BZ #13970]
19721 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19722 (strtod, strtof, strtold, strtol, strtoul, strtoq)
19723 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19724 (strtod_l, strtof_l, strtold_l): Remove __wur.
19725 It is not necessarily an error to ignore strtol's return value.
19726 One can reliably look at the stored endptr to decide whether
19727 the number had valid syntax.
19728
7c0616fa
AJ
197292012-04-21 Andreas Jaeger <aj@suse.de>
19730
803cb6b7 19731 [BZ #13739]
7c0616fa
AJ
19732 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
19733
b0fe253f
JM
197342012-04-21 Joseph Myers <joseph@codesourcery.com>
19735
19736 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
19737 * sysdeps/unix/sysv/Versions: Remove file.
19738
8280f22d
MT
197392012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
19740
19741 [BZ #13927]
19742 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19743
75ce411f 197442012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
19745
19746 [BZ #7064]
19747 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
19748 version from __vm86.
19749
097d59fa
JM
197502012-04-20 Joseph Myers <joseph@codesourcery.com>
19751
a90f3bcb
JM
19752 * sysdeps/unix/common/lxstat.c: Remove file.
19753 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
19754
edc7ea78
JM
19755 * sysdeps/unix/sysv/Makefile: Remove file.
19756
cb78c221
JM
19757 * sysdeps/unix/sysv/direct.h: Remove file.
19758
efa6a45f
JM
19759 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
19760 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
19761 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
19762 * sysdeps/unix/sysv/bits/signum.h: Likewise.
19763 * sysdeps/unix/sysv/bits/stat.h: Likewise.
19764 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
19765 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
19766
9c9f2d0c
JM
19767 * sysdeps/unix/sysv/setrlimit.c: Remove file.
19768
4541c83b
JM
19769 * sysdeps/unix/xmknod.c: Remove file.
19770 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
19771
f5d153a0
JM
19772 * sysdeps/unix/sysv/settimeofday.c: Remove file.
19773
aa746595
JM
19774 * sysdeps/unix/sysv/i386/time.S: Remove file.
19775
cce5905e
JM
19776 * sysdeps/unix/fxstat.c: Remove file.
19777 * sysdeps/unix/xstat.c: Likewise.
19778 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
19779
37fa3841
JM
19780 * sysdeps/unix/sysv/sigaction.c: Remove file.
19781
ff1962a3
JM
19782 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
19783 (sysdep_headers): Remove variable.
19784 [termio.h not in sysdep_headers] (generated): Likewise.
19785 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
19786 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
19787 * sysdeps/unix/sysv/tcdrain.c: Likewise.
19788 * sysdeps/unix/sysv/tcflow.c: Likewise.
19789 * sysdeps/unix/sysv/tcflush.c: Likewise.
19790 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
19791 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
19792 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
19793 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
19794 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
19795
e7740d31
JM
19796 * sysdeps/unix/siglist.c: Remove file.
19797
ee06f18b
JM
19798 * sysdeps/unix/getppid.S: Remove file.
19799
097d59fa
JM
19800 * sysdeps/unix/mkdir.c: Remove file.
19801 * sysdeps/unix/rmdir.c: Likewise.
19802
ff3d51ec
AS
198032012-04-19 Andreas Schwab <schwab@linux-m68k.org>
19804
19805 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
19806 ERR_MAX value.
19807 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
19808 errlist-compat value.
19809
50f81fd7
DM
198102012-04-18 David S. Miller <davem@davemloft.net>
19811
19812 * sysdeps/generic/memcopy.h (reg_char): Delete.
19813 * debug/strcat_chk.c: Use char, not reg_char.
19814 * debug/strcpy_chk.c: Likewise.
19815 * debug/strncat_chk.c: Likewise.
19816 * debug/strncpy_chk.c: Likewise.
19817 * string/memchr.c: Likewise.
19818 * string/memrchr.c: Likewise.
19819 * string/rawmemchr.c: Likewise.
19820 * string/strcat.c: Likewise.
19821 * string/strchr.c: Likewise.
19822 * string/strchrnul.c: Likewise.
19823 * string/strcmp.c: Likewise.
19824 * string/strcpy.c: Likewise.
19825 * string/strncat.c: Likewise.
19826 * string/strncmp.c: Likewise.
19827 * string/strncpy.c: Likewise.
19828
8ff41c46
WS
198292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19830
19831 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
19832 __builtin_memcopy is called when src and dest ranges are known to not
19833 overlap.
19834
6b652f46
WS
198352012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19836
19837 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
19838 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
19839 fwd_align_merge macro call.
19840 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
19841 bwd_align_merge macro call.
19842 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19843
b282631e
WS
198442012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19845
19846 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
19847 bwd_align_merge macros.
19848 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
19849 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
19850 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19851
95aa737c
DM
198522012-04-18 David S. Miller <davem@davemloft.net>
19853
19854 * sysdeps/sparc/sparc64/memcopy.h: Delete.
19855
7a99a614
AJ
198562012-04-18 Andreas Jaeger <aj@suse.de>
19857
19858 [BZ# 6794]
19859 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
19860 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
19861 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19862
19863 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
19864 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
19865 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19866
19867 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
19868 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
19869 Adjust for changed ldbl-128 files.
19870
19871 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
19872 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
19873 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19874
e5270c23
DM
198752012-04-17 David S. Miller <davem@davemloft.net>
19876
19877 * sysdeps/sparc/sparc32/memcopy.h: Delete.
19878
fb5e92c9
AS
198792012-04-17 Andreas Schwab <schwab@linux-m68k.org>
19880
19881 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
19882 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
19883 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
19884 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
19885 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19886 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
19887
76da7265
AZ
198882012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19889
19890 [BZ #6794]
19891 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
19892 * math/libm-test.inc: Add ilogb errno and exception tests.
19893 * math/w_ilogb.c: New file: ilogb wrapper.
19894 * math/w_ilogbf.c: New file: ilogbf wrapper.
19895 * math/w_ilogbl.c: New file: ilogbl wrapper.
19896 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
19897 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
19898 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
19899 exception being thrown with 0.0 as argument.
19900 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
19901 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
19902 exception being thrown with 0.0 as argument.
19903 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
19904 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19905 exception being thrown with 0.0 as argument.
19906 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
19907 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19908 exception being thrown with 0.0 as argument.
19909 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
19910 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 19911 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
19912 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
19913 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
19914 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
19915 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
19916 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
19917 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
19918
0396e69d
PB
199192012-04-17 Petr Baudis <pasky@ucw.cz>
19920
19921 * include/sys/uio.h: Change __vector to __iovec to avoid clash
19922 with altivec.
19923
750b5926
MP
199242012-04-16 Marek Polacek <polacek@redhat.com>
19925
19926 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
19927
751728a1
MP
199282012-04-16 Marek Polacek <polacek@redhat.com>
19929
19930 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
19931 operands of fdivp instruction.
19932
34a27407
L
199332012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19934
19935 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
19936 * elf/tst-auditmod3b.c: Likewise.
19937 * elf/tst-auditmod4b.c: Likewise.
19938 * elf/tst-auditmod5b.c: Likewise.
19939 * elf/tst-auditmod6b.c: Likewise.
19940 * elf/tst-auditmod6c.c: Likewise.
19941 * elf/tst-auditmod7b.c: Likewise.
19942 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
19943 * sysdeps/x86_64/preconfigure.in: Likewise.
19944 * sysdeps/x86_64/preconfigure: Regenerated.
19945
7e73e17d
L
199462012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19947
19948 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
19949 __ILP32__.
19950
c7a6ab72
AB
199512012-04-13 Antoine Balestrat <merkil33@gmail.com>
19952
19953 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19954 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
19955
a9e8e0e0
CL
199562012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
19957
19958 [BZ #13973]
19959 * locale/iso-639.def: Fix gl language name. Spotted by
19960 Yaron Shahrabani.
19961
ec98af7d
RM
199622012-04-12 Roland McGrath <roland@hack.frob.com>
19963
19964 [BZ #2074]
19965 * libio/libio.h (__io_write_fn): Update comment.
19966
247c3ede
PB
199672012-04-12 Petr Baudis <pasky@ucw.cz>
19968
19969 [BZ #2074]
19970 * stdio.texi (Hook Functions): The user provided writer function
19971 is not allowed to return -1.
19972
55939d6d
DM
199732012-04-11 David S. Miller <davem@davemloft.net>
19974
19975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19976
90020f5a
MF
199772012-04-11 Mike Frysinger <vapier@gentoo.org>
19978
19979 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
19980 Add a leading slash to rtkaio.
19981
288f9098
JM
199822012-04-11 Jim Meyering <meyering@redhat.com>
19983
90020f5a
MF
19984 [BZ #11959]
19985 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
19986 It is not necessarily an error to ignore fwrite's return
19987 value. One can reliably use ferror to test for errors after
19988 the fact.
288f9098 19989
4be2b570
L
199902012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19991
19992 * bits/types.h (__snseconds_t): New type.
19993 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
19994
19995 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
19996 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19997 (__SNSECONDS_T_TYPE): Likewise.
19998 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19999 (__SNSECONDS_T_TYPE): Likewise.
20000 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20001 (__SNSECONDS_T_TYPE): Likewise.
20002
288f9098 200032012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20004
20005 [BZ #2636]
20006 * manual/time.texi (Processor Time): Return type of times is
20007 elapsed real time since an arbitrary point in the past.
20008 (CPU Time): Move CLK_TCK from here...
20009 (Processor Time): ...to here. Correct description.
20010 * manual/conf.texi (Constants for Sysconf): Correct description of
20011 _SC_CLK_TCK.
20012
d7dd4413
DM
200132012-04-10 David S. Miller <davem@davemloft.net>
20014
20015 [BZ #13967]
20016 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20017 where the is a gap between DT_REL(A) and DT_JMPREL.
20018
b46068fc
L
200192012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20020
20021 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20022 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20023 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20024
73d65cc3
SP
200252012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20026
20027 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20028 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20029 (dl_main): Handle --inhibit-cache.
20030 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20031 _dl_inhibit_cache.
20032 * elf/dl-load.c (_dl_map_object): Use it.
20033 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20034
bcc8d661
JM
200352012-04-09 Joseph Myers <joseph@codesourcery.com>
20036
8f9a2fae
JM
20037 [BZ #13872]
20038 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20039 (__ieee754_powl): Saturate large exponents rather than testing for
20040 overflow of y*log2(x).
20041 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20042 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20043 exceptions.
20044
bcc8d661
JM
20045 [BZ #11521]
20046 * math/s_ctan.c: Include <float.h>.
20047 (__ctan): Avoid internal overflow or cancellation in calculating
20048 denominator.
20049 * math/s_ctanf.c: Likewise.
20050 * math/s_ctanl.c: Likewise.
20051 * math/s_ctanh.c: Likewise.
20052 * math/s_ctanhf.c: Likewise.
20053 * math/s_ctanhl.c: Likewise.
20054 * math/libm-test.inc (ctan_test): Add more tests.
20055 (ctanh_test): Likewise.
20056 * sysdeps/i386/fpu/libm-test-ulps: Update.
20057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20058
823fbbb4
AJ
200592012-04-09 Andreas Jaeger <aj@suse.de>
20060
03879793
AJ
20061 [BZ #6894]
20062 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20063 is an optional BSD extension.
20064
823fbbb4
AJ
20065 [BZ #10254]
20066 * manual/stdio.texi (Opening Streams): Document additional fopen
20067 parameters.
20068
8de131cb
RM
200692012-04-09 Roland McGrath <roland@hack.frob.com>
20070
20071 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20072 %eax without telling the compiler.
20073
c0ed9d7d
CD
200742012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20075
20076 [BZ # 13963]
20077 * manual/install.texi: Use sourceware.org.
20078
c483f6b4
JM
200792012-04-09 Joseph Myers <joseph@codesourcery.com>
20080
d7dd9453
JM
20081 [BZ #13873]
20082 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20083 (__ieee754_pow): Generate overflow and underflow using huge*huge
20084 and tiny*tiny rather than just returning constant infinity or zero
20085 for large exponents.
20086 * math/libm-test.inc (pow_test): Require overflow exceptions for
20087 applicable cases of large exponents.
20088
c483f6b4
JM
20089 [BZ #706]
20090 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20091 (__ieee754_pow): Use iterative multiplication algorithm only for
20092 integer exponents with absolute value below 1024. Check for odd
20093 integer exponents when using algorithm for real exponents.
20094 * math/libm-test.inc (pow_test): Add more tests.
20095 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20096
d2de7579
JM
200972012-04-08 Joseph Myers <joseph@codesourcery.com>
20098
20099 [BZ #13705]
20100 * math/libm-test.inc (exp_test): Do not allow overflow exception
20101 on underflow test.
20102
f77f1232
AJ
201032012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20104
20105 [BZ #13705]
20106 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20107 instead of __kernel_standard_f.
20108
3884932b
MF
201092012-04-08 Mike Frysinger <vapier@gentoo.org>
20110
20111 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20112 * sysdeps/x86_64/memset_chk.S: Likewise.
20113
54472e9c
AJ
201142012-04-08 Andreas Jaeger <aj@suse.de>
20115
6ab0fbfc
AJ
20116 [BZ #10153]
20117 * manual/startup.texi (Environment Access): Describe return value
20118 for putenv and setenv.
20119
61efba8c
AJ
20120 [BZ #6895]
20121 * manual/filesys.texi (Directory Entries): Add description for
20122 DT_LNK.
20123
95c3f29a
AJ
20124 [BZ #6890]
20125 * manual/filesys.texi (Directory Entries): Clarify that it's file
20126 system not operating system in the description of DT_UNKNOWN.
20127
54472e9c
AJ
20128 [BZ #6578]
20129 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20130
624254b1
SC
201312012-04-08 Stephen Compall <s11@member.fsf.org>
20132
20133 [BZ #6649]
20134 * manual/llio.texi (Opening and Closing Files): Add cross
20135 reference to explain mode argument.
20136
1e4920e0
MF
201372012-04-07 Mike Frysinger <vapier@gentoo.org>
20138
20139 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20140 * sysdeps/x86_64/memset_chk.S: Likewise.
20141
5ed848f3
DM
201422012-04-07 David S. Miller <davem@davemloft.net>
20143
20144 * elf/elf.h (R_SPARC_WDISP10): Define.
20145 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20146 R_SPARC_SIZE32.
20147 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20148 R_SPARC_SIZE64 and R_SPARC_H34.
20149
96154cd8
CD
201502012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20151
20152 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20153 conditions and remove no longer applicable assertion.
20154
9904dc47
L
201552012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20156
20157 * bits/byteswap.h: Include <features.h>.
20158 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20159 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20160
f8887d0a
L
201612012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20162
20163 * bits/byteswap.h (__bswap_16): Removed.
20164 Include <bits/byteswap-16.h> to get __bswap_16.
20165 * sysdeps/i386/bits/byteswap.h: Likewise.
20166 * sysdeps/s390/bits/byteswap.h: Likewise.
20167 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20168 * bits/byteswap-16.h: New file.
20169 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20170 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20171 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20172 * string/Makefile (headers): Add bits/byteswap-16.h.
20173
62470f60
PP
201742012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20175
20176 [BZ #13895]
20177 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20178 extra indirection.
20179 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20180 * nss/tst-nss-static.c: New.
20181
4dad7bab
RM
201822012-04-06 Robert Millan <rmh@gnu.org>
20183
20184 [BZ #6486]
20185 * manual/llio.texi (File Position Primitive): lseek
20186 refers to WHENCE when it really means OFFSET.
20187
e9142a17
AJ
201882012-04-06 Andreas Jaeger <aj@suse.de>
20189
2c040eff
AJ
20190 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20191 strncmp declarations.
20192
e9142a17
AJ
20193 * abilist/libc.abilist: Add __poll and __ppoll.
20194
ff9f1c5f
DM
201952012-04-05 David S. Miller <davem@davemloft.net>
20196
dcd2ae90
DM
20197 * scripts/check-local-headers.sh: Accept a host triplet in the
20198 path matched by the exclude regexp.
20199
993eb054
DM
20200 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20201 definition.
20202 * sysdeps/powerpc/powerpc32/dl-machine.h
20203 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20204 * sysdeps/s390/s390-32/dl-machine.h
20205 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20206 * sysdeps/sparc/sparc32/dl-machine.h
20207 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20208 * sysdeps/sparc/sparc64/dl-machine.h
20209 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20210
ff9f1c5f
DM
20211 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20212 lazy binding.
48e2e132 20213 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20214 undefined symbol errors.
20215
48e2e132 20216 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
20217 DT_NEEDED entries.
20218
e80d6f94
MM
202192012-04-05 Michael Matz <matz@suse.de>
20220
20221 [BZ #13592]
20222 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20223
349fa79f
AJ
202242012-04-05 Andreas Jaeger <aj@suse.de>
20225
20226 [BZ #13908]
20227 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20228 comment.
20229
f402708f
KK
202302012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20231
20232 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20233 which ROUND is no valid rounding mode.
20234
2ecccfc9
KK
202352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20236
20237 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20238 read again.
20239 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20240
8a53f50f
KK
202412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20242
20243 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20244 an exception using FPU order intentionally.
20245
202462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20247
20248 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20249 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20250 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20251 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20252
d653abb7
SJ
202532012-04-05 Simon Josefsson <simon@josefsson.org>
20254
20255 [BZ #12340]
20256 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20257 EINVAL when BUFLEN is too smal.
20258
c3b1bf7d
TS
202592012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20260
20261 [BZ #13553]
20262 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20263 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20264
b1aa60f3
AJ
202652012-04-03 Andreas Jaeger <aj@suse.de>
20266
c3b1bf7d 20267 [BZ #13938]
67f60a26
AJ
20268 * manual/setjmp.texi (System V contexts): Fix sentence.
20269
b1aa60f3
AJ
20270 [BZ #13926]
20271 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20272 New macro for this case.
20273 [!__GNUC__] (__bswap_64): New inline function for this case.
20274 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20275 * bits/byteswap.h: Likewise.
20276 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20277 ull, guard with __GLIBC_HAVE_LONG_LONG.
20278
20279 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20280 __GLIBC_HAVE_LONG_LONG.
20281
20282 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20283 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20284
39c59c35
TMQMF
202852012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20286
20287 [BZ #13691]
20288 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20289 inptr and inend, rather than using last_ch.
20290
135ffda8
DM
202912012-04-02 David S. Miller <davem@davemloft.net>
20292
20293 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20294 * stdio-common/printf-parse.h (read_int): Change return type to
20295 'int', return -1 on INT_MAX overflow.
20296 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20297 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20298 overflows INT_MAX. Check for overflow of in-format-string precision
20299 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20300 SIZE_MAX not INT_MAX for integer overflow test.
20301 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20302 skip the construct in the format string but do not record anything.
20303 * stdio-common/bug22.c: Adjust to test both width/prevision
20304 INT_MAX overflow as well as total length INT_MAX overflow. Check
20305 explicitly for proper errno values.
20306
228c019e
TS
203072012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20308
302cadd3
TS
20309 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20310 CHAR_MAX.
20311 * string/test-strcmp.c [! WIDE]: Likewise.
20312 * time/tst-mktime2.c: Likewise for INT_MAX.
20313 * string/test-string.h: #include <sys/param.h> for MIN.
20314
228c019e
TS
20315 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20316 * sysdeps/i386/init-first.c (init): Likewise.
20317 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20318 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20319 * sysdeps/sh/init-first.c (init): Likewise.
20320
cfa633f5
UD
203212012-04-01 Ulrich Drepper <drepper@gmail.com>
20322
20323 * po/ru.po: Update from translation team.
d1635ef8 20324 * po/vi.po: Likewise.
cfa633f5 20325
6cd0a5ea
SP
203262012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20327
20328 * resolv/nss_dns/dns-host.c: Merge copyright years.
20329
4b43400f
LD
203302012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20331
20332 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20333 Optimize memcpy with prefetch if
20334 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20335 src, dst pointers have unequal 16 byte alignments.
20336
48c41d04
SP
203372012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20338
20339 [BZ #13928]
20340 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20341 from a CNAME entry and return the minimum ttl for the query.
20342 (gaih_getanswer_slice): Likewise.
20343
b8dc394d
JL
203442012-03-30 Jeff Law <law@redhat.com>
20345
20346 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20347 due to long keys.
20348 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20349 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20350
2f5a5ed0
JL
20351 * resolv/nss_dns/dns-host.c: Update copyright year.
20352
1d39e359
UD
203532012-03-30 Ulrich Drepper <drepper@gmail.com>
20354
c030f70c 20355 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 20356 requests to save a system call. Fix check that all bytes are sent.
c030f70c 20357
1d39e359
UD
20358 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20359 comments for sendmmsg.
20360
203612012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
20362
20363 [BZ #13691]
20364 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20365 with only 1 character between 0x0041 and 0x01b0.
20366 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20367 * wcsmbs/tst-mbsnrtowcs.c: New file.
20368
20fde227
DM
203692012-03-29 David S. Miller <davem@davemloft.net>
20370
20371 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20372 small copies by hand.
20373
984a4237
JL
203742012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20375
20376 [BZ #13761]
20377 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20378 _nss_compat_initgroups_dyn): Fall back to malloc/free
20379 for large group memberships.
20380
18c9d62b
DM
203812012-03-28 David S. Miller <davem@davemloft.net>
20382
88d85d4f
DM
20383 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20384 that branches into memcpy.
20385 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20386 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20387 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20388 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20389 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20390 bits.
20391 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20392 implementation too.
20393 * sysdeps/sparc/mempcpy.S: New file.
20394
e5aa83e1
DM
20395 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20396 the IFUNC routine in the libc case.
20397 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20398
88570753
DM
20399 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20400 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20401 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20402 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20403 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20404 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20405 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20406 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20407
249d7567
DM
20408 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20409 loop to 256 bytes instead of 64 bytes and fix test signedness.
20410
18c9d62b
DM
20411 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20412 * sysdeps/sparc/sparc32/Makefile: rather than here...
20413 * sysdeps/sparc/sparc64/Makefile: and here.
20414
05f3d1f6
UD
204152012-03-28 Ulrich Drepper <drepper@gmail.com>
20416
20417 * malloc/mallocbug.c: Avoid warnings about unused variables.
20418
86ae07a8
JL
204192012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20420
20421 [BZ #13760]
20422 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20423 in the right place. Discard and retry query if response is
20424 larger than input buffer size.
20425
41bf21a1
JM
204262012-03-28 Joseph Myers <joseph@codesourcery.com>
20427
d6270972
JM
20428 [BZ #369]
20429 [BZ #2678]
20430 [BZ #3866]
20431 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20432 x for large integer exponent.
20433 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20434 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20435 sign of result as needed afterwards.
20436 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20437 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20438 result for underflowing pow the same as for overflow.
20439 (__kernel_standard_l): Handle powl overflow and underflow here
20440 rather than calling __kernel_standard.
20441 * math/libm-test.inc (pow_test): Add more tests.
20442
414fca03 20443 [BZ #3868]
41bf21a1
JM
20444 [BZ #13879]
20445 [BZ #13910]
20446 [BZ #13911]
20447 [BZ #13912]
20448 [BZ #13913]
20449 [BZ #13915]
20450 [BZ #13916]
20451 [BZ #13917]
20452 [BZ #13918]
20453 [BZ #13919]
20454 [BZ #13920]
20455 [BZ #13921]
20456 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20457 * sysdeps/ieee754/k_standard.c: Include <float.h>.
20458 (__kernel_standard_l): New function.
20459 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20460 __kernel_standard.
20461 * math/w_acosl.c (__acosl): Likewise.
20462 * math/w_asinl.c (__asinl): Likewise.
20463 * math/w_atan2l.c (__atan2l): Likewise.
20464 * math/w_atanhl.c (__atanhl): Likewise.
20465 * math/w_coshl.c (__coshl): Likewise.
20466 * math/w_exp10l.c (__exp10l): Likewise.
20467 * math/w_exp2l.c (__exp2l): Likewise.
20468 * math/w_fmodl.c (__fmodl): Likewise.
20469 * math/w_hypotl.c (__hypotl): Likewise.
20470 * math/w_j0l.c (__j0l, __y0l): Likewise.
20471 * math/w_j1l.c (__j1l, __y1l): Likewise.
20472 * math/w_jnl.c (__jnl, __ynl): Likewise.
20473 * math/w_lgammal.c (__lgammal): Likewise.
20474 * math/w_log10l.c (__log10l): Likewise.
20475 * math/w_log2l.c (__log2l): Likewise.
20476 * math/w_logl.c (__logl): Likewise.
20477 * math/w_powl.c (__powl): Likewise.
20478 * math/w_remainderl.c (__remainderl): Likewise.
20479 * math/w_scalbl.c (sysv_scalbl): Likewise.
20480 * math/w_sinhl.c (__sinhl): Likewise.
20481 * math/w_sqrtl.c (__sqrtl): Likewise.
20482 * math/w_tgammal.c (__tgammal): Likewise.
20483 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20484 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20485 * math/libm-test.inc (acos_test): Add more tests.
20486 (acosh_test): Likewise.
20487 (asin_test): Likewise.
20488 (atanh_test): Likewise.
20489 (exp_test): Likewise.
20490 (exp10_test): Likewise.
20491 (exp2_test): Likewise.
20492 (expm1_test): Likewise.
20493 (lgamma_test): Likewise.
20494 (log_test): Likewise.
20495 (log10_test): Likewise.
20496 (log1p_test): Likewise.
20497 (log2_test): Likewise.
20498 (pow_test): Do not allow some spurious overflow exceptions.
20499 (sqrt_test): Add more tests.
20500 (tgamma_test): Likewise.
20501 (y0_test): Likewise.
20502 (y1_test): Likewise.
20503 (yn_test): Likewise.
20504
dd62fda6
AB
205052012-03-27 Anton Blanchard <anton@samba.org>
20506
20507 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20508 MAP_HUGETLB.
20509 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20510 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20511 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20512
1e3cdfda
AJ
205132012-03-27 David S. Miller <davem@davemloft.net>
20514
b855ab85
DM
20515 * conform/Makefile: Run run-conformtest.sh using $(BASH).
20516
1e3cdfda
AJ
20517 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20518 have-as-vis3 check.
20519
205202012-03-27 Andreas Jaeger <aj@suse.de>
20521
20522 * sysdeps/x86_64/elf/configure.in: Moved to ...
20523 * sysdeps/x86_64/configure.in: ... here.
20524 * sysdeps/x86_64/elf/start.S: Moved to ...
20525 * sysdeps/x86_64/start.S: ... here.
20526 * sysdeps/x86_64/elf/configure: Delete.
20527
20528 * sysdeps/x86_64/configure.in: Merge contents from
20529 sysdeps/i386/configure.in (without i686 check).
20530
20531 * sysdeps/i386/elf/Versions: Merge into ...
20532 * sysdeps/i386/Versions: ... this.
20533 * sysdeps/i386/elf/Versions: Delete file.
20534 * sysdeps/i386/elf/start.S: Moved to ...
20535 * sysdeps/i386/start.S: ...here.
20536 * sysdeps/i386/elf/configure.in: Merge into...
20537 * sysdeps/i386/configure.in: ...here.
20538 * sysdeps/i386/elf/configure.in: Delete file.
20539 * sysdeps/i386/elf/configure: Delete file.
20540
20541 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20542 * debug/backtracesyms.c: ... here.
20543 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20544 * debug/backtracesymsfd.c: ... here.
20545 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20546 * sysdeps/generic/ifunc-sel.h: ... here.
20547
20548 * sysdeps/unix/i386/start.c: Delete file.
20549 * sysdeps/unix/sparc/start.c: Delete file.
20550 * sysdeps/unix/start.c: Delete file.
20551
20552 * sysdeps/sh/elf/configure.in: Moved to ...
20553 * sysdeps/sh/configure.in: ... here.
20554 * sysdeps/sh/elf/start.S: Moved to ...
20555 * sysdeps/sh/start.S: ... here.
20556 * sysdeps/sh/elf/configure: Delete file.
20557
20558 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20559 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20560 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20561 * sysdeps/powerpc/powerpc64/entry.h: ... here.
20562 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20563 * sysdeps/powerpc/powerpc64/start.S: here.
20564 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20565 * sysdeps/powerpc/powerpc64/Makefile: ... this.
20566 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20567 * sysdeps/powerpc/powerpc64/configure.in: ... this.
20568 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20569
20570 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20571 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20572 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20573 * sysdeps/powerpc/powerpc32/start.S: ... here.
20574 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20575 * sysdeps/powerpc/powerpc32/configure.in: ... this.
20576 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20577
20578 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20579 * sysdeps/powerpc/ifunc-sel.h: ... here.
20580 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20581 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20582
20583 * sysdeps/sparc/elf/configure.in: Moved to ...
20584 * sysdeps/sparc/configure.in: ... here.
20585 * sysdeps/sparc/elf/configure: Delete file.
20586 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20587 * sysdeps/sparc/sparc32/start.S: ... here.
20588 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20589 * sysdeps/sparc/sparc64/start.S: ... here.
20590 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20591 * sysdeps/sparc/sparc32/Makefile: ... this.
20592 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20593 * sysdeps/sparc/sparc64/Makefile: ... this.
20594
20595 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20596 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20597 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20598 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20599 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20600 * sysdeps/s390/s390-32/setjmp.S: ... here.
20601 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20602 * sysdeps/s390/s390-32/configure.in: ... here.
20603 * sysdeps/s390/s390-32/elf/configure: Delete file.
20604 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20605 * sysdeps/s390/s390-32/start.S: ... here.
20606
20607 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20608 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20609 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20610 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20611 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20612 * sysdeps/s390/s390-64/setjmp.S: ... here.
20613 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20614 * sysdeps/s390/s390-64/configure.in: ... here
20615 * sysdeps/s390/s390-64/elf/configure: Delete file.
20616 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20617 * sysdeps/s390/s390-64/start.S: ... here.
20618 * sysdeps/s390/s390-64/elf/configure: Delete.
20619
20620 * configure.in: Remove support for elf directories in sysdeps.
20621
20622 * configure: Regenerated.
20623 * sysdeps/i386/configure: Regenerated.
20624 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20625 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20626 * sysdeps/s390/s390-32/configure: Regenerated.
20627 * sysdeps/s390/s390-64/configure: Regenerated.
20628 * sysdeps/sh/configure: Regenerated.
20629 * sysdeps/sparc/configure: Regenerated.
20630 * sysdeps/x86_64/configure: Regenerated.
20631
a3f61311
AS
206322012-03-26 Andreas Schwab <schwab@linux-m68k.org>
20633
c876e002
AS
20634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20635
a3f61311
AS
20636 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20637 denormal result into account.
20638
ac4c54f0
RM
206392012-03-25 Roland McGrath <roland@hack.frob.com>
20640
20641 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20642 Reported by Allan McRae <allan@archlinux.org>.
20643
6a9b9c02
JL
206442012-03-23 Jeff Law <law@redhat.com>
20645
20646 * nss/getnssent.c (__nss_getent): Fix typo.
20647
4c42a0c1
DM
206482012-03-23 David S. Miller <davem@davemloft.net>
20649
20650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20651
1532c7ac
L
206522012-03-23 H.J. Lu <hongjiu.lu@intel.com>
20653
20654 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20655 to pad to uint64_t for each field.
20656 (dl_tls_index): Replace unsigned long with uint64_t.
20657
3ff42526
PP
206582012-03-23 Daniel Jacobowitz <dmj@google.com>
20659 Paul Pluzhnikov <ppluzhnikov@google.com>
20660
20661 [BZ #6528]
20662 * grp/Makefile (otherlibs): Don't set it.
20663 * inet/Makefile (otherlibs): Likewise.
20664 * login/Makefile (otherlibs): Likewise.
20665 * nscd/Makefile (otherlibs): Likewise.
20666 * posix/Makefile (otherlibs): Likewise.
20667 * pwd/Makefile (otherlibs): Likewise.
20668 * rt/Makefile (otherlibs): Likewise.
20669 * sunrpc/Makefile (otherlibs): Likewise.
20670 * nss/Makefile (otherlibs): Likewise.
20671 Add libnss_files to routines and static-only-routines.
20672 ($(objpfx)getent): Remove rule.
20673 * resolv/Makefile: Add libnss_dns and libresolv to routines and
20674 static-only-routines.
20675
7c69cd14
JM
206762012-03-22 Joseph Myers <joseph@codesourcery.com>
20677
20678 [BZ #13892]
20679 * math/s_cexp.c: Include <float.h>.
20680 (__cexp): Handle exp result overflowing not necessarily
20681 overflowing both real and imaginary parts of result.
20682 * math/s_cexpf.c: Likewise.
20683 * math/s_cexpl.c: Likewise.
20684 * math/libm-test.inc (cexp_test): Add more tests.
20685 * sysdeps/i386/fpu/libm-test-ulps: Update.
20686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20687
81b035fe
L
206882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20689
20690 * include/link.h (ELFW): New macro.
20691 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20692 Replace ELF64_R_TYPE with ELFW(R_TYPE).
20693
1da7940c
L
206942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20695
20696 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20697 with uint64_t.
20698
b749dbb9
L
206992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20700
20701 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20702 declaration.
20703 (struct La_x32_retval): Likewise.
20704
2ff87f3f
L
207052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20706
20707 * sysdeps/x86_64/preconfigure.in: New file.
20708 * sysdeps/x86_64/preconfigure: New generated file.
20709
c0df8e69
JM
207102012-03-22 Joseph Myers <joseph@codesourcery.com>
20711
48e44791
JM
20712 [BZ #13824]
20713 * math/e_exp2l.c: Include <float.h>.
20714 (__ieee754_exp2l): Handle overflow and underflow cases
20715 separately. Only pass fractional part of argument to
20716 __ieee754_expl.
20717 * math/libm-test.inc (exp2_test): Add more tests.
20718
c0df8e69
JM
20719 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20720 negating x to take absolute value.
20721 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20722 Likewise.
20723 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20724 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20725 Likewise.
20726 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20727 computing low part if x was negated.
20728 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20729
c8e43ba7
L
207302012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20731
20732 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
20733 la_x32_gnu_pltexit.
20734 (pltexit): Cast int_retval to ptrdiff_t.
20735 * elf/tst-auditmod3b.c: Likewise.
20736 * elf/tst-auditmod4b.c: Likewise.
20737 * elf/tst-auditmod5b.c: Likewise.
20738 * elf/tst-auditmod6b.c: Likewise.
20739 * elf/tst-auditmod6c.c: Likewise.
20740 * elf/tst-auditmod7b.c: Likewise.
20741
20742 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
20743 and x32_gnu_pltexit.
20744
20745 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
20746 __ELF_NATIVE_CLASS.
20747 (La_x32_regs): New macro.
20748 (La_x32_retval): Likewise.
20749 (la_x32_gnu_pltenter): New function prototype.
20750 (la_x32_gnu_pltexit): Likewise.
20751
7998fa78
AS
207522012-03-21 Andreas Schwab <schwab@linux-m68k.org>
20753
dcb33988
AS
20754 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
20755 exponent.
20756
233fc563
AS
20757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20758
7998fa78
AS
20759 * configure.in (libc_cv_cc_nofma): Check for option to disable
20760 generation of FMA instructions.
20761 * configure: Regenerate.
20762 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
20763 * sysdeps/ieee754/dbl-64/Makefile: New file.
20764 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20765 Remove brandred-fma4.
20766 (CFLAGS-brandred-fma4.c): Remove.
20767 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
20768 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
20769 define.
20770 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
20771 define.
20772
8e95c99a
L
207732012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20774
20775 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20776 LLONG_MAX != LONG_MAX.
20777 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20778 (_fitoa_word): Likewise.
20779 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
20780 LLONG_MAX != LONG_MAX.
20781 * stdio-common/_itowa.h: Include <_itoa.h>.
20782 (_itowa_word): Use _ITOA_WORD_TYPE on value.
20783 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
20784 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
20785 only if not defined.
20786 (_ITOA_WORD_TYPE): Likewise.
20787 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20788 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
20789
6f4db457
DM
207902012-03-21 David S. Miller <davem@davemloft.net>
20791
20792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20793
7785fe5a
L
207942012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20795
20796 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
20797 of x86_64 when setting libc_cv_slibdir, libdir and
20798 libc_cv_localedir.
20799 * sysdeps/unix/sysv/linux/configure: Regenerated.
20800
4535cd55
JM
208012012-03-21 Joseph Myers <joseph@codesourcery.com>
20802
20803 * manual/lang.texi (Old Varargs): Remove section.
20804 (How Variadic): Update menu.
20805 (va_start): Do not mention varargs.h.
20806
17228132
TS
208072012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20808 Joseph Myers <joseph@codesourcery.com>
20809
20810 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
20811 link test.
20812 * configure: Regenerated.
20813
8149f976
TS
208142012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20815
05f3d1f6
UD
20816 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
20817 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
20818 conformtest.pl
8149f976 20819
1a4ac776
JM
208202012-03-21 Joseph Myers <joseph@codesourcery.com>
20821
be22ce65
JM
20822 * NOTES: Remove.
20823 * Makefile (files-for-dist): Remove NOTES.
20824 (NOTES): Remove rule.
20825 * README: Don't refer to NOTES.
20826 * manual/creature.texi: Don't include macros.texi.
20827 * manual/intro.texi (creature.texi): Remove comment referring to
20828 NOTES.
20829
40b601fb
JM
20830 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
20831 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
20832 * configure: Regenerated.
20833 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
20834 LIBC_TRY_CC_OPTION.
20835 (libc_cv_as_i686): Likewise.
20836 (libc_cv_cc_avx): Likewise.
20837 (libc_cv_cc_sse2avx): Likewise.
20838 (libc_cv_cc_fma4): Likewise.
20839 (libc_cv_cc_novzeroupper): Likewise.
20840 * sysdeps/i386/configure: Regenerated.
20841
1a4ac776
JM
20842 [BZ #13883]
20843 * sysdeps/i386/fpu/s_cexp.S: Remove.
20844 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20845 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20846 * math/libm-test.inc (cexp_test): Add more tests.
20847 * sysdeps/i386/fpu/libm-test-ulps: Update.
20848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20849
a458e7fe
AM
208502012-03-21 Allan McRae <allan@archlinux.org>
20851
20852 * timezone/Makefile: Do not install iso3166.tab and zone.tab
20853
0cb7efc5
JM
208542012-03-21 Joseph Myers <joseph@codesourcery.com>
20855
20856 [BZ #13871]
20857 * math/w_exp2.c: Do not include <float.h>.
20858 (o_threshold, u_threshold): Remove.
20859 (__exp2): Calculate result before checking finiteness and calling
20860 __kernel_standard.
20861 * math/w_exp2f.c: Likewise.
20862 * math/w_exp2l.c: Likewise.
20863 * math/libm-test.inc (exp2_test): Require overflow exception for
20864 1e6 input.
2460d3aa
JM
20865
20866 [BZ #3866]
20867 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
20868 range of signed 64-bit integers before using fistpll. Remove
20869 checks for whether integers fit in mantissa bits.
20870 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
20871 the range of signed 32-bit integers before using fistpl. Remove
20872 checks for whether integers fit in mantissa bits.
20873 * sysdeps/i386/fpu/e_powl.S (p64): New object.
20874 (__ieee754_powl): Test for y outside the range of signed 64-bit
20875 integers before using fistpll. Reduce 64-bit values to 63-bit
20876 ones as needed.
20877 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
20878 divide-by-zero is raised for zero to large negative powers.
20879 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
20880 (__ieee754_powl): Test for y outside the range of signed 64-bit
20881 integers before using fistpll. Reduce 64-bit values to 63-bit
20882 ones as needed.
20883 * math/libm-test.inc (pow_test): Add more tests.
20884
eb96ffb0
L
208852012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20886
20887 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
20888 <stdio-common/_itoa.h>.
20889 * debug/segfault.c: Likewise.
20890 * elf/dl-cache.c: Likewise.
20891 * elf/dl-minimal.c: Likewise.
20892 * elf/dl-misc.c: Likewise.
20893 * elf/dl-sysdep.c: Likewise.
20894 * elf/dl-version.c: Likewise.
20895 * elf/rtld.c: Likewise.
20896 * hurd/hurdsock.c: Likewise.
20897 * hurd/lookup-retry.c: Likewise.
20898 * malloc/malloc.c: Likewise.
20899 * malloc/mtrace.c: Likewise.
20900 * nscd/nscd_getgr_r.c: Likewise.
20901 * nscd/nscd_getpw_r.c: Likewise.
20902 * nscd/nscd_getserv_r.c: Likewise.
20903 * posix/getopt_init.c: Likewise.
20904 * posix/wordexp.c: Likewise.
20905 * stdio-common/_itoa.c: Likewise.
20906 * stdio-common/printf_fphex.c: Likewise.
20907 * stdio-common/vfprintf.c: Likewise.
20908 * string/_strerror.c: Likewise.
20909 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
20910 * sysdeps/i386/i686/hp-timing.h: Likewise.
20911 * sysdeps/mach/_strerror.c: Likewise.
20912 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
20913 * sysdeps/mach/hurd/sethostid.c: Likewise.
20914 * sysdeps/mach/hurd/xmknodat.c: Likewise.
20915 * sysdeps/mach/xpg-strerror.c: Likewise.
20916 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20917 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20918 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
20919 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
20920 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20921 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
20922 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20923 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20924 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
20925 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
20926 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
20927 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20928 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
20929 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20930 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20931 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
20932 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
20933 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
20934 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
20935 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
20936 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
20937
20938 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
20939
20940 * stdio-common/_itoa.h: Moved to ...
20941 * sysdeps/generic/_itoa.h: Here.
20942
20943 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
20944
20945 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
20946 instead of "_itoa.h" and "_itowa.h".
20947 * stdio-common/vfprintf.: Likewise.
20948
d1af992d
L
209492012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20950
20951 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
20952 <bits/wordsize.h>.
20953 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
20954 (__signbit): Likwise.
20955 (llrintf): Likwise.
20956 (llrint): Likwise.
20957
114883e0
L
209582012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20959
20960 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
20961 __WORDSIZE != 64.
20962
c135cc1b
JM
209632012-03-20 Joseph Myers <joseph@codesourcery.com>
20964
20965 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
20966 OVERFLOW_EXCEPTION_OK.
20967 * math/libm-test.inc ("Philosophy"): Update comment about
20968 exception testing.
20969 (OVERFLOW_EXCEPTION): Define.
20970 (OVERFLOW_EXCEPTION_OK): Likewise.
20971 (INVALID_EXCEPTION_OK): Renumber.
20972 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20973 (IGNORE_ZERO_INF_SIGN): Likewise.
20974 (test_exceptions): Handle FE_OVERFLOW.
20975 (exp10_test): Expect overflow exceptions.
20976 (exp2_test): Likewise.
20977 (expm1_test): Likewise.
20978 (nextafter_test): Likewise.
20979 (pow_test): Likewise.
20980 (scalbn_test): Likewise.
20981 (scalbln_test): Likewise.
20982
95443d88
L
209832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20984
20985 * sysdeps/x86_64/bits/atomic.h
20986 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
20987 64bit integer.
20988 (atomic_exchange_acq): Likewise.
20989 (__arch_exchange_and_add_body): Likewise.
20990 (__arch_add_body): Likewise.
20991 (atomic_add_negative): Likewise.
20992 (atomic_add_zero): Likewise.
20993
490df6c4
L
209942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20995
c2722551 20996 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
20997 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
20998
5e52b189
L
209992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21000
21001 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21002 Check __x86_64__ instead of __WORDSIZE.
21003
a9879d4c
L
210042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21005
21006 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21007
5df98260
DM
210082012-03-19 David S. Miller <davem@davemloft.net>
21009
e1497744
DM
21010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21011
5df98260
DM
21012 * sysdeps/sparc/fpu/fenv_private.h: New file.
21013 * sysdeps/sparc/fpu/math_private.h: Use it.
21014 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21015 Remove.
21016 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21017 (libc_feholdexcept_setroundl): Remove.
21018 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21019 Remove.
21020 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21021 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21022
b4c35121
L
210232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21024
21025 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21026 int64_t instead of long int.
21027 (INSERT_WORDS64): Likwise.
21028
56965fd7
L
210292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21030
21031 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21032 _Unwind_GetCFA return to _Unwind_Ptr first.
21033
83d1aec8
JM
210342012-03-19 Joseph Myers <joseph@codesourcery.com>
21035
1897ad44
JM
21036 [BZ #13629]
21037 * math/s_clog.c: Include <float.h>.
21038 (__clog): Scale large or subnormal inputs.
21039 * math/s_clogf.c: Likewise.
21040 * math/s_clogl.c: Likewise.
21041 * math/s_clog10.c: Include <float.h>.
21042 (M_LOG10_2): Define.
21043 (__clog10): Scale large or subnormal inputs.
21044 * math/s_clog10f.c: Likewise.
21045 * math/s_clog10l.c: Likewise.
21046 * math/libm-test.inc (clog_test): Add more tests.
21047 (clog10_test): Likewise.
21048 * sysdeps/i386/fpu/libm-test-ulps: Update.
21049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21050
7726d6a9
JM
21051 [BZ #11451]
21052 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21053 x and y.
21054 * math/libm-test.inc (atan2_test): Add another test.
21055
83d1aec8
JM
21056 * Makerules (common-objdir-compile): Remove.
21057 * sysdeps/unix/Makefile (config-generated): Do not add
21058 $(unix-generated) to variable.
21059 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21060 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21061 Remove rule.
21062 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21063 Likewise.
21064 [generic bits/local_lim.h] (before-compile): Do not append to
21065 variable.
21066 [generic bits/local_lim.h] (common-generated): Likewise.
21067 [generic sys/param.h] (before-compile): Do not append to variable.
21068 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21069 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21070 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21071 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21072 include.
21073 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21074 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21075 [generic sys/param.h] ($(addprefix
21076 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21077 [generic sys/param.h] (common-generated): Do not append to
21078 variable.
21079 [generic sys/param.h] (sysdep_headers): Likewise.
21080 [generic bits/errno.h] (before-compile): Do not append to
21081 variable.
21082 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21083 rule.
21084 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21085 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21086 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21087 [generic bits/errno.h] (common-generated): Do not append to
21088 variable.
21089 [generic bits/ioctls.h] (before-compile): Do not append to
21090 variable.
21091 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21092 rule.
21093 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21094 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21095 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21096 rule.
21097 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21098 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21099 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21100 [generic bits/ioctls.h] (common-generated): Do not append to
21101 variable.
21102 [generic sys/syscall.h] (syscall.h): Remove variable.
21103 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21104 rule.
21105 [generic sys/syscall.h] (before-compile): Do not append to
21106 variable.
21107 [generic sys/syscall.h] (common-generated): Likewise.
21108 * sysdeps/unix/errnos-tmpl.c: Remove file.
21109 * sysdeps/unix/errnos.awk: Likewise.
21110 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21111 * sysdeps/unix/ioctls.awk: Likewise.
21112 * sysdeps/unix/mk-local_lim.c: Likewise.
21113 * sysdeps/unix/snarf-ioctls: Likewise.
21114
4851a949
RH
211152012-03-19 Richard Henderson <rth@twiddle.net>
21116
bd37f2ee
RH
21117 * sysdeps/i386/fpu/fenv_private.h: New file.
21118 * sysdeps/i386/fpu/math_private.h: Use it.
21119 (math_opt_barrier, math_force_eval): Remove.
21120 (libc_feholdexcept_setround_53bit): Remove.
21121 (libc_feupdateenv_53bit): Remove.
21122 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21123 (math_opt_barrier, math_force_eval): Remove.
21124 (libc_feholdexcept): Remove.
21125 (libc_feholdexcept_setround): Remove.
21126 (libc_fetestexcept, libc_fesetenv): Remove.
21127 (libc_feupdateenv_test): Remove.
21128 (libc_feupdateenv, libc_feholdsetround): Remove.
21129 (libc_feresetround): Remove.
21130
d0adc922
RH
21131 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21132 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21133
0fe0f1f8
RH
21134 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21135 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21136 (libc_feupdateenv_testl): New.
21137 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21138 (libc_feupdateenv_testf): New.
21139 (libc_feupdateenv): Use libc_feupdateenv_test.
21140 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21141 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21142
eb92c487
RH
21143 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21144 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21145 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21146 (libc_feresetround_noex): New.
21147 (libc_feresetround_noexf): New.
21148 (libc_feresetround_noexl): New.
21149 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21150 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21151 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21152 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21153 SET_RESTORE_ROUND.
21154 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21155 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21156 (__cos): Likewise.
21157 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21158 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21159 SET_RESTORE_ROUND_NOEX.
21160 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21161 SET_RESTORE_ROUND_NOEXF.
21162 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21163 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21164 (libc_feholdsetroundf): New.
21165 (libc_feresetround, libc_feresetroundf): New.
21166
7d2e8012
RH
21167 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21168 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21169 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21170
b4dabbb4
RH
21171 * sysdeps/generic/math_private.h: Include <fenv.h>.
21172 (default_libc_feholdexcept): New.
21173 (default_libc_feholdexcept_setround): New.
21174 (default_libc_fesetenv, default_libc_feupdateenv): New.
21175 (libc_feholdexcept): Only define if undefined.
21176 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21177 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21178 (libc_feholdexcept_setroundl): Likewise.
21179 (libc_feholdexcept_setround_53bit): Likewise.
21180 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21181 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21182 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21183 (libc_feupdateenv_53bit): Likewise.
21184 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21185 (libc_feholdexcept): Convert from macro to inline function.
21186 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21187 (libc_fesetenv, libc_feupdateenv): Likewise.
21188
4851a949
RH
21189 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21190 not previously defined.
21191 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21192 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21193 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21194 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21195 * sysdeps/ieee754/flt-32/math_private.h: New file.
21196 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21197 math_private.h below SET_FLOAT_WORD.
21198 (__isnan, __isinf_ns, __finite): Remove.
21199 (__isnanf, __isinf_nsf, __finitef): Remove.
21200
e79d442e
AS
212012012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21202
21203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21204
90b80344
DM
212052012-03-17 David S. Miller <davem@davemloft.net>
21206
21207 [BZ #6471]
21208 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21209 for 2.16.
21210
edc21804
DM
212112012-03-16 David S. Miller <davem@davemloft.net>
21212
77e927af
DM
21213 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21214 warnings.
21215
374976dd
DM
21216 [BZ #6471]
21217 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21218 properly.
21219 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21220 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21221 sysdep_routines when subdir is sysvipc.
21222 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21223 __getshmlba helper.
21224
edc21804
DM
21225 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21226
473c3ef3
L
212272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21228
21229 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21230 [__LP64__].
21231
eb0f39b6
L
212322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21233
21234 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21235 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21236 (__lround): Renamed to ...
21237 (__llround): This. Replace long int with long long int.
21238 Define lround functions as aliases of llround functions.
21239 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21240
6b6cd74b
L
212412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21242
21243 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21244 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21245 adresses to uintptr_t. Replace "long int" and "unsigned long
21246 int" with "greg_t" on va_arg.
21247
f1a77b01
L
212482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21249
21250 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21251 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21252
21253 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21254 Move e_machine check before EI_CLASS check. Handle x32
21255 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21256 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21257 SKIP_EM_IA_64 and include
21258 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21259
21260 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21261 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21262 (add_system_dir): New macro.
21263
21264 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21265 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21266
11b90b9f
JM
212672012-03-16 Joseph Myers <joseph@codesourcery.com>
21268
c36e1d23
JM
21269 [BZ #2551]
21270 [BZ #2552]
21271 [BZ #2553]
21272 [BZ #2554]
21273 [BZ #2562]
21274 [BZ #2563]
21275 [BZ #2565]
21276 [BZ #2566]
21277 [BZ #2576]
21278 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21279 (y0): Likewise.
21280 * math/w_j0f.c (j0f): Likewise.
21281 (y0f): Likewise.
21282 * math/w_j0l.c (__j0l): Likewise.
21283 (__y0l): Likewise.
21284 * math/w_j1.c (j1): Likewise.
21285 (y1): Likewise.
21286 * math/w_j1f.c (j1f): Likewise.
21287 (y1f): Likewise.
21288 * math/w_j1l.c (__j1l): Likewise.
21289 (__y1l): Likewise.
21290 * math/w_jn.c (jn): Likewise.
21291 (yn): Likewise.
21292 * math/w_jnf.c (jnf): Likewise.
21293 (ynf): Likewise.
21294 * math/w_jnl.c (__jnl): Likewise.
21295 (__ynl): Likewise.
21296 * math/libm-test.inc (j0_test): Add more tests.
21297 (j1_test): Likewise.
21298 (jn_test): Likewise. Add trailing semicolon to existing test.
21299 (y0_test): Likewise.
21300 (y1_test): Likewise.
21301 * sysdeps/i386/fpu/libm-test-ulps: Update.
21302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21303
11b90b9f
JM
21304 [BZ #13851]
21305 [BZ #13854]
21306 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21307 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21308 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21309 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21310 (__tanl): Set errno for infinite argument.
21311 * sysdeps/i386/fpu/mptan.c: Remove.
21312 * sysdeps/i386/fpu/s_tan.S: Likewise.
21313 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21314 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21315 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21316 * math/libm-test.inc (tan_test): Add more tests and enable more
21317 tests for double and long double.
21318 * sysdeps/i386/fpu/libm-test-ulps: Update.
21319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21320
6a1bd2a1
JK
213212012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21322
21323 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21324 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21325
10a803e0
RM
213262012-03-16 Roland McGrath <roland@hack.frob.com>
21327
21328 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21329 * configure.in: Use it for both main tree and add-ons.
21330 * configure: Regenerated.
21331
f196c7f7
L
213322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21333
21334 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21335
8848d99d
JM
213362012-03-16 Joseph Myers <joseph@codesourcery.com>
21337
96cbe7f4
JM
21338 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21339 in comment.
21340
8848d99d
JM
21341 [BZ #13851]
21342 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21343 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21344 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21345 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21346 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21347 infinite argument.
21348 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21349 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21350 != 0 for prec == 2.
21351 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21352 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21353 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21354 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21355 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21356 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21357 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21358 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21359 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21360 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21361 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21362 * math/libm-test.inc (cos_test): Add more tests and enable more
21363 tests for long double.
21364 (sin_test): Likewise.
21365 (sincos_test): Likewise.
21366 * sysdeps/i386/fpu/libm-test-ulps: Update.
21367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21368
dd7f4703
DM
213692012-03-16 David S. Miller <davem@davemloft.net>
21370
21371 * sysdeps/sparc/fpu/math_private.h: New file.
21372
006f1daa
DM
213732012-03-15 David S. Miller <davem@davemloft.net>
21374
c0c83bc8
DM
21375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21376 file.
e6a62e18 21377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
21378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21379 file.
e6a62e18
DM
21380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21381 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21382 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21383 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21384 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21385 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21386 sysdep routines.
21387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21388
88cb87d9
DM
21389 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21390 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21391
006f1daa 21392 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
21393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21394 sparc-ifunc.h
006f1daa 21395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
21396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21397 Likewise.
21398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21399 Likewise.
006f1daa
DM
21400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
21403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21404 Likewise.
006f1daa
DM
21405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
21409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21410 Likewise.
21411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21412 Likewise.
006f1daa
DM
21413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21418 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21419 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21420 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21421 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21422 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21423 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21424 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21425 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21426 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21427 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21428 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21429 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21430 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21431 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21432 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21433 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21434 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21435 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21436 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21437
11e0098e
AS
214382012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21439
21440 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21441 scaling.
21442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21443
e85b09d0
AJ
214442012-03-15 Andreas Jaeger <aj@suse.de>
21445
21446 [BZ #13852]
21447 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21448 ieee754/flt-32 implementation for sin, cos and sincos.
21449 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21450 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21451 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21452 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21453 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21454 ieee754/flt-32 implementation for tan.
21455
21456 * math/libm-test.inc (cos_test): Enable some large input tests for
21457 float as well
21458 (sin_test): Likewise.
21459 (sincos_test): Likewise.
21460 (tan_test): Add tests for large input.
21461
21462 * sysdeps/i386/fpu/libm-test-ulps: Update.
21463
81c64153
AJ
214642012-03-15 Andreas Jaeger <aj@suse.de>
21465
21466 [BZ #13658]
21467 * math/libm-test.inc (cos_test): Add more test cases.
21468 (sin_test): Likewise.
21469 (sincos_test): Likewise.
21470
7bbfa5c6
AJ
214712012-03-15 Andreas Jaeger <aj@suse.de>
21472
21473 [BZ #13837]
21474 * math/libm-test.inc (cos_test): Add a test case for large input
21475 value.
21476 (sin_test): Likewise.
21477 (sincos_test): Likewise.
21478
214792012-03-15 Andreas Jaeger <aj@suse.de>,
21480 Joseph Myers <joseph@codesourcery.com>
21481
21482 [BZ #13658]
0671f479 21483 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
21484 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21485 * sysdeps/i386/fpu/branred.c: Likewise.
21486 * sysdeps/i386/fpu/dosincos.c: Likewise.
21487 * sysdeps/i386/fpu/mpa.c: Likewise.
21488 * sysdeps/i386/fpu/s_cos.S: Likewise.
21489 * sysdeps/i386/fpu/s_sin.S: Likewise.
21490 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21491 * sysdeps/i386/fpu/sincos32.c: Likewise.
21492
21493 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21494 Define.
21495 (libc_feupdateenv_53bit): Define.
21496 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21497 Define.
21498 (libc_feupdateenv_53bit): Define.
21499
21500 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21501 53 bit (without extend i386 double precision).
21502
21503 * math/libm-test.inc (sincos_test): Add tests for large input.
21504 (sin): Likewise.
21505 (cos): Likewise.
21506
21507 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21508
9cad04ea
AS
215092012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21510
21511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21512
f7062b9a
DM
215132012-03-15 David S. Miller <davem@davemloft.net>
21514
21515 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21516 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21517 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21518 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21523 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21524 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21525 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21526 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21527 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21528 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21529 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
21530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21531 file.
f7062b9a 21532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
21533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21534 file.
f7062b9a 21535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
21536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21537 file.
f7062b9a 21538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
21539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21540 file.
f7062b9a
DM
21541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21542 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21543 fmin/fmax sysdep routines.
21544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21545
7bd951ff
DM
215462012-03-14 David S. Miller <davem@davemloft.net>
21547
559398ab
DM
21548 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21549 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21550 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21551 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21552 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21553 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21554 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21555 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21556 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21557 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21558 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21559 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21560 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21561 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21562 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21563 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21564 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21565 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21566 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21567 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21568 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21569 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21570 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21571 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21572 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21573 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21574 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21575 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21576 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21577 routines.
21578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21579 file.
559398ab 21580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
21581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21582 file.
559398ab 21583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
21584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21585 file.
559398ab 21586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
21587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21588 file.
559398ab 21589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
21590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21591 file.
559398ab 21592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
21593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21594 file.
21595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21596 file.
21597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21598 file.
21599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21600 file.
21601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21602 New file.
21603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21604 file.
21605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21606 file.
559398ab 21607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
21608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21609 file.
559398ab 21610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21612 file.
559398ab 21613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
21614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21615 file.
559398ab 21616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
21617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21618 VIS3 routines.
559398ab
DM
21619
21620 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21621 New file.
21622
5a1c1e32
DM
21623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21624
eae47a36
DM
21625 * sysdeps/sparc/configure.in: New file.
21626 * sysdeps/sparc/configure: Generate.
21627 * configure.in (libc_cv_sparc_as_vis3): Substitute.
21628 * configure: Regenerate.
21629 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21630 * config.make.in (have-as-vis3): New.
21631 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21632 available use -Av9d instead of -Av9a.
21633 * sysdeps/sparc/sparc64/Makefile: Likewise.
21634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
21635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21636 New file.
21637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21638 file.
21639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21640 New file.
21641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21642 file.
eae47a36
DM
21643 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21644 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21645 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21646 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21647 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21648
c0c83bc8
DM
21649 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21650 fzeros/fnegs to load 0x80000000 into a float register instead of
21651 using the stack.
7bd951ff
DM
21652 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21653
bd951ccb
JM
216542012-03-14 Joseph Myers <joseph@codesourcery.com>
21655
21656 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21657 bits/syscall.h.
21658 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21659 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21660 ($(inst_includedir)/bits/syscall.h): Remove rule.
21661 ($(objpfx)bits/syscall.d): Include instead of
21662 $(objpfx)syscall-list.d.
21663 (generated): Change syscall-list.h and syscall-list.d to
21664 bits/syscall.h and bits/syscall.d.
21665
bb4e6db2
RM
216662012-03-14 Roland McGrath <roland@hack.frob.com>
21667
21668 [BZ #13846]
21669 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21670
aa4a2ae1
JM
216712012-03-14 Joseph Myers <joseph@codesourcery.com>
21672
e456826d
JM
21673 [BZ #13841]
21674 * math/s_csqrt.c: Include <float.h>.
21675 (__csqrt): Scale large or subnormal inputs.
21676 * math/s_csqrtf.c: Likewise.
21677 * math/s_csqrtl.c: Likewise.
21678 * math/libm-test.inc (csqrt_test): Add more tests.
21679 * sysdeps/i386/fpu/libm-test-ulps: Update.
21680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21681
aa4a2ae1
JM
21682 [BZ #13840]
21683 * math/libm-test.inc (hypot_test): Add more tests.
21684
7c10fd35
DM
216852012-03-13 David S. Miller <davem@davemloft.net>
21686
21687 [BZ #13840]
21688 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21689 double-precision for the calculation instead of scaling.
21690
f453b98b
JM
216912012-03-13 Joseph Myers <joseph@codesourcery.com>
21692
21693 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21694 manipulate bits before adding and subtracting TWO52[sx].
21695 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21696 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21697 Likewise.
21698 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21699
09a3453f
DM
217002012-03-13 David S. Miller <davem@davemloft.net>
21701
8e59da90
DM
21702 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21703 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21704 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21705 rtld-global-offsets.h
21706 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21707
2a8ab7f2
DM
21708 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21709 large parameters.
21710
10f62770
DM
21711 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21712
5f0bdb18
DM
21713 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21714 'err' in the ifdef scope in which it is actually used.
21715
09a3453f
DM
21716 * nss/nss_db/db-init.c: Include string.h
21717
b4b2eb5e
DM
217182012-03-12 David S. Miller <davem@davemloft.net>
21719
98bb2f1c
DM
21720 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21721 masking out of the most significant byte of random value used.
21722 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21723 Fix coding style in previous change.
21724
b4b2eb5e
DM
21725 * sysdeps/unix/sysv/linux/kernel-features.h
21726 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21727 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21728 expression.
21729 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21730 later.
21731
6e226b09
DM
217322012-03-11 David S. Miller <davem@davemloft.net>
21733
a1bcbd40
DM
21734 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21735 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
21736 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
21737 for 'resultvar' otherwise things get truncated on 64-bit.
21738
cb9d6174
DM
21739 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21740 Fix masking out of the most significant byte of random value used.
21741
6e226b09
DM
21742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21743
058c132d
AS
217442012-03-10 Andreas Schwab <schwab@linux-m68k.org>
21745
21746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21747
2d2cd515
DM
217482012-03-09 David S. Miller <davem@davemloft.net>
21749
21750 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
21751 variables with appropriate CPP guards.
21752 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
21753 frame pointer, not the stack pointer. Correct layout comments. Fix test
21754 on resulting framesize and the management of the outregs buffer for pltexit.
21755 Preserve floating point return values across _dl_call_pltexit call.
21756 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
21757 framesize and the management of the outregs buffer for pltexit.
21758 Preserve floating point return values across _dl_call_pltexit
21759 call.
21760 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
21761 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
21762 (print_exit): Fix format string for return register value.
21763
9a07f9d0
JM
217642012-03-10 Joseph Myers <joseph@codesourcery.com>
21765
21766 * sunrpc/Makefile (others): Add rpcgen.
21767 ($(objpfx)rpcgen): Remove special build rule and dependency on
21768 libc.
21769 * sunrpc/rpcgen.c: New file.
21770
547b5e30
PE
217712012-03-09 Paul Eggert <eggert@cs.ucla.edu>
21772
c524201a
PE
21773 [BZ #13673]
21774 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
21775 * stdio-common/bug-vfprintf-nargs.c: Likewise.
21776 * sysdeps/i386/crti.S: Likewise.
21777 * sysdeps/i386/crtn.S: Likewise.
21778 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
21779 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
21780 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
21781 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
21782 * sysdeps/sh/crti.S: Likewise.
21783 * sysdeps/sh/crtn.S: Likewise.
21784 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21785
7b6235f2
PE
21786 [BZ #13673]
21787 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
21788 with URL.
21789 * locale/programs/locfile-kw.gperf: Likewise.
21790 * locale/programs/charmap-kw.h: Regenerated.
21791 * locale/programs/locfile-kw.h: Likewise.
21792
547b5e30
PE
21793 [BZ #13673]
21794 * intl/plural.y: Replace FSF snail mail address with URL.
21795 * intl/plural.c: Regenerated.
21796
5f0a5dae
RH
217972012-03-09 Richard Henderson <rth@twiddle.net>
21798
21799 * include/math_private.h: Remove file.
21800 * math/math_private.h: Move file ...
21801 * sysdeps/generic/math_private.h: ... here.
21802
b8c03620
RH
21803 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
21804 * sysdeps/powerpc/fpu/math_private.h: Likewise.
21805 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21806
4e234f5d 21807 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
21808 and <math_private.h>.
21809 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21810 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21811 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21812 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21813 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21814 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
21815 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21816 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21817 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21818 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21819 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21820 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21821 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21822 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21823 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21824 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21825 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21826 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21827 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21828 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21829 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21830 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21831 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21832 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21833 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21834 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21835 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21836 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21837 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21838 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21839 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21840 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21841 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21842 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21843 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21844 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21845 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21846 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21847 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21848 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21849 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
21850 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21851 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21852 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21853 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21854 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21855 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
21856 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21857 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21858 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21859 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21860 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
21861 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21862 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21863 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21864 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21865 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21866 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21867 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21868 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
21869 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21870 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21871 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21872 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21873 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
21874 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21875 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21876 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21877 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
21878 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
21879 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21880 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21881 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21882 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21883 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
21884 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
21885 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
21886 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21887 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
21888 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
21889 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21890 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
21891 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21892 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21893 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21894 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
21895 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
21896 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
21897 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21898 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21899 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21900 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21901 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21902 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21903 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21904 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21905 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21906 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21907 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21908 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21909 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21910 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21911 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21912 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21913 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21914 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21915 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21916 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21917 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21918 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21919 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21920 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21921 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21922 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21923 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
21924 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21925 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21926 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21927 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21928 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21929 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21930 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21931 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21932 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
21933 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21934 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21935 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21936 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
21937 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21938 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
21939 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
21940 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21941 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21942 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
21943 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
21944 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21945 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21946 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21947 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
21948 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21949 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21950 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21951 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21952 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
21953 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
21954 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21955 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21956 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21957 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
21958 * sysdeps/ieee754/k_standard.c: Likewise.
21959 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21960 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21961 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21962 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21963 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21964 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21965 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21966 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21967 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21968 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21969 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21970 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21971 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21972 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21973 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21974 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21975 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21976 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21977 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21978 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
21979 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
21980 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
21981 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21982 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21983 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21984 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21985 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21986 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21987 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21988 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21989 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21990 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21991 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21992 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21993 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21994 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21995 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21996 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
21997 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
21998 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21999 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22000 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22001 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22002 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22003 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22004 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22005 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22006 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22007 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22008 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22009 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22010 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22011 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22012 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22013 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22014 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22015 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22016 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22017 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22018 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22019 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22020 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22021 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22022 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22023 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22024 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22025 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22026 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22027 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22028 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22029 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22030 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22031 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22032 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22033 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22034 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22035 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22036 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22037 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22038 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22039 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22040 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22041 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22042 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22043 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22044 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22045 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22046 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22047 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22048 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22049 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22050 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22051 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22052 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22053 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22054 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22055 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22056 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22057 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22058 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22059 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22060 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22061 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22062 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22063 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22064 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22065 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22066 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22067 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22068 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22069 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22070 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22071 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22072 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22073 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22074 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22075 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22076 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22077 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22078 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22079 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22080 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22081 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22082 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22083 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22084 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22085 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22086 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22087 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22088 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22089 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22090 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22091 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22092 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22093 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22094 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22095 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22096 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22097 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22098 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22099 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22100 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22101 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22102 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22103 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22104 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22105 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22106 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22107 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22108 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22109 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22110 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22111 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22112 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22113 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22114 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22115 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22116 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22117 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22118 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22119 * sysdeps/ieee754/s_lib_version.c: Likewise.
22120 * sysdeps/ieee754/s_matherr.c: Likewise.
22121 * sysdeps/ieee754/s_signgam.c: Likewise.
22122 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22123 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22124 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22125 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22126 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22127 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22128 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22129 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22130 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22131 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22132 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22133 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22134 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22135 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22136 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22137 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22138 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22139 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22140 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22141 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22142 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22143
1991fa03
JM
221442012-03-09 Joseph Myers <joseph@codesourcery.com>
22145
22146 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22147 * sunrpc/rpc_main.c: Likewise.
22148 * sunrpc/rpc_svcout.c: Likewise.
22149
60d6f5a6
DM
221502012-03-09 David S. Miller <davem@davemloft.net>
22151
22152 * include/math_private.h: New file.
22153
4962050e
JM
221542012-03-09 Joseph Myers <joseph@codesourcery.com>
22155
02a6f887
JM
22156 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22157 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22158 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22159 from <bits/socket_type.h>.
22160 (enum __socket_type): Don't define here.
22161 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22162 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22163 bits/socket_type.h.
22164
c6e013c1
JM
22165 [BZ #13566]
22166 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22167 checking __USE_GNU.
22168
4962050e
JM
22169 * Makerules ($(inst_includedir)/%.h): New rule.
22170 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22171 (install-others): Remove variable setting.
22172 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22173
38842f45
RH
221742012-03-08 Richard Henderson <rth@twiddle.net>
22175
67bb6da6
RH
22176 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22177 from macro to inline function; merge with the
22178 !__LIBC_INTERNAL_MATH_INLINES version.
22179 (__ieee754_sqrtf): Likewise.
22180
15194b4b
RH
22181 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22182 to inline function.
22183 (__rintf, __floor, __floorf): Likewise.
22184
64e21ede
RH
22185 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22186 macro to inline function.
22187 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22188
38842f45
RH
22189 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22190 not <math/math_private.h>.
22191
c64bf5fe
DM
221922012-03-08 David S. Miller <davem@davemloft.net>
22193
22194 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22195 copyright year.
22196 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22197
82d86f28
TS
221982012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22199
22200 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22201 normalization.
22202 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22203 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22204
aea5d727
UD
222052012-03-08 Ulrich Drepper <drepper@gmail.com>
22206
22207 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22208 be defined individually, they must be defined as a block. Define
22209 S for printing a string instead of hidint the different by using a
22210 macro for adding the 'l'.
22211 * stdio-common/tst-fphex-wide.c: Adjust.
22212
70bca0a3
MP
222132012-03-07 Marek Polacek <polacek@redhat.com>
22214
22215 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22216
65b81130
MP
222172012-03-08 Marek Polacek <polacek@redhat.com>
22218
22219 [BZ #13806]
22220 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22221 * stdio-common/tst-fphex.c: Define a few macros to make the
22222 test reusable. Use them.
22223 * stdio-common/tst-fphex-wide.c: New file.
22224
07037eeb
JM
222252012-03-08 Joseph Myers <joseph@codesourcery.com>
22226
a7a93d50
JM
22227 [BZ #6911]
22228 * manual/macros.texi (gnusystems): New macro.
22229 (nongnusystems): Likewise.
22230 (gnulinuxhurdsystems): Likewise.
22231 (gnuhurdsystems): Likewise..
22232 (gnulinuxsystems): Likewise.
22233 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22234 variants of the GNU system, not "GNU system".
22235 * manual/conf.texi: Likewise.
22236 * manual/errno.texi: Likewise. Update example of errno macro
22237 expansion.
22238 * manual/filesys.texi: Likewise.
22239 (getumask): Document as specific to GNU/Hurd.
22240 * manual/install.texi: Likewise. Reword some references to
22241 GNU/Linux.
22242 * manual/intro.texi: Likewise.
22243 * manual/io.texi: Likewise.
22244 (File Name Portability): Detail which constraints are inapplicable
22245 to all GNU systems and which are only inapplicable to GNU/Hurd.
22246 * manual/job.texi: Likewise.
22247 * manual/llio.texi: Likewise.
22248 (O_NOCTTY): Document as present on GNU/Linux.
22249 * manual/maint.texi: Likewise.
22250 * manual/memory.texi: Likewise.
22251 * manual/pattern.texi: Likewise.
22252 * manual/pipe.texi: Likewise.
22253 * manual/process.texi: Likewise.
22254 * manual/resource.texi: Likewise.
22255 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22256 child on GNU/Hurd.
22257 * manual/setjmp.texi: Likewise.
22258 * manual/signal.texi: Likewise.
22259 * manual/startup.texi: Likewise.
22260 * manual/stdio.texi: Likewise.
22261 * manual/terminal.texi: Likewise.
22262 (ONLCR): Document as POSIX.
22263 (OXTABS): Document availability on GNU/Linux as XTABS.
22264 (ONOEOT): Document availability separately from other bits.
22265 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22266 * manual/time.texi: Likewise.
22267 * manual/users.texi: Likewise.
22268 * INSTALL: Regenerated.
22269 * sysdeps/gnu/errlist.c: Regenerated.
22270
07037eeb
JM
22271 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22272 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22273 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22274 puts.
22275 * configure: Regenerated.
22276
d1d3431a
JM
222772012-03-07 Joseph Myers <joseph@codesourcery.com>
22278
af6a1e37
JM
22279 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22280 default includes instead of AC_HEADER_CHECK.
22281 * sysdeps/i386/configure: Regenerated.
22282
d1d3431a
JM
22283 [BZ #10716]
22284 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22285 * math/s_cacoshf.c (__cacoshf): Likewise.
22286 * math/s_cacoshl.c (__cacoshl): Likewise.
22287 * math/s_casinh.c (__casinh): Set signs of result from argument.
22288 * math/s_casinhf.c (__casinhf): Likewise.
22289 * math/s_casinhl.c (__casinhl): Likewise.
22290 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22291 (casinh_test): Add more tests.
22292 * sysdeps/i386/fpu/libm-test-ulps: Update.
22293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22294
482ff4da
UD
222952012-03-07 Ulrich Drepper <drepper@gmail.com>
22296
872fda05
UD
22297 * po/zh_TW.po: Update from translation team.
22298
a4300c7a
UD
22299 * login/Makefile (distribute): Remove variable.
22300 * catgets/Makefile: Likewise.
22301 * mach/Makefile: Likewise.
22302 * malloc/Makefile: Likewise.
22303 * misc/Makefile: Likewise.
22304 * iconv/Makefile: Likewise.
22305 * nscd/Makefile: Likewise.
22306 * hurd/Makefile: Likewise.
22307 * manual/Makefile: Likewise.
22308 * locale/Makefile: Likewise.
22309 * intl/Makefile: Likewise.
22310 * conform/Makefile: Likewise.
22311 * nss/Makefile: Likewise.
22312 * time/Makefile: Likewise.
22313 * soft-fp/Makefile: Likewise.
22314 * dirent/Makefile: Likewise.
22315 * gmon/Makefile: Likewise.
22316 * po/Makefile: Likewise.
22317 * rt/Makefile: Likewise.
22318 * socket/Makefile: Likewise.
22319 * math/Makefile: Likewise.
22320 * signal/Makefile: Likewise.
22321 * debug/Makefile: Likewise.
22322 * elf/Makefile: Likewise.
22323 * timezone/Makefile: Likewise.
22324 * stdlib/Makefile: Likewise.
22325 * iconvdata/Makefile: Likewise.
22326 * sunrpc/Makefile: Likewise.
22327 * io/Makefile: Likewise.
22328 * argp/Makefile: Likewise.
22329 * inet/Makefile: Likewise.
22330 * hesiod/Makefile: Likewise.
22331 * grp/Makefile: Likewise.
22332 * csu/Makefile: Likewise.
22333 * wctype/Makefile: Likewise.
22334 * crypt/Makefile: Likewise.
22335 * libio/Makefile: Likewise.
22336 * string/Makefile: Likewise.
22337 * nis/Makefile: Likewise.
22338 * resolv/Makefile: Likewise.
22339 * stdio-common/Makefile: Likewise.
22340 * wcsmbs/Makefile: Likewise.
22341 * dlfcn/Makefile: Likewise.
22342 * posix/Makefile: Likewise.
22343
3b7c4e74 22344 [BZ #6959]
482ff4da
UD
22345 * timezone/Makefile: Don't install timezone files, just the programs
22346 and scripts.
22347
f72ed77d
UD
223482012-03-06 Ulrich Drepper <drepper@gmail.com>
22349
a000466f
UD
22350 * nss/databases.def: Add missing gshadow entry.
22351
f72ed77d
UD
22352 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22353
a53b7a4e
MP
223542012-03-06 Marek Polacek <polacek@redhat.com>
22355
22356 [BZ #13726]
22357 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22358 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22359 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22360 * stdio-common/tst-long-dbl-fphex.c: New file.
22361
e9258400
DM
223622012-03-06 David S. Miller <davem@davemloft.net>
22363
22364 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22365 (set_obp_int): New function.
22366 (get_obp_int): New function.
22367 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
22368 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22369 Avoid unused variable warnings on 'val' and use builtin_expect.
22370 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22371 __builtin_expect.
e9258400
DM
22372 (INLINE_CLONE_SYSCALL): Likewise.
22373
3bd2c723
DM
223742012-03-05 David S. Miller <davem@davemloft.net>
22375
22376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22377
bbb78d03
AS
223782012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22379
884c5db4
AS
22380 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22381
bbb78d03
AS
22382 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22383 only for |x| >= 40.
22384 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22385
1c9f702a 223862012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
22387
22388 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22389 Replace gettimeofday with __vdso_gettimeofday.
22390
7be16f82
RM
22391 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22392 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22393 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
22394
22395 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22396 time with __vdso_time.
22397
ed58a00f
JM
223982012-03-05 Joseph Myers <joseph@codesourcery.com>
22399
22400 * manual/lang.texi (size_t): Note types to which size_t may be
22401 equivalent with the GNU C Library, but do not describe when
22402 differences between them are significant.
22403
30ee4ced
AJ
224042012-03-05 Andreas Jaeger <aj@suse.de>
22405
22406 * sysdeps/i386/fpu/libm-test-ulps: Update.
22407
b7cd39e8
JM
224082012-03-05 Joseph Myers <joseph@codesourcery.com>
22409
22410 [BZ #3976]
22411 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22412 (__ieee754_pow): Save and restore rounding mode and use
22413 round-to-nearest for main computations.
22414 * math/libm-test.inc (pow_test_tonearest): New function.
22415 (pow_test_towardzero): Likewise.
22416 (pow_test_downward): Likewise.
22417 (pow_test_upward): Likewise.
22418 (main): Call the new functions.
22419 * sysdeps/i386/fpu/libm-test-ulps: Update.
22420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
22421
22422 [BZ #3976]
22423 * math/libm-test.inc (cosh_test_tonearest): New function.
22424 (cosh_test_towardzero): Likewise.
22425 (cosh_test_downward): Likewise.
22426 (cosh_test_upward): Likewise.
22427 (sinh_test_tonearest): Likewise.
22428 (sinh_test_towardzero): Likewise.
22429 (sinh_test_downward): Likewise.
22430 (sinh_test_upward): Likewise.
22431 (main): Call the new functions.
22432 * sysdeps/i386/fpu/libm-test-ulps: Update.
22433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22434
6c6a98c9
TV
224352012-03-05 Tom de Vries <tom@codesourcery.com>
22436
22437 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22438 default stack guard is set in last bytes.
22439 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22440
21bb2d2e 224412012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 22442
21bb2d2e 22443 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 22444
21bb2d2e
AJ
22445 [BZ #13656]
22446 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22447 possibly allocate from heap instead of stack.
22448 * stdio-common/bug-vfprintf-nargs.c: New file.
22449 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 22450
c6922934
AS
224512012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22452
22453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22454
bc957d53
MP
224552012-03-03 Marek Polacek <polacek@redhat.com>
22456
22457 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22458 * math/math_private.h: Likewise.
22459 * stdlib/tst-strtod.c: Likewise.
22460 * sysdeps/i386/i486/bits/atomic.h: Likewise.
22461 * sysdeps/x86_64/bits/atomic.h: Likewise.
22462
6358490d
DM
224632012-03-02 David S. Miller <davem@davemloft.net>
22464
22465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22469 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22470 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22471 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22472 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22473
01ae168d
RM
224742012-03-02 Roland McGrath <roland@hack.frob.com>
22475
d9a17c07
RM
22476 [BZ #13792]
22477 * manual/examples/README: New file, says the example source files
22478 can be used under GPL>=2.
22479 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22480 line containing just "*/".
22481 * manual/examples/add.c: Add copyright header (GPL>=2).
22482 * manual/examples/argp-ex1.c: Likewise.
22483 * manual/examples/argp-ex2.c: Likewise.
22484 * manual/examples/argp-ex3.c: Likewise.
22485 * manual/examples/argp-ex4.c: Likewise.
22486 * manual/examples/atexit.c: Likewise.
22487 * manual/examples/db.c: Likewise.
22488 * manual/examples/dir.c: Likewise.
22489 * manual/examples/dir2.c: Likewise.
22490 * manual/examples/execinfo.c: Likewise.
22491 * manual/examples/filecli.c: Likewise.
22492 * manual/examples/filesrv.c: Likewise.
22493 * manual/examples/fmtmsgexpl.c: Likewise.
22494 * manual/examples/genpass.c: Likewise.
22495 * manual/examples/inetcli.c: Likewise.
22496 * manual/examples/inetsrv.c: Likewise.
22497 * manual/examples/isockad.c: Likewise.
22498 * manual/examples/longopt.c: Likewise.
22499 * manual/examples/memopen.c: Likewise.
22500 * manual/examples/memstrm.c: Likewise.
22501 * manual/examples/mkfsock.c: Likewise.
22502 * manual/examples/mkisock.c: Likewise.
22503 * manual/examples/mygetpass.c: Likewise.
22504 * manual/examples/pipe.c: Likewise.
22505 * manual/examples/popen.c: Likewise.
22506 * manual/examples/rprintf.c: Likewise.
22507 * manual/examples/search.c: Likewise.
22508 * manual/examples/select.c: Likewise.
22509 * manual/examples/setjmp.c: Likewise.
22510 * manual/examples/sigh1.c: Likewise.
22511 * manual/examples/sigusr.c: Likewise.
22512 * manual/examples/stpcpy.c: Likewise.
22513 * manual/examples/strdupa.c: Likewise.
22514 * manual/examples/strftim.c: Likewise.
22515 * manual/examples/strncat.c: Likewise.
22516 * manual/examples/subopt.c: Likewise.
22517 * manual/examples/swapcontext.c: Likewise.
22518 * manual/examples/termios.c: Likewise.
22519 * manual/examples/testopt.c: Likewise.
22520 * manual/examples/testpass.c: Likewise.
22521 * manual/examples/timeval_subtract.c: Likewise.
22522
01ae168d
RM
22523 [BZ #13792]
22524 * manual/time.texi (Elapsed Time): Move timeval_subtract example
22525 function to ...
22526 * manual/timeval_subtract.c.texi: ... here, new file.
22527
49efa33d
DM
225282012-03-02 David S. Miller <davem@davemloft.net>
22529
22530 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22531
28afd92d
JM
225322012-03-02 Joseph Myers <joseph@codesourcery.com>
22533
804360ed
JM
22534 [BZ #3976]
22535 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22536 (__sin): Save and restore rounding mode and use round-to-nearest
22537 for all computations.
22538 (__cos): Save and restore rounding mode and use round-to-nearest
22539 for all computations.
22540 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22541 <fenv.h>.
22542 (tan): Save and restore rounding mode and use round-to-nearest for
22543 all computations.
22544 * math/libm-test.inc (cos_test_tonearest): New function.
22545 (cos_test_towardzero): Likewise.
22546 (cos_test_downward): Likewise.
22547 (cos_test_upward): Likewise.
22548 (sin_test_tonearest): Likewise.
22549 (sin_test_towardzero): Likewise.
22550 (sin_test_downward): Likewise.
22551 (sin_test_upward): Likewise.
22552 (tan_test_tonearest): Likewise.
22553 (tan_test_towardzero): Likewise.
22554 (tan_test_downward): Likewise.
22555 (tan_test_upward): Likewise.
22556 (main): Call the new functions.
22557 * sysdeps/i386/fpu/libm-test-ulps: Update.
22558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22559
a6d06d7b
JM
22560 [BZ #10135]
22561 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22562 small n, then large n, before computing and testing k+n.
22563 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22564 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22565 Likewise.
22566 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22567 Likewise.
22568 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22569 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22570 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22571 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22572 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22573 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22574 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22575 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22576 * math/libm-test.inc (scalbn_test): Add more tests.
22577 (scalbln_test): Likewise.
22578
07e12bb3
JM
22579 * manual/filesys.texi (mode_t): Describe constraints on size and
22580 signedness, not exact equivalence to a particular type.
22581 (ino_t): Likewise.
22582 (ino64_t): Likewise.
22583 (dev_t): Likewise.
22584 (nlink_t): Likewise.
22585 (blkcnt_t): Likewise.
22586 (blkcnt64_t): Likewise.
22587 * manual/llio.texi (off_t): Likewise.
22588
28afd92d
JM
22589 [BZ #3976]
22590 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22591 (__ieee754_exp): Save and restore rounding mode and use
22592 round-to-nearest for all computations.
22593 * math/libm-test.inc (exp_test_tonearest): New function.
22594 (exp_test_towardzero): Likewise.
22595 (exp_test_downward): Likewise.
22596 (exp_test_upward): Likewise.
22597 (main): Call the new functions.
22598 * sysdeps/i386/fpu/libm-test-ulps: Update.
22599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22600
b1eeb65d
CD
226012012-03-01 Chris Demetriou <cgd@google.com>
22602
22603 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22604 have predictable order.
22605
53362a4b
DM
226062012-03-01 David S. Miller <davem@davemloft.net>
22607
3c969083
DM
22608 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22609
759707de
DM
22610 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22611 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22612 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22613 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22614
dfdb8ff2
DM
22615 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22616 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22617 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22619 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22620 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22621 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22622 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22623 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22624
ead89f96
DM
22625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22626
7f66bd07
DM
22627 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22628 * sysdeps/sparc/fpu/libm-test-ulps: to here.
22629 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22630
53362a4b
DM
22631 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22632 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22633 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22634 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22635 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22636 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22637 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22638 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22639 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22640 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22641 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22642 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22643 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22644 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22645 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22646 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22647 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22648 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22649 * sysdeps/sparc/elf/configure: Regenerated.
22650
7b1902cb
JM
226512012-03-01 Joseph Myers <joseph@codesourcery.com>
22652
bec039bc
JM
22653 * configure.in (AS, LD): Require binutils 2.20 or later.
22654 * configure: Regenerated.
22655 * manual/install.texi (Tools for Compilation): Give binutils 2.20
22656 as required minimum version.
22657 * INSTALL: Regenerated.
22658
7b1902cb
JM
22659 [BZ #2541]
22660 [BZ #4108]
22661 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22662 before squaring exponent.
22663 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22664 bottom long double and 27 bits of top long double before squaring
22665 exponent.
22666 * math/libm-test.inc (erfc_test): Add more tests.
22667 * sysdeps/i386/fpu/libm-test-ulps: Update.
22668 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22670
f775c276
KT
226712012-03-01 Kai Tietz <ktietz@redhat.com>
22672
22673 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22674 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22675 containing bit-fields.
22676 * soft-fp/extended.h (_FP_UNION_E): Likewise.
22677 * soft-fp/single.h (_FP_UNION_S): Likewise.
22678 * soft-fp/double.h (_FP_UNION_D): Likewise.
22679
5b8a4d4a
JM
226802012-02-29 Joseph Myers <joseph@codesourcery.com>
22681
0bab47b6
JM
22682 [BZ #13786]
22683 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22684 not include ../strcmp.S.
22685 [USE_AS_STRNCASECMP_L]: Likewise.
22686 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22687 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22688 * sysdeps/i386/i686/multiarch/strncase_l-c.c
22689 (__strncasecmp_l_ia32): Define as alias to
22690 __strncasecmp_l_nonascii.
22691
0fcad3e2
JM
22692 [BZ #5794]
22693 * math/libm-test.inc (expm1_test): Add test for bug 5794.
22694 * sysdeps/i386/fpu/libm-test-ulps: Update.
22695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22696
5b8a4d4a
JM
22697 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22699
8fdceb2e
JL
227002012-02-29 Jeff Law <law@redhat.com>
22701
22702 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22703 out of bounds read.
22704
1f393a11
MP
227052012-02-29 Marek Polacek <polacek@redhat.com>
22706
22707 [BZ #13706]
22708 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22709 * elf/Makefile: Add rules to run tst-unused-dep.out.
22710
8847f037
DM
227112012-02-28 David S. Miller <davem@davemloft.net>
22712
22713 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22714 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22715 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22716 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22717 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22718 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22719
169d7f11
JM
227202012-02-29 Joseph Myers <joseph@codesourcery.com>
22721
22722 * math/libm-test.inc (llround_test): Move one test from
22723 lround_test. Use TEST_f_L in moved test.
22724 (lround_test): Move misplaced test to llround_test. Add testcase
22725 from bug 2561.
22726
39adf059
UD
227272012-02-28 Ulrich Drepper <drepper@gmail.com>
22728
22729 * sysdeps/x86_64/fpu/e_expf.S: New file.
22730 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22731
71b5d1c5
SB
227322012-02-28 Stanislav Brabec <sbrabec@suse.cz>
22733
22734 [BZ #13637]
22735 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
22736 of remain_len that may cause incomplete multi-byte character and
22737 false match.
22738 * posix/bug-regex33.c: New file.
22739 * posix/Makefile (tests): Add bug-regex33.
22740
1f77f049
JM
227412012-02-28 Joseph Myers <joseph@codesourcery.com>
22742
22743 * manual/macros.texi: New file.
22744 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
22745 * manual/libc.texinfo: Include macros.texi.
22746 * manual/creatute.texi: Likewise.
22747 * manual/install.texi: Likewise.
22748 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
22749 @glibcadj{} in references to the GNU C Library.
22750 * manual/charset.texi: Likewise.
22751 * manual/conf.texi: Likewise.
22752 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
22753 when not using those macros.
22754 * manual/creature.texi: Likewise.
22755 * manual/crypt.texi: Likewise.
22756 * manual/errno.texi: Likewise.
22757 * manual/filesys.texi: Likewise.
22758 * manual/header.texi: Likewise.
22759 * manual/install.texi: Likewise.
22760 * manual/intro.texi: Likewise.
22761 * manual/io.texi: Likewise.
22762 * manual/job.texi: Likewise.
22763 * manual/lang.texi: Likewise.
22764 * manual/libc.texiinfo: Likewise.
22765 * manual/llio.texi: Likewise.
22766 * manual/locale.texi: Likewise.
22767 * manual/maint.texi: Likewise.
22768 * manual/math.texi: Likewise.
22769 * manual/memory.texi: Likewise.
22770 * manual/message.texi: Likewise.
22771 * manual/nss.texi: Likewise.
22772 * manual/pattern.texi: Likewise.
22773 * manual/process.texi: Likewise.
22774 * manual/resource.texi: Likewise.
22775 * manual/search.texi: Likewise.
22776 * manual/setjmp.texi: Likewise.
22777 * manual/signal.texi: Likewise.
22778 * manual/socket.texi: Likewise.
22779 * manual/startup.texi: Likewise.
22780 * manual/stdio.texi: Likewise.
22781 * manual/string.texi: Likewise.
22782 * manual/sysinfo.texi: Likewise.
22783 * manual/syslog.texi: Likewise.
22784 * manual/terminal.texi: Likewise.
22785 * manual/time.texi: Likewise.
22786 * manual/users.texi: Likewise.
22787 * INSTALL: Regenerated.
22788 * NOTES: Regenerated.
d40c5d54 22789 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 22790
450bf206
AS
227912012-02-28 Andreas Schwab <schwab@linux-m68k.org>
22792
22793 * include/dirent.h: Include <dirstream.h> before
22794 <dirent/dirent.h>.
22795
741a235b
DM
227962012-02-28 David S. Miller <davem@davemloft.net>
22797
22798 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
22799 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
22800 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
22801 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
22802
d6b5aa58
DM
228032012-02-27 David S. Miller <davem@davemloft.net>
22804
1aff59a3
DM
22805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
22806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
22807 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
22808 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
22809
d6b5aa58
DM
22810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
22811 frame pointer instead of stack pointer relative arg slot.
22812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22813 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22814 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22815
433f48bf
CD
228162012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
22817
22818 [BZ #3992]
22819 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
22820
d674b76d
DM
228212012-02-27 David S. Miller <davem@davemloft.net>
22822
22823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
22824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
22827 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22828 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22829 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
22830 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
22831
0e7727f7
JM
228322012-02-27 Joseph Myers <joseph@codesourcery.com>
22833
22834 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
22835 later. Allow versions 5-9.
43be4ca2 22836 * configure: Regenerated.
0e7727f7
JM
22837 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
22838 required minimum version and 4.6 as recommended version. Do not
22839 mention bugs in GCC 2.7 and 2.8.
43be4ca2 22840 * INSTALL: Regenerated.
0e7727f7 22841
a78bc654
DM
228422012-02-27 David S. Miller <davem@davemloft.net>
22843
428d5830
DM
22844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
22845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
22846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
22847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
22848 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
22849 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
22850 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
22851 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
22852
a78bc654
DM
22853 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
22854 manipulate bits before adding and subtracting TWO112[sx].
22855 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22856
4579f81c
RM
228572012-02-27 Roland McGrath <roland@hack.frob.com>
22858
36c8acb4
RM
22859 [BZ #13775]
22860 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
22861 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
22862 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
22863 being in POSIX, because they are in 1003.1-2008.
22864
84ad622b
RM
22865 * rt/tst-aio.c: Include <fcntl.h>.
22866 * rt/tst-aio7.c: Likewise.
22867 * rt/tst-aio64.c: Likewise.
22868
4579f81c
RM
22869 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
22870
abd923db
JM
228712012-02-27 Joseph Myers <joseph@codesourcery.com>
22872
22873 * manual/install.texi (--with-headers): Describe headers as
22874 interface headers, not private headers.
22875 (Specific advice for GNU/Linux systems): Describe use of headers
22876 from "make headers_install", not private headers from older
22877 kernels.
43be4ca2 22878 * INSTALL: Regenerated.
abd923db
JM
22879 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
22880 Change to 2.6.19.
22881 * sysdeps/unix/sysv/linux/configure: Regenerated.
22882
6664049b
JM
22883 * manual/llio.texi (fclean): Remove documentation.
22884
bb8b6697
JM
22885 * manual/Makefile (libc-texi-generated): New variable. Include
22886 version.texi.
22887 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
22888 $(libc-texi-generated), not duplicated list of files.
22889 (version.texi, stamp-version): New rules.
22890 (realclean): Remove $(libc-texi-generated), not individual files
22891 from that list. Do not remove dir-add.texinfo.
22892 * manual/libc.texinfo: Comment out uses of edition numbers and
22893 references to printed manual. Remove last-updated dates.
22894 (EDITION): Comment out.
22895 (ISBN): Likewise.
22896 (VERSION, UPDATED): Remove.
22897 (version.texi): Include.
22898
12e5c3b9
AS
228992012-02-27 Andreas Schwab <schwab@linux-m68k.org>
22900
22901 * sysdeps/posix/spawni.c: Include <signal.h>.
22902 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
22903 * sysdeps/pthread/aio_fsync.c: Likewise.
22904
4efeffc1 229052012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 22906
ba63ba08
UD
22907 * conform/Makefile (tests): Run only when not cross-compiling and
22908 when fast-check is not defined.
22909
d94a4670
UD
22910 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
22911 * conform/data/limits.h-data: Fixes for POSIX2008.
22912 * conform/run-conformtest.sh: Run all tests.
22913 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
22914 headers.
22915 * include/bits/dlfcn.h: Likewise.
22916 * include/langinfo.h: Likewise.
22917 * include/monetary.h: Likewise.
22918 * include/sys/poll.h: Likewise.
22919
22920 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
22921 for __USE_GNU.
22922 * posix/spawn.h: Define __need_sigset_t.
22923 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
22924 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
22925 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
22926 to get sigevent_t only.
22927 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
22928 only for __USE_GNU.
22929 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22930 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22931 process_vm_writev only for __USE_GNU.
22932 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
22933
22934 * conform/Makefile: For now ignore errors from run-conformtest.
22935 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
22936 POSIX to avoid namespace pollution. Don't prepend headers.
22937 * conform/data/aio.h-data: Fixes for POSIX testing.
22938 * conform/data/fcntl.h-data: Likewise.
22939 * conform/data/glob.h-data: Likewise.
22940 * conform/data/grp.h-data: Likewise.
22941 * conform/data/pthread.h-data: Likewise.
22942 * conform/data/pwd.h-data: Likewise.
22943 * conform/data/signal.h-data: Likewise.
22944 * conform/data/spawn.h-data: Likewise.
22945 * conform/data/stdio.h-data: Likewise.
22946 * conform/data/stdlib.h-data: Likewise.
22947 * conform/data/stropts.h-data: Likewise.
22948 * conform/data/sys/mman.h-data: Likewise.
22949 * conform/data/sys/stat.h-data: Likewise.
22950 * conform/data/sys/types.h-data: Likewise.
22951 * conform/data/sys/wait.h-data: Likewise.
22952 * conform/data/time.h-data: Likewise.
22953 * conform/data/unistd.h-data: Likewise.
22954 * conform/data/utime.h-data: Likewise.
22955
22956 * io/sys/stat.h: fchmod was always in POSIX.
22957 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
22958 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
22959 * rt/aio.h: Define __need_timespec before including <time.h>.
22960 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
22961 struct. Add forward declaration of pthread_attr_t and use it in
22962 sigevent.
22963 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22964 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22965 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
22966 always remove CLK_TCK definition.
22967
c20105c3
AS
229682012-02-26 Andreas Schwab <schwab@linux-m68k.org>
22969
22970 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
22971
7a270350
UD
229722012-02-25 Ulrich Drepper <drepper@gmail.com>
22973
31341567
UD
22974 * conform/run-conformtest.sh: New file.
22975 * conform/Makefile: Run run-conformtest for tests.
22976 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
22977 support.
22978
22979 * conform/data/uchar.h-data: New file.
22980 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
22981 * conform/data/arpa/inet.h-data: Likewise.
22982 * conform/data/assert.h-data: Likewise.
22983 * conform/data/complex.h-data: Likewise.
22984 * conform/data/cpio.h-data: Likewise.
22985 * conform/data/ctype.h-data: Likewise.
22986 * conform/data/dirent.h-data: Likewise.
22987 * conform/data/dlfcn.h-data: Likewise.
22988 * conform/data/errno.h-data: Likewise.
22989 * conform/data/fcntl.h-data: Likewise.
22990 * conform/data/float.h-data: Likewise.
22991 * conform/data/fmtmsg.h-data: Likewise.
22992 * conform/data/fnmatch.h-data: Likewise.
22993 * conform/data/ftw.h-data: Likewise.
22994 * conform/data/glob.h-data: Likewise.
22995 * conform/data/grp.h-data: Likewise.
22996 * conform/data/iconv.h-data: Likewise.
22997 * conform/data/inttypes.h-data: Likewise.
22998 * conform/data/langinfo.h-data: Likewise.
22999 * conform/data/libgen.h-data: Likewise.
23000 * conform/data/limits.h-data: Likewise.
23001 * conform/data/locale.h-data: Likewise.
23002 * conform/data/math.h-data: Likewise.
23003 * conform/data/monetary.h-data: Likewise.
23004 * conform/data/mqueue.h-data: Likewise.
23005 * conform/data/ndbm.h-data: Likewise.
23006 * conform/data/net/if.h-data: Likewise.
23007 * conform/data/netdb.h-data: Likewise.
23008 * conform/data/netinet/in.h-data: Likewise.
23009 * conform/data/nl_types.h-data: Likewise.
23010 * conform/data/poll.h-data: Likewise.
23011 * conform/data/pthread.h-data: Likewise.
23012 * conform/data/pwd.h-data: Likewise.
23013 * conform/data/regex.h-data: Likewise.
23014 * conform/data/sched.h-data: Likewise.
23015 * conform/data/search.h-data: Likewise.
23016 * conform/data/semaphore.h-data: Likewise.
23017 * conform/data/setjmp.h-data: Likewise.
23018 * conform/data/signal.h-data: Likewise.
23019 * conform/data/spawn.h-data: Likewise.
23020 * conform/data/stdarg.h-data: Likewise.
23021 * conform/data/stdio.h-data: Likewise.
23022 * conform/data/stdlib.h-data: Likewise.
23023 * conform/data/string.h-data: Likewise.
23024 * conform/data/strings.h-data: Likewise.
23025 * conform/data/stropts.h-data: Likewise.
23026 * conform/data/sys/ipc.h-data: Likewise.
23027 * conform/data/sys/mman.h-data: Likewise.
23028 * conform/data/sys/msg.h-data: Likewise.
23029 * conform/data/sys/resource.h-data: Likewise.
23030 * conform/data/sys/select.h-data: Likewise.
23031 * conform/data/sys/sem.h-data: Likewise.
23032 * conform/data/sys/shm.h-data: Likewise.
23033 * conform/data/sys/socket.h-data: Likewise.
23034 * conform/data/sys/stat.h-data: Likewise.
23035 * conform/data/sys/statvfs.h-data: Likewise.
23036 * conform/data/sys/time.h-data: Likewise.
23037 * conform/data/sys/timeb.h-data: Likewise.
23038 * conform/data/sys/times.h-data: Likewise.
23039 * conform/data/sys/types.h-data: Likewise.
23040 * conform/data/sys/uio.h-data: Likewise.
23041 * conform/data/sys/un.h-data: Likewise.
23042 * conform/data/sys/utsname.h-data: Likewise.
23043 * conform/data/sys/wait.h-data: Likewise.
23044 * conform/data/syslog.h-data: Likewise.
23045 * conform/data/tar.h-data: Likewise.
23046 * conform/data/termios.h-data: Likewise.
23047 * conform/data/utime.h-data: Likewise.
23048 * conform/data/utmpx.h-data: Likewise.
23049 * conform/data/varargs.h-data: Likewise.
23050 * conform/data/wchar.h-data: Likewise.
23051 * conform/data/wctype.h-data: Likewise.
23052 * conform/data/wordexp.h-data: Likewise.
23053
23054 * include/stropts.h: New file.
23055 * include/uchar.h: New file.
23056 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23057 * include/assert.h: Likewise.
23058 * include/ctype.h: Likewise.
23059 * include/dirent.h: Likewise.
23060 * include/dlfcn.h: Likewise.
23061 * include/fcntl.h: Likewise.
23062 * include/fnmatch.h: Likewise.
23063 * include/glob.h: Likewise.
23064 * include/grp.h: Likewise.
23065 * include/libio.h: Likewise.
23066 * include/locale.h: Likewise.
23067 * include/math.h: Likewise.
23068 * include/net/if.h: Likewise.
23069 * include/netdb.h: Likewise.
23070 * include/netinet/in.h: Likewise.
23071 * include/pthread.h: Likewise.
23072 * include/pwd.h: Likewise.
23073 * include/regex.h: Likewise.
23074 * include/sched.h: Likewise.
23075 * include/search.h: Likewise.
23076 * include/setjmp.h: Likewise.
23077 * include/signal.h: Likewise.
23078 * include/stdio.h: Likewise.
23079 * include/stdlib.h: Likewise.
23080 * include/string.h: Likewise.
23081 * include/sys/cdefs.h: Likewise.
23082 * include/sys/mman.h: Likewise.
23083 * include/sys/msg.h: Likewise.
23084 * include/sys/resource.h: Likewise.
23085 * include/sys/select.h: Likewise.
23086 * include/sys/socket.h: Likewise.
23087 * include/sys/stat.h: Likewise.
23088 * include/sys/statvfs.h: Likewise.
23089 * include/sys/time.h: Likewise.
23090 * include/sys/times.h: Likewise.
23091 * include/sys/uio.h: Likewise.
23092 * include/sys/utsname.h: Likewise.
23093 * include/sys/wait.h: Likewise.
23094 * include/termios.h: Likewise.
23095 * include/time.h: Likewise.
23096 * include/ulimit.h: Likewise.
23097 * include/unistd.h: Likewise.
23098 * include/utime.h: Likewise.
23099 * include/wchar.h: Likewise.
23100 * include/wctype.h: Likewise.
23101 * include/wordexp.h: Likewise.
23102
23103 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23104
7a270350
UD
23105 * time/time.h: TIME_UTC must be a macro.
23106 Make timespec_get available for ISO C11 only as well.
23107
7724defc
UD
231082012-02-24 Ulrich Drepper <drepper@gmail.com>
23109
23110 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23111 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23112
6b1d1d46
JM
231132012-02-24 Joseph Myers <joseph@codesourcery.com>
23114
23115 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23116
0f8bbd69
JM
231172012-02-24 Joseph Myers <joseph@codesourcery.com>
23118
23119 * manual/texinfo.tex: Update to version 2012-01-19.16.
23120
66ab80bc
JM
231212012-02-24 Joseph Myers <joseph@codesourcery.com>
23122
23123 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23124
74981cc5
RM
231252012-02-24 Roland McGrath <roland@hack.frob.com>
23126
ee968201
RM
23127 [BZ #13738]
23128 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23129 * manual/fdl-1.3.texi: New file.
23130 * manual/fdl-1.1.texi: File removed.
23131
74981cc5
RM
23132 [BZ #13738]
23133 * manual/libc.texinfo (FDL_VERSION): New @set.
23134 Use it for mention of FDL in cover text.
23135 (Documentation License): Use it in @include file name.
23136
7bb764bc
JM
231372012-02-22 Joseph Myers <joseph@codesourcery.com>
23138 Roland McGrath <roland@hack.frob.com>
23139
23140 [BZ #5461]
23141 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23142 not LONG_LONG_MAX and LONG_LONG_MIN.
23143 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23144 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23145 name.
23146 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23147
6cbeae47
JM
231482012-02-22 Joseph Myers <joseph@codesourcery.com>
23149
23150 [BZ #2547]
23151 [BZ #11365]
23152 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23153 manipulate bits before adding and subtracting TWO23[sx].
23154 * math/libm-test.inc (nearbyint_test): Add more tests.
23155
fe45ce09
JM
231562012-02-22 Joseph Myers <joseph@codesourcery.com>
23157
23158 [BZ #2548]
23159 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23160 bits before adding and subtracting TWO23[sx].
23161 * math/libm-test.inc (rint_test): Add more tests.
23162 (rint_test_tonearest): Likewise.
23163 (rint_test_towardzero): Likewise.
23164 (rint_test_downward): Likewise.
23165 (rint_test_upward: Likewise.
23166
ff3b3d82
JM
231672012-02-22 Joseph Myers <joseph@codesourcery.com>
23168
23169 [BZ #10110]
23170 * include/stdc-predef.h: New file. Extracted from features.h.
23171 * include/features.h: Include stdc-predef.h.
23172 * Makefile (headers): Add stdc-predef.h.
23173 * CONFORMANCE (Compiler limitations): Update.
23174
ef0aab35
JM
231752012-02-22 Joseph Myers <joseph@codesourcery.com>
23176
23177 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23178
58639409
DM
231792012-02-21 David S. Miller <davem@davemloft.net>
23180
23181 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23182 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23183
c0e70b25
DM
231842012-02-20 David S. Miller <davem@davemloft.net>
23185
23186 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23187 using a normal save/restore sequence, rather than allocating a
23188 dummy stack frame just to store a frame pointer and restore.
23189 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23190
fb06851d
JM
231912012-02-21 Joseph Myers <joseph@codesourcery.com>
23192
23193 * manual/install.texi: Fix stray word in line-wrapped comment.
23194
7a8b71c3
DM
231952012-02-20 David S. Miller <davem@davemloft.net>
23196
d510c123
DM
23197 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23198 both binutils and gcc support GOTDATA.
23199
0722d7c2
DM
23200 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23201 "rd %pc" in the PIC register setup sequences.
23202
3d2b3019
DM
23203 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23204 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23205 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23206 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23207 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23208 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23209 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23210 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23211 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23212 (SYSCALL_ERROR_HANDLER): Likewise.
23213 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23214 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23215 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23216 (SYSCALL_ERROR_HANDLER): Likewise.
23217
c80098a9
DM
23218 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23219 (HAVE_GCC_GOTDATA): New.
23220 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23221 relocation support in both binutils and gcc.
23222 * sysdeps/sparc/elf/configure: Regenerate.
23223
3a2545a0
DM
23224 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23225 * sysdeps/sparc/sparc32/elf/configure: Delete.
23226 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23227 * sysdeps/sparc/sparc64/elf/configure: Delete.
23228 * sysdeps/sparc/elf/configure.in: New file.
23229 * sysdeps/sparc/elf/configure: Generate.
23230
7a8b71c3
DM
23231 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23232 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23233 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23234 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23235 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23236
f1e86fca
JM
232372012-02-21 Joseph Myers <joseph@codesourcery.com>
23238
23239 * manual/install.texi: Do not mention specific glibc version
23240 numbers.
23241 * manual/libc.texinfo (VERSION, UPDATED): Update.
23242 (@copying): Use @copyright{} and range of years.
23243
0e7dfaef
JM
232442012-02-21 Joseph Myers <joseph@codesourcery.com>
23245
23246 [BZ #13695]
23247 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23248 [crti.S not in sysdirs] (generated): Do not append.
23249 [crti.S not in sysdirs] (omit-deps): Likewise.
23250 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23251 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23252 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23253 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23254 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23255 Likewise.
23256 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23257 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23258 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23259 * csu/defs.awk: Remove file.
23260 * sysdeps/generic/initfini.c: Likewise.
23261 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23262 variable.
23263 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23264 Likewise.
23265
599af3ca
JM
232662012-02-20 Joseph Myers <joseph@codesourcery.com>
23267
23268 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23269 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23270 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23271 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23272 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23273 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23274 <bits/epoll.h>.
23275 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23276 (__EPOLL_PACKED): Define to empty if not defined by
23277 <bits/epoll.h>.
23278 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23279 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23280 bits/epoll.h.
23281
0e499750
JM
232822012-02-20 Joseph Myers <joseph@codesourcery.com>
23283
23284 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23285 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23286 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23287 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23288 <bits/timerfd.h>.
23289 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23290 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23291 bits/timerfd.h.
23292
5ad91f6e
JM
232932012-02-20 Joseph Myers <joseph@codesourcery.com>
23294
23295 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23296 in C locale.
23297 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23298 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23299 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23301
06b99b02
AJ
233022012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23303
23304 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23305 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23306
7638c0fd
AS
233072012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23308
23309 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23310 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23311 defined.
23312 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23313 Likewise.
23314 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23315 entry for 2.16.
23316
92221550
AJ
233172012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23318
23319 * math/w_acos.c: Use non-signaling floating-point comparisons.
23320 * math/w_acosf.c: Likewise.
23321 * math/w_acosh.c: Likewise.
23322 * math/w_acoshf.c: Likewise.
23323 * math/w_acoshl.c: Likewise.
23324 * math/w_acosl.c: Likewise.
23325 * math/w_asin.c: Likewise.
23326 * math/w_asinf.c: Likewise.
23327 * math/w_asinl.c: Likewise.
23328 * math/w_atanh.c: Likewise.
23329 * math/w_atanhf.c: Likewise.
23330 * math/w_atanhl.c: Likewise.
23331 * math/w_exp2.c: Likewise.
23332 * math/w_exp2f.c: Likewise.
23333 * math/w_exp2l.c: Likewise.
23334 * math/w_j0.c: Likewise.
23335 * math/w_j0f.c: Likewise.
23336 * math/w_j0l.c: Likewise.
23337 * math/w_j1.c: Likewise.
23338 * math/w_j1f.c: Likewise.
23339 * math/w_j1l.c: Likewise.
23340 * math/w_jn.c: Likewise.
23341 * math/w_jnf.c: Likewise.
23342 * math/w_log.c: Likewise.
23343 * math/w_log10.c: Likewise.
23344 * math/w_log10f.c: Likewise.
23345 * math/w_log10l.c: Likewise.
23346 * math/w_log2.c: Likewise.
23347 * math/w_log2f.c: Likewise.
23348 * math/w_log2l.c: Likewise.
23349 * math/w_logf.c: Likewise.
23350 * math/w_logl.c: Likewise.
23351 * math/w_sqrt.c: Likewise.
23352 * math/w_sqrtf.c: Likewise.
23353 * math/w_sqrtl.c: Likewise.
23354 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23355 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23356 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23357 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23358 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23359
ebaf36eb
JM
233602012-02-19 Joseph Myers <joseph@codesourcery.com>
23361
23362 [BZ #9739]
23363 * manual/string.texi (strnlen): Use correct parameter name in
23364 equivalent expression.
23365
71c254a6
JM
233662012-02-19 Joseph Myers <joseph@codesourcery.com>
23367
23368 [BZ #11174]
23369 * manual/users.texi (seteuid): Consistently use neweuid for
23370 argument name.
23371
16d2c631
JM
233722012-02-19 Joseph Myers <joseph@codesourcery.com>
23373
23374 [BZ #13704]
23375 * manual/nss.texi (Services in the NSS configuration): Correct
23376 list of services in example configuration file.
23377
cd837b09
NB
233782012-02-19 Nick Bowler <nbowler@draconx.ca>
23379
23380 [BZ #11322]
23381 * manual/arith.texi: Remove statements about negative zero
23382 behaving identically to zero.
23383
02c4bbad
JM
233842012-02-18 Joseph Myers <joseph@codesourcery.com>
23385
23386 [BZ #5993]
23387 * manual/install.texi: Do not document upgrading from libc5.
23388
366842e7
JM
233892012-02-18 Joseph Myers <joseph@codesourcery.com>
23390
23391 [BZ #4596]
23392 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23393
dd54084d
DM
233942012-02-18 David S. Miller <davem@davemloft.net>
23395
23396 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23397 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23398 %o7 across the call.
23399 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23400 instead.
23401 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23402 SETUP_PIC_REG_LEAF.
23403 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23404 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23405 * sysdeps/sparc/crtn.S: Likewise.
23406
2bcc53a3
UD
234072012-02-17 Ulrich Drepper <drepper@gmail.com>
23408
23409 * aout/Makefile: Remove.
23410
09c093b5
RK
234112012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23412
23413 [BZ #13058]
23414 * manual/examples/argp-ex1.c (main): Format definition in GNU
23415 style.
23416 * manual/examples/argp-ex2.c (main): Likewise.
23417 * manual/examples/argp-ex3.c (main): Likewise.
23418 * manual/examples/argp-ex4.c (main): Likewise.
23419 * manual/examples/longopt.c (main): Use new-style prototype
23420 definition.
23421 * manual/examples/strncat.c (main): Specify return type and use
23422 (void) for arguments.
23423 * manual/examples/subopt.c (main): Use char **argv argument.
23424
2ee633a2
JM
234252012-02-17 Joseph Myers <joseph@codesourcery.com>
23426
23427 [BZ #5077]
23428 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23429 rounding modes.
23430
0520adde
FB
234312012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23432
23433 [BZ #6907]
23434 * manual/string.texi (strchr): Change when strchrnul is
23435 recommended.
23436
3f4081cd
DGM
234372012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23438
23439 [BZ #174]
23440 * manual/locale.texi (setlocale): Document LOCPATH.
23441
d1b10e78
JM
234422012-02-17 Joseph Myers <joseph@codesourcery.com>
23443
23444 [BZ #10210]
23445 * manual/process.texi (execle): Move @dots{} before last argument.
23446
79c6869c
PB
234472012-02-17 Paul Bolle <pebolle@tiscali.nl>
23448
23449 [BZ #12047]
23450 * manual/charset.texi (Generic Charset Conversion): Fix typo
23451 (LC_TYPE -> LC_CTYPE).
23452
cc6e48bc
NB
234532012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23454
23455 [BZ #5805]
23456 * manual/arith.texi (scalbn): Use @var{} on parameter names.
23457 (scalbnf): Likewise.
23458 (scalbnl): Likewise.
23459 (scalbln): Likewise.
23460 (scalblnf): Likewise.
23461 (scalblnl): Likewise.
23462 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23463 (vwarnx): Likewise.
23464 (verr): Likewise.
23465 (verrx): Likewise.
23466 * manual/filesys.texi (telldir): Use braces around return type.
23467 * manual/llio.texi (mmap): Add space after comma.
23468 (mmap64): Likewise.
23469 * manual/math.texi (jn): Use @var{} on parameter names.
23470 (jnf): Likewise.
23471 (jnl): Likewise.
23472 (yn): Likewise.
23473 (ynf): Likewise.
23474 (ynl): Likewise.
23475 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23476 line.
23477 * manual/resource.texi (ulimit): Use @dots{} instead of literal
23478 "...".
23479 (sched_get_priority_min): Remove semicolon on @deftypefun line.
23480 (sched_get_priority_max): Likewise.
23481 * manual/signal.texi (sigvec): Add space after comma.
23482 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23483 names.
23484 (if_indextoname): Likewise.
23485 (if_freenameindex): Likewise.
23486 (sendto): Use ',' instead of '.' in prototype.
23487 * manual/startup.texi (syscall): Use @dots{} instead of literal
23488 "...".
23489 * manual/stdio.texi (__fpending): Separate initial words of
23490 paragraph from @deftypefun line.
23491 * manual/syslog.texi (syslog): Use @dots{} instead of literal
23492 "...".
23493 (vsyslog): Use @var{} on parameter names.
23494 * manual/terminal.texi (stty): Use @var{} on parameter names.
23495 * manual/users.texi (getutmp): Use @var{} on parameter names.
23496 (getutmpx): Likewise.
23497
5b23062f
JM
234982012-02-17 Joseph Myers <joseph@codesourcery.com>
23499
23500 [BZ #6884]
23501 * manual/stdio.texi (fopen): Fix typos in description of
23502 ",ccs=STRING".
23503
8dee4833
AJ
235042012-02-17 Aurelien Jarno <aurelien@aurel32.net>
23505
23506 [BZ #4026]
23507 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23508 get clock_id definition.
23509
9078ce93
TS
235102012-02-17 Thomas Schwinge <thomas@schwinge.name>
23511
23512 [BZ #4822]
23513 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23514 (madvise): Cast every argument to void on its own.
23515
3835c55f
JM
235162012-02-17 Joseph Myers <joseph@codesourcery.com>
23517
23518 [BZ #9902]
23519 * manual/startup.texi (Exit Status): Fix typo.
23520
35c47e37
JM
235212012-02-17 Joseph Myers <joseph@codesourcery.com>
23522
23523 [BZ #10140]
23524 * manual/examples/argp-ex1.c: Include <stdlib.h>.
23525 * manual/examples/argp-ex2.c: Likewise.
23526 * manual/examples/argp-ex3.c: Likewise.
23527
e3b69ca7
RH
235282012-02-16 Richard Henderson <rth@redhat.com>
23529
23530 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23531 * sysdeps/s390/s390-32/initfini.c: Remove.
23532 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23533 * sysdeps/s390/s390-64/initfini.c: Remove.
23534
df83af67
KK
235352012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23536
23537 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23538 compiler output for sysdeps/generic/initfini.c.
23539 * sysdeps/sh/elf/initfini.c: Remove file.
23540
f63f3380
DM
235412012-02-16 David S. Miller <davem@davemloft.net>
23542
fb59b3a4
DM
23543 [BZ #11494]
23544 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23545
f63f3380
DM
23546 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23547 * sysdeps/sparc/crti.S: New file.
23548 * sysdeps/sparc/crtn.S: New file.
23549 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23550 * sysdeps/sparc/sparc64/Makefile: Likewise.
23551
df6a4a4a
MF
235522012-02-15 Mike Frysinger <vapier@gentoo.org>
23553
6dd8f3dc 23554 [BZ #3335]
df6a4a4a
MF
23555 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23556
1cac7236
RM
235572012-02-15 Roland McGrath <roland@hack.frob.com>
23558
d2c736f8
RM
23559 [BZ #4822]
23560 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23561
1cac7236
RM
23562 * mach/devstream.c (cookie_io_functions_t): Macro removed.
23563 (write, read, close): Likewise.
23564 Patch by Aurelien Jarno <aurelien@aurel32.net>.
23565
8e475601
JM
235662012-02-15 Joseph Myers <joseph@codesourcery.com>
23567
23568 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23569 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23570 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23571 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23572 <bits/signalfd.h>.
23573 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23574 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23575 bits/signalfd.h.
23576
ed656b40
MP
235772012-02-14 Marek Polacek <polacek@redhat.com>
23578
23579 * sysdeps/x86_64/crti.S: New file.
23580 * sysdeps/x86_64/crtn.S: New file.
23581 * sysdeps/x86_64/elf/initfini.c: Remove file.
23582
2a979d3a
JM
235832012-02-13 Joseph Myers <joseph@codesourcery.com>
23584
23585 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23586 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23587 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23588 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23589 <bits/inotify.h>.
23590 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23591 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23592 bits/inotify.h.
23593
2a418ac3
JM
235942012-02-13 Joseph Myers <joseph@codesourcery.com>
23595
23596 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23597 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23598 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23599 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23600 <bits/eventfd.h>.
23601 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23602 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23603 bits/eventfd.h.
23604
fb779be7
TS
236052012-02-10 Thomas Schwinge <thomas@codesourcery.com>
23606
e19e83c5
RM
23607 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23608 __feraiseexcept instead of feraiseexcept.
7c35ffed 23609
fb779be7
TS
23610 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23611 nanosleep invocations.
23612 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23613 strings, and add error checking for a nanosleep invocations.
23614
59ba27a6
PE
236152012-02-09 Paul Eggert <eggert@cs.ucla.edu>
23616
23617 Replace FSF snail mail address with URLs, as per GNU coding standards.
23618 Most of the snail mail addresses were wrong anyway, and omitting
23619 them makes the source code easier to maintain. Almost all of the
23620 changes are to license notices and to locale LC_IDENTIFICATION
23621 addresses, except for this one:
23622 * manual/libc.texinfo: In "Published by", give the FSF's URL,
23623 not its snail mail address.
23624
57b957eb
RH
236252012-02-09 Richard Henderson <rth@twiddle.net>
23626
af850b1c
RH
23627 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23628 of kernel-features.h.
23629
57b957eb
RH
23630 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23631
6b73181a
MP
236322012-02-08 Marek Polacek <polacek@redhat.com>
23633
23634 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23635 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23636 * sysdeps/gnu/_G_config.h: Likewise.
23637 * sysdeps/generic/_G_config.h: Likewise.
23638
26ecc33a
AS
236392012-02-08 Andreas Schwab <schwab@linux-m68k.org>
23640
6c6dbc63
AS
23641 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23642 tests.
23643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23644
e216c012
AS
23645 * sysdeps/powerpc/powerpc32/crti.S: New file.
23646 * sysdeps/powerpc/powerpc32/crtn.S: New file.
23647 * sysdeps/powerpc/powerpc64/crti.S: New file.
23648 * sysdeps/powerpc/powerpc64/crtn.S: New file.
23649
26ecc33a
AS
23650 * Makeconfig (have-initfini): Don't set.
23651 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23652 * configure.in (nopic_initfini): Don't substitute.
23653 * config.h.in (HAVE_INITFINI): Don't #undef.
23654 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23655 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23656
3add8e13
JM
236572012-02-08 Joseph Myers <joseph@codesourcery.com>
23658
23659 Support crti.S and crtn.S provided directly by architectures.
23660 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23661 [crti.S in sysdirs] (omit-deps): Likewise.
23662 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23663 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23664 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23665 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23666 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23667 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23668 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23669 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23670 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23671 compiler output for sysdeps/generic/initfini.c.
23672 * sysdeps/i386/elf/Makefile: Remove file.
23673 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23674
a22f12b4
MP
236752012-02-07 Marek Polacek <polacek@redhat.com>
23676
23677 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23678 * sysdeps/gnu/_G_config.h: Likewise.
23679 * sysdeps/mach/hurd/_G_config.h: Likewise.
23680
148cf100
MP
236812012-02-07 Marek Polacek <polacek@redhat.com>
23682
23683 * math/Makefile (tests): Add tst-CMPLX2.
23684 * math/tst-CMPLX2.c: New file.
23685
cfdc0dd7
AS
236862012-02-07 Andreas Schwab <schwab@linux-m68k.org>
23687
84ba42c4
AS
23688 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23689
cfdc0dd7
AS
23690 * math/libm-test.inc (jn_test): Add missing L suffix.
23691
622c86f4
MP
236922012-02-06 Marek Polacek <polacek@redhat.com>
23693
23694 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23695 * sysdeps/i386/fpu/e_powf.S: Likewise.
23696 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23697 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23698 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23699 * sysdeps/i386/fpu/e_pow.S: Likewise.
23700 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23701 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23702 * sysdeps/i386/fpu/s_expm1.S: Likewise.
23703 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23704 * sysdeps/i386/fpu/e_log2.S: Likewise.
23705 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23706 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23707 * sysdeps/i386/fpu/e_powl.S: Likewise.
23708 * sysdeps/i386/fpu/s_log1p.S: Likewise.
23709 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23710 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23711 * sysdeps/i386/fpu/e_logl.S: Likewise.
23712 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23713 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23714 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23715 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23716 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23717 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23718 * sysdeps/i386/fpu/e_log.S: Likewise.
23719 * sysdeps/i386/fpu/s_cexp.S: Likewise.
23720 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23721 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23722 * sysdeps/i386/fpu/e_logf.S: Likewise.
23723 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23724 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23725 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23726 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23727 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23728 * sysdeps/i386/fpu/e_log10.S: Likewise.
23729 * sysdeps/i386/fpu/s_frexp.S: Likewise.
23730 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23731 * sysdeps/i386/fpu/s_asinh.S: Likewise.
23732 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23733 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23734 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23735 * sysdeps/i386/asm-syntax.h: Likewise.
23736 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23737 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23738 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23739 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
23740 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
23741 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23742 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23743 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23744 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23745 * sysdeps/powerpc/sysdep.h: Likewise.
23746 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23747 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23748
d4a54ac6
JM
237492012-02-06 Joseph Myers <joseph@codesourcery.com>
23750
23751 [BZ #411]
23752 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
23753
314054ea
JM
237542012-02-06 Joseph Myers <joseph@codesourcery.com>
23755
23756 * sysdeps/i386/sysdep.h: Include <features.h>.
23757 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
23758 version.
23759
d8e0ca50
JM
237602012-02-05 Joseph Myers <joseph@codesourcery.com>
23761
23762 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
23763 Define.
23764 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
23765 LOAD_PIC_REG_STR.
23766
b1da7dd9
JM
237672012-02-03 Joseph Myers <joseph@codesourcery.com>
23768
23769 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
23770 (SETUP_PIC_REG): Use GET_PC_THUNK.
23771 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
23772 macro.
23773
9a1d9254
JM
237742012-02-03 Joseph Myers <joseph@codesourcery.com>
23775
23776 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
23777 for non-PIC compilation.
23778 (SETUP_PIC_REG): Add .p2align directive.
23779 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
23780 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23781 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23782 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23783 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23784 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23785 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23786 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23787 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23788 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23789 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23790 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23791 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23792 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23793 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23794 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23795 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23796 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23797 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23798 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23799 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23800 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23801 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23802 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23803 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23804 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23805 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23806 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23807 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23808 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23809 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23810 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23811 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23812 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23813 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23814 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23815 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23816 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23817 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23818 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23819 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23820
65dc3b75
JM
238212012-02-03 Joseph Myers <joseph@codesourcery.com>
23822
23823 * math/tst-CMPLX.c: Include <stdio.h>.
23824
d55bf177
JM
238252012-01-31 Joseph Myers <joseph@codesourcery.com>
23826
23827 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
23828 float.
23829 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23830 * sysdeps/sparc/bits/mathdef.h: Likewise.
23831
69db4f8f
MP
238322012-01-31 Marek Polacek <polacek@redhat.com>
23833
23834 * libio/libio.h: Don't define _PARAMS.
23835 * locale/programs/config.h: Don't define PARAMS.
23836 * stdlib/strtol_l.c: Likewise.
23837 (__strtol_l): Remove PARAMS from the prototype.
23838
41b81892
UD
238392012-01-31 Ulrich Drepper <drepper@gmail.com>
23840
3b49edc0
UD
23841 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
23842 names. Just use the correct names. Remove unnecessary wrapper
23843 functions.
23844 * malloc/arena.c: Likewise.
23845 * malloc/hooks.c: Likewise.
23846
41b81892
UD
23847 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
23848 ARENA_TEST says not to. Simplify test for creation of a new arena.
23849 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
23850
27a25b6e
UD
238512012-01-30 Ulrich Drepper <drepper@gmail.com>
23852
23853 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
23854 into tail calls.
23855 (update_get_addr): New function.
23856 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
23857 GET_ADDR_MODULE parameter.
23858
c8a89e7d
JM
238592012-01-30 Joseph Myers <joseph@codesourcery.com>
23860
23861 * crypt/cert.c: Remove __STDC__ conditionals.
23862 * crypt/crypt-entry.c: Likewise.
23863 * crypt/crypt_util.c: Likewise.
23864 * libio/filedoalloc.c: Likewise.
23865 * libio/fileops.c: Likewise.
23866 * libio/genops.c: Likewise.
23867 * libio/iofclose.c: Likewise.
23868 * libio/iofdopen.c: Likewise.
23869 * libio/iofopen.c: Likewise.
23870 * libio/iofopen64.c: Likewise.
23871 * libio/iogetdelim.c: Likewise.
23872 * libio/iopopen.c: Likewise.
23873 * libio/obprintf.c: Likewise.
23874 * libio/oldfileops.c: Likewise.
23875 * libio/oldiofclose.c: Likewise.
23876 * libio/oldiofdopen.c: Likewise.
23877 * libio/oldiofopen.c: Likewise.
23878 * libio/oldiopopen.c: Likewise.
23879 * libio/wfiledoalloc.c: Likewise.
23880 * libio/wgenops.c: Likewise.
23881 * locale/programs/xmalloc.c: Likewise.
23882 * misc/syslog.c: Likewise.
23883 * stdio-common/xbug.c: Likewise.
23884 * string/memchr.c: Likewise.
23885 * string/memcmp.c: Likewise.
23886 * string/memrchr.c: Likewise.
23887 * string/rawmemchr.c: Likewise.
23888 * sysdeps/posix/getcwd.c: Likewise.
23889 * time/strftime_l.c: Likewise.
23890
3b100462
JM
238912012-01-30 Joseph Myers <joseph@codesourcery.com>
23892
23893 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
23894 * config.make.in (config-cflags-sse2avx): Define.
23895 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
23896 Fix typo.
23897
607998af
CM
238982012-01-29 Chris Metcalf <cmetcalf@tilera.com>
23899
23900 * scripts/config.guess: Update from upstream config git repository.
23901 * scripts/config.sub: Likewise.
23902
3601428f
CM
239032012-01-28 Chris Metcalf <cmetcalf@tilera.com>
23904
3ac8b282
CM
23905 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
23906 (EM_NUM): Update.
23907 (R_TILEPRO_*, R_TILEGX_*): New macros.
23908
e034841e
CM
23909 * scripts/firstversions.awk: Fix bug in version range handling.
23910
540d7568
CM
23911 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
23912
3601428f
CM
23913 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
23914
463de862
CM
23915 * include/sys/epoll.h: New file.
23916 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
23917 libc_hidden_def.
23918
73139a76
UD
239192012-01-28 Ulrich Drepper <drepper@gmail.com>
23920
96bc5b45
UD
23921 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
23922 Avoid unnecessary __WORDSIZE == 64 test.
23923 (fmaxf): Use VEX format if possible.
23924 (fmax): Likewise.
23925 (fminf): Likewise.
23926 (fmin): Likewise.
23927
56f6f6a2
UD
23928 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
23929 * math/math_private.h: Remove libc_fegetround* and
23930 libc_fesetround*.
23931 * sysdeps/i386/configure.in: Check for -msse2avx.
23932 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
23933 also if SSE2AVX is defined.
23934 Remove libc_fegetround* and libc_fesetround*.
23935 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
23936 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
23937 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
23938 of HAS_YMM_USABLE.
23939 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23940 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23941 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23942 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23943 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23944
73139a76
UD
23945 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
23946
d73f93a4
AZ
239472012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23948
23949 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
23950 size is not set.
23951 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23952
6ee65ed6
UD
239532012-01-27 Ulrich Drepper <drepper@gmail.com>
23954
23955 [BZ #13618]
23956 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
23957 relocation.
23958 * Makeconfig (libm): Define.
23959 * elf/Makefile: Add rules to build and run tst-relsort1.
23960 * elf/tst-relsort1.c: New file.
23961 * elf/tst-relsort1mod1.c: New file.
23962 * elf/tst-relsort1mod2.c: New file.
23963
8db21882
JM
239642012-01-27 Joseph Myers <joseph@codesourcery.com>
23965
23966 * math/s_ldexp.c: Remove __STDC__ conditionals.
23967 * math/s_ldexpf.c: Likewise.
23968 * math/s_ldexpl.c: Likewise.
23969 * math/s_nextafter.c: Likewise.
23970 * math/s_nexttowardf.c: Likewise.
23971 * math/s_significand.c: Likewise.
23972 * math/s_significandf.c: Likewise.
23973 * math/s_significandl.c: Likewise.
23974 * math/w_jnl.c: Likewise.
23975 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23976 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23977 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23978 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23979 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23980 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23981 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
23982 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23983 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23984 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23985 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23986 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23987 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23988 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23989 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23990 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23991 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23992 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23993 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23994 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23995 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23996 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23997 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23998 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23999 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24000 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24001 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24002 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24003 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24004 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24005 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24006 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24007 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24008 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24009 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24010 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24011 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24012 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24013 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24014 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24015 * sysdeps/ieee754/k_standard.c: Likewise.
24016 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24017 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24018 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24019 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24020 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24021 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24022 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24023 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24024 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24025 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24026 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24027 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24028 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24029 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24030 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24031 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24032 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24033 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24034 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24035 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24036 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24037 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24038 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24039 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24040 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24041 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24042 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24043 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24044 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24045 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24046 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24047 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24048 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24049 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24050 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24051 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24052 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24053 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24054 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24055 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24056 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24057 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24058 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24059 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24060 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24061 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24062 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24063 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24064 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24065 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24066 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24067 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24068 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24069 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24070 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24071 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24072 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24073 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24074 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24075 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24076 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24077 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24078 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24079 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24080 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24081 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24082 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24083 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24084 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24085 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24086 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24087 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24088 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24089 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24090 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24091 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24092 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24093 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24094 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24095 * sysdeps/ieee754/s_matherr.c: Likewise.
24096 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24097 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24098 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24099 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24100
965a54a4
JM
241012012-01-26 Joseph Myers <joseph@codesourcery.com>
24102
24103 * crypt/md5.h: Remove __STDC__ conditionals.
24104 * libio/libioP.h: Likewise.
24105 * locale/programs/config.h: Likewise.
24106 * sysdeps/generic/sysdep.h: Likewise.
24107 * sysdeps/i386/asm-syntax.h: Likewise.
24108 * sysdeps/s390/asm-syntax.h: Likewise.
24109 * sysdeps/unix/sysdep.h: Likewise.
24110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24112
7071ad79
JM
241132012-01-26 Joseph Myers <joseph@codesourcery.com>
24114
24115 * libio/libio.h: Remove __STDC__ conditionals.
24116 * malloc/obstack.h: Likewise.
24117 * math/complex.h: Likewise.
24118 * math/math.h: Likewise.
24119 * sysdeps/generic/_G_config.h: Likewise.
24120 * sysdeps/gnu/_G_config.h: Likewise.
24121 * sysdeps/mach/hurd/_G_config.h: Likewise.
24122 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24123 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24124 * sysdeps/sparc/bits/mathdef.h: Likewise.
24125
afc5ed09
UD
241262012-01-26 Ulrich Drepper <drepper@gmail.com>
24127
24128 [BZ #13583]
24129 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24130 Clean up HAS_* macros.
afc5ed09 24131 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24132 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24133 possible.
24134 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24135 HAS_AVX.
24136 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24137 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24138 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24139 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24140 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24141
bdb6de1d
JM
241422012-01-25 Joseph Myers <joseph@codesourcery.com>
24143
24144 * elf/tst-unique3.cc (gets): Remove declaration.
24145 * elf/tst-unique3lib.cc (gets): Likewise.
24146 * elf/tst-unique3lib2.cc (gets): Likewise.
24147 * elf/tst-unique4.cc (gets): Likewise.
24148
b15549e6
UD
241492012-01-24 Ulrich Drepper <drepper@gmail.com>
24150
24151 * include/stdio.h: Add C++ protection. Add gets declarations and
24152 definitions.
24153 * debug/tst-chk1.c: Don't declare gets here.
24154 * stdio-common/tst-gets.c: Likewise.
24155
a037381f
JM
241562012-01-24 Joseph Myers <joseph@codesourcery.com>
24157
24158 * posix/glob: Remove directory.
24159
f1d4aa75
JM
241602012-01-24 Joseph Myers <joseph@codesourcery.com>
24161
24162 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24163
81c0c964
PT
241642012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24165
24166 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24167 of the non-standard EPFNOSUPPORT.
24168
0ea698ae
ST
241692011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24170
24171 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24172 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24173 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24174
d220b117
UD
241752012-01-21 Ulrich Drepper <drepper@gmail.com>
24176
24177 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24178
3e1aa84e
UD
241792012-01-20 Ulrich Drepper <drepper@gmail.com>
24180
24181 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24182 transient errors.
24183 * nscd/grpcache.c (cache_addgr): Likewise.
24184 * nscd/hstcache.c (cache_addhst): Likewise.
24185 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24186 * nscd/pwdcache.c (cache_addpw): Likewise.
24187 * nscd/servicescache.c (cache_addserv): Likewise.
24188
400aa020
UD
241892012-01-16 Ulrich Drepper <drepper@gmail.com>
24190
d77e7869
UD
24191 * malloc/malloc.c: Various cleanups.
24192 * malloc/hooks.c: Likewise.
24193
400aa020
UD
24194 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24195 * stdlib/bug-fmtmsg1.c: New file.
24196
24197 * stdlib/fmtmsg.c (init): Add missing unlock.
24198 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24199
e0a309cf
MP
242002012-01-12 Marek Polacek <polacek@redhat.com>
24201
24202 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24203 and _GNU_SOURCE.
24204
929d11c7
WS
242052012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24206
24207 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24208 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24209 macro to ensure uniqueness of label name.
24210 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24211 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24212
41d0e869
UD
242132012-01-11 Ulrich Drepper <drepper@gmail.com>
24214
0cc5ed3b
UD
24215 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24216
41d0e869
UD
24217 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24218 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24219 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24220 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24221
a47a831a
UD
242222012-01-10 Ulrich Drepper <drepper@gmail.com>
24223
daa891c0
UD
24224 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24225
24226 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24227 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24228 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24229
e58ef0f2
UD
24230 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24231
a47a831a 24232 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
24233 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24234 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 24235 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
24236
24237 * math/bits/math-finite.h: Add ldexp support.
24238
a0bfc9c7
MP
242392012-01-10 Marek Polacek <polacek@redhat.com>
24240
24241 * locale/programs/localedef.h (show_archive_content): Add noreturn
24242 attribute.
24243
d6e97a1d
UD
242442012-01-09 Ulrich Drepper <drepper@gmail.com>
24245
24246 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24247
d5835c26
UD
242482012-01-08 Ulrich Drepper <drepper@gmail.com>
24249
e5f484c6
UD
24250 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24251
d5835c26
UD
24252 * io/Makefile (headers): Add bits/poll2.h.
24253
d1f741e9
WS
242542011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24255
24256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24257 typo #include statement.
24258
ec09c1c4
UD
242592012-01-08 Ulrich Drepper <drepper@gmail.com>
24260
24261 * include/sys/cdefs.h: Define __attribute_alloc_size.
24262 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24263 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24264 * elf/pldd.c: Likewise.
24265 * iconv/iconv_charmap.c: Likewise.
24266 * iconv/iconvconfig.c: Likewise.
24267 * iconv/strtab.c: Likewise.
24268 * locale/programs/locale.c: Likewise.
24269 * locale/programs/localedef.h: Likewise.
24270 * locale/programs/simple-hash.c: Likewise.
24271 * nscd/nscd.h: Likewise.
24272 * nss/makedb.c: Likewise.
24273 * sysdeps/generic/ldconfig.h: Likewise.
24274 * locale/programs/localedef.c: Remove xmalloc prototype.
24275 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24276
20b38e03
PP
242772012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24278
24279 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24280 appropriate.
24281
a0da5fe1
UD
242822012-01-08 Ulrich Drepper <drepper@gmail.com>
24283
1d5a644a 24284 * math/Makefile (tests): Add tst-CMPLX.
669704fd 24285 * math/tst-CMPLX.c: New file.
1d5a644a 24286
8784a6db
UD
24287 * math/complex.h (CMPLXL): Fix typo.
24288
d9a216c0
UD
24289 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24290 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24291 GLIBC_2.16.
24292 * debug/tst-chk1.c: Add poll and ppoll tests.
24293 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24294 * include/sys/poll.h: Add hidden proto for ppoll.
24295 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24296 * sysdeps/mach/hurd/ppoll.c: Likewise.
24297 * io/ppoll.c: Likewise.
24298 * debug/poll_chk.c: New file.
24299 * debug/ppoll_chk.c: New file.
24300 * include/bits/poll2.h: New file.
24301 * io/bits/poll2.h: New file.
24302
ac097f5c
UD
24303 [BZ #1350]
24304 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24305
2119dcfa
UD
24306 * configure.in: static is always set to yes. Remove.
24307 * config.make.in: Don't set build-static.
24308 * Makeconfig: Remove use of build-static.
24309 * dlfcn/Makefile: Likewise.
24310 * elf/Makefile: Likewise.
24311 * math/Makefile: Likewise.
24312 * misc/Makefile: Likewise.
24313 * nptl/Makefile: Likewise.
24314 * sysdeps/mach/hurd/Makefile: Likewise.
24315
121766a9
UD
24316 * configure.in: PWD_P is not used anymore.
24317 * config.make.in: Remove PWD_P entry.
24318
51a1d39c 24319 * configure.in: Remove last remnants of RANLIB.
8720d066 24320 No need to check for signed size_t anymore.
215f4bdc
UD
24321 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24322 and IA-64.
3857022a 24323 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
24324 * aclocal.m4: Likewise.
24325
d3ed7225
UD
24326 * wcsmbs/mbrtoc16.c: Implement using towc function.
24327 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24328 * wcsmbs/wcsmbsload.c: Likewise.
24329 * iconv/gconv_simple.c: Likewise.
24330 * iconv/gconv_int.h: Likewise.
24331 * iconv/gconv_builtin.h: Likewise.
24332 * iconv/iconv_prog.c: Remove CHAR16 handling.
24333
24334 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24335
24336 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24337
a0da5fe1
UD
24338 * configure.in: Remove --with-elf and --enable-bounded options.
24339 Dont set base_machine for ia64. More non-ELF conditions removed.
24340 Remove testing and setting of leading underscore information.
24341 * config.make.in (build-bounded): Set to no.
24342 * config.h.in: Remove NO_UNDERSCORES entry.
24343 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24344 them.
24345 * csu/start.c: Remove !NO_UNDERSCORE code.
24346 * locale/localeinfo.h: Likewise.
24347 * sysdeps/generic/machine-gmon.h: Likewise.
24348 * sysdeps/generic/sysdep.h: Likewise.
24349 * sysdeps/i386/sysdep.h: Likewise.
24350 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24351 * sysdeps/mach/sysdep.h: Likewise.
24352 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24353 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24354 * sysdeps/sh/sysdep.h: Likewise.
24355 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24356 * sysdeps/unix/i386/sysdep.S: Likewise.
24357 * sysdeps/unix/sparc/start.c: Likewise.
24358 * sysdeps/unix/sparc/sysdep.S: Likewise.
24359 * sysdeps/unix/sparc/sysdep.h: Likewise.
24360 * sysdeps/unix/start.c: Likewise.
24361 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24362 * sysdeps/x86_64/sysdep.h: Likewise.
24363
df78418a
UD
243642012-01-07 Ulrich Drepper <drepper@gmail.com>
24365
a784e502
UD
24366 [BZ #13553]
24367 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24368 for non-gcc.
24369 * argp/argp-fmtstream.h: Use const instead __const.
24370 * argp/argp.h: Likewise.
24371 * assert/assert.h: Likewise.
24372 * bits/fenv.h: Likewise.
24373 * bits/sched.h: Likewise.
24374 * bits/sigset.h: Likewise.
24375 * bits/sigthread.h: Likewise.
24376 * catgets/nl_types.h: Likewise.
24377 * conform/data/pthread.h-data: Likewise.
24378 * crypt/crypt-private.h: Likewise.
24379 * crypt/crypt.h: Likewise.
24380 * crypt/crypt_util.c: Likewise.
24381 * ctype/ctype.h: Likewise.
24382 * debug/execinfo.h: Likewise.
24383 * debug/mbsnrtowcs_chk.c: Likewise.
24384 * debug/mbsrtowcs_chk.c: Likewise.
24385 * debug/wcsnrtombs_chk.c: Likewise.
24386 * debug/wcsrtombs_chk.c: Likewise.
24387 * debug/wcstombs_chk.c: Likewise.
24388 * dirent/dirent.h: Likewise.
24389 * dlfcn/dlfcn.h: Likewise.
24390 * elf/neededtest4.c: Likewise.
24391 * grp/grp.h: Likewise.
24392 * gshadow/gshadow.h: Likewise.
24393 * iconv/gconv.h: Likewise.
24394 * iconv/gconv_int.h: Likewise.
24395 * iconv/gconv_simple.c: Likewise.
24396 * iconv/iconv.h: Likewise.
24397 * iconv/loop.c: Likewise.
24398 * iconv/skeleton.c: Likewise.
24399 * include/aio.h: Likewise.
24400 * include/aliases.h: Likewise.
24401 * include/argz.h: Likewise.
24402 * include/arpa/inet.h: Likewise.
24403 * include/assert.h: Likewise.
24404 * include/dirent.h: Likewise.
24405 * include/dlfcn.h: Likewise.
24406 * include/execinfo.h: Likewise.
24407 * include/fcntl.h: Likewise.
24408 * include/fenv.h: Likewise.
24409 * include/glob.h: Likewise.
24410 * include/grp.h: Likewise.
24411 * include/libintl.h: Likewise.
24412 * include/mntent.h: Likewise.
24413 * include/netdb.h: Likewise.
24414 * include/pwd.h: Likewise.
24415 * include/rpc/netdb.h: Likewise.
24416 * include/sched.h: Likewise.
24417 * include/search.h: Likewise.
24418 * include/shadow.h: Likewise.
24419 * include/signal.h: Likewise.
24420 * include/stdio.h: Likewise.
24421 * include/stdlib.h: Likewise.
24422 * include/string.h: Likewise.
24423 * include/sys/socket.h: Likewise.
24424 * include/sys/stat.h: Likewise.
24425 * include/sys/statfs.h: Likewise.
24426 * include/sys/statvfs.h: Likewise.
24427 * include/sys/syslog.h: Likewise.
24428 * include/sys/time.h: Likewise.
24429 * include/sys/uio.h: Likewise.
24430 * include/time.h: Likewise.
24431 * include/unistd.h: Likewise.
24432 * include/utmp.h: Likewise.
24433 * include/wchar.h: Likewise.
24434 * include/wctype.h: Likewise.
24435 * inet/aliases.h: Likewise.
24436 * inet/arpa/inet.h: Likewise.
24437 * inet/netinet/ether.h: Likewise.
24438 * inet/netinet/in.h: Likewise.
24439 * intl/libintl.h: Likewise.
24440 * io/bits/fcntl2.h: Likewise.
24441 * io/fcntl.h: Likewise.
24442 * io/ftw.h: Likewise.
24443 * io/sys/poll.h: Likewise.
24444 * io/sys/stat.h: Likewise.
24445 * io/sys/statfs.h: Likewise.
24446 * io/sys/statvfs.h: Likewise.
24447 * io/utime.h: Likewise.
24448 * libio/bits/stdio.h: Likewise.
24449 * libio/bits/stdio2.h: Likewise.
24450 * libio/libio.h: Likewise.
24451 * libio/libioP.h: Likewise.
24452 * libio/stdio.h: Likewise.
24453 * locale/lc-ctype.c: Likewise.
24454 * locale/locale.h: Likewise.
24455 * login/utmp.h: Likewise.
24456 * malloc/arena.c: Likewise.
24457 * malloc/malloc.c: Likewise.
24458 * malloc/malloc.h: Likewise.
24459 * malloc/mcheck.c: Likewise.
24460 * malloc/mtrace.c: Likewise.
24461 * math/bits/mathcalls.h: Likewise.
24462 * math/fenv.h: Likewise.
24463 * math/math_private.h: Likewise.
24464 * misc/bits/error.h: Likewise.
24465 * misc/bits/syslog.h: Likewise.
24466 * misc/err.h: Likewise.
24467 * misc/error.h: Likewise.
24468 * misc/fstab.h: Likewise.
24469 * misc/mntent.h: Likewise.
24470 * misc/regexp.h: Likewise.
24471 * misc/search.h: Likewise.
24472 * misc/sgtty.h: Likewise.
24473 * misc/sys/mman.h: Likewise.
24474 * misc/sys/syslog.h: Likewise.
24475 * misc/sys/uio.h: Likewise.
24476 * misc/sys/xattr.h: Likewise.
24477 * misc/ttyent.h: Likewise.
24478 * nis/rpcsvc/ypclnt.h: Likewise.
24479 * nss/nss.h: Likewise.
24480 * posix/bits/unistd.h: Likewise.
24481 * posix/fnmatch.h: Likewise.
24482 * posix/glob.h: Likewise.
24483 * posix/sched.h: Likewise.
24484 * posix/spawn.h: Likewise.
24485 * posix/sys/wait.h: Likewise.
24486 * posix/unistd.h: Likewise.
24487 * posix/wordexp.h: Likewise.
24488 * pwd/pwd.h: Likewise.
24489 * resolv/netdb.h: Likewise.
24490 * resource/sys/resource.h: Likewise.
24491 * rt/aio.h: Likewise.
24492 * rt/bits/mqueue2.h: Likewise.
24493 * rt/mqueue.h: Likewise.
24494 * shadow/shadow.h: Likewise.
24495 * signal/signal.h: Likewise.
24496 * socket/send.c: Likewise.
24497 * socket/sendto.c: Likewise.
24498 * socket/sys/socket.h: Likewise.
24499 * stdio-common/printf.h: Likewise.
24500 * stdlib/bits/stdlib.h: Likewise.
24501 * stdlib/fmtmsg.h: Likewise.
24502 * stdlib/monetary.h: Likewise.
24503 * stdlib/stdlib.h: Likewise.
24504 * stdlib/ucontext.h: Likewise.
24505 * streams/stropts.h: Likewise.
24506 * string/argz.h: Likewise.
24507 * string/bits/string2.h: Likewise.
24508 * string/string.h: Likewise.
24509 * string/strings.h: Likewise.
24510 * sunrpc/rpc/auth.h: Likewise.
24511 * sunrpc/rpc/auth_des.h: Likewise.
24512 * sunrpc/rpc/clnt.h: Likewise.
24513 * sunrpc/rpc/netdb.h: Likewise.
24514 * sunrpc/rpc/pmap_clnt.h: Likewise.
24515 * sunrpc/rpc/xdr.h: Likewise.
24516 * sysdeps/generic/inttypes.h: Likewise.
24517 * sysdeps/generic/net/if.h: Likewise.
24518 * sysdeps/generic/sys/swap.h: Likewise.
24519 * sysdeps/gnu/net/if.h: Likewise.
24520 * sysdeps/gnu/utmpx.h: Likewise.
24521 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24522 * sysdeps/i386/i486/bits/string.h: Likewise.
24523 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24524 * sysdeps/s390/bits/string.h: Likewise.
24525 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24526 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24527 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24528 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24529 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24530 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24531 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24532 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24533 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24534 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24535 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24536 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24537 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24538 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24539 * sysdeps/unix/sysv/linux/readv.c: Likewise.
24540 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24541 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24542 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24543 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24544 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24545 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24546 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24547 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24548 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24549 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24550 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24551 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24552 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24553 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24554 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24555 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24556 * sysvipc/sys/ipc.h: Likewise.
24557 * sysvipc/sys/msg.h: Likewise.
24558 * sysvipc/sys/sem.h: Likewise.
24559 * sysvipc/sys/shm.h: Likewise.
24560 * termios/termios.h: Likewise.
24561 * time/sys/time.h: Likewise.
24562 * time/time.h: Likewise.
24563 * wcsmbs/bits/wchar2.h: Likewise.
24564 * wcsmbs/uchar.h: Likewise.
24565 * wcsmbs/wchar.h: Likewise.
24566 * wctype/wctype.h: Likewise.
24567
0269750c
UD
24568 [BZ #13551]
24569 * Makeconfig: Remove all but ELF support including AIX support.
24570 * Makerules: Likewise.
24571 * config.h.in: Likewise.
24572 * config.make.in: Likewise.
24573 * configure: Likewise.
24574 * configure.in: Likewise.
24575 * csu/Makefile: Likewise.
24576 * csu/version.c: Likewise.
24577 * debug/Makefile: Likewise.
24578 * dlfcn/Makefile: Likewise.
24579 * elf/Makefile: Likewise.
24580 * extra-lib.mk: Likewise.
24581 * iconv/Makefile: Likewise.
24582 * include/libc-symbols.h: Likewise.
24583 * include/shlib-compat.h: Likewise.
24584 * resolv/Makefile: Likewise.
24585 * resolv/res_libc.c: Likewise.
24586 * rt/Makefile: Likewise.
24587 * sysdeps/i386/asm-syntax.h: Likewise.
24588 * sysdeps/i386/sysdep.h: Likewise.
24589 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24590 * sysdeps/mach/sysdep.h: Likewise.
24591 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24592 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24593 * sysdeps/s390/asm-syntax.h: Likewise.
24594 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24595 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24596 * sysdeps/sh/sysdep.h: Likewise.
24597 * sysdeps/unix/sparc/sysdep.h: Likewise.
24598 * sysdeps/wordsize-32/divdi3.c: Likewise.
24599 * sysdeps/x86_64/sysdep.h: Likewise.
24600
00bbd29b
UD
24601 * argp/Versions: Remove _argp_unlock_xxx.
24602
24603 [BZ #13559]
24604 * abilist/ld.abilist: Update. Adjust for removal of tls option.
24605 * abilist/libBrokenLocale.abilist: Likewise.
24606 * abilist/libanl.abilist: Likewise.
24607 * abilist/libc.abilist: Likewise.
24608 * abilist/libcrypt.abilist: Likewise.
24609 * abilist/libdl.abilist: Likewise.
24610 * abilist/libm.abilist: Likewise.
24611 * abilist/libnsl.abilist: Likewise.
24612 * abilist/libpthread.abilist: Likewise.
24613 * abilist/libresolv.abilist: Likewise.
24614 * abilist/librt.abilist: Likewise.
24615 * abilist/libthread_db.abilist: Likewise.
24616 * abilist/libutil.abilist: Likewise.
24617 * abilist/libnss_db.abilist: New file.
24618
24619 * scripts/abilist.awk: Add support for indirect functions.
24620
a2693a0e
UD
24621 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24622
3f05895f
UD
24623 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24624
ecb6fb48
UD
24625 * shlib-versions: Remove entries for ports architectures.
24626
664f8cb9
UD
24627 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
24628 files in ports.
24629 * elf/stackguard-macros.h: Remove support for IA-64.
24630 * elf/tst-auditmod1.c: Likewise.
24631 * sysdeps/generic/ldsodefs.h: Likewise.
24632
7ae81d88
UD
24633 * sysdeps/unix/sysv/linux/configure.in: Ports should define
24634 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24635 configure files.
24636
bdeba135
UD
24637 [BZ #13552]
24638 * configure.in: Remove --enable-omitfp support.
24639 * FAQ.in: Adjust.
24640 * config.make.in: Likewise.
24641 * Makeconfig: Likewise.
24642 * manual/install.texi: Likewise.
24643
d75a0a62
UD
24644 In case anyone cares, the IA-64 architecture could move to ports.
24645 * sysdeps/ia64/*: Removed.
24646 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 24647 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 24648
dcc9756b
UD
24649 [BZ #13555]
24650 * configure.in: Remove entries for unsupported architectures.
24651
d3761ebc 24652 [BZ #13533]
9954432e
UD
24653 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24654 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
24655 routines.
24656 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24657 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24658 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
24659 fall back to using wcrtomb.
24660 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24661 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
24662 renaming.
24663 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24664 * wcsmbs/tst-c16c32-1.c: New file.
24665
24666 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24667 local variable.
24668
c3a87236
UD
24669 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24670
28926a1b
UD
24671 * elf/tst-unique3.cc: Add explicit declaration of gets.
24672 * elf/tst-unique3lib.cc: Likewise.
24673 * elf/tst-unique3lib2.cc: Likewise.
24674 * elf/tst-unique4.cc: Likewise.
24675
df78418a
UD
24676 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24677
8ecd6b2a
JM
246782012-01-06 Joseph Myers <joseph@codesourcery.com>
24679
24680 [BZ #13566]
24681 * assert/assert.h (static_assert): Don't define for C++.
24682 * libio/stdio.h (gets): Do declare for C++ <= C++11.
24683 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24684
9f115170
UD
246852012-01-03 Ulrich Drepper <drepper@gmail.com>
24686
5e0d0300
UD
24687 * iconv/loop.c (single loop): Fix assertion in storing of
24688 remaining bytes.
24689
9f115170
UD
24690 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24691
81fb02b0
UD
246922012-01-01 Ulrich Drepper <drepper@gmail.com>
24693
24694 * posix/getconf.c: Update copyright year.
24695 * nss/getent.c: Likewise.
a316c1f6 24696 * nss/makedb.c: Likewise.
81fb02b0
UD
24697 * iconv/iconvconfig.c: Likewise.
24698 * iconv/iconv_prog.c: Likewise.
24699 * elf/ldconfig.c: Likewise.
a316c1f6
UD
24700 * elf/pldd.c: Likewise.
24701 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
24702 * catgets/gencat.c: Likewise.
24703 * csu/version.c: Likewise.
24704 * elf/ldd.bash.in: Likewise.
24705 * elf/sprof.c (print_version): Likewise.
24706 * locale/programs/locale.c: Likewise.
24707 * locale/programs/localedef.c: Likewise.
a316c1f6 24708 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
24709 * nscd/nscd.c (print_version): Likewise.
24710 * debug/xtrace.sh: Likewise.
24711 * malloc/memusage.sh: Likewise.
24712 * malloc/mtrace.pl: Likewise.
24713 * debug/catchsegv.sh: Likewise.
24714
2ba92745
JJ
247152011-12-30 Jakub Jelinek <jakub@redhat.com>
24716
24717 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24718 pure attribute.
24719
dadebdae
UD
247202011-12-24 Ulrich Drepper <drepper@gmail.com>
24721
d3761ebc 24722 [BZ #13533]
db6af3eb
UD
24723 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24724 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24725 transformations.
24726 * iconv/gconv_int.h: Likewise.
24727 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24728 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24729 from libc for GLIBC_2.16.
24730 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24731 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
24732 * wcsmbs/uchar.h: Really define mbstate_t.
24733 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
24734 * wcsmbs/c16rtomb.c: New file.
24735 * wcsmbs/mbrtoc16.c: New file.
24736 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
24737 for C/POSIX locale.
24738 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
24739 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
24740
dadebdae
UD
24741 * wcsmbs/wchar.h: Add missing __restrict.
24742
67371b56
UD
247432011-12-23 Ulrich Drepper <drepper@gmail.com>
24744
74033a25
UD
24745 [BZ #13532]
24746 * time/Makefile (routines): Add timespec_get.
24747 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
24748 * time/time.h: Define TIME_UTC and declare timespec_get. Define
24749 timespec for ISO C11.
24750 * time/timespec_get.c: New file.
24751 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
24752 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
24753
380d7e87
UD
24754 [BZ #13531]
24755 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
24756 * stdlib/stdlib.h: Declare aligned_alloc.
24757 * Versions.def: Add GLIBC_2.16 for libc.
24758 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
24759
4e9e7a35
UD
24760 [BZ 13527]
24761 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
24762 ISO C11.
24763
380d7e87 24764 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
24765 code.
24766
03a71829
UD
24767 [BZ #13528]
24768 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
24769
839e283e
UD
24770 [BZ #13529]
24771 * assert/assert.h (static_assert): Define.
24772
ce5294e2 24773 * version.h: Update for 2.16 development version.
90fa7312 24774
8d44e150 24775 [BZ #13526]
d7809905
UD
24776 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
24777 _ISOC11_SOURCE.
24778
c0da14cd
UD
24779 * version.h (RELEASE): Bump for 2.15 release.
24780 * include/features.h (__GLIBC_MINOR__): Bump to 15.
24781
530a3249
MP
24782 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
24783 Patch by Marek Polacek <mpolacek@redhat.com>.
24784
67371b56
UD
24785 * bits/byteswap.h: Protect long long constants with __extension__.
24786 * sysdeps/i386/bits/byteswap.h: Likewise.
24787 * sysdeps/ia64/bits/byteswap.h: Likewise.
24788 * sysdeps/s390/bits/byteswap.h: Likewise.
24789 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24790
15db4de1
LD
247912011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24792
24793 [BZ #13540]
bbe315ea
LD
24794 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
24795 destination buffer.
15db4de1
LD
24796 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24797
2b2596b1
MP
247982011-12-23 Marek Polacek <polacek@redhat.com>
24799
24800 * elf/dl-addr.c (determine_info): Add inline keyword.
24801 * elf/tst-auditmod4b.c (check_avx): Likewise.
24802 * elf/tst-auditmod6b.c (check_avx): Likewise.
24803 * elf/tst-auditmod6c.c (check_avx): Likewise.
24804 * elf/tst-auditmod7b.c (check_avx): Likewise.
24805
70c6c246
UD
248062011-12-23 Ulrich Drepper <drepper@gmail.com>
24807
24808 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
24809 !__SSE_MATH__.
24810
c044cf14
LD
248112011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24812
15db4de1 24813 [BZ #13540]
c044cf14
LD
24814 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
24815 processing for last bytes.
24816
6b13d9d9
BH
248172011-08-06 Bruno Haible <bruno@clisp.org>
24818
d455f537
BH
24819 [BZ #13061]
24820 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
24821 U+0385, not to U+1FEE.
24822
6b13d9d9
BH
24823 [BZ #13062]
24824 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
24825 entry for U+00A5 U+0301.
24826
db910efd
UD
248272011-12-22 Ulrich Drepper <drepper@gmail.com>
24828
27deeafc
UD
24829 [BZ #13166]
24830 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
24831 buffer for the output is too small.
24832
aed9d171
UD
24833 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
24834 optimization.
24835
db910efd
UD
24836 [BZ #13185]
24837 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
24838 SSE flags if possible.
24839
2bd779ae
LD
248402011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24841
e7f9dac3 24842 [BZ #13540]
2bd779ae
LD
24843 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
24844 processing for last bytes.
24845
154bfc16
JM
248462011-12-22 Joseph Myers <joseph@codesourcery.com>
24847
24848 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
24849 (syscall-list-default-options, syscall-list-default-condition)
24850 (syscall-list-includes): Define.
24851 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
24852 list of ABIs and options and #if conditions for each ABI. Do not
24853 handle common syscalls between ABIs specially.
24854 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
24855 Remove.
24856 (syscall-list-variants, syscall-list-32bit-options)
24857 (syscall-list-32bit-condition, syscall-list-64bit-options)
24858 (syscall-list-64bit-condition): Define.
24859 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
24860 (syscall-list-variants, syscall-list-32bit-options)
24861 (syscall-list-32bit-condition, syscall-list-64bit-options)
24862 (syscall-list-64bit-condition): Define.
24863 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
24864 Remove.
24865 (syscall-list-variants, syscall-list-32bit-options)
24866 (syscall-list-32bit-condition, syscall-list-64bit-options)
24867 (syscall-list-64bit-condition): Define.
24868 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
24869 Remove.
24870 (syscall-list-variants, syscall-list-32bit-options)
24871 (syscall-list-32bit-condition, syscall-list-64bit-options)
24872 (syscall-list-64bit-condition): Define.
24873
21eaf3a5
UD
248742011-12-22 Ulrich Drepper <drepper@gmail.com>
24875
16c6f992
UD
24876 * locale/iso-639.def: Add brx entry.
24877
41043168
UD
24878 [BZ #13328]
24879 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
24880 Proposed by Mariusz_Cukr <marcukr@op.pl>.
24881
21eaf3a5
UD
24882 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
24883 __feraiseexcept_renamed.
24884
e3a851a2
UD
248852011-12-21 Ulrich Drepper <drepper@gmail.com>
24886
4920765e
UD
24887 [BZ #13538]
24888 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
24889 EPOLLET with unsigned values.
24890 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24891 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24892
e3a851a2
UD
24893 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
24894 to large cancellation.
24895 * math/s_cacoshf.c: Likewise.
24896 * math/s_cacoshl.c: Likewise.
24897
b27e24b8
RK
248982011-11-18 Richard B. Kreckel <kreckel@ginac.de>
24899
24900 [BZ #13305]
aebefeee 24901 [BZ #12786]
b27e24b8
RK
24902 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
24903 * math/s_cacoshf.c: Likewise.
24904 * math/s_cacoshl.c: Likewise.
24905
ee190f67
UD
249062011-12-21 Ulrich Drepper <drepper@gmail.com>
24907
24908 [BZ #13439]
24909 * iconv/gconv.h: Define __GCONV_SWAP.
24910 * iconvdata/unicode.c: The swap bit must be stored in __flags.
24911 * iconvdata/utf-16.c: Likewise.
24912 * iconvdata/utf-32.c: Likewise.
24913
707f25df
AS
249142011-12-21 Andreas Schwab <schwab@linux-m68k.org>
24915
24916 [BZ #13524]
24917 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
24918 numerator after shifting it by one limb.
24919
d2daaa1e
RÁE
249202011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
24921
24922 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
24923 under [__USE_EXTERN_INLINES].
24924
a4647e72
UD
249252011-12-17 Ulrich Drepper <drepper@gmail.com>
24926
24927 [BZ #13446]
24928 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
24929
f0b264f1
AZ
249302011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24931
24932 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
24933 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
24934 optimized code.
24935 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
24936 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
24937 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
24938 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
24939 for strncasecmp/strncasecmp_l compilation.
24940 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
24941 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
24942
8ef4f244
MP
249432011-12-08 Marek Polacek <mpolacek@redhat.com>
24944
24945 [BZ #13484]
24946 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
24947 of __asm__.
24948
97ac2654
UD
249492011-12-17 Ulrich Drepper <drepper@gmail.com>
24950
24951 [BZ #13506]
24952 * time/tzfile.c (__tzfile_read): Check values from file header.
24953
91d2a845
WS
249542011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24955
24956 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
24957 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
24958 * powerpc/powerpc32/dl-start.S: Likewise.
24959 * powerpc/powerpc32/elf/start.S: Likewise.
24960 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24961 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
24962 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
24963 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
24964 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24965 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
24966 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
24967 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24968 * powerpc/powerpc32/fpu/s_round.S: Likewise.
24969 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24970 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24971 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24972 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24973 * powerpc/powerpc32/memset.S: Likewise.
24974 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24975 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24976 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24977 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24978 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24979 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24980 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24981 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24982 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
24983 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
24984 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
24985 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24986 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24987
a1267ba1
AZ
249882011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24989
24990 * math/libm-test.inc: Added more nearbyint tests.
24991 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
24992 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
24993 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
24994 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
24995
ad8ac1bd
RL
249962011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
24997
24998 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
24999 FD_CLOEXEC.
25000
1d3e4b61
UD
250012011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25002
25003 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25004 Add wcscpy-ssse3 wcscpy-c.
25005 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25006 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25007 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25008 * sysdeps/x86_64/wcschr.S: New file.
25009 * sysdeps/x86_64/wcsrchr.S: New file.
25010 * string/test-strcmp.c: Remove checking of wcscmp function for
25011 wrong alignments.
25012 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25013 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25014 wcsrchr-sse2 wcsrchr-c.
25015 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25016 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25017 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25018 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25019 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25020 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25021 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25022 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25023 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25024 * wcsmbc/wcschr.c (WCSCHR): New macro.
25025
5b330a2d
UD
250262011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25027
25028 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25029 * wcsmbs/test-wcsrchr.c: New file.
25030 * string/test-strrchr.c: Add wcsrchr support.
25031 (WIDE): New macro.
25032 * wcsmbs/test-wcscpy.c: New file.
25033 * string/test-strcpy.c: Add wcscpy support.
25034 (WIDE): New macro.
26428b7c 25035
f039c043
UD
250362011-12-10 Ulrich Drepper <drepper@gmail.com>
25037
25038 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25039 the inner loop.
25040
850fb039
AS
250412011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25042
25043 [BZ #13472]
25044 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25045
4efbd5cb
UD
250462011-12-04 Ulrich Drepper <drepper@gmail.com>
25047
52ff5dd0 25048 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25049 Minor optimizations.
52ff5dd0 25050
4efbd5cb
UD
25051 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25052 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25053 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25054
8a426e12
UD
250552011-12-03 Ulrich Drepper <drepper@gmail.com>
25056
aff2453d
UD
25057 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25058 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25059 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25060 for gcc to avoid warnings.
25061 * inet/Makefile (tests): Add tst-checks.
25062 * inet/tst-checks.c: New file.
25063
25064 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25065 warning.
25066
25067 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25068 __wmemcmp_sse2.
25069
25070 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25071 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25072
8a426e12
UD
25073 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25074
9bea3473
UD
250752011-12-02 Ulrich Drepper <drepper@gmail.com>
25076
3a965496
UD
25077 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25078 problem.
25079
9bea3473
UD
25080 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25081
f101631b
UD
250822011-11-29 Joseph Myers <joseph@codesourcery.com>
25083
25084 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25085 conditional on GCC version.
25086 (__arch_compare_and_exchange_val_8_acq)
25087 (__arch_compare_and_exchange_val_16_acq)
25088 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25089 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25090 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25091
a98275aa
UD
250922011-12-02 Joseph Myers <joseph@codesourcery.com>
25093
25094 * sysdeps/sh/backtrace.c: New file.
25095
d4cc29a2
AS
250962011-12-02 Andreas Schwab <schwab@redhat.com>
25097
25098 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25099 parenthesis.
25100
6257af2d
AS
251012011-12-01 Andreas Schwab <schwab@redhat.com>
25102
25103 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25104 falling back to utime.
25105
b5f44c1a
AS
251062011-11-30 Andreas Schwab <schwab@redhat.com>
25107
25108 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25109 expectations for float.
25110
f3a6cc0a
AS
251112011-11-29 Andreas Schwab <schwab@redhat.com>
25112
25113 * locale/weight.h (findidx): Add parameter len.
25114 * locale/weightwc.h (findidx): Likewise.
25115 * posix/fnmatch_loop.c (FCT): Adjust caller.
25116 * posix/regcomp.c (build_equiv_class): Likewise.
25117 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25118 * posix/regexec.c (check_node_accept_bytes): Likewise.
25119 * string/strcoll_l.c (STRCOLL): Likewise.
25120 * string/strxfrm_l.c (STRXFRM): Likewise.
25121
9d65ea3a
UD
251222011-11-17 Ulrich Drepper <drepper@gmail.com>
25123
25124 * Makefile.in: Remove CVSOPT handling.
25125 * configure.in: Remove use of AC_REVISION.
25126 * iconvdata/Makefile (distribute): No need to filter out CVS.
25127 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25128 handling.
25129
5583a086
AS
251302011-11-16 Andreas Schwab <schwab@redhat.com>
25131
25132 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25133 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25134 [USE_AS_STRNCASECMP_L]: Likewise.
25135 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25136 NO_TLS_DIRECT_SEG_REFS.
25137 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25138 Fix argument offsets for non-PIC.
25139 [USE_AS_STRNCASECMP_L]: Likewise.
25140 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25141 NO_TLS_DIRECT_SEG_REFS.
25142
d62a8200
UD
251432011-11-15 Ulrich Drepper <drepper@gmail.com>
25144
9d65ea3a 25145 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25146 O_CLOEXEC.
25147 * locale/loadlocale.c (_nl_load_locale): Likewise.
25148
09f93bd3
AS
251492011-11-15 Andreas Schwab <schwab@redhat.com>
25150
446514f9
AS
25151 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25152 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25153 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25154 (SYSCALL_GETTIME): Set errno on error.
25155
09f93bd3
AS
25156 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25157 count references to noai6ai_cached.
25158
312be3f9
UD
251592011-11-15 Ulrich Drepper <drepper@gmail.com>
25160
25161 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25162
25163 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25164 FD_CLOEXEC for /proc/self/maps.
25165
25166 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25167 FD_CLOEXEC for /proc/meminfo.
25168
25169 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25170 gai.conf.
25171
25172 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25173 FD_CLOEXEC for given file.
25174
25175 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25176
25177 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25178 FD_CLOEXEC for /etc/hosts.
25179 (_gethtent): Likewise.
25180
25181 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25182
25183 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25184 cancellation and set FD_CLOEXEC for /etc/netgroup.
25185
25186 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25187 reading /etc/publickey.
25188
25189 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25190 allow cancellation when reading /etc/group.
25191
25192 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25193 cancellation.
25194 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25195
25196 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25197 when using data file.
25198
25199 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25200
25201 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25202 (write_nis_obj): Use "c" and "e" in fopen.
25203
25204 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25205
25206 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25207
25208 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25209
25210 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25211
25212 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25213 locale.alias.
25214
25215 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25216
25217 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25218
25219 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25220
25221 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25222 file parsing and set FD_CLOEXEC.
25223
82af0fa8
UD
252242011-11-14 Ulrich Drepper <drepper@gmail.com>
25225
25226 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25227
a5fb313c
AS
252282011-11-14 Andreas Schwab <schwab@redhat.com>
25229
25230 * malloc/arena.c (arena_get2): Don't call reused_arena when
25231 _int_new_arena failed.
25232
6abf3465
UD
252332011-11-14 Ulrich Drepper <drepper@gmail.com>
25234
25235 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25236 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25237 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25238 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25239 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25240 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25241 to compile strcasecmp and strncasecmp.
25242 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25243 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25244
25245 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25246
76e3966e
UD
252472011-11-13 Ulrich Drepper <drepper@gmail.com>
25248
25249 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25250 locale-defines.sym to gen-as-const-headers.
25251 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25252 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25253 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25254 to compile strcasecmp and strncasecmp.
25255 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25256 strcasecmp_l and strncasecmp_l.
25257 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25258 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25259 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25260 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25261 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25262 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25263 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25264 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25265 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25266 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25267 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25268
ab26144e
UD
252692011-11-12 Ulrich Drepper <drepper@gmail.com>
25270
7edb22ef
UD
25271 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25272 result of SYSDEP_GETTIME_CPU to retval.
25273 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25274 parameter list to macro. Remove trailing semicolon. Adjust users.
25275
9694fc44
UD
25276 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25277 variable.
25278
8ad89ef8
UD
25279 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25280 mantissa words.
25281 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25282
0c822ef9
UD
25283 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25284 from unused variable.
25285
874e0564
UD
25286 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25287 DWARF definitions.
25288 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25289 for assembling.
25290
3a2edc79
UD
25291 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25292 over namespaces.
25293
f3c2577f
UD
25294 * sunrpc/rpc_prot.c (rejected): Fix case value.
25295
294ce126
UD
25296 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25297 unsigned long long int to avoid warnings in shift.
25298
5e2b63c6
UD
25299 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25300 of use of trans.
25301 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25302 variable tmp.
25303
e7f4b08e
UD
25304 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25305 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25306 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25307
ab26144e
UD
25308 * nis/nis_table.c (nis_list): Use variable of correct type for
25309 result of __follow_path call.
25310
8a6d5255
AZ
253112011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25312
25313 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25314 of math functions ceil, trunc, floor, round, and sqrt, when
25315 avaliable on the platform.
25316 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25317 name clash.
25318 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25319 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25320 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25321
aaddc98c
MP
253222011-10-30 Marek Polacek <mpolacek@redhat.com>
25323
25324 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25325 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25326
95b7042b
RM
253272011-11-11 Roland McGrath <roland@hack.frob.com>
25328
25329 * include/unistd.h: Fix __readlink return type.
25330 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25331
57769839
UD
253322011-11-11 Ulrich Drepper <drepper@gmail.com>
25333
25334 * stdlib/ucontext.h: Undo last change for makecontext.
25335
edc5984d
AS
253362011-11-11 Andreas Schwab <schwab@redhat.com>
25337
98591e58
AS
25338 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25339
edc5984d
AS
25340 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25341 * setjmp/setjmp.h: Mark functions as non-leaf.
25342 * setjmp/bits/setjmp2.h: Likewise.
25343 * stdlib/ucontext.h: Likewise.
25344
77cdc054
AS
253452011-11-10 Andreas Schwab <schwab@redhat.com>
25346
25347 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25348 (reused_arena): Don't check arena limit.
25349 (arena_get2): Atomically check arena limit.
25350
fe72eebd
UD
253512011-11-08 Ulrich Drepper <drepper@gmail.com>
25352
5f078c32
UD
25353 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25354 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25355
fe72eebd
UD
25356 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25357 instructions.
25358
ae1bc2fa
AS
253592011-11-07 Andreas Schwab <schwab@redhat.com>
25360
7583a88d
AS
25361 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25362 handler when locking.
25363
ae1bc2fa
AS
25364 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25365 Fix size of allocated buffer.
25366
10fb0bfa
AS
253672011-11-04 Andreas Schwab <schwab@redhat.com>
25368
998832a4
AS
25369 [BZ #10103]
25370 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25371 declarations for long double functions.
25372 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25373
10fb0bfa
AS
25374 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25375
3d7ba52b
AS
253762011-11-03 Andreas Schwab <schwab@redhat.com>
25377
a9ae54a1
AS
25378 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25379 installed.
25380
3d7ba52b
AS
25381 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25382 is disabled.
25383
bc8db248
ST
253842011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25385
25386 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25387
45b96dd6
AS
253882011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25389
647776f6
AS
25390 * include/alloca.h (stackinfo_alloca_round): Define.
25391 (extend_alloca): Use it.
25392 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25393 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25394 here.
25395
d91a8b93
AS
25396 * scripts/check-local-headers.sh: Ignore libaudit.h.
25397
45b96dd6
AS
25398 * nscd/Makefile (extra-objs): Make recursively expanded.
25399
432d41ce
UD
254002011-11-01 Ulrich Drepper <drepper@gmail.com>
25401
34372fc6
UD
25402 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25403 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25404
fadb59f8
UD
25405 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25406 * posix/tst-rfc3484-2.c: Likewise.
25407 * posix/tst-rfc3484-3.c: Likewise.
25408
78239589
UD
25409 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25410 process_vm_writev.
25411 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25412 process_vm_writev.
25413 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25414 process_vm_writev from libc using GLIBC_2.15 version.
25415
432d41ce
UD
25416 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25417
02f9c6cf
PP
254182011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25419
25420 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25421 stack usage.
25422
3a2c0242
UD
254232011-10-31 Ulrich Drepper <drepper@gmail.com>
25424
f4ec4833
UD
25425 [BZ #13367]
25426 * nss/getent.c (initgroups_keys): Show error message in case no group
25427 names are given.
25428
3a2c0242
UD
25429 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25430 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25431 __bump_nl_timestamp.
25432 * nscd/connections (nscd_init): When host database is served open
25433 netlink socket and request notification about configuration changes.
25434 (main_loop_poll): Track netlink file descriptor and bump timestamp
25435 in case data becomes available.
25436 (main_loop_epoll): Likewise.
25437 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25438 (database_pers_head): Add extra_data fileds.
25439 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25440 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25441 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25442 Adjust caller.
25443 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25444 in6ai data, call __free_in6ai.
25445 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25446 Add -DHAVE_NETLINK.
25447 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25448 interface information. Reuse previous data if netlink timestamp
25449 is not changed.
25450 (__bump_nl_timestamp): New function.
25451 (__free_in6ai): New function.
25452
636064eb
UD
254532011-10-30 Ulrich Drepper <drepper@gmail.com>
25454
25455 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25456 close_not_cancel_no_status here.
25457 (__check_pf): Reorganize code a bit to not call close twice if OOM.
25458
9beb2334
UD
254592011-10-29 Ulrich Drepper <drepper@gmail.com>
25460
6ef76f3b
UD
25461 [BZ #13276]
25462 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25463 return value.
25464
0ffc4f3e 25465 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
25466 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25467 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25468
cb95113e
UD
254692011-07-03 Andreas Jaeger <aj@suse.de>
25470
25471 [BZ #10709]
25472 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25473 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25474 * math/libm-test.inc (sin_test): Add test case.
25475
a1b560ff
UD
254762011-10-29 Ulrich Drepper <drepper@gmail.com>
25477
c9aaface
UD
25478 [BZ #13337]
25479 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25480 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25481
d272e7f1
UD
25482 * elf/chroot_canon.c (chroot_canon): Cleanups.
25483
1bc33071
UD
25484 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25485
1760874d
TJ
25486 [BZ #13335]
25487 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25488 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25489
51d91b18
UD
25490 * string/test-strchr.c: Make usable for strchrnul testing.
25491 * string/test-strchrnul.c: New file.
25492 * string/Makefile (strop-tests): Add strchrnul.
25493
a1b560ff 25494 * po/it.po: Update from translation team.
b611fb81 25495 * po/es.po: Likewise.
a1b560ff 25496
a5b81e1f
UD
254972011-10-28 Ulrich Drepper <drepper@gmail.com>
25498
fd52bc6d
UD
25499 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25500 the three constants needed as parameters. Drop the others.
25501 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25502 __m128i_strloadu_tolower.
52e4b9eb
UD
25503 Create and initialize variable zero and use it in all the places
25504 where _mm_setzero_si128 was used.
fd52bc6d 25505
a5b81e1f
UD
25506 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25507 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25508 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25509 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25510 anymore.
25511 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25512 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25513 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25514 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25515 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25516 __mpranred, __mptan.
25517 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25518 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25519 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25520 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25521 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25522 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25523 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25524 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25525 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25526
b4343346
AS
255272011-10-28 Andreas Schwab <schwab@redhat.com>
25528
0c92d8a8
AS
25529 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25530 redefine if SHARED.
25531 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25532
b4343346
AS
25533 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25534 wide char related routines to wcsmbs subdir.
25535
3871f58f
AS
255362011-10-27 Andreas Schwab <schwab@redhat.com>
25537
25538 [BZ #13344]
25539 * misc/sys/cdefs.h (__THROWNL): Define.
25540 * posix/unistd.h: Use __THREADNL instead of __THREAD
25541 for memory synchronization functions.
25542
94d44d9f
RM
255432011-10-26 Roland McGrath <roland@hack.frob.com>
25544
21b64b15 25545 [BZ #13349]
94d44d9f
RM
25546 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25547 doesn't exist.
25548 * manual/stdio.texi (Obstack Streams): Node removed.
25549
f6ce9294
AS
255502011-10-26 Andreas Schwab <schwab@redhat.com>
25551
80479147
AS
25552 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25553 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25554 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25555
f6ce9294
AS
25556 * math/math_private.h (math_force_eval): Allow non-addressable
25557 arguments.
25558 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25559
618280a1
UD
255602011-10-25 Ulrich Drepper <drepper@gmail.com>
25561
e0016b11
UD
25562 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25563 file is not needed.
25564
25565 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25566 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25567 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25568 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25569 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25570 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25571 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25572 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25573 Add AVX variants.
25574 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25575 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25576 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25577 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25578 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25579 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25580 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25581 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25582 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25583 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25584 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25585 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25586 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25587 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25588 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25589 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25590 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25591 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25592 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25593
25594 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25595 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
25596
618280a1
UD
25597 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25598 place. Use VEX encoding when compiling for AVX.
25599
37822576
AS
256002011-10-25 Andreas Schwab <schwab@redhat.com>
25601
1f1e1947
AS
25602 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25603 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25604
37822576
AS
25605 * string/test-strchr.c (do_test): Don't generate NUL bytes.
25606
31ea014d
UD
256072011-10-25 Ulrich Drepper <drepper@gmail.com>
25608
d7826aa1 25609 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 25610 useless if() expression.
d7826aa1
UD
25611 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25612 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25613 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25614 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25615 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25616 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25617 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25618 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25619 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25620 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25621 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25622 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25623 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25624 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25625 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25626 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25627 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25628 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25629 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25630
31ea014d
UD
25631 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25632
16437fec
AS
256332011-10-25 Andreas Schwab <schwab@redhat.com>
25634
25635 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25636 condition.
25637 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25638
31d3cc00
UD
256392011-10-25 Ulrich Drepper <drepper@gmail.com>
25640
25641 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25642 .text section. Avoid duplicate constants.
25643 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25644 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25645 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25646 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25647 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25648 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25649 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25650 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25651 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25652 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25653 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25654 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25655 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25656 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25657 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25658 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25659 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25660 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25661 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25662 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25663 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25664 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25665 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25666 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25667 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25668 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25669 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25670 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25671 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25672 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25673 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25674 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25675 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25676 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25677 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25678 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25679 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25680 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25681 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25682 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25683 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25684 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25685 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25686 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25687 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25688
58985aa9
UD
256892011-10-24 Ulrich Drepper <drepper@gmail.com>
25690
202c9deb
UD
25691 * sysdeps/x86_64/dla.h: Move to ...
25692 * sysdeps/x86_64/fpu/dla.h: ...here.
25693 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25694 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 25695
af968f62
UD
25696 * config.make.in: Add have-mfma4 entry.
25697 * configure.in: Substitute libc_cv_cc_fma4.
25698 * math/Makefile (dbl-only-routines): Add sincostab.
25699 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25700 Use __sincostab not sincos.
25701 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25702 name is a macro.
25703 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25704 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25705 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25706 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
25707 using __copysign.
25708 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
25709 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
25710 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25711 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25712 and __inv.
25713 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25714 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25715 __copysign.
25716 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
25717 define aliases when function name is a macro.
25718 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25719 sysdeps/ieee754/dbl-64/sincos.tbl.
25720 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25721 fma4-enabled routines.
25722 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25723 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25724 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25725 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25726 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25727 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25728 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25729 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25730 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25731 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
25732 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
25733 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
25734 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
25735 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
25736 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
25737 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
25738 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
25739 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
25740 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
25741 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
25742 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
25743 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
25744 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
25745 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
25746 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
25747 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
25748 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
25749 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
25750 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
25751 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
25752
58985aa9
UD
25753 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
25754 rename.
25755 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25756 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25757 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25758 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25759 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25760 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25761 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25762 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25763
a201fbcf
AS
257642011-10-24 Andreas Schwab <schwab@redhat.com>
25765
25766 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
25767
fc2ee42a
LD
257682011-10-23 Ulrich Drepper <drepper@gmail.com>
25769
bb3129bd
UD
25770 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
25771
0275fff8
UD
25772 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
25773 prediction.
25774 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
25775
2fa2ae85
UD
25776 * string/strnlen.c: Don't define STRNLEN, reverse logic.
25777 Remove unused variable magic_bits.
25778 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
25779
fc2ee42a
LD
25780 * string/strnlen.c: Define and use STRNLEN macro.
25781 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
25782 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
25783 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
25784 * wcsmbs/wcslen.c: Define and use WCSLEN.
25785 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
25786 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
25787 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
25788 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
25789 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
25790 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
25791 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25792
ce7dd29f
LD
257932011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25794
25795 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25796 strnlen-sse2-no-bsf.
25797 Rename strlen-no-bsf to strlen-sse2-no-bsf.
25798 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
25799 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
25800 Add strnlen support.
25801 (USE_AS_STRNLEN): New macro.
25802 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
25803 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
25804 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
25805 * sysdeps/x86_64/wcslen.S: New file.
25806
979c70a3
MZ
258072011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
25808
25809 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25810 XMM-moves are used for copying on small sizes.
25811
2d09f82f
LD
258122011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25813
25814 * wcsmbs/Makefile (strop-tests): Add wcschr.
25815 * wcsmbs/test-wcschr.c: New file.
25816 * string/test-strchr.c: Update.
25817 Add wcschr support.
25818 (WIDE): New macro.
25819
619fccca
LD
258202011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25821
2d09f82f 25822 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
25823 * wcsmbs/test-wcslen.c: New file.
25824 * string/test-strlen.c: Update.
25825 Add wcslen support.
25826 (WIDE): New macro.
25827
09f699ea
UD
258282011-10-23 Ulrich Drepper <drepper@gmail.com>
25829
25830 * po/it.po: Update from translation team.
25831
95584d3b
LD
258322011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25833
25834 * sysdeps/x86_64/wcscmp.S: Update.
25835 Fix wrong comparison semantics.
25836 wcscmp shall use signed comparison not unsigned.
25837 Don't use substraction to avoid overflow bug.
25838 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25839 * wcsmbc/wcscmp.c: Likewise.
25840 * string/test-strcmp.c: Likewise.
25841 Add new tests to check cases with negative values.
25842
c8b3296b
UD
258432011-10-23 Ulrich Drepper <drepper@gmail.com>
25844
25845 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
25846 * sysdeps/x86_64/dla.h: ...here. New file.
25847 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
25848 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25849 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25850 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25851 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25852 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25853 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25854 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25855 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25856
246ad57a
AS
258572011-10-23 Andreas Schwab <schwab@linux-m68k.org>
25858
25859 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
25860 __ynl_finite aliases.
25861
a1a87169
UD
258622011-10-22 Ulrich Drepper <drepper@gmail.com>
25863
0d355eb7
UD
25864 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25865
a1a87169
UD
25866 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
25867 define DLA_FMA.
25868 [DLA_FMA] (EMULV): Use DLA_FMA.
25869 [DLA_FMA] (MUL12): Use EMULV.
25870 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
25871 that are not needed.
25872 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25873 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25874 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25875 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25876 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25877 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25878 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25879
ee2aafe0
AS
258802011-10-22 Andreas Schwab <schwab@linux-m68k.org>
25881
25882 * math/s_nan.c: Undef __nan.
25883 * math/s_nanf.c: Undef __nanf.
25884 * math/s_nanl.c: Undef __nanl.
25885 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
25886 "math_private.h".
25887
bc62c2fb
UD
258882011-10-22 Ulrich Drepper <drepper@gmail.com>
25889
77425c63
UD
25890 * math/s_catan.c: Add branch predictions.
25891 * math/s_catanf.c: Likewise.
25892 * math/s_catanh.c: Likewise.
25893 * math/s_catanhf.c: Likewise.
25894 * math/s_catanhl.c: Likewise.
25895 * math/s_catanl.c: Likewise.
25896 * math/s_cexp.c: Likewise.
25897 * math/s_cexpf.c: Likewise.
25898 * math/s_cexpl.c: Likewise.
25899 * math/s_clog.c: Likewise.
25900 * math/s_clog10.c: Likewise.
25901 * math/s_clog10f.c: Likewise.
25902 * math/s_clog10l.c: Likewise.
25903 * math/s_clogf.c: Likewise.
25904 * math/s_clogl.c: Likewise.
25905 * math/s_csqrt.c: Likewise.
25906 * math/s_csqrtf.c: Likewise.
25907 * math/s_csqrtl.c: Likewise.
25908 * math/s_ctanf.c: Likewise.
25909 * math/s_ctanh.c: Likewise.
25910 * math/s_ctanhf.c: Likewise.
25911 * math/s_ctanhl.c: Likewise.
25912 * math/s_ctanl.c: Likewise.
25913
bc62c2fb
UD
25914 * math/math_private.h: Define __nan, __nanf, __nanl.
25915 * math/s_cacosh.c: Include <math_private.h>.
25916 * math/s_cacoshl.c: Likewise.
25917 * math/s_casinh.c: Likewise.
25918 * math/s_casinhf.c: Likewise.
25919 * math/s_casinhl.c: Likewise.
25920 * math/s_ccos.c: Rely entire on ccosh.
25921 * math/s_ccosf.c: Rely entire on ccoshf.
25922 * math/s_ccosl.c: Rely entirely on ccoshl.
25923 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
25924 Remove tests for FE_INVALID.
25925 * math/s_ccoshf.c: Likewise.
25926 * math/s_ccoshl.c: Likewise.
25927 * math/s_csin.c: Likewise.
25928 * math/s_csinf.c: Likewise.
25929 * math/s_csinh.c Likewise.
25930 * math/s_csinhf.c: Likewise.
25931 * math/s_csinhl.c: Likewise.
25932 * math/s_csinl.c: Likewise.
25933 * math/s_ctan.c: Likewise.
25934 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
25935 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
25936 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
25937
8ec250a4
UD
259382011-10-21 Ulrich Drepper <drepper@gmail.com>
25939
c196fed8
UD
25940 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
25941 compilation problems.
25942
8ec250a4
UD
25943 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
25944 __builtin_expect.
25945
8d4f46c6
UD
259462011-10-20 Ulrich Drepper <drepper@gmail.com>
25947
ed72b654
UD
25948 * sysdeps/i386/configure.in: Test for -mfma4 option.
25949 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
25950 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
25951 COMMON_CPUID_INDEX_80000001.
25952 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
25953 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
25954 use it if FMA3 is not supported.
25955 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25956
8d4f46c6
UD
25957 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
25958 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25959
d45c60c2
AS
259602011-10-20 Andreas Schwab <schwab@redhat.com>
25961
25962 [BZ #12892]
25963 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
25964 it would create a cycle with a link time dependency.
25965
d9a4d2ab
UD
259662011-10-19 Ulrich Drepper <drepper@gmail.com>
25967
855d1560
UD
25968 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
25969 instruction.
25970 * string/Makefile (strop-tests): Add rawmemchr.
25971 * string/test-rawmemchr.c: New file.
25972
d9a4d2ab
UD
25973 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
25974 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
25975 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
25976 when compiling str{,n}casecmp and when AVX is available. Hook up
25977 new optimized code in initializers.
25978
8f3b1ffe
AS
259792011-10-19 Andreas Schwab <schwab@redhat.com>
25980
25981 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
25982 __feraiseexcept instead of feraiseexcept.
25983
d38f1dba
UD
259842011-10-18 Ulrich Drepper <drepper@gmail.com>
25985
d9a8d0ab
UD
25986 * math/math_private.h: Define defaults for libc_fetestexcept and
25987 libc_feupdateenv.
25988 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
25989 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
25990 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25991 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25992 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25993 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25994 libc_fetestexcept and libc_feupdateenv.
25995
4855e3dd
UD
25996 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
25997 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
25998 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
25999 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26000 libc_feholdexcept_setround.
26001
581d30e3
UD
26002 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26003 Add s_nearbyint-c and s_nearbyintf-c.
26004 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26005 nearbyintf inlines.
26006 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26007 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26008 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26009 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26010
d38f1dba
UD
26011 * math/math_private.h: Define defaults for libc_fegetround,
26012 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26013 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26014 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26015 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26016 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26017 standard functions.
26018 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26019 Remove comments and hacks for old compiler versions.
26020 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26021 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26022 libc_feholdexceptl.
26023
caa6c9d8
AS
260242011-10-18 Andreas Schwab <schwab@redhat.com>
26025
26026 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26027 (__feraiseexcept_renamed): Add __NTH.
26028 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26029 namespace violations.
26030
97c066e6
UD
260312011-10-17 Ulrich Drepper <drepper@gmail.com>
26032
99ce7b04
UD
26033 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26034
1004d182
UD
26035 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26036
228a984d
UD
26037 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26038 recently added interfaces.
26039 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26040
c8553a6a
UD
26041 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26042 about macro parameter expansion.
26043
ed22dcf6
UD
26044 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26045 __NO_MATH_INLINES is defined. Cleanups.
26046
26047 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26048 and __floorf is target has SSE4.1.
26049 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26050 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26051 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26052 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26053
b171c137
UD
26054 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26055 name.
26056 (floorf): Likewise.
26057
97c066e6
UD
26058 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26059
629f62ef
AS
260602011-10-17 Andreas Schwab <schwab@redhat.com>
26061
49a43d80
AS
26062 * misc/sys/cdefs.h: Fix last change.
26063
629f62ef
AS
26064 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26065 database lookup.
26066
e453f6cd
UD
260672011-10-16 Ulrich Drepper <drepper@gmail.com>
26068
aa78043a
UD
26069 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26070
ad0f5cad
UD
26071 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26072 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26073 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26074 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26075 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26076 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26077 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26078 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26079 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26080 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26081 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26082 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26083 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26084 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26085 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26086 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26087 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26088 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26089 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26090 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26091 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26092 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26093
26094 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26095 ceil, ceilf, floor, floorf.
26096
26097 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26098 Perform IRELATIVE relocations last.
26099
e453f6cd
UD
26100 * elf/do-rel.h: Add another parameter nrelative, replacing the
26101 local variable with the same name. Change name of the function
26102 to end in Rel or Rela (uppercase).
26103 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26104 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26105 elf_dynamic_do_##reloc function.
26106
fd5bdc09
UD
261072011-10-15 Ulrich Drepper <drepper@gmail.com>
26108
79b195b5
UD
26109 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26110 is sufficient, at least on modern CPUs.
26111
d4a28569
UD
26112 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26113
b61099b5
UD
26114 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26115 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26116
bcf01e6d
UD
26117 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26118 __expl_finite.
26119 * math/bits/math-finite.h: Add entries for exp.
26120 * math/e_expl.c: Add __*_finite alias.
26121 * sysdeps/i386/fpu/e_exp.S: Likewise.
26122 * sysdeps/i386/fpu/e_expf.S: Likewise.
26123 * sysdeps/i386/fpu/e_expl.c: Likewise.
26124 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26125 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26126 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26127 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26128 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26129 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26130 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26131
ba1a0d59
UD
26132 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26133 is sufficient, at least on modern CPUs.
26134
fd5bdc09
UD
26135 * ctype/ctype-info.c (__ctype_init): Define.
26136 * include/ctype.h (__ctype_init): Declare.
26137 (__ctype_b_loc): The variable is always initialized.
26138 (__ctype_toupper_loc): Likewise.
26139 (__ctype_tolower_loc): Likewise.
26140 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26141 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26142
7872cfb0
AS
261432011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26144
b468825a
AS
26145 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26146
7872cfb0
AS
26147 * configure.in: Also look in $cxxmachine/include for C++ system
26148 headers.
26149
be13f7bf
LD
261502011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26151
26152 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26153 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26154 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26155 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26156 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26157 (USE_AS_WMEMCMP): New macro.
26158 Fixing indents.
26159 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26160 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26161 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26162 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26163 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26164 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26165 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26166 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26167 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26168 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26169 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26170 (USE_AS_WMEMCMP): New macro.
26171 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26172 * sysdeps/string/test-memcmp.c: Update.
26173 Fix simple_wmemcmp.
26174 Add new tests.
26175 * wcsmbs/wmemcmp.c: Update.
26176 (WMEMCMP): New macro.
26177 Fix overflow bug.
26178
556a2007
AJ
261792011-10-12 Andreas Jaeger <aj@suse.de>
26180
26181 [BZ #13268]
26182 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26183
538faaa7
UD
261842011-10-15 Ulrich Drepper <drepper@gmail.com>
26185
ab6737ff
UD
26186 * libio/iofwide.c (do_length): Avoid warning.
26187
538faaa7
UD
26188 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26189
396a21b1
UD
261902011-10-14 Ulrich Drepper <drepper@gmail.com>
26191
cdf2901f
UD
26192 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26193
38ad40ce
UD
26194 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26195 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26196 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26197 * sysdeps/i386/i686/fpu/e_log.S: New file.
26198 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26199 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26200
396a21b1
UD
26201 * ctype/ctype.h: Add support for inlined isXXX functions when
26202 compiling C++ code.
26203
6b1f68c9
AS
262042011-10-14 Andreas Schwab <schwab@redhat.com>
26205
349290c0
AS
26206 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26207
6b1f68c9
AS
26208 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26209
f2282d42
RM
262102011-10-13 Roland McGrath <roland@hack.frob.com>
26211
26212 [BZ #13291]
26213 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26214
5298ffa8
AS
262152011-10-13 Andreas Schwab <schwab@redhat.com>
26216
714fad23
AS
26217 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26218 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26219 feraiseexcept.
26220
81dcc7fb
AS
26221 * sysdeps/x86_64/memrchr.S: Check for zero size.
26222
5298ffa8
AS
26223 * string/stratcliff.c: Add memrchr tests.
26224
951fbcec
LD
262252011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26226
26227 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26228 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26229 rawmemchr-sse2 rawmemchr-sse2-bsf.
26230 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26231 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26232 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26233 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26234 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26235 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26236 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26237 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26238 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26239 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26240 * string/memrchr.c (MEMRCHR): New macro.
26241
0ac5ae23
UD
262422011-10-12 Ulrich Drepper <drepper@gmail.com>
26243
26244 Add integration with gcc's -ffinite-math-only and optimize wrapper
26245 functions in libm.
26246 * Versions.def: Define GLIBC_2.15 version for libm.
26247 * math/Makefile (headers): Add bits/math-finite.h.
26248 * math/bits/math-finite.h: New file.
26249 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26250 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26251 * math/e_acoshl.c: Add __*_finite alias.
26252 * math/e_acosl.c: Likewise.
26253 * math/e_asinl.c: Likewise.
26254 * math/e_atan2l.c: Likewise.
26255 * math/e_atanhl.c: Likewise.
26256 * math/e_coshl.c: Likewise.
26257 * math/e_exp10.c: Likewise.
26258 * math/e_exp10f.c: Likewise.
26259 * math/e_exp10l.c: Likewise.
26260 * math/e_exp2l.c: Likewise.
26261 * math/e_fmodl.c: Likewise.
26262 * math/e_gammal_r.c: Likewise.
26263 * math/e_hypotl.c: Likewise.
26264 * math/e_j0l.c: Likewise.
26265 * math/e_j1l.c: Likewise.
26266 * math/e_jnl.c: Likewise.
26267 * math/e_lgammal_r.c: Likewise.
26268 * math/e_log10l.c: Likewise.
26269 * math/e_log2l.c: Likewise.
26270 * math/e_logl.c: Likewise.
26271 * math/e_powl.c: Likewise.
26272 * math/e_sinhl.c: Likewise.
26273 * math/e_sqrtl.c: Likewise.
26274 * math/e_scalb.c: Completely rewritten and optimized.
26275 * math/e_scalbf.c: Likewise.
26276 * math/e_scalbl.c: Likewise.
26277 * math/w_acos.c: Likewise.
26278 * math/w_acosf.c: Likewise.
26279 * math/w_acosl.c: Likewise.
26280 * math/w_acosh.c: Likewise.
26281 * math/w_acoshf.c: Likewise.
26282 * math/w_acoshl.c: Likewise.
26283 * math/w_asin.c: Likewise.
26284 * math/w_asinf.c: Likewise.
26285 * math/w_asinl.c: Likewise.
26286 * math/w_atan2.c: Likewise.
26287 * math/w_atan2f.c: Likewise.
26288 * math/w_atan2l.c: Likewise.
26289 * math/w_atanh.c: Likewise.
26290 * math/w_atanhf.c: Likewise.
26291 * math/w_atanhl.c: Likewise.
26292 * math/w_exp10.c: Likewise.
26293 * math/w_exp10f.c: Likewise.
26294 * math/w_exp10l.c: Likewise.
26295 * math/w_fmod.c: Likewise.
26296 * math/w_fmodf.c: Likewise.
26297 * math/w_fmodl.c: Likewise.
26298 * math/w_j0.c: Likewise.
26299 * math/w_j0f.c: Likewise.
26300 * math/w_j0l.c: Likewise.
26301 * math/w_j1.c: Likewise.
26302 * math/w_j1f.c: Likewise.
26303 * math/w_j1l.c: Likewise.
26304 * math/w_jn.c: Likewise.
26305 * math/w_jnf.c: Likewise.
26306 * math/w_log.c: Likewise.
26307 * math/w_logf.c: Likewise.
26308 * math/w_logl.c: Likewise.
26309 * math/w_log10.c: Likewise.
26310 * math/w_log10f.c: Likewise.
26311 * math/w_log10l.c: Likewise.
26312 * math/w_log2.c: Likewise.
26313 * math/w_log2f.c: Likewise.
26314 * math/w_log2l.c: Likewise.
26315 * math/w_pow.c: Likewise.
26316 * math/w_powf.c: Likewise.
26317 * math/w_powl.c: Likewise.
26318 * math/w_remainder.c: Likewise.
26319 * math/w_remainderf.c: Likewise.
26320 * math/w_remainderl.c: Likewise.
26321 * math/w_scalb.c: Likewise.
26322 * math/w_scalbf.c: Likewise.
26323 * math/w_scalbl.c: Likewise.
26324 * math/w_sqrt.c: Likewise.
26325 * math/w_sqrtf.c: Likewise.
26326 * math/w_sqrtl.c: Likewise.
26327 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26328 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26329 used.
26330 * math/math_private.h: Declare __kernel_standard_f.
26331 * math/w_cosh.c: Remove cruft and optimize a bit.
26332 * math/w_coshf.c: Likewise.
26333 * math/w_coshl.c: Likewise.
26334 * math/w_exp2.c: Likewise.
26335 * math/w_exp2f.c: Likewise.
26336 * math/w_exp2l.c: Likewise.
26337 * math/w_hypot.c: Likewise.
26338 * math/w_hypotf.c: Likewise.
26339 * math/w_hypotl.c: Likewise.
26340 * math/w_lgamma.c: Likewise.
26341 * math/w_lgamma_r.c: Likewise.
26342 * math/w_lgammaf.c: Likewise.
26343 * math/w_lgammaf_r.c: Likewise.
26344 * math/w_lgammal.c: Likewise.
26345 * math/w_lgammal_r.c: Likewise.
26346 * math/w_sinh.c: Likewise.
26347 * math/w_sinhf.c: Likewise.
26348 * math/w_sinhl.c: Likewise.
26349 * math/w_tgamma.c: Likewise.
26350 * math/w_tgammaf.c: Likewise.
26351 * math/w_tgammal.c: Likewise.
26352 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26353 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26354 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26355 Minor optimizations. Pretty printing. Remove cruft.
26356 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26357 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26358 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26359 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26360 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26361 * sysdeps/i386/fpu/e_asin.S: Likewise.
26362 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26363 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26364 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26365 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26366 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26367 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26368 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26369 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26370 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26371 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26372 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26373 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26374 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26375 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26376 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26377 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26378 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26379 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26380 * sysdeps/i386/fpu/e_log.S: Likewise.
26381 * sysdeps/i386/fpu/e_log10.S: Likewise.
26382 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26383 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26384 * sysdeps/i386/fpu/e_log2.S: Likewise.
26385 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26386 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26387 * sysdeps/i386/fpu/e_logf.S: Likewise.
26388 * sysdeps/i386/fpu/e_logl.S: Likewise.
26389 * sysdeps/i386/fpu/e_pow.S: Likewise.
26390 * sysdeps/i386/fpu/e_powf.S: Likewise.
26391 * sysdeps/i386/fpu/e_powl.S: Likewise.
26392 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26393 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26394 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26395 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26396 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26397 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26398 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26399 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26400 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26401 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26402 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26403 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26404 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26405 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26406 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26407 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26408 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26409 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26410 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26411 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26412 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26413 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26414 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26415 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26416 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26417 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26418 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26419 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26420 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26421 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26422 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26423 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26424 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26425 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26426 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26427 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26428 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26429 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26430 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26431 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26432 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26433 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26434 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26435 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26436 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26437 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26438 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26439 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26440 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26441 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26442 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26443 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26444 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26445 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26446 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26447 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26448 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26449 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26450 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26451 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26452 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26453 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26454 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26455 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26456 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26457 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26458 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26459 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26460 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26461 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26462 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26463 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26464 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26465 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26466 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26467 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26468 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26469 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26470 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26471 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26472 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26473 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26474 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26475 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26476 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26477 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26478 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26479 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26480 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26481 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26482 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26483 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26484 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26485 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26486 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26487 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26488 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26489 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26490 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26491 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26492 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26493 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26494 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26495 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26496 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26497 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26498 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26499 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26500 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26501 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26502 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26503 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26504 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26505 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26506 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26507 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26508 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26509 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26510 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26511 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
26512 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26513 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26514 (__isnanf): Likewise.
26515 (__isinf_ns): Likewise.
26516 (__isinf_nsf): Likewise.
26517 (__finite): Likewise.
26518 (__finitef): Likewise.
26519 (__ieee754_sqrt): Define as macro.
26520 (__ieee754_sqrtf): Define as macro.
26521 (__ieee754_sqrtl): Define as macro.
26522 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26523 inlined copy.
26524 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26525 __FINITE_MATH_ONLY__ consistent.
26526 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26527
12cc2fcd
AS
265282011-10-10 Andreas Schwab <schwab@linux-m68k.org>
26529
a843a204
AS
26530 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26531 of rawmemchr.
26532
12cc2fcd
AS
26533 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26534
c853acd5
UD
265352011-10-09 Ulrich Drepper <drepper@gmail.com>
26536
26537 * po/ja.po: Update from translation team.
26538
c658d255
RM
265392011-10-08 Roland McGrath <roland@hack.frob.com>
26540
110946e4
RM
26541 * locale/programs/locarchive.c (prepare_address_space): New function.
26542 (create_archive, enlarge_archive, open_archive): Use it.
26543
50604220
RM
26544 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26545 inside [SHARED], where it is used.
26546
c658d255
RM
26547 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26548
26549 * nss/getent.c (netgroup_keys): Remove unused variable.
26550 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26551
6a621eb7
UD
265522011-10-08 Ulrich Drepper <drepper@gmail.com>
26553
7edb55ce
UD
26554 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26555 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26556 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26557 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26558 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26559 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26560 * math/Makefile (libm-calls): Add s_isinf_ns.
26561 * math/divtc3.c: Use __isinf_nsl instead of isinf.
26562 * math/multc3.c: Likewise.
26563 * math/s_casin.c: Likewise.
26564 * math/s_casinf.c: Likewise.
26565 * math/s_casinl.c: Likewise.
26566 * math/s_ccos.c: Likewise.
26567 * math/s_ccosf.c: Likewise.
26568 * math/s_ccosl.c: Likewise.
26569 * math/s_ctan.c: Likewise.
26570 * math/s_ctanf.c: Likewise.
26571 * math/s_ctanh.c: Likewise.
26572 * math/s_ctanhf.c: Likewise.
26573 * math/s_ctanhl.c: Likewise.
26574 * math/s_ctanl.c: Likewise.
26575 * math/w_fmod.c: Likewise.
26576 * math/w_fmodf.c: Likewise.
26577 * math/w_fmodl.c: Likewise.
26578 * math/w_remainder.c: Likewise.
26579 * math/w_remainderf.c: Likewise.
26580 * math/w_remainderl.c: Likewise.
26581 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26582 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26583 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26584 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26585 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26586 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26587 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26588 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26589
187da0ae
UD
26590 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26591 of the number.
26592 * stdio-common/printf_fphex.c: Likewise.
26593 * stdio-common/printf_size.c: Likewise.
26594
9277c064
UD
26595 * math/e_exp10.c: Include math_private.h using <...> not "...".
26596 * math/e_exp10f.c: Likewise.
26597 * math/e_exp10l.c: Likewise.
26598 * math/e_exp2l.c: Likewise.
26599 * math/e_j0l.c: Likewise.
26600 * math/e_j1l.c: Likewise.
26601 * math/e_jnl.c: Likewise.
26602 * math/e_lgammal_r.c: Likewise.
26603 * math/e_rem_pio2l.c: Likewise.
26604 * math/e_scalb.c: Likewise.
26605 * math/e_scalbf.c: Likewise.
26606 * math/e_scalbl.c: Likewise.
26607 * math/k_cosl.c: Likewise.
26608 * math/k_sinl.c: Likewise.
26609 * math/k_tanl.c: Likewise.
26610 * math/s_cacoshf.c: Likewise.
26611 * math/s_catan.c: Likewise.
26612 * math/s_catanf.c: Likewise.
26613 * math/s_catanh.c: Likewise.
26614 * math/s_catanhf.c: Likewise.
26615 * math/s_catanhl.c: Likewise.
26616 * math/s_catanl.c: Likewise.
26617 * math/s_ccosh.c: Likewise.
26618 * math/s_ccoshf.c: Likewise.
26619 * math/s_ccoshl.c: Likewise.
26620 * math/s_cexp.c: Likewise.
26621 * math/s_cexpf.c: Likewise.
26622 * math/s_cexpl.c: Likewise.
26623 * math/s_clog.c: Likewise.
26624 * math/s_clog10.c: Likewise.
26625 * math/s_clog10f.c: Likewise.
26626 * math/s_clog10l.c: Likewise.
26627 * math/s_clogf.c: Likewise.
26628 * math/s_clogl.c: Likewise.
26629 * math/s_csin.c: Likewise.
26630 * math/s_csinf.c: Likewise.
26631 * math/s_csinh.c: Likewise.
26632 * math/s_csinhf.c: Likewise.
26633 * math/s_csinhl.c: Likewise.
26634 * math/s_csinl.c: Likewise.
26635 * math/s_csqrt.c: Likewise.
26636 * math/s_csqrtf.c: Likewise.
26637 * math/s_csqrtl.c: Likewise.
26638 * math/s_ctan.c: Likewise.
26639 * math/s_ctanf.c: Likewise.
26640 * math/s_ctanh.c: Likewise.
26641 * math/s_ctanhf.c: Likewise.
26642 * math/s_ctanhl.c: Likewise.
26643 * math/s_ctanl.c: Likewise.
26644 * math/s_ldexp.c: Likewise.
26645 * math/s_ldexpf.c: Likewise.
26646 * math/s_ldexpl.c: Likewise.
26647 * math/s_significand.c: Likewise.
26648 * math/s_significandf.c: Likewise.
26649 * math/s_significandl.c: Likewise.
26650 * math/w_acos.c: Likewise.
26651 * math/w_acosf.c: Likewise.
26652 * math/w_acosh.c: Likewise.
26653 * math/w_acoshf.c: Likewise.
26654 * math/w_acoshl.c: Likewise.
26655 * math/w_acosl.c: Likewise.
26656 * math/w_asin.c: Likewise.
26657 * math/w_asinf.c: Likewise.
26658 * math/w_asinl.c: Likewise.
26659 * math/w_atan2.c: Likewise.
26660 * math/w_atan2f.c: Likewise.
26661 * math/w_atan2l.c: Likewise.
26662 * math/w_atanh.c: Likewise.
26663 * math/w_atanhf.c: Likewise.
26664 * math/w_atanhl.c: Likewise.
26665 * math/w_cosh.c: Likewise.
26666 * math/w_coshf.c: Likewise.
26667 * math/w_coshl.c: Likewise.
26668 * math/w_dremf.c: Likewise.
26669 * math/w_exp10.c: Likewise.
26670 * math/w_exp10f.c: Likewise.
26671 * math/w_exp10l.c: Likewise.
26672 * math/w_exp2.c: Likewise.
26673 * math/w_exp2f.c: Likewise.
26674 * math/w_fmod.c: Likewise.
26675 * math/w_fmodf.c: Likewise.
26676 * math/w_fmodl.c: Likewise.
26677 * math/w_hypot.c: Likewise.
26678 * math/w_hypotf.c: Likewise.
26679 * math/w_hypotl.c: Likewise.
26680 * math/w_j0.c: Likewise.
26681 * math/w_j0f.c: Likewise.
26682 * math/w_j0l.c: Likewise.
26683 * math/w_j1.c: Likewise.
26684 * math/w_j1f.c: Likewise.
26685 * math/w_j1l.c: Likewise.
26686 * math/w_jn.c: Likewise.
26687 * math/w_jnf.c: Likewise.
26688 * math/w_jnl.c: Likewise.
26689 * math/w_lgamma.c: Likewise.
26690 * math/w_lgamma_r.c: Likewise.
26691 * math/w_lgammaf.c: Likewise.
26692 * math/w_lgammaf_r.c: Likewise.
26693 * math/w_lgammal.c: Likewise.
26694 * math/w_lgammal_r.c: Likewise.
26695 * math/w_log.c: Likewise.
26696 * math/w_log10.c: Likewise.
26697 * math/w_log10f.c: Likewise.
26698 * math/w_log10l.c: Likewise.
26699 * math/w_log2.c: Likewise.
26700 * math/w_log2f.c: Likewise.
26701 * math/w_log2l.c: Likewise.
26702 * math/w_logf.c: Likewise.
26703 * math/w_logl.c: Likewise.
26704 * math/w_pow.c: Likewise.
26705 * math/w_powf.c: Likewise.
26706 * math/w_powl.c: Likewise.
26707 * math/w_remainder.c: Likewise.
26708 * math/w_remainderf.c: Likewise.
26709 * math/w_remainderl.c: Likewise.
26710 * math/w_scalb.c: Likewise.
26711 * math/w_scalbf.c: Likewise.
26712 * math/w_scalbl.c: Likewise.
26713 * math/w_sinh.c: Likewise.
26714 * math/w_sinhf.c: Likewise.
26715 * math/w_sinhl.c: Likewise.
26716 * math/w_sqrt.c: Likewise.
26717 * math/w_sqrtf.c: Likewise.
26718 * math/w_sqrtl.c: Likewise.
26719 * math/w_tgamma.c: Likewise.
26720 * math/w_tgammaf.c: Likewise.
26721 * math/w_tgammal.c: Likewise.
26722
6a621eb7
UD
26723 * po/ja.po: Update from translation team.
26724
bf582445
AJ
267252011-09-29 Andreas Jaeger <aj@suse.de>
26726
f9efbf3a
AJ
26727 [BZ #13179]
26728 * sunrpc/netname.c (netname2host): Fix logic.
26729
bf582445
AJ
26730 [BZ #6779]
26731 [BZ #6783]
26732 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
26733 correctly.
26734 * math/w_remainder.c (__remainder): Likewise.
26735 * math/w_remainderf.c (__remainderf): Likewise.
26736 * math/libm-test.inc (remainder_test): Add test cases.
26737
48693bea
AK
267382011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26739
26740 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
26741 sdiv_qrnnd.
26742
42622229
LD
267432011-10-07 Ulrich Drepper <drepper@gmail.com>
26744
26745 * string/test-memcmp.c: Avoid unncessary #defines.
26746 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26747
093ecf92
LD
267482011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26749
26750 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
26751 Use new sse2 version for core i3 - i7 as it's faster
26752 than sse42 version.
26753 (bit_Prefer_PMINUB_for_stringop): New.
26754 * sysdeps/x86_64/rawmemchr.S: Update.
26755 Replace with faster SSE2 version.
26756 * sysdeps/x86_64/memrchr.S: New file.
26757 * sysdeps/x86_64/memchr.S: Update.
26758 Replace with faster SSE2 version.
26759
fde56e5c
MP
267602011-09-12 Marek Polacek <mpolacek@redhat.com>
26761
26762 * elf/dl-load.c (lose): Add cast to avoid warning.
26763
21fd49a9
UD
267642011-10-07 Ulrich Drepper <drepper@gmail.com>
26765
5a06e643
UD
26766 * po/ca.po: Update from translation team.
26767
684ae515
UD
26768 * inet/getnetgrent_r.c: Hook up nscd.
26769 * nscd/Makefile (routines): Add nscd_netgroup.
26770 (nscd-modules): Add netgroupcache.
26771 (CFLAGS-netgroupcache.c): Define.
26772 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
26773 (cache_search): Add const to second parameter.
26774 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
26775 INNETGR.
26776 (dbs): Add netgrdb entry.
26777 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
26778 (verify_persistent_db): Handle netgrdb.
26779 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
26780 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
26781 GETFDNETGR.
26782 (netgroup_response_header): Define.
26783 (innetgroup_response_header): Define.
26784 (datahead): Add netgroup_response_header and innetgroup_response_header
26785 elements.
26786 * nscd/nscd.conf: Add entries for netgroup cache.
26787 * nscd/nscd.h (dbtype): Add netgrdb.
26788 (_PATH_NSCD_NETGROUP_DB): Define.
26789 (netgroup_iov_disabled): Declare.
26790 (xmalloc, xcalloc, xrealloc): Move declarations here.
26791 (cache_search): Adjust prototype.
26792 Add netgroup-related prototypes.
26793 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
26794 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
26795 (__nscd_innetgr): Declare.
26796 * nscd/selinux.c (perms): Use access_vector_t as element type and
26797 add netgroup-related initializers.
26798 * nscd/netgroupcache.c: New file.
26799 * nscd/nscd_netgroup.c: New file.
26800 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
26801 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
26802 For four parameters use innetgr.
26803 * nss/nss_files/files-init.c: Add definition and callback for netgr.
26804 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
26805 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
26806 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
26807
21fd49a9
UD
26808 * nscd/connections.c (register_traced_file): Don't register file
26809 for disabled databases.
26810
054c0457
UD
268112011-10-06 Ulrich Drepper <drepper@gmail.com>
26812
32b63198
UD
26813 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
26814
054c0457
UD
26815 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
26816 from tree and freeing node.
26817
64031225
JO
268182011-09-25 Jiri Olsa <jolsa@redhat.com>
26819
26820 * nss/nsswitch.c (__nss_database_lookup): Handle
26821 nss_parse_service_list out of memory case.
26822
0490345c
JO
268232011-09-15 Jiri Olsa <jolsa@redhat.com>
26824
26825 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
26826 out of memory case.
26827
3a62d00d
AS
268282011-10-04 Andreas Schwab <schwab@redhat.com>
26829
26830 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
26831 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
26832 pass it down.
26833 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
26834 elf_machine_rela, elf_machine_lazy_rel.
26835 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
26836 (ELF_DYNAMIC_DO_REL): Likewise.
26837 (ELF_DYNAMIC_DO_RELA): Likewise.
26838 (ELF_DYNAMIC_RELOCATE): Likewise.
26839 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
26840 to ELF_DYNAMIC_DO_REL.
26841 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
26842 (dl_main): In trace mode always set __RTLD_NOIFUNC.
26843 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
26844 elf_machine_rela.
26845 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
26846 skip_ifunc, don't call ifunc function if non-zero.
26847 (elf_machine_rela): Likewise.
26848 (elf_machine_lazy_rel): Likewise.
26849 (elf_machine_lazy_rela): Likewise.
26850 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
26851 (elf_machine_lazy_rel): Likewise.
26852 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26853 Likewise.
26854 (elf_machine_lazy_rel): Likewise.
26855 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26856 Likewise.
26857 (elf_machine_lazy_rel): Likewise.
26858 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
26859 (elf_machine_lazy_rel): Likewise.
26860 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
26861 (elf_machine_lazy_rel): Likewise.
26862 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26863 (elf_machine_lazy_rel): Likewise.
26864 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26865 (elf_machine_lazy_rel): Likewise.
26866 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26867 (elf_machine_lazy_rel): Likewise.
26868 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26869 (elf_machine_lazy_rel): Likewise.
26870
68577918
UD
268712011-09-28 Ulrich Drepper <drepper@gmail.com>
26872
26873 * nss/nss_files/files-init.c (_nss_files_init): Use static
26874 initialization for all the *_traced_file variables.
26875
68822d74
AS
268762011-09-28 Andreas Schwab <schwab@redhat.com>
26877
26878 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26879
2056100b
RM
268802011-09-27 Roland McGrath <roland@hack.frob.com>
26881
26882 [BZ #13226]
26883 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
26884
32c76b63
AS
268852011-09-27 Andreas Schwab <schwab@redhat.com>
26886
26887 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26888 Reread the line before reparsing it.
26889
bf972c9d
AS
268902011-09-26 Andreas Schwab <schwab@redhat.com>
26891
26892 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
26893
e057a1b5
JM
268942011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
26895 Maxim Kuvyrkov <maxim@codesourcery.com>
26896 Joseph Myers <joseph@codesourcery.com>
26897
26898 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
26899 if needed for __stack_chk_guard.
26900
bc7e1c36
RM
269012011-09-19 Roland McGrath <roland@hack.frob.com>
26902
ecb1482f
RM
26903 * sysdeps/posix/spawni.c (script_execute): Always define it.
26904 It will be optimized away if unused.
26905 (maybe_script_execute): New function.
26906 (__spawni): Call it.
26907
bc7e1c36
RM
26908 * Makerules: Don't include tls.make.
26909 (config-tls): Always set to thread.
26910 * tls.make.c: File removed.
26911
1c3b002b
MF
269122011-09-19 Mike Frysinger <vapier@gentoo.org>
26913
26914 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
26915 * config.make.in (CPPFLAGS-config): New substituted variable.
26916
2840865d
UD
269172011-09-15 Ulrich Drepper <drepper@gmail.com>
26918
88738eb6
UD
26919 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
26920
cbf645a6 26921 [BZ #13192]
2840865d
UD
26922 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
26923 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
26924
b402e91a
RM
269252011-09-15 Roland McGrath <roland@hack.frob.com>
26926
26927 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
26928 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
26929 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26930 (CALL_FAIL): Likewise.
26931 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
26932 (CALL_FAIL): Macro removed.
26933 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
26934
4c1a1f71
UD
269352011-09-15 Ulrich Drepper <drepper@gmail.com>
26936
26937 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
26938 for __FINITE_MATH_ONLY__ == 1.
26939
edc121be
AS
269402011-09-15 Andreas Schwab <schwab@redhat.com>
26941
26942 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
26943 __ieee754_sqrt instead of sqrt.
26944 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
26945 __ieee754_sqrtf instead of sqrtf.
26946 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
26947 __floorf instead of floorf.
26948 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
26949 __floorf, __truncf instead of floorf, truncf.
26950
cd205654
UD
269512011-09-14 Ulrich Drepper <drepper@gmail.com>
26952
ee4d0315
UD
26953 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
26954
cd205654
UD
26955 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
26956 __extern_always_inline.
26957 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
26958 32-bit.
26959
48b67d71
AS
269602011-09-14 Andreas Schwab <schwab@redhat.com>
26961
26962 * elf/rtld.c (dl_main): Also relocate in dependency order when
26963 doing symbol dependency testing.
26964
1ae12c75
AS
269652011-09-13 Andreas Schwab <schwab@linux-m68k.org>
26966
26967 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26968 Always define `refsym'.
26969
995a80df
AS
269702011-09-13 Andreas Schwab <schwab@redhat.com>
26971
e529793b
AS
26972 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
26973 (__FD_ELT): Renamed from __FDELT.
26974 * misc/bits/select2.h (__FD_ELT): Likewise.
26975 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
26976 __FD_MASK instead of __FDELT, __FDMASK.
26977 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26978 Likewise.
26979 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26980 Likewise.
26981
52d4fef8
AS
26982 * elf/Makefile (gen-ldd): Fix pattern.
26983
995a80df
AS
26984 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
26985 (init_tls): Likewise.
26986
8682f8b0
UD
269872011-09-12 Ulrich Drepper <drepper@gmail.com>
26988
26989 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
26990
de82006d
AS
269912011-09-12 Andreas Schwab <schwab@redhat.com>
26992
a7c8e6a1
AS
26993 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
26994 `struct cmsghdr *' instead of `void *'.
26995 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
26996 Likewise.
26997
0f31fe77
AS
269982011-09-11 Andreas Schwab <schwab@linux-m68k.org>
26999
27000 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27001 if non-absolute.
27002 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27003 ldd_rewrite_script.
0f31fe77 27004
32b4c839
UD
270052011-09-11 Ulrich Drepper <drepper@gmail.com>
27006
83cd1420
UD
27007 * configure.in: Remove --with-tls option.
27008 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27009 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27010 out in case it is missing.
27011 * sysdeps/ia64/elf/configure.in: Likewise.
27012 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27013 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27014 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27015 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27016 * sysdeps/sh/elf/configure.in: Likewise.
27017 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27018 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27019 * sysdeps/x86_64/elf/configure.in: Likewise.
27020 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27021 * sysdeps/mach/hurd/tls.h: Likewise.
27022
633f745d
UD
27023 [BZ #13067]
27024 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27025
f318beb8
UD
27026 [BZ #13090]
27027 * configure.in: Fix use of AC_INIT.
27028
32b4c839
UD
27029 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27030
3ce1f295
UD
270312011-09-10 Ulrich Drepper <drepper@gmail.com>
27032
bb016596
UD
27033 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27034 __set_errno.
8e58439c
UD
27035 * malloc/hooks.c: Likewise.
27036
aebae053 27037 [BZ #11929]
02d46fc4
UD
27038 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27039 variables statically.
27040 (narenas): Initialize.
27041 (list_lock): Initialize.
bb016596
UD
27042 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27043 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27044 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27045 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27046 Add initializers to main_arena and mp_.
27047 (malloc_state): Remove pagesize member. Change all users to use
27048 GLRO(dl_pagesize).
27049
27050 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27051 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27052 is always initialized.
27053
22a89187
UD
27054 * malloc/malloc.c: Removed unused configurations and dead code.
27055 * malloc/arena.c: Likewise.
27056 * malloc/hooks.c: Likewise.
02d46fc4 27057 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27058
d063d164
UD
27059 * include/tls.h: Removed. USE___THREAD must always be defined.
27060 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27061 * elf/dl-libc.c: Likewise.
27062 * elf/dl-tsd.c: Likewise.
27063 * include/errno.h: Likewise.
27064 * include/netdb.h: Likewise.
27065 * include/resolv.h: Likewise.
27066 * inet/herrno-loc.c: Likewise.
27067 * inet/herrno.c: Likewise.
27068 * malloc/arena.c: Likewise.
27069 * malloc/hooks.c: Likewise.
27070 * malloc/malloc.c: Likewise.
27071 * resolv/res-state.c: Likewise.
27072 * resolv/res_libc.c: Likewise.
27073 * sysdeps/i386/dl-machine.h: Likewise.
27074 * sysdeps/ia64/dl-machine.h: Likewise.
27075 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27076 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27077 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27078 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27079 * sysdeps/sh/dl-machine.h: Likewise.
27080 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27081 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27082 * sysdeps/unix/i386/sysdep.S: Likewise.
27083 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27084 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27085 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27086 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27087 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27088 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27089 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27090 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27091 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27092 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27093 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27094 * sysdeps/x86_64/dl-machine.h: Likewise.
27095 * tls.make.c: Likewise.
27096
3ce1f295
UD
27097 * configure.in: Remove --with-__thread option. Make tests for
27098 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27099 tls_model attribute fail if no support is available. Remove
27100 USE_IN_LIBIO.
27101 * Makeconfig: Adjust for dropped configure option. All features are
27102 now mandatory.
27103 * Makerules: Likewise.
27104 * Versions.def: Likewise.
27105 * argp/argp-fmtstream.c: Likewise.
27106 * argp/argp-fmtstream.h: Likewise.
27107 * argp/argp-help.c: Likewise.
27108 * assert/assert.c: Likewise.
27109 * config.h.in: Likewise.
27110 * config.make.in: Likewise.
27111 * configure: Likewise.
27112 * configure.in: Likewise.
27113 * csu/Versions: Likewise.
27114 * csu/init.c: Likewise.
27115 * elf/tst-audit2.c: Likewise.
27116 * elf/tst-tls10.c: Likewise.
27117 * elf/tst-tls10.h: Likewise.
27118 * elf/tst-tls11.c: Likewise.
27119 * elf/tst-tls12.c: Likewise.
27120 * elf/tst-tls14.c: Likewise.
27121 * elf/tst-tlsmod11.c: Likewise.
27122 * elf/tst-tlsmod12.c: Likewise.
27123 * elf/tst-tlsmod13.c: Likewise.
27124 * elf/tst-tlsmod13a.c: Likewise.
27125 * elf/tst-tlsmod14a.c: Likewise.
27126 * elf/tst-tlsmod15b.c: Likewise.
27127 * elf/tst-tlsmod16a.c: Likewise.
27128 * elf/tst-tlsmod16b.c: Likewise.
27129 * elf/tst-tlsmod7.c: Likewise.
27130 * elf/tst-tlsmod8.c: Likewise.
27131 * elf/tst-tlsmod9.c: Likewise.
27132 * gmon/gmon.c: Likewise.
27133 * grp/fgetgrent_r.c: Likewise.
27134 * grp/putgrent.c: Likewise.
27135 * hurd/fopenport.c: Likewise.
27136 * include/libc-symbols.h: Likewise.
27137 * include/tls.h: Likewise.
27138 * intl/gettextP.h: Likewise.
27139 * intl/loadinfo.h: Likewise.
27140 * locale/global-locale.c: Likewise.
27141 * locale/localeinfo.h: Likewise.
27142 * mach/devstream.c: Likewise.
27143 * malloc/arena.c: Likewise.
27144 * malloc/set-freeres.c: Likewise.
27145 * misc/err.c: Likewise.
27146 * misc/getttyent.c: Likewise.
27147 * misc/mntent_r.c: Likewise.
27148 * posix/getopt.c: Likewise.
27149 * posix/wordexp.c: Likewise.
27150 * pwd/fgetpwent_r.c: Likewise.
27151 * resolv/Versions: Likewise.
27152 * resolv/res_hconf.c: Likewise.
27153 * shadow/fgetspent_r.c: Likewise.
27154 * shadow/putspent.c: Likewise.
27155 * stdio-common/printf_fphex.c: Likewise.
27156 * stdio-common/tmpfile.c: Likewise.
27157 * stdlib/abort.c: Likewise.
27158 * stdlib/fmtmsg.c: Likewise.
27159 * sunrpc/auth_unix.c: Likewise.
27160 * sunrpc/clnt_perr.c: Likewise.
27161 * sunrpc/clnt_tcp.c: Likewise.
27162 * sunrpc/clnt_udp.c: Likewise.
27163 * sunrpc/clnt_unix.c: Likewise.
27164 * sunrpc/openchild.c: Likewise.
27165 * sunrpc/svc_simple.c: Likewise.
27166 * sunrpc/svc_tcp.c: Likewise.
27167 * sunrpc/svc_udp.c: Likewise.
27168 * sunrpc/svc_unix.c: Likewise.
27169 * sunrpc/xdr.c: Likewise.
27170 * sunrpc/xdr_array.c: Likewise.
27171 * sunrpc/xdr_rec.c: Likewise.
27172 * sunrpc/xdr_ref.c: Likewise.
27173 * sunrpc/xdr_stdio.c: Likewise.
27174
1248c1c4
PB
271752011-09-09 Ulrich Drepper <drepper@gmail.com>
27176
27177 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27178
271792011-07-03 Andreas Jaeger <aj@suse.de>
27180
27181 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27182 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27183 regenerate with gen-libm-tests.pl.
27184
271852010-05-12 Petr Baudis <pasky@suse.cz>
27186
27187 [BZ #11589]
27188 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27189 around j0() zero points by switching to j1().
27190 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27191 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27192 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27193 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27194
f22e1074
UD
271952011-09-09 Ulrich Drepper <drepper@gmail.com>
27196
f19009c1
UD
27197 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27198 instead of 0.
27199 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27200 instead of 0.
f19009c1
UD
27201 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27202 Patch in part by Pavel Roskin <proski@gnu.org>.
27203
3f8cc204
UD
27204 [BZ #13138]
27205 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27206 realloc.
27207 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27208 Free memory block if necessary.
27209
f22e1074
UD
27210 [BZ #12847]
27211 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27212 be NULL. Don't lock in this case.
27213
0a2349f9
RM
272142011-09-09 Roland McGrath <roland@hack.frob.com>
27215
27216 * elf/elf.h (ELFOSABI_GNU): New macro.
27217 (ELFOSABI_LINUX): Define to that.
27218
f3cdd467
DZ
272192011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27220
27221 * string/strncat.c (strncat): Undef the symbol in case it has been
27222 defined in bits/string.h.
27223
74718d13
UD
272242011-09-09 Ulrich Drepper <drepper@gmail.com>
27225
633e9e0f
UD
27226 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27227
0a2349f9 27228 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
27229 link map.
27230
f9924780
AJ
272312011-08-17 Andreas Jaeger <aj@suse.de>
27232
27233 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27234
7f5517aa
PP
272352011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27236 Ian Lance Taylor <iant@google.com>
27237
27238 * math/libm-test.inc (lround_test): New testcase.
27239 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27240
762011fe
UD
272412011-09-08 Ulrich Drepper <drepper@gmail.com>
27242
92963737
UD
27243 * Makefile: Remove support for automatic cvs check-ins.
27244 * Makerules: Likewise.
27245 * config.make.in: Likewise.
27246 * configure.in: Likewise.
27247 * intl/Makefile: Likewise.
27248 * locale/Makefile: Likewise.
27249 * po/Makefile: Likewise.
27250 * posix/Makefile: Likewise.
27251 * sysdeps/gnu/Makefile: Likewise.
27252 * sysdeps/mach/hurd/Makefile: Likewise.
27253 * sysdeps/sparc/sparc32/Makefile: Likewise.
27254
b0727fd8
JS
27255 [BZ #13118]
27256 * posix/Makefile (bug-regex32-ENV): Define.
27257 Patch by John Stanley <jpsinthemix@verizon.net>.
27258
a0f33f99
UD
27259 * misc/Makefile (headers): Add bits/select2.h.
27260 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27261 * misc/bits/select2.h: New file.
27262 * include/bits/select2.h: New file.
27263 * debug/Makefile (routines): Add fdelt_chk.
27264 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27265 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27266 FD_ISSET.
27267 * debug/fdelt_chk.c: New file.
27268
762011fe
UD
27269 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27270 * wcsmbs/test-wmemcmp.c: Likewise.
27271 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 27272 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
27273
272742011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27275
27276 * string/Makefile (strop-tests): Add memcmp.
27277 * string/test-wmemcmp.c: New file.
27278 * string/test-memcmp.c: Add wmemcmp support.
27279
7f513ec8
RM
272802011-09-08 Roland McGrath <roland@hack.frob.com>
27281
0442afb4
RM
27282 [BZ #13153]
27283 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27284 2011-07-19 change.
27285
7f513ec8
RM
27286 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27287 garbage value in a __mach_port_mod_refs call in the cases of the
27288 task-self and thread-self ports.
27289
a12b2239
ST
272902011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27291
27292 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27293
610f9ab4
AS
272942011-09-08 Andreas Schwab <schwab@redhat.com>
27295
7f513ec8 27296 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 27297
48882a1a
LD
272982011-09-07 Ulrich Drepper <drepper@gmail.com>
27299
b49865be
UD
27300 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27301
fdc86bc9
UD
27302 * elf/dl-libc.c (dlerror_run): Pass back error code from
27303 dl_catch_error.
27304
c966526a
UD
27305 [BZ #13123]
27306 * elf/dl-load.c (lose): Free l_origin if it is valid.
27307
48882a1a
LD
27308 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27309 names.
27310 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27311 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27312 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27313 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27314 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27315 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27316
77a2a8b4
AZ
273172011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27318
27319 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27320 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27321 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27322 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27323 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27324 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27325 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27326 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27327 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27328 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27329
24f579d8
AM
273302011-08-15 Alan Modra <amodra@gmail.com>
27331
27332 [BZ #13092]
27333 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27334 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27335 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27336 ppc_mcount to static-only-routines.
27337 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27338 __mcount_internal.
27339 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27340 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27341
3d4837df
UD
273422011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27343
27344 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27345 for finite and infinity parameters.
27346
22700377
WS
273472011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27348
27349 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27350 and add nop instructions for throughput optimization.
27351 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27352
5025581e
WS
273532011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27354
27355 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27356 aligned copy for power7 with vector-scalar instructions.
27357 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27358
08a300c9
L
273592011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27360
27361 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27362 AVX check.
27363
59178ef9
AS
273642011-09-07 Andreas Schwab <schwab@redhat.com>
27365
27366 [BZ #13144]
27367 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27368 last change.
27369
e38ba7ab
UD
273702011-09-07 Ulrich Drepper <drepper@gmail.com>
27371
27372 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27373 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27374 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27375 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27376 clock_gettime.
27377
d53a73ac
UD
273782011-09-06 Ulrich Drepper <drepper@gmail.com>
27379
fc8bffcc
UD
27380 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27381 Forgot to demangle the pointer.
27382
ceaa0c5d
UD
27383 * sysdeps/i386/sysdep.h: Define atom_text_section.
27384 * sysdeps/x86_64/sysdep.h: Likewise.
27385 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27386 section with atom_text_section.
27387 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27388 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27389 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27390 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27391 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27392
a77d3c17
UD
27393 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27394 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27395 already be defined. Change to take two parameters and don't assign
27396 result to variable. Adjust all users.
27397 Define INTERNAL_GETTIME if not already defined.
27398 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27399 call.
27400 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27401 HAVE_CLOCK_GETTIME_VSYSCALL.
27402 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27403
d53a73ac
UD
27404 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27405 gettimeofday vsyscall, just use time.
27406
a8f84144
AS
274072011-09-06 Andreas Schwab <schwab@redhat.com>
27408
27409 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27410 <errno.h>.
27411
ef606249
UD
274122011-09-06 Ulrich Drepper <drepper@gmail.com>
27413
27414 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27415 syscall on x86-64.
27416 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27417 syscall.
27418 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27419 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27420 syscall if possible.
27421
6585cb60
UD
274222011-09-05 Ulrich Drepper <drepper@gmail.com>
27423
27424 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27425 e_ident. Don't pass to find_mapsXX.
27426 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27427
a5f524e4
LD
274282011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27429
27430 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27431 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27432 * sysdeps/x86_64/multiarch/strchr.S: Update.
27433 Check bit_slow_BSF bit.
27434 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27435 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27436 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27437
554881ef
UD
274382011-09-05 Ulrich Drepper <drepper@gmail.com>
27439
d96de963
UD
27440 [BZ #13134]
27441 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27442 before glibc 2.15.
27443 (tryshell): Define.
27444 (__spawni): Change last parameter to be flag. Test
27445 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27446 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27447 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27448 * posix/spawni.c: Likewise.
27449 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27450 * posix/spawnp.c: Likewise. Change normal version to use
27451 SPAWN_XFLAGS_USE_PATH.
27452 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27453 SPAWN_XFLAGS_TRY_SHELL.
27454
d48e5868
UD
27455 [BZ #13150]
27456 * posix/glob.h: Remove gcc 1.x support.
27457
554881ef
UD
27458 [BZ #13068]
27459 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27460
693fb948
LD
274612011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27462
27463 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27464 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27465 strrchr-sse2-bsf
27466 * sysdeps/i386/i686/multiarch/strchr.S: New file.
27467 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27468 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27469 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27470 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27471 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27472
1b48c537
UD
274732011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27474
49d42c37
UD
27475 * sysdeps/x86_64/wcscmp.S: New file.
27476
1b48c537
UD
27477 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27478 wcscmp-c wcscmp-sse2
27479 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27480 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27481 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27482 * wcsmbs/wcscmp.c: Allow renaming.
27483
15c95c5d
DM
274842011-09-05 David S. Miller <davem@davemloft.net>
27485
27486 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27487 stack slot, rather than the struct return pointer slot.
27488 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27489 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27491 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27492
2f0ad8f3
UD
274932011-09-05 Ulrich Drepper <drepper@gmail.com>
27494
d88ae418
UD
27495 * po/ja.po: Update from translation team.
27496
2f0ad8f3
UD
27497 [BZ #13144]
27498 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27499 kernel in 64-bit binaries.
27500
5f4318d1
DM
275012011-09-01 David S. Miller <davem@davemloft.net>
27502
27503 * elf/elf.h (HWCAP_SPARC_*): Move to..
27504 * sysdeps/sparc/sysdep.h: this new file and add new values.
27505 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27506 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27507 _DL_HWCAP_COUNT to 24.
27508 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27509 entries.
27510 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27511 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27512 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27513 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27514 instead of magic constants.
27515 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27516
3ba57516
DM
275172011-08-31 David S. Miller <davem@davemloft.net>
27518
27519 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27520 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27521 Reimplement to do errno handling inline.
27522 (SYSCALL_ERROR_HANDLER): New macro.
27523 (__SYSCALL_STRING): Do not do errno handling in asm.
27524 (__CLONE_SYSCALL_STRING): Delete.
27525 (__INTERNAL_SYSCALL_STRING): Delete.
27526 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27527 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27528 (PSEUDO): Reimplement to do errno handling inline.
27529 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27530 (SYSCALL_ERROR_HANDLER): New macro.
27531 (__SYSCALL_STRING): Do not do errno handling in asm.
27532 (__CLONE_SYSCALL_STRING): Delete.
27533 (__INTERNAL_SYSCALL_STRING): Delete.
27534 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27535 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27536 i386.
27537 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27538 (inline_syscall*): Add 'err' argument.
27539 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27540 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27541 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27542 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27543
27544 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27545 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27546
2bc17433
AS
275472011-08-30 Andreas Schwab <schwab@redhat.com>
27548
27549 * elf/rtld.c (dl_main): Relocate objects in dependency order.
27550
fbeb5f4d
JO
275512011-08-29 Jiri Olsa <jolsa@redhat.com>
27552
27553 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27554 directive.
27555
ad69cc26
DM
275562011-08-24 David S. Miller <davem@davemloft.net>
27557
27558 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27559
39dd69df
AS
275602011-08-24 Andreas Schwab <schwab@redhat.com>
27561
27562 * elf/Makefile: Add rules to build and run unload8 test.
27563 * elf/unload8.c: New file.
27564 * elf/unload8mod1.c: New file.
27565 * elf/unload8mod1x.c: New file.
27566 * elf/unload8mod2.c: New file.
27567 * elf/unload8mod3.c: New file.
27568
27569 * elf/dl-close.c (_dl_close_worker): Reset private search list if
27570 it wasn't used.
27571
2c0b250a
DM
275722011-08-23 David S. Miller <davem@davemloft.net>
27573
27574 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27575 subtract stack bias.
27576 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27577 %sp not %fp in calculations.
27578 (_JMPBUF_UNWINDS_ADJ): Likewise.
27579
22044b48
DM
27580 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27581 (aio_suspend): Call it to force an exception region around the
27582 AIO_MISC_WAIT() invocation.
27583
2cae4995
AS
275842011-08-23 Andreas Schwab <schwab@redhat.com>
27585
27586 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27587 backslash.
27588
873a772e
AJ
275892011-07-04 Aurelien Jarno <aurelien@aurel32.net>
27590
27591 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27592 protection macro.
27593 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27594 and <dl-machine.h>.
27595 (Elf64_FuncDesc): Remove.
27596
25ad0df1
DM
275972011-08-22 David S. Miller <davem@davemloft.net>
27598
27599 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27600 sigaltstack check, add missing cfi directives.
27601 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27602 missing cfi directives, and sigaltstack handling.
27603
e888bcbe
AS
276042011-08-16 Andreas Schwab <schwab@redhat.com>
27605
27606 [BZ #11724]
27607 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27608 object is seen twice.
27609 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27610
27611 * elf/Makefile (distribute): Add tst-initorder2.c.
27612 (tests): Add tst-initorder2.
27613 (modules-names): Add tst-initorder2a tst-initorder2b
27614 tst-initorder2c tst-initorder2d. Add rules to build them.
27615 ($(objpfx)tst-initorder2.out): New rule.
27616 * elf/tst-initorder2.c: New file.
27617 * elf/tst-initorder2.exp: New file.
27618
87162f46
AS
276192011-08-22 Andreas Schwab <schwab@redhat.com>
27620
70538b7f
AS
27621 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27622
f55ffe58
AS
27623 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27624 dependencies back to end of function.
27625
87162f46
AS
27626 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27627 $(elfobjdir)/ld.so.
27628
91b392a4
UD
276292011-08-21 Ulrich Drepper <drepper@gmail.com>
27630
27631 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27632 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27633 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27634 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27635 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27636 of __vdso_gettimeofday.
27637 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27638 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
27639 attribute_hidden.
27640 (_libc_vdso_platform_setup): Remove initialization of
27641 __vdso_gettimeofday and __vdso_time.
27642
5c43483f
UD
276432011-08-20 Ulrich Drepper <drepper@gmail.com>
27644
775a77e7
UD
27645 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27646 and fgetc_unlocked.
27647 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27648 getc_unlocked.
89f447ed 27649
49c74ba9
UD
27650 * elf/dl-open.c (add_to_global): Report additions to the global scope
27651 for LD_DEBUG=scopes.
27652 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 27653 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 27654
5c43483f
UD
27655 [BZ #13114]
27656 * stdio-common/Makefile (tests): Add bug24.
27657 * stdio-common/bug24.c: New file.
27658
a101b025
AJ
276592011-08-19 Andreas Jaeger <aj@suse.de>
27660
27661 [BZ #13114]
27662 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27663 non-existant file when using close-on-exec mode.
27664
c88f1766
UD
276652011-08-20 Ulrich Drepper <drepper@gmail.com>
27666
0276a718
UD
27667 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27668 the very first instruction.
27669
c88f1766
UD
27670 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27671 the CFI state in the end.
27672 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27673 inclusion of dl-trampoline.h.
27674 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27675
51ccffa0
AS
276762011-08-19 Andreas Schwab <schwab@redhat.com>
27677
94d7165f
AS
27678 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27679 expectations for long double.
27680
51ccffa0
AS
27681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27682 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27683
fd708658 276842011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
27685
27686 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27687 artificual limit depends upon the system page size.
27688
44f0a71e
UD
276892011-08-17 Ulrich Drepper <drepper@gmail.com>
27690
27691 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27692 * resolv/Makefile: Define CFLAGS-libresolv.
27693
8de79a24
AS
276942011-08-17 Andreas Schwab <schwab@redhat.com>
27695
27696 * nss/makedb.c (compute_tables): Make variables used in nested
27697 function static.
27698
27724598
UD
276992011-08-17 Ulrich Drepper <drepper@gmail.com>
27700
c5305d88
UD
27701 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27702 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27703 if buffer was too small.
27704
27724598
UD
27705 * elf/pldd.c (main): Attach to all threads in the process.
27706 Rewrite /proc handling to use *at functions.
27707
076fe015
UD
277082011-08-16 Ulrich Drepper <drepper@gmail.com>
27709
174baab3
UD
27710 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27711 specifies first scope to show.
27712 (dl_open_worker): Update callers. Move printing scope of new
27713 object to before the relocation.
44f0a71e 27714 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
27715 * sysdeps/generic/ldsodefs.h: Update declaration.
27716
076fe015
UD
27717 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27718 string for the scope number.
27719
a60df2c3
UD
277202011-08-14 Ulrich Drepper <drepper@gmail.com>
27721
27722 * nscd/servicescache.c (cache_addserv): Make sure written is always
27723 initialized.
27724
5e4287d1
RM
277252011-08-14 Roland McGrath <roland@hack.frob.com>
27726
85ae0589
RM
27727 * sysdeps/i386/i486/bits/atomic.h
27728 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27729 statement expression, so as to suppress "set but not used" warning.
27730 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27731
69f63097
RM
27732 * string/strncat.c (STRNCAT): Use prototype definition.
27733
675456ef
RM
27734 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
27735 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
27736 -Iprograms here.
27737 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
27738 (localedef-modules): Add localedef.
27739 (locale-modules): Add locale.
27740
5e4287d1
RM
27741 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
27742 * elf/rtld.c (dl_main): Invert order of assignment in last change,
27743 to avoid a warning.
27744
9c96ff23
DM
277452011-08-14 David S. Miller <davem@davemloft.net>
27746
27747 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
27748 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
27749
f9ddf089
UD
277502011-08-13 Ulrich Drepper <drepper@gmail.com>
27751
44f0a71e 27752 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
27753 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
27754 * elf/rtld.c (dl_main): Set l_name of vDSO.
27755 Call _dl_show_scope when DL_DEBUG_SCOPES.
27756 (process_dl_debug): Recognize scopes flag and also set it for all.
27757 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
27758 Declare _dl_show_scope.
27759
1dc27704
UD
27760 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
27761 (do_dlopen): Pass caller_dlopen to dl_open.
27762 (__libc_dlopen_mode): Initialize caller_dlopen.
27763
f9ddf089
UD
27764 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
27765 of libc. Make tolower call locale-independent. Optimize a bit by
27766 using isdigit instead of isalnum.
27767 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
27768
9ac533d3
UD
277692011-08-12 Ulrich Drepper <drepper@gmail.com>
27770
27771 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
27772 was a dependency or dynamically loaded.
27773
89edf2e9
UD
277742011-08-11 Ulrich Drepper <drepper@gmail.com>
27775
8e999d29
UD
27776 * intl/l10nflist.c: Allow architecture-specific pop function.
27777 * sysdeps/x86_64/l10nflist.c: New file.
27778
89edf2e9
UD
27779 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
27780 classification.
27781
14d96785
AS
277822011-08-10 Andreas Schwab <schwab@redhat.com>
27783
27784 * include/dirent.h: Add libc_hidden_proto for scandirat and
27785 scandirat64. Don't declare __scandirat64.
27786 * dirent/scandirat.c: Add libc_hidden_def.
27787 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
27788 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
27789
6761ac04
DM
277902011-08-10 David S. Miller <davem@davemloft.net>
27791
27792 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
27793 enum.
27794 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27795 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27796 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27797
c55fbd1e
UD
277982011-08-09 Ulrich Drepper <drepper@gmail.com>
27799
27800 * Versions.def [libc]: Add GLIBC_2.15.
27801 * dirent/Makefile (routines): Add scandirat and scandirat64.
27802 * dirent/Versions [libc]: Export scandirat and scandirat64 for
27803 GLIBC_2.15.
27804 * dirent/dirent.h: Declare scandirat and scandirat64.
27805 * dirent/scandirat.c: New file.
27806 * dirent/scandirat64.c: New file.
27807 * sysdeps/wordsize-64/scandirat.c: New file.
27808 * sysdeps/wordsize-64/scandirat64.c: New file.
27809 * dirent/opendir.c: Define opendirat.
27810 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
27811 using scandirat.
27812 * dirent/scandir64.c: Adjust for scandir.c change.
27813 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
27814 __scandirat64, and __scandir_cancel_handler.
27815 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
27816 additional parameter and use openat instead of open (outside of ld.so).
27817 Add new __opendir as wrapper around __opendirat.
27818 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
27819 here without requiring old scandirat implementation.
27820
879165f2
UD
278212011-08-08 Ulrich Drepper <drepper@gmail.com>
27822
27823 * dirent/scandir.c (cancel_handler): Renamed to
27824 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
27825 defined. Adjust users.
27826 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
27827 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
27828
cb7e923b
UD
278292011-08-04 Ulrich Drepper <drepper@gmail.com>
27830
16292edd
UD
27831 * string/test-string.h (IMPL): Use __STRING to expand name and then
27832 stringify it.
27833
cb7e923b
UD
27834 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
27835 of cleanups.
27836
cff82933
LD
278372011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27838
27839 * string/Makefile: Update.
27840 (strop-tests): Append strncat.
27841 * string/test-wcscmp.c: New file.
27842 New comprehensive test for wcscmp.
27843 * string/test-strcmp.c: Update.
27844 (WIDE): New define.
27845
9be9bfcc
AS
278462011-07-22 Andreas Schwab <schwab@redhat.com>
27847
27848 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
27849 line.
27850
2e96f1c7
AS
278512011-07-26 Andreas Schwab <schwab@redhat.com>
27852
27853 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27854 encoding to ACE if AI_IDN.
27855
85188888
JJ
278562011-08-01 Jakub Jelinek <jakub@redhat.com>
27857
27858 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
27859 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
27860
5fa16e9b
LD
278612011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27862
27863 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
27864 Fix overflow bug in strncat.
27865 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27866
27867 * string/test-strncat.c: Update.
27868 Add new tests for checking overflow bugs.
27869
278702011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27871
27872 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27873 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
27874 * sysdeps/i386/i686/multiarch/strcat.S: New file.
27875 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
27876 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
27877 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
27878 * sysdeps/i386/i686/multiarch/strncat.S: New file.
27879 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
27880 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
27881
27882 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
27883 (USE_AS_STRCAT): Define.
27884 Add strcat and strncat support.
27885 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27886
8c1a459f
AS
278872011-07-25 Andreas Schwab <schwab@redhat.com>
27888
27889 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
27890 __n bigger than INT_MAX+1.
27891 (__strncmp_g): Likewise.
27892
bba33c28
UD
278932011-07-23 Ulrich Drepper <drepper@gmail.com>
27894
798be72d
UD
27895 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
27896 * libio/stido.h: Likewise.
27897
8accd4dc
UD
27898 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
27899 (AF_NFC): Define.
27900 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
27901 (AF_NFC): Define.
27902
cbff0d96
UD
27903 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
27904 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27905 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27906 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27907 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27908
9191c04a
UD
27909 [BZ #13021]
27910 * scripts/test-installation.pl: Don't expect libnss_test1 to be
27911 installed.
27912
bba33c28
UD
27913 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
27914 typo.
27915 (_dl_x86_64_save_sse): Likewise.
27916
90f139dd
UD
279172011-07-22 Ulrich Drepper <drepper@gmail.com>
27918
1aae088a
UD
27919 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
27920 OSXSAVE.
27921 (_dl_x86_64_save_sse): Likewise.
27922
8e2045f5
UD
27923 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
27924
90f139dd
UD
27925 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
27926
1d002f25
AS
279272011-07-21 Andreas Schwab <schwab@redhat.com>
27928
27929 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
27930 change.
27931 (_dl_x86_64_save_sse): Use correct AVX check.
27932
21137f89
UD
279332011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27934
27935 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
27936 bug in strncpy/strncat.
27937 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27938
a65c0b7a
UD
279392011-07-21 Ulrich Drepper <drepper@gmail.com>
27940
27941 * string/tester.c (test_strcat): Add tests for different alignments
27942 of source and destination.
27943 (test_strncat): Likewise.
27944
6986b98a
UD
279452011-07-20 Ulrich Drepper <drepper@gmail.com>
27946
90bb2039
UD
27947 [BZ #12852]
27948 * posix/glob.c (glob): Check passed in values before using them in
27949 expressions to avoid some overflows.
27950 (glob_in_dir): Likewise.
27951
5644ef54
UD
27952 [BZ #13007]
27953 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
27954 check for AVX enablement so that we don't crash with old kernels and
27955 new hardware.
27956 * elf/tst-audit4.c: Add same checks here.
27957 * elf/tst-audit6.c: Likewise.
27958
27959 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 27960
bfc9dc9b
AS
279612011-07-09 Andreas Schwab <schwab@linux-m68k.org>
27962
27963 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
27964
702e64bb
UD
279652011-07-20 Ulrich Drepper <drepper@gmail.com>
27966
27967 * po/cs.po: Update from translation team.
27968 * po/bg.po: Likewise.
27969
295e904f
MP
279702011-07-12 Marek Polacek <mpolacek@redhat.com>
27971
27972 * misc/sys/cdefs.h: Add support for const attribute.
27973 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
27974 to gnu_dev_{major,minor,makedev} functions.
27975
3ff94596
MP
279762011-07-20 Marek Polacek <mpolacek@redhat.com>
27977
27978 * intl/dcigettext.c (get_output_charset): Add missing bracket.
27979
28b59fca
AS
279802011-07-20 Andreas Schwab <schwab@redhat.com>
27981
27982 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
27983 strlen results.
27984
19df733e
AK
279852011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27986
27987 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
27988 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
27989 register in order to avoid conflicts with the soft frame pointer
27990 being held in r11 when necessary.
27991 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27992 (INTERNAL_VSYSCALL_NCS): Likewise.
27993
c8835729
MP
279942011-07-14 Marek Polacek <mpolacek@redhat.com>
27995
27996 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
27997 * elf/dl-fini.c (_dl_fini): Adjust caller.
27998 * elf/dl-close.c (_dl_close_worker): Likewise.
27999 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28000
b902330c
MP
280012011-07-15 Marek Polacek <mpolacek@redhat.com>
28002
8991e135
MP
28003 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28004 "aux_cache->nlibs < 0".
28005
b902330c
MP
28006 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28007 in the reload-count case.
28008
99710781
LD
280092011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28010
28011 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28012 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28013 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28014 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28015 * sysdeps/x86_64/multiarch/strcat.S: New file.
28016 * sysdeps/x86_64/multiarch/strncat.S: New file.
28017 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28018 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28019 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28020 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28021 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28022 (USE_AS_STRCAT): Define.
28023 Add strcat and strncat support.
28024 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28025 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28026 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28027 * string/strncat.c: Update.
28028 (USE_AS_STRNCAT): Define.
28029 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28030 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28031 and i7.
28032 * sysdeps/x86_64/multiarch/init-arch.h
28033 (bit_Prefer_PMINUB_for_stringop): New.
28034 (index_Prefer_PMINUB_for_stringop): Likewise.
28035 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28036 bit_Prefer_PMINUB_for_stringop.
28037
7dc6bd90
UD
280382011-07-19 Ulrich Drepper <drepper@gmail.com>
28039
28040 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28041 buffer64.
28042 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28043 of casting of buffer.
28044 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28045 buffer32 and buffer64.
28046 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28047 writes instead of casting of buffer.
28048 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28049 buffer32.
28050 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28051 casting of buffer.
28052
e0e72284
AS
280532011-07-19 Andreas Schwab <schwab@redhat.com>
28054
28055 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28056
feb1eb0b
UD
280572011-07-19 Ulrich Drepper <drepper@gmail.com>
28058
28059 * nscd/nscd.c (termination_handler): Don't do anything for a database
28060 if it has not yet been initialized.
28061
298711ff
UD
280622011-07-18 Ulrich Drepper <drepper@gmail.com>
28063
28064 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28065
280662011-07-15 Marek Polacek <mpolacek@redhat.com>
28067
28068 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28069
f9d68389
UD
280702011-07-18 Ulrich Drepper <drepper@gmail.com>
28071
28072 * po/nl.po: Update from translation team.
28073 * po/sv.po: Likewise.
28074
db290cf5
RM
280752011-07-16 Roland McGrath <roland@hack.frob.com>
28076
28077 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28078 now disallowed by GCC.
5c550700 28079
fd5e21c7
RM
28080 * configure.in (use-default-link): Default to yes if a test -shared
28081 link meets our qualifications.
28082 * configure: Regenerated.
28083
5c550700
RM
28084 * config.make.in (output-format): New variable.
28085 * configure.in: Check for ld --print-output-format support.
28086 * configure: Regenerated.
28087 * Makerules ($(common-objpfx)format.lds)
28088 [$(output-format) != unknown]: Just use $(output-format),
28089 instead of the linker-script munging.
28090
9fa2c032
RM
280912011-07-14 Roland McGrath <roland@hack.frob.com>
28092
a6928d51
RM
28093 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28094 of $(common-objpfx)shlib.lds.
28095 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28096
661607b3
RM
28097 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28098 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28099
9fa2c032
RM
28100 * configure.in (-z relro check): Adjust test code to add a large
28101 writable data section after it.
28102 * configure: Regenerated.
28103
defe9061
RM
281042011-07-11 Roland McGrath <roland@hack.frob.com>
28105
28106 * configure.in (-z relro check): Fix test code to make the variable
28107 truly const.
28108 * configure: Regenerated.
28109
319b9ad4
UD
281102011-07-11 Ulrich Drepper <drepper@gmail.com>
28111
28112 * nscd/nscd.h (struct traced_file): Define.
28113 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28114 elements. Add traced_files.
28115 (inotify_fd): Declare.
28116 (register_traced_file): Declare.
28117 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28118 (inotify_fd): Export.
28119 (resolv_conf_descr): Remove.
28120 (nscd_init): Move inotify descriptor creation to main.
28121 Don't register files for notification here.
28122 (register_traced_file): New function.
28123 (invalidate_cache): Don't use reset_res to determine whether to call
28124 res_init, go through the list of registered files.
28125 (main_loop_poll): The inotify descriptors are now stored in the
28126 structures for the traced files.
28127 (main_loop_epoll): Likewise
28128 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28129 to __nss_disable_nscd.
28130 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28131 for a database anymore. Check the records for all the registered
28132 files instead.
28133 * nss/Makefile (libnss_files-routines): Add files-init.
28134 (libnss_db-routines): Add db-init.
28135 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28136 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28137 * nss/nss_db/db-init.c: New file.
28138 * nss/nss_files/files-init.c: New file.
28139 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28140 __nss_lookup_function.
28141 (__nss_lookup_function): Call nss_load_library.
28142 (nss_load_all_libraries): New function.
28143 (__nss_disable_nscd): Take parameter with callback function for files
28144 to register. Set is_nscd. Load all the DSOs for the NSS modules
28145 used for the cached services.
28146 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28147 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28148 options for features to all the files in nscd.
28149
28150 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28151
23bee3e8
RM
281522011-07-10 Roland McGrath <roland@hack.frob.com>
28153
28154 * csu/elf-init.c (__libc_csu_init): Comment typo.
28155
46a5b7f0
UD
281562011-07-09 Ulrich Drepper <drepper@gmail.com>
28157
28158 * po/pl.po: Update from translation team.
28159 * po/ja.po: Likewise.
28160 * po/ru.po: Likewise.
28161 * po/ko.po: Likewise.
28162 * po/fr.po: Likewise.
28163
d30cf5bb
RM
281642011-07-09 Roland McGrath <roland@hack.frob.com>
28165
113ddea4
RM
28166 * configure.in (.ctors/.dtors header and trailer check):
28167 Use an empirical test on a built program.
28168 * configure: Regenerated.
28169
574920b4
RM
28170 * configure.in (-z relro check): Use an empirical test on a built DSO.
28171 Detect, but do not require, on ia64.
28172 * configure: Regenerated.
28173
d30cf5bb
RM
28174 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28175 Update tests that use readelf to use $READELF instead.
28176 * configure: Regenerated.
28177
8538fdb3
UD
281782011-07-08 Ulrich Drepper <drepper@gmail.com>
28179
28180 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28181 if the result is not used.
28182
04d08991
AJ
281832011-07-05 Andreas Jaeger <aj@suse.de>
28184
28185 [BZ#9696]
28186 * stdlib/tst-strtod.c: Add testcase.
28187
de283087
AD
281882011-07-07 Ulrich Drepper <drepper@gmail.com>
28189
4e5f31c8 28190 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28191 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28192 The latter has a higher limit. Take additional parameter to pass to
28193 the new function.
28194 (__pathconf): Pass file to __statfs_link_max.
28195 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28196 __statfs_link_max.
28197 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28198 __statfs_link_max.
28199
de283087
AD
28200 [BZ #12868]
28201 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28202 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28203 Handle Lustre.
28204 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28205 (__statfs_filesize_max): Likewise.
28206 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28207
c75fa153
AJ
282082011-07-05 Andreas Jaeger <aj@suse.de>
28209
28210 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28211
1a544854
UD
282122011-07-06 Marek Polacek <mpolacek@redhat.com>
28213
28214 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28215 `status' variable.
28216 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28217 Likewise.
28218
6f0eec67
UD
282192011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28220
28221 * Makefile (strop-tests): Add strncat.
28222 * string/test-strncat.c: New file.
28223
aae30307
UD
282242011-06-30 Marek Polacek <mpolacek@redhat.com>
28225
28226 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28227
c0cfb5eb
UD
282282011-06-21 Andreas Jaeger <aj@suse.de>
28229
28230 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28231 Copy rule from iconvdata/Makefile.
28232
01636b21
UD
282332011-07-06 Ulrich Drepper <drepper@gmail.com>
28234
28235 [BZ #12922]
28236 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28237 but no long options are defined, just return 'W'.
28238
9895c8bc
UD
282392011-06-22 Marek Polacek <mpolacek@redhat.com>
28240
28241 [BZ #9696]
28242 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28243
5d4cf042
UD
282442011-07-06 Ulrich Drepper <drepper@gmail.com>
28245
28246 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28247 netgroups to read.
960e5535 28248 (innetgr): Likewise.
5d4cf042 28249
751eb97e
RM
282502011-07-05 Roland McGrath <roland@hack.frob.com>
28251
28252 * config.make.in (install_root): Default to $(DESTDIR).
28253
f15f1e45
UD
282542011-07-05 Ulrich Drepper <drepper@gmail.com>
28255
28256 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28257
4e34ac6a
RM
282582011-07-02 Roland McGrath <roland@hack.frob.com>
28259
5e9b6af4
RM
28260 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28261
84f9ea0f
RM
28262 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28263 containing directory rather than embedding absolute directory names.
28264
ea5ee9f7
RM
28265 * scripts/check-local-headers.sh: Rewritten using awk.
28266 Match by word, not by line. Print error messages for matches.
28267 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28268
1b74661a
RM
28269 * Makerules [shlib-lds-flags empty]:
28270 ($(common-objpfx)libc_pic.opts): New target.
28271 ($(common-objpfx)libc_pic.os.clean): New target.
28272 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28273
28274 * config.make.in (OBJCOPY): New variable.
28275 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28276 * configure: Regenerated.
28277
f781ef40
RM
28278 * config.make.in (use-default-link): New variable.
28279 * configure.in (use_default_link): Grok --with-default-link to set it.
28280 * configure: Regenerated.
28281 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28282 (shlib-lds, shlib-lds-flags): Define to empty.
28283
2d4fa81e
RM
28284 * Makerules (shlib-lds): New variable.
28285 (shlib-lds-flags): New variable.
28286 (build-shlib, build-moduile, build-module-asneeded): Use it.
28287 ($(common-objpfx)libc.so): Use $(shlib-lds).
28288 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28289 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28290
31fffa6b
RM
28291 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28292 DT_FLAGS/DT_FLAGS_1 with zero flags.
28293
4e34ac6a
RM
28294 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28295 linker script munging.
28296
fcfc776b
UD
282972011-07-02 Ulrich Drepper <drepper@gmail.com>
28298
28299 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28300 as 128-bit value.
28301 * crypt/sha512.c (sha512_process_block): Perform total addition using
28302 128-bit if possible.
28303 (__sha512_finish_ctx): Likewise.
28304 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28305 as 64-bit value.
28306 * crypt/sha256.c (SWAP64): Define.
28307 (sha256_process_block): Perform total addition using 64-bit if
28308 possible.
28309 (__sha256_finish_ctx): Likewise.
28310
99231d9a
UD
283112011-07-01 Ulrich Drepper <drepper@gmail.com>
28312
28313 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28314 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28315 * nscd/hstcache.c (cache_addhst): Likewise.
28316 * nscd/grpcache.c (cache_addgr): Likewise.
28317 * nscd/aicache.c (addhstaiX): Likewise
28318 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28319
445b4a53
TK
283202011-07-01 Thorsten Kukuk <kukuk@suse.de>
28321
28322 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28323 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28324 * nscd/hstcache.c (cache_addhst): Likewise.
28325 * nscd/grpcache.c (cache_addgr): Likewise.
28326 * nscd/aicache.c (addhstaiX): Likewise
28327
6d4d8e8e
AS
283282011-07-01 Andreas Schwab <schwab@redhat.com>
28329
28330 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28331 domain only when needed.
28332
89f654c5
AS
283332011-06-30 Andreas Schwab <schwab@redhat.com>
28334
28335 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28336 is always restored.
28337
cf3b23ff
UD
283382011-06-29 Ulrich Drepper <drepper@gmail.com>
28339
28340 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28341 are re-adding the entry.
28342 * nscd/servicescache.c (cache_addserv): Likewise.
28343
751626f9
AJ
283442011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28345
28346 * sysdeps/generic/dl-irel.h: fix protection against multiple
28347 inclusions.
28348 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28349
9113ea1f
UD
283502011-06-28 Ulrich Drepper <drepper@gmail.com>
28351
5c0b8d90
UD
28352 [BZ #12935]
28353 * malloc/memusage.sh: Fix quoting in message.
28354 * debug/xtrace.sh: Likewise.
28355
9113ea1f
UD
28356 * configure.in: Remove support for --experimental-malloc option, make
28357 it the default.
28358 * config.make.in: Likewise.
28359 * malloc/Makefile: Likewise.
28360
a4172181
AS
283612011-06-27 Andreas Schwab <schwab@redhat.com>
28362
28363 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28364 two-byte characters.
28365
78a7eee7
RM
283662011-06-27 Roland McGrath <roland@hack.frob.com>
28367
62bede13
RM
28368 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28369 AC_CACHE_CHECK invocation.
28370 * configure: Regenerated.
28371
78a7eee7
RM
28372 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28373
5ce33a62
UD
283742011-06-27 Ulrich Drepper <drepper@gmail.com>
28375
034807a9
UD
28376 [BZ #12350]
28377 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28378 bit from old_res_options.
28379
4902da17
UD
28380 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28381
5ce33a62
UD
28382 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28383 value type for setfct.
28384
c2344f56
L
283852011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28386
28387 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28388 __gettimeofday instead of gettimeofday.
28389
68468076
UD
283902011-06-26 Ulrich Drepper <drepper@gmail.com>
28391
28392 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28393
acb0d739
L
283942011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28395
28396 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28397
28398 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28399 info.
28400
8912479f
L
284012011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28402
28403 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28404 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28405 strcpy-sse2-unaligned strncpy-sse2-unaligned
28406 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28407 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28408 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28409 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28410 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28411 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28412 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28413 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28414 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28415 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28416 (STRCPY): Support SSE2 and SSSE3 versions.
28417
d5495a11
UD
284182011-06-24 Ulrich Drepper <drepper@gmail.com>
28419
28420 [BZ #12874]
28421 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28422 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28423 kernels which artificially limit size of requests.
28424
0b1cbaae
L
284252011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28426
28427 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28428 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28429 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28430 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28431 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28432 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28433 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28434 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28435 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28436 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28437 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28438 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28439 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28440 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28441 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28442 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28443 Enable unaligned load optimization for Intel Core i3, i5 and i7
28444 processors.
28445 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28446 Define.
28447 (index_Fast_Unaligned_Load): Define.
28448 (HAS_FAST_UNALIGNED_LOAD): Define.
28449
07f494a0
MP
284502011-06-23 Marek Polacek <mpolacek@redhat.com>
28451
28452 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28453
fa3fc0fe
UD
284542011-06-22 Ulrich Drepper <drepper@gmail.com>
28455
28456 [BZ #12907]
28457 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28458 until it is clear that the information is realy needed.
28459 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28460
e12df166
AS
284612011-06-22 Andreas Schwab <schwab@redhat.com>
28462
28463 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28464
852eb34d
UD
284652011-06-22 Ulrich Drepper <drepper@gmail.com>
28466
84e2a551
UD
28467 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28468 /sys/devices/system/cpu/online if it is usable.
28469
852eb34d
UD
28470 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28471 reading the information from the /proc filesystem to once a second.
28472
6e502e19
UD
284732011-06-21 Andreas Jaeger <aj@suse.de>
28474
28475 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28476 NULL after inclusion of kernel headers.
28477
75d39ff2
UD
284782011-06-21 Ulrich Drepper <drepper@gmail.com>
28479
51f9aa6a
UD
28480 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28481 calls to internal_setent.
28482
c0244a9d
UD
28483 [BZ #12885]
28484 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28485 addresses using gethostbyname4_r ignore IPv4 addresses.
28486
c5e3c2ae
UD
28487 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28488 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
28489
75d39ff2
UD
28490 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28491
42675c6f
DM
284922011-06-20 David S. Miller <davem@davemloft.net>
28493
28494 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28495 inclusions.
28496 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28497
28498 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28499 (elf_irel): Use it.
28500 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28501 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28502 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28503 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28504 * sysdeps/x86_64/dl-irel.h: Likewise.
28505
28506 * elf/dl-runtime.c: Use elf_ifunc_invoke.
28507 * elf/dl-sym.c: Likewise.
28508
57912a71
UD
285092011-06-15 Ulrich Drepper <drepper@gmail.com>
28510
28511 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
28512 need to dereference resplen2.
28513
ee22793d
AS
285142011-06-14 Andreas Schwab <schwab@redhat.com>
28515
28516 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28517
a9e836b0
UD
285182011-06-15 Ulrich Drepper <drepper@gmail.com>
28519
77fb9117
UD
28520 * Makeconfig: Define vardbdir and inst_vardbdir.
28521 * nss/Makefile: Add rules to install db-Makefile.
28522
40c1b22c
UD
28523 * nss/nss_db/db-XXX.c: Cleanup.
28524
9f2da732
UD
28525 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28526 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28527 GLIBC_PRIVATE.
28528 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28529 * nss/makedb.c: Implement -g option to specify that value strings
28530 are generated and should not be added to table iterated over for
28531 get*ent calls.
28532 * nss/nss_db/db-initgroups.c: New file.
28533
82e9a1f7
UD
28534 * nss/getent.c: Add support for initgroups lookups through getgrouplist
28535 interface.
28536
c41af17e
UD
28537 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28538 (internal_getgrouplist): Adjust to name change.
28539 Update use_initgroups_entry if this is not the first call.
28540 * nss/databases.def: Add initgroups entry.
28541
a9e836b0
UD
28542 * nss/makedb.c (compute_tables): Check result of multiple hash table
28543 sizes to minimize maximum chain length.
28544
2666d441
UD
285452011-06-14 Ulrich Drepper <drepper@gmail.com>
28546
28547 * Versions.def: Add entry for libnss_db.
28548 * shlib-versions: Likewise.
28549 * nss/Makefile: Add rules to build libnss_db.
28550 * nss/Versions: Add libnss_db information. Organize libnss_files
28551 entries better.
28552 * nss/db-Makefile: Add gshadow support. Change rules for the new
28553 makedb progra. Some minor improvements to generate smaller files.
28554 * nss/nss_db/nss_db.h: Move NSS database header data structures to
28555 here from...
28556 * nss/makedb.c: ...here.
28557 Improve database format to be smaller and require less memory at
28558 runtime.
28559 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
28560 db anymore.
28561 * nss/nss_db/db-netgrp.c: Likewise.
28562 * nss/nss_db/db-open.c: Likewise.
28563 * nss/nss_files/flies-XXX.x: Adjust comments.
28564 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28565 * nss/nss_files/files-grp.c: Likewise.
28566 * nss/nss_files/files-hosts.c: Likewise.
28567 * nss/nss_files/files-network.c: Likewise.
28568 * nss/nss_files/files-proto.c: Likewise.
28569 * nss/nss_files/files-pwd.c: Likewise.
28570 * nss/nss_files/files-rpc.c: Likewise.
28571 * nss/nss_files/files-service.c: Likewise.
28572 * nss/nss_files/files-sgrp.c: Likewise.
28573 * nss/nss_files/files-spwd.c: Likewise.
28574 * nss/nss_db/db-alias.c: Removed.
28575 * nss/nss_db/dummy-db.h: Removed.
28576
9ee76b5a
UD
285772011-06-02 Ulrich Drepper <drepper@gmail.com>
28578
28579 * nss/makedb.c: Rewritten to not use database library.
28580 * nss/Makefile: Update to build new makedb program.
28581
c71ca1f8
AJ
285822011-06-14 Andreas Jaeger <aj@suse.de>
28583
28584 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28585 memset declaration.
28586
3154bfb8
UD
285872011-06-10 Andreas Schwab <schwab@redhat.com>
28588
28589 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28590 tmpbuf.
28591
b350afab
RM
285922011-06-10 Roland McGrath <roland@hack.frob.com>
28593
decd4e50
RM
28594 * Makerules (shlib.lds): Fail if the linker script comes out empty.
28595 * elf/Makefile ($(objpfx)ld.so): Likewise.
28596
5615eaf2
RM
28597 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28598 Don't list ld.so twice in dependencies.
28599
28600 * posix/bug-regex31.c: Include <stdlib.h>.
28601
28602 * nscd/hstcache.c (cache_addhst): Remove unused variable.
28603
28604 * nis/nss_compat/compat-spwd.c
28605 (getspent_next_nss_netgr): Remove unused variable.
28606 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28607
28608 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28609 nonmembers" output to use the right array.
28610
28611 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28612
28613 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28614
28615 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28616 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28617 * catgets/gencat.c (read_input_file): Likewise.
28618 * locale/programs/locarchive.c (enlarge_archive): Likewise.
28619
28620 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28621 variable definition inside #if's controlling its use.
28622
28623 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28624
28625 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28626
28627 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28628
28629 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28630 unreachable code.
28631
28632 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28633
b68e08db
RM
28634 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28635 * configure: Regenerated.
28636
b350afab
RM
28637 * Makerules: Revert last change.
28638 * elf/Makefile: Likewise.
28639
28368601
RM
286402011-06-09 Roland McGrath <roland@hack.frob.com>
28641
28642 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28643 * elf/Makefile ($(objpfx)librtld.os): Likewise.
28644 (reloc-link): Likewise.
28645
11988f8f
UD
286462011-06-09 Ulrich Drepper <drepper@gmail.com>
28647
28648 * elf/Makefile: Add rules to build pldd.
28649 * elf/pldd.c: New file.
28650 * elf/pldd-xx.c: New file.
28651
e80fab37
UD
286522011-06-07 Ulrich Drepper <drepper@gmail.com>
28653
28654 * version.h: Update for 2.15 development version.
28655
9b849836
DM
286562011-06-07 David S. Miller <davem@davemloft.net>
28657
28658 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28659 ifuncs.
28660 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28661 elf_machine_lazy_rel): Likewise.
28662 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28663 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28664 elf_machine_lazy_rel): Likewise.
28665 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28666 dl_hwcap via passed in argument.
28667 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28668 Likewise.
28669
5a31b283
AK
286702011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28671
28672 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
28673
069e52f8
RM
286742011-06-06 Roland McGrath <roland@hack.frob.com>
28675
28676 [BZ #12849]
28677 * manual/fdl-1.1.texi: New file, verbatim from:
28678 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28679 * manual/lgpl-2.1.texi: New file, verbatim from:
28680 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28681 * manual/Makefile (licenses): New variable, list those new file names.
28682 (texis): Use it.
28683 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28684
28685 * manual/fdl.texi: File removed.
28686 * manual/lesser.texi: File removed.
28687 * manual/libc.texinfo (Copying, Documentation License):
28688 Use new @include file names, put @appendix directive before @include.
28689
f16846a5
JJ
286902011-06-04 Jakub Jelinek <jakub@redhat.com>
28691
28692 [BZ #12841]
28693 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28694 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28695 (mq_open): Add __NTH.
28696
3d29045b
L
286972011-06-02 H.J. Lu <hongjiu.lu@intel.com>
28698
28699 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28700 Assume Intel Core i3/i5/i7 processor if AVX is available.
28701
8c297311
UD
287022011-05-31 Ulrich Drepper <drepper@gmail.com>
28703
28704 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28705 typo.
28706
c8fc0c91
UD
287072011-05-31 Andreas Schwab <schwab@redhat.com>
28708
28709 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28710 memory. Use alloca_account. Fix memory leak when retrying.
28711
5b27a807
UD
287122011-05-31 Ulrich Drepper <drepper@gmail.com>
28713
356f8bc6
UD
28714 * version.h (RELEASE): Bump for 2.14 release.
28715 * include/features.h (__GLIBC_MINOR__): Bump to 14.
28716
5b27a807
UD
28717 * config.make.in (RANLIB): Remove entry.
28718
01f16ab0
UD
287192011-05-30 Ulrich Drepper <drepper@gmail.com>
28720
41fce8bd
UD
28721 * po/Makefile (po-sed-cmd): Add ksh to extensions.
28722 (libc.pot): Work around missing support for .ksh extension in xgettext.
28723
4769ae77
UD
28724 [BZ #12684]
28725 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28726 if both request failed.
28727 (send_dg): In case of server errors clear resplen or *resplen2.
28728
6b1e7d19
UD
28729 [BZ #12454]
28730 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28731 when there are multiple maps.
28732 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
28733 (_dl_fini): Remove test here.
28734
01f16ab0
UD
28735 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
28736
b1ebd700
UD
287372011-05-29 Ulrich Drepper <drepper@gmail.com>
28738
7ae22829
UD
28739 [BZ #12350]
28740 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
28741 bit from old_res_options.
28742 (gaih_inet): Likewise.
28743
553149f6 28744 [BZ #11099]
18a84741 28745 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
28746 as signed.
28747
652ffab1
UD
28748 * resolv/res_init.c (res_setoptions): Make the code more compact.
28749
16985fd0
UD
28750 [BZ #11558]
28751 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
28752 set RES_USEVC.
28753
0464f746
UD
28754 [BZ #11634]
28755 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
28756
7d17596c
UD
28757 * malloc/malloc.h: Mark malloc hook variables as deprecated.
28758
cf6bbbd7
UD
28759 [BZ #11781]
28760 * malloc/malloc.h: Declare malloc hook variables as volatile.
28761
13f1ab36
UD
28762 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
28763 in last patch.
28764
b1ebd700
UD
28765 [BZ #11799]
28766 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 28767 raise in the comment.
80e2212d
UD
28768 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28769 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28770 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 28771
ce67228d
UD
287722011-05-28 Ulrich Drepper <drepper@gmail.com>
28773
8887a920
UD
28774 [BZ #12811]
28775 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
28776 grow the buffers more if it already has to be sufficient.
28777 (build_wcs_upper_buffer): Likewise.
28778 * posix/regexec.c (check_matching): Likewise.
28779 (clean_state_log_if_needed): Likewise.
28780 (extend_buffers): Don't enlarge buffers beyond size of the input
28781 buffer.
28782 Patches mostly by Emil Wojak <emil@wojak.eu>.
28783 * posix/bug-regex32.c: New file.
28784 * posix/Makefile (tests): Add bug-regex32.
28785
4f031072
UD
28786 * locale/findlocale.c (_nl_find_locale): Return right away if
28787 _nl_explode_name failed.
28788 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
28789
d0478f0c
UD
28790 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
28791
de81b246
UD
28792 * debug/xtrace.sh: Unify messages.
28793 * malloc/memusage.sh: Likewise.
28794
c738465a
UD
28795 [BZ #12813]
28796 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
28797 time symbol from vDSO. Substitute with vsyscall if not available.
28798 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
28799 __vdso_time.
28800
f1f929d7
UD
28801 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
28802 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
28803 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
28804 Add sendmmsg and internal_sendmmsg.
28805 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
28806 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
28807 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
28808
ce67228d
UD
28809 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
28810 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
28811 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
28812
e57420c6
UD
288132011-05-27 Ulrich Drepper <drepper@gmail.com>
28814
a8509ca5
UD
28815 [BZ #12813]
28816 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
28817 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
28818 available.
28819 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
28820 __vdso_getcpu.
28821
e57420c6
UD
28822 [BZ #12814]
28823 * iconvdata/Makefile (tests): Add bug-iconv9.
28824 * iconvdata/bug-iconv9.c: New file.
28825
4d07db15
AS
288262011-05-27 Andreas Schwab <schwab@redhat.com>
28827
28828 [BZ #12814]
28829 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
28830
ea486f69
JJ
288312011-05-25 Jakub Jelinek <jakub@redhat.com>
28832
28833 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28834 (struct user_regs_struct): Change intcs field back to cs.
28835
6f038433
UD
288362011-05-25 Ulrich Drepper <drepper@gmail.com>
28837
28838 * po/ja.po: Update from translation team.
28839
67f86a25
UD
288402011-05-23 Ulrich Drepper <drepper@gmail.com>
28841
28842 [BZ #12795]
28843 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
28844 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
28845
def7fbd6
AS
288462011-05-20 Andreas Schwab <schwab@redhat.com>
28847
28848 * stdlib/longlong.h: Update from GCC.
28849
f50ef8f1
AS
288502011-05-23 Andreas Schwab <schwab@redhat.com>
28851
28852 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
28853 parameter name.
28854 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
28855 Add parameter name.
28856 (__sysconf): Pass it down.
28857
de7ce8f1
UD
288582011-05-22 Ulrich Drepper <drepper@gmail.com>
28859
f2962a71
UD
28860 [BZ #12671]
28861 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
28862 some situations.
28863 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
28864 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
28865 add in in __libc_use_alloca calls. Adjust callers.
28866 (glob): Use malloc in some situations.
28867
de7ce8f1
UD
28868 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
28869 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
28870 pltexit.
28871
aec84f53
UD
288722011-05-21 Ulrich Drepper <drepper@gmail.com>
28873
05bb4a68
UD
28874 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
28875 and CLOCK_BOOTTIME_ALARM.
28876
7ea72f99
UD
28877 [BZ #12782]
28878 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
28879 is returned.
28880
7e4afad5
UD
28881 * string/_strerror.c (__strerror_r): Print negative errors as signed
28882 numbers.
28883
8e211fec
UD
28884 [BZ #12777]
28885 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
28886 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
28887 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
28888
f7d82dc9
UD
28889 * configure.in: Fix typo in redirection and correct removal of test
28890 files in two cases.
28891
cc9e536d
UD
28892 [BZ #12788]
28893 * locale/setlocale.c (new_composite_name): Fix test to check for
28894 identical name of all categories.
28895
aec84f53
UD
28896 [BZ #12792]
28897 * libio/filedoalloc.c (local_isatty): New function.
28898 (_IO_file_doallocate): Use local_isatty.
28899 * stdio-common/perror.c (perror): In case a new stream is used
28900 forward the stream error.
28901 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
28902 error flag.
28903
78e64fdc
RT
289042011-05-20 Ulrich Drepper <drepper@gmail.com>
28905
34a9094f
UD
28906 [BZ #11869]
28907 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
28908 alloca.
28909 * include/alloca.h (extend_alloca_account): Define.
28910
78e64fdc
RT
28911 [BZ #11857]
28912 * posix/regex.h: Fix comments with documentation of user-accessible
28913 fields after compilation and describe correct free'ing of pattern
28914 after re_compile_pattern.
28915 Patch by Reuben Thomas <rrt@sc3d.org>.
28916
457bddfc
RA
289172011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
28918
28919 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
28920 and -mno-altivec to prevent the compiler from using Altivec and/or
28921 VSX instructions when the corresponding registers are not available.
28922
a4527b51
AS
289232011-05-19 Andreas Schwab <schwab@redhat.com>
28924
28925 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
28926
ed690b2f
UD
289272011-05-19 Ulrich Drepper <drepper@gmail.com>
28928
28929 * libio/freopen.c (freopen): Use __dup2, not dup2.
28930 * libio/freopen64.c (freopen64): Likewise.
28931
8db73634
L
289322011-05-17 H.J. Lu <hongjiu.lu@intel.com>
28933
28934 [BZ #12775]
28935 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
28936 * math/Makefile (tests): Add test-powl.
28937 (CFLAGS-test-powl.c): Define.
28938 * math/test-powl.c: New file.
28939
0a197a9d
L
289402011-05-16 H.J. Lu <hongjiu.lu@intel.com>
28941
28942 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
28943
ee30c380
UD
289442011-05-17 Ulrich Drepper <drepper@gmail.com>
28945
28946 [BZ #11837]
28947 * iconvdata/gb18030.c: Update to GB18020-2005.
28948
6ce75379
UD
289492011-05-16 Ulrich Drepper <drepper@gmail.com>
28950
a4b89fd8
AR
28951 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
28952 RE_SYNTAX_POSIX_AWK): Update to match recent development.
28953 Patch by Aharon Robbins <arnold@skeeve.com>.
28954
ea389b12
UD
28955 [BZ #11892]
28956 * stdlib/putenv.c (putenv): Don't always create copy of the variable
28957 on the stack.
28958
68a3f91f
UD
28959 [BZ #11895]
28960 * misc/pselect.c (__pselect): Handle timeout value errors hidden
28961 through underflows.
28962
15cc7dd1
UD
28963 [BZ #12766]
28964 * misc/error.c (error_at_line): Ensure file_name and old_file_name
28965 point to strings before performing equality test for error_one_per_line
28966 mode.
28967
f3799213
UD
28968 [BZ #11697]
28969 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
28970
d79a9c94
UD
28971 [BZ #11820]
28972 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28973 (struct user_fpregs_struct): Avoid __uint*_t types.
28974
56e5eb46
UD
28975 [BZ #6420]
28976 * malloc/mtrace.c (tr_where): Add additional parameter to point to
28977 symbol info. Use it instead of calling _dl_addr locally.
28978 (lock_and_info): New function.
28979 (tr_freehook): Call lock_and_info and pass symbol info as additional
28980 parameter to tr_where.
28981 (tr_mallochook): Likewise.
28982 (tr_reallochook): Likewise.
28983 (tr_memalignhook): Likewise.
28984
6ce75379
UD
28985 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
28986 used and couldn't be at all thread-safe.
28987
f8a3b5bf
UD
289882011-05-15 Ulrich Drepper <drepper@gmail.com>
28989
94b7cc37
UD
28990 * libio/freopen.c (freopen): Don't close old file descriptor
28991 before the new one is opened. Instead dup the new file descriptor
28992 to the old one after the new stream is created.
28993 * libio/freopen64.c (freopen64): Likewise.
28994 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
28995 * libio/fileops.c (_IO_new_file_close_it): Handle new
28996 _IO_FLAGS2_NOCLOSE flag.
28997 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
28998 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
28999 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29000 _IO_FLAGS2_NOCLOSE flag.
29001 * include/unistd.h: Add hidden_proto for dup3.
29002 Define __have_dup3.
29003 * io/dup3.c: Define hidden symbol.
29004 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29005
bd25564e
UD
29006 [BZ #7101]
29007 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29008 when an incomplete long option is used.
29009 * posix/tst-getopt_long1.c: New file.
29010 * posix/Makefile (tests): Add tst-getopt_long1.
29011
c84cfef4
UD
29012 [BZ #10138]
29013 * scripts/config.guess: Update from autoconf-2.68.
29014 * scripts/config.sub: Likewise.
29015
3b85df27
UD
29016 [BZ #10157]
29017 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29018 tests into ...
29019 (has_cpuclock): ...this. New function.
29020 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29021 macro here based on has_cpuclock code.
29022
15a856b1
UD
29023 [BZ #10149]
29024 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29025 First byte (not low byte) is now always NUL.
29026 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29027
05f399e6
UD
29028 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29029 Use non-cancelable interfaces.
29030
10a52685 29031 [BZ #9809]
94ecc67d
UD
29032 * locale/iso-639.def: Add entry for Sorani.
29033
f8a3b5bf
UD
29034 [BZ #11901]
29035 * include/stdlib.h: Move include protection to the right place.
29036 Define abort_msg_s. Declare __abort_msg with it.
29037 * stdlib/abort.c (__abort_msg): Adjust type.
29038 * assert/assert.c (__assert_fail_base): New function. Majority
29039 of code from __assert_fail. Allocate memory for __abort_msg with
29040 mmap.
29041 (__assert_fail): Now call __assert_fail_base.
29042 * assert/assert-perr.c: Remove bulk of implementation. Use
29043 __assert_fail_base.
29044 * include/assert.hL Declare __assert_fail_base.
29045 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29046 mmap.
29047 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29048
1af4e298
UD
290492011-05-14 Ulrich Drepper <drepper@gmail.com>
29050
f8a3b5bf 29051 [BZ #11952]
d26dfc60
MG
29052 [BZ #12453]
29053 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29054 until all modules are registered in the DTV.
29055 * elf/Makefile: Add rules to build and run tst-tls19.
29056 * elf/tst-tls19.c: New file.
29057 * elf/tst-tls19mod1.c: New file.
29058 * elf/tst-tls19mod2.c: New file.
29059 * elf/tst-tls19mod3.c: New file.
29060 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29061
2fc54d6f
UD
29062 [BZ #12083]
29063 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29064 correctly.
29065
98d76b46
UD
29066 [BZ #12601]
29067 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29068 two-byte sequence errors.
29069 * iconvdata/Makefile (tests): Add bug-iconv8.
29070 * iconvdata/bug-iconv8.c: New file.
29071
da3c19ef
UD
29072 [BZ #12626]
29073 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29074 buf2 definition.
29075
ca408c15
UD
29076 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29077
d6f67f7d
UD
29078 [BZ #12432]
29079 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29080 (dummy_getcfa): New function.
29081 (init): Get _Unwind_GetCFA address, use dummy if not found.
29082 (backtrace_helper): In recursion check, also check whether CFA changes.
29083 (__backtrace): Completely initialize arg.
29084
1af4e298 29085 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29086 storing incomplete byte sequence in state object. Avoid testing for
29087 guaranteed too small input if we know there is enough data available.
1af4e298 29088
da62f81b
AS
290892011-05-11 Andreas Schwab <schwab@redhat.com>
29090
29091 * Makeconfig (+link-pie): Indent.
29092 * Rules (binaries-pie): Define if $(have-fpie) and
29093 $(build-shared).
29094 (binaries-shared): Also filter out $(binaries-pie).
29095 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29096 * nscd/Makefile (others-pie): Add nscd.
29097 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29098 ($(objpfx)nscd): Remove command override.
29099 * login/Makefile (others-pie): Add pt_chown.
29100 ($(objpfx)pt_chown): Remove command override.
29101 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29102 remove command overrides.
29103
fcabc0f8
UD
291042011-05-13 Ulrich Drepper <drepper@gmail.com>
29105
20030ae6
UD
29106 * libio/tst_putwc.c: Fix error messages.
29107
fcabc0f8
UD
29108 [BZ #12724]
29109 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29110 currently writing and seek to current position when not.
29111 * libio/Makefile (tests): Add bug-fclose1.
29112 * libio/bug-fclose1.c: New file.
29113
320a5dc0
PB
291142011-05-12 Ulrich Drepper <drepper@gmail.com>
29115
29116 [BZ #12511]
29117 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29118 don't set DF_1_NODELETE here.
29119 (do_lookup_x): When entering new entry test for copy relocation
29120 and if necessary set DF_1_NODELETE flag.
29121 * elf/tst-unique4.cc: New file.
29122 * elf/tst-unique4.h: New file.
29123 * elf/tst-unique4lib.cc: New file.
29124 * elf/Makefile: Add rules to build and run tst-unique4.
29125 Patch by Piotr Bury <pbury@goahead.com>.
29126
22836f52
UD
291272011-05-11 Ulrich Drepper <drepper@gmail.com>
29128
f574184a
UD
29129 [BZ #12052]
29130 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29131
e1fb097f
UD
29132 [BZ #12625]
29133 * misc/mntent_r.c (addmntent): Flush the stream after the output
29134
22836f52
UD
29135 [BZ #12393]
29136 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29137 (is_trusted_path_normalize): Skip initial colon. Append slash
29138 to empty buffer. Duplicate is_trusted_path code but allow
29139 constructed patch to be prefix.
29140 (is_dst): Allow $ORIGIN followed by /.
29141 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29142 Correct testing of result of is_trusted_path_normalize
29143 (decompose_rpath): Fix warning.
29144
7b3b0b2a
UD
291452011-05-10 Ulrich Drepper <drepper@gmail.com>
29146
29147 [BZ #11257]
29148 * grp/initgroups.c (internal_getgrouplist): When we found the service
29149 list through the initgroups entry in nsswitch.conf do not always
29150 continue on a successful lookup. Don't always use the
eac80ce2 29151 __nss_group_database value if it is set.
7b3b0b2a
UD
29152 * nss/nsswitch.conf (initgroups): Change action for successful db
29153 lookup to continue for compatibility.
29154
2a81eaa5
UD
291552011-05-09 Ulrich Drepper <drepper@gmail.com>
29156
be97a69e
UD
29157 [BZ #11532]
29158 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29159 and CP774 modules.
29160 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29161 and CP774 modules.
29162 * iconvdata/tst-tables.sh: Likewise.
29163 * iconvdata/cp770.c: New file.
29164 * iconvdata/cp771.c: New file.
29165 * iconvdata/cp772.c: New file.
29166 * iconvdata/cp773.c: New file.
29167 * iconvdata/cp774.c: New file.
29168 * iconvdata/testdata/CP770: New file.
29169 * iconvdata/testdata/CP770..UTF8: New file.
29170 * iconvdata/testdata/CP771: New file.
29171 * iconvdata/testdata/CP771..UTF8: New file.
29172 * iconvdata/testdata/CP772: New file.
29173 * iconvdata/testdata/CP772..UTF8: New file.
29174 * iconvdata/testdata/CP773: New file.
29175 * iconvdata/testdata/CP773..UTF8: New file.
29176 * iconvdata/testdata/CP774: New file.
29177 * iconvdata/testdata/CP774..UTF8: New file.
29178
29179 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29180 END CHARMAP line.
29181 * iconvdata/gen-8bit-gap.sh: Likewise.
29182 * iconvdata/gen-8bit.sh: Likewise.
29183
c1e9e399
UD
29184 * locale/iso-639.def: Add ary entry.
29185
24c55fb3 29186 [BZ #11258]
96b4b1b0
UD
29187 * locale/C-translit.h.in: Add U20A1 transliteration.
29188
bdc2f971
KB
29189 [BZ #12178]
29190 * locale/iso-639.def: Add wae entry.
29191 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29192
2952b117
UD
29193 [BZ #12545]
29194 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29195 for n.
29196
2a81eaa5
UD
29197 [BZ #12711]
29198 * locale/C-translit.h.in: Add entry for U20B9.
29199 Patch by pravin.d.s@gmail.com.
29200
28377d1b
UD
292012011-05-08 Ulrich Drepper <drepper@gmail.com>
29202
7fb90fb8
UD
29203 [BZ #12713]
29204 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29205 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29206 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29207 in rtld. Use *stat64.
7fb90fb8 29208 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29209 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29210 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29211 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29212 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29213 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29214 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29215 __fstatat64 macros.
7fb90fb8
UD
29216 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29217 * dirent/rewinddir.c: Add libc_hidden_def.
29218 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 29219 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 29220
28377d1b
UD
29221 * include/dirent.h (__alloc_dir): Add flags parameter.
29222 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29223 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29224 __alloc_dir.
29225 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29226 from fdopendir if O_CLOEXEC is already set.
29227
66bdbaa4
AM
292282011-03-15 Alan Modra <amodra@gmail.com>
29229
29230 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29231 l_tls_firstbyte_offset non-zero. Save padding offset in
29232 l_tls_firstbyte_offset for later use.
29233 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29234 freeing static tls block.
29235
95721191
JN
292362011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29237
29238 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29239 where #ifdef was intended. The intent is to prevent ARG_MAX from
29240 being defined by the kernel headers.
29241
f87dfb1f
UD
292422011-05-07 Ulrich Drepper <drepper@gmail.com>
29243
29244 [BZ #12734]
29245 * resolv/resolv.h: Define RES_NOTLDQUERY.
29246 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29247 no-tld-query and set RES_NOTLDQUERY.
29248 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29249 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29250 modern BIND to search name as TLD unless forbidden.
29251
47c3cd7a
UD
292522011-05-07 Petr Baudis <pasky@suse.cz>
29253 Ulrich Drepper <drepper@gmail.com>
29254
29255 [BZ #12393]
29256 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29257 (is_trusted_path): ...to here.
c1e9ea35 29258 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 29259 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 29260 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 29261
8a35c912
PP
292622011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29263
29264 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29265 __BEGIN/__END_DECLS.
29266
acd41f47
UD
292672011-05-06 Ulrich Drepper <drepper@gmail.com>
29268
29269 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29270 NSS_STATUS_NOTFOUND if no record was found.
29271
597df647
AS
292722011-05-05 Andreas Schwab <schwab@redhat.com>
29273
29274 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29275 (headers-not-in-tirpc): Remove rpc/netdb.h
29276 * resolv/netdb.h: Revert last change.
29277
b9af1301
PP
292782011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29279
29280 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29281 circular dependency between libgcc.a and libc.a.
29282
4e34d5f5
AS
292832011-05-05 Andreas Schwab <schwab@redhat.com>
29284
29285 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29286 * nis/Makefile: Don't install rpcsvc/*.
29287 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29288 instead of <rpc/types.h>.
29289 (MAXHOSTNAMELEN): Define.
29290
00ee369c
AS
292912011-05-03 Andreas Schwab <schwab@redhat.com>
29292
29293 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29294
0b592a30
MB
292952011-04-28 Maciej Babinski <mbabinski@google.com>
29296
29297 [BZ #12714]
29298 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29299 gethostbyname4_r when IPv6 results are possible.
29300
6e04cbbe
UD
293012011-05-02 Ulrich Drepper <drepper@gmail.com>
29302
29303 [BZ #12723]
29304 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29305 _PC_PIPE_BUF handling.
29306
e4ecafe0
BH
293072011-04-30 Bruno Haible <bruno@clisp.org>
29308
29309 [BZ #12717]
29310 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29311 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29312 to 'int'.
29313 * inet/getnameinfo.c (getnameinfo): Likewise.
29314
125ee683
UD
293152011-04-29 Ulrich Drepper <drepper@gmail.com>
29316
29317 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29318 to groups setting in database lookup.
29319 * nss/nsswitch.conf: Add initgroups entry.
29320
b722481a
EB
293212011-04-22 Ulrich Drepper <drepper@gmail.com>
29322
29323 [BZ #12685]
29324 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29325 mode string.
29326 Patch by Eric Blake <eblake@redhat.com>.
29327
4df46dbd
L
293282011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29329
29330 * sunrpc/Makefile (need-export-routines): Add svc_run.
29331 (routines): Remove svc_run.
29332 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29333 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29334 * sunrpc/svc_run.c (svc_run): Likewise.
29335 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29336
e84142d2
UD
293372011-04-21 Ulrich Drepper <drepper@gmail.com>
29338
29339 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29340 problem in reallocation in last patch.
29341
877175d8
UD
293422011-04-20 Ulrich Drepper <drepper@gmail.com>
29343
29344 * sunrpc/Makefile: Move inclusion of Rules.
29345
ab8eed78
UD
293462011-04-19 Ulrich Drepper <drepper@gmail.com>
29347
29348 * nss/nss_files/files-initgroups.c: New file.
29349 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29350 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29351 _nss_files_initgroups_dyn.
29352
e3d8f584
RS
293532011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29354
29355 * elf/elf.h (R_ARM_IRELATIVE): Define.
29356
af190f45
UD
293572011-04-19 Ulrich Drepper <drepper@gmail.com>
29358
29359 * po/ru.po: Update from translation team.
29360
53cf59ef
UD
293612011-04-17 Ulrich Drepper <drepper@gmail.com>
29362
29363 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29364 dependencies.
29365
4c559bcd
MF
293662011-02-06 Mike Frysinger <vapier@gentoo.org>
29367
29368 [BZ #12653]
29369 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29370 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29371 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29372 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29373 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29374
4420675c
AS
293752011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29376
29377 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29378 differing bytes.
29379 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29380 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29381 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29382
75ea32ab
UD
293832011-04-17 Ulrich Drepper <drepper@gmail.com>
29384
29385 [BZ #12420]
29386 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29387 storing it.
29388 * stdlib/bug-getcontext.c: New file.
29389 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29390
27390476
AK
293912011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29392
29393 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29394 instructions into .machine "z9-109".
29395 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29396 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29397
10442705
AK
293982011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29399
29400 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29401 between environment variables and auxiliary vector.
29402
7b57bfe5
UD
294032011-04-16 Ulrich Drepper <drepper@gmail.com>
29404
29405 * Makefile: Add rules to build linkobj/libc.so.
29406 * include/libc-symbols.h: Define libc_hidden_nolink.
29407 * include/rpc/auth.h: Mark functions which are to be hidden.
29408 * include/rpc/auth_des.h: Likewise.
29409 * include/rpc/auth_unix.h: Likewise.
29410 * include/rpc/clnt.h: Likewise.
29411 * include/rpc/des_crypt.h: Likewise.
29412 * include/rpc/key_prot.h: Likewise.
29413 * include/rpc/pmap_clnt.h: Likewise.
29414 * include/rpc/pmap_prot.h: Likewise.
29415 * include/rpc/pmap_rmt.h: Likewise.
29416 * include/rpc/rpc_msg.h: Likewise.
29417 * include/rpc/svc.h: Likewise.
29418 * include/rpc/svc_auth.h: Likewise.
29419 * include/rpc/xdr.h: Likewise.
29420 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29421 * nss/Makefile: Likewise.
29422 * sunrpc/Makefile: Don't install headers. Build library with normal
29423 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29424 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29425 for the compat linking library. Remove use of INTDEF/INTUSE.
29426 * sunrpc/auth_none.c: Likewise.
29427 * sunrpc/auth_unix.c: Likewise.
29428 * sunrpc/authdes_prot.c: Likewise.
29429 * sunrpc/authuxprot.c: Likewise.
29430 * sunrpc/clnt_gen.c: Likewise.
29431 * sunrpc/clnt_perr.c: Likewise.
29432 * sunrpc/clnt_raw.c: Likewise.
29433 * sunrpc/clnt_simp.c: Likewise.
29434 * sunrpc/clnt_tcp.c: Likewise.
29435 * sunrpc/clnt_udp.c: Likewise.
29436 * sunrpc/clnt_unix.c: Likewise.
29437 * sunrpc/des_crypt.c: Likewise.
29438 * sunrpc/des_soft.c: Likewise.
29439 * sunrpc/get_myaddr.c: Likewise.
29440 * sunrpc/key_call.c: Likewise.
29441 * sunrpc/key_prot.c: Likewise.
29442 * sunrpc/netname.c: Likewise.
29443 * sunrpc/pm_getmaps.c: Likewise.
29444 * sunrpc/pm_getport.c: Likewise.
29445 * sunrpc/pmap_clnt.c: Likewise.
29446 * sunrpc/pmap_prot.c: Likewise.
29447 * sunrpc/pmap_prot2.c: Likewise.
29448 * sunrpc/pmap_rmt.c: Likewise.
29449 * sunrpc/publickey.c: Likewise.
29450 * sunrpc/rpc_cmsg.c: Likewise.
29451 * sunrpc/rpc_common.c: Likewise.
29452 * sunrpc/rpc_dtable.c: Likewise.
29453 * sunrpc/rpc_prot.c: Likewise.
29454 * sunrpc/rpc_thread.c: Likewise.
29455 * sunrpc/rtime.c: Likewise.
29456 * sunrpc/svc.c: Likewise.
29457 * sunrpc/svc_auth.c: Likewise.
29458 * sunrpc/svc_authux.c: Likewise.
29459 * sunrpc/svc_raw.c: Likewise.
29460 * sunrpc/svc_run.c: Likewise.
29461 * sunrpc/svc_simple.c: Likewise.
29462 * sunrpc/svc_tcp.c: Likewise.
29463 * sunrpc/svc_udp.c: Likewise.
29464 * sunrpc/svc_unix.c: Likewise.
29465 * sunrpc/svcauth_des.c: Likewise.
29466 * sunrpc/xcrypt.c: Likewise.
29467 * sunrpc/xdr.c: Likewise.
29468 * sunrpc/xdr_array.c: Likewise.
29469 * sunrpc/xdr_float.c: Likewise.
29470 * sunrpc/xdr_intXX_t.c: Likewise.
29471 * sunrpc/xdr_mem.c: Likewise.
29472 * sunrpc/xdr_rec.c: Likewise.
29473 * sunrpc/xdr_ref.c: Likewise.
29474 * sunrpc/xdr_sizeof.c: Likewise.
29475 * sunrpc/xdr_stdio.c: Likewise.
29476
e6c61494
UD
294772011-04-10 Ulrich Drepper <drepper@gmail.com>
29478
29479 [BZ #12650]
29480 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29481 * sysdeps/ia64/dl-tls.h: Likewise.
29482 * sysdeps/powerpc/dl-tls.h: Likewise.
29483 * sysdeps/s390/dl-tls.h: Likewise.
29484 * sysdeps/sh/dl-tls.h: Likewise.
29485 * sysdeps/sparc/dl-tls.h: Likewise.
29486 * sysdeps/x86_64/dl-tls.h: Likewise.
29487 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29488
34fe483e
AS
294892011-03-14 Andreas Schwab <schwab@redhat.com>
29490
29491 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29492 rpath element also skip the following colon.
29493 (expand_dynamic_string_token): Add is_path parameter and pass
29494 down to DL_DST_REQUIRED and _dl_dst_substitute.
29495 (decompose_rpath): Call expand_dynamic_string_token with
29496 non-zero is_path. Ignore empty rpaths.
29497 (_dl_map_object_from_fd): Call expand_dynamic_string_token
29498 with zero is_path.
29499
f12a32e6
AS
295002011-04-08 Andreas Schwab <schwab@linux-m68k.org>
29501
29502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29503 Make cancelable.
29504
38a7d692
UD
295052011-04-09 Ulrich Drepper <drepper@gmail.com>
29506
29507 [BZ #12655]
29508 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29509 Patch by Filipe David Manana <fdmanana@apache.org>.
29510
e451d22b
AS
295112011-04-07 Andreas Schwab <schwab@redhat.com>
29512
29513 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29514 Maintain aligned stack.
29515 (CHECK_RSP): Remove unused macro.
29516
dedc7c7b
UD
295172011-04-03 Ulrich Drepper <drepper@gmail.com>
29518
29519 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29520 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29521
94521213
UD
295222011-04-02 Ulrich Drepper <drepper@gmail.com>
29523
29524 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29525
8cb700c0 29526 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 29527
0354e355
L
295282011-03-26 H.J. Lu <hongjiu.lu@intel.com>
29529
29530 [BZ #12518]
29531 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29532 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29533 * sysdeps/x86_64/memmove.c: New file.
29534 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29535 (memcpy): Renamed to ...
29536 (__new_memcpy): This.
29537 (memcpy): Provide GLIBC_2_14 memcpy.
29538 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29539 (memcpy): Provide GLIBC_2_2_5 memcpy.
29540
8593482f
UD
295412011-04-01 Ulrich Drepper <drepper@gmail.com>
29542
29543 [BZ #12631]
29544 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29545
81a5726b
AS
295462011-03-30 Andreas Schwab <schwab@redhat.com>
29547
29548 * misc/syncfs.c: New file.
29549 * misc/Makefile (routines): Add syncfs.
29550 * posix/unistd.h: Declare syncfs.
29551 * sysdeps/unix/syscalls.list: Add syncfs.
29552
00e5419f
AS
295532011-04-01 Andreas Schwab <schwab@redhat.com>
29554
29555 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29556 open_by_handle_at.
29557 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29558 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29559 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29560 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29561 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29562 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29563 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29564
748876bf
UD
295652011-04-01 Ulrich Drepper <drepper@gmail.com>
29566
658e451d
UD
29567 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29568 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29569 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29570 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29571 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29572 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29573 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29574
748876bf
UD
29575 * io/Makefile: Compile fallocate.c, fallocate64.c, and
29576 sync_file_range.c with -fexceptions.
29577 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29578 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29579 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29580 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29581 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29582 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29583 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
29584 sync_file_range as cancellation point
29585 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
29586 now a wrapper around __call_sync_file_range with cancellation handling.
29587 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29588 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
29589 function name to __call_sync_file_range.
29590 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29591 Add call_sync_file_range.
748876bf 29592
6e63d5e1
AS
295932011-04-01 Andreas Schwab <schwab@redhat.com>
29594
29595 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 29596 bits/timex.h.
6e63d5e1 29597
46998f74
UD
295982011-04-01 Ulrich Drepper <drepper@gmail.com>
29599
4c1423ed
UD
29600 * iconv/iconv.h: Fix typo in comment.
29601 * io/fcntl.h: Likewise.
29602 * libio/stdio.h: Likewise.
29603 * posix/spawn.h: Likewise.
29604 * posix/unistd.h: Likewise.
29605 * stdlib/stdlib.h: Likewise.
29606 * time/time.h: Likewise.
29607 * wcsmbs/wchar.h: Likewise.
29608
158648c0
UD
29609 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29610 open_by_handle): Add.
29611 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29612 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
29613 Augment a few comments.
29614 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29615 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29616 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29617 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29618 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29619 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29620 open_by_handle.
29621
46998f74
UD
29622 * io/fcntl.h (AT_EMPTY_PATH): Define.
29623
83fe108b
UD
296242011-03-30 Ulrich Drepper <drepper@gmail.com>
29625
29626 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29627 * sysdeps/unix/sysv/linux/bits/time.h: New file.
29628 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29629 to...
29630 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
29631 * Versions.def: Add GLIBC_2.14.
29632 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29633 Export.
83fe108b 29634
bb242059
UD
296352011-03-22 Ulrich Drepper <drepper@gmail.com>
29636
29637 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29638 round counter.
29639 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29640
c97a1282
L
296412011-03-20 H.J. Lu <hongjiu.lu@intel.com>
29642
29643 [BZ #12597]
29644 * string/test-strncmp.c (do_page_test): New function.
29645 (check2): Likewise.
29646 (test_main): Call check2.
29647 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29648
2a115601
UD
296492011-03-20 Ulrich Drepper <drepper@gmail.com>
29650
29651 [BZ #12587]
29652 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29653 Handle cache information in CPU leaf 4.
29654 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29655
8126d904
UD
296562011-03-18 Ulrich Drepper <drepper@gmail.com>
29657
042c49c6 29658 [BZ #12583]
8126d904
UD
29659 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29660 character representation.
29661 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29662
ccfe366e
RA
296632011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
29664
29665 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29666 END(__isnan) to END(__isnanf) to match function entry point/label
29667 EALIGN(__isnanf,...).
29668
c6e13027
JJ
296692011-03-10 Jakub Jelinek <jakub@redhat.com>
29670
29671 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29672
33f85a3f
UD
296732011-03-10 Ulrich Drepper <drepper@gmail.com>
29674
028478fa
UD
29675 [BZ #12510]
29676 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29677 copy from the symbol referenced in the relocation to initialize the
29678 used variable.
29679 Patch by Piotr Bury <pbury@goahead.com>.
29680 * elf/Makefile: Add rules to build and tst-unique3.
29681 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29682 * elf/tst-unique3.cc: New file.
29683 * elf/tst-unique3.h: New file.
29684 * elf/tst-unique3lib.cc: New file.
29685 * elf/tst-unique3lib2.cc: New file.
29686
33f85a3f
UD
29687 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29688
03592fc7
MF
296892011-03-10 Mike Frysinger <vapier@gentoo.org>
29690
29691 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29692 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
29693 to _start.
03592fc7 29694
6a5ee102
UD
296952011-03-06 Ulrich Drepper <drepper@gmail.com>
29696
29697 * elf/dl-load.c (_dl_map_object): If we are looking for the first
29698 to-be-loaded object along a path to loader is ld.so.
29699
7e4ba49c
HJ
297002011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29701 Ulrich Drepper <drepper@gmail.com>
29702
29703 * sysdeps/x86_64/memset.S: After aligning destination, code
29704 branches to different locations depending on the value of
29705 misalignment, when multiarch is enabled. Fix this.
29706
297072011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29708
29709 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29710 Set _x86_64_preferred_memory_instruction for AMD processsors.
29711 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29712 Set bit_Prefer_SSE_for_memop for AMD processors.
29713
13a804de
UD
297142011-03-04 Ulrich Drepper <drepper@gmail.com>
29715
29716 * libio/fmemopen.c (fmemopen): Optimize a bit.
29717
9d25c392
AS
297182011-03-03 Andreas Schwab <schwab@redhat.com>
29719
29720 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29721
a5543c6a
RM
297222011-03-03 Roland McGrath <roland@redhat.com>
29723
29724 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29725
012d35f7
DM
297262011-02-28 Aurelien Jarno <aurelien@aurel32.net>
29727
7e4ba49c 29728 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
29729 __bzero_ultra1 instead of __memset_ultra1.
29730
4bff6e01
AS
297312011-02-23 Andreas Schwab <schwab@redhat.com>
29732 Ulrich Drepper <drepper@gmail.com>
29733
29734 [BZ #12509]
29735 * include/link.h (struct link_map): Add l_orig_initfini.
29736 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
29737 returning unsuccessfully.
29738 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
29739 close of a file loaded at startup, restore the original l_initfini
29740 list.
29741 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
29742 list, store the pointer.
29743 * elf/Makefile ($(objpfx)noload-mem): New rule.
29744 (noload-ENV): Define.
29745 (tests): Add $(objpfx)noload-mem.
29746 * elf/noload.c: Include <memcheck.h>.
29747 (main): Call mtrace. Close all opened handles.
29748
f2092faf
AS
297492011-02-17 Andreas Schwab <schwab@redhat.com>
29750
29751 [BZ #12454]
29752 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
29753 dependencies are missing.
29754
6c8a2e88
ST
297552011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
29756
f2092faf 29757 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
29758 Hurd needs munmap.
29759 * sysdeps/mach/hurd/ifreq.h: New file.
29760
84a42118
PB
297612011-01-27 Petr Baudis <pasky@suse.cz>
29762 Ulrich Drepper <drepper@gmail.com>
29763
071f805e 29764 [BZ 12445]#
84a42118
PB
29765 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
29766 to extend_alloca().
29767 * stdio-common/bug23.c: New file.
29768 * stdio-common/Makefile (tests): Add bug23.
29769
e23fe25b
AS
297702010-09-28 Andreas Schwab <schwab@redhat.com>
29771 Ulrich Drepper <drepper@gmail.com>
29772
29773 [BZ #12489]
29774 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
29775 before performing relro protection. At old place add assertion
29776 to make sure nothing changed.
29777
d3f02e10
NS
297782011-02-17 Nathan Sidwell <nathan@codesourcery.com>
29779 Glauber de Oliveira Costa <glommer@gmail.com>
29780
29781 * elf/elf.h: Add new ARM TLS relocs.
29782
d55fd7a5
RA
297832011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
29784
29785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29786 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
29787 cast from r3.
29788 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
29789 'tests' variable.
29790 * sysdeps/wordsize-64/tst-writev.c: New file.
29791
2206397e
RA
297922011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
29793
29794 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
29795 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
29796 insns in _dl_start to prevent a TOC reference before relocs are
29797 resolved.
29798
e9433893
UD
297992011-02-15 Ulrich Drepper <drepper@gmail.com>
29800
29801 [BZ #12469]
29802 * Makeconfig: Remove RANLIB definition.
29803 * Makerules: Don't use RANLIB.
29804 * aclocal.m4: Remove ranlib test.
29805 * configure.in: No need to check for ranlib.
29806 * elf/rtld-Rules: Don't use RANLIB.
29807
f75286c6
ST
298082011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
29809
8e31c82d
ST
29810 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
29811 protection macro.
29812 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
29813 inclusion protection macro.
29814
f75286c6
ST
29815 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
29816 SIGRTMIN and SIGRTMAX and print information in that case only when
29817 SIGRTMIN is defined.
29818
c1d0e639
JJ
298192011-02-11 Jakub Jelinek <jakub@redhat.com>
29820
29821 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
29822 arginfo fn returning -1.
29823
29824 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
29825 and thousands string is zero terminated.
29826
edf9294e
AS
298272011-02-03 Andreas Schwab <schwab@redhat.com>
29828
29829 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
29830 sysdeps/unix/sysv/linux/bits/socket.h.
29831
2b7e92df
ST
298322011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
29833
edf9294e
AS
29834 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
29835 (__CPU_COUNT): Remove old macros.
29836 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
29837 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
29838 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
29839 (__sched_cpualloc, __sched_cpufree): Add declarations.
29840
a4c7ea7b
UD
298412011-02-05 Ulrich Drepper <drepper@gmail.com>
29842
29843 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
29844 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
29845 * nscd/aicache.c (addhstaiX): Return timeout of added value.
29846 (readdhstai): Return value of addhstaiX call.
29847 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
29848 (addgrbyX): Return value returned by cache_addgr.
29849 (readdgrbyname): Return value returned by addgrbyX.
29850 (readdgrbygid): Likewise.
29851 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
29852 (addpwbyX): Return value returned by cache_addpw.
29853 (readdpwbyname): Return value returned by addhstbyX.
29854 (readdpwbyuid): Likewise.
29855 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
29856 (addservbyX): Return value returned by cache_addserv.
29857 (readdservbyname): Return value returned by addservbyX:
29858 (readdservbyport): Likewise.
29859 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
29860 (addhstbyX): Return value returned by cache_addhst.
29861 (readdhstbyname): Return value returned by addhstbyX.
29862 (readdhstbyaddr): Likewise.
29863 (readdhstbynamev6): Likewise.
29864 (readdhstbyaddrv6): Likewise.
29865 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
29866 (readdinitgroups): Return value returned by addinitgroupsX.
29867 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
29868 (prune_cache): Keep track of timeout value of re-added entries.
29869 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
29870 * nscd/nscd.h: Adjust prototypes of readd* functions.
29871
a0bf67cc
RM
298722011-02-04 Roland McGrath <roland@redhat.com>
29873
29874 * nis/nis_server.c (nis_servstate): Use the right name for 0.
29875 (nis_stats): Likewise.
29876 * nis/nis_modify.c (nis_modify): Likewise.
29877 * nis/nis_remove.c (nis_remove): Likewise.
29878 * nis/nis_add.c (nis_add): Likewise.
29879
29880 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
29881
29882 * posix/fnmatch_loop.c: Add some consts.
29883
29884 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
29885
435b95eb
L
298862011-02-02 H.J. Lu <hongjiu.lu@intel.com>
29887
29888 [BZ #12460]
29889 * config.make.in (config-cflags-novzeroupper): Define.
29890 * configure.in: Substitute libc_cv_cc_novzeroupper.
29891 * elf/Makefile (AVX-CFLAGS): Define.
29892 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
29893 (CFLAGS-tst-auditmod4a.c): Likewise.
29894 (CFLAGS-tst-auditmod4b.c): Likewise.
29895 (CFLAGS-tst-auditmod6b.c): Likewise.
29896 (CFLAGS-tst-auditmod6c.c): Likewise.
29897 (CFLAGS-tst-auditmod7b.c): Likewise.
29898 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
29899
8517b15e
UD
299002011-02-02 Ulrich Drepper <drepper@gmail.com>
29901
29902 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
29903 function to the callback.
29904 Patch partly by Jiri Olsa <jolsa@redhat.com>.
29905
10a656fe
AS
299062011-02-02 Andreas Schwab <schwab@redhat.com>
29907
29908 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
29909 of errno.
29910
968dad0a
UD
299112011-01-19 Ulrich Drepper <drepper@gmail.com>
29912
9f94d2ea 29913 [BZ #11724]
968dad0a
UD
29914 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
29915 of constructors.
29916 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
29917 of destructors.
29918 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
29919
29920 [BZ #11724]
29921 * elf/Makefile: Add rules to build and run new test.
29922 * elf/tst-initorder.c: New file.
29923 * elf/tst-initorder.exp: New file.
29924 * elf/tst-initordera1.c: New file.
29925 * elf/tst-initordera2.c: New file.
29926 * elf/tst-initordera3.c: New file.
29927 * elf/tst-initordera4.c: New file.
29928 * elf/tst-initorderb1.c: New file.
29929 * elf/tst-initorderb2.c: New file.
29930 * elf/tst-order-a1.c: New file.
29931 * elf/tst-order-a2.c: New file.
29932 * elf/tst-order-a3.c: New file.
29933 * elf/tst-order-a4.c: New file.
29934 * elf/tst-order-b1.c: New file.
29935 * elf/tst-order-b2.c: New file.
29936 * elf/tst-order-main.c: New file.
29937 New test case by George Gensure <werkt0@gmail.com>.
29938
86e92359
UD
299392010-10-01 Andreas Schwab <schwab@redhat.com>
29940
29941 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29942 decoding ACE if AI_CANONIDN.
29943
5d5732b0
UD
299442011-01-18 Ulrich Drepper <drepper@gmail.com>
29945
29946 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
29947
a77e8cbc
UD
299482011-01-17 Ulrich Drepper <drepper@gmail.com>
29949
6392473f
UD
29950 * version.h (RELEASE): Bump for 2.13 release.
29951 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
29952
620a0529
UD
29953 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
29954
18ba70a5
UD
29955 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
29956 MADV_NOHUGEPAGE.
32465c3e
UD
29957 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
29958 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29959 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29960 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29961 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29962 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29963
c0dafcf1
UD
29964 * posix/getconf.c: Update copyright year.
29965 * catgets/gencat.c: Likewise.
29966 * csu/version.c: Likewise.
29967 * debug/catchsegv.sh: Likewise.
29968 * debug/xtrace.sh: Likewise.
29969 * elf/ldconfig.c: Likewise.
29970 * elf/ldd.bash.in: Likewise.
29971 * elf/sprof.c (print_version): Likewise.
29972 * iconv/iconv_prog.c: Likewise.
29973 * iconv/iconvconfig.c: Likewise.
29974 * locale/programs/locale.c: Likewise.
29975 * locale/programs/localedef.c: Likewise.
29976 * malloc/memusage.sh: Likewise.
29977 * malloc/mtrace.pl: Likewise.
29978 * nscd/nscd.c (print_version): Likewise.
29979 * nss/getent.c: Likewise.
29980
a77e8cbc
UD
29981 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
29982 PF_CAIF, and PF_ALG.
29983 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29984
77e8bddf
AS
299852011-01-16 Andreas Schwab <schwab@linux-m68k.org>
29986
1f20b93a
AS
29987 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
29988 (modules-names): Use them.
29989 (ifunc-test-modules, ifunc-pie-tests): Define.
29990 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
29991 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
29992 (test-extras): Likewise.
29993 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
29994 $(compile-command.c).
29995 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
29996 (all-built-dso): Define.
29997 (check-textrel.out, check-execstack.out): Depend on it.
29998
77e8bddf
AS
29999 * configure.in: Don't override --enable-multi-arch.
30000
bc425b33
UD
300012011-01-15 Ulrich Drepper <drepper@gmail.com>
30002
30003 [BZ #6812]
30004 * nscd/hstcache.c (tryagain): Define.
30005 (cache_addhst): Return tryagain not notfound for temporary errors.
30006 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30007 failed.
30008
794c3ad3
UD
300092011-01-14 Ulrich Drepper <drepper@gmail.com>
30010
70181fdd
UD
30011 [BZ #10563]
30012 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30013 to make the syscall.
30014 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30015
794c3ad3
UD
30016 [BZ #12378]
30017 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30018 and fall back to matching as normal character if the string ends before
30019 the matching ']' is found. This is what POSIX requires.
30020 * posix/testfnm.c: Adjust test result.
30021 * posix/globtest.sh: Adjust test result. Add new test.
30022 * posix/tst-fnmatch.input: Likewise.
30023 * posix/tst-fnmatch2.c: Add new test.
30024
68dc9497
AS
300252010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30026
30027 * elf/Makefile (check-execstack): Revert last change. Depend on
30028 check-execstack.h.
30029 (check-execstack.h): New target.
30030 (generated): Add check-execstack.h.
30031 * elf/check-execstack.c: Include "check-execstack.h".
30032 (main): Revert last change.
30033 (handle_file): Return zero if GNU_STACK is absent and
30034 DEFAULT_STACK_PERMS doesn't include PF_X.
30035
451f001b
UD
300362011-01-13 Ulrich Drepper <drepper@gmail.com>
30037
cfa28e56
UD
30038 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30039 in child fails because the descriptor is already closed.
8cf8ce17
UD
30040 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30041 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30042 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30043
1086d70d
UD
30044 [BZ #12397]
30045 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30046 syscall.
30047
451f001b
UD
30048 [BZ #10484]
30049 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30050 temporary buffer used to handle multi lookups locally.
a85b5cb4 30051 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30052
08769175
UD
300532011-01-12 Ulrich Drepper <drepper@gmail.com>
30054
30055 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30056 loader is ld.so.
30057
5e49c52e
UD
300582011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30059
30060 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30061 alignment for SSE2.
30062
60522a5f
UD
300632011-01-12 Ulrich Drepper <drepper@gmail.com>
30064
30065 [BZ #12394]
30066 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30067 characters. When rounding increased number of integer digits recompute
30068 number of groups.
30069 * stdio-common/tst-grouping.c: New file.
30070 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30071
f257bbd7
UD
300722011-01-09 Ulrich Drepper <drepper@gmail.com>
30073
30074 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30075 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30076
30077 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30078 void.
30079 * bits/select.h: Likewise.
30080
fa9c15cb
UD
300812011-01-08 Ulrich Drepper <drepper@gmail.com>
30082
30083 * po/ja.po: Update from translation team.
30084
16c2895f
DM
300852011-01-04 David S. Miller <davem@sunset.davemloft.net>
30086
30087 [BZ #11155]
30088 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30089 implementation just like for lxstat, fxstatat, et al.
30090
2543fef2
JM
300912010-12-27 Jim Meyering <meyering@redhat.com>
30092
30093 [BZ #12348]
30094 * posix/regexec.c (build_trtable): Return failure indication upon
30095 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30096
98727dbe
UD
300972010-12-25 Ulrich Drepper <drepper@gmail.com>
30098
5bd6dc5c
UD
30099 [BZ #12201]
30100 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30101 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30102 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30103 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30104
97983464
UD
30105 [BZ #12207]
30106 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30107
98727dbe
UD
30108 [BZ #12204]
30109 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30110 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30111
4a531bb0
L
301122010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30113
30114 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30115 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30116 script has SORT_BY_INIT_PRIORITY.
30117 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30118 NO_CTORS_DTORS_SECTIONS is defined.
30119 * elf/soinit.c: Likewise.
30120 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30121 NO_CTORS_DTORS_SECTIONS is defined.
30122 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30123 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30124 * sysdeps/sh/init-first.c: Likewise.
30125 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30126
07eb4b71
UD
301272010-12-24 Ulrich Drepper <drepper@gmail.com>
30128
30129 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30130 always use the slow path.
30131
30950a5f
RA
301322010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30133
30134 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30135 similar rule which adds the sysdep directories to the header search in
30136 order to pick up the correct platform stackinfo.h.
30137 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30138 perform test if it is, otherwise return successfully without testing.
30139 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30140 DEFAULT_STACK_PERMS define in stackinfo.h.
30141 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30142 defined in stackinfo.h.
30143 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30144 DEFAULT_STACK_PERMS defined in stackinfo.h.
30145 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30146 * sysdeps/ia64/stackinfo.h: Likewise.
30147 * sysdeps/s390/stackinfo.h: Likewise.
30148 * sysdeps/sh/stackinfo.h: Likewise.
30149 * sysdeps/sparc/stackinfo.h: Likewise.
30150 * sysdeps/x86_64/stackinfo.h: Likewise.
30151 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30152 PF_X for powerpc64. Retain PF_X for powerpc32.
30153
db753e2c
UD
301542010-12-19 Ulrich Drepper <drepper@gmail.com>
30155
14b697f7
UD
30156 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30157 accurately.
db753e2c
UD
30158 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30159 GETDENTS_64BIT_ALIGNED.
30160
28300719
UD
301612010-12-14 Ulrich Drepper <dreper@gmail.com>
30162
14b697f7 30163 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30164
4f197237
AS
301652010-12-10 Andreas Schwab <schwab@redhat.com>
30166
dbb0472f
AS
30167 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30168 _GNU_SOURCE.
30169
4f197237
AS
30170 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30171 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30172 Remove __restrict.
30173 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30174 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30175
fb88ac72
UD
301762010-12-09 Ulrich Drepper <drepper@gmail.com>
30177
30178 [BZ #11655]
30179 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30180 are initialized.
30181
42acbb92
JJ
301822010-12-09 Jakub Jelinek <jakub@redhat.com>
30183
30184 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30185
c038d98d
UD
301862010-12-03 Ulrich Drepper <drepper@gmail.com>
30187
30188 * po/it.po: Update from translation team.
30189
3a4a2499
L
301902010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30191
30192 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30193 unused codes.
30194
1e24cf6e
UD
301952010-11-30 Ulrich Drepper <drepper@gmail.com>
30196
30197 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30198
a7690819
AS
301992010-11-24 Andreas Schwab <schwab@redhat.com>
30200
30201 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30202 specially.
30203 (gaih_getanswer_slice): Likewise.
30204
3bf8d1b1
JJ
302052010-10-20 Jakub Jelinek <jakub@redhat.com>
30206
30207 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30208
6db52fbb
PB
302092010-05-31 Petr Baudis <pasky@suse.cz>
30210
30211 [BZ #11149]
30212 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30213 silently even in the chroot mode.
30214
eaca7569
UD
302152010-11-22 Ulrich Drepper <drepper@gmail.com>
30216
30217 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30218 last patch a bit. Pretty printing
30219
3056dcdb
UD
302202010-05-31 Petr Baudis <pasky@suse.cz>
30221
30222 [BZ #10085]
30223 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30224 initialization of skip_initgroups_dyn.
30225
cf7c9078
UD
302262010-11-19 Ulrich Drepper <drepper@gmail.com>
30227
30228 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30229 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30230
a1fb5e3e
UD
302312010-11-16 Ulrich Drepper <drepper@gmail.com>
30232
30233 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30234
3540d66b
AS
302352010-11-11 Andreas Schwab <schwab@redhat.com>
30236
30237 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30238 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30239 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30240 ($(objpfx)tst-fnmatch-mem): New rule.
30241 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30242 * posix/tst-fnmatch.c (main): Call mtrace.
30243
13b69574
L
302442010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30245
30246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30247 Support Intel processor model 6 and model 0x2c.
30248
da93d214
LM
302492010-11-10 Luis Machado <luisgpm@br.ibm.com>
30250
30251 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30252 signed comparison.
30253
8ca52c6e
L
302542010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30255
30256 [BZ #12205]
30257 * string/test-strncasecmp.c (check_result): New function.
30258 (do_one_test): Use it.
30259 (check1): New function.
30260 (test_main): Use it.
30261 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30262 Support strcasecmp and strncasecmp.
30263
69da074d
UD
302642010-11-08 Ulrich Drepper <drepper@gmail.com>
30265
30266 [BZ #12194]
30267 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30268 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30269
ff02d528
L
302702010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30271
30272 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30273 IFUNC support.
30274 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30275 memset-x86-64.
30276 * sysdeps/x86_64/multiarch/bzero.S: New file.
30277 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30278 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30279 * sysdeps/x86_64/multiarch/memset.S: New file.
30280 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30281 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30282 Set bit_Prefer_SSE_for_memop for Intel processors.
30283 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30284 Define.
30285 (index_Prefer_SSE_for_memop): Define.
30286 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30287
344d0b54
LM
302882010-11-04 Luis Machado <luisgpm@br.ibm.com>
30289
30290 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30291 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30292
c0dde15b
UD
302932010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30294
30295 [BZ #12191]
30296 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30297 (__x86_64_raw_data_cache_size_half): Likewise.
30298 (__x86_64_raw_shared_cache_size): Likewise.
30299 (__x86_64_raw_shared_cache_size_half): Likewise.
30300
30301 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30302 (__x86_64_raw_data_cache_size_half): Likewise.
30303 (__x86_64_raw_shared_cache_size): Likewise.
30304 (__x86_64_raw_shared_cache_size_half): Likewise.
30305 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30306 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30307 and __x86_64_raw_shared_cache_size_half. Round
30308 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30309 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30310 to multiple of 256 bytes.
30311
0e516e0e
MS
303122010-11-03 Ulrich Drepper <drepper@gmail.com>
30313
30314 [BZ #12167]
30315 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30316 of inacessible symlinks. Verify result of symlink before returning it.
30317 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30318 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30319
0e012e87
ER
303202010-10-28 Erich Ritz <erichritz@gmail.com>
30321
30322 * math/math.h (isinf): Fix typo in comment.
30323
de0ff7bc
UD
303242010-11-01 Ulrich Drepper <drepper@gmail.com>
30325
30326 * po/da.po: Update from translation team.
30327
fa41c84d
UD
303282010-10-26 Ulrich Drepper <drepper@gmail.com>
30329
30330 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30331 is added to the list.
30332
f0967738
AK
303332010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30334 Ulrich Drepper <drepper@gmail.com>
30335
30336 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30337 the global list here. Move code to...
30338 (_dl_add_to_namespace_list): ...here. New function.
30339 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30340 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30341 * elf/dl-load.c (lose): Don't remove the element from the list.
30342 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30343 (_dl_map_object): Likewise.
30344
303452010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
30346
30347 [BZ #12159]
30348 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30349 into all bytes of SSE register.
30350 Patch by Richard Li <richardpku@gmail.com>.
30351
f0967738 303522010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
30353
30354 [BZ #12140]
30355 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30356 perturbing.
30357
d0b9e94f
MB
303582010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30359
30360 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30361 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30362 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30363 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30365 submachine.
30366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30367
8e9f92e9
AS
303682010-10-22 Andreas Schwab <schwab@redhat.com>
30369
30370 * include/dlfcn.h (__RTLD_SECURE): Define.
30371 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30372 mode & __RTLD_SECURE instead.
30373 (open_path): Rename preloaded parameter to secure.
30374 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30375 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30376 * elf/dl-deps.c (openaux): Likewise.
30377 * elf/rtld.c (struct map_args): Remove is_preloaded.
30378 (map_doit): Don't use it.
30379 (dl_main): Likewise.
30380 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30381 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30382
bc96fbda
AS
303832010-09-09 Andreas Schwab <schwab@redhat.com>
30384
30385 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30386 (sysd-rules-targets): Remove duplicates.
30387 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30388 rtld-%.$o dependency.
30389
22cd1c9b
AS
303902010-10-18 Andreas Schwab <schwab@redhat.com>
30391
30392 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30393 _dl_map_object do it.
30394
18edac48
UD
303952010-10-19 Ulrich Drepper <drepper@gmail.com>
30396
30397 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30398 fast fma builtins, define the macros in the C99 standard.
30399 (FP_FAST_FMAF): Likewise.
30400 (FP_FAST_FMAL): Likewise.
30401 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30402
30403 * bits/mathdef.h: Update copyright year.
30404 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30405
d2050124
MM
304062010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30407
30408 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30409 builtins, define the macros in the C99 standard.
30410 (FP_FAST_FMAF): Likewise.
30411 (FP_FAST_FMAL): Likewise.
30412 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30413 multiply/add.
30414 (FP_FAST_FMAF): Likewise.
30415
475facd1
JJ
304162010-10-15 Jakub Jelinek <jakub@redhat.com>
30417
30418 [BZ #3268]
30419 * math/libm-test.inc (fma_test): Some new testcases.
30420 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30421 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30422 y and infinite z. Do multiplication by C already in long double.
30423 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30424 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30425 y and infinite z. Do bitwise or of inexact bit into u.d.
30426 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30427 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30428 * sysdeps/i386/fpu/s_fma.S: Removed.
30429 * sysdeps/i386/fpu/s_fmal.S: Removed.
30430
7c08a05c
JJ
304312010-10-16 Jakub Jelinek <jakub@redhat.com>
30432
30433 [BZ #3268]
30434 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30435 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30436 computation is not scheduled after fetestexcept. Fix value
30437 of minimum denormal long double.
30438
f3f7372d
JJ
304392010-10-14 Jakub Jelinek <jakub@redhat.com>
30440
30441 [BZ #3268]
30442 * math/libm-test.inc (fma_test): Add some more tests.
30443 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30444 correctly.
30445
14d43591
AS
304462010-10-15 Andreas Schwab <schwab@redhat.com>
30447
30448 * scripts/data/localplt-s390-linux-gnu.data: New file.
30449 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30450
5e908464
JJ
304512010-10-13 Jakub Jelinek <jakub@redhat.com>
30452
30453 [BZ #3268]
30454 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30455 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30456 instead of dbl-64.
30457 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30458 inlines.
30459 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30460 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30461 if one of x and y is very large and the other is subnormal.
30462 * sysdeps/s390/fpu/s_fmaf.c: New file.
30463 * sysdeps/s390/fpu/s_fma.c: New file.
30464 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30465 * sysdeps/powerpc/fpu/s_fma.S: New file.
30466 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30467 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30468 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30469
304702010-10-12 Jakub Jelinek <jakub@redhat.com>
30471
30472 [BZ #3268]
30473 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30474 fma tests.
30475 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30476 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30477 * sysdeps/i386/i686/multiarch/s_fma.c: Include
30478 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30479 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30480 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30481 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30482
b833d51f
UD
304832010-10-12 Ulrich Drepper <drepper@redhat.com>
30484
30485 [BZ #12078]
30486 * posix/regcomp.c (parse_branch): One more memory leak plugged.
30487 * posix/bug-regex31.input: Add test case.
30488
1751705d
UD
304892010-10-11 Ulrich Drepper <drepper@gmail.com>
30490
e9b9cbf5
UD
30491 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30492 * posix/bug-regex31.input: New file.
30493
30494 [BZ #12078]
30495 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30496 (parse_sub_exp): Fix last change, use postorder.
30497
ef06edbe
UD
30498 * posix/bug-regex31.c: New file.
30499 * posix/Makefile: Add rules to build and run bug-regex31.
30500
a129c80d
UD
30501 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30502
30503 [BZ #12078]
30504 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30505
b76b818e
UD
30506 [BZ #12108]
30507 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30508 to have entries in sys_siglist.
30509
1751705d
UD
30510 [BZ #12093]
30511 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30512 be NULL.
30513
9ff8d36f
JJ
305142010-10-07 Jakub Jelinek <jakub@redhat.com>
30515
30516 [BZ #3268]
30517 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30518 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30519 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30520 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30521 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30522 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30523 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30524 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30525 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30526 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30527 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30528 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30529 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30530 * math/ftestexcept.c (fetestexcept): Likewise.
30531 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30532 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30533 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30534 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30535 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30536 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30537 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30538
af325969
UD
305392010-10-11 Ulrich Drepper <drepper@gmail.com>
30540
c579b202 30541 [BZ #12107]
af325969
UD
30542 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30543 newline.
30544
67a67b95
UD
305452010-10-06 Ulrich Drepper <drepper@gmail.com>
30546
30547 * string/bug-strstr1.c: New file.
30548 * string/Makefile: Add rules to build and run bug-strstr1.
30549
5fb308bc
EB
305502010-10-05 Eric Blake <eblake@redhat.com>
30551
30552 [BZ #12092]
30553 * string/str-two-way.h (two_way_long_needle): Always clear memory
30554 when skipping input due to the shift table.
30555
45db99c7
UD
305562010-10-03 Ulrich Drepper <drepper@gmail.com>
30557
3b111893
UD
30558 [BZ #12005]
30559 * malloc/mcheck.c: Handle large requests.
30560
45db99c7
UD
30561 [BZ #12077]
30562 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30563 for strncmp and strncasecmp.
30564 * string/stratcliff.c: Add tests for strcmp and strncmp.
30565 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30566
cf7a1eb8
NI
305672010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30568
30569 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30570 __set_fpscr.
30571
6484ba5e
AJ
305722010-09-30 Andreas Jaeger <aj@suse.de>
30573
30574 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30575 (CGROUP_SUPER_MAGIC): Define.
30576 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30577 Handle btrfs and cgroup file systems.
30578 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30579 Likewise.
30580
91c42559
LM
305812010-09-27 Luis Machado <luisgpm@br.ibm.com>
30582
30583 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30584 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30585
87a97932
AK
305862010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30587
30588 [BZ #12067]
30589 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30590 trying to locate the ELF header.
30591
c21cc9bc
AS
305922010-09-27 Andreas Schwab <schwab@redhat.com>
30593
30594 [BZ #11611]
30595 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30596 Mask out sign-bit copies when constructing f_fsid.
30597
315970f6
PB
305982010-09-24 Petr Baudis <pasky@suse.cz>
30599
30600 * debug/stack_chk_fail_local.c: Add missing licence exception.
30601 * debug/warning-nop.c: Likewise.
30602
1ac7a2c7
JM
306032010-09-15 Joseph Myers <joseph@codesourcery.com>
30604
30605 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30606 implementing getdents64 using getdents syscall, set d_type if
30607 __ASSUME_GETDENTS32_D_TYPE.
30608
56801c50
AS
306092010-09-16 Andreas Schwab <schwab@redhat.com>
30610
30611 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30612 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30613
dda51327
UD
306142010-09-21 Ulrich Drepper <drepper@redhat.com>
30615
30616 [BZ #12037]
30617 * posix/unistd.h: Undo change of feature selection for ftruncate from
30618 2010-01-11.
30619
8ffcee4a
UD
306202010-09-20 Ulrich Drepper <drepper@redhat.com>
30621
a545ecd9 30622 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
30623 detection.
30624
e24f0a8b
AS
306252010-09-20 Andreas Schwab <schwab@redhat.com>
30626
30627 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30628 fanotify_mark.
30629 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30630
7291c56f
AS
306312010-09-14 Andreas Schwab <schwab@redhat.com>
30632
30633 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30634 variables after CHECK_SP call.
30635 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30636
bc5fb037
AS
306372010-09-13 Andreas Schwab <schwab@redhat.com>
30638 Ulrich Drepper <drepper@redhat.com>
30639
30640 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30641 re-relocationg ld.so.
30642 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30643 _dl_init_paths call.
30644 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
30645 here anymore.
30646
e66e7419
UD
306472010-09-14 Ulrich Drepper <drepper@redhat.com>
30648
30649 * resolv/res_init.c (__res_vinit): Count the default server we added.
30650
c044aa75
CLT
306512010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
30652 Ulrich Drepper <drepper@redhat.com>
30653
30654 [BZ #11968]
30655 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30656 (____longjmp_chk): Use %ebx for saving value across system call.
30657 Add unwind info.
30658
32cf4069
AS
306592010-09-06 Andreas Schwab <schwab@redhat.com>
30660
30661 * manual/Makefile: Don't mix pattern rules with normal rules.
30662
817328ee
AS
306632010-09-05 Andreas Schwab <schwab@linux-m68k.org>
30664
30665 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30666 operation.
30667 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30668 * libio/iofopncook.c (_IO_cookie_init): Likewise.
30669 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30670 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30671 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30672 Likewise.
30673
29fddf61
UD
306742010-09-04 Ulrich Drepper <drepper@redhat.com>
30675
30676 [BZ #11979]
30677 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30678 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30679
0959ffc9
UD
306802010-09-02 Ulrich Drepper <drepper@redhat.com>
30681
30682 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30683 * sysdeps/x86_64/addmul_1.S: Likewise.
30684 * sysdeps/x86_64/lshift.S: Likewise.
30685 * sysdeps/x86_64/mul_1.S: Likewise.
30686 * sysdeps/x86_64/rshift.S: Likewise.
30687 * sysdeps/x86_64/sub_n.S: Likewise.
30688 * sysdeps/x86_64/submul_1.S: Likewise.
30689
ece29840
ST
306902010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
30691
0959ffc9
UD
30692 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30693 Define __sched_param instead of SCHED_* and sched_param when
ece29840 30694 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 30695 * bits/sched.h [__need_schedparam]
ece29840 30696 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
30697 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30698 (__defined_schedparam): Define to 1.
ece29840
ST
30699 (__sched_param): New structure, identical to sched_param.
30700 (__need_schedparam): Undefine.
30701
e53a31fe
MF
307022010-08-31 Mike Frysinger <vapier@gentoo.org>
30703
fdc0c10d
MF
30704 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30705 (epoll_create1): Declare.
30706
e53a31fe
MF
30707 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30708
a726d796
AS
307092010-08-31 Andreas Schwab <schwab@redhat.com>
30710
30711 [BZ #7066]
30712 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30713 shifting retval into place.
30714
2f3e3dc7
UD
307152010-09-01 Ulrich Drepper <drepper@redhat.com>
30716
f2933da9
UD
30717 * nis/rpcsvc/nis.h: Update copyright notice.
30718 * nis/rpcsvc/nis.x: Likewise.
30719 * nis/rpcsvc/nis_callback.h: Likewise.
30720 * nis/rpcsvc/nis_callback.x: Likewise.
30721 * nis/rpcsvc/nis_object.x: Likewise.
30722 * nis/rpcsvc/nis_tags.h: Likewise.
30723 * nis/rpcsvc/yp.h: Likewise.
30724 * nis/rpcsvc/yp.x: Likewise.
30725 * nis/rpcsvc/ypupd.h: Likewise.
30726 * nis/yp_xdr.c: Likewise.
30727 * nis/ypupdate_xdr.c: Likewise.
30728
2f3e3dc7
UD
30729 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
30730 mainly the body of pmap_getport. Add parameters to specify timeouts.
30731 (pmap_getport): Use __libc_rpc_getport.
30732 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
30733 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
30734 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
30735
f3dcc2f9
AS
307362010-08-31 Andreas Schwab <schwab@linux-m68k.org>
30737
30738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
30739 fanotify_mark.
30740
6d34eb5b
RM
307412010-08-27 Roland McGrath <roland@redhat.com>
30742
30743 * sysdeps/i386/i686/multiarch/Makefile
30744 (CFLAGS-varshift.c): New variable.
30745
9ea3de11
UD
307462010-08-27 Ulrich Drepper <drepper@redhat.com>
30747
c96d23fc
UD
30748 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
30749 * sysdeps/i386/i686/multiarch/varshift.c: New file.
30750
9ea3de11
UD
30751 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
30752
30753 * sysdeps/x86_64/strlen.S: Minimal code improvement.
30754
623aac7f
L
307552010-08-26 H.J. Lu <hongjiu.lu@intel.com>
30756
30757 * sysdeps/x86_64/strlen.S: Unroll the loop.
30758 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30759 strlen-sse2 strlen-sse2-bsf.
30760 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
30761 __strlen_no_bsf if bit_Slow_BSF is set.
30762 (__strlen_sse42): Removed.
30763 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
30764 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
30765
8b2b7715
RM
307662010-08-25 Roland McGrath <roland@redhat.com>
30767
30768 * sysdeps/x86_64/multiarch/varshift.S: File removed.
30769 * sysdeps/x86_64/multiarch/varshift.c: New file.
30770 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
30771 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
30772 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
30773 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30774
e73015f2
L
307752010-08-25 H.J. Lu <hongjiu.lu@intel.com>
30776
30777 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30778 strlen-sse2 strlen-sse2-bsf.
30779 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
30780 __strlen_sse2_bsf if bit_Slow_BSF is unset.
30781 (__strlen_sse2): Removed.
30782 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
30783 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
30784 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30785 bit_Slow_BSF for Atom.
30786 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
30787 (index_Slow_BSF): Define.
30788 (HAS_SLOW_BSF): Define.
30789
df24a73e
UD
307902010-08-25 Ulrich Drepper <drepper@redhat.com>
30791
30792 [BZ #10851]
30793 * resolv/res_init.c (__res_vinit): When no server address at all
30794 is given default to loopback.
30795
f2ac4868
RM
307962010-08-24 Roland McGrath <roland@redhat.com>
30797
09055553
RM
30798 * configure.in: Remove config-name.h generation.
30799 * configure: Regenerated.
30800 * config-name.in: File removed.
30801 * scripts/config-uname.sh: New file.
30802 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
30803 ($(objdir)config-name.h): New target.
30804
f2ac4868
RM
30805 * sunrpc/rpc_parse.h: Avoid nested comment.
30806
73f27d5e
RH
308072010-08-24 Richard Henderson <rth@redhat.com>
30808 Ulrich Drepper <drepper@redhat.com>
30809 H.J. Lu <hongjiu.lu@intel.com>
30810
30811 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
30812 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
30813 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
30814 Replace _mm_srli_si128 with __m128i_shift_right. Replace
30815 _mm_alignr_epi8 with _mm_loadu_si128.
30816 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
30817 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
30818 (__m128i_shift_right): Removed.
30819 * sysdeps/i386/i686/multiarch/varshift.h: New file.
30820 * sysdeps/i386/i686/multiarch/varshift.S: New file.
30821 * sysdeps/x86_64/multiarch/varshift.h: New file.
30822 * sysdeps/x86_64/multiarch/varshift.S: New file.
30823
84b9230c
MF
308242010-08-21 Mike Frysinger <vapier@gentoo.org>
30825
30826 * configure.in: Move assembler checks to before sysdep dir checking.
30827
9bbd0ddc
PB
308282010-08-20 Petr Baudis <pasky@suse.cz>
30829
30830 * LICENSES: Sync the sunrpc license.
30831
9da4bb31
UD
308322010-08-19 Ulrich Drepper <drepper@redhat.com>
30833
a7ab6ec8
UD
30834 * sunrpc/auth_des.c: Update copyright notice once again.
30835 * sunrpc/auth_none.c: Likewise.
30836 * sunrpc/auth_unix.c: Likewise.
30837 * sunrpc/authdes_prot.c: Likewise.
30838 * sunrpc/authuxprot.c: Likewise.
30839 * sunrpc/bindrsvprt.c: Likewise.
30840 * sunrpc/clnt_gen.c: Likewise.
30841 * sunrpc/clnt_perr.c: Likewise.
30842 * sunrpc/clnt_raw.c: Likewise.
30843 * sunrpc/clnt_simp.c: Likewise.
30844 * sunrpc/clnt_tcp.c: Likewise.
30845 * sunrpc/clnt_udp.c: Likewise.
30846 * sunrpc/clnt_unix.c: Likewise.
30847 * sunrpc/des_crypt.c: Likewise.
30848 * sunrpc/des_soft.c: Likewise.
30849 * sunrpc/get_myaddr.c: Likewise.
30850 * sunrpc/getrpcport.c: Likewise.
30851 * sunrpc/key_call.c: Likewise.
30852 * sunrpc/key_prot.c: Likewise.
30853 * sunrpc/openchild.c: Likewise.
30854 * sunrpc/pm_getmaps.c: Likewise.
30855 * sunrpc/pm_getport.c: Likewise.
30856 * sunrpc/pmap_clnt.c: Likewise.
30857 * sunrpc/pmap_prot.c: Likewise.
30858 * sunrpc/pmap_prot2.c: Likewise.
30859 * sunrpc/pmap_rmt.c: Likewise.
30860 * sunrpc/rpc/auth.h: Likewise.
30861 * sunrpc/rpc/auth_unix.h: Likewise.
30862 * sunrpc/rpc/clnt.h: Likewise.
30863 * sunrpc/rpc/des_crypt.h: Likewise.
30864 * sunrpc/rpc/key_prot.h: Likewise.
30865 * sunrpc/rpc/netdb.h: Likewise.
30866 * sunrpc/rpc/pmap_clnt.h: Likewise.
30867 * sunrpc/rpc/pmap_prot.h: Likewise.
30868 * sunrpc/rpc/pmap_rmt.h: Likewise.
30869 * sunrpc/rpc/rpc.h: Likewise.
30870 * sunrpc/rpc/rpc_des.h: Likewise.
30871 * sunrpc/rpc/rpc_msg.h: Likewise.
30872 * sunrpc/rpc/svc.h: Likewise.
30873 * sunrpc/rpc/svc_auth.h: Likewise.
30874 * sunrpc/rpc/types.h: Likewise.
30875 * sunrpc/rpc/xdr.h: Likewise.
30876 * sunrpc/rpc_clntout.c: Likewise.
30877 * sunrpc/rpc_cmsg.c: Likewise.
30878 * sunrpc/rpc_common.c: Likewise.
30879 * sunrpc/rpc_cout.c: Likewise.
30880 * sunrpc/rpc_dtable.c: Likewise.
30881 * sunrpc/rpc_hout.c: Likewise.
30882 * sunrpc/rpc_main.c: Likewise.
30883 * sunrpc/rpc_parse.c: Likewise.
30884 * sunrpc/rpc_parse.h: Likewise.
30885 * sunrpc/rpc_prot.c: Likewise.
30886 * sunrpc/rpc_sample.c: Likewise.
30887 * sunrpc/rpc_scan.c: Likewise.
30888 * sunrpc/rpc_scan.h: Likewise.
30889 * sunrpc/rpc_svcout.c: Likewise.
30890 * sunrpc/rpc_tblout.c: Likewise.
30891 * sunrpc/rpc_util.c: Likewise.
30892 * sunrpc/rpc_util.h: Likewise.
30893 * sunrpc/rpcinfo.c: Likewise.
30894 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
30895 * sunrpc/rpcsvc/key_prot.x: Likewise.
30896 * sunrpc/rpcsvc/klm_prot.x: Likewise.
30897 * sunrpc/rpcsvc/mount.x: Likewise.
30898 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
30899 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
30900 * sunrpc/rpcsvc/rex.x: Likewise.
30901 * sunrpc/rpcsvc/rstat.x: Likewise.
30902 * sunrpc/rpcsvc/rusers.x: Likewise.
30903 * sunrpc/rpcsvc/sm_inter.x: Likewise.
30904 * sunrpc/rpcsvc/spray.x: Likewise.
30905 * sunrpc/rpcsvc/yppasswd.x: Likewise.
30906 * sunrpc/rtime.c: Likewise.
30907 * sunrpc/svc.c: Likewise.
30908 * sunrpc/svc_auth.c: Likewise.
30909 * sunrpc/svc_authux.c: Likewise.
30910 * sunrpc/svc_raw.c: Likewise.
30911 * sunrpc/svc_run.c: Likewise.
30912 * sunrpc/svc_simple.c: Likewise.
30913 * sunrpc/svc_tcp.c: Likewise.
30914 * sunrpc/svc_udp.c: Likewise.
30915 * sunrpc/svc_unix.c: Likewise.
30916 * sunrpc/svcauth_des.c: Likewise.
30917 * sunrpc/xcrypt.c: Likewise.
30918 * sunrpc/xdr.c: Likewise.
30919 * sunrpc/xdr_array.c: Likewise.
30920 * sunrpc/xdr_float.c: Likewise.
30921 * sunrpc/xdr_mem.c: Likewise.
30922 * sunrpc/xdr_rec.c: Likewise.
30923 * sunrpc/xdr_ref.c: Likewise.
30924 * sunrpc/xdr_sizeof.c: Likewise.
30925 * sunrpc/xdr_stdio.c: Likewise.
30926
9da4bb31
UD
30927 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
30928 handling.
30929
bdaa77bc
AS
309302010-08-19 Andreas Schwab <schwab@redhat.com>
30931
30932 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
30933
fe2f79db
LM
309342010-08-19 Luis Machado <luisgpm@br.ibm.com>
30935
30936 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
30937 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
30938 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
30939 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
30940 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
30941 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
30942 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
30943 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
30944 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
30945 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
30946 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
30947 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
30948 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
30949 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
30950
b9b42ee0
AB
309512010-07-26 Anton Blanchard <anton@samba.org>
30952
30953 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
30954 * malloc/arena.c (heap_trim): Likewise.
30955
1c06ba31
UD
309562010-08-16 Ulrich Drepper <drepper@redhat.com>
30957
30958 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
30959 here. Not...
30960 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
30961 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
30962
f8392f40
L
309632010-08-12 H.J. Lu <hongjiu.lu@intel.com>
30964
30965 * sysdeps/i386/elf/Makefile: New file.
30966
3162f12e
AS
309672010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30968
30969 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
30970 from fanotify_init.
30971 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
30972 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30973
28c90b2c
UD
309742010-08-15 Ulrich Drepper <drepper@redhat.com>
30975
30976 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
30977 of strncasecmp_l.
1feccb6c 30978 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 30979
ca6bb004
UD
309802010-08-14 Ulrich Drepper <drepper@redhat.com>
30981
e9f82e0d
UD
30982 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30983 strncase_l-nonascii.
30984 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30985 Add strncase_l-ssse3.
30986 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
30987 * sysdeps/x86_64/strcmp.S: Likewise.
30988 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
30989 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
30990 * sysdeps/x86_64/strncase.S: New file.
30991 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
30992 * sysdeps/x86_64/strncase_l.S: New file.
30993 * string/Makefile (strop-tests): Add strncasecmp.
30994 * string/test-strncasecmp.c: New file.
30995
30996 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
30997 warning.
30998
ca6bb004
UD
30999 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31000 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31001
052fa7b3
AS
310022010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31003
31004 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31005
962dba78
UD
310062010-08-12 Ulrich Drepper <drepper@redhat.com>
31007
31008 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31009 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31010 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31011
bebff237
AM
310122010-05-01 Alan Modra <amodra@gmail.com>
31013
31014 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31015 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31016 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31017 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31018 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31019 tidying. Don't tail-call __sigjmp_save for static lib.
31020 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31021 save location.
31022 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31023 (CALL_MCOUNT): Add eh info, and nop after bl.
31024 (TAIL_CALL_SYSCALL_ERROR): New macro.
31025 (PSEUDO_RET): Use it.
31026 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31027 Correct save location of integer regs and cr.
31028 (_dl_profile_resolve): Correct cr save location. Delete nops
31029 after bl when SHARED. Reduce cfi size a little by better
31030 placement of cfi directives.
31031 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31032 make a stack frame. Instead use parm save area as a temp.
31033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31034 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31036 Don't make a stack frame for parent, use parm save area.
31037 Increase child stack frame to 112 bytes. Don't save unused reg,
31038 and adjust reg usage. Set up cfi on error recovery and
31039 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31041 (__makecontext): Add dummy nop after jump to exit.
31042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31043 Use correct parm save area and cr save, reduce stack frame.
31044 Correct cfi for possible PSEUDO_RET frame setup.
31045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31046 Branch to local label emitted by PSEUDO_RET rather than
31047 __syscall_error.
31048
02637374
AS
310492010-08-12 Andreas Schwab <schwab@redhat.com>
31050
31051 [BZ #11904]
31052 * locale/programs/locale.c (print_assignment): New function.
31053 (show_locale_vars): Use it.
31054
c3e2f19b
UD
310552010-08-11 Ulrich Drepper <drepper@redhat.com>
31056
3cdaa6ad
UD
31057 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31058 field.
31059 (struct statfs64): Likewise.
31060 (_STATFS_F_FLAGS): Define.
31061 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31062 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31063 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31064 (ST_VALID): Define locally.
31065 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31066 __statvfs_getflags, use the provided value.
31067 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31068 __ASSUME_STATFS_F_FLAGS.
31069
754f7da3
UD
31070 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31071
10b3bedc
UD
31072 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31073 Add sys/fanotify.h.
31074 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31075 fanotify_mask for GLIBC_2.13.
31076 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31077 fanotify_init and fanotify_mark.
31078 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31079 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31080
c08fb0d7
UD
31081 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31082 Add prlimit.
31083 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31084 prlimit64 for GLIBC_2.13.
31085 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31086 prlimit64.
31087 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31088 syscall.
31089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31090 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31091 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31092 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31093 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31094 add prlimit alias.
31095 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31096
15bac72b
UD
31097 [BZ #11903]
31098 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31099 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31100
c3e2f19b
UD
31101 * nss/Makefile: Add rules to build and run tst-nss-test1.
31102 * shlib-versions: Add entry for libnss_test1.
31103 * nss/nss_test1.c: New file.
31104 * nss/tst-nss-test1.c: New file.
31105
31106 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31107 (__nss_configure_lookup): Set appropriate entry in
31108 __nss_configure_lookup to true.
31109 * nss/nsswitch.h: Define enum with indeces of databases in
31110 databases and __nss_database_custom arrays. Declare
31111 __nss_database_custom.
31112 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31113 to avoid using nscd when custom rules are installed.
31114 * nss/getXXbyYY_r.c: Likewise.
31115 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31116
31117 * nss/nss_files/files-parse.c: Whitespace fixes.
31118
f15ce4d8
UD
311192010-08-09 Ulrich Drepper <drepper@redhat.com>
31120
31121 [BZ #11883]
31122 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31123 * posix/fnmatch_loop.c: Likewise.
31124
d22e4cc9
AK
311252010-07-17 Andi Kleen <ak@linux.intel.com>
31126
31127 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31128 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31129 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31130 * Versions.def [GLIBC_2.13]: Add.
31131
805bc17d
UD
311322010-08-06 Ulrich Drepper <drepper@redhat.com>
31133
31134 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31135 Also fail if tpwd after pwuid call is NULL.
31136
5a42321d
ST
311372010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31138
31139 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31140 when converting to ms.
31141
fd3ebeda
ST
311422010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31143
31144 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31145 EOPNOTSUPP errors with ENOTTY.
31146 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31147 EOPNOTSUPP errors with ENOTTY.
31148
73507d3a
UD
311492010-07-31 Ulrich Drepper <drepper@redhat.com>
31150
31151 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31152 Add strcasecmp_l-ssse3.
31153 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31154 strcasecmp.
31155 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31156 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31157 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31158
fe36dd02
UD
311592010-07-30 Ulrich Drepper <drepper@redhat.com>
31160
66f6765a
UD
31161 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31162
42e08a54
UD
31163 * string/Makefile (strop-tests): Add strcasecmp.
31164 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31165 strcasecmp_l-nonascii.
31166 (gen-as-const-headers): Add locale-defines.sym.
31167 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31168 * sysdeps/x86_64/strcasecmp.S: New file.
31169 * sysdeps/x86_64/strcasecmp_l.S: New file.
31170 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31171 * sysdeps/x86_64/locale-defines.sym: New file.
31172 * string/test-strcasecmp.c: New file.
31173
fe36dd02
UD
31174 * string/test-strcasestr.c: Test both ends of the range of characters.
31175 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31176
48cbc0d6
RM
311772010-07-29 Roland McGrath <roland@redhat.com>
31178
76e6d6bc 31179 [BZ #11856]
48cbc0d6
RM
31180 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31181
880113d9
UD
311822010-07-27 Ulrich Drepper <drepper@redhat.com>
31183
31184 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31185 for ld.so.
31186
deb9cabb
AS
311872010-07-27 Andreas Schwab <schwab@redhat.com>
31188
31189 * manual/memory.texi (Malloc Tunable Parameters): Document
31190 M_PERTURB.
31191
1c7570ff
RM
311922010-07-26 Roland McGrath <roland@redhat.com>
31193
31194 [BZ #11840]
31195 * configure.in (-fgnu89-inline check): Set and substitute
31196 gnu89_inline, not libc_cv_gnu89_inline.
31197 * configure: Regenerated.
31198 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31199
24fb0f88
UD
312002010-07-26 Ulrich Drepper <drepper@redhat.com>
31201
31202 * string/test-strnlen.c: New file.
31203 * string/Makefile (strop-tests): Add strnlen.
31204 * string/tester.c (test_strnlen): Add a few more test cases.
31205 * string/tst-strlen.c: Better error reporting.
31206
31207 * sysdeps/x86_64/strnlen.S: New file.
31208
8e96b93a
UD
312092010-07-24 Ulrich Drepper <drepper@redhat.com>
31210
31211 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31212 lower-latency instructions.
31213
dbc676d4
UD
312142010-07-23 Ulrich Drepper <drepper@redhat.com>
31215
31216 * string/test-strcasestr.c: New file.
31217 * string/test-strstr.c: New file.
31218 * string/Makefile (strop-tests): Add strstr and strcasestr.
31219 * string/str-two-way.h: Don't undefine MAX.
31220 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31221
f6a31e0e
AS
312222010-07-21 Andreas Schwab <schwab@redhat.com>
31223
31224 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31225 strcasestr-nonascii.
31226 (CFLAGS-strcasestr-nonascii.c): Define.
31227 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31228 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31229 Remove unused attribute.
31230
5dbc3b6c
RM
312312010-07-20 Roland McGrath <roland@redhat.com>
31232
31233 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31234 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31235 ld.so.cache was broken. With it, there is no way to disable dsocaps
31236 like LD_HWCAP_MASK can disable hwcaps.
31237
23d101d8
EPM
312382010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31239
31240 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31241
cc9f2e47
UD
312422010-07-16 Ulrich Drepper <drepper@redhat.com>
31243
31244 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31245 call in strcasestr.
31246 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31247 __strcasestr_sse42_nonascii.
31248 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31249 strcasestr-nonascii.c.
31250 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31251
77c1b069
LM
312522010-06-15 Luis Machado <luisgpm@br.ibm.com>
31253
31254 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31255 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31256 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31257 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31258
440566c3
UD
312592010-07-09 Ulrich Drepper <drepper@redhat.com>
31260
31261 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31262 fcntl.
31263
5be9d05d
AS
312642010-07-06 Andreas Schwab <schwab@redhat.com>
31265
c30b7ee2 31266 [BZ #11577]
5be9d05d
AS
31267 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31268 dl_signal_cerror.
31269
8a492a67
UD
312702010-07-06 Ulrich Drepper <drepper@redhat.com>
31271
31272 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31273 _PC_PIPE_BUF using F_GETPIPE_SZ.
31274
713df3d5
RM
312752010-07-05 Roland McGrath <roland@redhat.com>
31276
31277 * manual/arith.texi (Rounding Functions): Fix rint description
31278 implicit in round description.
31279
702e8f14
UD
312802010-07-02 Ulrich Drepper <drepper@redhat.com>
31281
31282 * elf/Makefile: Fix linking for a few tests to make recent linker
31283 happy.
31284
52ed8be9
AS
312852010-06-30 Andreas Schwab <schwab@redhat.com>
31286
31287 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31288 $(common-objpfx)libc_nonshared.a.
31289
f47c9a11
LM
312902010-06-21 Luis Machado <luisgpm@br.ibm.com>
31291
31292 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31293 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31294 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31295 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31296 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31297 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31298 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31299 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31314 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31315 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31316 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31317 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31318 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31319 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31320 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31321 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31322 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31323 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31324 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31325 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31340
6fb8cbcb
L
313412010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31342
31343 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31344 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31345 * string/memmove.c (memmove): Renamed to ...
31346 (MEMMOVE): ...this. Default to memmove.
31347 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31348 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31349 (END_CHK): Define.
31350 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31351 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31352 mempcpy-ssse3-back memmove-ssse3-back.
31353 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31354 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31355 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31356 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31357 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31358 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31359 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31360 * sysdeps/x86_64/multiarch/memmove.c: New file.
31361 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31362 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31363 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31364 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31365 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31366 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31367 Define.
31368 (index_Fast_Copy_Backward): Define.
31369 (HAS_ARCH_FEATURE): Define.
31370 (HAS_FAST_REP_STRING): Define.
31371 (HAS_FAST_COPY_BACKWARD): Define.
31372
4e733bac 313732010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
31374
31375 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31376 Restore proper fallback handling.
31377
63c4ed22
UD
313782010-06-19 Ulrich Drepper <drepper@redhat.com>
31379
ac2b484c
UD
31380 [BZ #11701]
31381 * posix/group_member.c (__group_member): Correct checking loop.
31382
63c4ed22
UD
31383 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31384 OOM in getpwuid_r correctly. Return error number when the caller
31385 should return, otherwise -1.
31386 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31387 call returning > 0 value.
31388 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31389
765ade4b
AS
313902010-06-07 Andreas Schwab <schwab@redhat.com>
31391
31392 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31393 libc_nonshared.a from targets in modules-names.
31394
80da2e09
KS
313952010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31396
31397 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31398 requires it.
31399
158db122
LM
314002010-06-10 Luis Machado <luisgpm@br.ibm.com>
31401
31402 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31403 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31404 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31405 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31406
caa78cf8
AS
314072010-06-02 Andreas Schwab <schwab@redhat.com>
31408
31409 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31410
b2ef2c01
UD
314112010-06-14 Ulrich Drepper <drepper@redhat.com>
31412
31413 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31414 and F_GETPIPE_SZ.
31415 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31416 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31417 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31418 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31419 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31420 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31421
fbd643b6
RM
314222010-06-14 Roland McGrath <roland@redhat.com>
31423
31424 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31425
f32f2869
JJ
314262010-06-07 Jakub Jelinek <jakub@redhat.com>
31427
31428 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31429 __REDIRECT followed by __THROW.
31430 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31431 * posix/getopt.h (getopt): Likewise.
31432
2a50c078
EPM
314332010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31434
31435 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31436 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31437 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31438 in AT_FLAGS.
31439 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31440 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31441
eb5ad2eb
LM
314422010-05-28 Luis Machado <luisgpm@br.ibm.com>
31443
31444 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31445
3c88fe1e
L
314462010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31447
31448 [BZ #11640]
31449 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31450 Properly check family and model.
31451
d2f73151
TY
314522010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31453
31454 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31455
ebd2e13d
LM
314562010-05-24 Luis Machado <luisgpm@br.ibm.com>
31457
31458 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31459
b32b8b45
UD
314602010-05-21 Ulrich Drepper <drepper@redhat.com>
31461
31462 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31463 symbol reference.
31464
9acbe24d
AS
314652010-05-19 Andreas Schwab <schwab@redhat.com>
31466
31467 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31468 symbol reference.
31469
f0ccf6ea
AS
314702010-05-21 Andreas Schwab <schwab@redhat.com>
31471
3d04ff3a
AS
31472 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31473 and internal_recvmmsg.
31474 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31475 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31476 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31477 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31478
f0ccf6ea
AS
31479 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31480 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31481 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31482
5b08ac57
AS
314832010-05-20 Andreas Schwab <schwab@redhat.com>
31484
31485 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31486
4828935d
LM
314872010-05-17 Luis Machado <luisgpm@br.ibm.com>
31488
31489 POWER7 optimizations.
31490 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31491 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31492
373d545e
UD
314932010-05-19 Ulrich Drepper <drepper@redhat.com>
31494
31495 * version.h: Update for 2.13 development version.
31496
21a2b1ae
AS
314972010-05-12 Andrew Stubbs <ams@codesourcery.com>
31498
31499 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31500 exceptions. Return 0.
31501
3f7dcb2b
RM
315022010-05-07 Roland McGrath <roland@redhat.com>
31503
31504 * elf/ldconfig.c (main): Add a const.
31505
5f24d53a 315062010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 31507
a160f8d8
UD
31508 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31509 (args_options): Add no-idn option.
31510 (ahosts_keys_int): Add idn_flags to ai_flags.
31511 (parse_option): Handle 'i' option to clear idn_flags.
31512
5f24d53a
UD
31513 * malloc/malloc.c (_int_free): Possible race in the most recently
31514 added check. Only act on the data if no current modification
31515 happened.
265bb1ce
UD
31516
31517See ChangeLog.17 for earlier changes.
This page took 4.070233 seconds and 5 git commands to generate.