]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix formatting of comment
[thirdparty/glibc.git] / ChangeLog
CommitLineData
58206c68
SP
12013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 [BZ #12515]
4 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6
2d6f4c5b 72013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
8
9 [BZ #15605]
10 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11 generated by the compiler on loop optimizations.
12 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13 general definitions.
14
94f2c076
JM
152013-06-12 Joseph Myers <joseph@codesourcery.com>
16
17 * math/bug-nextafter.c: Include <math-tests.h>.
18 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19 the relevant type.
20 * math/bug-nexttoward.c: Include <math-tests.h>.
21 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22 the relevant type.
23 * math/test-misc.c: Include <math-tests.h>.
24 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25 the relevant type.
26
e0e50a0a
AJ
272013-06-12 Andreas Jaeger <aj@suse.de>
28
29 * po/ia.po: Update Interlingua translation from translation
30 project.
31
25061094
SP
322013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33
34 * include/fenv.h: Include stdbool.h.
35 (struct rm_ctx): New structure.
36 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
37 Define macro.
38 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
39 (SET_RESTORE_ROUNDF): Likewise.
40 (SET_RESTORE_ROUNDL): Likewise.
41 (SET_RESTORE_ROUND_NOEX): Likewise.
42 (SET_RESTORE_ROUND_NOEXF): Likewise.
43 (SET_RESTORE_ROUND_NOEXL): Likewise.
44 (SET_RESTORE_ROUND_53BIT): Likewise.
45 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
46 (libc_feresetround_noexf_ctx): Likewise.
47 (libc_feresetround_noexl_ctx): Likewise.
48 (libc_feholdsetround_53bit_ctx): Likewise.
49 (libc_feresetround_53bit_ctx): Likewise.
50 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
51 (libc_feholdexcept_setround_sse_ctx): New function.
52 (libc_fesetenv_sse_ctx): Likewise.
53 (libc_feupdateenv_sse_ctx): Likewise.
54 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
55 (libc_feholdexcept_setround_387_ctx): Likewise.
56 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
57 (libc_feholdsetround_387_prec_ctx): Likewise.
58 (libc_feholdsetround_387_ctx): Likewise.
59 (libc_feholdsetround_387_53bit_ctx): Likewise.
60 (libc_feholdsetround_sse_ctx): Likewise.
61 (libc_feresetround_sse_ctx): Likewise.
62 (libc_feresetround_387_ctx): Likewise.
63 (libc_feupdateenv_387_ctx): Likewise.
64 (libc_feholdexcept_setroundf_ctx): Define macro.
65 (libc_fesetenvf_ctx): Likewise.
66 (libc_feupdateenvf_ctx): Likewise.
67 (libc_feholdsetroundf_ctx): Likewise.
68 (libc_feresetroundf_ctx): Likewise.
69 (libc_feholdexcept_setround_ctx): Likewise.
70 (libc_fesetenv_ctx): Likewise.
71 (libc_feupdateenv_ctx): Likewise.
72 (libc_feholdsetround_ctx): Likewise.
73 (libc_feresetround_ctx): Likewise.
74 (libc_feholdexcept_setroundl_ctx): Likewise.
75 (libc_feupdateenvl_ctx): Likewise.
76 (libc_feholdsetroundl_ctx): Likewise.
77 (libc_feresetroundl_ctx): Likewise.
78 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
79 (libc_feresetround_53bit_ctx): Likewise.
80
59b30555
SP
812013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
82
83 * locale/iso-639.def: Convert to UTF-8.
84
f1d73d30
JM
852013-06-11 Joseph Myers <joseph@codesourcery.com>
86
87 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
88 (EXCEPTION_TESTS_double): Likewise.
89 (EXCEPTION_TESTS_long_double): Likewise.
90 (EXCEPTION_TESTS): Likewise.
91 * math/libm-test.inc (test_exceptions): Only test exceptions if
92 EXCEPTION_TESTS (FLOAT).
93
94aca5e7
SP
942013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
95
96 * benchtests/Makefile (string-bench): Add strcpy_chk and
97 stpcpy_chk.
98 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
99 * benchtests/bench-stpcpy_chk.c: New file.
100 * benchtests/bench-strcpy_chk-ifunc.c: New file.
101 * benchtests/bench-strcpy_chk.c: New file.
102 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
103 code.
104 (do_test): Likewise.
105
fac0c5f2
RA
1062013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
107
108 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
109 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
110 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
111 with tabs where appropriate.
112 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
113 dl-procinfo.h.
114 [PPC_PLATFORM_PPC440]: Likewise.
115 [PPC_PLATFORM_PPC464]: Likewise.
116 [PPC_PLATFORM_PPC476]: Likewise.
117 (_dl_string_platform): Add support for detecting ppc405, ppc440,
118 ppc464, and ppc476 platform strings merging from ports/
119 dl-procinfo.h.
120
f22bc486
AS
1212013-06-11 Andreas Schwab <schwab@suse.de>
122
123 [BZ #14991]
124 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
125 (from_ucs4_idx): Regenerate.
126 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
127 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
128 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
129 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
130 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
131 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
132 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
133 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
134 from FROM_LOOP and TO_LOOP specific macros.
135 (BODY): Handle combining characters.
136 * iconvdata/BIG5HKSCS.irreversible: Update.
137 * iconvdata/BIG5HKSCS.precomposed: New file.
138 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
139 characters.
140 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
141
c1f75dc3
SP
1422013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
143
4eacded2
SP
144 * include/sys/time.h: Fix indentation and add copyright header.
145
fec799f8
SP
146 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
147 (do_test): Likewise.
148 * string/test-memchr.c (do_one_test): Likewise.
149 (do_test): Likewise.
150 * string/test-memcmp.c (do_one_test): Likewise.
151 (do_test): Likewise.
152 * string/test-memcpy.c (do_one_test): Likewise.
153 (do_test): Likewise.
154 * string/test-memmem.c (do_one_test): Likewise.
155 (do_test): Likewise.
156 (do_random_tests): Likewise.
157 * string/test-memmove.c (do_one_test): Likewise.
158 (do_test): Likewise.
159 * string/test-memset.c (do_one_test): Likewise.
160 (do_test): Likewise.
161 * string/test-rawmemchr.c (do_one_test): Likewise.
162 (do_test): Likewise.
163 * string/test-strcasecmp.c (do_one_test): Likewise.
164 (do_test): Likewise.
165 * string/test-strcasestr.c (do_one_test): Likewise.
166 (do_test): Likewise.
167 * string/test-strcat.c (do_one_test): Likewise.
168 (do_test): Likewise.
169 * string/test-strchr.c (do_one_test): Likewise.
170 (do_test): Likewise.
171 * string/test-strcmp.c (do_one_test): Likewise.
172 (do_test): Likewise.
173 * string/test-strcpy.c (do_one_test): Likewise.
174 (do_test): Likewise.
175 * string/test-string.h: Likewise.
176 (test_init): Likewise.
177 * string/test-strlen.c (do_one_test): Likewise.
178 (do_test): Likewise.
179 * string/test-strncasecmp.c (do_one_test): Likewise.
180 (do_test): Likewise.
181 * string/test-strncat.c (do_one_test): Likewise.
182 (do_test): Likewise.
183 * string/test-strncmp.c (do_one_test): Likewise.
184 (do_test_limit): Likewise.
185 (do_test): Likewise.
186 * string/test-strncpy.c (do_one_test): Likewise.
187 (do_test): Likewise.
188 * string/test-strnlen.c (do_one_test): Likewise.
189 (do_test): Likewise.
190 * string/test-strpbrk.c (do_one_test): Likewise.
191 (do_test): Likewise.
192 * string/test-strrchr.c (do_one_test): Likewise.
193 (do_test): Likewise.
194 * string/test-strspn.c (do_one_test): Likewise.
195 (do_test): Likewise.
196 * string/test-strstr.c (do_one_test): Likewise.
197 (do_test): Likewise.
198
97020474
SP
199 * benchtests/Makefile (string-bench): Add string benchmarks.
200 * benchtests/bench-bcopy-ifunc.c: New file.
201 * benchtests/bench-bcopy.c: New file.
202 * benchtests/bench-bzero-ifunc.c: New file.
203 * benchtests/bench-bzero.c: New file.
204 * benchtests/bench-memccpy-ifunc.c: New file.
205 * benchtests/bench-memccpy.c: New file.
206 * benchtests/bench-memchr-ifunc.c: New file.
207 * benchtests/bench-memchr.c: New file.
208 * benchtests/bench-memcmp-ifunc.c: New file.
209 * benchtests/bench-memcmp.c: New file.
210 * benchtests/bench-memmem-ifunc.c: New file.
211 * benchtests/bench-memmem.c: New file.
212 * benchtests/bench-memmove-ifunc.c: New file.
213 * benchtests/bench-memmove.c: New file.
214 * benchtests/bench-mempcpy-ifunc.c: New file.
215 * benchtests/bench-mempcpy.c: New file.
216 * benchtests/bench-memset-ifunc.c: New file.
217 * benchtests/bench-memset.c: New file.
218 * benchtests/bench-rawmemchr-ifunc.c: New file.
219 * benchtests/bench-rawmemchr.c: New file.
220 * benchtests/bench-stpcpy-ifunc.c: New file.
221 * benchtests/bench-stpcpy.c: New file.
222 * benchtests/bench-stpncpy-ifunc.c: New file.
223 * benchtests/bench-stpncpy.c: New file.
224 * benchtests/bench-strcasecmp-ifunc.c: New file.
225 * benchtests/bench-strcasecmp.c: New file.
226 * benchtests/bench-strcasestr-ifunc.c: New file.
227 * benchtests/bench-strcasestr.c: New file.
228 * benchtests/bench-strcat-ifunc.c: New file.
229 * benchtests/bench-strcat.c: New file.
230 * benchtests/bench-strchr-ifunc.c: New file.
231 * benchtests/bench-strchr.c: New file.
232 * benchtests/bench-strchrnul-ifunc.c: New file.
233 * benchtests/bench-strchrnul.c: New file.
234 * benchtests/bench-strcmp-ifunc.c: New file.
235 * benchtests/bench-strcmp.c: New file.
236 * benchtests/bench-strcpy-ifunc.c: New file.
237 * benchtests/bench-strcpy.c: New file.
238 * benchtests/bench-strcspn-ifunc.c: New file.
239 * benchtests/bench-strcspn.c: New file.
240 * benchtests/bench-strlen-ifunc.c: New file.
241 * benchtests/bench-strlen.c: New file.
242 * benchtests/bench-strncasecmp-ifunc.c: New file.
243 * benchtests/bench-strncasecmp.c: New file.
244 * benchtests/bench-strncat-ifunc.c: New file.
245 * benchtests/bench-strncat.c: New file.
246 * benchtests/bench-strncmp-ifunc.c: New file.
247 * benchtests/bench-strncmp.c: New file.
248 * benchtests/bench-strncpy-ifunc.c: New file.
249 * benchtests/bench-strncpy.c: New file.
250 * benchtests/bench-strnlen-ifunc.c: New file.
251 * benchtests/bench-strnlen.c: New file.
252 * benchtests/bench-strpbrk-ifunc.c: New file.
253 * benchtests/bench-strpbrk.c: New file.
254 * benchtests/bench-strrchr-ifunc.c: New file.
255 * benchtests/bench-strrchr.c: New file.
256 * benchtests/bench-strspn-ifunc.c: New file.
257 * benchtests/bench-strspn.c: New file.
258 * benchtests/bench-strstr-ifunc.c: New file.
259 * benchtests/bench-strstr.c: New file.
260
c1f75dc3
SP
261 * benchtests/Makefile: Disable parallel execution of targets.
262 (string-bench): Add memcpy.
263 (benchset): New variable to store a list of benchmark sets.
264 (bench-func): Renamed from bench.
265 (bench-set): New target.
266 (bench): Depend on bench-func and bench-set.
267 * benchtests/README: Add section on benchmark sets.
268 * benchtests/bench-memcpy-ifunc.c: New file.
269 * benchtests/bench-memcpy.c: New file.
270 * benchtests/bench-string.h: New file.
271
50fd745b
AS
2722013-06-11 Andreas Schwab <schwab@suse.de>
273
274 [BZ #15577]
275 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
276 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
277 values in the triple.
278 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
279 terminator in the group key.
280
3ee7e9fe
AJ
2812013-06-11 Andreas Jaeger <aj@suse.de>
282
283 * po/zh_TW.po: Update Chinese (traditional) translation from
284 translation project.
285
89fb6835
SP
2862013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
287
288 * include/time.h (__clock_gettime): Add libc_hidden_proto.
289 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
290 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
291 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
292 (clock_getcpuclockid): Likewise.
293 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
294 Add weak_alias and libc_hidden_def.
295 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
296 * rt/clock_gettime.c (clock_gettime): Rename to
297 __clock_gettime. Add weak_alias and libc_hidden_def.
298 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
299 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
300 __clock_nanosleep. Add weak_alias and libc_hidden_def.
301 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
302 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
303 Likewise.
304 * rt/clock_settime.c (clock_settime): Rename to
305 __clock_settime. Add weak_alias and libc_hidden_def.
306 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
307
0efa6f8b
JM
3082013-06-10 Joseph Myers <joseph@codesourcery.com>
309
b8c61b4b
JM
310 * mach/err_boot.sub: Remove trailing whitespace.
311 * mach/err_ipc.sub: Likewise.
312 * mach/err_mach.sub: Likewise.
313
0efa6f8b
JM
314 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
315 (ROUNDING_TESTS_double): Likewise.
316 (ROUNDING_TESTS_long_double): Likewise.
317 (ROUNDING_TESTS): Likewise.
318 * math/libm-test.inc: Include <math-tests.h>.
319 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
320 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
321 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
322 (IF_ROUND_INIT_FE_UPWARD): Likewise.
323
50b818bf
SP
3242013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
325
326 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
327 of assigning.
328
60d2f8f3
JM
3292013-06-08 Joseph Myers <joseph@codesourcery.com>
330
4902d2c3
JM
331 * sysdeps/gnu/errlist.awk: Do not generate space at end of
332 otherwise empty TRANS lines.
333 * sysdeps/gnu/errlist.c: Regenerated.
334
60d2f8f3
JM
335 * catgets/gencat.c (error_print): Use (void) in function
336 definition.
337 * crypt/crypt_util.c (__init_des): Likewise.
338 * crypt/speeds.c (Stop): Likewise.
339 (main): Likewise.
340 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
341 * inet/ruserpass.c (token): Likewise.
342 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
343 * intl/localealias.c (extend_alias_table): Likewise.
344 * intl/plural-exp.c (init_germanic_plural): Likewise.
345 * libio/fcloseall.c (__fcloseall): Likewise.
346 * libio/genops.c (_IO_flush_all): Likewise.
347 (_IO_flush_all_linebuffered): Likewise.
348 (_IO_cleanup): Likewise.
349 (_IO_iter_begin): Likewise.
350 (_IO_iter_end): Likewise.
351 (_IO_list_lock): Likewise.
352 (_IO_list_unlock): Likewise.
353 (_IO_list_resetlock): Likewise.
354 * libio/getchar.c (getchar): Likewise.
355 * libio/getchar_u.c (getchar_unlocked): Likewise.
356 * libio/getwchar.c (getwchar): Likewise.
357 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
358 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
359 * login/getpt.c (__getpt): Likewise.
360 * login/tst-utmp.c (main): Likewise.
361 * malloc/hooks.c (__malloc_check_init): Likewise.
362 * malloc/malloc.c (__malloc_stats): Likewise.
363 * malloc/mtrace.c (tr_break): Likewise.
364 (mtrace): Likewise.
365 (muntrace): Likewise.
366 * misc/fstab.c (endfsent): Likewise.
367 * misc/getclktck.c (__getclktck): Likewise.
368 * misc/getdtsz.c (__getdtablesize): Likewise.
369 * misc/gethostid.c (gethostid): Likewise.
370 * misc/getpagesize.c (__getpagesize): Likewise.
371 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
372 (__get_nprocs): Likewise.
373 (__get_phys_pages): Likewise.
374 (__get_avphys_pages): Likewise.
375 * misc/getttyent.c (getttyent): Likewise.
376 (setttyent): Likewise.
377 (endttyent): Likewise.
378 * misc/getusershell.c (getusershell): Likewise.
379 (endusershell): Likewise.
380 (setusershell): Likewise.
381 (initshells): Likewise.
382 * misc/hsearch.c (__hdestroy): Likewise.
383 * misc/sync.c (sync): Likewise.
384 * misc/syslog.c (closelog_internal): Likewise.
385 (closelog): Likewise.
386 * misc/ttyslot.c (ttyslot): Likewise.
387 * misc/vhangup.c (vhangup): Likewise.
388 * posix/fork.c (__fork): Likewise.
389 * posix/getegid.c (__getegid): Likewise.
390 * posix/geteuid.c (__geteuid): Likewise.
391 * posix/getgid.c (__getgid): Likewise.
392 * posix/getpid.c (__getpid): Likewise.
393 * posix/getppid.c (__getppid): Likewise.
394 * posix/getuid.c (__getuid): Likewise.
395 * posix/pause.c (pause): Likewise.
396 * posix/setpgrp.c (setpgrp): Likewise.
397 * posix/setsid.c (__setsid): Likewise.
398 * posix/test-vfork.c (noop): Likewise.
399 * resolv/gethnamaddr.c (_endhtent): Likewise.
400 (_gethtent): Likewise.
401 (ht_endhostent): Likewise.
402 (gethostent): Likewise.
403 (dns_service): Likewise.
404 * stdlib/drand48.c (drand48): Likewise.
405 * stdlib/lrand48.c (lrand48): Likewise.
406 * stdlib/mrand48.c (mrand48): Likewise.
407 * stdlib/rand.c (rand): Likewise.
408 * stdlib/random.c (__random): Likewise.
409 * stdlib/setenv.c (clearenv): Likewise.
410 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
411 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
412 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
413 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
414 (__get_nprocs): Likewise.
415 (__get_phys_pages): Likewise.
416 (__get_avphys_pages): Likewise.
417 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
418 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
419 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
420 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
421 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
422 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
423 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
424 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
425 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
426 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
427 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
428 * sysdeps/mach/hurd/sync.c (sync): Likewise.
429 * sysdeps/posix/clock.c (clock): Likewise.
430 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
431 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
432 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
433 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
434 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
435 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
436 (__get_nprocs_conf): Likewise.
437 (__get_phys_pages): Likewise.
438 (__get_avphys_pages): Likewise.
439 * time/clock.c (clock): Likewise.
440 * time/tzset.c (__tzname_max): Likewise.
441
2e09a79a
JM
4422013-06-07 Joseph Myers <joseph@codesourcery.com>
443
444 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
445 (__bswap_32): Do not use "register".
446 * crypt/crypt.c (_ufc_doit_r): Likewise.
447 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
448 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
449 * gmon/gmon.c (__monstartup): Likewise.
450 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
451 * hurd/hurdmalloc.c (more_memory): Likewise.
452 (malloc): Likewise.
453 (free): Likewise.
454 (realloc): Likewise.
455 (malloc_fork_prepare): Likewise.
456 (malloc_fork_parent): Likewise.
457 (malloc_fork_child): Likewise.
458 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
459 (_svcauth_des): Likewise.
460 * inet/inet_lnaof.c (inet_lnaof): Likewise.
461 * inet/inet_net.c (inet_network): Likewise.
462 * inet/inet_netof.c (inet_netof): Likewise.
463 * inet/rcmd.c (__validuser2_sa): Likewise.
464 * io/fts.c (fts_open): Likewise.
465 (fts_load): Likewise.
466 (fts_close): Likewise.
467 (fts_read): Likewise.
468 (fts_children): Likewise.
469 (fts_build): Likewise.
470 (fts_stat): Likewise.
471 (fts_sort): Likewise.
472 (fts_alloc): Likewise.
473 (fts_lfree): Likewise.
474 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
475 (_IO_file_xsgetn): Likewise.
476 (_IO_file_xsgetn_mmap): Likewise.
477 * libio/iofopncook.c (_IO_cookie_read): Likewise.
478 (_IO_cookie_write): Likewise.
479 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
480 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
481 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
482 * malloc/obstack.c (_obstack_begin): Likewise.
483 (_obstack_begin_1): Likewise.
484 (_obstack_newchunk): Likewise.
485 (_obstack_allocated_p): Likewise.
486 (obstack_free): Likewise.
487 (_obstack_memory_used): Likewise.
488 * misc/getttyent.c (getttynam): Likewise.
489 (getttyent): Likewise.
490 (skip): Likewise.
491 (value): Likewise.
492 * misc/getusershell.c (initshells): Likewise.
493 * misc/syslog.c (__vsyslog_chk): Likewise.
494 * misc/ttyslot.c (ttyslot): Likewise.
495 * nis/nis_hash.c (__nis_hash): Likewise.
496 * posix/fnmatch_loop.c (FCT): Likewise.
497 * posix/getconf.c (print_all): Likewise.
498 (main): Likewise.
499 * posix/getopt.c (exchange): Likewise.
500 * posix/glob.c (globfree): Likewise.
501 (prefix_array): Likewise.
502 (__glob_pattern_type): Likewise.
503 * resolv/arpa/nameser.h (NS_GET16): Likewise.
504 (NS_GET32): Likewise.
505 (NS_PUT16): Likewise.
506 (NS_PUT32): Likewise.
507 * resolv/gethnamaddr.c (getanswer): Likewise.
508 (gethostbyname2): Likewise.
509 (gethostbyaddr): Likewise.
510 (_gethtent): Likewise.
511 (_gethtbyname2): Likewise.
512 (_gethtbyaddr): Likewise.
513 * resolv/ns_print.c (dst_s_get_int16): Likewise.
514 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
515 * resolv/res_init.c (__res_vinit): Likewise.
516 (net_mask): Likewise.
517 * resolv/res_mkquery.c (outchar): Likewise.
518 (PRINT): Likewise.
519 * stdio-common/printf_fp.c (outchar): Likewise.
520 (PRINT): Likewise.
521 * stdio-common/printf_fphex.c (outchar): Likewise.
522 (PRINT): Likewise.
523 * stdio-common/printf_size.c (outchar): Likewise.
524 (PRINT): Likewise.
525 * stdio-common/test_rdwr.c (main): Likewise.
526 * stdio-common/tfformat.c (matches): Likewise.
527 * stdio-common/vfprintf.c (outchar): Likewise.
528 (printf_unknown): Likewise.
529 (buffered_vfprintf): Likewise.
530 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
531 * stdio-common/xbug.c (AppendToBuffer): Likewise.
532 (ReadFile): Likewise.
533 * stdlib/qsort.c (SWAP): Likewise.
534 (_quicksort): Likewise.
535 * stdlib/setenv.c (__add_to_environ): Likewise.
536 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
537 * stdlib/strtol_l.c (__strtol_l): Likewise.
538 * stdlib/tst-strtod.c (main): Likewise.
539 * stdlib/tst-strtol.c (main): Likewise.
540 * stdlib/tst-strtoll.c (main): Likewise.
541 * string/bits/string2.h (__strcmp_cc): Likewise.
542 (__strcmp_cg): Likewise.
543 (__strcspn_c1): Likewise.
544 (__strcspn_c2): Likewise.
545 (__strcspn_c3): Likewise.
546 (__strspn_c1): Likewise.
547 (__strspn_c2): Likewise.
548 (__strspn_c3): Likewise.
549 (__strsep_1c): Likewise.
550 (__strsep_2c): Likewise.
551 (__strsep_3c): Likewise.
552 * string/memccpy.c (__memccpy): Likewise.
553 * string/stpcpy.c (__stpcpy): Likewise.
554 * string/strcmp.c (strcmp): Likewise.
555 * string/strrchr.c (strrchr): Likewise.
556 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
557 Likewise.
558 * sysdeps/mach/hurd/getcwd.c
559 (_hurd_canonicalize_directory_name_internal): Likewise.
560 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
561 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
562 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
563 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
564 Likewise, in both definitions.
565 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
566 definitions.
567 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
568 64] (__bswap_64): Likewise.
569 * time/test_time.c (main): Likewise.
570 * time/tzfile.c (__tzfile_read): Likewise.
571 (__tzfile_compute): Likewise.
572 * time/tzset.c (__tzset_parse_tz): Likewise.
573 (tzset_internal): Likewise.
574 (compute_change): Likewise.
575 * wcsmbs/wcscat.c (__wcscat): Likewise.
576 * wcsmbs/wcschr.c (wcschr): Likewise.
577 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
578 * wcsmbs/wcscspn.c (wcscspn): Likewise.
579 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
580 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
581 * wcsmbs/wcsspn.c (wcsspn): Likewise.
582 * wcsmbs/wcsstr.c (wcsstr): Likewise.
583 * wcsmbs/wmemchr.c (wmemchr): Likewise.
584 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
585 * wcsmbs/wmemset.c (wmemset): Likewise.
586
9e54314b
JM
5872013-06-06 Joseph Myers <joseph@codesourcery.com>
588
589 * scripts/config.guess: Update to version 2013-05-16.
590 * scripts/config.sub: Update to version 2013-04-24.
591 * scripts/install-sh: Update to version 2011-11-20.07.
592 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
593 * scripts/move-if-change: Update to version 2012-01-06 07:23.
594
350635a5
OB
5952013-06-06 Ondřej Bílka <neleai@seznam.cz>
596
597 * debug/fgetws_u_chk.c: Fix leading whitespaces.
598 * elf/sln.c: Likewise.
599 * hurd/hurd/ioctl.h: Likewise.
600 * hurd/hurdmalloc.c: Likewise.
601 * hurd/xattr.c: Likewise.
602 * include/shlib-compat.h: Likewise.
603 * inet/ruserpass.c: Likewise.
604 * libio/iofgets_u.c: Likewise.
605 * libio/iofgetws_u.c: Likewise.
606 * locale/programs/ld-identification.c: Likewise.
607 * locale/programs/ld-time.c: Likewise.
608 * mach/msg-destroy.c: Likewise.
609 * nss/nss_files/files-netgrp.c: Likewise.
610 * resolv/res_data.c: Likewise.
611 * soft-fp/op-1.h: Likewise.
612 * soft-fp/op-2.h: Likewise.
613 * soft-fp/op-4.h: Likewise.
614 * soft-fp/op-common.h: Likewise.
615 * stdio-common/printf_fphex.c: Likewise.
616 * stdlib/strtod_l.c: Likewise.
617 * sunrpc/rpc/clnt.h: Likewise.
618 * sysdeps/generic/framestate.c: Likewise.
619 * sysdeps/i386/bsd-_setjmp.S: Likewise.
620 * sysdeps/i386/bsd-setjmp.S: Likewise.
621 * sysdeps/i386/__longjmp.S: Likewise.
622 * sysdeps/i386/setjmp.S: Likewise.
623 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
624 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
625 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
626 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
627 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
628 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
629 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
630 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
631 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
632 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
633 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
634 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
635 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
636 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
637 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
638 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
639 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
640 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
641 * sysdeps/ieee754/support.c: Likewise.
642 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
643 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
644 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
645 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
646 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
647 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
648 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
649 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
650 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
651 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
652 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
653 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
654 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
655 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
656 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
657 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
658 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
660
44a988af
OB
6612013-06-05 Ondřej Bílka <neleai@seznam.cz>
662
25506f09 663 * posix/transbug.c: Remove executable mode.
44a988af 664
9c84384c
JM
6652013-06-05 Joseph Myers <joseph@codesourcery.com>
666
667 * crypt/speeds.c: Remove trailing whitespace.
668 * dlfcn/default.c: Likewise.
669 * elf/ifuncdep2.c: Likewise.
670 * elf/ifuncmain1.c: Likewise.
671 * elf/ifuncmain1vis.c: Likewise.
672 * elf/testobj.h: Likewise.
673 * elf/tst-stackguard1.c: Likewise.
674 * gmon/sys/gmon.h: Likewise.
675 * hurd/hurdmsg.c: Likewise.
676 * hurd/new-fd.c: Likewise.
677 * hurd/ports-get.c: Likewise.
678 * iconvdata/ibm1008_420.c: Likewise.
679 * inet/tst-getni1.c: Likewise.
680 * inet/tst-getni2.c: Likewise.
681 * libio/ioungetc.c: Likewise.
682 * libio/wfiledoalloc.c: Likewise.
683 * manual/libm-err-tab.pl: Likewise.
684 * math/w_dremf.c: Likewise.
685 * misc/ftruncate.c: Likewise.
686 * posix/bug-glob2.c: Likewise.
687 * posix/tst-pcre.c: Likewise.
688 * posix/wait4.c: Likewise.
689 * resolv/README: Likewise.
690 * resolv/res_debug.h: Likewise.
691 * resolv/tst-inet_ntop.c: Likewise.
692 * setjmp/bug269-setjmp.c: Likewise.
693 * soft-fp/extended.h: Likewise.
694 * soft-fp/op-1.h: Likewise.
695 * soft-fp/op-2.h: Likewise.
696 * soft-fp/op-4.h: Likewise.
697 * soft-fp/op-8.h: Likewise.
698 * soft-fp/testit.c: Likewise.
699 * stdio-common/bug16.c: Likewise.
700 * stdlib/random.c: Likewise.
701 * sunrpc/rpcsvc/rquota.x: Likewise.
702 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
703 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
704 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
705 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
706 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
707 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
708 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
709 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
710 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
711 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
712 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
713 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
714 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
715 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
716 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
717 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
718 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
719 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
720 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
721 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
722 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
723 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
724 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
725 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
726 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
727 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
728 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
729 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
730 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
731 * sysdeps/ieee754/s_lib_version.c: Likewise.
732 * sysdeps/mach/hurd/check_fds.c: Likewise.
733 * sysdeps/mach/hurd/getsockname.c: Likewise.
734 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
735 * sysdeps/mach/hurd/recvfrom.c: Likewise.
736 * sysdeps/powerpc/bits/link.h: Likewise.
737 * sysdeps/powerpc/dl-procinfo.c: Likewise.
738 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
739 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
740 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
741 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
742 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
743 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
744 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
745 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
746 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
747 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
748 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
749 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
750 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
751 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
752 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
753 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
754 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
755 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
756 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
757 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
758 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
759 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
760 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
761 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
762 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
763 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
764 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
765 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
766 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
767 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
768 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
769 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
770 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
771 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
772 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
773 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
774 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
775 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
776 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
777 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
778 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
779 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
780 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
781 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
782 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
783 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
784 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
785 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
786 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
787 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
788 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
789 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
790 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
791 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
792 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
793 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
794 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
795 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
796 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
797 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
798 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
799 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
800 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
801 * sysdeps/powerpc/sysdep.h: Likewise.
802 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
803 * sysdeps/s390/s390-64/sub_n.S: Likewise.
804 * sysdeps/sh/dl-trampoline.S: Likewise.
805 * sysdeps/sh/memset.S: Likewise.
806 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
807 * sysdeps/sh/strlen.S: Likewise.
808 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
809 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
810 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
811 * sysdeps/sparc/sparc32/rem.S: Likewise.
812 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
813 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
814 * sysdeps/sparc/sparc32/strchr.S: Likewise.
815 * sysdeps/sparc/sparc32/udiv.S: Likewise.
816 * sysdeps/sparc/sparc32/urem.S: Likewise.
817 * sysdeps/sparc/sparc64/add_n.S: Likewise.
818 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
819 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
820 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
821 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
822 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
823 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
824 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
825 * sysdeps/unix/bsd/times.c: Likewise.
826 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
827 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
831 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
832 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
833 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
834 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
835 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
836 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
837 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
838 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
839 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
840 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
841 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
842 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
843 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
844 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
845 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
846 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
847 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
848 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
849 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
850 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
851 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
852 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
853 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
854 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
855 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
856 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
857 * sysdeps/x86_64/strcspn.S: Likewise.
858
869378a5
RA
8592013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
860
861 * locale/C-translit.h: Revert #include <stdint.h> because this is a
862 generated file. Regenerate properly from gen-translit.pl.
863 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
864 locale/C-translit.h.
865
840e2943
AS
8662013-06-05 Andreas Schwab <schwab@suse.de>
867
868 [BZ #15100]
869 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
870 week as 6 instead of -1.
871 * time/tst-strptime.c (day_tests): Add test case.
872
4c60cb0c
SP
8732013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
874
875 * sysdeps/generic/math_private.h
876 (libc_feholdexcept_setround_53bit): Replace with
877 libc_feholdsetround_53bit.
878 (libc_feupdateenv_53bit): Replace with
879 libc_feresetround_53bit.
880 (SET_RESTORE_ROUND_53BIT): Adjust.
881
d180203e
SP
8822013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
883
96df079a
SP
884 * string/test-strchrnul.c: Add copyright header.
885
d180203e
SP
886 * posix/tst-getaddrinfo4.c: Increase test timeout.
887
8b0ccb2d
CD
8882013-06-03 Carlos O'Donell <carlos@redhat.com>
889
890 [BZ #15536]
891 * math/libm-test.inc (MAX_EXP): Remove
892 (MIN_EXP): Define.
893 (ulp): Use MIN_EXP - MANT_DIG.
894 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
895
3b3c4d40
CD
8962013-05-31 Carlos O'Donell <carlos@redhat.com>
897
898 * po/be.po: Revert last change.
899 * po/zh_CN.po: Likewise.
900 * po/header.pot: Likewise.
901
fab7ce3f
JM
9022013-05-31 Joseph Myers <joseph@codesourcery.com>
903
904 * Makefile ($(common-objpfx)linkobj/libc.so): Define
905 link-libc-deps to empty as target-specific variable.
906 * Makerules (link-libc-args): New variable.
907 (libc-for-link): Likewise.
908 (link-libc-deps): Likewise.
909 (lib%.so): Depend on $(link-libc-deps). Link with
910 $(link-libc-args).
911 (build-module): Link with $(link-libc-args).
912 (build-module-asneeded): Likewise.
913 (build-module-helper-objlist): Filter out $(link-libc-deps) from
914 list of objects.
915 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
916 target-specific variable.
917 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
918 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
919 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
920 libc.
921 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
922 libc and ld.so.
923 ($(objpfx)libpcprofile.so): Likewise.
924 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
925 libc_nonshared.a.
926 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
927 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
928 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
929 $(link-libc-deps).
930 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
931 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
932 * login/Makefile ($(objpfx)libutil.so): Likewise.
933 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
934 * math/Makefile ($(objpfx)libm.so): Likewise.
935 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
936 $(objpfx)libnsl.so): Define libc-for-link as target-specific
937 variable instead of depending directly on libc.
938 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
939 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
940 $(link-libc-deps).
941 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
942 libc.
943 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
944 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
945 ($(objpfx)libanl.so): Likewise.
946 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
947 ld.so.
948 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
949 $(link-libc-deps).
950 * sysdeps/i386/fpu/Makefile: Remove file.
951 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
952 ($(objpfx)libm.so): Remove dependency on ld.so.
953
eca5920c
PF
9542013-05-30 Patsy Franklin <pfrankli@redhat.com>
955
956 [BZ # 15553]
957 * nis/yp_xdr.c (XDRMAXNAME): Define.
958 (XDRMAXRECORD): Define.
959 (xdr_domainname): Use XDRMAXNAME.
960 (xdr_mapname): Likewise.
961 (xdr_peername): Likewise.
962 (xdr_keydat): Use XDRMAXRECORD.
963 (xdr_valdat): Likewise.
964
9652013-05-30 Jeff Law <law@redhat.com>
96945714
JL
966
967 [BZ #14256]
968 * manual/errno.texi (ESTALE): Update to account for more than
969 just NFS file systems.
970 * sysdeps/gnu/errlist.c: Regenerated.
971
b9375348
SP
9722013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
973
974 [BZ #15465]
975 * elf/Makefile (tests): Add tst-null-argv.
976 (modules-names): Add tst-null-argv-lib.
977 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
978 (tst-null-argv-ENV): Set environment for tst-null-argv.
979 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
980 (RTLD_PROGNAME): New macro.
981 * elf/tst-null-argv.c: New test case.
982 * elf/tst-null-argv-lib.c: Library for test case.
983 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
984 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
985 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
986 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
987 * elf/dl-init.c (call_init): Likewise.
988 (_dl_init): Likewise.
989 * elf/dl-load.c (print_search_path): Likewise.
990 (_dl_map_object): Likewise.
991 * elf/dl-lookup.c (do_lookup_x): Likewise.
992 (add_dependency): Likewise.
993 (_dl_lookup_symbol_x): Likewise.
994 (_dl_debug_bindings): Likewise.
995 * elf/dl-open.c (_dl_show_scope): Likewise.
996 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
997 * elf/dl-version.c (match_symbol): Likewise.
998 (_dl_check_map_versions): Likewise.
999 * elf/rtld.c (dl_main): Likewise.
1000 (print_unresolved): Use RTLD_PROGNAME.
1001 (print_missing_version): Likewise.
1002 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1003 (elf_machine_rela): Likewise.
1004 * sysdeps/powerpc/powerpc32/dl-machine.c
1005 (__process_machine_rela): Likewise.
1006 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1007 Likewise.
1008 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1009 Likewise.
1010 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1011 Likewise.
1012 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1013 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1014 Likewise.
1015 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1016 Likewise.
1017 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1018
8a9f20c8
CD
10192013-05-28 Carlos O'Donell <carlos@redhat.com>
1020
1021 * po/be.po: Add descriptive title.
1022 * po/zh_CN.po: Likewise.
1023 * po/header.pot: Likewise.
1024
0e60d68e
MF
10252013-05-28 Mike Frysinger <vapier@gentoo.org>
1026
1027 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1028 error message.
1029 (enlarge_archive): Likewise.
1030
56b672e9
BN
10312013-05-28 Ben North <ben@redfrontdoor.org>
1032
1033 * manual/arith.texi (frexp): It is the magnitude of the return
1034 value which lies in [0.5, 1), not the return value itself.
1035
5e056687
AZ
10362013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1037
1038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1039
2b66ef5d
TS
10402013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1041
528c2405
TS
1042 * stdio-common/bug26.c (main): Correct fscanf template.
1043
07b4c13d
TS
1044 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1045 declare _dl_skip_args.
1046
ec9dd97c
TS
1047 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1048 Don't declare.
1049
2b66ef5d
TS
1050 * manual/platform.texi: Add missing @end deftypefun.
1051
4f8dfe27
JM
10522013-05-24 Joseph Myers <joseph@codesourcery.com>
1053
0323d086
JM
1054 [BZ #15529]
1055 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1056 bit of mantissa of 2^16382.
1057 * math/libm-test.inc (hypot_test_data): Add more tests.
1058
dd4259b9
JM
1059 * math/libm-test.inc: Add drem and pow10 to list of tested
1060 functions.
1061 (pow10_test): New function.
1062 (drem_test): Likewise.
1063 (drem_test_tonearest): Likewise.
1064 (drem_test_towardzero): Likewise.
1065 (drem_test_downward): Likewise.
1066 (drem_test_upward): Likewise.
1067 (main): Call the new functions.
1068
4f8dfe27
JM
1069 * math/libm-test.inc (finite_test_data): Remove.
1070 (finite_test): Run tests from isfinite_test_data.
1071 (gamma_test_data): Remove.
1072 (gamma_test): Run tests from lgamma_test_data.
1073 * sysdeps/i386/fpu/libm-test-ulps: Update.
1074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1075
d116b7c4
AZ
10762013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1077
1078 * manual/platform.texi: Add PowerPC PPR function set documentation.
1079 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1080 implementation.
1081
e96e3767
CD
10822013-05-24 Carlos O'Donell <carlos@redhat.com>
1083
1084 * math/libm-test.inc (MAX_EXP): Define.
1085 (ULPDIFF): Define.
1086 (ulp): New function.
1087 (check_float_internal): Use ULPDIFF.
1088 (cpow_test): Disable failing test.
1089 (check_ulp): Test ulp() implemetnation.
1090 (main): Call check_ulp before starting tests.
1091
b679a606
JM
10922013-05-24 Joseph Myers <joseph@codesourcery.com>
1093
e8bdba36
JM
1094 * math/gen-libm-test.pl (generate_testfile): Do not handle
1095 START_DATA and END_DATA.
1096 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1097 END_DATA.
1098 (acos_tonearest_test_data): Likewise.
1099 (acos_towardzero_test_data): Likewise.
1100 (acos_downward_test_data): Likewise.
1101 (acos_upward_test_data): Likewise.
1102 (acosh_test_data): Likewise.
1103 (asin_test_data): Likewise.
1104 (asin_tonearest_test_data): Likewise.
1105 (asin_towardzero_test_data): Likewise.
1106 (asin_downward_test_data): Likewise.
1107 (asin_upward_test_data): Likewise.
1108 (asinh_test_data): Likewise.
1109 (atan_test_data): Likewise.
1110 (atanh_test_data): Likewise.
1111 (atan2_test_data): Likewise.
1112 (cabs_test_data): Likewise.
1113 (cacos_test_data): Likewise.
1114 (cacosh_test_data): Likewise.
1115 (carg_test_data): Likewise.
1116 (casin_test_data): Likewise.
1117 (casinh_test_data): Likewise.
1118 (catan_test_data): Likewise.
1119 (catanh_test_data): Likewise.
1120 (cbrt_test_data): Likewise.
1121 (ccos_test_data): Likewise.
1122 (ccosh_test_data): Likewise.
1123 (ceil_test_data): Likewise.
1124 (cexp_test_data): Likewise.
1125 (cimag_test_data): Likewise.
1126 (clog_test_data): Likewise.
1127 (clog10_test_data): Likewise.
1128 (conj_test_data): Likewise.
1129 (copysign_test_data): Likewise.
1130 (cos_test_data): Likewise.
1131 (cos_tonearest_test_data): Likewise.
1132 (cos_towardzero_test_data): Likewise.
1133 (cos_downward_test_data): Likewise.
1134 (cos_upward_test_data): Likewise.
1135 (cosh_test_data): Likewise.
1136 (cosh_tonearest_test_data): Likewise.
1137 (cosh_towardzero_test_data): Likewise.
1138 (cosh_downward_test_data): Likewise.
1139 (cosh_upward_test_data): Likewise.
1140 (cpow_test_data): Likewise.
1141 (cproj_test_data): Likewise.
1142 (creal_test_data): Likewise.
1143 (csin_test_data): Likewise.
1144 (csinh_test_data): Likewise.
1145 (csqrt_test_data): Likewise.
1146 (ctan_test_data): Likewise.
1147 (ctan_tonearest_test_data): Likewise.
1148 (ctan_towardzero_test_data): Likewise.
1149 (ctan_downward_test_data): Likewise.
1150 (ctan_upward_test_data): Likewise.
1151 (ctanh_test_data): Likewise.
1152 (ctanh_tonearest_test_data): Likewise.
1153 (ctanh_towardzero_test_data): Likewise.
1154 (ctanh_downward_test_data): Likewise.
1155 (ctanh_upward_test_data): Likewise.
1156 (erf_test_data): Likewise.
1157 (erfc_test_data): Likewise.
1158 (exp_test_data): Likewise.
1159 (exp_tonearest_test_data): Likewise.
1160 (exp_towardzero_test_data): Likewise.
1161 (exp_downward_test_data): Likewise.
1162 (exp_upward_test_data): Likewise.
1163 (exp10_test_data): Likewise.
1164 (exp2_test_data): Likewise.
1165 (expm1_test_data): Likewise.
1166 (fabs_test_data): Likewise.
1167 (fdim_test_data): Likewise.
1168 (finite_test_data): Likewise.
1169 (floor_test_data): Likewise.
1170 (fma_test_data): Likewise.
1171 (fma_towardzero_test_data): Likewise.
1172 (fma_downward_test_data): Likewise.
1173 (fma_upward_test_data): Likewise.
1174 (fmax_test_data): Likewise.
1175 (fmin_test_data): Likewise.
1176 (fmod_test_data): Likewise.
1177 (fpclassify_test_data): Likewise.
1178 (frexp_test_data): Likewise.
1179 (gamma_test_data): Likewise.
1180 (hypot_test_data): Likewise.
1181 (ilogb_test_data): Likewise.
1182 (isfinite_test_data): Likewise.
1183 (isgreater_test_data): Likewise.
1184 (isgreaterequal_test_data): Likewise.
1185 (isinf_test_data): Likewise.
1186 (isless_test_data): Likewise.
1187 (islessequal_test_data): Likewise.
1188 (islessgreater_test_data): Likewise.
1189 (isnan_test_data): Likewise.
1190 (isnormal_test_data): Likewise.
1191 (issignaling_test_data): Likewise.
1192 (isunordered_test_data): Likewise.
1193 (j0_test_data): Likewise.
1194 (j1_test_data): Likewise.
1195 (jn_test_data): Likewise.
1196 (ldexp_test_data): Likewise.
1197 (lgamma_test_data): Likewise.
1198 (lrint_test_data): Likewise.
1199 (lrint_tonearest_test_data): Likewise.
1200 (lrint_towardzero_test_data): Likewise.
1201 (lrint_downward_test_data): Likewise.
1202 (lrint_upward_test_data): Likewise.
1203 (llrint_test_data): Likewise.
1204 (llrint_tonearest_test_data): Likewise.
1205 (llrint_towardzero_test_data): Likewise.
1206 (llrint_downward_test_data): Likewise.
1207 (llrint_upward_test_data): Likewise.
1208 (log_test_data): Likewise.
1209 (log10_test_data): Likewise.
1210 (log1p_test_data): Likewise.
1211 (log2_test_data): Likewise.
1212 (logb_test_data): Likewise.
1213 (logb_downward_test_data): Likewise.
1214 (lround_test_data): Likewise.
1215 (llround_test_data): Likewise.
1216 (modf_test_data): Likewise.
1217 (nearbyint_test_data): Likewise.
1218 (nextafter_test_data): Likewise.
1219 (nexttoward_test_data): Likewise.
1220 (pow_test_data): Likewise.
1221 (pow_tonearest_test_data): Likewise.
1222 (pow_towardzero_test_data): Likewise.
1223 (pow_downward_test_data): Likewise.
1224 (pow_upward_test_data): Likewise.
1225 (remainder_test_data): Likewise.
1226 (remainder_tonearest_test_data): Likewise.
1227 (remainder_towardzero_test_data): Likewise.
1228 (remainder_downward_test_data): Likewise.
1229 (remainder_upward_test_data): Likewise.
1230 (remquo_test_data): Likewise.
1231 (rint_test_data): Likewise.
1232 (rint_tonearest_test_data): Likewise.
1233 (rint_towardzero_test_data): Likewise.
1234 (rint_downward_test_data): Likewise.
1235 (rint_upward_test_data): Likewise.
1236 (round_test_data): Likewise.
1237 (scalb_test_data): Likewise.
1238 (scalbn_test_data): Likewise.
1239 (scalbln_test_data): Likewise.
1240 (signbit_test_data): Likewise.
1241 (sin_test_data): Likewise.
1242 (sin_tonearest_test_data): Likewise.
1243 (sin_towardzero_test_data): Likewise.
1244 (sin_downward_test_data): Likewise.
1245 (sin_upward_test_data): Likewise.
1246 (sincos_test_data): Likewise.
1247 (sinh_test_data): Likewise.
1248 (sinh_tonearest_test_data): Likewise.
1249 (sinh_towardzero_test_data): Likewise.
1250 (sinh_downward_test_data): Likewise.
1251 (sinh_upward_test_data): Likewise.
1252 (sqrt_test_data): Likewise.
1253 (tan_test_data): Likewise.
1254 (tan_tonearest_test_data): Likewise.
1255 (tan_towardzero_test_data): Likewise.
1256 (tan_downward_test_data): Likewise.
1257 (tan_upward_test_data): Likewise.
1258 (tanh_test_data): Likewise.
1259 (tgamma_test_data): Likewise.
1260 (trunc_test_data): Likewise.
1261 (y0_test_data): Likewise.
1262 (y1_test_data): Likewise.
1263 (yn_test_data): Likewise.
1264 (significand_test_data): Likewise.
1265
b679a606
JM
1266 * math/gen-libm-test.pl (@functions): Remove variable.
1267 (generate_testfile): Don't handle START and END lines.
1268 * math/libm-test.inc (START): New macro.
1269 (END): Likewise.
1270 (END_COMPLEX): Likewise.
1271 (acos_test): Use END macro without arguments.
1272 (acos_test_tonearest): Likewise.
1273 (acos_test_towardzero): Likewise.
1274 (acos_test_downward): Likewise.
1275 (acos_test_upward): Likewise.
1276 (acosh_test): Likewise.
1277 (asin_test): Likewise.
1278 (asin_test_tonearest): Likewise.
1279 (asin_test_towardzero): Likewise.
1280 (asin_test_downward): Likewise.
1281 (asin_test_upward): Likewise.
1282 (asinh_test): Likewise.
1283 (atan_test): Likewise.
1284 (atanh_test): Likewise.
1285 (atan2_test): Likewise.
1286 (cabs_test): Likewise.
1287 (cacos_test): Use END_COMPLEX macro without arguments.
1288 (cacosh_test): Likewise.
1289 (carg_test): Use END macro without arguments.
1290 (casin_test): Use END_COMPLEX macro without arguments.
1291 (casinh_test): Likewise.
1292 (catan_test): Likewise.
1293 (catanh_test): Likewise.
1294 (cbrt_test): Use END macro without arguments.
1295 (ccos_test): Use END_COMPLEX macro without arguments.
1296 (ccosh_test): Likewise.
1297 (ceil_test): Use END macro without arguments.
1298 (cexp_test): Use END_COMPLEX macro without arguments.
1299 (cimag_test): Use END macro without arguments.
1300 (clog_test): Use END_COMPLEX macro without arguments.
1301 (clog10_test): Likewise.
1302 (conj_test): Likewise.
1303 (copysign_test): Use END macro without arguments.
1304 (cos_test): Likewise.
1305 (cos_test_tonearest): Likewise.
1306 (cos_test_towardzero): Likewise.
1307 (cos_test_downward): Likewise.
1308 (cos_test_upward): Likewise.
1309 (cosh_test): Likewise.
1310 (cosh_test_tonearest): Likewise.
1311 (cosh_test_towardzero): Likewise.
1312 (cosh_test_downward): Likewise.
1313 (cosh_test_upward): Likewise.
1314 (cpow_test): Use END_COMPLEX macro without arguments.
1315 (cproj_test): Likewise.
1316 (creal_test): Use END macro without arguments.
1317 (csin_test): Use END_COMPLEX macro without arguments.
1318 (csinh_test): Likewise.
1319 (csqrt_test): Likewise.
1320 (ctan_test): Likewise.
1321 (ctan_test_tonearest): Likewise.
1322 (ctan_test_towardzero): Likewise.
1323 (ctan_test_downward): Likewise.
1324 (ctan_test_upward): Likewise.
1325 (ctanh_test): Likewise.
1326 (ctanh_test_tonearest): Likewise.
1327 (ctanh_test_towardzero): Likewise.
1328 (ctanh_test_downward): Likewise.
1329 (ctanh_test_upward): Likewise.
1330 (erf_test): Use END macro without arguments.
1331 (erfc_test): Likewise.
1332 (exp_test): Likewise.
1333 (exp_test_tonearest): Likewise.
1334 (exp_test_towardzero): Likewise.
1335 (exp_test_downward): Likewise.
1336 (exp_test_upward): Likewise.
1337 (exp10_test): Likewise.
1338 (exp2_test): Likewise.
1339 (expm1_test): Likewise.
1340 (fabs_test): Likewise.
1341 (fdim_test): Likewise.
1342 (finite_test): Likewise.
1343 (floor_test): Likewise.
1344 (fma_test): Likewise.
1345 (fma_test_towardzero): Likewise.
1346 (fma_test_downward): Likewise.
1347 (fma_test_upward): Likewise.
1348 (fmax_test): Likewise.
1349 (fmin_test): Likewise.
1350 (fmod_test): Likewise.
1351 (fpclassify_test): Likewise.
1352 (frexp_test): Likewise.
1353 (gamma_test): Likewise.
1354 (hypot_test): Likewise.
1355 (ilogb_test): Likewise.
1356 (isfinite_test): Likewise.
1357 (isgreater_test): Likewise.
1358 (isgreaterequal_test): Likewise.
1359 (isinf_test): Likewise.
1360 (isless_test): Likewise.
1361 (islessequal_test): Likewise.
1362 (islessgreater_test): Likewise.
1363 (isnan_test): Likewise.
1364 (isnormal_test): Likewise.
1365 (issignaling_test): Likewise.
1366 (isunordered_test): Likewise.
1367 (j0_test): Likewise.
1368 (j1_test): Likewise.
1369 (jn_test): Likewise.
1370 (ldexp_test): Likewise.
1371 (lgamma_test): Likewise.
1372 (lrint_test): Likewise.
1373 (lrint_test_tonearest): Likewise.
1374 (lrint_test_towardzero): Likewise.
1375 (lrint_test_downward): Likewise.
1376 (lrint_test_upward): Likewise.
1377 (llrint_test): Likewise.
1378 (llrint_test_tonearest): Likewise.
1379 (llrint_test_towardzero): Likewise.
1380 (llrint_test_downward): Likewise.
1381 (llrint_test_upward): Likewise.
1382 (log_test): Likewise.
1383 (log10_test): Likewise.
1384 (log1p_test): Likewise.
1385 (log2_test): Likewise.
1386 (logb_test): Likewise.
1387 (logb_test_downward): Likewise.
1388 (lround_test): Likewise.
1389 (llround_test): Likewise.
1390 (modf_test): Likewise.
1391 (nearbyint_test): Likewise.
1392 (nextafter_test): Likewise.
1393 (nexttoward_test): Likewise.
1394 (pow_test): Likewise.
1395 (pow_test_tonearest): Likewise.
1396 (pow_test_towardzero): Likewise.
1397 (pow_test_downward): Likewise.
1398 (pow_test_upward): Likewise.
1399 (remainder_test): Likewise.
1400 (remainder_test_tonearest): Likewise.
1401 (remainder_test_towardzero): Likewise.
1402 (remainder_test_downward): Likewise.
1403 (remainder_test_upward): Likewise.
1404 (remquo_test): Likewise.
1405 (rint_test): Likewise.
1406 (rint_test_tonearest): Likewise.
1407 (rint_test_towardzero): Likewise.
1408 (rint_test_downward): Likewise.
1409 (rint_test_upward): Likewise.
1410 (round_test): Likewise.
1411 (scalb_test): Likewise.
1412 (scalbn_test): Likewise.
1413 (scalbln_test): Likewise.
1414 (signbit_test): Likewise.
1415 (sin_test): Likewise.
1416 (sin_test_tonearest): Likewise.
1417 (sin_test_towardzero): Likewise.
1418 (sin_test_downward): Likewise.
1419 (sin_test_upward): Likewise.
1420 (sincos_test): Likewise.
1421 (sinh_test): Likewise.
1422 (sinh_test_tonearest): Likewise.
1423 (sinh_test_towardzero): Likewise.
1424 (sinh_test_downward): Likewise.
1425 (sinh_test_upward): Likewise.
1426 (sqrt_test): Likewise.
1427 (tan_test): Likewise.
1428 (tan_test_tonearest): Likewise.
1429 (tan_test_towardzero): Likewise.
1430 (tan_test_downward): Likewise.
1431 (tan_test_upward): Likewise.
1432 (tanh_test): Likewise.
1433 (tgamma_test): Likewise.
1434 (trunc_test): Likewise.
1435 (y0_test): Likewise.
1436 (y1_test): Likewise.
1437 (yn_test): Likewise.
1438 (significand_test): Likewise.
1439
bae143d2
OB
14402013-05-24 Ondřej Bílka <neleai@seznam.cz>
1441
1442 [BZ #15381]
1443 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1444
9323d39b
EM
14452013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1446
d4ea44a0 1447 [BZ #14894]
9323d39b
EM
1448 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1449 __ppc_mdoio and __ppc_mdoom.
1450 * manual/platform.texi: Document new functions __ppc_yield,
1451 __ppc_mdoio and __ppc_mdoom.
1452
13e23af7
CD
14532013-05-22 Carlos O'Donell <carlos@redhat.com>
1454
1455 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1456 (main): Mention "tls" pseudo-hwcap is legacy.
1457 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1458
351fe550
JM
14592013-05-22 Joseph Myers <joseph@codesourcery.com>
1460
1461 * math/gen-libm-test.pl (parse_args): Output only string of
1462 arguments as text for test name, not full call or descriptions of
1463 tests for extra outputs.
1464 (generate_testfile): Do not pass function name to parse_args.
1465 Generate this_func variable from START.
1466 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1467 field to arg_str.
1468 (struct test_ff_f_data): Likewise.
1469 (test_ff_f_data_nexttoward): Likewise.
1470 (struct test_fi_f_data): Likewise.
1471 (struct test_fl_f_data): Likewise.
1472 (struct test_if_f_data): Likewise.
1473 (struct test_fff_f_data): Likewise.
1474 (struct test_c_f_data): Likewise.
1475 (struct test_f_f1_data): Likewise. Remove field extra_name.
1476 (struct test_fF_f1_data): Likewise.
1477 (struct test_ffI_f1_data): Likewise.
1478 (struct test_c_c_data): Rename test_name field to arg_str.
1479 (struct test_cc_c_data): Likewise.
1480 (struct test_f_i_data): Likewise.
1481 (struct test_ff_i_data): Likewise.
1482 (struct test_f_l_data): Likewise.
1483 (struct test_f_L_data): Likewise.
1484 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
1485 and extra2_name.
1486 (COMMON_TEST_SETUP): New macro.
1487 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1488 (COMMON_TEST_CLEANUP): Likewise.
1489 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1490 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
1491 macros.
1492 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1493 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
1494 macros.
1495 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1496 (RUN_TEST_fff_f): Take argument string. Call new setup and
1497 cleanup macros.
1498 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1499 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
1500 macros.
1501 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1502 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
1503 macros.
1504 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1505 (RUN_TEST_fF_f1): Take argument string. Call new setup and
1506 cleanup macros.
1507 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1508 (RUN_TEST_fI_f1): Take argument string. Call new setup and
1509 cleanup macros.
1510 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1511 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
1512 cleanup macros.
1513 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1514 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
1515 macros.
1516 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1517 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
1518 macros.
1519 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1520 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
1521 macros.
1522 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1523 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
1524 cleanup macros.
1525 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1526 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
1527 cleanup macros.
1528 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1529 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
1530 macros.
1531 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1532 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
1533 cleanup macros.
1534 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1535 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
1536 macros.
1537 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1538 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
1539 macros.
1540 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1541 (RUN_TEST_fFF_11): Take argument string. Call new setup and
1542 cleanup macros.
1543 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1544
85118d4d
EBM
15452013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1546
1547 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1548 to _sifields.sigfault.
1549 (si_addr_lsb): Define new macro.
1550 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1551 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1552 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1553
7a44c18f
CD
15542013-05-03 Carlos O'Donell <carlos at redhat.com>
1555
1556 [BZ #15441]
1557 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1558 returns -1.
1559 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1560 null return -1.
1561 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1562 loading the domain.
1563
b50a7181
JM
15642013-05-22 Joseph Myers <joseph@codesourcery.com>
1565
1566 * math/gen-libm-test.pl (parse_args): Do not include expected
1567 result in test name.
1568 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1569 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1570 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1571 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1572 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1574
051063c8
SP
15752013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1576
3ce9e010
SP
1577 * benchtests/Makefile: Sort function entries.
1578
051063c8
SP
1579 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1580 tanh, asinh, acosh, atanh.
1581 * benchtests/acos-inputs: New file.
1582 * benchtests/acosh-inputs: New file.
1583 * benchtests/asin-inputs: New file.
1584 * benchtests/asinh-inputs: New file.
1585 * benchtests/atanh-inputs: New file.
1586 * benchtests/cosh-inputs: New file.
1587 * benchtests/log-inputs: New file.
1588 * benchtests/sinh-inputs: New file.
1589 * benchtests/tanh-inputs: New file.
1590
47c22455
DL
15912013-05-21 Dmitry V. Levin <ldv@altlinux.org>
1592
1593 [BZ #15339]
1594 * posix/tst-getaddrinfo4.c: New test.
1595 * posix/Makefile (tests): Add it.
1596
3d04f5db
SP
15972013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1598
1599 [BZ #15339]
1600 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1601 when no services were used.
1602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1603 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1604
d5dd6189
AS
16052013-05-21 Andreas Schwab <schwab@suse.de>
1606
1607 [BZ #15014]
1608 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1609 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1610 successful.
1611 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1612 redundant variable declarations and reallocation of buffer when
1613 parsing as IPv6 address. Always set NSS status when called from
1614 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
1615 buffer too small. Correct computation of needed size.
1616 * nss/Makefile (tests): Add test-digits-dots.
1617 * nss/test-digits-dots.c: New test.
1618
fef94eab
SP
16192013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1620
1621 * benchtests/Makefile: Remove instructions for adding
1622 benchmark tests.
1623 * benchtests/README: New file to explain how to execute and
1624 enhance the benchmark tests.
1625
e39adf43
AS
16262013-05-21 Andreas Schwab <schwab@suse.de>
1627
1628 [BZ #15493]
1629 * setjmp/Makefile (tests): Add tst-sigsetjmp.
1630 * setjmp/tst-sigsetjmp.c: New test.
1631
b2b671b6
OB
16322013-05-20 Ondřej Bílka <neleai@seznam.cz>
1633
1634 * sysdeps/x86_64/memset.S (memset): New implementation.
1635 (__bzero): Likewise.
1636 (__memset_tail): New function.
1637
2d48b41c
OB
16382013-05-20 Ondřej Bílka <neleai@seznam.cz>
1639
1640 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1641 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1642 __memcpy_sse2_unaligned ifunc selection.
1643 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1644 Add memcpy-sse2-unaligned.S.
1645 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1646 Add: __memcpy_sse2_unaligned.
1647
f16cc3eb
JM
16482013-05-19 Joseph Myers <joseph@codesourcery.com>
1649
3e694268
JM
1650 [BZ #15490]
1651 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1652 math_force_eval before restoring floating-point envrionment.
1653 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1654 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1655 Likewise.
1656 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1657 <math_private.h>.
1658 (__nearbyintl): Use math_force_eval before restoring
1659 floating-point environment.
1660 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1661
db62a907
JM
1662 * math/gen-libm-test.pl (special_functions): Remove.
1663 (parse_args): Don't handle TEST_extra. Handle functions with no
1664 return value.
1665 * math/libm-test.inc (struct test_sincos_data): Replace with
1666 struct test_fFF_11_data.
1667 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1668 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1669 (sincos_test_data): Change element type to struct
1670 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
1671 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1672 RUN_TEST_LOOP_sincos.
1673 * math/README.libm-test: Don't mention special handling of
1674 individual functions.
1675 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1676 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1677 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1678 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1679 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1681
f16cc3eb
JM
1682 * math/gen-libm-test.pl (get_variable): Remove function.
1683 (parse_args): Don't show pointer parameters to call in test
1684 names. Use "extra output N" in test names for extra outputs
1685 rather than naming variables.
1686
3779b5b6
JM
16872013-05-18 Joseph Myers <joseph@codesourcery.com>
1688
2ee094ff
JM
1689 [BZ #15488]
1690 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1691 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1692 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1693 double tests.
1694 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1695 disable.
1696 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1697 check_long_double.
1698
3779b5b6
JM
1699 * math/gen-libm-test.pl (@tests): Remove variable.
1700 ($count): Likewise.
1701 (new_test): Remove function.
1702 (show_exceptions): New function.
1703 (special_functions): Use show_exceptions instead of new_test.
1704 (parse_args): Likewise.
1705 (generate_testfile): Pass only function name in generated call to
1706 print_max_error or print_complex_max_error.
1707 (get_ulps): Do not handle complex tests specially.
1708 (output_test): Rename to ...
1709 (get_all_ulps_for_test): ... this. Return a string rather than
1710 printing to a file. Require ulps to be present.
1711 (output_ulps): Generate arrays rather than #defines.
1712 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1713 (struct ulp_data): New type.
1714 (BUILD_COMPLEX_ULP): Remove macro.
1715 (compare_ulp_data): New function.
1716 (find_ulps): Likewise.
1717 (find_test_ulps): Likewise.
1718 (find_function_ulps): Likewise.
1719 (find_complex_function_ulps): Likewise.
1720 (print_max_error): Determine allowed ulps using
1721 find_function_ulps.
1722 (print_complex_max_error): Determine allowed ulps using
1723 find_complex_function_ulps.
1724 (check_float_internal): Determine max ulps using find_test_ulps.
1725 (check_float): Do not take max_ulp parameter. Update call to
1726 check_float_internal.
1727 (check_complex): Likewise.
1728 (check_int): Do not take max_ulp parameter.
1729 (check_long): Likewise.
1730 (check_bool): Likewise.
1731 (check_longlong): Likewise.
1732 (struct test_f_f_data): Remove max_ulp field.
1733 (struct test_ff_f_data): Likewise.
1734 (struct test_ff_f_data_nexttoward): Likewise.
1735 (struct test_fi_f_data): Likewise.
1736 (struct test_fl_f_data): Likewise.
1737 (struct test_if_f_data): Likewise.
1738 (struct test_fff_f_data): Likewise.
1739 (struct test_c_f_data): Likewise.
1740 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1741 (struct test_fF_f1_data): Likewise.
1742 (struct test_ffI_f1_data): Likewise.
1743 (struct test_c_c_data): Remove max_ulp field.
1744 (struct test_cc_c_data): Likewise.
1745 (struct test_f_i_data): Likewise.
1746 (struct test_ff_i_data): Likewise.
1747 (struct test_f_l_data): Likewise.
1748 (struct test_f_L_data): Likewise.
1749 (struct test_sincos_data): Likewise.
1750 (RUN_TEST_f_f): Do not handle ulps.
1751 (RUN_TEST_LOOP_f_f): Likewise.
1752 (RUN_TEST_2_f): Likewise.
1753 (RUN_TEST_LOOP_2_f): Likewise.
1754 (RUN_TEST_fff_f): Likewise.
1755 (RUN_TEST_LOOP_fff_f): Likewise.
1756 (RUN_TEST_c_f): Likewise.
1757 (RUN_TEST_LOOP_c_f): Likewise.
1758 (RUN_TEST_f_f1): Likewise.
1759 (RUN_TEST_LOOP_f_f1): Likewise.
1760 (RUN_TEST_fF_f1): Likewise.
1761 (RUN_TEST_LOOP_fF_f1): Likewise.
1762 (RUN_TEST_fI_f1): Likewise.
1763 (RUN_TEST_LOOP_fI_f1): Likewise.
1764 (RUN_TEST_ffI_f1): Likewise.
1765 (RUN_TEST_LOOP_ffI_f1): Likewise.
1766 (RUN_TEST_c_c): Likewise.
1767 (RUN_TEST_LOOP_c_c): Likewise.
1768 (RUN_TEST_cc_c): Likewise.
1769 (RUN_TEST_LOOP_cc_c): Likewise.
1770 (RUN_TEST_f_i): Likewise.
1771 (RUN_TEST_LOOP_f_i): Likewise.
1772 (RUN_TEST_f_i_tg): Likewise.
1773 (RUN_TEST_LOOP_f_i_tg): Likewise.
1774 (RUN_TEST_ff_i_tg): Likewise.
1775 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1776 (RUN_TEST_f_b): Likewise.
1777 (RUN_TEST_LOOP_f_b): Likewise.
1778 (RUN_TEST_f_b_tg): Likewise.
1779 (RUN_TEST_LOOP_f_b_tg): Likewise.
1780 (RUN_TEST_f_l): Likewise.
1781 (RUN_TEST_LOOP_f_l): Likewise.
1782 (RUN_TEST_f_L): Likewise.
1783 (RUN_TEST_LOOP_f_L): Likewise.
1784 (RUN_TEST_sincos): Likewise.
1785 (RUN_TEST_LOOP_sincos): Likewise.
1786
8269107f
JM
17872013-05-17 Joseph Myers <joseph@codesourcery.com>
1788
bb38759d
JM
1789 [BZ #15480]
1790 [BZ #15485]
1791 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
1792 main case of finite arguments, set rounding mode to FE_TONEAREST
1793 and discard exceptions.
1794 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
1795 exceptions.
1796 (remainder_tonearest_test_data): New variable.
1797 (remainder_test_tonearest): New function.
1798 (remainder_towardzero_test_data): New variable.
1799 (remainder_test_towardzero): New function.
1800 (remainder_downward_test_data): New variable.
1801 (remainder_test_downward): New function.
1802 (remainder_upward_test_data): New variable.
1803 (remainder_test_upward): New function.
1804 (main): Call the new test functions.
1805
a00bdcf0
JM
1806 * math/libm-test.inc (struct test_f_f1_data): Remove field
1807 extra_init.
1808 (struct test_fF_f1_data): Likewise.
1809 (struct test_ffI_f1_data): Likewise.
1810 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
1811 based on value of EXTRA_EXPECTED.
1812 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1813 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
1814 EXTRA_VAR based on value of EXTRA_EXPECTED.
1815 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1816 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
1817 EXTRA_VAR based on value of EXTRA_EXPECTED.
1818 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1819 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
1820 EXTRA_VAR based on value of EXTRA_EXPECTED.
1821 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1822 * math/gen-libm-test.pl (parse_args): Don't output initializers
1823 for extra output values.
1824
de407f79
JM
1825 * math/libm-test.inc (check_int): Expect result to be exactly
1826 equal to expected value and do not handle ulps.
1827 (check_long): Likewise.
1828 (check_longlong): Likewise.
1829
8269107f
JM
1830 * math/libm-test.inc (ceil_test_data): Test for "inexact"
1831 exceptions.
1832 (cimag_test_data): Likewise.
1833 (conj_test_data): Likewise.
1834 (copysign_test_data): Likewise.
1835 (cproj_test_data): Likewise.
1836 (creal_test_data): Likewise.
1837 (fabs_test_data): Likewise.
1838 (fdim_test_data): Likewise.
1839 (finite_test_data): Likewise.
1840 (floor_test_data): Likewise.
1841 (fmax_test_data): Likewise.
1842 (fmin_test_data): Likewise.
1843 (fmod_test_data): Likewise.
1844 (fpclassify_test_data): Likewise.
1845 (frexp_test_data): Likewise.
1846 (ilogb_test_data): Likewise.
1847 (isfinite_test_data): Likewise.
1848 (isgreater_test_data): Likewise.
1849 (isgreaterequal_test_data): Likewise.
1850 (isinf_test_data): Likewise.
1851 (isless_test_data): Likewise.
1852 (islessequal_test_data): Likewise.
1853 (islessgreater_test_data): Likewise.
1854 (isnan_test_data): Likewise.
1855 (isnormal_test_data): Likewise.
1856 (issignaling_test_data): Likewise.
1857 (isunordered_test_data): Likewise.
1858 (ldexp_test_data): Likewise.
1859 (lrint_test_data): Likewise.
1860 (lrint_test_data) [TEST_FLOAT]: Disable one test.
1861 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
1862 (lrint_tonearest_test_data): Test for "inexact" exceptions.
1863 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1864 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
1865 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1866 test input.
1867 (lrint_towardzero_test_data): Test for "inexact" exceptions.
1868 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1869 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
1870 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
1871 that test input.
1872 (lrint_downward_test_data): Test for "inexact" exceptions.
1873 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1874 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
1875 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1876 test input.
1877 (lrint_upward_test_data): Test for "inexact" exceptions.
1878 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
1879 test input.
1880 (llrint_test_data): Test for "inexact" exceptions.
1881 (llrint_test_data) [TEST_FLOAT]: Disable one test.
1882 (llrint_tonearest_test_data): Test for "inexact" exceptions.
1883 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1884 (llrint_towardzero_test_data): Test for "inexact" exceptions.
1885 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1886 (llrint_downward_test_data): Test for "inexact" exceptions.
1887 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1888 (llrint_upward_test_data): Test for "inexact" exceptions.
1889 (logb_test_data): Likewise.
1890 (logb_downward_test_data): Likewise.
1891 (nextafter_test_data): Likewise.
1892 (nexttoward_test_data): Likewise.
1893 (remainder_test_data): Likewise.
1894 (remquo_test_data): Likewise.
1895 (scalbn_test_data): Likewise.
1896 (scalbln_test_data): Likewise.
1897 (signbit_test_data): Likewise.
1898 (sqrt_test_data): Likewise.
1899 (significand_test_data): Likewise.
1900
48a18de1
SP
19012013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1902
1903 [BZ #15424]
1904 * benchtests/bench-modf.c (struct args): Mark arg0 as
1905 volatile.
1906 * scripts/bench.pl: Mark members of struct args as volatile.
1907
13d3b41a
AZ
19082013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1909
68191c1d 1910 [BZ # 15497]
13d3b41a
AZ
1911 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
1912 negative infinity on POWER6 or lower.
1913 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
1914
2848b105
MR
19152013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1916
1917 [BZ #15442]
1918 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
1919 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
1920 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
1921 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
1922 (_FP_SETQNAN): New macro.
1923 (_FP_SETQNAN_SEMIRAW): Likewise.
1924 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
1925 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
1926 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
1927 (FP_EXTEND): Use _FP_FRAC_SNANP.
1928 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
1929 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
1930 into account.
1931 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1932 New macro.
1933 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1934 Likewise.
1935
323e5cb7
JM
19362013-05-16 Joseph Myers <joseph@codesourcery.com>
1937
c58b274f
JM
1938 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
1939 with DIVIDE_BY_ZERO_EXCEPTION.
1940 (gamma_test_data): Likewise.
1941 (lgamma_test_data): Likewise.
1942 (log_test_data): Likewise.
1943 (log10_test_data): Likewise.
1944 (log2_test_data): Likewise.
1945 (tgamma_test_data): Likewise.
1946
0ab34904
JM
1947 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
1948 (acos_test_tonearest): Likewise.
1949 (acos_test_towardzero): Likewise.
1950 (acos_test_downward): Likewise.
1951 (acos_test_upward): Likewise.
1952 (acosh_test): Likewise.
1953 (asin_test): Likewise.
1954 (asin_test_tonearest): Likewise.
1955 (asin_test_towardzero): Likewise.
1956 (asin_test_downward): Likewise.
1957 (asin_test_upward): Likewise.
1958 (asinh_test): Likewise.
1959 (atan_test): Likewise.
1960 (atanh_test): Likewise.
1961 (atan2_test): Likewise.
1962 (cabs_test): Likewise.
1963 (cacos_test): Likewise.
1964 (cacosh_test): Likewise.
1965 (casin_test): Likewise.
1966 (casinh_test): Likewise.
1967 (catan_test): Likewise.
1968 (catanh_test): Likewise.
1969 (cbrt_test): Likewise.
1970 (ccos_test): Likewise.
1971 (ccosh_test): Likewise.
1972 (cexp_test): Likewise.
1973 (clog_test): Likewise.
1974 (clog10_test): Likewise.
1975 (cos_test): Likewise.
1976 (cos_test_tonearest): Likewise.
1977 (cos_test_towardzero): Likewise.
1978 (cos_test_downward): Likewise.
1979 (cos_test_upward): Likewise.
1980 (cosh_test): Likewise.
1981 (cosh_test_tonearest): Likewise.
1982 (cosh_test_towardzero): Likewise.
1983 (cosh_test_downward): Likewise.
1984 (cosh_test_upward): Likewise.
1985 (cpow_test): Likewise.
1986 (csin_test): Likewise.
1987 (csinh_test): Likewise.
1988 (csqrt_test): Likewise.
1989 (ctan_test): Likewise.
1990 (ctan_test_tonearest): Likewise.
1991 (ctan_test_towardzero): Likewise.
1992 (ctan_test_downward): Likewise.
1993 (ctan_test_upward): Likewise.
1994 (ctanh_test): Likewise.
1995 (ctanh_test_tonearest): Likewise.
1996 (ctanh_test_towardzero): Likewise.
1997 (ctanh_test_downward): Likewise.
1998 (ctanh_test_upward): Likewise.
1999 (erf_test): Likewise.
2000 (erfc_test): Likewise.
2001 (exp_test): Likewise.
2002 (exp_test_tonearest): Likewise.
2003 (exp_test_towardzero): Likewise.
2004 (exp_test_downward): Likewise.
2005 (exp_test_upward): Likewise.
2006 (exp10_test): Likewise.
2007 (exp2_test): Likewise.
2008 (expm1_test): Likewise.
2009 (fmod_test): Likewise.
2010 (gamma_test): Likewise.
2011 (hypot_test): Likewise.
2012 (j0_test): Likewise.
2013 (j1_test): Likewise.
2014 (jn_test): Likewise.
2015 (lgamma_test): Likewise.
2016 (log_test): Likewise.
2017 (log10_test): Likewise.
2018 (log1p_test): Likewise.
2019 (log2_test): Likewise.
2020 (logb_test_downward): Likewise.
2021 (pow_test): Likewise.
2022 (pow_test_tonearest): Likewise.
2023 (pow_test_towardzero): Likewise.
2024 (pow_test_downward): Likewise.
2025 (pow_test_upward): Likewise.
2026 (remainder_test): Likewise.
2027 (remquo_test): Likewise.
2028 (sin_test): Likewise.
2029 (sin_test_tonearest): Likewise.
2030 (sin_test_towardzero): Likewise.
2031 (sin_test_downward): Likewise.
2032 (sin_test_upward): Likewise.
2033 (sincos_test): Likewise.
2034 (sinh_test): Likewise.
2035 (sinh_test_tonearest): Likewise.
2036 (sinh_test_towardzero): Likewise.
2037 (sinh_test_downward): Likewise.
2038 (sinh_test_upward): Likewise.
2039 (sqrt_test): Likewise.
2040 (tan_test): Likewise.
2041 (tan_test_tonearest): Likewise.
2042 (tan_test_towardzero): Likewise.
2043 (tan_test_downward): Likewise.
2044 (tan_test_upward): Likewise.
2045 (tanh_test): Likewise.
2046 (tgamma_test): Likewise.
2047 (y0_test): Likewise.
2048 (y1_test): Likewise.
2049 (yn_test): Likewise.
2050
323e5cb7
JM
2051 * math/gen-libm-test.pl (adjust_arg): Remove function.
2052 (special_function): Remove argument $in_func. Only handle
2053 generating output for tables of tests, not inside functions.
2054 (parse_args): Likewise.
2055 (generate_testfile): Remove variable $in_func. Update call to
2056 parse_args.
2057 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2058 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2059 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2060 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2061 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2062 (MAX_VALUE_INIT): Rename macro to max_value.
2063 (MIN_VALUE_INIT): Rename macro to min_value.
2064 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2065 (plus_zero): Remove variable.
2066 (minus_zero): Likewise.
2067 (plus_infty): Likewise.
2068 (minus_infty): Likewise.
2069 (qnan_value): Likewise.
2070 (max_value): Likewise.
2071 (min_value): Likewise.
2072 (min_subnorm_value): Likewise.
2073
e054f494
RA
20742013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2075
2076 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2077 uint64_t or uint32_t usage.
2078 * crypt/sha256-block.c: Likewise.
2079 * crypt/sha256-crypt.c: Likewise.
2080 * crypt/sha256.c: Likewise.
2081 * crypt/sha512-block.c: Likewise.
2082 * crypt/sha512-crypt.c: Likewise.
2083 * crypt/sha512.c: Likewise.
2084 * debug/backtrace-tst.c: Likewise.
2085 * debug/pcprofiledump.c: Likewise.
2086 * elf/cache.c: Likewise.
2087 * elf/dl-cache.c: Likewise.
2088 * elf/dl-misc.c: Likewise.
2089 * elf/dl-profile.c: Likewise.
2090 * elf/dl-support.c: Likewise.
2091 * elf/ldconfig.c: Likewise.
2092 * elf/sprof.c: Likewise.
2093 * iconv/dummy-repertoire.c: Likewise.
2094 * iconv/iconv_charmap.c: Likewise.
2095 * iconv/skeleton.c: Likewise.
2096 * iconvdata/8bit-generic.c: Likewise.
2097 * iconvdata/cp737.h: Likewise.
2098 * iconvdata/cp775.h: Likewise.
2099 * iconvdata/ibm1008.h: Likewise.
2100 * iconvdata/ibm1025.h: Likewise.
2101 * iconvdata/ibm1046.h: Likewise.
2102 * iconvdata/ibm1097.h: Likewise.
2103 * iconvdata/ibm1112.h: Likewise.
2104 * iconvdata/ibm1122.h: Likewise.
2105 * iconvdata/ibm1123.h: Likewise.
2106 * iconvdata/ibm1124.h: Likewise.
2107 * iconvdata/ibm1129.h: Likewise.
2108 * iconvdata/ibm1130.h: Likewise.
2109 * iconvdata/ibm1132.h: Likewise.
2110 * iconvdata/ibm1133.h: Likewise.
2111 * iconvdata/ibm1137.h: Likewise.
2112 * iconvdata/ibm1140.h: Likewise.
2113 * iconvdata/ibm1141.h: Likewise.
2114 * iconvdata/ibm1142.h: Likewise.
2115 * iconvdata/ibm1143.h: Likewise.
2116 * iconvdata/ibm1144.h: Likewise.
2117 * iconvdata/ibm1145.h: Likewise.
2118 * iconvdata/ibm1146.h: Likewise.
2119 * iconvdata/ibm1147.h: Likewise.
2120 * iconvdata/ibm1148.h: Likewise.
2121 * iconvdata/ibm1149.h: Likewise.
2122 * iconvdata/ibm1153.h: Likewise.
2123 * iconvdata/ibm1154.h: Likewise.
2124 * iconvdata/ibm1155.h: Likewise.
2125 * iconvdata/ibm1156.h: Likewise.
2126 * iconvdata/ibm1157.h: Likewise.
2127 * iconvdata/ibm1158.h: Likewise.
2128 * iconvdata/ibm1160.h: Likewise.
2129 * iconvdata/ibm1161.h: Likewise.
2130 * iconvdata/ibm1162.h: Likewise.
2131 * iconvdata/ibm1163.h: Likewise.
2132 * iconvdata/ibm1164.h: Likewise.
2133 * iconvdata/ibm1166.h: Likewise.
2134 * iconvdata/ibm1167.h: Likewise.
2135 * iconvdata/ibm12712.h: Likewise.
2136 * iconvdata/ibm1390.h: Likewise.
2137 * iconvdata/ibm1399.h: Likewise.
2138 * iconvdata/ibm16804.h: Likewise.
2139 * iconvdata/ibm4517.h: Likewise.
2140 * iconvdata/ibm4899.h: Likewise.
2141 * iconvdata/ibm4909.h: Likewise.
2142 * iconvdata/ibm4971.h: Likewise.
2143 * iconvdata/ibm5347.h: Likewise.
2144 * iconvdata/ibm803.h: Likewise.
2145 * iconvdata/ibm856.h: Likewise.
2146 * iconvdata/ibm901.h: Likewise.
2147 * iconvdata/ibm902.h: Likewise.
2148 * iconvdata/ibm9030.h: Likewise.
2149 * iconvdata/ibm9066.h: Likewise.
2150 * iconvdata/ibm921.h: Likewise.
2151 * iconvdata/ibm922.h: Likewise.
2152 * iconvdata/ibm9448.h: Likewise.
2153 * iconvdata/isiri-3342.h: Likewise.
2154 * iconvdata/jis0201.h: Likewise.
2155 * include/link.h: Likewise.
2156 * include/netdb.h: Likewise.
2157 * inet/check_native.c: Likewise.
2158 * inet/check_pf.c: Likewise.
2159 * inet/getipv4sourcefilter.c: Likewise.
2160 * inet/getnameinfo.c: Likewise.
2161 * inet/getsourcefilter.c: Likewise.
2162 * inet/htonl.c: Likewise.
2163 * inet/setipv4sourcefilter.c: Likewise.
2164 * inet/setsourcefilter.c: Likewise.
2165 * inet/test-inet6_opt.c: Likewise.
2166 * inet/tst-network.c: Likewise.
2167 * locale/C-collate.c: Likewise.
2168 * locale/C-ctype.c: Likewise.
2169 * locale/C-time.c: Likewise.
2170 * locale/C-translit.h: Likewise.
2171 * locale/loadarchive.c: Likewise.
2172 * locale/programs/3level.h: Likewise.
2173 * locale/programs/charmap.c: Likewise.
2174 * locale/programs/charmap.h: Likewise.
2175 * locale/programs/ld-address.c: Likewise.
2176 * locale/programs/ld-collate.c: Likewise.
2177 * locale/programs/ld-ctype.c: Likewise.
2178 * locale/programs/ld-identification.c: Likewise.
2179 * locale/programs/ld-measurement.c: Likewise.
2180 * locale/programs/ld-messages.c: Likewise.
2181 * locale/programs/ld-monetary.c: Likewise.
2182 * locale/programs/ld-name.c: Likewise.
2183 * locale/programs/ld-numeric.c: Likewise.
2184 * locale/programs/ld-paper.c: Likewise.
2185 * locale/programs/ld-telephone.c: Likewise.
2186 * locale/programs/ld-time.c: Likewise.
2187 * locale/programs/linereader.c: Likewise.
2188 * locale/programs/locale.c: Likewise.
2189 * locale/programs/locarchive.c: Likewise.
2190 * locale/programs/locfile.h: Likewise.
2191 * locale/programs/repertoire.c: Likewise.
2192 * locale/programs/simple-hash.c: Likewise.
2193 * locale/programs/simple-hash.h: Likewise.
2194 * malloc/memusage.c: Likewise.
2195 * malloc/memusagestat.c: Likewise.
2196 * nis/nis_defaults.c: Likewise.
2197 * nis/nis_hash.c: Likewise.
2198 * nis/nis_print.c: Likewise.
2199 * nis/nis_xdr.c: Likewise.
2200 * nscd/connections.c: Likewise.
2201 * nscd/hstcache.c: Likewise.
2202 * nscd/nscd_gethst_r.c: Likewise.
2203 * nscd/nscd_getserv_r.c: Likewise.
2204 * nscd/nscd_helper.c: Likewise.
2205 * nscd/servicescache.c: Likewise.
2206 * nss/makedb.c: Likewise.
2207 * nss/nss_db/db-XXX.c: Likewise.
2208 * nss/nss_db/db-initgroups.c: Likewise.
2209 * nss/nss_db/db-netgrp.c: Likewise.
2210 * nss/nss_files/files-network.c: Likewise.
2211 * nss/nss_files/files-parse.c: Likewise.
2212 * posix/bug-regex5.c: Likewise.
2213 * posix/fnmatch_loop.c: Likewise.
2214 * posix/regcomp.c: Likewise.
2215 * posix/regexec.c: Likewise.
2216 * posix/tst-rfc3484-2.c: Likewise.
2217 * posix/tst-rfc3484-3.c: Likewise.
2218 * posix/tst-rfc3484.c: Likewise.
2219 * resolv/nss_dns/dns-canon.c: Likewise.
2220 * resolv/nss_dns/dns-network.c: Likewise.
2221 * resolv/res_init.c: Likewise.
2222 * resolv/res_mkquery.c: Likewise.
2223 * resolv/tst-aton.c: Likewise.
2224 * stdlib/cxa_atexit.c: Likewise.
2225 * stdlib/cxa_finalize.c: Likewise.
2226 * stdlib/gen-fpioconst.c: Likewise.
2227 * stdlib/strtol_l.c: Likewise.
2228 * string/tst-endian.c: Likewise.
2229 * sunrpc/auth_des.c: Likewise.
2230 * sunrpc/clnt_udp.c: Likewise.
2231 * sunrpc/rtime.c: Likewise.
2232 * sunrpc/svcauth_des.c: Likewise.
2233 * sunrpc/xdr.c: Likewise.
2234 * sunrpc/xdr_intXX_t.c: Likewise.
2235 * sunrpc/xdr_rec.c: Likewise.
2236 * sysdeps/generic/ldconfig.h: Likewise.
2237 * sysdeps/generic/ldsodefs.h: Likewise.
2238 * sysdeps/generic/memusage.h: Likewise.
2239 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2240 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2241 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2242 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2243 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2244 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2245 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2246 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2247 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2248 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2249 * sysdeps/posix/getaddrinfo.c: Likewise.
2250 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2251 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2252 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2253 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2254 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2255 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2256 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2257 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2258 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2259 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2260 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2261 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2262 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2263 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2264 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2265 * sysdeps/x86_64/dl-tls.h: Likewise.
2266 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2267 * time/alt_digit.c: Likewise.
2268 * time/era.c: Likewise.
2269 * wcsmbs/tst-c16c32-1.c: Likewise.
2270
8c75f674
JM
22712013-05-16 Joseph Myers <joseph@codesourcery.com>
2272
2273 * math/libm-test.inc (struct test_sincos_data): New type.
2274 (RUN_TEST_LOOP_sincos): New macro.
2275 (sincos_test_data): New variable.
2276 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2277
e6e49e59
RH
22782013-05-16 Richard Henderson <rth@redhat.com>
2279
2280 * math/atest-exp2.c (LIMB64): New macro.
2281 (CONSTSZ): New macro.
2282 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2283 (hexdig): Move ...
2284 (print_mpn_fp): ... to function scope.
2285 (read_mpn_hex): Remove.
2286 (get_log2): Remove.
2287 (exp2_mpn): Use mp_log2.
2288 (main): Use mp_exp1.
2289
15c7c18d
JM
22902013-05-16 Joseph Myers <joseph@codesourcery.com>
2291
105a07df
JM
2292 * math/libm-test.inc: Remove comment about not testing "inexact"
2293 exceptions.
2294 (INEXACT_EXCEPTION): New macro.
2295 (NO_INEXACT_EXCEPTION): Likewise.
2296 (INVALID_EXCEPTION_OK): Update value.
2297 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2298 (OVERFLOW_EXCEPTION_OK): Likewise.
2299 (UNDERFLOW_EXCEPTION_OK): Likewise.
2300 (IGNORE_ZERO_INF_SIGN): Likewise.
2301 (ERRNO_UNCHANGED): Likewise.
2302 (ERRNO_EDOM): Likewise.
2303 (ERRNO_ERANGE): Likewise.
2304 (test_exceptions): Handle testing "inexact" exceptions.
2305 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2306 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2307 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2308 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2309 INEXACT_EXCEPTION.
2310 (rint_towardzero_test_data): Likewise.
2311 (rint_downward_test_data): Likewise.
2312 (rint_upward_test_data): Likewise.
2313
e9eee333
JM
2314 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2315 with OVERFLOW_EXCEPTION.
2316 (exp10_test_data): Likewise.
2317 (exp2_test_data): Likewise.
2318 (expm1_test_data): Likewise.
2319 (lgamma_test_data): Likewise.
2320 (pow_test_data): Likewise.
2321 (tgamma_test_data): Likewise.
2322 (yn_test_data): Remove duplicate test of overflow.
2323
1c38ff73
JM
2324 * math/libm-test.inc (struct test_cc_c_data): New type.
2325 (RUN_TEST_LOOP_cc_c): New macro.
2326 (cpow_test_data): New variable.
2327 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2328
15c7c18d
JM
2329 * math/libm-test.inc (struct test_f_L_data): New type.
2330 (RUN_TEST_LOOP_f_L): New macro.
2331 (llrint_test_data): New variable.
2332 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2333 (llrint_tonearest_test_data): New variable.
2334 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2335 (llrint_towardzero_test_data): New variable.
2336 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2337 (llrint_downward_test_data): New variable.
2338 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2339 (llrint_upward_test_data): New variable.
2340 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2341 (llround_test_data): New variable.
2342 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2343
f137ff13
PC
23442013-05-13 Peter Collingbourne <pcc@google.com>
2345
2346 * math/atest-exp2.c (get_log2): Remove const attribute.
2347
3608cb24
JM
23482013-05-15 Joseph Myers <joseph@codesourcery.com>
2349
2350 * math/libm-test.inc (struct test_f_l_data): New type.
2351 (RUN_TEST_LOOP_f_l): New macro.
2352 (lrint_test_data): New variable.
2353 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2354 (lrint_tonearest_test_data): New variable.
2355 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2356 (lrint_towardzero_test_data): New variable.
2357 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2358 (lrint_downward_test_data): New variable.
2359 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2360 (lrint_upward_test_data): New variable.
2361 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2362 (lround_test_data): New variable.
2363 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2364
39b1f617
PC
23652013-05-15 Peter Collingbourne <pcc@google.com>
2366
1deff3dc
PC
2367 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2368 (EXTRACT_WORDS64) Use where appropriate.
2369 (INSERT_WORDS64) Likewise.
2370
791f3ba0
PC
2371 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2372 constraints with x constraints.
2373 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2374
39b1f617
PC
2375 * malloc/obstack.c (_obstack_compat): Add initializer.
2376
12fba011
EM
23772013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2378
2379 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2380 si_trapno and add si_addr_lsb to _sifields.sigfault.
2381 (si_trapno): Remove macro.
2382 (si_addr_lsb): Define new macro.
2383 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2384
d369f531
JM
23852013-05-15 Joseph Myers <joseph@codesourcery.com>
2386
b861c6c4
JM
2387 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2388 instead of TEST_f_l.
2389 (llrint_test_tonearest): Likewise.
2390 (llrint_test_towardzero): Likewise.
2391 (llrint_test_downward): Likewise.
2392 (llrint_test_upward): Likewise.
2393 (llround_test): Likewise.
2394
7abeee12
JM
2395 * math/libm-test.inc (struct test_f_i_data): Add comment.
2396 (RUN_TEST_LOOP_f_b): New macro.
2397 (RUN_TEST_LOOP_f_b_tg): Likewise.
2398 (finite_test_data): New variable.
2399 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2400 (isfinite_test_data): New variable.
2401 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2402 (isinf_test_data): New variable.
2403 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2404 (isnan_test_data): New variable.
2405 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2406 (isnormal_test_data): New variable.
2407 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2408 (issignaling_test_data): New variable.
2409 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2410 (signbit_test_data): New variable.
2411 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2412
cbe8c4d3
JM
2413 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2414 with INVALID_EXCEPTION.
2415 (acosh_test_data): Likewise.
2416 (asin_test_data): Likewise.
2417 (atanh_test_data): Likewise.
2418 (fmod_test_data): Likewise.
2419 (log_test_data): Likewise.
2420 (log10_test_data): Likewise.
2421 (log2_test_data): Likewise.
2422 (pow_test_data): Likewise.
2423 (sqrt_test_data): Likewise.
2424 (y0_test_data): Likewise.
2425 (y1_test_data): Likewise.
2426 (yn_test_data): Likewise.
2427
5575c0e5
JM
2428 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2429 function contents.
2430
d369f531
JM
2431 * math/libm-test.inc (struct test_ff_i_data): New type.
2432 (RUN_TEST_LOOP_ff_i_tg): New macro.
2433 (isgreater_test_data): New variable.
2434 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2435 (isgreaterequal_test_data): New variable.
2436 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2437 (isless_test_data): New variable.
2438 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2439 (islessequal_test_data): New variable.
2440 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2441 (islessgreater_test_data): New variable.
2442 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2443 (isunordered_test_data): New variable.
2444 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2445
781fd748
DM
24462013-05-14 David S. Miller <davem@davemloft.net>
2447
2448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2449
87aa21df
JM
24502013-05-14 Joseph Myers <joseph@codesourcery.com>
2451
5e908270
JM
2452 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2453
f71172e5
JM
2454 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2455 extra_test to int.
2456 (struct test_f_i_data): Change type of max_ulp to int.
2457
8cfa635a
JM
2458 * math/libm-test.inc (test_ffI_f1_data): New type.
2459 (RUN_TEST_LOOP_ffI_f1): New macro.
2460 (remquo_test_data): New variable.
2461 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2462
2bcb36b2
JM
2463 * setjmp/tst-setjmp-fp.c: New file.
2464 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2465 (link-libm): New variable.
2466 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2467
acbd839a
JM
2468 * math/libm-test.inc (struct test_f_i_data): New type.
2469 (RUN_TEST_LOOP_f_i): New macro.
2470 (RUN_TEST_LOOP_f_i_tg): Likewise.
2471 (fpclassify_test_data): New variable.
2472 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2473 (ilogb_test_data): New variable.
2474 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2475
e414d745
JM
2476 * math/libm-test.inc (scalbln_test): Correct function name in END
2477 call.
2478
d9c2a0fd
JM
2479 * math/libm-test.inc (struct test_f_f1_data): Add comment.
2480 (RUN_TEST_LOOP_fI_f1): New macro.
2481 (frexp_test_data): New variable.
2482 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2483
9dc9095d
JM
2484 * math/libm-test.inc (struct test_fF_f1_data): New type.
2485 (RUN_TEST_LOOP_fF_f1): New macro.
2486 (modf_test_data): New variable.
2487 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2488
87aa21df
JM
2489 * math/libm-test.inc (struct test_f_f1_data): New type.
2490 (RUN_TEST_LOOP_f_f1): New macro.
2491 (gamma_test_data): New variable.
2492 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2493 (lgamma_test_data): New variable.
2494 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2495
141af660
CD
24962013-05-13 Carlos O'Donell <carlos@redhat.com>
2497
2498 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2499 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2500 (main): Comment "tls" pseudo-hwcap.
2501
6d33265c
JM
25022013-05-13 Joseph Myers <joseph@codesourcery.com>
2503
68fc074c
JM
2504 * math/libm-test.inc (struct test_fl_f_data): New type.
2505 (RUN_TEST_LOOP_fl_f): New variable.
2506 (scalbln_test_data): New variable.
2507 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2508
243216e1
JM
2509 * math/libm-test.inc (struct test_fi_f_data): New type.
2510 (RUN_TEST_LOOP_fi_f): New macro.
2511 (ldexp_test_data): New variable.
2512 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2513 (scalbn_test_data): New variable.
2514 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2515
6a1992e2
JM
2516 * math/libm-test.inc (struct test_c_f_data): New type.
2517 (RUN_TEST_LOOP_c_f): New macro.
2518 (cabs_test_data): New variable.
2519 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2520 (carg_test_data): New variable.
2521 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2522 (cimag_test_data): New variable.
2523 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2524 (creal_test_data): New variable.
2525 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2526
0e400df5
JM
2527 * math/libm-test.inc (struct test_if_f_data): New type.
2528 (RUN_TEST_LOOP_if_f): New macro.
2529 (jn_test_data): New variable.
2530 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2531 (yn_test_data): New variable.
2532 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2533
6d33265c
JM
2534 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2535
f98ece5f
AZ
25362013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2537
2538 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2539 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2540
0f7d347b
SP
25412013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2542
43fe811b
SP
2543 * benchtests/Makefile (CPPFLAGS-nonlib): Add
2544 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2545 (bench-deps): Add bench-timing.h.
2546 * benchtests-bench-skeleton.c: Include bench-timing.h.
2547 (main): Use TIMING_* macros instead of clock_gettime.
2548 * benchtests/bench-timing.h: New file.
2549
0f7d347b
SP
2550 [BZ #14582]
2551 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2552 Renamed from _LIB_VERSION.
2553 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2554
601a3a5f
JM
25552013-05-12 Joseph Myers <joseph@codesourcery.com>
2556
4f184d30
JM
2557 * math/libm-test.inc (struct test_fff_f_data): New type.
2558 (RUN_TEST_LOOP_fff_f): New macro.
2559 (fma_test_data): New variable.
2560 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2561 (fma_towardzero_test_data): New variable.
2562 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2563 (fma_downward_test_data): New variable.
2564 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2565 (fma_upward_test_data): New variable.
2566 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2567
08198877
JM
2568 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2569 (struct test_c_c_data): New type.
2570 (RUN_TEST_LOOP_c_c): New macro.
2571 (cacos_test_data): New variable.
2572 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2573 (cacosh_test_data): New variable.
2574 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2575 (casin_test_data): New variable.
2576 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2577 (casinh_test_data): New variable.
2578 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2579 (catan_test_data): New variable.
2580 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2581 (catanh_test_data): New variable.
2582 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2583 (ccos_test_data): New variable.
2584 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2585 (ccosh_test_data): New variable.
2586 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2587 (cexp_test_data): New variable.
2588 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2589 (clog_test_data): New variable.
2590 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2591 (clog10_test_data): New variable.
2592 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2593 (conj_test_data): New variable.
2594 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2595 (cproj_test_data): New variable.
2596 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2597 (csin_test_data): New variable.
2598 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2599 (csinh_test_data): New variable.
2600 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2601 (csqrt_test_data): New variable.
2602 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2603 (ctan_test_data): New variable.
2604 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2605 (ctan_tonearest_test_data): New variable.
2606 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2607 (ctan_towardzero_test_data): New variable.
2608 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2609 (ctan_downward_test_data): New variable.
2610 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2611 (ctan_upward_test_data): New variable.
2612 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2613 (ctanh_test_data): New variable.
2614 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2615 (ctanh_tonearest_test_data): New variable.
2616 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2617 (ctanh_towardzero_test_data): New variable.
2618 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2619 (ctanh_downward_test_data): New variable.
2620 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2621 (ctanh_upward_test_data): New variable.
2622 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2623 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2624 of BUILD_COMPLEX.
2625
601a3a5f
JM
2626 * math/libm-test.inc (struct test_ff_f_data): New type.
2627 (struct test_ff_f_data_nexttoward): Likewise.
2628 (RUN_TEST_LOOP_2_f): New macro.
2629 (RUN_TEST_LOOP_ff_f): Likewise.
2630 (atan2_test_data): New variable.
2631 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2632 (copysign_test_data): New variable.
2633 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2634 (fdim_test_data): New variable.
2635 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2636 (fmax_test_data): New variable.
2637 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2638 (fmin_test_data): New variable.
2639 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2640 (fmod_test_data): New variable.
2641 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2642 (hypot_test_data): New variable.
2643 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2644 (nextafter_test_data): New variable.
2645 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2646 (nexttoward_test_data): New variable.
2647 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2648 (pow_test_data): New variable.
2649 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2650 (pow_tonearest_test_data): New variable.
2651 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2652 (pow_towardzero_test_data): New variable.
2653 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2654 (pow_downward_test_data): New variable.
2655 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2656 (pow_upward_test_data): New variable.
2657 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2658 (remainder_test_data): New variable.
2659 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2660 (scalb_test_data): New variable.
2661 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2662 * sysdeps/i386/fpu/libm-test-ulps: Update.
2663
74c57478
JM
26642013-05-11 Joseph Myers <joseph@codesourcery.com>
2665
8329e4da
JM
2666 * math/libm-test.inc (fma_test): Use max_value instead of local
2667 variable fltmax.
2668 (nextafter_test): Likewise.
2669
74c57478
JM
2670 * math/libm-test.inc (acos_towardzero_test_data): New variable.
2671 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2672 (acos_downward_test_data): New variable.
2673 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2674 (acos_upward_test_data): New variable.
2675 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2676 (acosh_test_data): New variable.
2677 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2678 (asin_test_data): New variable.
2679 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2680 (asin_tonearest_test_data): New variable.
2681 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2682 (asin_towardzero_test_data): New variable.
2683 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2684 (asin_downward_test_data): New variable.
2685 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2686 (asin_upward_test_data): New variable.
2687 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2688 (asinh_test_data): New variable.
2689 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2690 (atan_test_data): New variable.
2691 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2692 (atanh_test_data): New variable.
2693 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2694 (cbrt_test_data): New variable.
2695 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2696 (ceil_test_data): New variable.
2697 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2698 (cos_test_data): New variable.
2699 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2700 (cos_tonearest_test_data): New variable.
2701 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2702 (cos_towardzero_test_data): New variable.
2703 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2704 (cos_downward_test_data): New variable.
2705 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2706 (cos_upward_test_data): New variable.
2707 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2708 (cosh_test_data): New variable.
2709 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2710 (cosh_tonearest_test_data): New variable.
2711 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2712 (cosh_towardzero_test_data): New variable.
2713 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2714 (cosh_downward_test_data): New variable.
2715 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2716 (cosh_upward_test_data): New variable.
2717 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2718 (erf_test_data): New variable.
2719 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2720 (erfc_test_data): New variable.
2721 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2722 (exp_test_data): New variable.
2723 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2724 (exp_tonearest_test_data): New variable.
2725 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2726 (exp_towardzero_test_data): New variable.
2727 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2728 (exp_downward_test_data): New variable.
2729 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2730 (exp_upward_test_data): New variable.
2731 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2732 (exp10_test_data): New variable.
2733 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2734 (exp2_test_data): New variable.
2735 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2736 (expm1_test_data): New variable.
2737 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2738 (fabs_test_data): New variable.
2739 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2740 (floor_test_data): New variable.
2741 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2742 (j0_test_data): New variable.
2743 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2744 (j1_test_data): New variable.
2745 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
2746 (log_test_data): New variable.
2747 (log_test): Run tests with RUN_TEST_LOOP_f_f.
2748 (log10_test_data): New variable.
2749 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
2750 (log1p_test_data): New variable.
2751 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
2752 (log2_test_data): New variable.
2753 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
2754 (logb_test_data): New variable.
2755 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
2756 (logb_downward_test_data): New variable.
2757 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2758 (nearbyint_test_data): New variable.
2759 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
2760 (rint_test_data): New variable.
2761 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
2762 (rint_tonearest_test_data): New variable.
2763 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2764 (rint_towardzero_test_data): New variable.
2765 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2766 (rint_downward_test_data): New variable.
2767 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2768 (rint_upward_test_data): New variable.
2769 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2770 (round_test_data): New variable.
2771 (round_test): Run tests with RUN_TEST_LOOP_f_f.
2772 (sin_test_data): New variable.
2773 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
2774 (sin_tonearest_test_data): New variable.
2775 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2776 (sin_towardzero_test_data): New variable.
2777 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2778 (sin_downward_test_data): New variable.
2779 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2780 (sin_upward_test_data): New variable.
2781 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2782 (sinh_test_data): New variable.
2783 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
2784 (sinh_tonearest_test_data): New variable.
2785 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2786 (sinh_towardzero_test_data): New variable.
2787 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2788 (sinh_downward_test_data): New variable.
2789 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2790 (sinh_upward_test_data): New variable.
2791 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2792 (sqrt_test_data): New variable.
2793 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
2794 (tan_test_data): New variable.
2795 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
2796 (tan_tonearest_test_data): New variable.
2797 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2798 (tan_towardzero_test_data): New variable.
2799 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2800 (tan_downward_test_data): New variable.
2801 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2802 (tan_upward_test_data): New variable.
2803 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2804 (tanh_test_data): New variable.
2805 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
2806 (tgamma_test_data): New variable.
2807 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
2808 (trunc_test_data): New variable.
2809 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
2810 (y0_test_data): New variable.
2811 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
2812 (y1_test_data): New variable.
2813 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
2814 (significand_test_data): New variable.
2815 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
2816
7187d844
CG
28172013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
2818
2819 [BZ #12387]
2820 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
2821
f63fae73
PT
28222013-05-10 Pino Toscano <toscano.pino@tiscali.it>
2823
2824 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
2825
8a67a4b3
AJ
28262013-05-10 Andreas Jaeger <aj@suse.de>
2827
2828 [BZ #15448]
2829 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
2830 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
2831
51df539d
JM
28322013-05-10 Joseph Myers <joseph@codesourcery.com>
2833
2834 * math/gen-libm-test.pl (adjust_arg): New function.
2835 (special_functions): Handle generating output in both functions
2836 and arrays.
2837 (parse_args): Likewise.
2838 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
2839 $in_func argument to parse_args.
2840 * math/libm-test.inc (struct test_f_f_data): New type.
2841 (IF_ROUND_INIT_): New macro.
2842 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2843 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2844 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2845 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2846 (ROUND_RESTORE_): Likewise.
2847 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2848 (ROUND_RESTORE_FE_TONEAREST): Likewise.
2849 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2850 (ROUND_RESTORE_FE_UPWARD): Likewise.
2851 (RUN_TEST_LOOP_f_f): New macro.
2852 (acos_test_data): New variable.
2853 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
2854 (acos_tonearest_test_data): New variable.
2855 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2856
5c637fe5
SP
28572013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2858
2859 * benchtests/bench-skeleton.c (startup): Fix coding style.
2860
ab2b9461
JM
28612013-05-10 Joseph Myers <joseph@codesourcery.com>
2862
2863 [BZ #6809]
2864 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
2865 negative infinity argument.
2866 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
2867 negative infinity argument.
2868 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
2869 negative infinity argument.
2870 * math/libm-test.inc (tgamma_test): Expect errno to be set for
2871 domain errors.
2872
4c0fe6fe
FW
28732013-05-10 Florian Weimer <fweimer@redhat.com>
2874
2875 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
2876 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
2877 * iconv/iconv_prog.c (main): Likewise.
2878 * locale/programs/charmap-dir.c (charmap_readdir)
2879 (fopen_uncompressed): Likewise.
2880 * locale/programs/locfile.c (siblings_uncached)
2881 (write_locale_data): Use lstat64 instead of lstat.
2882 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
2883 stat.
2884
a3375d29
AJ
28852013-05-10 Andreas Jaeger <aj@suse.de>
2886
2887 [BZ #15395]
2888 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
2889 localization.
2890 Include <locale.h>.
2891
36129722
CD
28922013-05-09 Carlos O'Donell <carlos@redhat.com>
2893
2894 * elf/dl-close.c (_dl_close_worker): Add comments.
2895
faa7f811
JM
28962013-05-09 Joseph Myers <joseph@codesourcery.com>
2897
ed41ffef
JM
2898 [BZ #15359]
2899 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
2900 high part of pi/2.
2901 (__ieee754_rem_pio2l): Update comments.
2902
d0213cd0
JM
2903 [BZ #15429]
2904 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
2905 high part of pi/2.
2906 (__ieee754_rem_pio2l): Update comments.
2907
0d3e777a
JM
2908 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
2909 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
2910
24f56066
JM
2911 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
2912 M_PI_4l.
2913
faa7f811
JM
2914 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
2915 (M_PI_34_LOG10El): Likewise.
2916 (M_PI2_LOG10El): Likewise.
2917 (M_PI4_LOG10El): Likewise.
2918 (M_PI_LOG10El): Likewise.
2919
e9a5e0fd
AZ
29202013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2921
2922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2923
d8cd06db
JM
29242013-05-08 Joseph Myers <joseph@codesourcery.com>
2925
a0d9f9d7
JM
2926 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
2927 (MINUS_ZERO_INIT): Likewise.
2928 (PLUS_INFTY_INIT): Likewise.
2929 (MINUS_INFTY_INIT): Likewise.
2930 (QNAN_VALUE_INIT): Likewise.
2931 (MAX_VALUE_INIT): Likewise.
2932 (MIN_VALUE_INIT): Likewise.
2933 (MIN_SUBNORM_VALUE_INIT): Likewise.
2934 (plus_zero): Initialize with PLUS_ZERO_INIT.
2935 (minus_zero): Initialize with MINUS_ZERO_INIT.
2936 (plus_infty): Initialize with PLUS_INFTY_INIT.
2937 (minus_infty): Initialize with MINUS_INFTY_INIT.
2938 (qnan_value): Initialize with QNAN_VALUE_INIT.
2939 (max_value): Initialize with MAX_VALUE_INIT.
2940 (min_value): Initialize with MIN_VALUE_INIT.
2941 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
2942
ae08db3b
JM
2943 * math/libm-test.inc (RUN_TEST_if_f): New macro.
2944 (jn_test): Use TEST_if_f instead of TEST_ff_f.
2945 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
2946 (yn_test): Use TEST_if_f instead of TEST_ff_f.
2947
f44bf14a
JM
2948 * math/libm-test.inc (RUN_TEST_f_f): New macro.
2949 (RUN_TEST_2_f): Likewise.
2950 (RUN_TEST_ff_f): Likewise.
2951 (RUN_TEST_fi_f): Likewise.
2952 (RUN_TEST_fl_f): Likewise.
2953 (RUN_TEST_fff_f): Likewise.
2954 (RUN_TEST_c_f): Likewise.
2955 (RUN_TEST_f_f1): Likewise.
2956 (RUN_TEST_fF_f1): Likewise.
2957 (RUN_TEST_fI_f1): Likewise.
2958 (RUN_TEST_ffI_f1): Likewise.
2959 (RUN_TEST_c_c): Likewise.
2960 (RUN_TEST_cc_c): Likewise.
2961 (RUN_TEST_f_i): Likewise.
2962 (RUN_TEST_f_i_tg): Likewise.
2963 (RUN_TEST_ff_i_tg): Likewise.
2964 (RUN_TEST_f_b): Likewise.
2965 (RUN_TEST_f_b_tg): Likewise.
2966 (RUN_TEST_f_l): Likewise.
2967 (RUN_TEST_f_L): Likewise.
2968 (RUN_TEST_sincos): Likewise.
2969 * math/gen-libm-test.pl (new_test): Take new argument to indicate
2970 whether to show exceptions. Do not include ");\n" in return
2971 value.
2972 (special_functions): Output call to RUN_TEST_sincos instead of
2973 check_float calls. Update calls to new_test.
2974 (parse_args): Output call to single RUN_TEST_* macro instead of
2975 check_* calls and other assignments. Update calls to new_test.
2976
d8cd06db
JM
2977 [BZ #2546]
2978 [BZ #2560]
2979 [BZ #5159]
2980 [BZ #15426]
2981 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
2982 input to result for tgamma overflow.
2983 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
2984 (gamma_coeff): New variable.
2985 (NCOEFF): New macro.
2986 (gamma_positive): New function.
2987 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
2988 underflow here. Use gamma_positive instead of exp (lgamma) for
2989 other arguments.
2990 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
2991 (gamma_coeff): New variable.
2992 (NCOEFF): New macro.
2993 (gammaf_positive): New function.
2994 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
2995 underflow here. Use gamma_positive instead of exp (lgamma) for
2996 other arguments.
2997 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
2998 (gamma_coeff): New variable.
2999 (NCOEFF): New macro.
3000 (gammal_positive): New function.
3001 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3002 underflow here. Use gamma_positive instead of exp (lgamma) for
3003 other arguments.
3004 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3005 (gamma_coeff): New variable.
3006 (NCOEFF): New macro.
3007 (gammal_positive): New function.
3008 (__ieee754_gammal_r): Handle positive infinity, overflow and
3009 underflow here. Handle NaN the same as positive infinity. Remove
3010 check x < 0xffffffff for negative integers. Use gamma_positive
3011 instead of exp (lgamma) for other arguments.
3012 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3013 (gamma_coeff): New variable.
3014 (NCOEFF): New macro.
3015 (gammal_positive): New function.
3016 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3017 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3018 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3019 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3020 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3021 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3022 * sysdeps/generic/math_private.h (__gamma_productf): New
3023 prototype.
3024 (__gamma_product): Likewise.
3025 (__gamma_productl): Likewise.
3026 * math/Makefile (libm-calls): Add gamma_product.
3027 * math/libm-test.inc (tgamma_test): Add more tests.
3028 * sysdeps/i386/fpu/libm-test-ulps: Update.
3029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3030
bb7cf681
OB
30312013-05-08 Ondřej Bílka <neleai@seznam.cz>
3032
3033 * benchtests/bench-skeleton.c (main): Preheat CPU.
3034
ba853947
AJ
30352013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3036
3037 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3038
8347c74c
RM
30392013-05-07 Roland McGrath <roland@hack.frob.com>
3040
3041 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3042 and _dl_skip_args_internal.
3043
e8dd4791
CD
30442013-05-07 Carlos O'Donell <carlos@redhat.com>
3045
3046 * manual/message.texi (Message Translation): Talk about users.
3047 Message to key mapping impacts design.
3048
c7405830
RM
30492013-05-06 Roland McGrath <roland@hack.frob.com>
3050
a9173057
RM
3051 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3052
976e2f03
RM
3053 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3054
9723ffc5
RM
3055 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3056 * sysdeps/wordsize-64/glob64.c: ... here.
3057
962e6658
RM
3058 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3059 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3060 New macros.
3061
ee586a6d
RM
3062 * debug/getlogin_r_chk.c: Moved to ...
3063 * login/getlogin_r_chk.c: ... here.
3064 * debug/Makefile (routines): Move getlogin_r_chk to ...
3065 * login/Makefile (routines): ... here.
3066 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3067 * login/Versions (libc: GLIBC_2.4): ... here.
3068
355f9165
RM
3069 * io/poll.c (__poll): Renamed from poll.
3070 Add libc_hidden_def.
3071 (poll): Define as weak alias.
3072
bd9ffde6
RM
3073 * debug/ptsname_r_chk.c: Moved to ...
3074 * login/ptsname_r_chk.c: ... here.
3075 * debug/Makefile (routines): Move ptsname_r_chk to ...
3076 * login/Makefile (routines): ... here.
3077 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3078 * login/Versions (libc: GLIBC_2.4): ... here.
3079
8fb16a04
RM
3080 * posix/getlogin.c: Moved to ...
3081 * login/getlogin.c: ... here.
3082 * posix/getlogin_r.c: Moved to ...
3083 * login/getlogin_r.c: ... here.
3084 * posix/getlogin_r.c: Moved to ...
3085 * login/getlogin_r.c: ... here.
3086 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3087 * login/Makefile (routines): ... here.
3088 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3089 * login/Versions (libc: GLIBC_2.0): ... here.
3090
b99b892f
RM
3091 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3092 (setrlimit): Define as weak alias.
3093
c7405830
RM
3094 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3095 Call __ names for open, ftruncate, and close.
3096 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3097 (truncate): Define as weak alias.
3098
5bf96de5
JM
30992013-05-06 Joseph Myers <joseph@codesourcery.com>
3100
9ea3513c
JM
3101 * math/gen-libm-test.pl (parse_args): Initialize x before each
3102 test of frexp, modf and remquo.
3103
5bf96de5
JM
3104 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3105 test signgam value.
3106
16e616a7
AZ
31072013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3108
3109 [BZ #15418]
3110 [BZ #15419]
3111 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3112 internal tests.
3113 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3114
d5e82754
RM
31152013-05-06 Roland McGrath <roland@hack.frob.com>
3116
3117 * elf/dl-writev.h: New file.
3118 * elf/dl-misc.c: Include it.
3119 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3120 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3121
a7548d41
JM
31222013-05-04 Joseph Myers <joseph@codesourcery.com>
3123
b7dab1e4
JM
3124 * math/libm-test.inc (noXFails): Remove variable.
3125 (noXPasses): Likewise.
3126 (BUILD_COMPLEX_INT): Remove macro.
3127 (print_screen): Remove xfail argument.
3128 (print_screen_max_error): Likewise.
3129 (update_stats): Likewise.
3130 (print_max_error): Likewise. Update calls to other affected
3131 functions.
3132 (print_complex_max_error): Likewise.
3133 (test_single_exception): Update calls to print_screen.
3134 (test_single_errno): Likewise.
3135 (check_float_internal): Remove xfail argument. Update calls to
3136 other affected functions.
3137 (check_float): Likewise.
3138 (check_complex): Likewise.
3139 (check_int): Likewise.
3140 (check_long): Likewise.
3141 (check_bool): Likewise.
3142 (check_longlong): Likewise.
3143 (main): Don't print noXFails and noXPasses.
3144 * math/gen-libm-test.pl (top level): Don't mention expected
3145 failure handling in comment.
3146 (new_test): Don't handle expected failures.
3147 (parse_args): Don't mention expected failure handling in comment.
3148 (generate_testfile): Don't handle expected failures.
3149 (parse_ulps): Likewise.
3150 (print_ulps_file): Likewise.
3151 (get_failure): Remove function.
3152 (output_test): Don't handle expected failures.
3153 * make/README.libm-test: Don't mention expected failure handling.
3154
a7548d41
JM
3155 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3156 (minus_zero): Likewise.
3157 (plus_infty): Likewise.
3158 (minus_infty): Likewise.
3159 (qnan_value): Likewise.
3160 (max_value): Likewise.
3161 (min_value): Likewise.
3162 (min_subnorm_value): Likewise.
3163 (initialize): Do not initialize those variables dynamically.
3164
60bfd54c
RM
31652013-05-03 Roland McGrath <roland@hack.frob.com>
3166
cc0e6ed8
RM
3167 * io/open.c (__open_2): Moved to ...
3168 * io/open_2.c: ... this new file.
3169 * io/open64.c (__open64_2): Moved to ...
3170 * io/open64_2.c: ... this new file.
3171 * io/openat.c (__openat_2): Moved to ...
3172 * io/openat_2.c: ... this new file.
3173 * io/openat64.c (__openat64_2): Moved to ...
3174 * io/openat64_2.c: ... this new file.
3175 * io/Makefile (routines): Add them.
3176 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3177 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3178 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3179 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3180 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3181 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3182 (__openat64): Add hidden_ver.
3183 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3184 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3185
60bfd54c
RM
3186 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3187 Separately conditionalize setting of GLRO(dl_sysinfo) so
3188 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3189 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3190
83e7640f
AZ
31912013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3192
3193 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3194 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3195 definition.
3196 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3197 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3198 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3199 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3200 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3201
d5dc2af3
JM
32022013-05-03 Joseph Myers <joseph@codesourcery.com>
3203
c31a5b1e
JM
3204 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3205 test signgam value.
3206
d5dc2af3
JM
3207 * math/libm-test.inc (hypot_test): Do not use
3208 IGNORE_ZERO_INF_SIGN.
3209
164fd39d
AJ
32102013-05-03 Andreas Jaeger <aj@suse.de>
3211
3212 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3213 Linux 3.9.
3214 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3215 (PF_MAX): Adjust for VSOCK change.
3216
8237f48c
AZ
32172013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3218
3219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3220
9df02941
CD
32212013-05-02 Carlos O'Donell <carlos@redhat.com>
3222
3223 [BZ #15264]
3224 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3225 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3226 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3227
d422395e
DM
32282013-05-02 David S. Miller <davem@davemloft.net>
3229
3230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3231
a07c5731
OB
32322013-05-01 Ondřej Bílka <neleai@seznam.cz>
3233
3234 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3235
1324e37f
RM
32362013-05-01 Roland McGrath <roland@hack.frob.com>
3237
3238 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3239
0695940b
RS
32402013-05-01 Richard Smith <richard@metafoo.co.uk>
3241
bb5f27ad 3242 [BZ #14952]
0695940b
RS
3243 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3244 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3245 Use __attribute__ ((__gnu_inline__)).
3246 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3247 Don't use __attribute__ ((__gnu_inline__)).
3248
10de07f5
JM
32492013-05-01 Joseph Myers <joseph@codesourcery.com>
3250
3251 [BZ #15423]
3252 * math/s_catan.c (__catan): Handle small real or imaginary part of
3253 input specially to avoid spurious underflow.
3254 * math/s_catanf.c (__catanf): Likewise.
3255 * math/s_catanh.c (__catanh): Likewise.
3256 * math/s_catanhf.c (__catanhf): Likewise.
3257 * math/s_catanhl.c (__catanhl): Likewise.
3258 * math/s_catanl.c (__catanl): Likewise.
3259 * math/libm-test.inc (catan_test): Add more tests.
3260 (catanh_test): Likewise.
3261 * sysdeps/i386/fpu/libm-test-ulps: Update.
3262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3263
cb4d5414
AZ
32642013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3265
3266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3267
caf84319
JM
32682013-04-30 Joseph Myers <joseph@codesourcery.com>
3269
3270 [BZ #15416]
3271 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3272 accurately for denominator in atan2.
3273 * math/s_catanf.c (__catanf): Likewise.
3274 * math/s_catanh.c (__catanh): Likewise.
3275 * math/s_catanhf.c (__catanhf): Likewise.
3276 * math/s_catanhl.c (__catanhl): Likewise.
3277 * math/s_catanl.c (__catanl): Likewise.
3278 * math/libm-test.inc (catan_test): Add more tests.
3279 (catanh_test): Likewise.
3280 * sysdeps/i386/fpu/libm-test-ulps: Update.
3281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3282
d569c6ee
SP
32832013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3284
6dbe713d
SP
3285 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3286
f0ee064b
SP
3287 * benchtests/Makefile (bench): Remove slow benchmarks.
3288 * benchtests/atan-inputs: Add slow benchmark inputs.
3289 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3290 (BENCH_FUNC): Accept variant offset.
3291 (VARIANT): Define.
3292 * benchtests/bench-skeleton.c (main): Run benchmark for each
3293 variant.
3294 * benchtests/cos-inputs: Add slow benchmark inputs.
3295 * benchtests/exp-inputs: Likewise.
3296 * benchtests/pow-inputs: Likewise.
3297 * benchtests/sin-inputs: Likewise.
3298 * benchtests/slowatan-inputs: Remove.
3299 * benchtests/slowatan.c: Remove.
3300 * benchtests/slowcos-inputs: Remove.
3301 * benchtests/slowcos.c: Remove.
3302 * benchtests/slowexp-inputs: Remove.
3303 * benchtests/slowexp.c: Remove.
3304 * benchtests/slowpow-inputs: Remove.
3305 * benchtests/slowpow.c: Remove.
3306 * benchtests/slowsin-inputs: Remove.
3307 * benchtests/slowsin.c: Remove.
3308 * benchtests/slowtan-inputs: Remove.
3309 * benchtests/slowtan.c: Remove.
3310 * benchtests/tan-inputs: Add slow benchmark inputs.
3311 * scripts/bench.pl: Parse comments and directives.
3312
d569c6ee
SP
3313 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3314 in CPPFLAGS.
3315 ($(objpfx)bench-%.c): Remove *-ITER.
3316 * benchtests/bench-modf.c: Remove definition of ITER.
3317 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3318 (main): Loop for DURATION seconds instead of fixed number of
3319 iterations.
3320 * scripts/bench.pl: Don't expect iterations in parameters.
3321
a6a242fe
RM
33222013-04-29 Roland McGrath <roland@hack.frob.com>
3323
3324 * io/fchdir.c (__fchdir): Renamed from fchdir.
3325 (fchdir): Define as weak alias.
3326
f2da7793
JM
33272013-04-29 Joseph Myers <joseph@codesourcery.com>
3328
3329 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3330 (ERRNO_EDOM): Likewise.
3331 (ERRNO_ERANGE): Likewise.
3332 (noErrnoTests): New variable.
3333 (init_max_error): Set errno to 0.
3334 (test_single_errno): New function.
3335 (test_errno): Likewise.
3336 (check_float_internal): Call test_errno. Set errno to 0.
3337 (check_complex): Refer to errno tests in comment.
3338 (check_int): Call test_errno. Set errno to 0.
3339 (check_long): Likewise.
3340 (check_bool): Likewise.
3341 (check_longlong): Likewise.
3342 (cos_test): Use ERRNO_* flags for errno tests instead of
3343 check_int.
3344 (expm1_test): Likewise.
3345 (fmod_test): Likewise.
3346 (ilogb_test): Likewise.
3347 (lgamma_test): Likewise.
3348 (pow_test): Likewise.
3349 (remainder_test): Likewise.
3350 (sin_test): Likewise.
3351 (tan_test): Likewise.
3352 (yn_test): Likewise.
3353 (initialize): Set errno to 0.
3354 (main): Print number of errno tests.
3355 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3356
b1a36ceb
AJ
33572013-04-29 Andreas Jaeger <aj@suse.de>
3358
c3ed8088
AJ
3359 [BZ #15084]
3360 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3361 and RES_USEVC.
3362
f1a24198
AJ
3363 [BZ #15085]
3364 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3365 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3366 unimplemented.
3367
9ce3b2cb
AJ
3368 [BZ #15380]
3369 * stdlib/random.c (__initstate): Return NULL if
3370 __initstate fails.
3371
f1a24198 3372 [BZ #15086]
b1a36ceb
AJ
3373 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3374 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3375 RES_SNGLKUPREOP.
3376
7e7b6f36
AZ
33772013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3378
3379 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3380
4d14f449
JM
33812013-04-29 Joseph Myers <joseph@codesourcery.com>
3382
3383 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3384 of individual tests.
3385 (casin_test): Likewise.
3386 (casinh_test): Likewise.
3387
5b4217d7
JM
33882013-04-27 Joseph Myers <joseph@codesourcery.com>
3389
3390 [BZ #15409]
3391 * math/s_catan.c (__catan): Handle arguments with large real or
3392 imaginary part separately without squaring.
3393 * math/s_catanf.c (__catanf): Likewise.
3394 * math/s_catanh.c (__catanh): Likewise.
3395 * math/s_catanhf.c (__catanhf): Likewise.
3396 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3397 and redefine.
3398 (__catanhl): Handle arguments with large real or imaginary part
3399 separately without squaring.
3400 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3401 and redefine.
3402 (__catanl): Handle arguments with large real or imaginary part
3403 separately without squaring.
3404 * math/libm-test.inc (catan_test): Add more tests.
3405 (catanh_test): Likewise.
3406 * sysdeps/i386/fpu/libm-test-ulps: Update.
3407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3408
4220c3ef
AJ
34092013-04-27 Andreas Jaeger <aj@suse.de>
3410
3411 [BZ #15007]
3412 * stdlib/stdlib.h: Update guards for qecvt.
3413 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3414 <stdlib.h>.
3415
4721b2d1
AM
34162013-04-27 Allan McRae <allan@archlinux.org>
3417
3418 * sysdeps/i386/fpu/libm-test-ulps: Update.
3419
f0302940
JM
34202013-04-26 Joseph Myers <joseph@codesourcery.com>
3421
9457fd95
JM
3422 [BZ #15406]
3423 * math/s_catan.c: Include <float.h>.
3424 (__catan): Ensure underflow exception occurs for underflowed
3425 result.
3426 * math/s_catanf.c: Include <float.h>.
3427 (__catanf): Ensure underflow exception occurs for underflowed
3428 result.
3429 * math/s_catanh.c: Include <float.h>.
3430 (__catanh): Ensure underflow exception occurs for underflowed
3431 result.
3432 * math/s_catanhf.c: Include <float.h>.
3433 (__catanhf): Ensure underflow exception occurs for underflowed
3434 result.
3435 * math/s_catanhl.c: Include <float.h>.
3436 (__catanhl): Ensure underflow exception occurs for underflowed
3437 result.
3438 * math/s_catanl.c: Include <float.h>.
3439 (__catanl): Ensure underflow exception occurs for underflowed
3440 result.
3441 * math/libm-test.inc (catan_test): Add more tests.
3442 (catanh_test): Likewise.
3443
f0302940
JM
3444 [BZ #15405]
3445 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3446 underflowed result.
3447 * math/s_ccoshf.c (__ccoshf): Likewise.
3448 * math/s_ccoshl.c (__ccoshl): Likewise.
3449 * math/s_csin.c (__csin): Likewise.
3450 * math/s_csinf.c (__csinf): Likewise.
3451 * math/s_csinh.c (__csinh): Likewise.
3452 * math/s_csinhf.c (__csinhf): Likewise.
3453 * math/s_csinhl.c (__csinhl): Likewise.
3454 * math/s_csinl.c (__csinl): Likewise.
3455 * math/libm-test.inc (ccos_test): Add more tests.
3456 (ccosh_test): Likewise.
3457 (csin_test): Likewise.
3458 (csinh_test): Likewise.
3459
aa630f59
AZ
34602013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3461
3462 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3463 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3464 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3465 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3466 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3467 powerpc/power5+/fpu folders.
3468 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3469
3470
1b835983
MT
34712013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3472
3473 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3474
73709b26
JM
34752013-04-25 Joseph Myers <joseph@codesourcery.com>
3476
3477 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3478 additions to variable.
3479 [$(config-machine) = x86_64] (modules-names): Likewise.
3480 ($(objpfx)tst-audit3): Remove dependency.
3481 ($(objpfx)tst-audit3.out): Likewise.
3482 ($(objpfx)tst-audit4): Likewise.
3483 ($(objpfx)tst-audit4.out): Likewise.
3484 ($(objpfx)tst-audit5): Likewise.
3485 ($(objpfx)tst-audit5.out): Likewise.
3486 ($(objpfx)tst-audit6): Likewise.
3487 ($(objpfx)tst-audit6.out): Likewise.
3488 ($(objpfx)tst-audit7): Likewise.
3489 ($(objpfx)tst-audit7.out): Likewise.
3490 (tst-audit3-ENV): Remove variable.
3491 (tst-audit4-ENV): Likewise.
3492 (tst-audit5-ENV): Likewise.
3493 (tst-audit6-ENV): Likewise.
3494 (tst-audit7-ENV): Likewise.
3495 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3496 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3497 addition to variable.
3498 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3499 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3500 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3501 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3502 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3503 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3504 tst-audit3, tst-audit4 and tst-audit5.
3505 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3506 tst-audit6 and tst-audit7.
3507 [$(subdir) = elf] (modules-names): Add audit modules for those
3508 tests.
3509 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3510 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3511 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3512 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3513 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3514 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3515 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3516 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3517 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3518 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3519 [$(subdir) = elf] (tst-audit3-ENV): New variable.
3520 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3521 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3522 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3523 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3524 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3525 Likewise.
3526 [$(subdir) = elf && $(config-cflags-avx) = yes]
3527 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3528 [$(subdir) = elf && $(config-cflags-avx) = yes]
3529 (CFLAGS-tst-auditmod4a.c): Likewise.
3530 [$(subdir) = elf && $(config-cflags-avx) = yes]
3531 (CFLAGS-tst-auditmod4b.c): Likewise.
3532 [$(subdir) = elf && $(config-cflags-avx) = yes]
3533 (CFLAGS-tst-auditmod6b.c): Likewise.
3534 [$(subdir) = elf && $(config-cflags-avx) = yes]
3535 (CFLAGS-tst-auditmod6c.c): Likewise.
3536 [$(subdir) = elf && $(config-cflags-avx) = yes]
3537 (CFLAGS-tst-auditmod7b.c): Likewise.
3538 * elf/tst-audit3.c: Move to ...
3539 * sysdeps/x86_64/tst-audit3.c: ... here.
3540 * elf/tst-audit4.c: Move to ...
3541 * sysdeps/x86_64/tst-audit4.c: ... here.
3542 * elf/tst-audit5.c: Move to ...
3543 * sysdeps/x86_64/tst-audit5.c: ... here.
3544 * elf/tst-audit6.c: Move to ...
3545 * sysdeps/x86_64/tst-audit6.c: ... here.
3546 * elf/tst-audit7.c: Move to ...
3547 * sysdeps/x86_64/tst-audit7.c: ... here.
3548 * elf/tst-auditmod3a.c: Move to ...
3549 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3550 * elf/tst-auditmod3b.c: Move to ...
3551 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3552 * elf/tst-auditmod4a.c: Move to ...
3553 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3554 * elf/tst-auditmod4b.c: Move to ...
3555 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3556 * elf/tst-auditmod5a.c: Move to ...
3557 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3558 * elf/tst-auditmod5b.c: Move to ...
3559 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3560 * elf/tst-auditmod6a.c: Move to ...
3561 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3562 * elf/tst-auditmod6b.c: Move to ...
3563 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3564 * elf/tst-auditmod6c.c: Move to ...
3565 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3566 * elf/tst-auditmod7a.c: Move to ...
3567 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3568 * elf/tst-auditmod7b.c: Move to ...
3569 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3570
1ef74943
PP
35712013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3572
3573 [BZ #15366]
3574 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3575 define unconditionally.
3576 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3577 define unconditionally.
3578 (INT8_C, INT16_C, etc.): Likewise.
3579
93fd48c5
MR
35802013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
3581
ae9552cf
MR
3582 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3583 __ehdr_start with hidden visibility.
3584
93fd48c5
MR
3585 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3586
418601aa
CD
35872013-04-24 Carlos O'Donell <carlos@redhat.com>
3588
3589 * math/libm-test.inc (cos_test): Use accurate hex constants.
3590 (sincost_test): Likewise.
3591
2f38fbfe
JM
35922013-04-24 Joseph Myers <joseph@codesourcery.com>
3593
5e221800
JM
3594 * math/libm-test.inc (catan_test): Add more tests.
3595 (catanh_test): Likewise.
3596
77f143fd
JM
3597 * math/s_catanf.c (__catanf): Use suffixed floating-point
3598 constants.
3599 * math/s_catanhf.c (__catanhf): Likewise.
3600 * math/s_catanhl.c (__catanhl): Likewise.
3601 * math/s_catanl.c (__catanl): Likewise.
3602
2f38fbfe
JM
3603 [BZ #15394]
3604 * math/s_catan.c (__catan): Calculate imaginary part of result
3605 with log1p not log unless computing log of number close to 0.
3606 * math/s_catanf.c (__catanf): Likewise.
3607 * math/s_catanl.c (__catanl): Likewise.
3608 * math/s_catanh.c (__catanh): Calculate real part of result with
3609 log1p not log unless computing log of number close to 0.
3610 * math/s_catanhf.c (__catanhf): Likewise.
3611 * math/s_catanhl.c (__catanhl): Likewise.
3612 * math/libm-test.inc (catan_test): Add more tests.
3613 (catanh_test): Likewise.
3614 * sysdeps/i386/fpu/libm-test-ulps: Update.
3615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3616
45d69176
SP
36172013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3618
3619 * benchtests/Makefile: Mention files in which fast and slow
3620 paths of math functions are implemented.
3621
87f51853
RM
36222013-04-23 Roland McGrath <roland@hack.frob.com>
3623
3624 * sysdeps/posix/timespec_get.c: New file.
3625
3c026539
AZ
36262013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3627
3628 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3629 POWER.
3630 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3631 for POWER.
3632 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3633 powerpc/power5/fpu folders.
3634 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3635 * benchtests/Makefile: Add modf testcase.
3636 * benchtests/bench-modf.c: New file: Benchmark test for mo
3637
ff491d14
SP
36382013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3639
3640 [BZ #14888]
3641 * time/Makefile (tests): Add tst-strptime-whitespace.
3642 * time/strptime_l.c (get_number): Use ISSPACE.
3643 (__strptime_internal): Likewise.
3644 * time/tst-strptime-whitespace.c: New test case.
3645
7ed3f4e8
AS
36462013-04-23 Andreas Schwab <schwab@linux-m68k.org>
3647
3648 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3649 member.
3650 (_nss_files_init): Set it here.
3651
5c95f7b6
HC
36522013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
3653
3654 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3655 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3656 unsigned.
3657
d34c9158
JBG
36582013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
3659
3660 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3661
2169712d
SP
36622013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3663
3664 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3665 size just once.
3666
29c5de99
DM
36672013-04-21 David S. Miller <davem@davemloft.net>
3668
3669 * po/ru.po: Update Russion translation from translation project.
3670
ccdad15d
AC
36712013-04-17 Adam Conrad <adconrad@0c3.net>
3672
3673 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3674 and setfsgid.
3675
0f122b8d
CD
36762013-04-17 Carlos O'Donell <carlos@redhat.com>
3677
5c5b07da 3678 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 3679 * configure: Regenerate.
5c5b07da 3680 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
3681 Add example to error message.
3682 * sysdeps/i386/configure: Regenerate.
3683
037714dd
SP
36842013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3685
3686 * benchtests/Makefile (bench): Add cos, tan, slowcos and
3687 slowtan.
3688 * benchtests/cos-inputs: New file.
3689 * benchtests/slowcos-inputs: New file.
3690 * benchtests/slowcos.c: New file.
3691 * benchtests/slowtan-inputs: New file.
3692 * benchtests/slowtan.c: New file.
3693 * benchtests/tan-inputs: New file.
3694
e913141d
RM
36952013-04-16 Roland McGrath <roland@hack.frob.com>
3696
3697 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3698 considered kosher.
3699
a2964074
SP
37002013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3701
4856bcd2
SP
3702 * benchtests/Makefile: Include cppflags-iterator.mk to add
3703 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3704
a2964074
SP
3705 * Makefile.in (bench-clean): New target.
3706 * benchtests/Makefile (bench-clean): Likewise.
3707
9fbf9aca
DH
37082013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
3709
3710 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3711
207d1e2a
TS
37122013-04-15 Thomas Schwinge <thomas@codesourcery.com>
3713
3714 * stdio-common/tstdiomisc.c: Fix coding-style violation.
3715
306dfba9
AS
37162013-04-15 Andreas Schwab <schwab@suse.de>
3717
3718 * nscd/grpcache.c (cache_addgr): Properly check for short write.
3719 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3720 * nscd/pwdcache.c (cache_addpw): Likewise.
3721 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
3722 more than recsize.
3723
206a6699
SP
37242013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3725
3726 * benchtests/Makefile (bench): Write all output to
3727 bench-out.tmp together.
3728
0582f6b3
AS
37292013-04-15 Andreas Schwab <schwab@suse.de>
3730
3731 * nscd/nscd.c (main): Don't fork again after closing files.
3732
acb4325f
SP
37332013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3734
5cb26d0a
SP
3735 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3736
acb4325f
SP
3737 * benchtests/Rules (bench-deps): Collect dependencies into a
3738 single variable. Add Makefile to dependencies.
3739 ($(objpfx)bench-%.c): Depend on bench-deps.
3740
47792506
RM
37412013-04-12 Roland McGrath <roland@hack.frob.com>
3742 Xavier Roche <roche+kml2@exalead.com>
3743
3744 [BZ #15361]
3745 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
3746 just that it's a file descriptor.
3747 * manual/llio.texi (Synchronizing AIO Operations): Update description
3748 for EBADF error from aio_fsync.
3749
8fc1bee5
SP
37502013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3751
3752 * Rules (bench): Move target definition...
3753 * benchtests/Makefile: ... here.
3754
aba5e333
CD
37552013-04-11 Carlos O'Donell <carlos@redhat.com>
3756
3757 * math/libm-test.inc (cos_test): Fix PI/2 test.
3758 (sincos_test): Likewise.
3759 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3760 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3761
273cdee8
AS
37622013-04-11 Andreas Schwab <schwab@suse.de>
3763
6ecec3b6
AS
3764 [BZ #13988]
3765 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
3766 accept exponent character only when digits were seen.
3767 * stdio-common/Makefile (tests): Add bug26.
3768 * stdio-common/bug26.c: New file.
3769
273cdee8
AS
3770 [BZ #14293]
3771 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
3772 non-freeable.
3773
8da491f5
SP
37742013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3775
01dc6df9
SP
3776 * Makeconfig (rtld-prefix): Define built linker prefix.
3777 * Rules (run-bench): Use it.
3778 * math/Makefile (run-regen-ulps): Likewise.
3779
8da491f5
SP
3780 * Rules (bench): Remove eval.
3781
abe7f530
SP
37822013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3783 Roland McGrath <roland@hack.frob.com>
3784 Ondrej Bilka <neleai@seznam.cz>
3785
3786 [BZ #15346]
3787 * time/getdate.c: Include ctype.h and alloca.h.
3788 (__getdate_r): Trim leading and trailing spaces of input.
3789 * time/tst-getdate.c (tests): Add tests with leading and
3790 trailing spaces.
3791
61c23e62
RM
37922013-04-08 Roland McGrath <roland@hack.frob.com>
3793
3794 [BZ #14280]
3795 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
3796 when computing value.
3797
7208a313
CD
37982013-04-06 Carlos O'Donell <carlos@redhat.com>
3799
085b2d41
CD
3800 * math/README.libm-test (How can I generate "libm-test-ulps"?):
3801 Use testrun.sh to run libm tests.
3802
7208a313
CD
3803 [BZ #15309]
3804 * elf/dl-open.c (dl_open_worker): memset all of seen array.
3805
872c0acd
MM
38062013-04-06 Marko Myllynen <myllynen@redhat.com>
3807
3808 [BZ #15264]
3809 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
3810
26510bdd
CD
38112013-04-06 Carlos O'Donell <carlos@redhat.com>
3812
3813 * Makefile.in (regen-ulps): New target.
3814 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
3815 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
3816 [ifneq (no,$(PERL)] (regen-ulps): New target.
3817 [ifeq (no,$(PERL)] (regen-ulps): New target.
3818 * math/libm-test.inc (ulps_file_name): Define.
3819 (output_dir): New variable.
3820 (options): Add "output-dir" option.
3821 (parse_opt): Handle 'o' case.
3822 (main): If output_dir is non-NULL use it as a prefix
3823 otherwise use "".
3824 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
3825
a01f19c8
CD
38262013-04-06 Carlos O'Donell <carlos@redhat.com>
3827
3828 [BZ #10060, #10062]
3829 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
3830 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
3831 fail configure if __sync_val_compare_and_swap is not inlined.
3832 * sysdeps/i386/configure: Regenerate.
3833 * configure.in: Build for i686 when configured for i386.
3834 * configure: Regenerate.
3835 * README: Remove i386 reference.
3836
b7a329a5
CD
38372013-04-06 Carlos O'Donell <carlos@redhat.com>
3838
3839 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
3840 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3841
bf0f50df
TS
38422013-04-05 Thomas Schwinge <thomas@codesourcery.com>
3843
ee091edf
TS
3844 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
3845 (lmsnanval): New variables.
3846 (F): Add conversion tests.
3847 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
3848 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
3849
a8b792d6
TS
3850 * stdio-common/tstdiomisc.c (F): Properly collect individual
3851 tests' results.
3852
a1cbf437
TS
3853 [BZ #14686, #15336]
3854 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
3855 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3856 Instead, use input NaN values or generate a qNaN by arithmetic
3857 operation. Also fix bugs to comply with the standard.
3858 * math/libm-test.inc (remainder_test): Add more tests.
3859
8b43a0c9
TS
3860 [BZ #15335, #15342]
3861 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
3862 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
3863 input NaN values or generate a qNaN by arithmetic operation.
3864
d91da4ce
TS
3865 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
3866 unreachable code.
3867
bf0f50df
TS
3868 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
3869 definitions.
3870
05e166c8
JM
38712013-04-03 Joseph Myers <joseph@codesourcery.com>
3872
3873 [BZ #14478]
3874 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
3875 underflowed result.
3876 * math/s_cexpf.c (__cexpf): Likewise.
3877 * math/s_cexpl.c (__cexpl): Likewise.
3878 * math/libm-test.inc (cexp_test): Add more tests.
3879
1cef1b19
AS
38802013-04-03 Andreas Schwab <schwab@suse.de>
3881
3882 [BZ #15330]
3883 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
3884 order arrays from heap if bigger than alloca cutoff.
3885
74d87055
TS
38862013-04-03 Thomas Schwinge <thomas@codesourcery.com>
3887
3888 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
3889 (SNAN_TESTS_double): Refer to GCC PR56831.
3890 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
3891 GCC PR56828.
3892
d755bba4
SP
38932013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3894
90d5d5bb
SP
3895 * Rules (bench): Move bench.out after the run is complete.
3896
73e0cd5d
SP
3897 * Rules (bench): Echo currently running benchmark.
3898
64aabd4b
SP
3899 * benchtests/Makefile (bench): Add atan and slowatan.
3900 * benchtests/atan-inputs: New file.
3901 * benchtests/slowatan-inputs: New file.
3902 * benchtests/slowatan.c: New file.
3903
c871eccd
SP
3904 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
3905 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
3906 its value.
3907
d755bba4
SP
3908 [BZ #15305]
3909 * sysdeps/unix/sysv/linux/kernel-features.h
3910 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
3911 __ASSUME_XFS_RESTRICTED_CHOWN.
3912 * sysdeps/unix/sysv/linux/pathconf.c
3913 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3914 Save and restore errno.
3915
52ce4860
JM
39162013-04-02 Joseph Myers <joseph@codesourcery.com>
3917
3918 [BZ #15327]
3919 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
3920 arguments using __kernel_casinh.
3921 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
3922 arguments using __kernel_casinhf.
3923 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
3924 arguments using __kernel_casinhl.
3925 * math/libm-test.inc (cacosh_test): Add more tests.
3926 * sysdeps/i386/fpu/libm-test-ulps: Update.
3927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3928
81f311c2
SP
39292013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3930
e7906a47
SP
3931 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
3932 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
3933
92e3664b
SP
3934 * bench/Makefile (bench): Add sin and slowsin.
3935 * benchtests/sin-inputs: New file.
3936 * benchtests/slowsin-inputs: New file.
3937 * benchtests/slowsin.c: New file.
3938
81f311c2
SP
3939 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
3940 (bench): Add slowexp and slowpow.
3941 (exp-ITER): Increase iterations.
3942 (pow-ITER): Likewise.
3943 * benchtests/exp-inputs: Change input.
3944 * benchtests/pow-inputs: Likewise.
3945 * benchtests/slowexp-inputs: New file.
3946 * benchtests/slowexp.c: New file.
3947 * benchtests/slowpow-inputs: New file.
3948 * benchtests/slowpow.c: New file.
3949
ab0f1aa9
AZ
39502013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3951
3952 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
3953 instructions.
3954 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3955 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3956 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3957 * benchtests/Makefile: Add rint benchtest.
3958 * benchtests/rint-inputs: Input for rint benchtest.
3959
57267616
TS
39602013-04-02 Thomas Schwinge <thomas@codesourcery.com>
3961
3962 * Versions.def (libm): Add GLIBC_2.18.
3963 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
3964 hidden libm prototypes.
3965 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
3966 * math/Makefile (libm-calls): Add s_issignaling.
3967 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
3968 __issignalingf, __issignalingl. Adjust all libm.abilist files.
3969 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
3970 declaration.
3971 * math/math.h [__USE_GNU] (issignaling): New macro.
3972 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
3973 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
3974 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
3975 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
3976 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
3977 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
3978 * manual/arith.texi (issignaling): New section.
3979 * manual/libm-err-tab.pl (@all_functions): Update comment.
3980 * math/gen-libm-test.pl (parse_args): Apply special handling for
3981 issignaling.
3982 * math/libm-test.inc (print_float, issignaling_test): New
3983 functions.
3984 (check_float_internal): Add issignaling checks.
3985 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
3986 default definition.
3987 * sysdeps/powerpc/math-tests.h: New file.
3988 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
3989 tests.
3990 * math/test-snan.c (TEST_FUNC): Likewise.
3991
6142896d
DM
39922013-03-30 David S. Miller <davem@davemloft.net>
3993
3994 * po/de.po: Update from translation team.
3995
ccc8cadf
JM
39962013-03-30 Joseph Myers <joseph@codesourcery.com>
3997
3998 [BZ #10357]
3999 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4000 imaginary part less than 1.0 and real part less than 0.5
4001 specially.
4002 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4003 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4004 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4005 (cacos_test): Add more tests.
4006 (casin_test): Likewise.
4007 (casinh_test): Likewise.
4008 * sysdeps/i386/fpu/libm-test-ulps: Update.
4009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4010
0f6a8d4b
SP
40112013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4012
0d1029de
SP
4013 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4014 ONE with its value.
4015
c2d94018
SP
4016 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4017 (__pow_mp): Replace ONE and MONE with their values.
4018 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4019 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4020 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4021 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4022 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4023 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4024
27ec37f1
SP
4025 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4026
a64d7e0e
SP
4027 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4028 (__pow_mp): Replace ZERO and MZERO with their values.
4029 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4030 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4031 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4032 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4033 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4034 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4035 (__sqr): Likewise.
4036
d26dd3eb
SP
4037 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4038
0f6a8d4b
SP
4039 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4040
e57b0c61
RM
40412013-03-28 Roland McGrath <roland@hack.frob.com>
4042
4043 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4044 Declare with __attribute__ ((weak)).
4045 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4046 Call __call_tls_dtors only if it's not NULL.
4047
356b3480
RM
40482013-03-28 Roland McGrath <roland@hack.frob.com>
4049
288f7d79
RM
4050 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4051 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4052 magic __ehdr_start linker symbol if it's defined.
4053 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4054 them up here if it was already done.
4055
dc0a0263
RM
4056 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4057 (_dl_aux_init): Use const in cast when setting it.
4058 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4059 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4060 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4061
3d3436ae
RM
4062 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4063 Declare them here.
4064 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4065 * csu/libc-tls.c: Nor here.
4066 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4067
356b3480
RM
4068 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4069 (__libc_message): Never call vsyslog.
4070
b0f1246a
AM
40712013-03-28 Alan Modra <amodra@gmail.com>
4072
4073 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4074 Define as empty.
4075 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4076 Likewise.
4077
fbbe2b9a
AZ
40782013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4079
4080 [BZ #15214]
4081 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4082 underflow.
4083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4084
1728ab37
SP
40852013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4086
7a86be6e
SP
4087 [BZ #15304]
4088 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4089 Don't add gid passed as argument.
4090
1728ab37
SP
4091 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4092
3a7182a1
JM
40932013-03-27 Joseph Myers <joseph@codesourcery.com>
4094
4095 [BZ #15307]
4096 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4097 imaginary part between 1.0 and 1.5 and real part less than 0.5
4098 specially.
4099 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4100 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4101 * math/libm-test.inc (cacos_test): Add more tests.
4102 (casin_test): Likewise.
4103 (casinh_test): Likewise.
4104 * sysdeps/i386/fpu/libm-test-ulps: Update.
4105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4106
6f2e90e7
SP
41072013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4108
5739f705
SP
4109 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4110 constants.
4111 (norm): Likewise.
4112 (denorm): Likewise.
4113 (__dbl_mp): Likewise.
4114 (add_magnitudes): Likewise.
4115 (sub_magnitudes): Likewise.
4116 (__add): Likewise.
4117 (__sub): Likewise.
4118 (__mul): Likewise.
4119 (__sqr): Likewise.
4120 (__inv): Likewise.
4121 (__dvd): Likewise.
4122
e375e83d
SP
4123 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4124 commented code.
4125 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4126 (__dubcos): Likewise.
4127 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4128 (__ieee754_acos): Likewise.
4129 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4130 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4131 (__exp1): Likewise.
4132 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4133 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4134 (log1): Likewise.
4135 (my_log2): Likewise.
4136 (checkint): Likewise.
4137 * sysdeps/ieee754/dbl-64/e_remainder.c
4138 (__ieee754_remainder): Likewise.
4139 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4140 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4141 (bsloww): Likewise.
4142 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4143
6f2e90e7
SP
4144 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4145 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4146 MANTISSA_STORE_T to store computations on mantissa. Use
4147 macros for rounding and division.
4148 (denorm): Likewise.
4149 (__dbl_mp): Likewise.
4150 (add_magnitudes): Likewise.
4151 (sub_magnitudes): Likewise.
4152 (__mul): Likewise.
4153 (__sqr): Likewise.
4154 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4155 powers of two in terms of TWOPOW macro.
4156 (mp_no): Make type of mantissa as MANTISSA_T.
4157 [!RADIXI]: Define RADIXI.
4158 [!TWO52]: Define TWO52.
4159 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4160
fce14d4e
AZ
41612013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4162
4163 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4164 llroundl symbol when building for PPC32.
4165
9ad027fb
MW
41662013-03-24 Mark H Weaver <mhw@netris.org>
4167
4168 * manual/arith.texi (Normalization Functions): Fix prototypes for
4169 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4170
e42a38dd
AZ
41712013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4172
4173 [BZ #13889]
4174 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4175 high value to check if expl overflow.
4176 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4177 to check for underflow and overflow.
4178 * math/libm-test.inc: Add exp test.
4179
2e0fb521
DL
41802013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4181
4182 [BZ #11120]
4183 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4184 with NOT_IN_libc.
4185
b5784d95
AZ
41862013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4187
4188 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4189 symbol.
4190
5aa4a1a1
TS
41912013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4192
bdef0be7
TS
4193 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4194 wrap blocks consisting of several statements.
4195
5aa4a1a1
TS
4196 * sysdeps/generic/math-tests.h: New file.
4197 * sysdeps/i386/fpu/math-tests.h: Likewise.
4198 * math/test-snan.c: Include it.
4199 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4200
98c48fe5
JM
42012013-03-21 Joseph Myers <joseph@codesourcery.com>
4202
4203 [BZ #15285]
4204 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4205 (__ieee754_j0l): Do not improve calculations using cos of twice
4206 input for inputs above LDBL_MAX / 2.0L.
4207 (__ieee754_y0l): Likewise.
4208 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4209 (__ieee754_j1l): Do not improve calculations using cos of twice
4210 input for inputs above LDBL_MAX / 2.0L.
4211 (__ieee754_y1l): Likewise.
4212 * math/libm-test.inc (j0_test): Add another test.
4213 (j1_test): Likewise.
4214 (y0_test): Likewise.
4215 (y1_test): Likewise.
4216 * sysdeps/i386/fpu/libm-test-ulps: Update.
4217
3775a8bc
SP
42182013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4219
4220 * Rules ($(objpfx)bench-%.c): Include code from a C source
4221 file.
4222
0a1b2ae6
JM
42232013-03-21 Joseph Myers <joseph@codesourcery.com>
4224
4225 [BZ #15287]
4226 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4227 imaginary part 1.0 and real part less than 0.5 specially.
4228 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4229 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4230 * math/libm-test.inc (cacos_test): Add more tests.
4231 (casin_test): Likewise.
4232 (casinh_test): Likewise.
4233 * sysdeps/i386/fpu/libm-test-ulps: Update.
4234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4235
b33d4ce4
SP
42362013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4237
4238 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4239 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4240
bef0b507
JM
42412013-03-20 Joseph Myers <joseph@codesourcery.com>
4242
4243 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4244 * config.make.in (config-cflags-sse4): Remove variable.
4245 (config-cflags-avx): Likewise.
4246 (config-cflags-sse2avx): Likewise.
4247 (config-cflags-novzeroupper): Likewise.
4248 (config-asflags-i686): Likewise.
4249 (have-mfma4): Likewise.
4250 (have-as-vis3): Likewise.
4251 (MIG): Likewise.
4252 * configure.in (MIG): Do not AC_SUBST.
4253 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4254 (libc_cv_cc_sse4): Do not AC_SUBST.
4255 (libc_cv_cc_avx): Likewise.
4256 (libc_cv_cc_sse2avx): Likewise.
4257 (libc_cv_cc_novzeroupper): Likewise.
4258 (libc_cv_cc_fma4): Likewise.
4259 (libc_cv_as_i686): Likewise.
4260 (libc_cv_sparc_as_vis3): Likewise.
4261 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4262 LIBC_CONFIG_VAR.
4263 (config-asflags-i686): Likewise.
4264 (config-cflags-avx): Likewise.
4265 (config-cflags-sse2avx): Likewise.
4266 (have-mfma4): Likewise.
4267 (config-cflags-novzeroupper): Likewise.
4268 * sysdeps/mach/configure.in (MIG): Likewise.
4269 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4270 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4271 LIBC_CONFIG_VAR.
4272 (config-cflags-avx): Likewise.
4273 (config-cflags-sse2avx): Likewise.
4274 (have-mfma4): Likewise.
4275 (config-cflags-novzeroupper): Likewise.
4276 * configure: Regenerated.
4277 * sysdeps/i386/configure: Likewise.
4278 * sysdeps/mach/configure: Likewise.
4279 * sysdeps/sparc/configure: Likewise.
4280 * sysdeps/x86_64/configure: Likewise.
4281
912cc4b3
RM
42822013-03-20 Roland McGrath <roland@hack.frob.com>
4283
4284 [BZ #14812]
4285 * locale/programs/localedef.c (options): Put N_ translation marker
4286 on argument names, not just descriptions.
4287
04eed2b0
MS
42882013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4289
4290 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4291
a065ceff
OB
42922013-03-20 Ondřej Bílka <neleai@seznam.cz>
4293
9bb2a810 4294 [BZ #14176]
a065ceff
OB
4295 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4296
a600e5ce
RM
42972013-03-19 Roland McGrath <roland@hack.frob.com>
4298
4299 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4300 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4301 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4302 [!BEFORE_ABORT] (before_abort): New function.
4303 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4304 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4305 (writev_for_fatal): New function.
4306 (WRITEV_FOR_FATAL): New macro; call that.
4307 (backtrace_and_maps): New function.
4308 (BEFORE_ABORT): New macro; call that.
4309 (struct str_list): Type removed.
4310 (__libc_message, __libc_fatal): Functions removed.
4311 Include <sysdeps/posix/libc_fatal.c> instead.
4312
6b18bea6
JM
43132013-03-19 Joseph Myers <joseph@codesourcery.com>
4314
4315 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4316 constants.
4317 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4318 double constants.
4319
aaa8cb4b
AS
43202013-03-19 Andreas Schwab <schwab@suse.de>
4321
44673770
AS
4322 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4323 * sysdeps/gnu/configure: Regenerate.
4324
aaa8cb4b
AS
4325 * configure.in: Substitute libc_cv_rtlddir.
4326 * configure: Regenerate.
4327 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4328 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4329 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4330 * elf/Makefile (install-others, CFLAGS-interp.c)
4331 (ldso_install, common-ldd-rewrite): Likewise.
4332 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4333 $(inst_slibdir)/$(rtld-installed-name).
4334 * scripts/rellns-sh: Add -p option.
4335 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4336 for source.
4337
d3cfc668
SP
43382013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4339
4340 * manual/nptl.texi: Renamed to ...
4341 * manual/threads.texi: ... this.
4342 * manual/Makefile (chapters): Update.
4343
0e2b9cdd
RM
43442013-03-18 Roland McGrath <roland@hack.frob.com>
4345
4346 [BZ #14812]
4347 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4348 on argument names, not just descriptions.
0e2b9cdd
RM
4349 * malloc/memusagestat.c (options): Likewise.
4350 * nss/getent.c (options): Likewise.
63270c24
RM
4351
43522013-03-18 Benno Schulenberg <bensberg@justemail.net>
4353
4354 [BZ #14812]
4355 * iconv/iconv_prog.c (options): Put N_ translation marker
4356 on argument names, not just descriptions.
4357 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 4358
b2e1393c
OB
43592013-03-18 Ondrej Bilka <neleai@seznam.cz>
4360
4361 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4362 implementation which is faster on all x86_64 architectures.
4363 Tested on AMD, Intel Nehalem, SNB, IVB.
4364 * sysdeps/x86_64/strnlen.S: Likewise.
4365
4366 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4367 Remove all multiarch strlen and strnlen versions.
4368 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4369 Remove strlen and strnlen related parts.
4370
4371 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4372 Inline strlen part.
4373 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4374
4375 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4376 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4377 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4378 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4379 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4380 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4381
ec4ff04d
CD
43822013-03-17 Carlos O'Donell <carlos@redhat.com>
4383
4384 * manual/memory.texi (Malloc Tunable Parameters):
4385 Sort parameters alphabetically. Add comments for missing entries.
4386
cd18e90a
DM
43872013-03-17 David S. Miller <davem@davemloft.net>
4388
4389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4390
2a185d32
JM
43912013-03-16 Joseph Myers <joseph@codesourcery.com>
4392
d2f9799e
JM
4393 [BZ #15283]
4394 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4395 for arguments at most half maximum finite value.
4396 * math/libm-test.inc (j0_test): Add more tests.
4397 (j1_test): Likewise.
4398 (y0_test): Likewise.
4399 (y1_test): Likewise.
4400 * sysdeps/i386/fpu/libm-test-ulps: Update.
4401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4402
2a185d32
JM
4403 [BZ #14155]
4404 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4405 1 / x and functions P and Q for arguments above 0x1p256L.
4406 (__ieee754_y0l): Likewise.
4407 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4408 (__ieee754_y1l): Likewise.
4409 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4410 (j1_test): Likewise.
4411 (y0_test): Likewise.
4412 (y1_test): Likewise.
4413
6cbec759
TS
44142013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4415
4416 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4417 variable.
4418
bc16e260
RM
44192013-03-15 Roland McGrath <roland@hack.frob.com>
4420
aefc9b8c
RM
4421 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4422 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4423 zero since it's initialized to EXEC_PAGESIZE.
4424
bc16e260
RM
4425 * sysdeps/unix/sysv/linux/ldsodefs.h
4426 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4427 * sysdeps/generic/ldsodefs.h: ... here.
4428
a57da955
TS
44292013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4430
af00a34d
TS
4431 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4432
495ded2c
TS
4433 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4434 math/test-snan.c.
4435 * math/test-snan.c: Renamed from
4436 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4437 * math/Makefile (tests): Add test-snan.
4438 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4439 test-powerpc-snan.
4440
777b0332
TS
4441 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4442 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4443 functions.
4444 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4445 __builtin_nan family of functions.
4446 * math/libm-test.inc (initialize): Initialize qnan_value with
4447 __builtin_nan family of functions.
4448 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4449 Remove variables.
4450 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4451 Remove functions.
4452 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4453 storage class. Initialize qNaN_var and sNaN_var with
4454 __builtin_nan and __builtin_nans families of functions,
4455 respectively.
4456
64d063b8
TS
4457 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4458 (sqrt_test): Remove duplicate test with qNaN input.
4459 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4460 (round_test, signbit_test, significand_test): Note missing +/-Inf
4461 as well as qNaN tests.
4462
67e971f1
TS
4463 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4464 qNaN_var. Fix a few strings, too.
4465 * math/libm-test.inc (nan_value): Rename to qnan_value.
4466 * math/gen-libm-test.pl (%beautify): Adjust to that.
4467 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4468 * math/test-misc.c (main): Likewise.
4469 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4470 to __qnan_bytes, and __qnan_union, respectively.
4471 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4472 Likewise.
4473 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4474 and lqnanval, respectively.
4475 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4476 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4477 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4478 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4479
64487e12
TS
4480 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4481 * math/test-misc.c (main) [__x86_64__]: Enable test for long
4482 doubles.
4483
e015e27b
TS
4484 * math/test-misc.c (main): Fix copy'n'pastos.
4485 * misc/tst-efgcvt.c (special): Likewise.
4486
a57da955
TS
4487 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4488 Remove declarations.
4489
1e380345
SP
44902013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4491
4492 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4493 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4494 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4495 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4496
ef26eece
AZ
44972013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4498
4499 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4500 macro to return vdso values correctly in IFUNC implementations.
4501 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4502 Optimization by using IFUNC.
4503
8cfdb7e0
SP
45042013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4505 Richard Henderson <rth@redhat.com>
4506 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4507
4508 * Makefile.in (bench): New target.
4509 * NEWS: Mention the benchmark framework.
4510 * Rules (bench): Likewise.
4511 (binaries-bench): Generate binaries for functions to
4512 benchmark.
4513 * benchtests/Makefile: New makefile for benchmark tests.
4514 * benchtests/bench-skeleton.c: New skeleton file for benchmark
4515 programs.
4516 * benchtests/exp-inputs: New input file for EXP function.
4517 * benchtests/pow-inputs: New input file for POW function.
4518 * scripts/bench.pl: New script to generate source files for
4519 benchmark programs.
4520
bcda9880
SP
45212013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4522
d22ca8cd
SP
4523 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4524 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4525 computations on mantissa. Use macros for rounding and
4526 division.
4527 (denorm): Likewise.
4528 (__dbl_mp): Likewise.
4529 (add_magnitudes): Likewise.
4530 (sub_magnitudes): Likewise.
4531 (__mul): Likewise.
4532 (__sqr): Likewise.
4533 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4534 powers of two in terms of TWOPOW macro.
4535 (mp_no): Make type of mantissa as MANTISSA_T.
4536 [!RADIXI]: Define RADIXI.
4537 [!TWO52]: Define TWO52.
4538 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4539
bcda9880
SP
4540 * manual/nptl.texi (cindex): Modify threads to pthreads.
4541
06d5adfb
JM
45422013-03-15 Joseph Myers <joseph@codesourcery.com>
4543
4544 * sysdeps/x86_64/preconfigure: Regenerated.
4545
41c7328e
JM
45462013-03-14 Joseph Myers <joseph@codesourcery.com>
4547
4548 [BZ #14155]
4549 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4550 0x1p28 and above.
4551 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4552 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4553 0x1p28 and above.
4554 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4555 * math/libm-test.inc (j0_test): Do not allow one spurious
4556 underflow exception.
4557 (y1_test): Likewise.
4558
e25cfa60
SP
45592013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4560
0409959c
SP
4561 * manual/Makefile (chapters): Add nptl.
4562 * manual/debug.texi (Debugging Support): Add link to Threads
4563 chapter.
4564 * manual/nptl.texi: New file.
4565
e25cfa60
SP
4566 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4567
58a1335e
PB
45682013-03-14 Petr Baudis <pasky@ucw.cz>
4569
4570 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4571 for non-NULL pointer before the memory validity test. Pointed
4572 out by Holger Brunck <holger.brunck@keymile.com>.
4573
9dc7c64f
AS
45742013-03-13 Andreas Schwab <schwab@suse.de>
4575
4576 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4577 instead of .os.
4578
54206aa6
JM
45792013-03-13 Joseph Myers <joseph@codesourcery.com>
4580
4581 * timezone/zic.c: Update from tzcode 2013b.
4582
e98cdb38
CD
45832013-03-12 Carlos O'Donell <carlos@redhat.com>
4584
4585 * manual/install.texi (Configuring and compiling):
4586 Mention i686 and i586.
4587 * INSTALL: Regenerate.
4588
9967e003
RM
45892013-03-12 Roland McGrath <roland@hack.frob.com>
4590
4591 * sysdeps/init_array/elf-init.c: New file.
4592 * csu/elf-init.c
4593 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4594 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4595
4596 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4597 __gmon_start__ as global, but as static with a .preinit_array pointer.
4598 * sysdeps/init_array/gmon-start.c: New file. Use that.
4599 * sysdeps/init_array/crti.S: New file, empty except for comments.
4600 * sysdeps/init_array/crtn.S: Likewise.
4601
e6b5a293 46022013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
4603
4604 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4605 definining bcopy.
80f844c9
OB
4606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4607 Remove Prefer_SSE_for_memop.
4608 * sysdeps/x86_64/multiarch/init-arch.h: Remove
4609 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4610 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
4611 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4612 memset-x86-64.
80f844c9 4613 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 4614 Remove bzero, memset ifunc support.
80f844c9
OB
4615 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4616 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4617 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4618 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4619
fb6b0fcb
AS
46202013-03-11 Andreas Schwab <schwab@suse.de>
4621
4622 [BZ #15234]
4623 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4624 by SHLIB_COMPAT.
4625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4626 (GLIBC_2.16): Remove pthread_atfork.
4627
3e6bd4b1
PP
46282013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4629
4630 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4631 (ptestcases.h): Likewise.
4632
222d7f00
RM
46332013-03-08 Roland McGrath <roland@hack.frob.com>
4634
4635 * Makeconfig ($(common-objpfx)config.status): Depend on
4636 sysdeps/*/preconfigure{,.in} too.
4637
1ba4f030
JM
46382013-03-08 Joseph Myers <joseph@codesourcery.com>
4639
a222d91a
JM
4640 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4641 (__free_hook): Use void * instead of __malloc_ptr_t.
4642 (__malloc_hook): Likewise.
4643 (__realloc_hook): Likewise.
4644 (__memalign_hook): Likewise.
4645 (__after_morecore_hook): Likewise.
4646 * malloc/arena.c (save_malloc_hook): Likewise.
4647 (save_free_hook): Likewise.
4648 * malloc/hooks.c (malloc_hook_ini): Likewise.
4649 (realloc_hook_ini): Likewise.
4650 (memalign_hook_ini): Likewise.
4651 * malloc/malloc.c (malloc_hook_ini): Likewise.
4652 (realloc_hook_ini): Likewise.
4653 (memalign_hook_ini): Likewise.
4654 (__free_hook): Likewise.
4655 (__malloc_hook): Likewise.
4656 (__realloc_hook): Likewise.
4657 (__memalign_hook): Likewise.
4658 (__libc_malloc): Likewise.
4659 (__libc_free): Likewise.
4660 (__libc_realloc): Likewise.
4661 (__libc_memalign): Likewise.
4662 (__libc_valloc): Likewise.
4663 (__libc_pvalloc): Likewise.
4664 (__libc_calloc): Likewise.
4665 (__posix_memalign): Likewise.
4666 * malloc/morecore.c (__sbrk): Likewise.
4667 (__default_morecore): Likewise.
4668
5cc45e10
JM
4669 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4670
dd54b864
JM
4671 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4672 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4673 __malloc_ptrdiff_t.
4674
1ba4f030
JM
4675 * malloc/malloc.h (__malloc_size_t): Remove macro.
4676 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4677 __malloc_size_t.
4678 (old_memalign_hook): Likewise.
4679 (old_realloc_hook): Likewise.
4680 (struct hdr): Likewise.
4681 (flood): Likewise.
4682 (mallochook): Likewise.
4683 (memalignhook): Likewise.
4684 (reallochook): Likewise.
4685 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4686 (tr_old_realloc_hook): Likewise.
4687 (tr_old_memalign_hook): Likewise.
4688 (tr_mallochook): Likewise.
4689 (tr_reallochook): Likewise.
4690 (tr_memalignhook): Likewise.
4691
edf66e57
AZ
46922013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4693
4694 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4695 default_ldbl_pack and using as default implementation.
4696 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4697 implementation.
4698 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4699 redundant definition.
4700 (ldbl_insert_mantissa): Likewise.
4701 (ldbl_canonicalize): Likewise.
4702 (ldbl_nearbyint): Likewise.
4703 (ldbl_pack): Rename to ldbl_pack_ppc.
4704 (ldbl_unpack): Rename to ldbl_unpack_ppc.
4705 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4706 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4707
6d9145d8
SP
47082013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4709
4710 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4711 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4712 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4713 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4714 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4715 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4716 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4717 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4718
4dd4e157
AJ
47192013-03-07 Andreas Jaeger <aj@suse.de>
4720
4721 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4722 bits/mman-linux.h.
4723
adbb8027
SP
47242013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4725
ce544b5b
SP
4726 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4727 Include mpa.h and declare __MPEXP.
4728 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4729 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4730 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4731 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4732 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4733 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4734 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4735
4cc149fd
SP
4736 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4737 (__slowpow): Use long double EXPL and LOGL functions to
4738 compute POW.
4739 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4740 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4741 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4742 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4743 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4744 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4745
e6ebd4a7
SP
4746 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
4747 intermediate variable to calculate exponent.
4748 (__sqr): Likewise.
4749 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4750 Likewise.
4751 (__sqr): Likewise.
4752
82a9811d
SP
4753 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
4754 [!NO__SQR]: Define __sqr.
4755 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
4756 and NO__SQR. Remove all code except __mul and __sqr. Include
4757 sysdeps/ieee754/dbl-64/mpa.c.
4758 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4759
adbb8027
SP
4760 [BZ #12723]
4761 * posix/Makefile (tests): Add tst-pathconf.
4762 * posix/tst-pathconf.c: New test case.
4763 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
4764 _PC_PIPE_BUF.
4765 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
4766
39120df9
PF
47672013-03-06 Patsy Franklin <pfrankli@redhat.com>
4768
4769 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
4770
67525cb8
AJ
47712013-03-06 Andreas Jaeger <aj@suse.de>
4772
664a9ce4
AJ
4773 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
4774 definition via __MAP_ANONYMOUS.
4775
8e39047d
AJ
4776 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
4777 it's not part of Linux headers.
4778
67525cb8
AJ
4779 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4780 (MAP_HUGE_MASK): Define.
4781
4782 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4783 Define.
4784 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4785 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4786 Define.
4787 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4788 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4789 Define.
4790 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4791 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
4792 Define.
4793 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4794
4795 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
4796 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
4797 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
4798 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
4799 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
4800 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
4801
4802 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4803 Handle f2fs.
4804
4805 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4806 Handle f2fs and efivarfs.
4807
4808 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
4809 f2fs.
4810
4811 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
4812 (EFIVARFS_MAGIC): Add.
4813 (F2FS_LINK_MAX): Add.
4814
e1b42695
PP
48152013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4816
4817 * stdio-common/vfprintf.c: Replace __builtin_expect with
4818 __glibc_unlikely.
4819
2d67d91a
JM
48202013-03-06 Joseph Myers <joseph@codesourcery.com>
4821
4822 [BZ #13550]
4823 * sysdeps/generic/bp-sym.h: Remove file.
4824 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
4825 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
4826 <bp-sym.h> and <bp-asm.h>.
4827 (__longjmp): Don't use BP_SYM.
4828 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
4829 and <bp-asm.h>.
4830 (memcpy): Don't use BP_SYM.
4831 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
4832 <bp-sym.h> and <bp-asm.h>.
4833 (memcpy): Don't use BP_SYM.
4834 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
4835 <bp-asm.h>.
4836 (memcpy): Don't use BP_SYM.
4837 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
4838 <bp-asm.h>.
4839 (memset): Don't use BP_SYM.
4840 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4841 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4842 (__bzero): Don't use BP_SYM.
4843 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4844 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4845 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
4846 <bp-sym.h> and <bp-asm.h>.
4847 (memcmp): Don't use BP_SYM. Remove comment about bounded
4848 pointers.
4849 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
4850 <bp-sym.h> and <bp-asm.h>.
4851 (memcpy): Don't use BP_SYM.
4852 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
4853 <bp-sym.h> and <bp-asm.h>.
4854 (memset): Don't use BP_SYM.
4855 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4856 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4857 (__bzero): Don't use BP_SYM.
4858 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4859 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4860 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
4861 <bp-sym.h> and <bp-asm.h>.
4862 (strncmp): Don't use BP_SYM. Remove comment about bounded
4863 pointers.
4864 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
4865 <bp-sym.h> and <bp-asm.h>.
4866 (memcpy): Don't use BP_SYM.
4867 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
4868 <bp-sym.h> and <bp-asm.h>.
4869 (memset): Don't use BP_SYM.
4870 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4871 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4872 (__bzero): Don't use BP_SYM.
4873 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4874 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4875 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
4876 <bp-sym.h> and <bp-asm.h>.
4877 (__memchr): Don't use BP_SYM.
4878 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
4879 <bp-sym.h> and <bp-asm.h>.
4880 (memcmp): Don't use BP_SYM. Remove comment about bounded
4881 pointers.
4882 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
4883 <bp-sym.h> and <bp-asm.h>.
4884 (memcpy): Don't use BP_SYM.
4885 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
4886 <bp-sym.h> and <bp-asm.h>.
4887 (__mempcpy): Don't use BP_SYM.
4888 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
4889 <bp-sym.h> and <bp-asm.h>.
4890 (__memrchr): Don't use BP_SYM.
4891 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
4892 <bp-sym.h> and <bp-asm.h>.
4893 (memset): Don't use BP_SYM.
4894 (__bzero): Likewise.
4895 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
4896 <bp-sym.h> and <bp-asm.h>.
4897 (__rawmemchr): Don't use BP_SYM.
4898 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
4899 <bp-sym.h> and <bp-asm.h>.
4900 (__STRCMP): Don't use BP_SYM.
4901 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
4902 <bp-sym.h> and <bp-asm.h>.
4903 (strchr): Don't use BP_SYM.
4904 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
4905 <bp-sym.h> and <bp-asm.h>.
4906 (__strchrnul): Don't use BP_SYM.
4907 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
4908 <bp-sym.h> and <bp-asm.h>.
4909 (strlen): Don't use BP_SYM.
4910 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
4911 <bp-sym.h> and <bp-asm.h>.
4912 (strncmp): Don't use BP_SYM. Remove comment about bounded
4913 pointers.
4914 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
4915 <bp-sym.h> and <bp-asm.h>.
4916 (__strnlen): Don't use BP_SYM.
4917 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
4918 <bp-sym.h> and <bp-asm.h>.
4919 (__GI__setjmp): Don't use BP_SYM.
4920 (_setjmp): Likewise.
4921 (__sigsetjmp): Likewise.
4922 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
4923 (L(start_addresses)): Don't use BP_SYM.
4924 (_start): Likewise.
4925 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
4926 <bp-asm.h>.
4927 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
4928 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
4929 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4930 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4931 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
4932 <bp-asm.h>.
4933 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
4934 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
4935 about bounded pointers.
4936 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4937 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4938 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
4939 <bp-asm.h>.
4940 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4941 about bounded pointers. Remove GKM FIXME comments.
4942 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4943 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
4944 <bp-asm.h>.
4945 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
4946 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
4947 Remove GKM FIXME comments.
4948 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4949 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4950 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
4951 <bp-asm.h>.
4952 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4953 about bounded pointers. Remove GKM FIXME comment.
4954 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
4955 and <bp-asm.h>.
4956 (strncmp): Don't use BP_SYM. Remove comment about bounded
4957 pointers.
4958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
4959 <bp-sym.h> and <bp-asm.h>.
4960 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
4962 <bp-sym.h> and <bp-asm.h>.
4963 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4964 comment.
4965
cdcf361f
PP
49662013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4967
4968 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
4969 call free(NULL).
4970
3c4a2b15
DM
49712013-03-05 David S. Miller <davem@davemloft.net>
4972
4973 * po/es.po: Update from translation team.
4974
cdcf361f 49752013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
4976
4977 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
4978 <bits/mman-linux.h>.
4979 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4980 is fine.
4981 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
4982 <bits/mman-linux.h> to end of file.
4983 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4984 is fine.
4985 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
4986 <bits/mman-linux.h> to end of file.
4987 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4988 is fine.
4989 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
4990 <bits/mman-linux.h> to end of file.
4991
4992 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
4993 (MCL_CURRENT, MCL_FUTURE): Define here.
4994
5f67c04f
AK
49952013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4996
8a4473cc 4997 [BZ #15232]
5f67c04f
AK
4998 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
4999 attribute_hidden.
5000 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5001
c3e94a95
AK
50022013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5003
5004 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5005 fourth parameter needed for rt_sigprocmask syscall.
5006 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5007 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5008 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5009 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5010 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5011 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5012
cfb6382a
JM
50132013-03-04 Joseph Myers <joseph@codesourcery.com>
5014
5015 [BZ #13550]
5016 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5017 comment about bounded pointers.
5018 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5019 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5020
539d8e01
AJ
50212013-03-04 Andreas Jaeger <aj@suse.de>
5022
5023 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5024 common definitions.
5025
5026 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5027 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5028 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5029 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5030 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5031 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5032
2e167a70 50332013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5034
5035 [BZ #15055]
5036 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5037 __ieee754_sqrl instead of __sqrl.
5038
68508633
JM
50392013-03-01 Joseph Myers <joseph@codesourcery.com>
5040
5041 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5042 * sysdeps/powerpc/fpu_control.h: ... here.
5043 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5044 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5045 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5046 * sysdeps/powerpc/bits/mathinline.h: ... here.
5047
7775448e
RM
50482013-03-01 Roland McGrath <roland@hack.frob.com>
5049
5050 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5051 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5052 to just [NEED_DL_SYSINFO_DSO].
5053 * elf/dl-support.c: Likewise.
5054 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5055 * elf/rtld.c (dl_main): Likewise.
5056 * elf/setup-vdso.h (setup_vdso): Likewise.
5057 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5058 * sysdeps/unix/sysv/linux/dl-sysdep.c
5059 (_dl_discover_osversion): Likewise.
5060
4e9b5995
CD
50612013-03-01 Carlos O'Donell <carlos@redhat.com>
5062
5063 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5064 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5065
e23872c8
SP
50662013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5067
e5c74c63
SP
5068 * NEWS: Mention libm performance improvements and non-x86 PI
5069 futex support.
5070
e23872c8
SP
5071 * csu/libc-start.c (__pthread_initialize_minimal): Change
5072 function arguments.
5073 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5074
b5510883
JM
50752013-02-28 Joseph Myers <joseph@codesourcery.com>
5076
5077 [BZ #13550]
5078 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5079 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5080 <bp-sym.h> and <bp-asm.h>.
5081 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5082 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5083 and <bp-asm.h>.
5084 (memcpy): Don't use BP_SYM.
5085 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5086 <bp-asm.h>.
5087 (__mpn_add_n): Don't use BP_SYM.
5088 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5089 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5090 and <bp-asm.h>.
5091 (__mpn_addmul_1): Don't use BP_SYM.
5092 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5093 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5094 <bp-sym.h>.
5095 (_setjmp): Don't use BP_SYM.
5096 (__novmx_setjmp): Likewise.
5097 (__GI__setjmp): Likewise.
5098 (__vmx_setjmp): Likewise.
5099 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5100 <bp-sym.h>.
5101 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5102 (__bzero): Don't use BP_SYM.
5103 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5104 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5105 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5106 <bp-sym.h> and <bp-asm.h>.
5107 (memcpy): Don't use BP_SYM.
5108 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5109 <bp-sym.h> and <bp-asm.h>.
5110 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5111 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5112 <bp-sym.h> and <bp-asm.h>.
5113 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5114 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5115 <bp-asm.h>.
5116 (__mpn_lshift): Don't use BP_SYM.
5117 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5118 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5119 <bp-asm.h>.
5120 (memset): Don't use BP_SYM.
5121 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5122 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5123 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5124 <bp-asm.h>.
5125 (__mpn_mul_1): Don't use BP_SYM.
5126 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5127 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5128 <bp-sym.h> and <bp-asm.h>.
5129 (memcmp): Don't use BP_SYM.
5130 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5131 <bp-sym.h> and <bp-asm.h>.
5132 (memcpy): Don't use BP_SYM.
5133 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5134 <bp-sym.h> and <bp-asm.h>.
5135 (memset): Don't use BP_SYM.
5136 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5137 <bp-sym.h> and <bp-asm.h>.
5138 (strncmp): Don't use BP_SYM.
5139 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5140 <bp-sym.h> and <bp-asm.h>.
5141 (memcpy): Don't use BP_SYM.
5142 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5143 <bp-sym.h> and <bp-asm.h>.
5144 (memset): Don't use BP_SYM.
5145 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5146 <bp-sym.h> and <bp-asm.h>.
5147 (__memchr): Don't use BP_SYM.
5148 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5149 <bp-sym.h> and <bp-asm.h>.
5150 (memcmp): Don't use BP_SYM.
5151 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5152 <bp-sym.h> and <bp-asm.h>.
5153 (memcpy): Don't use BP_SYM.
5154 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5155 <bp-sym.h> and <bp-asm.h>.
5156 (__mempcpy): Don't use BP_SYM.
5157 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5158 <bp-sym.h> and <bp-asm.h>.
5159 (__memrchr): Don't use BP_SYM.
5160 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5161 <bp-sym.h> and <bp-asm.h>.
5162 (memset): Don't use BP_SYM.
5163 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5164 <bp-sym.h> and <bp-asm.h>.
5165 (__rawmemchr): Don't use BP_SYM.
5166 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5167 <bp-sym.h> and <bp-asm.h>.
5168 (__STRCMP): Don't use BP_SYM.
5169 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5170 <bp-sym.h> and <bp-asm.h>.
5171 (strchr): Don't use BP_SYM.
5172 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5173 <bp-sym.h> and <bp-asm.h>.
5174 (__strchrnul): Don't use BP_SYM.
5175 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5176 <bp-sym.h> and <bp-asm.h>.
5177 (strlen): Don't use BP_SYM.
5178 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5179 <bp-sym.h> and <bp-asm.h>.
5180 (strncmp): Don't use BP_SYM.
5181 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5182 <bp-sym.h> and <bp-asm.h>.
5183 (__strnlen): Don't use BP_SYM.
5184 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5185 <bp-asm.h>.
5186 (__mpn_rshift): Don't use BP_SYM.
5187 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5188 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5189 <bp-sym.h> and <bp-asm.h>.
5190 (__sigsetjmp): Don't use BP_SYM.
5191 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5192 (L(start_addresses)): Don't use BP_SYM.
5193 (_start): Likewise.
5194 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5195 <bp-asm.h>.
5196 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5197 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5198 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5199 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5200 <bp-asm.h>.
5201 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5202 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5203 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5204 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5205 <bp-asm.h>.
5206 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5207 comments.
5208 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5209 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5210 <bp-asm.h>.
5211 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5212 FIXME comments.
5213 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5214 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5215 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5216 <bp-asm.h>.
5217 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5218 comment.
5219 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5220 and <bp-asm.h>.
5221 (strncmp): Don't use BP_SYM,
5222 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5223 <bp-asm.h>.
5224 (__mpn_sub_n): Don't use BP_SYM.
5225 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5226 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5227 and <bp-asm.h>.
5228 (__mpn_submul_1): Don't use BP_SYM.
5229 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5231 <bp-sym.h> and <bp-asm.h>.
5232 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5234 <bp-sym.h> and <bp-asm.h>.
5235 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5236 comment.
5237
8d19fe64
SP
52382013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5239
5240 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5241 Use ZK to minimize writes to Z.
5242 (sub_magnitudes): Simplify code a bit.
5243 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5244 Use ZK to minimize writes to Z.
5245 (sub_magnitudes): Simplify code a bit.
5246
85bd816a
RM
52472013-02-27 Roland McGrath <roland@hack.frob.com>
5248
5249 * csu/gmon-start.c: Add special exception to license text.
5250
b5977bf2
RH
52512013-02-27 Richard Henderson <rth@redhat.com>
5252
5253 * scripts/config.guess: Update from config.git.
5254 * scripts/config.sub: Likewise.
5255
11d6e2f2
SP
52562013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5257
09c14ed2
SP
5258 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5259
a688864e
SP
5260 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5261
6295157a
SP
5262 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5263
b8de2202
SP
5264 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5265
11d6e2f2
SP
5266 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5267
7e80ddb8
RM
52682013-02-26 Roland McGrath <roland@hack.frob.com>
5269
5270 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5271 [$(build-shared = yes].
7e80ddb8 5272
7da6d9ed
SP
52732013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5274
45f05884
SP
5275 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5276 (__mul): Reduce iterations for calculating mantissa.
5277
2236d359
SP
5278 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5279 MPTWO.
5280 (__mpranred): Likewise.
5281
7da6d9ed
SP
5282 [BZ #15160]
5283 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5284 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5285
b7688c42
PE
52862013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5287
5288 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5289 Define __attribute__.
5290
53a5c423
SP
52912013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5292
5293 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5294 unused.
5295 * posix/regex_internal.h (__attribute): Remove.
5296 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5297 (re_string_context_at): Likewise.
5298 (bitset_not): Use __attribute__ and mark function as possibly
5299 unused.
5300 (bitset_merge): Likewise.
5301 (bitset_mask): Likewise.
5302 (re_string_char_size_at): Likewise.
5303 (re_string_wchar_at): Likewise.
5304 (re_string_elem_size_at): Likewise.
5305
60f5a8b5
SP
53062013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5307
2a983a2e
SP
5308 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5309 code.
5310 (cc32): Likewise.
5311
e69804d1
SP
5312 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5313 (__acr): Likewise.
5314 (__cpy): Likewise.
5315 (norm): Likewise.
5316 (denorm): Likewise.
5317 (__dbl_mp): Likewise.
5318 (add_magnitudes): Likewise.
5319 (sub_magnitudes): Likewise.
5320 (__mul): Likewise.
5321 (__inv): Likewise.
5322
2f22a1e8
SP
5323 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5324 style.
5325
8930ddc7
SP
5326 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5327 style.
5328
dc60cb11
SP
5329 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5330 code.
5331
60f5a8b5
SP
5332 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5333 up changes with default code.
5334 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5335 Likewise.
5336
b4d1fd33
AM
53372013-02-24 Allan McRae <allan@archlinux.org>
5338
faf6f8bc
AM
5339 * manual/socket.texi (The Internet Namespace): Order menu items
5340 to match that in the file.
5341
b4d1fd33
AM
5342 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5343 node listing of the info page menu.
5344
2366713d
JM
53452013-02-21 Joseph Myers <joseph@codesourcery.com>
5346
5347 [BZ #13550]
5348 * sysdeps/i386/bp-asm.h: Remove file.
5349 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5350 (PARMS): Do not use macros from bp-asm.h.
5351 (S1): Likewise.
5352 (S2): Likewise.
5353 (SIZE): Likewise.
5354 (__mpn_add_n): Do not use BP_SYM
5355 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5356 "bp-asm.h".
5357 (PARMS): Do not use macros from bp-asm.h.
5358 (S1): Likewise.
5359 (SIZE): Likewise.
5360 (__mpn_addmul_1): Do not use BP_SYM
5361 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5362 "bp-asm.h".
5363 (PARMS): Do not use macros from bp-asm.h.
5364 (SIGMSK): Likewise.
5365 (_setjmp): Likewise. Do not use BP_SYM.
5366 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5367 "bp-asm.h".
5368 (PARMS): Do not use macros from bp-asm.h.
5369 (SIGMSK): Likewise.
5370 (setjmp): Likewise. Do not use BP_SYM.
5371 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5372 "bp-asm.h".
5373 (PARMS): Do not use macros from bp-asm.h.
5374 (__frexp): Do not use BP_SYM.
5375 (frexp): Likewise.
5376 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5377 "bp-asm.h".
5378 (PARMS): Do not use macros from bp-asm.h.
5379 (__frexpf): Do not use BP_SYM.
5380 (frexpf): Likewise.
5381 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5382 "bp-asm.h".
5383 (PARMS): Do not use macros from bp-asm.h.
5384 (__frexpl): Do not use BP_SYM.
5385 (frexpl): Likewise.
5386 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5387 "bp-asm.h".
5388 (PARMS): Do not use macros from bp-asm.h.
5389 (__remquo): Do not use BP_SYM.
5390 (remquo): Likewise.
5391 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5392 "bp-asm.h".
5393 (PARMS): Do not use macros from bp-asm.h.
5394 (__remquof): Do not use BP_SYM.
5395 (remquof): Likewise.
5396 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5397 "bp-asm.h".
5398 (PARMS): Do not use macros from bp-asm.h.
5399 (__remquol): Do not use BP_SYM.
5400 (remquol): Likewise.
5401 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5402 "bp-asm.h".
5403 (PARMS): Do not use macros from bp-asm.h.
5404 (DEST): Likewise.
5405 (SRC): Likewise.
5406 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5407 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5408 "bp-asm.h".
5409 (PARMS): Do not use macros from bp-asm.h.
5410 (strlen): Do not use BP_SYM.
5411 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5412 "bp-asm.h".
5413 (PARMS): Do not use macros from bp-asm.h.
5414 (S1): Likewise.
5415 (S2): Likewise.
5416 (SIZE): Likewise.
5417 (__mpn_add_n): Do not use BP_SYM.
5418 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5419 "bp-asm.h".
5420 (PARMS): Do not use macros from bp-asm.h.
5421 (S1): Likewise.
5422 (SIZE): Likewise.
5423 (__mpn_addmul_1): Do not use BP_SYM.
5424 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5425 weak_alias.
5426 (bzero): Likewise.
5427 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5428 "bp-asm.h".
5429 (PARMS): Do not use macros from bp-asm.h.
5430 (S): Likewise.
5431 (SIZE): Likewise.
5432 (__mpn_lshift): Do not use BP_SYM.
5433 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5434 "bp-asm.h".
5435 (PARMS): Do not use macros from bp-asm.h.
5436 (DEST): Likewise.
5437 (SRC): Likewise.
5438 (LEN): Likewise.
5439 (memcpy): Likewise. Do not use BP_SYM.
5440 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5441 libc_hidden_def and weak_alias.
5442 (mempcpy): Do not use BP_SYM in weak_alias.
5443 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5444 "bp-asm.h".
5445 (PARMS): Do not use macros from bp-asm.h.
5446 (DEST): Likewise.
5447 (LEN): Likewise.
5448 [!BZERO_P] (CHR): Likewise.
5449 (memset): Likewise. Do not use BP_SYM.
5450 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5451 "bp-asm.h".
5452 (PARMS): Do not use macros from bp-asm.h.
5453 (S1): Likewise.
5454 (SIZE): Likewise.
5455 (__mpn_mul_1): Do not use BP_SYM.
5456 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5457 "bp-asm.h".
5458 (PARMS): Do not use macros from bp-asm.h.
5459 (S): Likewise.
5460 (SIZE): Likewise.
5461 (__mpn_rshift): Do not use BP_SYM.
5462 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5463 "bp-asm.h".
5464 (PARMS): Do not use macros from bp-asm.h.
5465 (STR): Likewise.
5466 (CHR): Likewise.
5467 (strchr): Likewise. Do not use BP_SYM.
5468 (index): Do not use BP_SYM in weak_alias.
5469 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5470 "bp-asm.h".
5471 (PARMS): Do not use macros from bp-asm.h.
5472 (DEST): Likewise.
5473 (SRC): Likewise.
5474 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
5475 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5476 "bp-asm.h".
5477 (PARMS): Do not use macros from bp-asm.h.
5478 (strlen): Do not use BP_SYM.
5479 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5480 "bp-asm.h".
5481 (PARMS): Do not use macros from bp-asm.h.
5482 (S1): Likewise.
5483 (S2): Likewise.
5484 (SIZE): Likewise.
5485 (__mpn_sub_n): Do not use BP_SYM.
5486 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5487 "bp-asm.h".
5488 (PARMS): Do not use macros from bp-asm.h.
5489 (S1): Likewise.
5490 (SIZE): Likewise.
5491 (__mpn_submul_1): Do not use BP_SYM.
5492 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5493 "bp-asm.h".
5494 (PARMS): Do not use macros from bp-asm.h.
5495 (S1): Likewise.
5496 (S2): Likewise.
5497 (SIZE): Likewise.
5498 (__mpn_add_n): Do not use BP_SYM.
5499 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5500 weak_alias.
5501 (bzero): Likewise.
5502 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5503 "bp-asm.h".
5504 (PARMS): Do not use macros from bp-asm.h.
5505 (BLK2): Likewise.
5506 (LEN): Likewise.
5507 (memcmp): Do not use BP_SYM.
5508 (bcmp): Do not use BP_SYM in weak_alias.
5509 * sysdeps/i386/i686/memcpy.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 (memcpy): Likewise. Do not use BP_SYM.
5516 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5517 "bp-asm.h".
5518 (PARMS): Do not use macros from bp-asm.h.
5519 (DEST): Likewise.
5520 (SRC): Likewise.
5521 (LEN): Likewise.
5522 (memmove): Likewise. Do not use BP_SYM.
5523 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5524 "bp-asm.h".
5525 (PARMS): Do not use macros from bp-asm.h.
5526 (DEST): Likewise.
5527 (SRC): Likewise.
5528 (LEN): Likewise.
5529 (__mempcpy): Likewise. Do not use BP_SYM.
5530 (mempcpy): Do not use BP_SYM in weak_alias.
5531 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5532 "bp-asm.h".
5533 (PARMS): Do not use macros from bp-asm.h.
5534 (DEST): Likewise.
5535 (LEN): Likewise.
5536 [!BZERO_P] (CHR): Likewise.
5537 (memset): Likewise. Do not use BP_SYM.
5538 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5539 "bp-asm.h".
5540 (PARMS): Do not use macros from bp-asm.h.
5541 (STR2): Likewise.
5542 (strcmp): Do not use BP_SYM.
5543 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5544 "bp-asm.h".
5545 (PARMS): Do not use macros from bp-asm.h.
5546 (STR): Likewise.
5547 (DELIM): Likewise.
5548 [USE_AS_STRTOK_R] (SAVE): Likewise.
5549 (FUNCTION): Likewise. Do not use BP_SYM.
5550 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5551 aliases.
5552 (strtok_r): Likewise.
5553 (__GI___strtok_r): Likewise.
5554 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5555 (PARMS): Do not use macros from bp-asm.h.
5556 (S): Likewise.
5557 (SIZE): Likewise.
5558 (__mpn_lshift): Do not use BP_SYM.
5559 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5560 (PARMS): Do not use macros from bp-asm.h.
5561 (STR): Likewise.
5562 (CHR): Likewise.
5563 (__memchr): Do not use BP_SYM.
5564 (memchr): Do not use BP_SYM in weak_alias.
5565 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5566 (PARMS): Do not use macros from bp-asm.h.
5567 (BLK2): Likewise.
5568 (LEN): Likewise.
5569 (memcmp): Do not use BP_SYM.
5570 (bcmp): Do not use BP_SYM in weak_alias.
5571 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5572 (PARMS): Do not use macros from bp-asm.h.
5573 (S1): Likewise.
5574 (SIZE): Likewise.
5575 (__mpn_mul_1): Do not use BP_SYM.
5576 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5577 "bp-asm.h".
5578 (PARMS): Do not use macros from bp-asm.h.
5579 (STR): Likewise.
5580 (CHR): Likewise.
5581 (__rawmemchr): Do not use BP_SYM.
5582 (rawmemchr): Do not use BP_SYM in weak_alias.
5583 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5584 (PARMS): Do not use macros from bp-asm.h.
5585 (S): Likewise.
5586 (SIZE): Likewise.
5587 (__mpn_rshift): Do not use BP_SYM.
5588 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5589 (PARMS): Do not use macros from bp-asm.h.
5590 (SIGMSK): Likewise.
5591 (__sigsetjmp): Likewise. Do not use BP_SYM.
5592 * sysdeps/i386/start.S: Do not include "bp-sym.h".
5593 (_start): Do not use BP_SYM.
5594 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5595 (PARMS): Do not use macros from bp-asm.h.
5596 (DEST): Likewise.
5597 (SRC): Likewise.
5598 (__stpcpy): Likewise. Do not use BP_SYM.
5599 (stpcpy): Do not use BP_SYM in weak_alias.
5600 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5601 "bp-asm.h".
5602 (PARMS): Do not use macros from bp-asm.h.
5603 (DEST): Likewise.
5604 (SRC): Likewise.
5605 (LEN): Likewise.
5606 (__stpncpy): Likewise. Do not use BP_SYM.
5607 (stpncpy): Do not use BP_SYM in weak_alias.
5608 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5609 (PARMS): Do not use macros from bp-asm.h.
5610 (STR): Likewise.
5611 (CHR): Likewise.
5612 (strchr): Likewise. Do not use BP_SYM.
5613 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5614 "bp-asm.h".
5615 (PARMS): Do not use macros from bp-asm.h.
5616 (STR): Likewise.
5617 (CHR): Likewise.
5618 (__strchrnul): Likewise. Do not use BP_SYM.
5619 (strchrnul): Do not use BP_SYM in weak_alias.
5620 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5621 "bp-asm.h".
5622 (PARMS): Do not use macros from bp-asm.h.
5623 (STOP): Likewise.
5624 (strcspn): Do not use BP_SYM.
5625 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5626 "bp-asm.h".
5627 (PARMS): Do not use macros from bp-asm.h.
5628 (STR): Likewise.
5629 (STOP): Likewise.
5630 (strpbrk): Likewise. Do not use BP_SYM.
5631 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5632 "bp-asm.h".
5633 (PARMS): Do not use macros from bp-asm.h.
5634 (STR): Likewise.
5635 (CHR): Likewise.
5636 (strrchr): Likewise. Do not use BP_SYM.
5637 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5638 (PARMS): Do not use macros from bp-asm.h.
5639 (SKIP): Likewise.
5640 (strspn): Do not use BP_SYM.
5641 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5642 (PARMS): Do not use macros from bp-asm.h.
5643 (STR): Likewise.
5644 (DELIM): Likewise.
5645 (SAVE): Likewise.
5646 (FUNCTION): Likewise. Do not use BP_SYM.
5647 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5648 aliases.
5649 (strtok_r): Likewise.
5650 (__GI___strtok_r): Likewise.
5651 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5652 (PARMS): Do not use macros from bp-asm.h.
5653 (S1): Likewise.
5654 (S2): Likewise.
5655 (SIZE): Likewise.
5656 (__mpn_sub_n): Do not use BP_SYM.
5657 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5658 "bp-asm.h".
5659 (PARMS): Do not use macros from bp-asm.h.
5660 (S1): Likewise.
5661 (SIZE): Likewise.
5662 (__mpn_submul_1): Do not use BP_SYM.
5663 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5664 <bp-sym.h>.
5665 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5666 and <bp-asm.h>.
5667 (PARMS): Do not use macros from bp-asm.h.
5668 (FLAGS): Likewise.
5669 (PTID): Likewise.
5670 (TLS): Likewise.
5671 (CTID): Likewise.
5672 (__clone): Do not use BP_SYM.
5673 (clone): Do not use BP_SYM in weak_alias.
5674 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5675 and <bp-asm.h>.
5676 (PARMS): Do not use macros from bp-asm.h.
5677 (LEN): Likewise.
5678 (__mmap64): Do not use BP_SYM.
5679 (mmap64): Do not use BP_SYM in weak_alias.
5680 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5681 <bp-sym.h> and <bp-asm.h>.
5682 (PARMS): Do not use macros from bp-asm.h.
5683 (__posix_fadvise64_l64): Do not use BP_SYM.
5684 * sysdeps/unix/sysv/linux/i386/semtimedop.S
5685 (PARMS): Do not use macros from bp-asm.h.
5686 (NSOPS): Likewise.
5687 (semtimedop): Do not use BP_SYM.
5688 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5689 and <bp-asm.h>.
5690
582a3cff
AM
56912013-02-21 Allan McRae <allan@archlinux.org>
5692
5693 * manual/message.texi (Charset conversion in gettext):
5694 Move @end statement to beginning of line.
5695
bab8a695
SP
56962013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5697
80945231
SP
5698 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5699 static.
5700 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5701 Likewise.
5702
bab8a695
SP
5703 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5704 (denorm): Likewise.
5705 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5706 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5707
e21d7aa7
AK
57082013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5709
5710 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5711 tail-call to the resolved function if pltexit isn't needed.
5712
4c7a4263
SP
57132013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5714
5715 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5716 or Y being zero as being unlikely.
5717 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5718 Likewise.
5719
41f49342
CD
57202013-02-20 Carlos O'Donell <carlos@redhat.com>
5721
5722 * manual/nss.texi (System Databases and Name Service Switch):
5723 Remove frobnicate @pxref.
5724
50022a93
TS
57252013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5726
5727 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5728 __attribute__ ((unused)) to __attribute__ ((__unused__)).
5729
08cbd996
PM
57302013-02-20 Petr Machata <pmachata@redhat.com>
5731
5732 * elf/elf.h (R_ARM_TARGET1): New macro.
5733 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5734 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5735 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5736 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5737 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5738 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5739 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5740 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5741 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5742 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5743 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5744 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5745 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
5746 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
5747 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
5748 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
5749 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
5750 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
5751 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
5752 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
5753 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
5754 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
5755 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
5756 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
5757 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
5758 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
5759 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
5760 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
5761 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
5762 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
5763 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
5764 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
5765 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
5766 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
5767 (R_ARM_THM_GOT_BREL12): Likewise.
5768 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
5769 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
5770 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
5771 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
5772 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
5773 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
5774 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
5775 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
5776 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
5777
c7b275d6
TS
57782013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5779
5780 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5781 __attribute_used__ to __attribute__ ((unused)).
5782
20cd7fb3
SP
57832013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5784
5785 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
5786 powerpc mpa.c.
5787 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
5788 comment formatting.
5789 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
5790
92945b52
JM
57912013-02-19 Joseph Myers <joseph@codesourcery.com>
5792
5793 [BZ #13550]
5794 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
5795 Remove macro.
5796 (ENTER): Remove both macro definitions.
5797 (LEAVE): Likewise.
5798 (CHECK_BOUNDS_LOW): Likewise.
5799 (CHECK_BOUNDS_HIGH): Likewise.
5800 (CHECK_BOUNDS_BOTH): Likewise.
5801 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
5802 (RETURN_BOUNDED_POINTER): Likewise.
5803 (RETURN_NULL_BOUNDED_POINTER): Likewise.
5804 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
5805 (POP_ERRNO_LOCATION_RETURN): Likewise.
5806 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
5807 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5808 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
5809 macros.
5810 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5811 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
5812 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
5813 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
5814 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
5815 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
5816 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
5817 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
5818 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
5819 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
5820 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
5821 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
5822 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5823 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
5824 removed macros.
5825 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5826 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
5827 macros.
5828 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5829 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
5830 * sysdeps/i386/i586/memset.S (memset): Likewise.
5831 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
5832 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5833 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
5834 macros.
5835 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5836 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
5837 Change uses of L(2) to L(out).
5838 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
5839 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
5840 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
5841 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5842 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
5843 removed macros.
5844 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5845 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
5846 macros.
5847 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5848 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
5849 (RETURN): Do not use macro LEAVE.
5850 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
5851 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
5852 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
5853 * sysdeps/i386/i686/memset.S (memset): Likewise.
5854 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
5855 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
5856 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5857 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
5858 Likewise.
5859 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5860 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
5861 L(1_2) and L(1_3) into L(1).
5862 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5863 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
5864 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5865 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
5866 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5867 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
5868 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
5869 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5870 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
5871 macros.
5872 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
5873 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5874 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
5875 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
5876 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
5877 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5878 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
5879 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
5880 * sysdeps/i386/strcspn.S (strcspn): Likewise.
5881 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
5882 * sysdeps/i386/strrchr.S (strrchr): Likewise.
5883 * sysdeps/i386/strspn.S (strspn): Likewise.
5884 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
5885 conditional code.
5886 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5887 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
5888 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5889 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
5890 L(1_3) into L(1_1).
5891 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
5892 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5893 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
5894 macros.
5895 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5896
2389741a
JJ
58972013-02-19 Jakub Jelinek <jakub@redhat.com>
5898
5899 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
5900 macro.
5901
2016b3cd
SP
59022013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5903
e4f22324
SP
5904 * math/atest-exp.c (exp_mpn): Remove ROUND.
5905 * math/atest-exp2.c (exp_mpn): Likewise.
5906 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
5907
2016b3cd
SP
5908 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
5909 * stdlib/tst-tls-atexit-lib.c: Likewise.
5910 * stdlib/tst-tls-atexit.c: Likewise.
5911
4be9b544
MF
59122013-02-18 Mike Frysinger <vapier@gentoo.org>
5913
5914 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
5915 and __attribute_alloc_size__.
5916
2f62b9ee
MF
59172013-02-18 Mike Frysinger <vapier@gentoo.org>
5918
5919 * include/programs/xmalloc.h: Change __attribute_alloc_size to
5920 __attribute_alloc_size__.
5921 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
5922 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
5923
6ff444c4
MF
59242013-02-18 Mike Frysinger <vapier@gentoo.org>
5925
5926 * include/programs/xmalloc.h: New file.
5927 * catgets/gencat.c: Include it.
5928 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
5929 * elf/pldd.c: Likewise.
5930 * iconv/iconv_charmap.c: Likewise.
5931 * iconv/iconvconfig.c: Likewise.
5932 * iconv/strtab.c: Likewise.
5933 * locale/programs/locale.c: Likewise.
5934 * locale/programs/localedef.h: Likewise.
5935 * locale/programs/simple-hash.c: Likewise.
5936 * nscd/nscd.h: Likewise.
5937 * nss/makedb.c: Likewise.
5938 * sysdeps/generic/ldconfig.h: Likewise.
5939
be179c8a
SP
59402013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5941
ba384f6e
SP
5942 * Versions.def: Add GLIBC_2.18.
5943 * include/link.h (struct link_map): New member l_tls_dtor_count.
5944 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
5945 (__call_tls_dtors): Likewise.
5946 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
5947 __cxa_thread_atexit_impl.
5948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5949 Likewise.
5950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5951 Likewise.
5952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5953 Likewise.
5954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5955 Likewise.
5956 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
5958 Likewise.
5959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
5960 Likewise.
5961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5963 Likewise.
5964 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
5965 (tests): Add test case tst-tls-atexit.
5966 (modules-names): Add shared library for tst-tls-atexit.
5967 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
5968 (GLIBC_PRIVATE): Add __call_tls_dtors.
5969 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
5970 for libstdc++.
5971 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
5972 * stdlib/tst-tls-atexit.c: New test case.
5973 * stdlib/tst-tls-atexit-lib.c: New test case.
5974
ffaa74cf 5975 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 5976
be179c8a
SP
5977 * elf/Versions (ld): Add _dl_find_dso_for_object.
5978 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
5979 * elf/dl-open.c (_dl_find_dso_for_object): New function.
5980 (dl_open_worker): Use _dl_find_dso_for_object.
5981 * elf/dl-sym.c (do_sym): Likewise.
5982 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
5983
f78b5caa
AK
59842013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5985
5986 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
5987 Syntactic changes only.
5988 (_dl_runtime_profile): Do a tail-call to the resolved function.
5989
29691210
JM
59902013-02-17 Joseph Myers <joseph@codesourcery.com>
5991
5992 [BZ #13550]
5993 * sysdeps/x86_64/bp-asm.h: Remove file.
5994 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
5995 <bp-sym.h> and <bp-asm.h>.
5996 (__clone): Do not use BP_SYM.
5997 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
5998 <bp-sym.h> and <bp-asm.h>.
5999 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6000 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6001 "bp-asm.h".
6002 (_setjmp): Do not use BP_SYM.
6003 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6004 "bp-asm.h".
6005 (setjmp): Do not use BP_SYM.
6006 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6007 libc_hidden_def.
6008 (mempcpy): Do not use BP_SYM in weak_alias.
6009 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6010 "bp-asm.h".
6011 (strchr): Do not use BP_SYM.
6012 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6013 "bp-asm.h".
6014 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6015 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6016 (_start): Do not use BP_SYM.
6017 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6018 "bp-asm.h".
6019 (strcat): Do not use BP_SYM.
6020 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6021 "bp-asm.h".
6022 (STRCMP): Do not use BP_SYM.
6023 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6024 "bp-asm.h".
6025 (STRCPY): Do not use BP_SYM.
6026 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6027 "bp-asm.h".
6028 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6029 "bp-asm.h".
6030 (FUNCTION): Do not use BP_SYM.
6031 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6032 weak_alias.
6033 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6034
f238fd19
AJ
60352013-02-17 Andreas Jaeger <aj@suse.de>
6036
6037 * time/Versions: Sort entries.
6038 * string/Versions: Likewise.
6039 * resolv/Versions: Likewise.
6040 * posix/Versions: Likewise.
6041 * iconv/Versions: Likewise.
6042 * elf/Versions: Likewise.
6043 * wcsmbs/Versions: Likewise.
6044
bd07f23c 60452013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6046
22af19f9
SP
6047 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6048 loop termination condition.
6049
4709fe76
SP
6050 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6051 variable to calculate EZ.
6052 (__sqr): Likewise.
2d0e0f29
SP
6053
6054 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6055 the lower precision input.
6056
daaa7713
JM
60572013-02-15 Joseph Myers <joseph@codesourcery.com>
6058
6059 [BZ #13550]
6060 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6061 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6062 (run-via-rtld-prefix): Do not handle %-bp tests.
6063 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6064 (all-object-suffixes): Remove .ob.
6065 (bppfx): Remove variable.
6066 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6067 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6068 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6069 [$(build-bounded) = yes] (libtype.ob): Likewise.
6070 * Makerules (elide-routines.ob): Remove variable.
6071 (do-tests-clean): Do not handle *-bp.out.
6072 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6073 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6074 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6075 (tests): Do not include $(tests-bp.out).
6076 (xtests): Do not include $(xtests-bp.out).
6077 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6078 [$(build-bounded) = yes] ($(addprefix
6079 $(objpfx),$(binaries-bounded))): Remove rule.
6080 ($(objpfx)%-bp.out): Remove rule.
6081 * config.make.in (build-bounded): Remove variable.
6082 * crypt/Makefile [$(build-bounded) = yes]
6083 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6084 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6085 append to variable.
6086 [$(build-bounded) = yes] (install-lib): Likewise.
6087 [$(build-bounded) = yes] (generated): Likewise.
6088 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6089 Remove rule.
6090 * intl/Makefile [$(build-bounded) = yes]
6091 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6092 * math/Makefile [$(build-bounded) = yes]
6093 ($(tests:%=$(objpfx)%-bp): Likewise.
6094 * misc/Makefile [$(build-bounded) = yes]
6095 ($(objpfx)tst-tsearch-bp): Likewise.
6096 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6097 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6098 Remove dependency.
6099 * string/Makefile (o-objects.ob): Remove variable.
6100 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6101 (CFLAGS-.ob): Remove variable.
6102 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6103 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6104 both definitions of variable.
6105 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6106 (ASFLAGS-.ob): Remove variable.
6107
e97ed6dd
JM
61082013-02-14 Joseph Myers <joseph@codesourcery.com>
6109
2bdd4ca6
JM
6110 [BZ #13550]
6111 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6112 Remove __BOUNDED_POINTERS__ from condition.
6113 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6114 * string/bits/string2.h [!__NO_STRING_INLINES &&
6115 !__BOUNDED_POINTERS__]: Likewise.
6116 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6117 Likewise.
6118 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6119 Remove conditional code.
6120 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6121 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6122 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6123 condition.
6124
e97ed6dd
JM
6125 [BZ #13550]
6126 * csu/libc-start.c: Do not include <bp-sym.h>.
6127 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6128 * elf/dl-open.c: Do not include <bp-sym.h>.
6129 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6130 * math/fegetenv.c: Do not include <bp-sym.h>.
6131 (fegetenv): Do not use BP_SYM in versioned symbols.
6132 * nptl/sysdeps/pthread/bits/libc-lockP.h
6133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6134 <bp-sym.h>.
6135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6136 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6138 (__pthread_mutex_destroy): Likewise.
6139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6140 (__pthread_mutex_lock): Likewise.
6141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6142 (__pthread_mutex_trylock): Likewise.
6143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6144 (__pthread_mutex_unlock): Likewise.
6145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6146 (__pthread_mutexattr_init): Likewise.
6147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6148 (__pthread_mutexattr_destroy): Likewise.
6149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6150 (__pthread_mutexattr_settype): Likewise.
6151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6152 (__pthread_rwlock_init): Likewise.
6153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6154 (__pthread_rwlock_destroy): Likewise.
6155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6156 (__pthread_rwlock_rdlock): Likewise.
6157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6158 (__pthread_rwlock_tryrdlock): Likewise.
6159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6160 (__pthread_rwlock_wrlock): Likewise.
6161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6162 (__pthread_rwlock_trywrlock): Likewise.
6163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6164 (__pthread_rwlock_unlock): Likewise.
6165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6166 (__pthread_key_create): Likewise.
6167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6168 (__pthread_setspecific): Likewise.
6169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6170 (__pthread_getspecific): Likewise.
6171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6172 Likewise.
6173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6174 (_pthread_cleanup_push_defer): Likewise.
6175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6176 (_pthread_cleanup_pop_restore): Likewise.
6177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6178 (pthread_setcancelstate): Likewise.
6179 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6180 <bp-sym.h>.
6181 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6182 (memchr): Do not use BP_SYM in weak_alias.
6183 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6184 (fegetenv): Do not use BP_SYM in versioned symbols.
6185 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6186 (fesetenv): Do not use BP_SYM in versioned symbols.
6187 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6188 (feupdateenv): Do not use BP_SYM in versioned symbols.
6189 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6190 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6191 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6192 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6193 (open64): Do not use BP_SYM in weak_alias.
6194 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6195 (fegetenv): Do not use BP_SYM in versioned symbols.
6196 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6197 (fesetenv): Do not use BP_SYM in versioned symbols.
6198 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6199 (feupdateenv): Do not use BP_SYM in versioned symbols.
6200 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6201 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6202 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6203 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6204 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6205 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6206 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6207 <bp-sym.h>.
6208 (__libc_start_main): Do not use BP_SYM.
6209
d6752ccd
SP
62102013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6211
cb57ce60
SP
6212 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6213 redundant return line.
6214 (norm): Likewise.
6215 (denorm): Likewise.
6216 (dbl_mp): Likewise.
6217 (sub_magnitudes): Likewise.
6218 (__add): Likewise.
6219 (__sub): Likewise.
6220 (__mul): Likewise.
6221 (__inv): Likewise.
6222 (__dvd): Likewise.
6223 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6224 (norm): Likewise.
6225 (denorm): Likewise.
6226 (dbl_mp): Likewise.
6227 (sub_magnitudes): Likewise.
6228 (__add): Likewise.
6229 (__sub): Likewise.
6230 (__mul): Likewise.
6231 (__inv): Likewise.
6232 (__dvd): Likewise.
6233
f414520d
SP
6234 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6235 instead of __mul.
6236 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6237 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6238 (cc32): Likewise.
6239
d6752ccd
SP
6240 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6241 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6242 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6243 of __mul for squares.
6244 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6245 function
6246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6247 Likewise.
6248 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6249 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6250
70d9946a
JM
62512013-02-13 Joseph Myers <joseph@codesourcery.com>
6252
6253 [BZ #13550]
6254 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6255 code.
6256 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6257 prototype or function definition. Rename ubp_* variables and
6258 parameters. Remove argv definitions conditional on
6259 [__BOUNDED_POINTERS__].
6260 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6261 * elf/dl-runtime.c (_dl_fixup): Likewise.
6262 * include/set-hooks.h (RUN_HOOK): Likewise.
6263 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6264 definition.
6265 * string/strcpy.c (strcpy): Do not use __unbounded.
6266 * sysdeps/generic/frame.h (struct layout): Likewise.
6267 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6268 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6269 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6270 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6271 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6272 (__backtrace): Likewise.
6273 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6274 use __ptrvalue.
6275 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6276 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6277 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6278 Likewise.
6279 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6280 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6281 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6282 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6283 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6284 Do not use __unbounded.
6285 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6286 Rename __unboundedrlimits parameter to rlimits in prototype.
6287 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6288 Do not use __unbounded.
6289 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6290 not use __ptrvalue.
6291 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6292 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6293 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6294 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6295 __ptrvalue or __unbounded.
6296 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6297 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6298 use __unbounded.
6299 (__new_msgctl): Do not use __ptrvalue.
6300 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6301 __unbounded.
6302 (__libc_msgrcv): Do not use __ptrvalue.
6303 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6304 startup_info): Do not use __unbounded.
6305 (__libc_start_main): Likewise. Rename ubp_* variables and
6306 parameters. Remove argv definitions conditional on
6307 [__BOUNDED_POINTERS__].
6308 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6309 __ptrvalue.
6310 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6311 use __unbounded.
6312 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6313 or __ptrvalue.
6314 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6315 use __unbounded.
6316 (__new_shmctl): Do not use __ptrvalue.
6317 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6318 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6319 Likewise.
6320 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6321 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6322 (__libc_sigaction): Likewise.
6323 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6324 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6325 Likewise.
6326 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6327
cc7834d6
OB
63282013-02-13 Ondřej Bílka <neleai@seznam.cz>
6329
ffb1ec7b 6330 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
6331
6332 * string/mempcpy.c: Implement by calling memcpy.
6333
bdf02814
SP
63342013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6335
c2af38aa
SP
6336 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6337
4e92d59e
SP
6338 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6339 evaluation.
6340
909279a5
SP
6341 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6342 values in the mantissa.
6343
bdf02814
SP
6344 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6345 minimize writes to Z.
6346 (sub_magnitudes): Simplify code a bit.
6347
cd525923
RM
63482013-02-12 Roland McGrath <roland@hack.frob.com>
6349
6350 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6351 from the message. The linker prefixes all warnings with that already.
6352
7e2f0d2d
AS
63532013-02-12 Andreas Schwab <schwab@suse.de>
6354
a445af0b
AS
6355 [BZ #15078]
6356 * posix/regexec.c (extend_buffers): Add parameter min_len.
6357 (check_matching): Pass minimum needed length.
6358 (clean_state_log_if_needed): Likewise.
6359 (get_subexp): Likewise.
6360 * posix/Makefile (tests): Add bug-regex34.
6361 (bug-regex34-ENV): Define.
6362 * posix/bug-regex34.c: New file.
6363
7e2f0d2d
AS
6364 [BZ #11561]
6365 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6366 elements compare against the byte sequence of it, not its name.
6367 * posix/Makefile (tests): Add bug-regex35.
6368 (bug-regex35-ENV): Define.
6369 * posix/bug-regex35.c: New file.
6370
a175b684
TV
63712013-02-11 Tom de Vries <tom@codesourcery.com>
6372
6373 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6374 comment.
6375 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6376 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6377 (CHECK_EOL): Add undef.
6378
310998fe 63792013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
6380
6381 * bits/stdlib-bsearch.h: New file.
6382 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 6383 * stdlib/stdlib.h: Likewise.
41eda41d 6384
8ded91fb
RM
63852013-02-11 Roland McGrath <roland@hack.frob.com>
6386
6387 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6388 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6389 declaration.
6390 * manual/search.texi (Array Search Function): Add missing const in
6391 lfind prototype.
6392 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6393 declaration to use rlim_t.
6394 (Basic Scheduling Functions): Remove erroneous const from
6395 sched_getparam prototype. Remove erroneous * from
6396 sched_get_priority_max and sched_get_priority_min prototypes.
6397 (Resource Usage): Fix summary @comment on vtimes to refer to
6398 sys/vtimes.h rather than vtimes.h.
6399 Add missing *s in vtimes prototype.
6400 (Limits on Resources): Fix ulimit prototype to return long int.
6401 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6402 prototypes to use long int rather than double.
6403 (BSD Random): Fix initstate and setstate to use char *, not void *.
6404 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6405 prototype to make second argument 'struct aiocb64 *const[]'.
6406 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6407 (Status of AIO Operations): Remove erroneous const in aio_return and
6408 aio_return64 prototypes.
6409 (Synchronizing I/O): Fix sync prototype to return void.
6410 * manual/startup.texi (Suboptions): Remove an erroneous const in
6411 getsubopt prototype.
6412 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6413 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6414 use size_t rather than int.
6415 (Scanning All Users): Likewise for getpwent_r.
6416 (Setting Groups): Add missing const to setgroups prototype.
6417 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6418 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6419 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6420 'const void *' rather than 'const char *'.
6421 (Host Address Functions): Likewise for inet_ntop.
6422 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6423 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6424 ssize_t for return value.
6425 (Sending Data): Likewise for send, sendto, sendmsg.
6426 (Socket Option Functions): Add a missing const in setsockopt prototype.
6427 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6428 use wchar_t for the argument.
6429 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6430 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6431 take no arguments.
6432 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6433 double/float/long double for second argument.
6434 Fix return types of significand, significandf, significandl.
6435 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6436 argument in fchmod prototype.
6437 (File Owner): Use uid_t and gid_t in fchown prototype.
6438 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6439 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6440 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6441 use 'const struct dirent **' as argument types to CMP function pointer
6442 argument.
6443 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6444 (File Times): Fix summary magic @comment for struct utimbuf and utime
6445 to refer to utime.h, not time.h.
6446 * manual/string.texi (Argz Functions): Add missing const in
6447 argz_extract and argz_next prototypes.
6448 (Finding Tokens in a String): Likewise for basename.
6449 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6450 (Copying and Concatenation): Fix typo in wmemmove prototype.
6451 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6452 (Signal Stack): Remove erroneous const in sigstack prototype.
6453 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6454 prototype.
6455 (Simple Calendar Time): Likewise for stime.
6456 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6457 prototype.
6458 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6459 say sys/sysctl.h instead.
6460 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6461 and vsyslog prototypes.
6462
fe77fe6d
TV
64632013-02-11 Tom de Vries <tom@codesourcery.com>
6464
6465 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6466 Remove.
6467
3a09b620
RM
64682013-02-11 Roland McGrath <roland@hack.frob.com>
6469
6470 * misc/sys/mman.h: Fix typo in mremap comment.
6471
550a0b89
RM
64722013-02-08 Roland McGrath <roland@hack.frob.com>
6473
6474 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6475 the '\0' terminator.
6476
a2da1673
JM
64772013-02-08 Joseph Myers <joseph@codesourcery.com>
6478
6479 [BZ #13550]
6480 * debug/segfault.c: Don't include <bp-checks.h>.
6481 * sysdeps/generic/bp-checks.h: Remove file.
6482 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6483 (__GETDENTS): Don't use CHECK_N.
6484 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6485 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6486 (__getgroups): Don't use CHECK_N.
6487 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6488 (setgroups): Don't use CHECK_N.
6489 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6490 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6491 (__libc_msgrcv): Don't use CHECK_N.
6492 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6493 (__libc_msgsnd): Don't use CHECK_N.
6494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6495 <bp-checks.h>.
6496 (__libc_pread): Don't use CHECK_N.
6497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6498 include <bp-checks.h>.
6499 (__libc_pread64): Don't use CHECK_N.
6500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6501 include <bp-checks.h>.
6502 (__libc_pwrite): Don't use CHECK_N.
6503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6504 include <bp-checks.h>.
6505 (__libc_pwrite64): Don't use CHECK_N.
6506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6507 <bp-checks.h>.
6508 (__libc_pread): Don't use CHECK_N.
6509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6510 include <bp-checks.h>.
6511 (__libc_pread64): Don't use CHECK_N.
6512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6513 include <bp-checks.h>.
6514 (__libc_pwrite): Don't use CHECK_N.
6515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6516 include <bp-checks.h>.
6517 (__libc_pwrite64): Don't use CHECK_N.
6518 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6519 (do_pread): Don't use CHECK_N.
6520 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6521 (do_pread64): Don't use CHECK_N.
6522 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6523 (do_pwrite): Don't use CHECK_N.
6524 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6525 (do_pwrite64): Don't use CHECK_N.
6526 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6527 (__libc_readv): Don't use CHECK_N.
6528 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6529 (semop): Don't use CHECK_N.
6530 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6531 <bp-checks.h>.
6532 (semtimedop): Don't use CHECK_N.
6533 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6534 (__libc_pread): Don't use CHECK_N.
6535 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6536 <bp-checks.h>.
6537 (__libc_pread64): Don't use CHECK_N.
6538 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6539 <bp-checks.h>.
6540 (__libc_pwrite): Don't use CHECK_N.
6541 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6542 <bp-checks.h>.
6543 (__libc_pwrite64): Don't use CHECK_N.
6544 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6545 <bp-checks.h>.
6546 (__libc_msgrcv): Don't use CHECK_N.
6547 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6548 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
6549 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6550 (__libc_writev): Don't use CHECK_N.
6551
b84660a8
RM
65522013-02-08 Roland McGrath <roland@hack.frob.com>
6553
7f3e75f8
RM
6554 * string/strcpy.c: Removed unused variable.
6555
b84660a8
RM
6556 * Makeconfig (+sysdep-includes): Define with := rather than =.
6557 Use an existing include/ subdir of each sysdeps dir before it.
6558
471514d3
CD
65592013-02-08 Carlos O'Donell <carlos@redhat.com>
6560
6561 * nscd/connection.c (register_traced_file): Comment function.
6562 [HAVE_INOTIFY] (union __inev): Define.
6563 [HAVE_INOTIFY] (inotify_check_files): New function.
6564 [HAVE_INOTIFY] (clear_db_cache): Likewise.
6565 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6566 clear_db_cache.
6567 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6568
b2d3c3be
CD
65692013-02-08 Carlos O'Donell <carlos@redhat.com>
6570
6571 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6572 loaded if not already and that a failure is permanent.
6573
b39949d2
CD
65742013-02-08 Carlos O'Donell <carlos@redhat.com>
6575
ddacd1db 6576 [BZ #15006]
b39949d2
CD
6577 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6578 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6579
b2c9eff4
JM
65802013-02-08 Joseph Myers <joseph@codesourcery.com>
6581
f3aae3f3
JM
6582 [BZ #13550]
6583 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6584 (CHECK_1_NULL_OK): Likewise.
6585 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6586 (__fxstat): Do not use CHECK_1.
6587 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6588 <bp-checks.h>.
6589 (___fxstat64): Do not use CHECK_1.
6590 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6591 <bp-checks.h>.
6592 (__fxstatat): Do not use CHECK_1.
6593 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6594 <bp-checks.h>.
6595 (__fxstatat64): Do not use CHECK_1.
6596 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6597 <bp-checks.h>.
6598 (__fxstat): Do not use CHECK_1.
6599 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6600 <bp-checks.h>.
6601 (__fxstatat): Do not use CHECK_1.
6602 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6603 <bp-checks.h>.
6604 (__getresgid): Do not use CHECK_1.
6605 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6606 <bp-checks.h>.
6607 (__getresuid): Do not use CHECK_1.
6608 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6609 <bp-checks.h>.
6610 (__lxstat): Do not use CHECK_1.
6611 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6612 <bp-checks.h>.
6613 (__old_msgctl): Do not use CHECK_1.
6614 (__new_msgctl): Likewise.
6615 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6616 <bp-checks.h>.
6617 (__new_setrlimit): Do not use CHECK_1.
6618 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6619 <bp-checks.h>.
6620 (__old_shmctl): Do not use CHECK_1.
6621 (__new_shmctl): Likewise.
6622 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6623 <bp-checks.h>.
6624 (__xstat): Do not use CHECK_1.
6625 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6626 (__lxstat): Do not use CHECK_1.
6627 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6628 <bp-checks.h>.
6629 (___lxstat64): Do not use CHECK_1.
6630 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6631 (__old_msgctl): Do not use CHECK_1.
6632 (__new_msgctl): Likewise.
6633 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6634 <bp-checks.h>.
6635 (__gettimeofday): Do not use CHECK_1.
6636 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6637 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6638 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6639 <bp-checks.h>.
6640 (__gettimeofday): Do not use CHECK_1.
6641 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6642 (__old_shmctl): Do not use CHECK_1_NULL_OK.
6643 (__new_shmctl): Do not use CHECK_1.
6644 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6645 <bp-checks.h>.
6646 (do_sigtimedwait): Do not use CHECK_1.
6647 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6648 <bp-checks.h>.
6649 (do_sigwaitinfo): Do not use CHECK_1.
6650 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6651 <bp-checks.h>.
6652 (msgctl): Do not use CHECK_1.
6653 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6654 <bp-checks.h>.
6655 (shmctl): Do not use CHECK_1.
6656 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6657 (ustat): Do not use CHECK_1.
6658 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6659 <bp-checks.h>.
6660 (__fxstat): Do not use CHECK_1.
6661 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6662 <bp-checks.h>.
6663 (__fxstatat): Do not use CHECK_1.
6664 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6665 <bp-checks.h>.
6666 (__lxstat): Do not use CHECK_1.
6667 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6668 <bp-checks.h>.
6669 (__xstat): Do not use CHECK_1.
6670 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6671 (__xstat): Do not use CHECK_1.
6672 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6673 (___xstat64): Do not use CHECK_1.
6674
b2c9eff4
JM
6675 [BZ #13550]
6676 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6677 definitions.
6678 (CHECK_BOUNDS_HIGH): Likewise.
6679 * string/strcpy.c: Do not include <bp-checks.h>.
6680 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6681
f1d70dad
RM
66822013-02-07 Roland McGrath <roland@hack.frob.com>
6683
6684 * nscd/nscd-client.h (__nscd_drop_map_ref):
6685 Add __attribute__ ((unused)).
6686 * nis/nss-nisplus.h (niserr2nss): Likewise.
6687
6688 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6689 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6690
6691 * csu/libc-tls.c (init_static_tls, init_slotinfo):
6692 Remove inline keyword.
6693 * include/rounding-mode.h (round_away): Likewise.
6694 * libio/wfileops.c (adjust_wide_data): Likewise.
6695 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6696 (__m128i_strloadu_tolower): Likewise.
6697 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6698 (__m128i_strloadu_tolower): Likewise.
6699 * time/mktime.c (ydhms_diff): Likewise.
6700 * locale/elem-hash.h (elem_hash): Likewise.
6701 * locale/setlocale.c (setdata): Likewise.
6702 * posix/regex_internal.h (re_string_char_size_at): Likewise.
6703 (re_string_wchar_at): Likewise.
6704 (bitset_not, bitset_merge, bitset_mask): Likewise.
6705 [!(__GNUC__ > 3)] (inline): Remove macro.
6706 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6707 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6708 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6709 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6710 * string/memcmp.c (memcmp_bytes): Likewise.
6711 * locale/programs/locarchive.c (compute_hashval): Likewise.
6712 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6713 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6714 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6715 * nss/getent.c (print_rpc, print_protocols): Likewise.
6716 (print_passwd, print_group, print_aliases): Likewise.
6717 * nis/nss-nisplus.h (niserr2nss): Likewise.
6718 * nscd/connections.c (restart_p): Likewise.
6719 Change return type to bool.
6720
eab55bfb
RM
67212013-02-05 Roland McGrath <roland@hack.frob.com>
6722
7bd642f5
RM
6723 * Makeconfig (all-Depend-files): Add existing
6724 $(sorted-subdirs:=/Depend) files.
6725 (all-subdirs): Remove nss.
6726 * sysdeps/unix/inet/Subdirs: Add it here instead.
6727 * hesiod/Depend: New file.
6728
573c29b2
RM
6729 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6730 instead of calling alloca.
6731
b2e25af0
RM
6732 * io/lseek.c (__lseek): Rename to __libc_lseek.
6733 Define __lseek as an alias.
6734
eab55bfb
RM
6735 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6736
9a0d1941
CD
67372013-02-04 Carlos O'Donell <carlos@redhat.com>
6738
6739 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6740 else clause and remove check for non-standard endianness.
6741
b83bbec4
DM
67422013-02-04 David S. Miller <davem@davemloft.net>
6743
6744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6745
6277fdab
JM
67462013-02-04 Joseph Myers <joseph@codesourcery.com>
6747
6748 [BZ #13550]
6749 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
6750 (__ubp_memchr): Remove prototype.
6751 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
6752 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6753 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
6754 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6755 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
6756 Remove alias.
6757 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
6758 (__ubp_memchr): Likewise.
6759 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
6760 (__ubp_memchr): Likewise.
6761 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
6762 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
6763 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
6764 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
6765 CHECK_STRING.
6766 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6767 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
6768 (__getcwd): Do not use CHECK_STRING.
6769 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6770 <bp-checks.h>.
6771 (__real_chown): Do not use CHECK_STRING.
6772 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
6773 <bp-checks.h>.
6774 (fchownat): Do not use CHECK_STRING.
6775 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
6776 CHECK_STRING.
6777 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6778 <bp-checks.h>.
6779 (__lchown): Do not use CHECK_STRING.
6780 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6781 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6782 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6783 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6785 include <bp-checks.h>.
6786 (truncate64): Do not use CHECK_STRING.
6787 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6788 <bp-checks.h>.
6789 (__real_chown): Do not use CHECK_STRING.
6790 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6791 <bp-checks.h>.
6792 (__lchown): Do not use CHECK_STRING.
6793 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6794 <bp-checks.h>.
6795 (__chown): Do not use CHECK_STRING.
6796 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
6797 <bp-checks.h>.
6798 (truncate64): Do not use CHECK_STRING.
6799 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
6800 Likewise.
6801 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
6802 (__xmknod): Do not use CHECK_STRING.
6803 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6804 <bp-checks.h>.
6805 (__xmknodat): Do not use CHECK_STRING.
6806 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6807 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6808
903ae060
AS
68092013-02-04 Andreas Schwab <schwab@suse.de>
6810
6811 [BZ #14142]
6812 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
6813 * include/netdb.h: Likewise for h_errno.
6814 * elf/tst-stackguard1.c: Include <tls.h>.
6815
542f9466
JK
68162013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6817
6818 * elf/link.h (struct link_map): Extend the l_addr comment.
6819 * include/link.h (struct link_map): Likewise.
6820
e782a927
JM
68212013-02-01 Joseph Myers <joseph@codesourcery.com>
6822
6823 [BZ #13550]
6824 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
6825 (BOUNDED_1): Remove macro.
6826 * debug/backtrace.c: Don't include <bp-checks.h>.
6827 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
6828 (__backtrace): Likewise.
6829 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
6830 <bp-checks.h>.
6831 (__backtrace): Don't use BOUNDED_1.
6832 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
6833 <bp-checks.h>.
6834 (__backtrace): Don't use BOUNDED_1.
6835 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
6836 (__backtrace): Don't use BOUNDED_1.
6837 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
6838 (shmat): Don't use BOUNDED_N.
6839
8cf28c5e
JM
68402013-01-31 Joseph Myers <joseph@codesourcery.com>
6841
3a7ac8a0
JM
6842 [BZ #13550]
6843 * sysdeps/generic/bp-start.h: Remove file.
6844 * csu/libc-start.c: Don't include <bp-start.h>.
6845 (LIBC_START_MAIN): Set up __environ directly instead of using
6846 INIT_ARGV_and_ENVIRON.
6847 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
6848 <bp-start.h>.
6849
f3499f95
JM
6850 [BZ #13550]
6851 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
6852 definitions.
6853 (CHECK_FCNTL): Likewise.
6854 (CHECK_N_PAGES): Likewise.
6855
32a45bea
JM
6856 [BZ #13550]
6857 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
6858 definitions.
6859 (CHECK_SIGSET_NULL_OK): Likewise.
6860 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
6861 <bp-checks.h>.
6862 (sigpending): Don't use CHECK_SIGSET.
6863 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
6864 <bp-checks.h>.
6865 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6866 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
6867 <bp-checks.h>.
6868 (do_sigsuspend): Don't use CHECK_SIGSET.
6869 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
6870 use CHECK_SIGSET.
6871 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
6872 (do_sigwait): Don't use CHECK_SIGSET.
6873 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
6874 use CHECK_SIGSET.
6875 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
6876 include <bp-checks.h>.
6877 (sigpending): Don't use CHECK_SIGSET.
6878 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
6879 include <bp-checks.h>.
6880 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6881 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
6882 <bp-checks.h>.
6883 (sigpending): Don't use CHECK_SIGSET.
6884 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
6885 <bp-checks.h>.
6886 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6887
2e8a5c8c
JM
6888 [BZ #13550]
6889 * sysdeps/generic/bp-semctl.h: Remove file.
6890 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
6891 <bp-checks.h> and <bp-semctl.h>.
6892 (__old_semctl): Don't use CHECK_SEMCTL.
6893 (__new_semctl): Likewise.
6894 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
6895 and <bp-semctl.h>.
6896 (__old_semctl): Don't use CHECK_SEMCTL.
6897 (__new_semctl): Likewise.
6898 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
6899 <bp-checks.h> and <bp-semctl.h>.
6900 (__old_semctl): Don't use CHECK_SEMCTL.
6901 (__new_semctl): Likewise.
6902 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
6903 <bp-checks.h> and <bp-semctl.h>.
6904 (semctl): Don't use CHECK_SEMCTL.
6905
c2d54929
JM
6906 [BZ #13550]
6907 * Makerules (elide-bp-thunks): Remove variable.
6908 (elide-routines.oS): Don't use $(elide-bp-thunks).
6909 (elide-routines.os): Likewise.
6910 (elide-routines.o): Likewise.
6911 (elide-routines.op): Likewise.
6912 (elide-routines.og): Likewise.
6913 (objects): Don't use $(bp-thunks).
6914 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
6915 include.
6916 (common-generated): Do not add s-proto-bp.d.
6917 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
6918 (int): Likewise.
6919 (typ): Likewise.
6920 Do not generate makefile rules for bounded-pointer thunks.
6921 * sysdeps/generic/bp-thunks.h: Remove file.
6922 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
6923 * sysdeps/unix/s-proto-bp.S: Likewise.
6924
8cf28c5e
JM
6925 [BZ #15062]
6926 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
6927 parts of result separately when argument is not close to line from
6928 -i to i and one part of argument is small.
6929 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6930 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6931 * math/libm-test.inc (cacos_test): Add more tests.
6932 (casin_test): Likewise.
6933 (casinh_test): Likewise.
6934 * sysdeps/i386/fpu/libm-test-ulps: Update.
6935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6936
c4e33b8d
DM
69372013-01-31 David S. Miller <davem@davemloft.net>
6938
6939 * po/de.po: Update from translation team.
6940
3b60b421
MK
69412013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
6942
6943 * time/tzfile.c: Include stdint.h for SIZE_MAX.
6944
bb931195
TS
69452013-01-25 Thomas Schwinge <thomas@codesourcery.com>
6946
b5a5da23
TS
6947 * configure.in (_AC_PROG_CC_C89): New definition.
6948 * configure: Regenerate.
6949
bb931195
TS
6950 * configure.in (AC_PROG_CPP): New definition.
6951 * configure: Regenerate.
6952
8c53a12c
JM
69532013-01-23 Joseph Myers <joseph@codesourcery.com>
6954
6955 * debug/tst-backtrace.h: New file.
6956 * debug/tst-backtrace2.c: Include tst-backtrace.h.
6957 (ret): Remove variable.
6958 (x): Likewise.
6959 (FAIL): Remove macro.
6960 (NO_INLINE): Likewise.
6961 (fn1): Use match function instead of strstr.
6962 * debug/tst-backtrace3.c: Include tst-backtrace.h.
6963 (ret): Remove variable.
6964 (x): Likewise.
6965 (FAIL): Remove macro.
6966 (NO_INLINE): Likewise.
6967 (fn): Use match function instead of strstr.
6968 * debug/tst-backtrace4.c: Include tst-backtrace.h.
6969 (ret): Remove variable.
6970 (x): Likewise.
6971 (FAIL): Remove macro.
6972 (NO_INLINE): Likewise.
6973 (handle_signal): Use match function instead of strstr.
6974 * debug/tst-backtrace5.c: Include tst-backtrace.h.
6975 (ret): Remove variable.
6976 (x): Likewise.
6977 (FAIL): Remove macro.
6978 (NO_INLINE): Likewise.
6979 (handle_signal): Use match function instead of strstr.
6980
4858fa2a
RM
69812013-01-23 Roland McGrath <roland@hack.frob.com>
6982
6983 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
6984
bae8e7f5
DM
69852013-01-23 David S. Miller <davem@davemloft.net>
6986
6987 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
6988 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
6989 argument of CAS if possible.
6990 * sysdeps/sparc/sparc64/bits/atomic.h
6991 (__arch_compare_and_exchange_val_32_acq): Likewise.
6992 (__arch_compare_and_exchange_val_64_acq): Likewise.
6993
9cbbc4ae
PT
69942013-01-23 Pino Toscano <toscano.pino@tiscali.it>
6995
6996 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
6997 * sysdeps/posix/ulimit.c: ... this.
92a601b8 6998 Include <limits.h>.
67b3f58c 6999 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7000
5655a0b5
AC
70012013-01-23 Adam Conrad <adconrad@0c3.net>
7002
7003 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7004 (LDFLAGS-tst-array5): Likewise.
7005
052aff95
JM
70062013-01-23 Joseph Myers <joseph@codesourcery.com>
7007
7008 [BZ #15036]
7009 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7010 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7011 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7012 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7013
7c1e01aa
DM
70142013-01-21 David S. Miller <davem@davemloft.net>
7015
7016 * sysdeps/sparc/backtrace.c: New file.
7017 * sysdeps/sparc/sparc32/backtrace.h: New file.
7018 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7019 * sysdeps/sparc/sparc64/backtrace.h: New file.
7020 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7021 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7022 -funwind-tables.
7023
ab087e0a
AS
70242013-01-21 Andreas Schwab <schwab@suse.de>
7025
7026 [BZ #15020]
7027 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7028 closed its stdout.
7029
ed689c2f
AS
70302013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7031
7032 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7033 "mpa2.h".
7034 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7035
31d470ac
JM
70362013-01-18 Joseph Myers <joseph@codesourcery.com>
7037 Mark Mitchell <mark@codesourcery.com>
7038 Tom de Vries <tom@codesourcery.com>
7039 Paul Pluzhnikov <ppluzhnikov@google.com>
7040
7041 * debug/tst-backtrace2.c: New file.
7042 * debug/tst-backtrace3.c: Likewise.
7043 * debug/tst-backtrace4.c: Likewise.
7044 * debug/tst-backtrace5.c: Likewise.
7045 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7046 (CFLAGS-tst-backtrace3.c): Likewise.
7047 (CFLAGS-tst-backtrace4.c): Likewise.
7048 (CFLAGS-tst-backtrace5.c): Likewise.
7049 (LDFLAGS-tst-backtrace2): Likewise.
7050 (LDFLAGS-tst-backtrace3): Likewise.
7051 (LDFLAGS-tst-backtrace4): Likewise.
7052 (LDFLAGS-tst-backtrace5): Likewise.
7053 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7054 tst-backtrace4 and tst-backtrace5.
7055
90567f30 70562013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7057 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7058
7059 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7060 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7061 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7062 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7064 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7065 "+r" and remove output regs list as redundant. Add explicit inline
7066 asm to specify register of return val to work around compiler codegen
7067 bug. Remove (int) cast on return value. Add return type parameter to
7068 use in macro so that this macro does not truncate return value for
7069 64-bit values.
7070 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7071 pass to INTERNAL_VSYSCALL_NCS.
7072 (INLINE_VSYSCALL): Add 'long int' as return type to
7073 INTERNAL_VSYSCALL_NCS macro invocation.
7074 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7075 INTERNAL_VSYSCALL_NCS macro invocation.
7076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7077
d3b9ea61
SP
70782013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7079
0b57daeb
SP
7080 [BZ #14496]
7081 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7082 Fix application of SIMD FP exception mask.
7083
caa99d06
SP
7084 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7085 mp_no from a power of two.
7086 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7087 __mpexp_twomm1. Use __pow_mp.
7088
d3b9ea61
SP
7089 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7090 multiplication.
7091
1dbaee3c
DM
70922013-01-17 David S. Miller <davem@davemloft.net>
7093
7094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7095
728d7b43
JM
70962013-01-17 Joseph Myers <joseph@codesourcery.com>
7097
7098 [BZ #15023]
7099 * include/complex.h: Condition contents on [!_COMPLEX_H].
7100 (__kernel_casinhf): New prototype.
7101 (__kernel_casinh): Likewise.
7102 (__kernel_casinhl): Likewise.
7103 * math/Makefile (libm_calls): Add k_casinh.
7104 * math/k_casinh.c: New file.
7105 * math/k_casinhf.c: Likewise.
7106 * math/k_casinhl.c: Likewise.
7107 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7108 finite nonzero arguments.
7109 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7110 finite nonzero arguments.
7111 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7112 finite nonzero arguments.
7113 * math/s_casinh.c: Do not include <float.h>.
7114 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7115 * math/s_casinhf.c: Do not include <float.h>.
7116 (__casinhf): Move code for finite nonzero arguments to
7117 k_casinhf.c.
7118 * math/s_casinhl.c: Do not include <float.h>.
7119 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7120 redefine.
7121 (__casinhl): Move code for finite nonzero arguments to
7122 k_casinhl.c.
7123 * math/libm-test.inc (cacos_test): Add more tests.
7124 * sysdeps/i386/fpu/libm-test-ulps: Update.
7125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7126
2a26ef3a
PT
71272013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7128
7129 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7130 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7131 [!HAVE_MREMAP]: Remove [defined linux] case.
7132 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7133
a897655d
SP
71342013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7135
7136 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7137
881ebe89 71382013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7139
7140 * elf/elf.h (R_386_SIZE32): New relocation.
7141 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7142 R_386_SIZE32.
7143 (elf_machine_rela): Likewise.
7144 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7145 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7146
59981e9b
JM
71472013-01-17 Joseph Myers <joseph@codesourcery.com>
7148
7149 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7150 (FP_FAST_FMA): Do not define.
7151 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7152 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7153 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7154 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7155 !_SOFT_FLOAT]: Likewise.
7156 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7157 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7158 value.
7159 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7160 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7161 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7162 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7163 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7164 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7165 file.
7166
cfa8054f
AS
71672013-01-16 Andreas Schwab <schwab@suse.de>
7168
7169 [BZ #14327]
7170 * include/stdlib.h (__mktemp): Add declaration.
7171 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7172 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7173
dd930cc5
SP
71742013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7175
881ebe89
SP
7176 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7177 definitions.
7178 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7179 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7180 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7181 definitions here.
7182 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7183 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7184 definitions.
7185 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7186 and ONE.
7187 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7188 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7189 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7190 definitions.
7191 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7192 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7193 definitions.
7194 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7195
dd930cc5
SP
7196 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7197
c19a9f89
DM
71982013-01-15 David S. Miller <davem@davemloft.net>
7199
1aa61767
DM
7200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7201 trunc{,f} to libm-sysdep_routes.
7202 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7204 file.
7205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7207 file.
7208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7209 file.
7210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7212 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7213 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7214 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7215 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7216 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7217 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7218
c42d5e98
DM
7219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7220 nearbyint{,f} to libm-sysdep_routes.
7221 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7223 New file.
7224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7225 file.
7226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7227 New file.
7228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7229 file.
7230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7232 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7233 file.
7234 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7235 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7236 file.
7237 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7238 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7239 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7240
c19a9f89
DM
7241 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7242 libc_feholdexcept and libc_fesetenv.
7243
357679d2
MF
72442013-01-15 Mike Frysinger <vapier@gentoo.org>
7245
7246 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7247
65a82e3d
DM
72482013-01-14 David S. Miller <davem@davemloft.net>
7249
8b954ab9
DM
7250 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7251 (SPARC_ASM_VIS2_IFUNC): Likewise.
7252 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7254 use of 'siam' instruction.
7255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7256 Likewise.
7257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7258 Likewise.
7259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7260 Likewise.
7261 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7262 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7263 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7264 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7266 file.
7267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7268 file.
7269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7270 file.
7271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7272 file.
7273 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7274 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7275 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7276 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7278 new VIS2 routines.
7279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7282 Likewise.
7283 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7284 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7285 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7286 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7288 routines to libm-sysdep_routines.
7289 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7290
65a82e3d
DM
7291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7292 fdim/fdimf to libm-sysdep_routines.
7293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7294 file.
7295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7297 file.
7298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7301 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7302 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7303 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7304 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7305
e34ab705
SP
73062013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7307
2a91b573
SP
7308 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7309 to optimize copies.
7310
1066a534
SP
7311 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7312 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7313 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7314
e34ab705
SP
7315 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7316 local variable MPTWO.
7317 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7318 Likewise.
7319
aba5e596
MF
73202013-01-13 Mike Frysinger <vapier@gentoo.org>
7321
7322 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7323 GLOB_NOESCAPE.
7324
e557e9e5
MF
73252013-01-13 Mike Frysinger <vapier@gentoo.org>
7326
7327 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7328
0428cec9
MF
73292013-01-13 Mike Frysinger <vapier@gentoo.org>
7330
7331 * manual/pattern.texi (glob_t): Document gl_flags.
7332 (glob64_t): Likewise.
7333
8794a964
DM
73342013-01-11 David S. Miller <davem@davemloft.net>
7335
66438c3f
RM
7336 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7337 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7338 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
7339 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7340 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7341 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7342 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7343 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7344 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7345 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7346 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7347 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7348 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7349
4ae4244d
DM
7350 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7351 sparc V9 rather than using V8 code.
7352 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7353 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7354
8794a964
DM
7355 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7356 Move to...
7357 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7358 Here.
7359
6270516e
RM
73602013-01-11 Roland McGrath <roland@hack.frob.com>
7361
7362 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7363 not in the main loop.
7364 * configure: Regenerated.
7365
6a57d931
JM
73662013-01-11 Joseph Myers <joseph@codesourcery.com>
7367
7368 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7369 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7370 to just #else.
7371 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7372 [!__GLIBC_HAVE_LONG_LONG] case.
7373 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7374 condition to just #else.
7375 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7376 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7377 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7378 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7379 unconditional.
7380 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7381 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7382 #elif condition to just #else.
7383 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7384 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7385 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7386 #elif condition to just #else.
7387
0e8529e9
SE
73882013-01-11 Steve Ellcey <sellcey@mips.com>
7389
7390 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7391 (EF_MIPS_ARCH_64): Fix value.
7392 (EF_MIPS_ARCH_32R2): New.
7393 (EF_MIPS_ARCH_64R2): New.
7394
740b3dbe
L
73952013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7396
7397 * Makeconfig (+link-pie-before-libc): New.
7398 (+link-pie-after-libc): Likewise.
7399 (+link-pie-tests): Likewise.
7400 (+link-pie): Rewritten.
7401 (link-before-libc): Remove $(config-LDFLAGS).
7402 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7403 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7404 (config-LDFLAGS): Renamed to ...
7405 (rtld-LDFLAGS): This.
7406 (rtld-tests-LDFLAGS): New macro.
7407 (link-libc-rpath-link): Likewise.
7408 (link-libc-tests-rpath-link): Likewise.
7409 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7410 (link-libc): Prepand $(link-libc-rpath-link).
7411 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7412 (test-program-prefix): New macro.
7413 (test-via-rtld-prefix): Likewise.
7414 (test-program-cmd): Likewise.
7415 (host-test-program-cmd): Likewise.
7416 * Makefile ($(common-objpfx)testrun.sh): Replace
7417 $(run-program-prefix) with $(test-program-prefix).
7418 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7419 $(rtld-LDFLAGS).
7420 ($(common-objpfx)shlib.lds): Likewise.
7421 (build-module-helper): Likewise.
7422 ($(common-objpfx)format.lds): Likewise.
7423 * Rules (binaries-pie-tests): New.
7424 (binaries-pie-notests): Likewise.
7425 (binaries-pie): Rewritten.
7426 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7427 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7428 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7429 (make-test-out): Replace $(host-built-program-cmd) with
7430 $(host-test-program-cmd).
7431 * config.make.in (build-hardcoded-path-in-tests): New variable.
7432 * configure.in (--enable-hardcoded-path-in-tests): New configure
7433 option.
7434 (hardcoded_path_in_tests): New AC_SUBST.
7435 * configure: Regenerated.
7436 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7437 $(built-program-cmd) with $(test-program-cmd).
7438 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7439 (test_program_cmd): This.
7440 * elf/Makefile ($(objpfx)order.out): Run test with
7441 $(test-program-prefix).
7442 ($(objpfx)order2.out): Likewise.
7443 ($(objpfx)tst-initorder.out): Likewise.
7444 ($(objpfx)tst-initorder2.out): Likewise.
7445 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7446 $(test-program-cmd).
7447 ($(objpfx)tst-array1-static.out): Likewise.
7448 ($(objpfx)tst-array2.out): Likewise.
7449 ($(objpfx)tst-array3.out): Likewise.
7450 ($(objpfx)tst-array4.out): Likewise.
7451 ($(objpfx)tst-array5.out): Likewise.
7452 ($(objpfx)tst-array5-static.out): Likewise.
7453 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7454 $(test-program-cmd).
7455 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7456 $(run-program-prefix) with $(test-program-prefix).
7457 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7458 (test_program_prefix): This.
7459 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7460 $(run-program-prefix) with $(test-program-prefix).
7461 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7462 (test_program_prefix): This.
7463 * iconvdata/tst-tables.sh: Likewise.
7464 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7465 $(run-program-prefix) with $(test-program-prefix).
7466 ($(objpfx)tst-translit.out): Likewise.
7467 ($(objpfx)tst-gettext2.out): Likewise.
7468 ($(objpfx)tst-gettext4.out): Likewise.
7469 ($(objpfx)tst-gettext6.out): Likewise.
7470 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7471 (test_program_prefix): This.
7472 * intl/tst-gettext2.sh: Likewise.
7473 * intl/tst-gettext4.sh Likewise.
7474 * intl/tst-gettext6.sh: Likewise.
7475 * intl/tst-translit.sh: Likewise.
7476 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7477 with $(test-program-cmd).
7478 * libio/Makefile ($(objpfx)test-freopen.out): Replace
7479 $(run-program-prefix) with $(test-program-prefix).
7480 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7481 (test_program_prefix): This.
7482 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7483 $(run-program-prefix) with $(test-program-prefix).
7484 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7485 (test_program_prefix): This.
7486 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7487 * posix/Makefile ($(objpfx)globtest.out): Replace
7488 $(run-via-rtld-prefix) and $(test-wrapper) with
7489 $(test-program-prefix) and $(test-via-rtld-prefix).
7490 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7491 $(test-program-prefix).
7492 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7493 $(host-test-program-cmd).
7494 (tst-spawn-ARGS): Likewise.
7495 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7496 $(test-program-prefix).
7497 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7498 (test_via_rtld_prefix): This.
7499 (test_wrapper): Renamed to ...
7500 (test_program_prefix): This.
7501 (run_program_prefix): Replaced by test_program_prefix.
7502 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7503 (test_program_prefix): This.
7504 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7505 with $(host-test-program-cmd).
7506 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7507 $(run-program-prefix) with $(test-program-prefix).
7508 ($(objpfx)tst-printf.out): Likewise.
7509 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7510 $(test-program-cmd).
7511 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7512 (test_program_prefix): This.
7513 * stdio-common/tst-unbputc.sh: Likewise.
7514 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7515 $(run-program-prefix) with $(test-program-prefix).
7516 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7517 (test_program_prefix): This.
7518 * string/Makefile ($(objpfx)tst-svc.out): Replace
7519 $(built-program-cmd) with $(test-program-cmd).
7520
c6fe55cf
AJ
75212013-01-11 Andreas Jaeger <aj@suse.de>
7522
7523 [BZ #15003]
7524 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7525 value. Sync with Linux 3.7.
7526
9e6919c8
DM
75272013-01-10 David S. Miller <davem@davemloft.net>
7528
7529 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7530 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7531 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7532
1c9f1a02
RM
75332013-01-10 Roland McGrath <roland@hack.frob.com>
7534
7535 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7536 never set.
7537 * configure: Regenerated.
7538
b9de2dde
DM
75392013-01-10 David S. Miller <davem@davemloft.net>
7540
7541 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7542 sparc V9 rather than using V8 code.
7543 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7544 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7545
e7f68ef4
RM
75462013-01-10 Roland McGrath <roland@hack.frob.com>
7547
7548 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7549 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7550 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7551 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7552 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7553 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7554 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7555 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7556 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7557 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7558 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7559 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7560 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7561 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7562 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7563 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7564 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7565 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7566 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7567 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7568 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7569 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7570 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7571 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7572 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7573 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7574 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7575
5a47cc9c
DM
75762013-01-10 David S. Miller <davem@davemloft.net>
7577
7578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7579
4cf8f209
L
75802013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7581
7582 * posix/Makefile (tests-static): New variable.
7583 (tests): Add $(tests-static).
7584 (tst-exec-static-ARGS): New variable.
7585 (tst-spawn-static-ARGS): Likewise.
7586 * posix/tst-exec-static.c: New file.
7587 * posix/tst-spawn-static.c: Likewise.
7588 * posix/tst-exec.c: Support run directly.
7589 * posix/tst-spawn.c: Likewise.
7590
fed0faa1
JM
75912013-01-10 Joseph Myers <joseph@codesourcery.com>
7592
828beb13
JM
7593 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7594 long.
7595 * math/bits/mathcalls.h (llrint): Likewise.
7596 (llround): Likewise.
7597 * stdlib/stdlib.h (struct drand48_data): Likewise.
7598 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7599 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7600 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7601 Likewise.
7602 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7603 Likewise.
7604 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7605 (elf_greg_t): Likewise.
7606 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7607 (__jmp_buf): Likewise.
7608 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7609 definitions.
7610 (llrint): Likewise, for all definitions.
7611 (llrintl): Likewise.
7612
fed0faa1
JM
7613 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7614 Remove [__GNUC__] condition.
7615 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7616 condition to just [__USE_ISOC99].
7617 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7618
1a20cb20
L
76192013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7620
7621 [BZ #14200]
7622 * sysdeps/unix/sysv/linux/x86/bits/environments.h
7623 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7624 defined.
7625 (_POSIX_V6_ILP32_OFF32): Likewise.
7626 (_XBS5_ILP32_OFF32): Likewise.
7627 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7628 (__ILP32_OFFBIG_LDFLAGS): Likewise.
7629
751b85f7
SP
76302013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7631
7490eb81
SP
7632 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7633
751b85f7
SP
7634 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7635 doubles __mpexp_twomm1. Adjust usage.
7636 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7637 Remove.
7638
988197f0
AS
76392013-01-10 Andreas Schwab <schwab@suse.de>
7640
7641 [BZ #14964]
7642 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7643 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7644
e83d7298
DM
76452013-01-09 David S. Miller <davem@davemloft.net>
7646
034ed64b 7647 [BZ #15003]
e83d7298
DM
7648 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7649 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7650 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7651 TCP_FASTOPEN): Define.
7652 (tcp_repair_opt): New structure.
7653 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7654 enum values.
7655 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7656 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7657 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7658 (tcp_cookie_transactions): New structure.
7659
d5e0b9bd
AB
76602013-01-09 Anton Blanchard <anton@samba.org>
7661
7662 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7663 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7664 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7665 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7666
0c07e3ea
JM
76672013-01-09 Joseph Myers <joseph@codesourcery.com>
7668
7669 * include/features.h (__USE_ANSI): Remove.
7670
232f7002
RM
76712013-01-09 Roland McGrath <roland@hack.frob.com>
7672
ad98e30c
RM
7673 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7674
232f7002
RM
7675 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7676
950c99ca
SP
76772013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7678
b5792741
SP
7679 * sysdeps/s390/fpu/libm-test-ulps: Update.
7680
47cf2278
SP
7681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7682
950c99ca
SP
7683 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
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/powerpc32/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 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7712 (__acr): Likewise.
7713 (__cpy): Likewise.
7714 (norm): Likewise.
7715 (denorm): Likewise.
7716 (__mp_dbl): Likewise.
7717 (__dbl_mp): Likewise.
7718 (add_magnitudes): Likewise.
7719 (sub_magnitudes): Likewise.
7720 (__add): Likewise.
7721 (__sub): Likewise.
7722 (__mul): Likewise.
7723 (__inv): Likewise.
7724 (__dvd): Likewise.
7725
eede9df9
JM
77262013-01-08 Joseph Myers <joseph@codesourcery.com>
7727
7728 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7729 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7730 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7731 2 && __USE_EXTERN_INLINES]: Likewise.
7732
c40ea3d9
AJ
77332013-01-08 Andreas Jaeger <aj@suse.de>
7734
7735 [BZ# 14985]
7736 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7737 Remove.
7738 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7739 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7740
2ccdea26
AB
77412013-01-07 Anton Blanchard <anton@samba.org>
7742
7743 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7744 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7745 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
7746 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7747 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7748 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7749 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
7750 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7751 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7752 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7753 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7754 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7755 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7756 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7757 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7758 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7759 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7760 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7761 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7762 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7763 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7764 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
7765 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7766 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7767 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
7768 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7769 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7770 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7771 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
7772 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7773 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7774 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7775 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7776 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7777 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7778 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7779 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7780 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7781 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
7782 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7783 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
7784 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7785 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7786
a9708fed
JM
77872013-01-07 Joseph Myers <joseph@codesourcery.com>
7788
375607b9
JM
7789 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
7790 (__MALLOC_PMT): Likewise.
7791 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
7792 [__GNUC__], only on [_LIBC].
7793 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7794 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
7795 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7796 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
7797 forward declaration.
7798 (realloc_hook_ini): Likewise.
7799 (memalign_hook_ini): Likewise.
7800 (__libc_memalign): Do not use __MALLOC_PMT in variable
7801 declaration.
7802 (__libc_valloc): Likewise.
7803 (__libc_pvalloc): Likewise.
7804 (__libc_calloc): Likewise.
7805 (__posix_memalign): Likewise.
7806
a9708fed
JM
7807 [BZ #14996]
7808 * math/s_casinh.c: Include <float.h>.
7809 (__casinh): Do not do computation with squaring and square root
7810 for large arguments.
7811 * math/s_casinhf.c: Include <float.h>.
7812 (__casinhf): Do not do computation with squaring and square root
7813 for large arguments.
7814 * math/s_casinhl.c: Include <float.h>.
7815 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
7816 (__casinhl): Do not do computation with squaring and square root
7817 for large arguments.
7818 * math/libm-test.inc (casin_test): Add more tests.
7819 (casinh_test): Likewise.
7820 * sysdeps/i386/fpu/libm-test-ulps: Update.
7821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7822
afec409a
L
78232013-01-04 H.J. Lu <hongjiu.lu@intel.com>
7824
7825 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
7826 (__x86_64_raw_data_cache_size): Likewise.
7827 (__x86_64_data_cache_size_half): Likewise.
7828 (__x86_64_raw_data_cache_size_half): Likewise.
7829 (__x86_64_shared_cache_size): Likewise.
7830 (__x86_64_raw_shared_cache_size): Likewise.
7831 (__x86_64_shared_cache_size_half): Likewise.
7832 (__x86_64_raw_shared_cache_size_half): Likewise.
7833 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
7834 to ...
7835 (__x86_data_cache_size): This.
7836 (__x86_64_raw_data_cache_size): Renamed to ...
7837 (__x86_raw_data_cache_size): This.
7838 (__x86_64_data_cache_size_half): Renamed to ...
7839 (__x86_data_cache_size_half): This.
7840 (__x86_64_raw_data_cache_size_half): Renamed to ...
7841 (__x86_raw_data_cache_size_half): This.
7842 (__x86_64_shared_cache_size): Renamed to ...
7843 (__x86_shared_cache_size): This.
7844 (__x86_64_raw_shared_cache_size): Renamed to ...
7845 (__x86_raw_shared_cache_size): This.
7846 (__x86_64_shared_cache_size_half): Renamed to ...
7847 (__x86_shared_cache_size_half): This.
7848 (__x86_64_raw_shared_cache_size_half): Renamed to ...
7849 (__x86_raw_shared_cache_size_half): This.
7850 * sysdeps/x86_64/memcpy.S: Updated.
7851 * sysdeps/x86_64/memset.S: Likewise.
7852 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7853 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7854 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7855
0b3986d0
DM
78562013-01-04 David S. Miller <davem@davemloft.net>
7857
7858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7859
e47686e9
AS
78602013-01-04 Andreas Schwab <schwab@linux-m68k.org>
7861
d643bac1
AS
7862 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
7863 1 to avoid redefinition warning.
7864 (__USE_GNU): Don't define.
7865 (init_signaling_nan): Protoize.
7866
e47686e9
AS
7867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7868
b18decba
SP
78692013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7870
fffb407f
SP
7871 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
7872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
7873 (__cpymn): Likewise.
7874 (norm): Remove commented code.
7875 (denorm): Likewise.
7876 (__mp_dbl): Likewise.
7877 (__inv): Likewise.
7878 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
7879 (__cpymn): Likewise.
7880 (norm): Remove commented code.
7881 (denorm): Likewise.
7882 (__mp_dbl): Likewise.
7883 (__inv): Likewise.
7884
b18decba
SP
7885 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
7886 mp_no value for 1.0 and 2.0.
7887 (norm): Use RADIXI instead of radixi.d.
7888 (denorm): Likewise.
7889 (__mul): Use 0.0 instead of zero.d.
7890 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
7891 mp_no value for 1.0 and 2.0.
7892 (norm): Use RADIXI instead of radixi.d.
7893 (denorm): Likewise.
7894 (__mul): Use 0.0 instead of zero.d.
7895
cdc1c96f
JM
78962013-01-04 Joseph Myers <joseph@codesourcery.com>
7897
7898 [BZ #14994]
7899 * math/s_casinh.c (__casinh): Reduce finite argument to first
7900 quadrant then set signs of results at the end.
7901 * math/s_casinhf.c (__casinhf): Likewise.
7902 * math/s_casinhl.c (__casinhl): Likewise.
7903 * math/libm-test.inc (casin_test): Add more tests.
7904 (casinh_test): Likewise.
7905 * sysdeps/i386/fpu/libm-test-ulps: Update.
7906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7907
302913e1
SP
79082013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7909
6420d207
SP
7910 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
7911
a9e48ab4
SP
7912 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
7913
b7837264
SP
7914 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
7915 declarations.
7916 (denorm): Likewise.
7917 (__mp_dbl): Likewise.
7918 (__inv): Likewise.
7919
f8af25d2
SP
7920 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
7921 and adjust the header comment.
7922
302913e1
SP
7923 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
7924 variable name from declaration.
7925
5d7dd1ca
L
79262013-01-03 H.J. Lu <hongjiu.lu@intel.com>
7927
7928 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7929 Initialize COMMON_CPUID_INDEX_7 element.
7930 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
7931 (CPUID_RTM): Likewise.
7932 (HAS_RTM): Likewise.
7933 (COMMON_CPUID_INDEX_7): New enum.
7934
2f5f40f4
AS
79352013-01-03 Andreas Schwab <schwab@linux-m68k.org>
7936
7937 [BZ #14981]
7938 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
7939 size is zero, record memory as freed.
7940
4056f4a0
AJ
79412013-01-03 Andreas Jaeger <aj@suse.de>
7942
7943 * po/ia.po: Add new Interlingua translation.
7944
ab15736f 79452012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
7946
7947 * locale/programs/localedef.c: Fix description of '--posix' flag.
7948
568035b7
JM
79492013-01-02 Joseph Myers <joseph@codesourcery.com>
7950
e6898b8d
JM
7951 * NEWS: Update dates in second copyright notice.
7952 * README: Update copyright dates in example.
7953 * manual/libc.texinfo: Update copyright dates.
7954 * scripts/test-installation.pl: Update copyright date in --version
7955 output.
7956
0e2f9562
JM
7957 * hurd/ctty-input.c: Fix copyright notice formatting.
7958 * hurd/ctty-output.c: Likewise.
7959 * hurd/dtable.c: Likewise.
7960 * hurd/hurd-raise.c: Likewise.
7961 * hurd/hurdprio.c: Likewise.
7962 * hurd/msgportdemux.c: Likewise.
7963 * misc/sys/file.h: Likewise.
7964 * misc/sys/ioctl.h: Likewise.
7965 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7966 * sysdeps/mach/hurd/chdir.c: Likewise.
7967 * sysdeps/mach/hurd/fchdir.c: Likewise.
7968 * sysdeps/mach/hurd/rename.c: Likewise.
7969 * sysdeps/mach/hurd/rmdir.c: Likewise.
7970 * sysdeps/mach/hurd/seekdir.c: Likewise.
7971 * sysdeps/mach/hurd/setsid.c: Likewise.
7972 * sysdeps/posix/wait3.c: Likewise.
7973
568035b7
JM
7974 * All files with FSF copyright notices: Update copyright dates
7975 using scripts/update-copyrights.
7976 * intl/plural.c: Regenerated.
7977 * locale/programs/charmap-kw.h: Likewise.
7978 * locale/programs/locfile-kw.h: Likewise.
7979
da08f647
SP
79802013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7981
0f5477af
SP
7982 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
7983 four values.
7984
44e0d4c2
SP
7985 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
7986 calculation loop and add branch prediction.
7987
4d55b4e5
SP
7988 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
7989 check access beyond bounds of m1np.
7990
da08f647
SP
7991 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7992 MPTWO.
7993 (__inv): Remove local variable MPTWO to use the global
7994 constant.
7995 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
7996 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7997 variable MPTWO.
7998 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
7999 MP3HALFS static const.
8000
8e051029
DM
80012013-01-01 David S. Miller <davem@davemloft.net>
8002
8003 * po/ca.po: Update from translation team.
8004
f4cf5f2d
JM
80052013-01-01 Joseph Myers <joseph@codesourcery.com>
8006
8007 * scripts/update-copyrights: New file.
8008 * Makeconfig: Reformat copyright notice.
8009 * ctype/ctype.h: Likewise.
8010 * debug/swprintf_chk.c: Likewise.
8011 * elf/dl-cache.c: Likewise.
8012 * elf/dl-debug.c: Likewise.
8013 * elf/dl-object.c: Likewise.
8014 * grp/initgroups.c: Likewise.
8015 * hurd/Makefile: Likewise.
8016 * hurd/hurd/signal.h: Likewise.
8017 * hurd/hurdfault.c: Likewise.
8018 * hurd/hurdioctl.c: Likewise.
8019 * hurd/hurdlookup.c: Likewise.
8020 * hurd/intr-msg.c: Likewise.
8021 * iconv/gconv_open.c: Likewise.
8022 * libio/swprintf.c: Likewise.
8023 * locale/lc-ctype.c: Likewise.
8024 * locale/nl_langinfo.c: Likewise.
8025 * mach/Machrules: Likewise.
8026 * mach/Makefile: Likewise.
8027 * malloc/obstack.h: Likewise.
8028 * manual/Makefile: Likewise.
8029 * manual/tsort.awk: Likewise.
8030 * misc/bits/stab.def: Likewise.
8031 * nis/nis_print_group_entry.c: Likewise.
8032 * nis/nis_table.c: Likewise.
8033 * nis/nss_compat/compat-pwd.c: Likewise.
8034 * nis/nss_compat/compat-spwd.c: Likewise.
8035 * po/Makefile: Likewise.
8036 * posix/fnmatch.c: Likewise.
8037 * posix/regex.h: Likewise.
8038 * resolv/Makefile: Likewise.
8039 * resolv/nss_dns/dns-network.c: Likewise.
8040 * resolv/res_hconf.c: Likewise.
8041 * scripts/gen-sorted.awk: Likewise.
8042 * soft-fp/soft-fp.h: Likewise.
8043 * stdio-common/printf.h: Likewise.
8044 * stdlib/monetary.h: Likewise.
8045 * stdlib/random.c: Likewise.
8046 * stdlib/random_r.c: Likewise.
8047 * sysdeps/generic/Makefile: Likewise.
8048 * sysdeps/gnu/Makefile: Likewise.
8049 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8050 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8051 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8052 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8053 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8054 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8055 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8056 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8057 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8058 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8059 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8060 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8061 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8062 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8063 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8064 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8065 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8066 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8067 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8068 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8069 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8070 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8071 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8072 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8073 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8074 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8075 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8076 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8077 * sysdeps/mach/hurd/errnos.awk: Likewise.
8078 * sysdeps/mach/hurd/fork.c: Likewise.
8079 * sysdeps/mach/hurd/getcwd.c: Likewise.
8080 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8081 * sysdeps/mach/hurd/mmap.c: Likewise.
8082 * sysdeps/mach/hurd/utimes.c: Likewise.
8083 * sysdeps/mach/hurd/xmknod.c: Likewise.
8084 * sysdeps/posix/profil.c: Likewise.
8085 * sysdeps/posix/readdir_r.c: Likewise.
8086 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8087 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8088 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8089 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8090 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8091 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8092 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8093 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8094 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8095 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8096 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8097 * sysdeps/pthread/lio_listio.c: Likewise.
8098 * sysdeps/sparc/dl-procinfo.h: Likewise.
8099 * sysdeps/unix/i386/sysdep.S: Likewise.
8100 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8101 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8102 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8103 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8105 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8106 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8107 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8108 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8109 * sysdeps/wordsize-32/divdi3.c: Likewise.
8110 * time/sys/time.h: Likewise.
8111 * wcsmbs/Makefile: Likewise.
8112
0549fbba
DM
81132013-01-01 David S. Miller <davem@davemloft.net>
8114
a141f1a7
DM
8115 * po/fr.po: Update from translation team.
8116
0549fbba
DM
8117 * catgets/gencat.c: Update copyright year.
8118 * csu/version.c: Likewise.
8119 * debug/catchsegv.sh: Likewise.
8120 * debug/pcprofiledump.c: Likewise.
8121 * debug/xtrace.sh: Likewise.
8122 * elf/ldconfig.c: Likewise.
8123 * elf/ldd.bash.in: Likewise.
8124 * elf/pldd.c: Likewise.
8125 * elf/sotruss.ksh: Likewise.
8126 * elf/sprof.c: Likewise.
8127 * iconv/iconv_prog.c: Likewise.
8128 * iconv/iconvconfig.c: Likewise.
8129 * locale/programs/locale.c: Likewise.
8130 * locale/programs/localedef.c: Likewise.
8131 * login/programs/pt_chown.c: Likewise.
8132 * malloc/memusage.sh: Likewise.
8133 * malloc/memusagestat.c: Likewise.
8134 * malloc/mtrace.pl: Likewise.
8135 * nscd/nscd.c: Likewise.
8136 * nss/getent.c: Likewise.
8137 * nss/makedb.c: Likewise.
8138 * posix/getconf.c: Likewise.
8139
18ea052c
SP
81402012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8141
8142 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8143 numbers.
8144
9c89fca6
MF
81452012-12-30 Mike Frysinger <vapier@gentoo.org>
8146
8147 * math/bits/mathcalls.h (modf): Use __nonnull.
8148
085ec079
SP
81492012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8150
8151 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8152 (split): Use macro CN instead of the bare value.
8153 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8154 could be used.
8155 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8156 instead of the bare value.
8157 (power1): Likewise.
8158
6d9f97e1
SP
81592012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8160
d63f73be
SP
8161 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8162 __ATAN_TWOM.
8163 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8164
6d9f97e1
SP
8165 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8166 their values.
8167 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8168 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8169 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8170 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8171
4c4febf5
AJ
81722012-12-28 Andreas Jaeger <aj@suse.de>
8173
af5843ef
AJ
8174 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8175 values are from Linux 3.7.
8176
4c4febf5
AJ
8177 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8178 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8179
99136f82
SP
81802012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8181
2f216c3c 8182 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8183 TRUE case.
8184
99136f82
SP
8185 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8186 (norm): Likewise.
8187 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8188 variables with preprocessor constants.
8189 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8190 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8191 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8192
7fffbdff
BH
81932012-12-27 Bruno Haible <bruno@clisp.org>
8194
8195 [BZ #14317]
8196 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8197 only if needed.
8198
b76eb5f0
SP
81992012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8200
31a7fe5c
SP
8201 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8202 and use variable directly.
8203 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8204
b76eb5f0
SP
8205 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8206 MPONE.
8207 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8208 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8209 variable MPONE.
8210 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8211 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8212 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8213 include directive. Remove local variable MPONE.
8214 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8215 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8216 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8217
2c8bfe7d
DM
82182012-12-25 David S. Miller <davem@davemloft.net>
8219
8220 * version.h (RELEASE): Set to "development".
8221 (VERSION): Set to "2.17.90".
8222 * NEWS: Add 2.18 section.
8223
147d03b0
DM
82242012-12-21 David S. Miller <davem@davemloft.net>
8225
8226 * po/hr.po: Update from translation team.
8227
a8ebb2b9
AK
82282012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8229
8230 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8231
95b4f1b6
SE
82322012-12-19 Steve Ellcey <sellcey@mips.com>
8233
b2d94007 8234 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 8235
cedb2a90
MS
82362012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8237
8238 * manual/contrib.texi (Contributors): Spelling correction.
8239
bbf527d6
DM
82402012-12-15 David S. Miller <davem@davemloft.net>
8241
8242 * po/ru.po: Update from translation team.
8243
bc38c906
DM
82442012-12-13 David S. Miller <davem@davemloft.net>
8245
85429b1a
DM
8246 * NEWS: Mention IFUNC testsuite enhancements.
8247
d283e353
DM
8248 * po/pl.po: Update from translation team.
8249 * po/bg.po: Likewise.
8250
bc38c906
DM
8251 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8252 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8253
a181b0d7
DM
82542012-12-11 David S. Miller <davem@davemloft.net>
8255
4641d57e
DM
8256 * po/sv.po: Update from translation team.
8257
f7bc6495
DM
8258 * po/vi.po: Update from translation team.
8259
6fc9048f
DM
8260 * po/cs.po: Update from translation team.
8261
a181b0d7
DM
8262 * po/de.po: Update from translation team.
8263 * po/eo.po: Likewise.
8264 * po/nl.po: Likewise.
8265
f70bfe80
SP
82662012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8267
3c8b4190
SP
8268 [BZ #14246]
8269 * manual/argp.texi (Argp Helper Functions): Move node to follow
8270 Argp Parsing State.
8271
f70bfe80
SP
8272 [BZ #14872]
8273 * manual/conf.texi (Limits on File System Capacity): Mention if
8274 terminating null is included in the max size.
8275
188f0adf
AJ
82762012-12-10 Andreas Jaeger <aj@suse.de>
8277
8278 * po/cs.po: Update from translation team.
8279
56e7d3ad
SP
82802012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8281
8282 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8283 void pointer and cast to uintptr_t.
8284 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8285 path.
8286 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8287 * sysdeps/s390/s390-64/memset.S: Likewise.
8288
76f2d2ea 82892012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
8290
8291 [BZ #14833]
8292 * menual/message.texi (Message Translation): Fix typos.
8293 (Helper programs for gettext): Likewise.
8294
67cbf9a2
AS
82952012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8296
8297 [BZ #14898]
8298 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8299 Change to -1.
8300
682d0e9a
DM
83012012-12-07 David S. Miller <davem@davemloft.net>
8302
8303 * po/libc.pot: Update.
8304
573cd484
RH
83052012-12-07 Richard Henderson <rth@redhat.com>
8306
7e9da188 8307 [BZ #10114]
573cd484
RH
8308 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8309 normal/normal case to before the switch.
8310 (_FP_DIV): Likewise.
8311
e933a943
MF
83122012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8313 Mike Frysinger <vapier@gentoo.org>
8314
8315 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8316 check for __NR_fadvise64_64.
8317
82123268
CM
83182012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8319
8320 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8321 0, not just to plain "0" as a statement.
8322 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8323 with cw.
8324
d9814526
JM
83252012-12-06 Joseph Myers <joseph@codesourcery.com>
8326
8327 * NEWS: Use sourceware.org in Bugzilla URL.
8328
7728c574
SP
83292012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8330
f16946dd
SP
8331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8332 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8333
5704bbcb
SP
8334 * stdio-common/tst-put-error.c (do_test): Add newline to the
8335 padded test to ensure flush.
8336
17aa0516
JL
83372012-12-05 Jeff Law <law@redhat.com>
8338
8339 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8340
363313b5
JM
83412012-12-05 Joseph Myers <joseph@codesourcery.com>
8342
effbd42a
JM
8343 * README: Don't refer to ports add-on as distributed separately.
8344 Mention AArch64 in list of systems supported in the ports add-on.
8345
87600365
JM
8346 * LICENSES: Add more non-FSF copyright and license notices.
8347
a0d7066a
JM
8348 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8349 ((unused)).
8350
66ca5a5b
JM
8351 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8352
363313b5
JM
8353 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8354 10000 as width of padded output.
8355
b37984ad
JM
83562012-12-04 Joseph Myers <joseph@codesourcery.com>
8357
9003570a
JM
8358 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8359
b37984ad
JM
8360 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8361 variable LX with __attribute__ ((unused)).
8362 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8363 Likewise.
8364 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8365 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8366 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8367 with __attribute__ ((unused)).
8368
c8df52ec
DM
83692012-12-04 David S. Miller <davem@abraco.davemloft.net>
8370
8371 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8372
b3b099af
JM
83732012-12-04 Joseph Myers <joseph@codesourcery.com>
8374
c33aa6e3
JM
8375 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8376 (CFLAGS-nldbl-acos.c): New variable.
8377 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8378 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8379 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8380 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8381 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8382 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8383 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8384 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8385 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8386 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8387 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8388 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8389 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8390 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8391 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8392 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8393 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8394 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8395 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8396 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8397 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8398 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8399 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8400 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8401 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8402 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8403 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8404 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8405 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8406 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8407 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8408 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8409 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8410 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8411 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8412 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8413 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8414 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8415 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8416 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8417 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8418 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8419 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8420 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8421 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8422 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8423 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8424 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8425 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8426 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8427 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8428 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8429 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8430 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8431 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8432 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8433 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8434 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8435 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8436 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8437 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8438 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8439 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8440 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8441 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8442 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8443 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8444 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8445 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8446 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8447 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8448 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8449 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8450 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8451 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8452 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8453 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8454 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8455 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8456 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8457 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8458 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8459 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8460 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8461 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8462 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8463 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8464 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8465 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8466 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8467 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8468 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8469 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8470 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8471 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8472 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8473 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8474
20f0018d
JM
8475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8476 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8477
b3b099af
JM
8478 [BZ #14914]
8479 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8480 whole low double instead of just low 47 bits when splitting values
8481 into two parts.
8482
029264d1
AM
84832012-12-03 Allan McRae <allan@archlinux.org>
8484
8485 * manual/stdio.texi (Predefined Printf Handlers): Remove
8486 @hsep and @vsep usage.
8487
c9d6789e
MF
84882012-12-03 Mike Frysinger <vapier@gentoo.org>
8489
8490 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8491 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8492
4b7634a5
JL
84932012-12-03 Jeff Law <law@redhat.com>
8494
8495 * time/sys/time.h (settimeofday): Do not mark TV argument
8496 as __nonnull.
8497
eb6cbd24
MF
84982012-12-01 Mike Frysinger <vapier@gentoo.org>
8499
8500 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8501 when currently writing and seek to current position when not.
8502 * libio/Makefile (tests): Remove bug-fclose1.
8503 * libio/bug-fclose1.c: Delete.
8504
f638872a
JM
85052012-12-01 Joseph Myers <joseph@codesourcery.com>
8506
8507 * manual/arith.texi (feenableexcept): Fix typo.
8508 (fedisableexcept): Likewise.
8509
48085d14
RM
85102012-11-30 Roland McGrath <roland@hack.frob.com>
8511
8512 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8513 second, differently-typed declaration, rather than a cast.
8514
1a538b9f
SP
85152012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8516
8517 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8518 * include/rpc/svc.h: ... here.
8519
d07f2ff1 85202012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
8521
8522 [BZ #13013]
8523 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8524 depending n and resplen2 to catch cases where answer
8525 equals answerp2.
8526
c93ec1f0
CD
85272012-11-29 Carlos O'Donell <carlos@systemhalted.org>
8528
8529 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8530 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8531
37db69de
MF
85322012-11-29 Mike Frysinger <vapier@gentoo.org>
8533
8534 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8535
e10c4e4f
RM
85362012-11-29 Roland McGrath <roland@hack.frob.com>
8537
8538 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8539
2af1b328
JL
85402012-11-28 Jeff Law <law@redhat.com>
8541
8542 [BZ #13761]
8543 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8544 dataset_temporary. Track alloca usage into alloca_used.
8545 If dataset is large allocate and release it via malloc/free.
8546
111db5b1
FW
85472012-06-04 Florian Weimer <fweimer@redhat.com>
8548
f06cc227 8549 [BZ #14197]
111db5b1
FW
8550 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8551
dd694abd
DM
85522012-11-28 David S. Miller <davem@davemloft.net>
8553
8554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8555
9984dd01
JM
85562012-11-28 Joseph Myers <joseph@codesourcery.com>
8557
8558 [BZ #14803]
8559 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8560 of pi/2 rounded to nearest to 64 bits.
8561 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8562 nearest to 64 bits.
8563 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8564 bits.
8565
14bc93a9
JL
85662012-11-28 Jeff Law <law@redhat.com>
8567 Martin Osvald <mosvald@redhat.com>
8568
8569 [BZ #14889]
8570 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8571 * sunrpc/svc.c: Include time.h.
8572 (__svc_accept_failed): New function.
8573 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8574 any reason other than EINTR, call __svc_accept_failed.
8575 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8576 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8577
e3c6aa3a
AS
85782012-11-28 Andreas Schwab <schwab@suse.de>
8579
8580 * scripts/abilist.awk: Also handle indirect functions in .opd
8581 section.
8582
1bead169
JM
85832012-11-28 Joseph Myers <joseph@codesourcery.com>
8584
8585 [BZ #13881]
8586 * sysdeps/x86/fpu/powl_helper.c: New file.
8587 * sysdeps/x86/fpu/Makefile: Likewise.
8588 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8589 (p3): New object.
8590 (__ieee754_powl): Use __powl_helper for finite arguments except
8591 integer exponents below 8.
8592 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8593 (p3): New object.
8594 (__ieee754_powl): Use __powl_helper for finite arguments except
8595 integer exponents below 8.
8596 * math/libm-test.inc (pow_test): Add more tests and enable some
8597 previously disabled tests.
8598 * sysdeps/i386/fpu/libm-test-ulps: Update.
8599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8600
0817d63d
SP
86012012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8602 Carlos O'Donell <carlos_odonell@mentor.com>
8603
8604 * nss/makedb.c (is_prime): Assert that input is odd and greater
8605 than 4. Note that fact in a comment too.
8606 (next_prime): Add 4 to input.
8607
de2fd463
SP
86082012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8609
8610 [BZ #11741]
8611 * libio/Makefile (tests): Add test case tst-fwrite-error.
8612 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8613 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8614 * libio/tst-fwrite-error.c: New test case.
8615
c515fb51
L
86162012-11-26 H.J. Lu <hongjiu.lu@intel.com>
8617
8618 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8619 before casting to void *.
8620 * include/libc-internal.h (__pointer_type): New macro.
8621 (__integer_if_pointer_type_sub): Likewise.
8622 (__integer_if_pointer_type): Likewise.
8623 (cast_to_integer): Likewise.
8624 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8625 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8626 before casting to atomic64_t.
8627 (atomic_exchange_acq): Likewise.
8628 (__arch_exchange_and_add_body): Likewise.
8629 (__arch_add_body): Likewise.
8630 (atomic_add_negative): Likewise.
8631 (atomic_add_zero): Likewise.
8632
4cf77aa9
JM
86332012-11-26 Joseph Myers <joseph@codesourcery.com>
8634
8635 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8636 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8637 (add_fdes): Likewise.
8638 (linear_search_fdes): Likewise.
8639 (binary_search_unencoded_fdes): Likewise.
8640
d260b3b4
AS
86412012-11-26 Andreas Schwab <schwab@linux-m68k.org>
8642
8643 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8644
67060746
AC
86452012-11-24 Adam Conrad <adconrad@0c3.net>
8646
8647 * configure.in: Autodetect C++ header directories.
8648 * configure: Regenerated.
8649
800938a1
MF
86502012-11-23 Mike Frysinger <vapier@gentoo.org>
8651
8652 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8653
4e6e34e6
AS
86542012-11-23 Andreas Schwab <schwab@linux-m68k.org>
8655
8656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8657
7c7feb47
JM
86582012-11-22 Joseph Myers <joseph@codesourcery.com>
8659
7184dcdf
JM
8660 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8661 LDBL_MANT_DIG == 106]: Disable some tests.
8662 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8663 Likewise.
8664 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8665 Likewise.
8666
0a42601f
JM
8667 [BZ #14871]
8668 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8669 input for small inputs. Return +/- pi/2 for large inputs.
8670 * math/libm-test.inc (atan_test): Add more tests.
8671
79c9b9fe
JM
8672 * sysdeps/generic/unwind-dw2-fde-glibc.c
8673 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8674 __attribute__ ((unused)).
8675
c60d3bf2
JM
8676 [BZ #14645]
8677 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8678 x * y if x and y are nonzero and z is zero.
8679
ef1e0867
JM
8680 [BZ #14811]
8681 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8682 nonzero exponents with absolute value below 0x1p-117 to +/-
8683 0x1p-117.
8684
1468ded3
JM
8685 [BZ #14869]
8686 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8687 up arguments below 2**-450, not just those below 2**-500.
8688 * math/libm-test.inc (hypot_test): Add another test.
8689
8e27e3cc
JM
8690 [BZ #14868]
8691 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8692 Return a+b for ratio over 2**120, not 2**60.
8693 * math/libm-test.inc (hypot_test): Add another test.
8694
c9c0279b
JM
8695 * math/libm-test.inc (clog_test): Use
8696 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8697 (clog10_test): Likewise.
8698
7c7feb47
JM
8699 [BZ #6778]
8700 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8701
fff1530e
AS
87022012-11-22 Andreas Schwab <schwab@suse.de>
8703
8704 * sysdeps/i386/fpu/libm-test-ulps: Update.
8705
94558d30
PT
87062012-11-22 Pino Toscano <toscano.pino@tiscali.it>
8707
8708 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8709 printf output with newline.
8710
7e1be741
L
87112012-11-21 H.J. Lu <hongjiu.lu@intel.com>
8712
6bfea974
L
8713 [BZ #14865]
8714 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8715 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8716 -z nodlopen, -z initfirst and -z execstack support.
8717 * configure: Regenerated.
8718
7e1be741
L
8719 * elf/elf.h (DF_1_NODIRECT): New macro.
8720 (DF_1_IGNMULDEF): Likewise.
8721 (DF_1_NOKSYMS): Likewise.
8722 (DF_1_NOHDR): Likewise.
8723 (DF_1_EDITED): Likewise.
8724 (DF_1_NORELOC): Likewise.
8725 (DF_1_SYMINTPOSE): Likewise.
8726 (DF_1_GLOBAUDIT): Likewise.
8727 (DF_1_SINGLETON): Likewise.
8728 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8729 DT_1_SUPPORTED_MASK bits.
8730 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8731
105ce2ce
CD
87322012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
8733
8734 * sysdeps/unix/make-syscalls.sh: Document prefixes.
8735
123be9de
TS
87362012-11-20 Thomas Schwinge <thomas@codesourcery.com>
8737
d072f3f7
TS
8738 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8739 macro.
8740
123be9de
TS
8741 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8742 (sendmmsg): Move declarations...
8743 * socket/sys/socket.h: ... here.
8744 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8745 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
8746 include it from...
8747 * socket/recvmmsg.c: ... this new file.
8748 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
8749 (sendmmsg): Rename to __sendmmsg, create weak alias and make
8750 definition of __sendmmsg hidden.
8751 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8752 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
8753 Move ENOSYS stub into and include it from...
8754 * socket/sendmmsg.c: ... this new file.
8755 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
8756 (sysdep_routines): Move recvmmsg and sendmmsg...
8757 * socket/Makefile (routines): ... here.
8758 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
8759 (GLIBC_PRIVATE): Add __sendmmsg.
8760 * include/sys/socket.h (__sendmmsg): Add declarations.
8761 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
8762 sendmmsg.
8763
cf9a5d18
JM
87642012-11-20 Joseph Myers <joseph@codesourcery.com>
8765
8766 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
8767 variable I1 with __attribute__ ((unused)).
8768 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8769
ecd4caf9
JM
87702012-11-19 Joseph Myers <joseph@codesourcery.com>
8771
be14d48f
JM
8772 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
8773 DUMMY variables with __attribute__ ((unused)).
8774
ecd4caf9
JM
8775 * bits/byteswap.h: Include <bits/types.h>.
8776 (__bswap_64): Use __uint64_t instead of unsigned long long int.
8777
986cab95
PT
87782012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8779
8780 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
8781 string_t. Do not manually set errno.
8782 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
8783 length with __strnlen. Make sure to both set errno and return it on
8784 failure.
8785
6d33cc9d
DM
87862012-11-19 David S. Miller <davem@davemloft.net>
8787
8788 With help from Joseph Myers.
8789 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
8790 very large arguments properly.
8791 * math/libm-test.inc (atan_test): New tests.
8792 (atan2_test): New tests.
8793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8794 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8795
ee663277
JM
87962012-11-19 Joseph Myers <joseph@codesourcery.com>
8797
877f2d8e
JM
8798 [BZ #14856]
8799 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
8800 Define to 3.
8801
116fc08a
JM
8802 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
8803 [POSIX] (EADDRNOTAVAIL): Likewise.
8804 [POSIX] (EAFNOSUPPORT): Likewise.
8805 [POSIX] (EALREADY): Likewise.
8806 [POSIX] (ECONNABORTED): Likewise.
8807 [POSIX] (ECONNREFUSED): Likewise.
8808 [POSIX] (ECONNRESET): Likewise.
8809 [POSIX] (EDESTADDRREQ): Likewise.
8810 [POSIX] (EDQUOT): Likewise.
8811 [POSIX] (EHOSTUNREACH): Likewise.
8812 [POSIX] (EIDRM): Likewise.
8813 [POSIX] (EISCONN): Likewise.
8814 [POSIX] (ELOOP): Likewise.
8815 [POSIX] (EMULTIHOP): Likewise.
8816 [POSIX] (ENETDOWN): Likewise.
8817 [POSIX] (ENETUNREACH): Likewise.
8818 [POSIX] (ENOBUFS): Likewise.
8819 [POSIX] (ENODATA): Likewise.
8820 [POSIX] (ENOLINK): Likewise.
8821 [POSIX] (ENOMSG): Likewise.
8822 [POSIX] (ENOPROTOOPT): Likewise.
8823 [POSIX] (ENOSR): Likewise.
8824 [POSIX] (ENOSTR): Likewise.
8825 [POSIX] (ENOTCONN): Likewise.
8826 [POSIX] (ENOTSOCK): Likewise.
8827 [POSIX] (EOPNOTSUPP): Likewise.
8828 [POSIX] (EOVERFLOW): Likewise.
8829 [POSIX] (EPROTO): Likewise.
8830 [POSIX] (EPROTONOSUPPORT): Likewise.
8831 [POSIX] (EPROTOTYPE): Likewise.
8832 [POSIX] (ESTALE): Likewise.
8833 [POSIX] (ETIME): Likewise.
8834 [POSIX] (ETXTBSY): Likewise.
8835 [POSIX] (EWOULDBLOCK): Likewise.
8836 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
8837 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
8838 [POSIX] (SEEK_CUR): Likewise.
8839 [POSIX] (SEEK_END): Likewise.
8840 [POSIX || UNIX98] (mode_t): Do not require.
8841 [POSIX] (off_t): Likewise.
8842 [POSIX] (pid_t): Likewise.
8843 [POSIX] (sys/stat.h): Do not allow header.
8844 [POSIX] (unistd.h): Likewise.
8845 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
8846 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
8847 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
8848 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
8849 require.
8850 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
8851 sigevent): Specify elements.
8852 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
8853 entry.
8854 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
8855 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
8856
a483863f
JM
8857 * conform/data/cpio.h-data [POSIX]: Disable whole file.
8858 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
8859 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
8860 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
8861 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
8862 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
8863 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
8864 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
8865 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
8866 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
8867 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
8868 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
8869 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
8870 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
8871 Likewise.
8872 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
8873 Likewise.
8874 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
8875 Likewise.
8876 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
8877 Likewise.
8878 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
8879 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
8880 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
8881 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
8882 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
8883 Specify lower bound on value.
8884 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
8885 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
8886 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
8887 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
8888 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
8889 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
8890 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
8891 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
8892 value.
8893 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
8894 as optional.
8895 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
8896 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
8897 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
8898 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
8899 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
8900 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
8901 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
8902 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
8903 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
8904 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
8905 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
8906 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
8907 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
8908 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
8909 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
8910 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
8911 entry.
8912 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
8913 optional.
8914 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
8915 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
8916 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
8917 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
8918 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
8919 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
8920 Likewise.
8921 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
8922 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
8923 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
8924 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
8925 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
8926 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
8927 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
8928 as optional.
8929 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
8930 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
8931 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
8932 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
8933 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
8934 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
8935 specify as optional.
8936 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
8937 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
8938 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
8939 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
8940 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
8941 [XPG3] (NL_LANGMAX): Likewise.
8942 [POSIX || XPG3] (NL_MSGMAX): Likewise.
8943 [POSIX || XPG3] (NL_NMAX): Likewise.
8944 [POSIX || XPG3] (NL_SETMAX): Likewise.
8945 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
8946 [XPG3] (NZERO): Likewise.
8947 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
8948 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
8949 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
8950 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
8951 (REG_ERANGE): Expect.
8952 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
8953 optional-constant.
8954 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
8955 Use (void) in prototype.
8956 [POSIX] (*_t): Allow.
8957 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
8958 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
8959 (WRDE_BADVAL): Expect.
8960
5ba924e3
JM
8961 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
8962 expect.
8963 [XPG3 || XPG4] (O_RSYNC): Likewise.
8964 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
8965 Likewise.
8966 [XPG3 || XPG4] (pthread_sigmask): Likewise.
8967 [XPG3 || XPG4] (sigqueue): Likewise.
8968 [XPG3 || XPG4] (sigtimedwait): Likewise.
8969 [XPG3 || XPG4] (sigwaitinfo): Likewise.
8970 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
8971 [XPG3 || XPG4] (vsnprintf): Likewise.
8972 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
8973 Likewise.
8974 [XPG3 || XPG4] (blksize_t): Likewise.
8975 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
8976 Likewise.
8977 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
8978 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8979 [XPG3 || XPG4] (struct itimerspec): Likewise.
8980 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
8981 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
8982 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
8983 [XPG3 || XPG4] (clockid_t): Likewise.
8984 [XPG3 || XPG4] (timer_t): Likewise.
8985 [XPG3 || XPG4] (clock_getres): Likewise.
8986 [XPG3 || XPG4] (clock_gettime): Likewise.
8987 [XPG3 || XPG4] (clock_settime): Likewise.
8988 [XPG3 || XPG4] (nanosleep): Likewise.
8989 [XPG3 || XPG4] (timer_create): Likewise.
8990 [XPG3 || XPG4] (timer_delete): Likewise.
8991 [XPG3 || XPG4] (timer_gettime): Likewise.
8992 [XPG3 || XPG4] (timer_getoverrun): Likewise.
8993 [XPG3 || XPG4] (timer_settime): Likewise.
8994 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
8995 [XPG3 || XPG4] (getlogin_r): Likewise.
8996 [XPG3 || XPG4] (pread): Likewise.
8997 [XPG3 || XPG4] (pthread_atfork): Likewise.
8998 [XPG3 || XPG4] (pwrite): Likewise.
8999
ee663277
JM
9000 [BZ #14835]
9001 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9002 <bits/siginfo.h>.
9003
942caa16
PT
90042012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9005
e19af380
PT
9006 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9007 finalizing MALLSTREAM.
9008
942caa16
PT
9009 * sysdeps/mach/hurd/syncfs.c: New file.
9010
cfde9b46
SP
90112012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9012
9013 [BZ #14719]
9014 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9015 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9016 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9017 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9018 (_nss_dns_gethostbyname4_r): Likewise.
9019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9020 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9021
f6da27e5
PH
90222012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9023
9024 [BZ #13763]
9025 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9026
6665d4a2
SM
90272012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9028
1f51ee92
SM
9029 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9030 * elf/cache.c (print_entry): Print ",AArch64" for
9031 FLAG_AARCH64_LIB64
9032
6665d4a2
SM
9033 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9034 * elf/cache.c (print_entry): Print ",hard-float" for
9035 FLAG_ARM_LIBHF.
9036
05b227bd
DM
90372012-11-18 David S. Miller <davem@davemloft.net>
9038
9039 With help from Joseph Myers.
9040 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9041 cutoff to 2**-13.
9042 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9043 cutoff to 2**-25.
9044 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9045 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9046 small.
9047 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9048 * math/libm-test.inc (y0_test): New tests.
9049 (y1_test): New tests.
9050 * sysdeps/i386/fpu/libm-test-ulps: Update.
9051 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9053
786b0b67
AS
90542012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9055
9056 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9057 64-bit targets.
9058 * configure: Regenerated.
9059
8e18b86d
DM
90602012-11-17 David S. Miller <davem@davemloft.net>
9061
9062 [BZ #14811]
9063 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9064 nonzero exponents with absolute value below 0x1p-128 to +/-
9065 0x1p-128.
9066
531f1ae0
JM
90672012-11-17 Joseph Myers <joseph@codesourcery.com>
9068
12df29e2
JM
9069 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9070
150dc1a0
JM
9071 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9072
531f1ae0
JM
9073 * posix/getconf-speclist.c: New file.
9074 * posix/posix-envs.def: Likewise.
9075 * posix/confstr.c (START_ENV_GROUP): New macro.
9076 (END_ENV_GROUP): Likewise.
9077 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9078 (KNOWN_PRESENT_ENV_STRING): Likewise.
9079 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9080 (UNKNOWN_ENVIRONMENT): Likewise.
9081 (confstr): Include posix-envs.def instead of handling
9082 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9083 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9084 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9085 (END_ENV_GROUP): Likewise.
9086 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9087 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9088 (UNKNOWN_ENVIRONMENT): Likewise.
9089 (__sysconf): Include posix-envs.def instead of handling associated
9090 cases directly here.
9091 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9092 preprocessing getconf-speclist.c rather than running getconf or
9093 generating empty file.
9094
a93f9cbc
PT
90952012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9096
9097 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9098
d64d9f87
AL
90992012-11-16 Andrej Lajovic <natrij@gmail.com>
9100
9101 [BZ #14672]
9102 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9103
447885eb
DM
91042012-11-16 David S. Miller <davem@davemloft.net>
9105
9106 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9107 smaller than LDBL_EPSILON/2.0L, just return xm1.
9108
bcbf9830
L
91092012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9110
9111 * elf/tst-array1.c (init): Set constructor priority to 1000.
9112 (fini): Set destructor priority to 1000.
9113 * elf/tst-array2dep.c: Likewise.
9114
2b766585
SP
91152012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9116
9117 [BZ #11741]
9118 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9119 (_IO_new_file_xsputn): Also return EOF if none of the input
9120 data was written when overflow failed.
9121 * libio/iopadn.c (_IO_padn): Likewise.
9122 * libio/iowpadn.c (_IO_wpadn): Likewise.
9123 * stdio-common/tst-put-error.c: Add copyright notice.
9124 (do_test): Add case for printing padded string.
9125 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9126 _IO_padn returned error.
9127 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9128 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9129 return EOF.
9130
b1848fde
SP
91312012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9132
9133 * libio/libioP.h: Add comment note that the references to C++
9134 bits are now obsolete.
9135
2fd89785
MS
91362012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9137
9138 * math/libm-test.inc (check_complex): Use asprintf.
9139
e3ea5409
JM
91402012-11-14 Joseph Myers <joseph@codesourcery.com>
9141
9142 * debug/pcprofiledump.c (print_version): Update copyright year.
9143 * malloc/memusagestat.c (print_version): Likewise.
9144
2e64d265
L
91452012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9146
9147 [BZ #14831]
9148 * elf/Makefile (tests): Add tst-audit8.
9149 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9150 ($(objpfx)tst-audit8.out): New target.
9151 (tst-audit8-ENV): New variable.
9152 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9153 audit if l_reloc_result is NULL.
9154 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9155 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9156 * elf/tst-audit8.c: New file.
9157
c485e4d2
MS
91582012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9159
9160 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9161 * misc/Makefile (CFLAGS-select.c): Define.
9162 * posix/Makefile (CFLAGS-pause.c): Define.
9163
3a0d900a
DM
91642012-11-13 David S. Miller <davem@davemloft.net>
9165
9166 * crypt/Makefile: Move test targets after toplevel Rules
9167 inclusion. Grab any necessary sysdep routines when linking.
9168 * crypt/md5.c (md5_process_block): Remove define, we will always
9169 name it __md5_process_block.
9170 (md5_finish_ctx): Update md5_process_block call.
9171 (md5_stream): Likewise.
9172 (md5_process_bytes): Likewise.
9173 (md5_process_block): Rename to __md5_process_block and move to ...
9174 * crypt/md5-block.c: ... here.
9175 * crypt/sha256.c (sha256_process_block): Move to ...
9176 * crypt/sha256-block.c: ... here.
9177 * crypt/sha512.c (sha512_process_block): Move to ...
9178 * crypt/sha512-block.c: ... here.
9179 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9180 path.
9181 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9182 * sysdeps/sparc/sparc64/multiarch/Makefile
9183 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9184 crypt subdir.
9185 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9186 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9187 multiarch changes.
9188 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9189 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9190 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9191 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9192 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9193 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9194 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9195 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9196 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9197 file.
9198 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9199 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9200 file.
9201 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9202
8ca89318
JM
92032012-11-13 Joseph Myers <joseph@codesourcery.com>
9204
e27d476a
JM
9205 * timezone/tzselect.ksh: Update from tzcode git revision
9206 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9207 * timezone/zdump.c: Likewise.
9208 * timezone/zic.c: Likewise.
9209 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9210 in TZVERSION setting, not $(PKGVERSION).
9211 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9212 REPORT_BUGS_TO settings.
9213
8ca89318
JM
9214 [BZ #14838]
9215 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9216 macro.
9217
47594329
MS
92182012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9219
9220 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9221 detection to immediately after _FP_ROUND().
9222 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9223 bits are 0.
9224
640ac3f1
DM
92252012-11-11 David S. Miller <davem@davemloft.net>
9226
9227 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9228 inttypes.h
9229 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9230 __close rather than their public counterparts.
9231
3d2577bb
JM
92322012-11-10 Joseph Myers <joseph@codesourcery.com>
9233
9234 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9235 file.
9236 [UNIX98] (sem_timedwait): Do not expect.
9237 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9238 [XPG4 || UNIX98] (sockatmark): Do not expect.
9239 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9240 (clock_getcpuclockid): Do not expect.
9241 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9242 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9243 Do not expect.
9244 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9245 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9246 [UNIX98] (vwscanf): Likewise.
9247 [UNIX98] (vswscanf): Likewise.
9248
fb1ae1ee
JM
92492012-11-09 Joseph Myers <joseph@codesourcery.com>
9250
9ec6f8bd
JM
9251 * timezone/version.h: Remove file.
9252 * timezone/README: Do not refer to version.h.
9253 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9254 $(objpfx)version.h.
9255 ($(objpfx)zdump.o): Likewise.
c3f81911 9256 ($(objpfx)version.h): New target.
9ec6f8bd 9257
0aa8f8a1
JM
9258 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9259 2012i.
9260 * timezone/README: Don't mention modification to tzselect.ksh.
9261 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9262 work on unmodified tzselect.ksh. Substitute version numbers in
9263 tzselect.ksh.
9264
4e87147f
JM
9265 * Makefile (format-me): Remove.
9266 (INSTALL): Adjust indentation. Use commands directly instead of
9267 using $(format-me).
9268
8b748aed
JM
9269 * aclocal.m4 (ACX_PKGVERSION): New macro.
9270 (ACX_BUGURL): Likewise.
9271 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9272 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9273 (REPORT_BUGS_TO): Likewise.
9274 * configure: Regenerated.
9275 * config.h.in (PKGVERSION): New macro.
9276 (REPORT_BUGS_TO): Likewise.
9277 * config.make.in (PKGVERSION): New variable.
9278 (PKGVERSION_TEXI): Likewise.
9279 (REPORT_BUGS_TO): Likewise.
9280 (REPORT_BUGS_TEXI): Likewise.
9281 * Makefile (format-me): Use -I$(common-objpfx)manual.
9282 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9283 ($(common-objpfx)manual/%): New target.
9284 (manual/%): Remove target.
9285 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9286 (print_version): Use PKGVERSION.
9287 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9288 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9289 and REPORT_BUGS_TO.
9290 ($(objpfx)xtrace): Likewise.
9291 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9292 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9293 (print_version): Use PKGVERSION.
9294 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9295 (do_version): Use PKGVERSION.
9296 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9297 REPORT_BUGS_TO.
9298 (common-ldd-rewrite): Likewise.
9299 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9300 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9301 (print_version): Use PKGVERSION.
9302 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9303 * elf/pldd.c (argp_program_bug_address): Remove variable.
9304 (more_help): New function.
9305 (argp): Use more_help.
9306 (print_version): Use PKGVERSION.
9307 * elf/sln.c (main): Use PKGVERSION.
9308 (usage): Use REPORT_BUGS_TO.
9309 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9310 (top level): Use PKGVERSION.
9311 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9312 (print_version): Use PKGVERSION.
9313 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9314 (print_version): Use PKGVERSION.
9315 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9316 (print_version): Use PKGVERSION.
9317 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9318 (print_version): Use PKGVERSION.
9319 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9320 (print_version): Use PKGVERSION.
9321 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9322 (print_version): Use PKGVERSION.
9323 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9324 and BUGURL.
9325 ($(objpfx)memusage): Likewise.
9326 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9327 (do_version): Use PKGVERSION.
9328 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9329 (print_version): Use PKGVERSION.
9330 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9331 ($PKGVERSION): New variable.
9332 ($REPORT_BUGS_TO): Likewise.
9333 (usage): Use $REPORT_BUGS_TO.
9334 (top level): Use $PKGVERSION.
9335 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9336 ($(objpfx)pkgvers.texi): New rule.
9337 ($(objpfx)stamp-pkgvers): Likewise.
9338 * manual/install.texi: Include pkgvers.texi.
9339 (--with-pkgversion): Document new configure option.
9340 (--with-bugurl): Likewise.
9341 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9342 than necessarily for this particular distribution. Use
9343 REPORT_BUGS_TO for where to report bugs.
9344 * INSTALL: Regenerated.
9345 * manual/libc.texinfo: Include pkgvers.texi.
9346 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9347 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9348 (print_version): Use PKGVERSION.
9349 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9350 (print_version): Use PKGVERSION.
9351 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9352 (print_version): Use PKGVERSION.
9353 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9354 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9355 macro.
9356 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9357 (print_version): Use PKGVERSION.
9358 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9359 (print_version): Use PKGVERSION.
9360 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9361 and PKGVERSION.
9362
92e4b6a9
JM
9363 * timezone/checktab.awk: Update from tzcode 2012i.
9364 * timezone/ialloc.c: Likewise.
9365 * timezone/private.h: Likewise.
9366 * timezone/scheck.c: Likewise.
9367 * timezone/tzfile.h: Likewise.
9368 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9369 (TZVERSION): Hardcode tzcode version number.
9370 * timezone/zdump.c: Update from tzcode 2012i.
9371 * timezone/zic.c: Likewise.
9372 * timezone/version.h: New file.
9373 * timezone/README: Describe version.h. Update upstream location.
9374
9bde902c
JM
9375 [BZ #14824]
9376 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9377 (mktemp): Enable declaration.
9378 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9379 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9380 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9381 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9382 Likewise.
9383 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9384 Likewise.
9385 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9386 Likewise.
9387 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9388 Likewise.
9389 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9390 Likewise.
9391 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9392 Likewise.
9393
fb1ae1ee
JM
9394 [BZ #14821]
9395 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9396 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9397 for copies of such integer values.
9398 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9399 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9400
2c1adbcb
AJ
94012012-11-09 Andreas Jaeger <aj@suse.de>
9402
9403 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9404 definitions and declarations that are provided by
9405 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9406
d0f8457e
AK
94072012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9408
3a235abb 9409 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
9410 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9411 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9412 definition.
9413
57241e26
MS
94142012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9415
9416 * elf/elf.h: Update comment before AArch64 relocations.
9417
60e8270d
DM
94182012-11-07 David S. Miller <davem@davemloft.net>
9419
9420 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9421 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9422 (__start_context): Declare.
9423 (__makecontext_ret): Delete.
9424 (__makecontext): Hook up __start_context instead of
9425 __makecontext_ret.
9426 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9427 (sysdep_routines): Add __start_context when in stdlib.
9428
0fbb0fbc
JM
94292012-11-07 Joseph Myers <joseph@codesourcery.com>
9430
9431 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9432 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9433 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9434 hardcoded "nm".
9435 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9436 (READELF): New variable. Use it instead of hardcoded "readelf".
9437
eb48db7e
L
94382012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9439
9440 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9441 * sysdeps/x86/Makefile: Here.
9442 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9443 * sysdeps/x86/tst-xmmymm.sh: This.
9444
05bcf62a
JM
94452012-11-07 Joseph Myers <joseph@codesourcery.com>
9446
c4b6cf53
JM
9447 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9448 expectations.
9449 [UNIX98] (pthread_barrier_t): Do not expect.
9450 [UNIX98] (pthread_barrierattr_t): Likewise.
9451 [UNIX98] (pthread_spinlock_t): Likewise.
9452 [UNIX98] (pthread_barrier_destroy): Likewise.
9453 [UNIX98] (pthread_barrier_init): Likewise.
9454 [UNIX98] (pthread_barrier_wait): Likewise.
9455 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9456 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9457 [UNIX98] (pthread_barrierattr_init): Likewise.
9458 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9459 [UNIX98] (pthread_getcpuclockid): Likewise.
9460 [UNIX98] (pthread_mutex_timedlock): Likewise.
9461 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9462 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9463 [UNIX98] (pthread_sigmask): Likewise.
9464 [UNIX98] (pthread_spin_destroy): Likewise.
9465 [UNIX98] (pthread_spin_init): Likewise.
9466 [UNIX98] (pthread_spin_lock): Likewise.
9467 [UNIX98] (pthread_spin_trylock): Likewise.
9468 [UNIX98] (pthread_spin_unlock): Likewise.
9469 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9470 Do not expect.
9471 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9472 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9473 [XPG3 || XPG4] (pthread_cond_t): Likewise.
9474 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9475 [XPG3 || XPG4] (pthread_key_t): Likewise.
9476 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9477 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9478 [XPG3 || XPG4] (pthread_once_t): Likewise.
9479 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9480 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9481 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9482 [XPG3 || XPG4] (pthread_t): Likewise.
9483
cbe6e120
JM
9484 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9485 not expect.
9486 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9487
1b126443
JM
9488 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9489 Change function return type to int.
9490
b961a573
JM
9491 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9492 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9493 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9494 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9495 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9496 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9497 [!POSIX] (posix_madvise): Likewise.
9498 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9499 && !UNIX98].
9500 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9501 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9502 (mode_t): Likewise.
9503 (posix_mem_offset): Likewise.
9504 (posix_typed_mem_get_info): Likewise.
9505 (posix_typed_mem_open): Likewise.
9506
9e188909
JM
9507 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9508 Change condition to [XOPEN2K8].
9509
05bcf62a
JM
9510 * conform/conformtest.pl: Preprocess allow-header data with -x c
9511 instead of from stdin.
9512 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9513 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9514 [C99-based standards] (cerfc): Likewise.
9515 [C99-based standards] (cexp2): Likewise.
9516 [C99-based standards] (cexpm1): Likewise.
9517 [C99-based standards] (clog10): Likewise.
9518 [C99-based standards] (clog1p): Likewise.
9519 [C99-based standards] (clog2): Likewise.
9520 [C99-based standards] (clgamma): Likewise.
9521 [C99-based standards] (ctgamma): Likewise.
9522 [C99-based standards] (cerff): Likewise.
9523 [C99-based standards] (cerfcf): Likewise.
9524 [C99-based standards] (cexp2f): Likewise.
9525 [C99-based standards] (cexpm1f): Likewise.
9526 [C99-based standards] (clog10f): Likewise.
9527 [C99-based standards] (clog1pf): Likewise.
9528 [C99-based standards] (clog2f): Likewise.
9529 [C99-based standards] (clgammaf): Likewise.
9530 [C99-based standards] (ctgammaf): Likewise.
9531 [C99-based standards] (cerfl): Likewise.
9532 [C99-based standards] (cerfcl): Likewise.
9533 [C99-based standards] (cexp2l): Likewise.
9534 [C99-based standards] (cexpm1l): Likewise.
9535 [C99-based standards] (clog10l): Likewise.
9536 [C99-based standards] (clog1pl): Likewise.
9537 [C99-based standards] (clog2l): Likewise.
9538 [C99-based standards] (clgammal): Likewise.
9539 [C99-based standards] (ctgammal): Likewise.
9540 * conform/data/inttypes.h-data [C99-based standards]: Include
9541 stdint.h-data. Remove all expectations for stdint.h contents.
9542 [C99-based standards] (PRI*): Do not allow.
9543 [C99-based standards] (SCN*): Likewise.
9544 [C99-based standards] (*_t): Likewise.
9545 [C99-based-standards] (PRId8): Expect macro.
9546 [C99-based-standards] (PRIi8): Likewise.
9547 [C99-based-standards] (PRIo8): Likewise.
9548 [C99-based-standards] (PRIu8): Likewise.
9549 [C99-based-standards] (PRIx8): Likewise.
9550 [C99-based-standards] (PRIX8): Likewise.
9551 [C99-based-standards] (SCNd8): Likewise.
9552 [C99-based-standards] (SCNi8): Likewise.
9553 [C99-based-standards] (SCNo8): Likewise.
9554 [C99-based-standards] (SCNu8): Likewise.
9555 [C99-based-standards] (SCNx8): Likewise.
9556 [C99-based-standards] (PRIdLEAST8): Likewise.
9557 [C99-based-standards] (PRIiLEAST8): Likewise.
9558 [C99-based-standards] (PRIoLEAST8): Likewise.
9559 [C99-based-standards] (PRIuLEAST8): Likewise.
9560 [C99-based-standards] (PRIxLEAST8): Likewise.
9561 [C99-based-standards] (PRIXLEAST8): Likewise.
9562 [C99-based-standards] (SCNdLEAST8): Likewise.
9563 [C99-based-standards] (SCNiLEAST8): Likewise.
9564 [C99-based-standards] (SCNoLEAST8): Likewise.
9565 [C99-based-standards] (SCNuLEAST8): Likewise.
9566 [C99-based-standards] (SCNxLEAST8): Likewise.
9567 [C99-based-standards] (PRIdFAST8): Likewise.
9568 [C99-based-standards] (PRIiFAST8): Likewise.
9569 [C99-based-standards] (PRIoFAST8): Likewise.
9570 [C99-based-standards] (PRIuFAST8): Likewise.
9571 [C99-based-standards] (PRIxFAST8): Likewise.
9572 [C99-based-standards] (PRIXFAST8): Likewise.
9573 [C99-based-standards] (SCNdFAST8): Likewise.
9574 [C99-based-standards] (SCNiFAST8): Likewise.
9575 [C99-based-standards] (SCNoFAST8): Likewise.
9576 [C99-based-standards] (SCNuFAST8): Likewise.
9577 [C99-based-standards] (SCNxFAST8): Likewise.
9578 [C99-based-standards] (PRId16): Likewise.
9579 [C99-based-standards] (PRIi16): Likewise.
9580 [C99-based-standards] (PRIo16): Likewise.
9581 [C99-based-standards] (PRIu16): Likewise.
9582 [C99-based-standards] (PRIx16): Likewise.
9583 [C99-based-standards] (PRIX16): Likewise.
9584 [C99-based-standards] (SCNd16): Likewise.
9585 [C99-based-standards] (SCNi16): Likewise.
9586 [C99-based-standards] (SCNo16): Likewise.
9587 [C99-based-standards] (SCNu16): Likewise.
9588 [C99-based-standards] (SCNx16): Likewise.
9589 [C99-based-standards] (PRIdLEAST16): Likewise.
9590 [C99-based-standards] (PRIiLEAST16): Likewise.
9591 [C99-based-standards] (PRIoLEAST16): Likewise.
9592 [C99-based-standards] (PRIuLEAST16): Likewise.
9593 [C99-based-standards] (PRIxLEAST16): Likewise.
9594 [C99-based-standards] (PRIXLEAST16): Likewise.
9595 [C99-based-standards] (SCNdLEAST16): Likewise.
9596 [C99-based-standards] (SCNiLEAST16): Likewise.
9597 [C99-based-standards] (SCNoLEAST16): Likewise.
9598 [C99-based-standards] (SCNuLEAST16): Likewise.
9599 [C99-based-standards] (SCNxLEAST16): Likewise.
9600 [C99-based-standards] (PRIdFAST16): Likewise.
9601 [C99-based-standards] (PRIiFAST16): Likewise.
9602 [C99-based-standards] (PRIoFAST16): Likewise.
9603 [C99-based-standards] (PRIuFAST16): Likewise.
9604 [C99-based-standards] (PRIxFAST16): Likewise.
9605 [C99-based-standards] (PRIXFAST16): Likewise.
9606 [C99-based-standards] (SCNdFAST16): Likewise.
9607 [C99-based-standards] (SCNiFAST16): Likewise.
9608 [C99-based-standards] (SCNoFAST16): Likewise.
9609 [C99-based-standards] (SCNuFAST16): Likewise.
9610 [C99-based-standards] (SCNxFAST16): Likewise.
9611 [C99-based-standards] (PRId32): Likewise.
9612 [C99-based-standards] (PRIi32): Likewise.
9613 [C99-based-standards] (PRIo32): Likewise.
9614 [C99-based-standards] (PRIu32): Likewise.
9615 [C99-based-standards] (PRIx32): Likewise.
9616 [C99-based-standards] (PRIX32): Likewise.
9617 [C99-based-standards] (SCNd32): Likewise.
9618 [C99-based-standards] (SCNi32): Likewise.
9619 [C99-based-standards] (SCNo32): Likewise.
9620 [C99-based-standards] (SCNu32): Likewise.
9621 [C99-based-standards] (SCNx32): Likewise.
9622 [C99-based-standards] (PRIdLEAST32): Likewise.
9623 [C99-based-standards] (PRIiLEAST32): Likewise.
9624 [C99-based-standards] (PRIoLEAST32): Likewise.
9625 [C99-based-standards] (PRIuLEAST32): Likewise.
9626 [C99-based-standards] (PRIxLEAST32): Likewise.
9627 [C99-based-standards] (PRIXLEAST32): Likewise.
9628 [C99-based-standards] (SCNdLEAST32): Likewise.
9629 [C99-based-standards] (SCNiLEAST32): Likewise.
9630 [C99-based-standards] (SCNoLEAST32): Likewise.
9631 [C99-based-standards] (SCNuLEAST32): Likewise.
9632 [C99-based-standards] (SCNxLEAST32): Likewise.
9633 [C99-based-standards] (PRIdFAST32): Likewise.
9634 [C99-based-standards] (PRIiFAST32): Likewise.
9635 [C99-based-standards] (PRIoFAST32): Likewise.
9636 [C99-based-standards] (PRIuFAST32): Likewise.
9637 [C99-based-standards] (PRIxFAST32): Likewise.
9638 [C99-based-standards] (PRIXFAST32): Likewise.
9639 [C99-based-standards] (SCNdFAST32): Likewise.
9640 [C99-based-standards] (SCNiFAST32): Likewise.
9641 [C99-based-standards] (SCNoFAST32): Likewise.
9642 [C99-based-standards] (SCNuFAST32): Likewise.
9643 [C99-based-standards] (SCNxFAST32): Likewise.
9644 [C99-based-standards] (PRId64): Likewise.
9645 [C99-based-standards] (PRIi64): Likewise.
9646 [C99-based-standards] (PRIo64): Likewise.
9647 [C99-based-standards] (PRIu64): Likewise.
9648 [C99-based-standards] (PRIx64): Likewise.
9649 [C99-based-standards] (PRIX64): Likewise.
9650 [C99-based-standards] (SCNd64): Likewise.
9651 [C99-based-standards] (SCNi64): Likewise.
9652 [C99-based-standards] (SCNo64): Likewise.
9653 [C99-based-standards] (SCNu64): Likewise.
9654 [C99-based-standards] (SCNx64): Likewise.
9655 [C99-based-standards] (PRIdLEAST64): Likewise.
9656 [C99-based-standards] (PRIiLEAST64): Likewise.
9657 [C99-based-standards] (PRIoLEAST64): Likewise.
9658 [C99-based-standards] (PRIuLEAST64): Likewise.
9659 [C99-based-standards] (PRIxLEAST64): Likewise.
9660 [C99-based-standards] (PRIXLEAST64): Likewise.
9661 [C99-based-standards] (SCNdLEAST64): Likewise.
9662 [C99-based-standards] (SCNiLEAST64): Likewise.
9663 [C99-based-standards] (SCNoLEAST64): Likewise.
9664 [C99-based-standards] (SCNuLEAST64): Likewise.
9665 [C99-based-standards] (SCNxLEAST64): Likewise.
9666 [C99-based-standards] (PRIdFAST64): Likewise.
9667 [C99-based-standards] (PRIiFAST64): Likewise.
9668 [C99-based-standards] (PRIoFAST64): Likewise.
9669 [C99-based-standards] (PRIuFAST64): Likewise.
9670 [C99-based-standards] (PRIxFAST64): Likewise.
9671 [C99-based-standards] (PRIXFAST64): Likewise.
9672 [C99-based-standards] (SCNdFAST64): Likewise.
9673 [C99-based-standards] (SCNiFAST64): Likewise.
9674 [C99-based-standards] (SCNoFAST64): Likewise.
9675 [C99-based-standards] (SCNuFAST64): Likewise.
9676 [C99-based-standards] (SCNxFAST64): Likewise.
9677 [C99-based-standards] (PRIdMAX): Likewise.
9678 [C99-based-standards] (PRIiMAX): Likewise.
9679 [C99-based-standards] (PRIoMAX): Likewise.
9680 [C99-based-standards] (PRIuMAX): Likewise.
9681 [C99-based-standards] (PRIxMAX): Likewise.
9682 [C99-based-standards] (PRIXMAX): Likewise.
9683 [C99-based-standards] (SCNdMAX): Likewise.
9684 [C99-based-standards] (SCNiMAX): Likewise.
9685 [C99-based-standards] (SCNoMAX): Likewise.
9686 [C99-based-standards] (SCNuMAX): Likewise.
9687 [C99-based-standards] (SCNxMAX): Likewise.
9688 [C99-based-standards] (PRIdPTR): Likewise.
9689 [C99-based-standards] (PRIiPTR): Likewise.
9690 [C99-based-standards] (PRIoPTR): Likewise.
9691 [C99-based-standards] (PRIuPTR): Likewise.
9692 [C99-based-standards] (PRIxPTR): Likewise.
9693 [C99-based-standards] (PRIXPTR): Likewise.
9694 [C99-based-standards] (SCNdPTR): Likewise.
9695 [C99-based-standards] (SCNiPTR): Likewise.
9696 [C99-based-standards] (SCNoPTR): Likewise.
9697 [C99-based-standards] (SCNuPTR): Likewise.
9698 [C99-based-standards] (SCNxPTR): Likewise.
9699 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9700 allow.
9701 * conform/data/stdint.h-data: Update comments to clarify
9702 requirements.
9703 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
9704 type.
9705 [C99-based standards] (INT8_MAX): Likewise.
9706 [C99-based standards] (INT16_MIN): Likewise.
9707 [C99-based standards] (INT16_MAX): Likewise.
9708 [C99-based standards] (INT32_MIN): Likewise.
9709 [C99-based standards] (INT32_MAX): Likewise.
9710 [C99-based standards] (INT64_MIN): Likewise.
9711 [C99-based standards] (INT64_MAX): Likewise.
9712 [C99-based standards] (UINT8_MAX): Likewise.
9713 [C99-based standards] (UINT16_MAX): Likewise.
9714 [C99-based standards] (UINT32_MAX): Likewise.
9715 [C99-based standards] (UINT64_MAX): Likewise.
9716 [C99-based standards] (INT_LEAST8_MIN): Likewise.
9717 [C99-based standards] (INT_LEAST8_MAX): Likewise.
9718 [C99-based standards] (INT_LEAST16_MIN): Likewise.
9719 [C99-based standards] (INT_LEAST16_MAX): Likewise.
9720 [C99-based standards] (INT_LEAST32_MIN): Likewise.
9721 [C99-based standards] (INT_LEAST32_MAX): Likewise.
9722 [C99-based standards] (INT_LEAST64_MIN): Likewise.
9723 [C99-based standards] (INT_LEAST64_MAX): Likewise.
9724 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9725 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9726 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9727 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9728 [C99-based standards] (INT_FAST8_MIN): Likewise.
9729 [C99-based standards] (INT_FAST8_MAX): Likewise.
9730 [C99-based standards] (INT_FAST16_MIN): Likewise.
9731 [C99-based standards] (INT_FAST16_MAX): Likewise.
9732 [C99-based standards] (INT_FAST32_MIN): Likewise.
9733 [C99-based standards] (INT_FAST32_MAX): Likewise.
9734 [C99-based standards] (INT_FAST64_MIN): Likewise.
9735 [C99-based standards] (INT_FAST64_MAX): Likewise.
9736 [C99-based standards] (UINT_FAST8_MAX): Likewise.
9737 [C99-based standards] (UINT_FAST16_MAX): Likewise.
9738 [C99-based standards] (UINT_FAST32_MAX): Likewise.
9739 [C99-based standards] (UINT_FAST64_MAX): Likewise.
9740 [C99-based standards] (INTPTR_MIN): Likewise.
9741 [C99-based standards] (INTPTR_MAX): Likewise.
9742 [C99-based standards] (UINTPTR_MAX): Likewise.
9743 [C99-based standards] (INTMAX_MIN): Likewise.
9744 [C99-based standards] (INTMAX_MAX): Likewise.
9745 [C99-based standards] (UINTMAX_MAX): Likewise.
9746 [C99-based standards] (PTRDIFF_MIN): Likewise.
9747 [C99-based standards] (PTRDIFF_MAX): Likewise.
9748 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
9749 [C99-based standards] (SIZE_MAX): Likewise.
9750 [C99-based standards] (WCHAR_MAX): Likewise.
9751 [C99-based standards] (WINT_MAX): Likewise.
9752 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
9753 constraint on value.
9754 [C99-based standards] (WCHAR_MIN): Likewise.
9755 [C99-based standards] (WINT_MIN): Likewise.
9756 [C99-based standards] (*_t): Allow.
9757 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
9758 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
9759 Include math.h-data and complex.h-data. Remove all expectations
9760 of math.h and complex.h contents.
9761 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
9762 at end of line.
9763 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
9764 (struct tm): Expect tag.
9765 [C99-based-standards] (wcstof): Expect function.
9766 [C99-based-standards] (wcstold): Likewise.
9767 [C99-based-standards] (wcstoll): Likewise.
9768 [C99-based-standards] (wcstoull): Likewise.
9769 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
9770 macro-int-constant. Specify type.
9771 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
9772 constraint on value.
9773 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9774 Specify type.
9775 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
9776 Specify value.
9777 [ISO C standards]: Do not allow headers.
9778 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
9779 wcs[abcdefghijklmnopqrstuvwxyz]*.
9780 [ISO C standards] (*_t): Do not allow.
9781 * conform/data/wctype.h-data [C99-based standards] (iswblank):
9782 Expect function.
9783 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
9784 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9785 Specify type.
9786 [ISO C standards]: Do not allow headers.
9787 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
9788 is[abcdefghijklmnopqrstuvwxyz]*.
9789 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
9790 to[abcdefghijklmnopqrstuvwxyz]*.
9791 [ISO C standards] (*_t): Do not allow.
9792 * conform/data/stdalign.h-data: New file.
9793 * conform/data/stdbool.h-data: Likewise.
9794 * conform/data/stdnoreturn.h-data: Likewise.
9795
7514feb8
RM
97962012-11-07 Roland McGrath <roland@hack.frob.com>
9797
9798 [BZ #14815]
9799 * manual/filesys.texi (Directory Entries): Typo fix.
9800 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
9801
19b2ecfc
MS
98022012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9803
9804 * elf/elf.h (EM_AARCH64): New macro.
9805 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
9806 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
9807 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
9808 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
9809 (R_AARCH64_TLSDESC): Likewise.
9810 (NT_ARM_TLS): Likewise.
9811 (NT_ARM_HW_BREAK): Likewise.
9812 (NT_ARM_HW_WATCH): Likewise.
9813
60e235ee
JM
98142012-11-07 Joseph Myers <joseph@codesourcery.com>
9815
9816 [BZ #14811]
9817 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
9818 (__ieee754_powl): Saturate nonzero exponents with absolute value
9819 below 0x1p-79 to +/- 0x1p-79.
9820 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
9821 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
9822 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
9823 nonzero exponents with absolute value below 0x1p-32 to +/-
9824 0x1p-32.
9825 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
9826 (__ieee754_powl): Saturate nonzero exponents with absolute value
9827 below 0x1p-79 to +/- 0x1p-79.
9828 * math/libm-test.inc (pow_test): Add more tests.
9829
0ab234b7
AK
98302012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9831
9832 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
9833 _dl_s390_cap_flags with kernel. Increase string length.
9834 (_dl_s390_platforms): Add z196 and zEC12.
9835
45832f74
JM
98362012-11-07 Joseph Myers <joseph@codesourcery.com>
9837
9838 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
9839 Change XOPEN21K to XOPEN2K.
9840
19218757
MK
98412012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
9842
9843 * string/memmove.c: Use memcpy when possible.
9844
c5f45721
AJ
98452012-11-06 Andreas Jaeger <aj@suse.de>
9846
9847 * po/eo.po: Update from translation team.
9848
82477c28
JM
98492012-11-06 Joseph Myers <joseph@codesourcery.com>
9850
9851 [BZ #14793]
9852 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
9853 exponent and small x and y exponents, scale x or y up. Increase
9854 by 2 the exponent used in scaling up.
9855 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9856 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9857 * math/libm-test.inc (fma_test): Add more tests.
9858 (fma_test_towardzero): Likewise.
9859 (fma_test_downward): Likewise.
9860 (fma_test_upward): Likewise.
9861
99252c8c
JM
98622012-11-05 Joseph Myers <joseph@codesourcery.com>
9863
acfa885f
JM
9864 [BZ #14805]
9865 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
9866 fenv_t *.
9867
99252c8c
JM
9868 [BZ #14801]
9869 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
9870 namespace for names of struct fields.
9871 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
9872 fenv_t fields.
9873 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9874 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
9875
d6d98dea
ST
98762012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9877
9878 [BZ #3665]
9879 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
9880
e10bb107
TS
98812012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9882
9883 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
9884 PTR_DEMANGLE.
9885
9886 [BZ #5246]
9887 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
9888 PTR_DEMANGLE.
9889
a0c2940d
JM
98902012-11-04 Joseph Myers <joseph@codesourcery.com>
9891
9892 [BZ #14797]
9893 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
9894 definitely overflow as x * y not x * y + z.
9895 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9896 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9897 * math/libm-test.inc (fma_test): Add more tests.
9898 (fma_test_towardzero): Likewise.
9899 (fma_test_downward): Likewise.
9900 (fma_test_upward): Likewise.
9901
b830319d
TS
99022012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9903
9904 [BZ #157]
9905
9906 * include/stub-tag.h: Remove file.
9907 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
9908 '#include' of it.
9909 * manual/maint.texi (Porting): Don't reference it.
9910 * Makerules ($(objpfx)stubs): Likewise.
9911 * dirent/closedir.c: Don't include <stub-tag.h>.
9912 * dirent/dirfd.c: Likewise.
9913 * dirent/fdopendir.c: Likewise.
9914 * dirent/getdents.c: Likewise.
9915 * dirent/getdents64.c: Likewise.
9916 * dirent/opendir.c: Likewise.
9917 * dirent/readdir.c: Likewise.
9918 * dirent/readdir64.c: Likewise.
9919 * dirent/readdir64_r.c: Likewise.
9920 * dirent/readdir_r.c: Likewise.
9921 * dirent/rewinddir.c: Likewise.
9922 * dirent/seekdir.c: Likewise.
9923 * dirent/telldir.c: Likewise.
9924 * gmon/profil.c: Likewise.
9925 * grp/setgroups.c: Likewise.
9926 * inet/if_index.c: Likewise.
9927 * io/access.c: Likewise.
9928 * io/chdir.c: Likewise.
9929 * io/chmod.c: Likewise.
9930 * io/chown.c: Likewise.
9931 * io/close.c: Likewise.
9932 * io/dup.c: Likewise.
9933 * io/dup2.c: Likewise.
9934 * io/dup3.c: Likewise.
9935 * io/euidaccess.c: Likewise.
9936 * io/faccessat.c: Likewise.
9937 * io/fchdir.c: Likewise.
9938 * io/fchmod.c: Likewise.
9939 * io/fchmodat.c: Likewise.
9940 * io/fchown.c: Likewise.
9941 * io/fchownat.c: Likewise.
9942 * io/fcntl.c: Likewise.
9943 * io/flock.c: Likewise.
9944 * io/fstatfs.c: Likewise.
9945 * io/fstatfs64.c: Likewise.
9946 * io/fstatvfs.c: Likewise.
9947 * io/fstatvfs64.c: Likewise.
9948 * io/futimens.c: Likewise.
9949 * io/fxstat.c: Likewise.
9950 * io/fxstat64.c: Likewise.
9951 * io/fxstatat.c: Likewise.
9952 * io/fxstatat64.c: Likewise.
9953 * io/getcwd.c: Likewise.
9954 * io/isatty.c: Likewise.
9955 * io/lchmod.c: Likewise.
9956 * io/lchown.c: Likewise.
9957 * io/link.c: Likewise.
9958 * io/linkat.c: Likewise.
9959 * io/lseek.c: Likewise.
9960 * io/lseek64.c: Likewise.
9961 * io/lxstat64.c: Likewise.
9962 * io/mkdir.c: Likewise.
9963 * io/mkdirat.c: Likewise.
9964 * io/mkfifo.c: Likewise.
9965 * io/mkfifoat.c: Likewise.
9966 * io/open.c: Likewise.
9967 * io/open64.c: Likewise.
9968 * io/openat.c: Likewise.
9969 * io/openat64.c: Likewise.
9970 * io/pipe.c: Likewise.
9971 * io/pipe2.c: Likewise.
9972 * io/poll.c: Likewise.
9973 * io/posix_fadvise.c: Likewise.
9974 * io/posix_fadvise64.c: Likewise.
9975 * io/posix_fallocate.c: Likewise.
9976 * io/posix_fallocate64.c: Likewise.
9977 * io/read.c: Likewise.
9978 * io/readlink.c: Likewise.
9979 * io/readlinkat.c: Likewise.
9980 * io/rmdir.c: Likewise.
9981 * io/sendfile.c: Likewise.
9982 * io/sendfile64.c: Likewise.
9983 * io/statfs.c: Likewise.
9984 * io/statfs64.c: Likewise.
9985 * io/statvfs.c: Likewise.
9986 * io/statvfs64.c: Likewise.
9987 * io/symlink.c: Likewise.
9988 * io/symlinkat.c: Likewise.
9989 * io/ttyname.c: Likewise.
9990 * io/ttyname_r.c: Likewise.
9991 * io/umask.c: Likewise.
9992 * io/unlink.c: Likewise.
9993 * io/unlinkat.c: Likewise.
9994 * io/utime.c: Likewise.
9995 * io/utimensat.c: Likewise.
9996 * io/write.c: Likewise.
9997 * io/xmknod.c: Likewise.
9998 * io/xmknodat.c: Likewise.
9999 * io/xstat.c: Likewise.
10000 * io/xstat64.c: Likewise.
10001 * login/getpt.c: Likewise.
10002 * login/grantpt.c: Likewise.
10003 * login/unlockpt.c: Likewise.
10004 * math/e_acoshl.c: Likewise.
10005 * math/e_acosl.c: Likewise.
10006 * math/e_asinl.c: Likewise.
10007 * math/e_atan2l.c: Likewise.
10008 * math/e_atanhl.c: Likewise.
10009 * math/e_coshl.c: Likewise.
10010 * math/e_expl.c: Likewise.
10011 * math/e_fmodl.c: Likewise.
10012 * math/e_gammal_r.c: Likewise.
10013 * math/e_hypotl.c: Likewise.
10014 * math/e_j0l.c: Likewise.
10015 * math/e_j1l.c: Likewise.
10016 * math/e_jnl.c: Likewise.
10017 * math/e_lgammal_r.c: Likewise.
10018 * math/e_log10l.c: Likewise.
10019 * math/e_log2l.c: Likewise.
10020 * math/e_logl.c: Likewise.
10021 * math/e_powl.c: Likewise.
10022 * math/e_rem_pio2l.c: Likewise.
10023 * math/e_sinhl.c: Likewise.
10024 * math/e_sqrtl.c: Likewise.
10025 * math/fclrexcpt.c: Likewise.
10026 * math/fedisblxcpt.c: Likewise.
10027 * math/feenablxcpt.c: Likewise.
10028 * math/fegetenv.c: Likewise.
10029 * math/fegetexcept.c: Likewise.
10030 * math/fegetround.c: Likewise.
10031 * math/feholdexcpt.c: Likewise.
10032 * math/fesetenv.c: Likewise.
10033 * math/fesetround.c: Likewise.
10034 * math/feupdateenv.c: Likewise.
10035 * math/fgetexcptflg.c: Likewise.
10036 * math/fraiseexcpt.c: Likewise.
10037 * math/fsetexcptflg.c: Likewise.
10038 * math/ftestexcept.c: Likewise.
10039 * math/k_cosl.c: Likewise.
10040 * math/k_rem_pio2l.c: Likewise.
10041 * math/k_sinl.c: Likewise.
10042 * math/k_tanl.c: Likewise.
10043 * math/s_asinhl.c: Likewise.
10044 * math/s_atanl.c: Likewise.
10045 * math/s_cbrtl.c: Likewise.
10046 * math/s_erfl.c: Likewise.
10047 * math/s_expm1l.c: Likewise.
10048 * math/s_log1pl.c: Likewise.
10049 * math/s_tanhl.c: Likewise.
10050 * misc/acct.c: Likewise.
10051 * misc/brk.c: Likewise.
10052 * misc/chflags.c: Likewise.
10053 * misc/chroot.c: Likewise.
10054 * misc/fchflags.c: Likewise.
10055 * misc/fgetxattr.c: Likewise.
10056 * misc/flistxattr.c: Likewise.
10057 * misc/fremovexattr.c: Likewise.
10058 * misc/fsetxattr.c: Likewise.
10059 * misc/fsync.c: Likewise.
10060 * misc/ftruncate.c: Likewise.
10061 * misc/futimes.c: Likewise.
10062 * misc/futimesat.c: Likewise.
10063 * misc/getdomain.c: Likewise.
10064 * misc/getdtsz.c: Likewise.
10065 * misc/gethostid.c: Likewise.
10066 * misc/gethostname.c: Likewise.
10067 * misc/getloadavg.c: Likewise.
10068 * misc/getpagesize.c: Likewise.
10069 * misc/getsysstats.c: Likewise.
10070 * misc/getxattr.c: Likewise.
10071 * misc/gtty.c: Likewise.
10072 * misc/ioctl.c: Likewise.
10073 * misc/lgetxattr.c: Likewise.
10074 * misc/listxattr.c: Likewise.
10075 * misc/llistxattr.c: Likewise.
10076 * misc/lremovexattr.c: Likewise.
10077 * misc/lsetxattr.c: Likewise.
10078 * misc/lutimes.c: Likewise.
10079 * misc/madvise.c: Likewise.
10080 * misc/mincore.c: Likewise.
10081 * misc/mlock.c: Likewise.
10082 * misc/mlockall.c: Likewise.
10083 * misc/mmap.c: Likewise.
10084 * misc/mprotect.c: Likewise.
10085 * misc/msync.c: Likewise.
10086 * misc/munlock.c: Likewise.
10087 * misc/munlockall.c: Likewise.
10088 * misc/munmap.c: Likewise.
10089 * misc/preadv.c: Likewise.
10090 * misc/preadv64.c: Likewise.
10091 * misc/ptrace.c: Likewise.
10092 * misc/pwritev.c: Likewise.
10093 * misc/pwritev64.c: Likewise.
10094 * misc/readv.c: Likewise.
10095 * misc/reboot.c: Likewise.
10096 * misc/remap_file_pages.c: Likewise.
10097 * misc/removexattr.c: Likewise.
10098 * misc/revoke.c: Likewise.
10099 * misc/select.c: Likewise.
10100 * misc/setdomain.c: Likewise.
10101 * misc/setegid.c: Likewise.
10102 * misc/seteuid.c: Likewise.
10103 * misc/sethostid.c: Likewise.
10104 * misc/sethostname.c: Likewise.
10105 * misc/setregid.c: Likewise.
10106 * misc/setreuid.c: Likewise.
10107 * misc/setxattr.c: Likewise.
10108 * misc/sstk.c: Likewise.
10109 * misc/stty.c: Likewise.
10110 * misc/swapoff.c: Likewise.
10111 * misc/swapon.c: Likewise.
10112 * misc/sync.c: Likewise.
10113 * misc/syncfs.c: Likewise.
10114 * misc/syscall.c: Likewise.
10115 * misc/truncate.c: Likewise.
10116 * misc/ualarm.c: Likewise.
10117 * misc/usleep.c: Likewise.
10118 * misc/ustat.c: Likewise.
10119 * misc/utimes.c: Likewise.
10120 * misc/vhangup.c: Likewise.
10121 * misc/writev.c: Likewise.
10122 * posix/_exit.c: Likewise.
10123 * posix/alarm.c: Likewise.
10124 * posix/execve.c: Likewise.
10125 * posix/fexecve.c: Likewise.
10126 * posix/fork.c: Likewise.
10127 * posix/fpathconf.c: Likewise.
10128 * posix/getaddrinfo.c: Likewise.
10129 * posix/getegid.c: Likewise.
10130 * posix/geteuid.c: Likewise.
10131 * posix/getgid.c: Likewise.
10132 * posix/getgroups.c: Likewise.
10133 * posix/getlogin.c: Likewise.
10134 * posix/getlogin_r.c: Likewise.
10135 * posix/getpgid.c: Likewise.
10136 * posix/getpid.c: Likewise.
10137 * posix/getppid.c: Likewise.
10138 * posix/getresgid.c: Likewise.
10139 * posix/getresuid.c: Likewise.
10140 * posix/getsid.c: Likewise.
10141 * posix/getuid.c: Likewise.
10142 * posix/glob64.c: Likewise.
10143 * posix/nanosleep.c: Likewise.
10144 * posix/pathconf.c: Likewise.
10145 * posix/pause.c: Likewise.
10146 * posix/posix_madvise.c: Likewise.
10147 * posix/pread.c: Likewise.
10148 * posix/pread64.c: Likewise.
10149 * posix/pwrite.c: Likewise.
10150 * posix/pwrite64.c: Likewise.
10151 * posix/sched_getaffinity.c: Likewise.
10152 * posix/sched_getp.c: Likewise.
10153 * posix/sched_gets.c: Likewise.
10154 * posix/sched_primax.c: Likewise.
10155 * posix/sched_primin.c: Likewise.
10156 * posix/sched_rr_gi.c: Likewise.
10157 * posix/sched_setaffinity.c: Likewise.
10158 * posix/sched_setp.c: Likewise.
10159 * posix/sched_sets.c: Likewise.
10160 * posix/sched_yield.c: Likewise.
10161 * posix/setgid.c: Likewise.
10162 * posix/setlogin.c: Likewise.
10163 * posix/setpgid.c: Likewise.
10164 * posix/setresgid.c: Likewise.
10165 * posix/setresuid.c: Likewise.
10166 * posix/setsid.c: Likewise.
10167 * posix/setuid.c: Likewise.
10168 * posix/sleep.c: Likewise.
10169 * posix/spawni.c: Likewise.
10170 * posix/sysconf.c: Likewise.
10171 * posix/times.c: Likewise.
10172 * posix/wait.c: Likewise.
10173 * posix/wait3.c: Likewise.
10174 * posix/wait4.c: Likewise.
10175 * posix/waitpid.c: Likewise.
10176 * resolv/gai_sigqueue.c: Likewise.
10177 * resource/getpriority.c: Likewise.
10178 * resource/getrlimit.c: Likewise.
10179 * resource/getrusage.c: Likewise.
10180 * resource/nice.c: Likewise.
10181 * resource/setpriority.c: Likewise.
10182 * resource/setrlimit.c: Likewise.
10183 * resource/ulimit.c: Likewise.
10184 * rt/aio_cancel.c: Likewise.
10185 * rt/aio_fsync.c: Likewise.
10186 * rt/aio_read.c: Likewise.
10187 * rt/aio_sigqueue.c: Likewise.
10188 * rt/aio_suspend.c: Likewise.
10189 * rt/aio_write.c: Likewise.
10190 * rt/clock_getres.c: Likewise.
10191 * rt/clock_gettime.c: Likewise.
10192 * rt/clock_nanosleep.c: Likewise.
10193 * rt/clock_settime.c: Likewise.
10194 * rt/lio_listio.c: Likewise.
10195 * rt/mq_close.c: Likewise.
10196 * rt/mq_getattr.c: Likewise.
10197 * rt/mq_notify.c: Likewise.
10198 * rt/mq_open.c: Likewise.
10199 * rt/mq_receive.c: Likewise.
10200 * rt/mq_send.c: Likewise.
10201 * rt/mq_setattr.c: Likewise.
10202 * rt/mq_timedreceive.c: Likewise.
10203 * rt/mq_timedsend.c: Likewise.
10204 * rt/mq_unlink.c: Likewise.
10205 * rt/shm_open.c: Likewise.
10206 * rt/shm_unlink.c: Likewise.
10207 * rt/timer_create.c: Likewise.
10208 * rt/timer_delete.c: Likewise.
10209 * rt/timer_getoverr.c: Likewise.
10210 * rt/timer_gettime.c: Likewise.
10211 * rt/timer_settime.c: Likewise.
10212 * setjmp/__longjmp.c: Likewise.
10213 * setjmp/setjmp.c: Likewise.
10214 * signal/kill.c: Likewise.
10215 * signal/killpg.c: Likewise.
10216 * signal/raise.c: Likewise.
10217 * signal/sigaction.c: Likewise.
10218 * signal/sigaltstack.c: Likewise.
10219 * signal/sigblock.c: Likewise.
10220 * signal/sigignore.c: Likewise.
10221 * signal/sigintr.c: Likewise.
10222 * signal/signal.c: Likewise.
10223 * signal/sigpause.c: Likewise.
10224 * signal/sigpending.c: Likewise.
10225 * signal/sigqueue.c: Likewise.
10226 * signal/sigreturn.c: Likewise.
10227 * signal/sigset.c: Likewise.
10228 * signal/sigsetmask.c: Likewise.
10229 * signal/sigstack.c: Likewise.
10230 * signal/sigsuspend.c: Likewise.
10231 * signal/sigtimedwait.c: Likewise.
10232 * signal/sigvec.c: Likewise.
10233 * signal/sigwait.c: Likewise.
10234 * signal/sigwaitinfo.c: Likewise.
10235 * signal/sysv_signal.c: Likewise.
10236 * socket/accept.c: Likewise.
10237 * socket/accept4.c: Likewise.
10238 * socket/bind.c: Likewise.
10239 * socket/connect.c: Likewise.
10240 * socket/getpeername.c: Likewise.
10241 * socket/getsockname.c: Likewise.
10242 * socket/getsockopt.c: Likewise.
10243 * socket/isfdtype.c: Likewise.
10244 * socket/listen.c: Likewise.
10245 * socket/recv.c: Likewise.
10246 * socket/recvfrom.c: Likewise.
10247 * socket/recvmsg.c: Likewise.
10248 * socket/send.c: Likewise.
10249 * socket/sendmsg.c: Likewise.
10250 * socket/sendto.c: Likewise.
10251 * socket/setsockopt.c: Likewise.
10252 * socket/shutdown.c: Likewise.
10253 * socket/sockatmark.c: Likewise.
10254 * socket/socket.c: Likewise.
10255 * socket/socketpair.c: Likewise.
10256 * stdio-common/ctermid.c: Likewise.
10257 * stdio-common/cuserid.c: Likewise.
10258 * stdio-common/remove.c: Likewise.
10259 * stdio-common/rename.c: Likewise.
10260 * stdio-common/renameat.c: Likewise.
10261 * stdio-common/tempname.c: Likewise.
10262 * stdlib/getcontext.c: Likewise.
10263 * stdlib/makecontext.c: Likewise.
10264 * stdlib/setcontext.c: Likewise.
10265 * stdlib/swapcontext.c: Likewise.
10266 * stdlib/system.c: Likewise.
10267 * streams/fattach.c: Likewise.
10268 * streams/fdetach.c: Likewise.
10269 * streams/getmsg.c: Likewise.
10270 * streams/getpmsg.c: Likewise.
10271 * streams/putmsg.c: Likewise.
10272 * streams/putpmsg.c: Likewise.
10273 * sysdeps/unix/bsd/getpt.c: Likewise.
10274 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10275 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10276 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10278 Likewise.
10279 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10280 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10281 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10282 * sysvipc/msgctl.c: Likewise.
10283 * sysvipc/msgget.c: Likewise.
10284 * sysvipc/msgrcv.c: Likewise.
10285 * sysvipc/msgsnd.c: Likewise.
10286 * sysvipc/semctl.c: Likewise.
10287 * sysvipc/semget.c: Likewise.
10288 * sysvipc/semop.c: Likewise.
10289 * sysvipc/semtimedop.c: Likewise.
10290 * sysvipc/shmat.c: Likewise.
10291 * sysvipc/shmctl.c: Likewise.
10292 * sysvipc/shmdt.c: Likewise.
10293 * sysvipc/shmget.c: Likewise.
10294 * termios/tcdrain.c: Likewise.
10295 * termios/tcflow.c: Likewise.
10296 * termios/tcflush.c: Likewise.
10297 * termios/tcgetattr.c: Likewise.
10298 * termios/tcgetpgrp.c: Likewise.
10299 * termios/tcsendbrk.c: Likewise.
10300 * termios/tcsetattr.c: Likewise.
10301 * termios/tcsetpgrp.c: Likewise.
10302 * time/adjtime.c: Likewise.
10303 * time/clock.c: Likewise.
10304 * time/getitimer.c: Likewise.
10305 * time/gettimeofday.c: Likewise.
10306 * time/setitimer.c: Likewise.
10307 * time/settimeofday.c: Likewise.
10308 * time/stime.c: Likewise.
10309 * time/time.c: Likewise.
10310
103112012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 10312
a20492cf
PT
10313 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10314 /usr/old/bin.
10315
72e182e3
PT
10316 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10317 instead of spaces.
10318 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10319
fbeafede
JM
103202012-11-03 Joseph Myers <joseph@codesourcery.com>
10321
5b5b04d6
JM
10322 [BZ #14796]
10323 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10324 FE_TONEAREST before applying Dekker multiplication and Knuth
10325 addition. Clear inexact exceptions and check for exact zero
10326 results afterwards.
10327 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10328 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10329 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10330 * math/libm-test.inc (fma_test): Add more tests.
10331 (fma_test_towardzero): Likewise.
10332 (fma_test_downward): Likewise.
10333 (fma_test_upward): Likewise.
10334 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10335 function.
10336 (libc_fesetround): New macro.
10337 (libc_fesetroundf): Likewise.
10338 (libc_fesetroundl): Likewise.
10339 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10340 function.
10341 (libc_fesetround_387): Likewise.
10342 (libc_fesetroundf): New macro.
10343 (libc_fesetround): Likewise.
10344 (libc_fesetroundl): Likewise.
10345 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10346 function.
10347 (libc_fesetroundf): New macro.
10348 (libc_fesetround): Likewise.
10349 (libc_fesetroundl): Likewise.
10350 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10351 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10352 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10353 libm_hidden_ver.
10354 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10355 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10356 libm_hidden_def.
10357 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10358 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10359 libm_hidden_ver.
10360 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10361 libm_hidden_def.
10362
fbeafede
JM
10363 [BZ #3439]
10364 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10365 integer constant usable in #if and use that to give value to enum
10366 constant.
10367 (FE_DIVBYZERO): Likewise.
10368 (FE_UNDERFLOW): Likewise.
10369 (FE_OVERFLOW): Likewise.
10370 (FE_INVALID): Likewise.
10371 (FE_INVALID_SNAN): Likewise.
10372 (FE_INVALID_ISI): Likewise.
10373 (FE_INVALID_IDI): Likewise.
10374 (FE_INVALID_ZDZ): Likewise.
10375 (FE_INVALID_IMZ): Likewise.
10376 (FE_INVALID_COMPARE): Likewise.
10377 (FE_INVALID_SOFTWARE): Likewise.
10378 (FE_INVALID_SQRT): Likewise.
10379 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10380 (FE_TONEAREST): Likewise.
10381 (FE_TOWARDZERO): Likewise.
10382 (FE_UPWARD): Likewise.
10383 (FE_DOWNWARD): Likewise.
10384 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10385 (FE_DIVBYZERO): Likewise.
10386 (FE_OVERFLOW): Likewise.
10387 (FE_UNDERFLOW): Likewise.
10388 (FE_INEXACT): Likewise.
10389 (FE_TONEAREST): Likewise.
10390 (FE_DOWNWARD): Likewise.
10391 (FE_UPWARD): Likewise.
10392 (FE_TOWARDZERO): Likewise.
10393 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10394 (FE_UNDERFLOW): Likewise.
10395 (FE_OVERFLOW): Likewise.
10396 (FE_DIVBYZERO): Likewise.
10397 (FE_INVALID): Likewise.
10398 (FE_TONEAREST): Likewise.
10399 (FE_TOWARDZERO): Likewise.
10400 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10401 (FE_OVERFLOW): Likewise.
10402 (FE_UNDERFLOW): Likewise.
10403 (FE_DIVBYZERO): Likewise.
10404 (FE_INEXACT): Likewise.
10405 (FE_TONEAREST): Likewise.
10406 (FE_TOWARDZERO): Likewise.
10407 (FE_UPWARD): Likewise.
10408 (FE_DOWNWARD): Likewise.
10409 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10410 (FE_DIVBYZERO): Likewise.
10411 (FE_OVERFLOW): Likewise.
10412 (FE_UNDERFLOW): Likewise.
10413 (FE_INEXACT): Likewise.
10414 (FE_TONEAREST): Likewise.
10415 (FE_DOWNWARD): Likewise.
10416 (FE_UPWARD): Likewise.
10417 (FE_TOWARDZERO): Likewise.
10418
105ca950
CM
104192012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10420
10421 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10422
a542b389
AS
104232012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10424
10425 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10426 commands. Quote $PWD.
10427 (blacklist_exports): Don't use remove_newlines. Replace "declare
10428 -x" by "export".
10429 (remove_newlines): Remove.
10430
f62c8abc
L
104312012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10432
10433 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10434 * stdlib/stdlib.h (atof): Moved to ...
10435 * include/bits/stdlib-float.h: Here. New file.
10436 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10437 * stdlib/bits/stdlib-float.h: New file.
10438 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10439 -mno-sse -mno-mmx.
10440 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10441 <xmmintrin.h>.
10442
0155d5b2
JM
104432012-11-02 Joseph Myers <joseph@codesourcery.com>
10444
a68d0680
JM
10445 * conform/conformtest.pl (@headers): Add fenv.h.
10446 * conform/data/fenv.h-data: New file.
10447 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10448 include of <math/fenv.h>.
10449
caf7f573
JM
10450 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10451 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10452 && !UNIX98]. Enables tests for XOPEN2K8.
10453 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10454 POSIX2008]: Likewise.
10455
6c073ad6
JM
10456 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10457 (struct rusage): Do not expect type or its members.
10458
0155d5b2
JM
10459 [BZ #3439]
10460 * math/math.h (FP_NAN): Define macro to integer constant usable in
10461 #if and use that to give value to enum constant.
10462 (FP_INFINITE): Likewise.
10463 (FP_ZERO): Likewise.
10464 (FP_SUBNORMAL): Likewise.
10465 (FP_NORMAL): Likewise.
10466
b5dcacb4
AS
104672012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10468
10469 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10470 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10471 arguments.
10472
f7934be8
RM
104732012-11-02 Roland McGrath <roland@hack.frob.com>
10474
10475 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10476 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10477 autoconf-time if not.
10478 * configure.in: Remove AC_PREREQ.
10479
d7d08bde
TMQMF
104802012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10481
10482 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10483 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10484 of the internal implementation.
10485
dcdae19a
JM
104862012-11-02 Joseph Myers <joseph@codesourcery.com>
10487
10488 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10489 except include of <misc/sys/syslog.h>.
10490
d6cffd3e
AS
104912012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10492
10493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10494 function returns with a NULL context exit with zero.
10495
b3563932
TMQMF
104962012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10497
10498 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10499
b288a93d
L
105002012-11-01 H.J. Lu <hongjiu.lu@intel.com>
10501
10502 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10503 (run_program_cmd): This.
10504 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10505 (tst_langinfo): New variable. Use it.
10506
a2421a68
SAS
105072012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
10508
10509 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10510 floating point opcodes.
10511
6f796e1b
TS
105122012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10513
7402596b
TS
10514 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10515 variable.
10516
d0d4f868
TS
10517 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10518
6f796e1b
TS
10519 * sysdeps/mach/hurd/powerpc: Remove directory.
10520 * sysdeps/mach/powerpc: Likewise.
10521
4da224a2
AS
105222012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10523
10524 * scripts/check-local-headers.sh: Ignore c++ headers.
10525
341dd673
TS
105262012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10527
10528 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10529 __libc_cleanup_region_start argument.
10530
473611b2
JM
105312012-11-01 Joseph Myers <joseph@codesourcery.com>
10532
10533 [BZ #14784]
10534 [BZ #14785]
10535 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10536 x * y using scaling, not as x * y + z.
10537 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10538 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10539 * math/libm-test.inc (fma_test): Add more tests.
10540 (fma_test_towardzero): Likewise.
10541 (fma_test_downward): Likewise.
10542 (fma_test_upward): Likewise.
10543
4078da3d
TS
105442012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10545
10546 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10547
903252aa
JM
105482012-10-31 Joseph Myers <joseph@codesourcery.com>
10549
10550 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10551 New variable.
10552
cbc818d0
TS
105532012-10-31 Thomas Schwinge <thomas@codesourcery.com>
10554
10555 * rt/tst-shm.c (worker): Correct checking for mmap failure.
10556
5a03cb1e
AS
105572012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10558
10559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10560 Fix sort order.
10561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10562 Likewise.
10563
90aff2ff
TMQMF
105642012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10565
10566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10567 Fix the order of the list for glibc 2.17.
10568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10569 Likewise.
10570
1818fcb7
AS
105712012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10572
10573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10574
ef82f4da
JM
105752012-10-31 Joseph Myers <joseph@codesourcery.com>
10576
16a0e2ec
JM
10577 [BZ #14610]
10578 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10579 for low part of x being zero before using __atanl (y).
10580 * math/libm-test.inc (atan2_test): Add another test.
10581
0eb69512
JM
10582 * manual/install.texi (Configuring and compiling): Document
10583 general use of test-wrapper and test-wrapper-env.
10584 * INSTALL: Regenerated.
10585
ef82f4da
JM
10586 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10587 (__fma): Do not extract and scale down low bits on after-rounding
10588 systems when result rounded to normal precision would have normal
10589 exponent.
10590 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10591 (__fmal): Do not extract and scale down low bits on after-rounding
10592 systems when result rounded to normal precision would have normal
10593 exponent.
10594 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10595 (__fmal): Do not extract and scale down low bits on after-rounding
10596 systems when result rounded to normal precision would have normal
10597 exponent.
10598 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10599 macro.
10600 (fma_test): Add more tests.
10601 (fma_test_towardzero): Likewise.
10602 (fma_test_downward): Likewise.
10603 (fma_test_upward): Likewise.
10604
954ef0d9
L
106052012-10-30 H.J. Lu <hongjiu.lu@intel.com>
10606
10607 * sysdeps/i386/tininess.h: Renamed to ...
10608 * sysdeps/x86/tininess.h: This.
10609 * sysdeps/x86_64/tininess.h: Removed.
10610
df61ffb2
JM
106112012-10-30 Joseph Myers <joseph@codesourcery.com>
10612
10613 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10614 input. Use $(build-program-cmd).
10615 ($(objpfx)tst-array1-static.out): Likewise.
10616 ($(objpfx)tst-array2.out): Likewise.
10617 ($(objpfx)tst-array3.out): Likewise.
10618 ($(objpfx)tst-array4.out): Likewise.
10619 ($(objpfx)tst-array5.out): Likewise.
10620 ($(objpfx)tst-array5-static.out): Likewise.
10621
01767843
CM
106222012-10-30 Chris Metcalf <cmetcalf@tilera.com>
10623
47cc1490
CM
10624 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10625 if defined.
10626
01767843
CM
10627 * nss/nsswitch.h (nss_interface_function): Provide new
10628 macro for use with NSS functions.
10629 * grp/initgroups.c: Use new macro.
10630 * nss/getXXbyYY.c: Likewise.
10631 * nss/getXXbyYY_r.c: Likewise.
10632 * nss/getXXent.c: Likewise.
10633 * nss/getXXent_r.c: Likewise.
10634 * sysdeps/posix/getaddrinfo.c: Likewise.
10635
8321aa97
AJ
106362012-10-30 Andreas Jaeger <aj@suse.de>
10637
10638 * po/ru.po: Update Russion translation from translation project.
10639
2a27fd6d
JM
106402012-10-30 Joseph Myers <joseph@codesourcery.com>
10641
8627a232
JM
10642 [BZ #14152]
10643 [BZ #14783]
10644 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10645 result and shift together with sticky bit instead of replicating
10646 round-to-nearest rounding.
10647 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10648 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10649 * math/libm-test.inc (fma_test): Add more tests. Do not permit
10650 missing underflow exceptions.
10651 (fma_test_towardzero): Add more tests.
10652 (fma_test_downward): Likewise.
10653 (fma_test_upward): Likewise.
10654
2a27fd6d
JM
10655 [BZ #14047]
10656 * sysdeps/generic/tininess.h: New file.
10657 * sysdeps/i386/tininess.h: Likewise.
10658 * sysdeps/sh/tininess.h: Likewise.
10659 * sysdeps/x86_64/tininess.h: Likewise.
10660 * stdlib/tst-strtod-underflow.c: Likewise.
10661 * stdlib/tst-tininess.c: Likewise.
10662 * stdlib/strtod_l.c: Include <tininess.h>.
10663 (round_and_return): Do not set errno for exact underflow cases.
10664 Force an underflow exception when setting errno for underflow.
10665 Determine underflow based on rounding to normal precision if
10666 TININESS_AFTER_ROUNDING.
10667 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10668 ERANGE for exact underflow cases.
10669 * stdlib/Makefile (tests): Add tst-tininess and
10670 tst-strtod-underflow.
10671 ($(objpfx)tst-tininess): Use $(link-libm).
10672 ($(objpfx)tst-strtod-underflow): Likewise.
10673
e7170363
AJ
106742012-10-30 Andreas Jaeger <aj@suse.de>
10675
e5088dc6
AJ
10676 [BZ#14767]
10677 * elf/Makefile (tests): Remove conditional for have-initfini-array
10678 since this is now always required and the variable does not exist
10679 anymore.
10680 (tests-static): Likewise.
10681 (modules-names): Likewise.
10682
e7170363 10683 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
10684
10685 * elf/tst-array1.c (fini_array): Make writeable so that it can be
10686 merged with constructor/destructor.
10687 (init_array): Likewise.
10688 * elf/tst-array2dep.c (fini_array): Likewise.
10689 (init_array): Likewise.
10690
60457d8a
MF
106912012-10-29 Mike Frysinger <vapier@gentoo.org>
10692
10693 * manual/message.texi: Delete @cartouche tags.
10694
8bece752
PT
106952012-10-29 Pino Toscano <toscano.pino@tiscali.it>
10696
94ce799f
PT
10697 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10698 EOPNOTSUPP.
10699 * sysdeps/mach/hurd/fsync.c: Likewise.
10700
8bece752
PT
10701 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10702 [_POSIX_REALTIME_SIGNALS]: Change condition to
10703 [_POSIX_REALTIME_SIGNALS > 0].
10704
86ebe6b1
AJ
107052012-10-27 Andreas Jaeger <aj@suse.de>
10706
10707 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10708 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10709 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10710 [__WORDSIZE != 64]: Likewise.
10711
54399c08
L
107122012-10-26 H.J. Lu <hongjiu.lu@intel.com>
10713
10714 * iconvdata/tst-table.sh: Remove ${SHELL}.
10715 * iconvdata/tst-tables.sh: Likewise.
10716
e2211bed
DM
107172012-10-25 David S. Miller <davem@davemloft.net>
10718
10719 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10720 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10721 of strtoull.
10722
f303f97c
DM
10723 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10724 ifunc-impl-list.c
10725 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10726 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10727 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10728 file.
10729
1e9d84cd
RM
107302012-10-25 Roland McGrath <roland@hack.frob.com>
10731
10732 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10733 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10734 __getdirentries.
10735
df381762
JM
107362012-10-25 Joseph Myers <joseph@codesourcery.com>
10737 Jim Blandy <jimb@codesourcery.com>
10738
10739 * scripts/cross-test-ssh.sh: New file.
10740 * manual/install.texi (Configuring and compiling): Document use of
10741 cross-test-ssh.sh.
10742 * INSTALL: Regenerated.
10743
bff64913
PT
107442012-10-25 Pino Toscano <toscano.pino@tiscali.it>
10745
10746 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
10747 EOPNOTSUPP.
10748
25fe8932
JM
107492012-10-25 Joseph Myers <joseph@codesourcery.com>
10750
10751 * Makeconfig (run-program-prefix): Fix comment.
10752
cc1290d0
JM
107532012-10-24 Joseph Myers <joseph@codesourcery.com>
10754 Jim Blandy <jimb@codesourcery.com>
10755
10756 * Makeconfig (test-wrapper): New variable,
10757 (test-wrapper-env): Likewise.
10758 [$(cross-compiling) = yes && $(test-wrapper) != ""]
10759 (run-built-tests): Define to yes.
10760 (run-program-prefix): Use $(test-wrapper).
10761 (built-program-cmd): Likewise.
10762 * Rules (make-test-out): Use $(test-wrapper-env) and
10763 $(host-built-program-cmd).
10764 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
10765 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
10766 tst-pathopt.sh.
10767 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
10768 $(test-wrapper-env) to tst-rtld-load-self.sh.
10769 ($(objpfx)order2.out): Use $(test-wrapper).
10770 ($(objpfx)tst-initorder.out): Likewise.
10771 ($(objpfx)tst-initorder2.out): Likewise.
10772 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
10773 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
10774 (test_wrapper_env): New variable. Use it to run ld.so.
10775 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
10776 Use it to run ld.so.
10777 (test_wrapper_env): Likewise.
10778 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
10779 $(test-wrapper) to run-iconv-test.sh.
10780 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
10781 (ICONV): Use $test_wrapper.
10782 * posix/Makefile ($(objpfx)globtest.out): Pass
10783 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
10784 globtest.sh, not $(run-program-prefix).
10785 * posix/globtest.sh (run_via_rtld_prefix): New variable.
10786 (test_wrapper): Likewise.
10787 (test_wrapper_env): Likewise. Use it to run globtest with HOME
10788 set together with run_via_rtld_prefix.
10789 (run_program_prefix): Define in terms of test_wrapper and
10790 run_via_rtld_prefix.
10791
6e6249d0
RM
107922012-10-24 Roland McGrath <roland@hack.frob.com>
10793
10794 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
10795 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
10796 Targets removed.
10797
10798 [BZ #14743]
10799 * include/time.h: Remove librt_hidden_proto (clock_gettime).
10800 Declare __clock_getres, __clock_gettime, __clock_settime,
10801 __clock_nanosleep, and __clock_getcpuclockid.
10802 * rt/clock_gettime.c: Define __clock_gettime as an alias.
10803 Remove librt_hidden_def (clock_gettime).
10804 * sysdeps/unix/clock_gettime.c: Likewise.
10805 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
10806 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10807 * rt/clock_getres.c: Define __clock_getres as an alias.
10808 * sysdeps/posix/clock_getres.c: Likewise.
10809 * rt/clock_settime.c: Define __clock_settime as an alias.
10810 * sysdeps/unix/clock_settime.c: Likewise.
10811 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
10812 * sysdeps/unix/clock_nanosleep.c: Likewise.
10813 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10814 * rt/clock-compat.c: New file.
10815 * rt/Makefile (librt-routines): Add clock-compat and move
10816 $(clock-routines) to ...
10817 (routines): ... here, new variable.
10818 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
10819 Don't add get_clockfreq here.
10820 * rt/Versions (libc: GLIBC_2.17): New version set.
10821 Add clock_* symbols here.
10822 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
10823 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
10824 (GLIBC_2.17): Add clock_* symbols.
10825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10827 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10829 Likewise.
10830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10831 Likewise.
10832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10836 * NEWS: Mention the move.
10837
10838 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10839 Use __open, __read, __close rather than their public counterparts.
10840 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10841 (__get_clockfreq_via_cpuinfo): Likewise.
10842 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
10843 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
10844
10845 * config.h.in (HAVE_IFUNC): New #undef.
10846 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
10847 was successful.
10848 * configure: Regenerated.
10849
0cae3f4b
MF
108502012-10-24 Mike Frysinger <vapier@gentoo.org>
10851
10852 * configure.in: Move READELF check to start of file.
10853 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
10854 libc_cv_asm_gnu_indirect_function in the process.
10855 * configure: Regenerated.
10856
8175a253
MF
108572012-10-24 Mike Frysinger <vapier@gentoo.org>
10858
10859 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
10860 send the output to /dev/null.
10861 (libc_cv_cc_with_libunwind): Likewise.
10862 (libc_cv_as_noexecstack): Likewise.
10863 * configure: Regenerate.
10864
0708a7d1
JM
108652012-10-24 Joseph Myers <joseph@codesourcery.com>
10866
10b40d85
JM
10867 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
10868
0708a7d1
JM
10869 * posix/globtest.sh (TMPDIR): Do not set.
10870 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
10871 (testout): Likewise.
10872
9fddec1a
AJ
108732012-10-24 Andreas Jaeger <aj@suse.de>
10874
3a8db22f
AJ
10875 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
10876 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
10877 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
10878 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
10879 posix_fadvise64, posix_fallocate64.
10880
9fddec1a
AJ
10881 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
10882 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
10883 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
10884 Likewise.
10885 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
10886 Likewise.
10887 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
10888
10889 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
10890 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
10891 <bits/fcntl-linux.h>.
10892 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
10893
10894 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
10895 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
10896 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
10897 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
10898 [__WORDSIZE != 64]: Likewise.
10899
ebfd1bbd
JM
109002012-10-23 Joseph Myers <joseph@codesourcery.com>
10901
03ac099f
JM
10902 * Makeconfig (run-built-tests): New variable.
10903 * Rules [$(cross-compiling) = yes]: Change condition to
10904 [$(run-built-tests) = no].
10905 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
10906 to [$(run-built-tests) = yes].
10907 * elf/Makefile [$(cross-compiling) = no]: Likewise
10908 * grp/Makefile [$(cross-compiling) = no]: Likewise.
10909 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
10910 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
10911 * intl/Makefile [$(cross-compiling) = no]: Likewise.
10912 * io/Makefile [$(cross-compiling) = no]: Likewise.
10913 * libio/Makefile [$(cross-compiling) = no]: Likewise.
10914 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
10915 * misc/Makefile [$(cross-compiling) = no]: Likewise.
10916 * posix/Makefile [$(cross-compiling) = no]: Likewise.
10917 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
10918 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
10919 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
10920 * string/Makefile [$(cross-compiling) = no]: Likewise.
10921
ebfd1bbd
JM
10922 * posix/Makefile ($(objpfx)globtest.out): Pass
10923 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
10924 $(rtld-installed-name).
10925 * posix/globtest.sh (elf_objpfx): Remove variable.
10926 (rtld_installed_name): Likewise.
10927 (library_path): Likewise.
10928 (run_program_prefix): New variable. Use for running globtest
10929 binary.
10930
166bca24
JB
109312012-10-23 Jim Blandy <jimb@codesourcery.com>
10932 Joseph Myers <joseph@codesourcery.com>
10933
10934 * Makeconfig (host-built-program-cmd): New variable.
10935 * elf/Makefile (tst-stackguard1-ARGS): Use
10936 $(host-built-program-cmd).
10937 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
10938 (tst-spawn-ARGS): Likewise.
10939 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
10940
88866099
JM
109412012-10-23 Joseph Myers <joseph@codesourcery.com>
10942 Jim Blandy <jimb@codesourcery.com>
10943
10944 * Makeconfig (run-via-rtld-prefix): New variable.
10945 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
10946 (built-program-cmd): Likewise.
10947
b4b4c296
AJ
109482012-10-22 Andreas Jaeger <aj@suse.de>
10949
10950 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
10951 __O_RSYNC if it exists, otherwise to O_SYNC.
10952
6fb54a22
JB
109532012-10-22 Jim Blandy <jimb@codesourcery.com>
10954 Joseph Myers <joseph@codesourcery.com>
10955
10956 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
10957 /dev/null.
10958 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
10959 from /dev/null
10960 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
10961 /dev/null.
10962
481b90b9
AJ
109632012-10-22 Andreas Jaeger <aj@suse.de>
10964
2a0e2669
AJ
10965 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
10966 Define always.
10967 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
10968
76e38f9a
AJ
10969 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10970 bits/fcntl-linux.h.
10971
7cd37b43
AJ
10972 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
10973 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
10974
481b90b9
AJ
10975 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
10976 to __O_LARGEFILE.
10977 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
10978 to __O_LARGEFILE.
10979
aba75984
JB
109802012-10-21 Jim Blandy <jimb@codesourcery.com>
10981 Joseph Myers <joseph@codesourcery.com>
10982
10983 * config.make.in (NM): New variable.
10984
88d4247f
AJ
109852012-10-21 Andreas Jaeger <aj@suse.de>
10986
10987 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
10988 definitions and declarations that are provided by
10989 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10990
f2eed205
L
109912012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10992
10993 [BZ #14683]
10994 * elf/Makefile (tests-static): Add tst-leaks1-static.
10995 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
10996 ($(objpfx)tst-leaks1-static): New rule.
10997 ($(objpfx)tst-leaks1-static-mem): Likewise.
10998 (tst-leaks1-static-ENV): New macro.
10999 * elf/dl-open.c (dl_open_worker): Check the main application
11000 only if SHARED is defined.
11001 * elf/tst-leaks1-static.c: New file.
11002
335e6931
AJ
110032012-10-20 Andreas Jaeger <aj@suse.de>
11004
11005 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11006 generic values for Linux.
11007 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11008 and declarations that are provided by <bits/fcntl-linux.h> and
11009 include <bits/fcntl-linux.h>.
11010 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11011 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11012
ac5c94d3
RM
110132012-10-20 Roland McGrath <roland@hack.frob.com>
11014
11015 * io/fcntl.h: Move include of <bits/types.h> to the top and
11016 include it unconditionally.
11017
de54b33a
L
110182012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11019
228cfb01
L
11020 * wcsmbs/Makefile (tests-ifunc): New variable.
11021 (tests): Add $(tests-ifunc).
11022 * wcsmbs/test-wcschr-ifunc.c: New file.
11023 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11024 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11025 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11026 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11027 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11028
69f07e5f
L
11029 * string/Makefile (tests-ifunc): New variable.
11030 (tests): Add $(tests-ifunc).
11031 * string/test-memccpy.c (TEST_NAME): New macro.
11032 * string/test-memchr.c (TEST_NAME): Likewise.
11033 * string/test-memcmp.c (TEST_NAME): Likewise.
11034 * string/test-memcpy.c (TEST_NAME): Likewise.
11035 * string/test-memmem.c (TEST_NAME): Likewise.
11036 * string/test-memmove.c (TEST_NAME): Likewise.
11037 * string/test-memset.c (TEST_NAME): Likewise.
11038 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11039 * string/test-stpcpy.c (TEST_NAME): Likewise.
11040 * string/test-stpncpy.c (TEST_NAME): Likewise.
11041 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11042 * string/test-strcasestr.c (TEST_NAME): Likewise.
11043 * string/test-strcat.c (TEST_NAME): Likewise.
11044 * string/test-strchr.c (TEST_NAME): Likewise.
11045 * string/test-strcmp.c(TEST_NAME): Likewise.
11046 * string/test-strcpy.c (TEST_NAME): Likewise.
11047 * string/test-strcspn.c (TEST_NAME): Likewise.
11048 * string/test-strlen.c (TEST_NAME): Likewise.
11049 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11050 * string/test-strncmp.c (TEST_NAME): Likewise.
11051 * string/test-strncpy.c (TEST_NAME): Likewise.
11052 * string/test-strnlen.c (TEST_NAME): Likewise.
11053 * string/test-strpbrk.c (TEST_NAME): Likewise.
11054 * string/test-strrchr.c (TEST_NAME): Likewise.
11055 * string/test-strspn.c (TEST_NAME): Likewise.
11056 * string/test-strstr.c (TEST_NAME): Likewise.
11057 * string/test-bcopy-ifunc.c: New file.
11058 * string/test-bzero-ifunc.c: Likewise.
11059 * string/test-memccpy-ifunc.c: Likewise.
11060 * string/test-memchr-ifunc.c: Likewise.
11061 * string/test-memcmp-ifunc.c: Likewise.
11062 * string/test-memcpy-ifunc.c: Likewise.
11063 * string/test-memmem-ifunc.c: Likewise.
11064 * string/test-memmove-ifunc.c: Likewise.
11065 * string/test-mempcpy-ifunc.c: Likewise.
11066 * string/test-memset-ifunc.c: Likewise.
11067 * string/test-rawmemchr-ifunc.c: Likewise.
11068 * string/test-stpcpy-ifunc.c: Likewise.
11069 * string/test-stpncpy-ifunc.c: Likewise.
11070 * string/test-strcasecmp-ifunc.c: Likewise.
11071 * string/test-strcasestr-ifunc.c: Likewise.
11072 * string/test-strcat-ifunc.c: Likewise.
11073 * string/test-strchr-ifunc.c: Likewise.
11074 * string/test-strchrnul-ifunc.c: Likewise.
11075 * string/test-strcmp-ifunc.c: Likewise.
11076 * string/test-strcpy-ifunc.c: Likewise.
11077 * string/test-strcspn-ifunc.c: Likewise.
11078 * string/test-strlen-ifunc.c: Likewise.
11079 * string/test-strncasecmp-ifunc.c: Likewise.
11080 * string/test-strncat-ifunc.c: Likewise.
11081 * string/test-strncmp-ifunc.c: Likewise.
11082 * string/test-strncpy-ifunc.c: Likewise.
11083 * string/test-strnlen-ifunc.c: Likewise.
11084 * string/test-strpbrk-ifunc.c: Likewise.
11085 * string/test-strrchr-ifunc.c: Likewise.
11086 * string/test-strspn-ifunc.c: Likewise.
11087 * string/test-strstr-ifunc.c: Likewise.
11088
de54b33a
L
11089 * debug/Makefile (tests-ifunc): New variable.
11090 (tests): Add $(tests-ifunc).
11091 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11092 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11093 * debug/test-stpcpy_chk-ifunc.c: New file.
11094 * debug/test-strcpy_chk-ifunc.c: Likewise.
11095
88481c16
SP
110962012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11097
11098 [BZ #13601]
11099 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11100 header is not read in.
11101
135948bd
JM
111022012-10-19 Joseph Myers <joseph@codesourcery.com>
11103
89f1c388
JM
11104 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11105 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11106 directly. Pass built executable to script as
11107 $(built-program-cmd).
11108 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11109 $testprogram without using LD_LIBRARY_PATH and $ldso.
11110
e40a0d21
JM
11111 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11112 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11113 $(rtld-installed-name).
11114 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11115 (rtld_installed_name): Likewise.
11116 (library_path): Likewise.
11117 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11118 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11119 $(run-program-prefix) to tst-tables.sh.
11120 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11121 it to run tst-table-from and tst-table-to.
11122 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11123 Pass it to tst-table.sh.
11124 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11125 $(run-program-prefix) to tst-gettext.sh.
11126 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11127 tst-translit.sh.
11128 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11129 tst-gettext2.sh.
11130 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11131 to run tst-gettext.
11132 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11133 to run tst-gettext2.
11134 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11135 to run tst-translit.
11136 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11137 $(run-program-prefix) to tst-mtrace.sh.
11138 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11139 to run tst-mtrace.
11140 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11141 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11142 $(rtld-installed-name).
11143 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11144 (rtld_installed_name): Likewise.
11145 (run_program_prefix): New variable. Use it to run wordexp-test.
11146
728e272a
JM
11147 * Makeconfig (ARCH): Remove all definitions.
11148 (machine): Likewise.
11149 [ARCH]: Remove conditional code.
11150 [!objdir]: Give error.
11151 [!objdir] (objpfx): Remove.
11152 [!objdir] (common-objpfx): Likewise.
11153 [!objdir] (common-objdir): Likewise.
11154 * configure.in (config_makefile): Remove. Hardcode Makefile in
11155 AC_CONFIG_FILES call.
11156 * configure: Regenerated.
11157
d528cdcf
JM
11158 [BZ #13888]
11159 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11160 or TMPDIR.
11161 (testout): Likewise.
11162
135948bd
JM
11163 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11164 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11165 $(rtld-installed-name).
11166 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11167 (rtld_installed_name): Likwise.
11168 (runit): Remove function.
11169 (run_getconf): New variable, Use it for running getconf binary.
11170
38c78296
L
111712012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11172
11173 [BZ #14716]
11174 * string/test-memmem.c (check_result): New function.
11175 (do_one_test): Use it.
11176 (check1): New function.
11177 (test_main): Use it.
11178
d077f65f
MT
111792012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11180
11181 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11182
ced52c71
JM
111832012-10-18 Joseph Myers <joseph@codesourcery.com>
11184
11185 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11186 (_G_LSEEK64): Likewise.
11187 (_G_MMAP64): Likewise.
11188 (_G_FSTAT64): Likewise.
11189 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11190 (_G_LSEEK64): Likewise.
11191 (_G_MMAP64): Likewise.
11192 (_G_FSTAT64): Likewise.
11193 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11194 unconditional. Call __mmap64 directly.
11195 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11196 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11197 __lseek64 directly.
11198 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11199 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11200 __mmap64 directly.
11201 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11202 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11203 __lseek64 directly.
11204 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11205 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11206 __lseek64 directly.
11207 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11208 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11209 __lseek64 directly.
11210 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11211 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11212 __fxstat64 directly.
11213 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11214 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11215 unconditional.
11216 (freopen64) [!_G_OPEN64]: Remove conditional code.
11217 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11218 unconditional.
11219 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11220 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11221 unconditional.
11222 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11223 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11224 unconditional.
11225 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11226 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11227 unconditional.
11228 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11229 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11230 unconditional.
11231 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11232 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11233 unconditional.
11234 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11235 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11236 unconditional.
11237 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11238
b741de23
SP
112392012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11240
11241 [BZ #12140]
11242 * manual/memory.texi (Malloc Tunable Parameters): Add note
11243 about free list pointers overwriting some perturb bytes.
11244 Wording suggested by Roland McGrath.
11245
f9b9d9c9
JM
112462012-10-17 Joseph Myers <joseph@codesourcery.com>
11247
11248 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11249 (lgamma_test): Likewise.
11250 (tgamma_test): Likewise.
11251
172a631a
FW
112522012-10-16 Florian Weimer <fweimer@redhat.com>
11253
11254 [BZ #14700]
11255 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11256 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11257
e9f37252
MK
112582012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11259
11260 * NEWS: Mention BZ #14716.
11261 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11262 when removing AVAILABLE1_USES_J macro.
11263
d394eb74
L
112642012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11265
11266 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11267 (__bswap_64): __uint64_t for unsigned 64-bit int.
11268
ca38dc17
AS
112692012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11270
11271 * include/string.h (memmem): Declare libc hidden alias.
11272 * string/memmem.c (memmem): Define libc hidden alias.
11273 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11274 __read, __close instead of open, read, close.
11275
9a387d1f
L
112762012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11277
ac49ecaf
L
11278 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11279 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11280 global and hidden.
11281 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11282 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11283 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11284 Likewise.
11285 (__rawmemchr_sse2): Likewise.
11286 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11287 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11288 (__strchr_sse2): Likewise.
11289 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11290 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11291 (__strcasecmp_sse2): Likewise.
11292 (__strncasecmp_sse2): Likewise.
11293 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11294 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11295 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11296 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11297 (__strrchr_sse2): Likewise.
11298 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11299 ifunc-impl-list.c.
11300 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11301 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11302 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11303 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11304 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11305 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11306 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11307 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11308 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11309 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11310 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11311 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11312 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11313 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11314 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11315 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11316 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11317 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11318 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11319 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11320 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11321 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11322 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11323 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11324 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11325 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11326 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11327 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11328 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11329 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11330
b090e8ea
L
11331 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11332 global and hidden.
11333 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11334 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11335 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11336 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11337 Likewise.
11338 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11339 Likewise.
11340 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11341 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11342 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11343 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11344 ifunc-impl-list.c.
11345 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11346 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11347 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11348 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11349 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11350 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11351 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11352 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11353 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11354 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11355 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11356 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11357 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11358 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11359 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11360 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11361 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11362 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11363 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11364 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11365 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11366 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11367 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11368 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11369 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11370 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11371 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11372 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11373 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11374 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11375 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11376 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11377 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11378 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11379 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11380 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11381 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11382 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11383 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11384 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11385 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11386
11dd4af6
L
11387 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11388 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11389 * include/ifunc-impl-list.h: New file.
11390 * misc/ifunc-impl-list.c: Likewise.
11391 * misc/Makefile (routines): Add ifunc-impl-list.
11392 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11393 * string/test-string.h: Include <ifunc-impl-list.h>.
11394 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11395 impl_array): New variables.
11396 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11397 are defined.
11398 (test_init): Call __libc_ifunc_impl_list to initialize
11399 func_list if TEST_IFUNC and TEST_NAME are defined.
11400
9a387d1f
L
11401 * string/Makefile (strop-tests): Add bcopy and bzero.
11402 * string/test-bcopy.c: New file.
11403 * string/test-bzero.c: Likewise.
11404 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11405 defined.
11406 * string/test-memset.c: Support bzero test if TEST_BZERO is
11407 defined.
11408 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11409 __libc_memmove.
11410 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11411 __libc_memset.
11412 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11413 of memset.
11414
472371b9
JM
114152012-10-10 Joseph Myers <joseph@codesourcery.com>
11416
1e4a9536
JM
11417 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11418 * configure: Regenerated.
11419
d173d12e
JM
11420 * Makeconfig (+link-static-before-libc): Don't include
11421 $(link-static-libc).
11422
472371b9
JM
11423 * libio/libio.h (_IO_pos_t): Remove.
11424
89a3ad0b
AO
114252012-10-10 Alexandre Oliva <aoliva@redhat.com>
11426
11427 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11428 McGrath.
11429
e7451425
AO
114302012-10-10 Alexandre Oliva <aoliva@redhat.com>
11431
11432 * crypt/crypt-entry.c: Include fips-private.h.
11433 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11434 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11435 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11436 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11437
4ba74a35
AO
114382012-10-10 Alexandre Oliva <aoliva@redhat.com>
11439
11440 * crypt/crypt-private.h: Include stdbool.h.
11441 (_ufc_setup_salt_r): Return bool.
11442 * crypt/crypt-entry.c: Include errno.h.
11443 (__crypt_r): Return NULL with EINVAL for bad salt.
11444 * crypt/crypt_util.c (bad_for_salt): New.
11445 (_ufc_setup_salt_r): Check that salt is long enough and within
11446 the specified alphabet.
11447 * crypt/badsalttest.c: New file.
11448 * crypt/Makefile (tests): Add it.
11449 ($(objpfx)badsalttest): New.
11450
f96f1242
MK
114512012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11452
11453 * NEWS: Add entry for BZ #14602.
11454
0e8e0c1c
JM
114552012-10-09 Joseph Myers <joseph@codesourcery.com>
11456
11457 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11458 type-generic.
11459 * math/libm-test.inc: Update comment listing what functions and
11460 macros are tested.
11461 (isgreater_test): New function.
11462 (isgreaterequal_test): Likewise.
11463 (isless_test): Likewise.
11464 (islessequal_test): Likewise.
11465 (islessgreater_test): Likewise.
11466 (isunordered_test): Likewise.
11467 (main): Call the new functions.
11468
273edc5e
RM
114692012-10-09 Roland McGrath <roland@hack.frob.com>
11470
b8493de0
RM
11471 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11472 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11473 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11474 * sysdeps/i386/configure: Regenerated.
11475 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11476 * sysdeps/mach/configure: Regenerated.
11477 * sysdeps/mach/hurd/configure: Regenerated.
11478 * sysdeps/powerpc/configure: Regenerated.
11479 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11480 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11481 * sysdeps/s390/s390-32/configure: Regenerated.
11482 * sysdeps/s390/s390-64/configure: Regenerated.
11483 * sysdeps/sh/configure: Regenerated.
11484 * sysdeps/sparc/configure: Regenerated.
11485 * sysdeps/unix/sysv/linux/configure: Regenerated.
11486 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11487 * sysdeps/x86_64/configure: Regenerated.
11488
273edc5e
RM
11489 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11490 defined. Don't check if MAP is NULL.
11491
c8450f70
JM
114922012-10-09 Joseph Myers <joseph@codesourcery.com>
11493
11494 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11495 (_G_stat64): Likewise.
11496 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11497 (_G_stat64): Likewise.
11498 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11499 instead of struct _G_stat64.
11500 * libio/fileops.c (mmap_remap_check): Likewise.
11501 (decide_maybe_mmap): Likewise.
11502 (_IO_new_file_seekoff): Likewise.
11503 (_IO_file_stat): Likewise.
11504 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11505 _G_off64_t.
11506 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11507 instead of struct _G_stat64.
11508 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11509
57e605ba
MK
115102012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
11511
11512 [BZ #14602]
11513 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11514 Replace with ...
11515 (CHECK_EOL): New macro.
11516 (two_way_short_needle): Check beginning of haystack for EOL. Use
11517 CHECK_EOL.
11518 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11519 Replace with CHECK_EOL.
11520 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11521 Replace with CHECK_EOL.
11522
ef1bb361
JM
115232012-10-08 Joseph Myers <joseph@codesourcery.com>
11524
11525 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11526 type-generic.
11527 * math/libm-test.inc: Update comment listing what functions and
11528 macros are tested.
11529 (finite_test): New function.
11530 (isinf_test): Likewise.
11531 (isnan_test): Likewise.
11532 (fpclassify_test): Test subnormal input.
11533 (isfinite_test): Likewise.
11534 (isnormal_test): Likewise.
11535 (main): Call the new functions.
11536
55f11534
JN
115372012-10-08 Jonathan Nieder <jrnieder@gmail.com>
11538
11539 [BZ #14660]
11540 * Makerules (%.dynsym): Force C locale when running
11541 $(OBJDUMP) --dynamic-syms.
11542
1ab29350
AS
115432012-10-08 Andreas Schwab <schwab@linux-m68k.org>
11544
11545 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11546 <stdint.h>.
11547
f1ecb7ef
DM
115482012-10-06 David S. Miller <davem@davemloft.net>
11549
11550 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11551 upper 32-bits of the length value in %o2 since we use branch-on-register
11552 tests which consider the entire 64-bit register.
11553
5d41d91a
L
115542012-10-06 H.J. Lu <hongjiu.lu@intel.com>
11555
11556 * string/test-strstr.c (check2): Add a test for page boundary.
11557
3baddb72
DM
115582012-10-05 David S. Miller <davem@davemloft.net>
11559
11560 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11561 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11562 file.
11563 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11564 sysdep_routines.
11565 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11566 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11567 and bzero when HWCAP_SPARC_CRYPTO is present.
11568
9cee5585
L
115692012-10-05 H.J. Lu <hongjiu.lu@intel.com>
11570
d7e0dab9
L
11571 [BZ #14602]
11572 * string/test-strstr.c (check2): New function.
11573 (test_main): Call check2.
11574
03759f47
L
11575 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11576 and bug-strchr1.
11577 * string/bug-strcasestr1.c (do_test): Moved to ...
11578 * string/test-strcasestr.c (check1): Here. New function.
11579 (do_one_test): Break out result checking code into ...
11580 (check_result): This. New function.
11581 (do_one_test): Call check_result.
11582 (test_main): Call check1.
11583 * string/bug-strchr1.c (do_test): Moved to ...
11584 * string/test-strchr.c (check1): Here. New function.
11585 (do_one_test): Break out result checking code into ...
11586 (check_result): This. New function.
11587 (do_one_test): Call check_result.
11588 (test_main): Call check1.
11589 * string/bug-strstr1.c (main): Moved to ...
046f153e 11590 * string/test-strstr.c (check1): Here. New function.
03759f47
L
11591 (do_one_test): Break out result checking code into ...
11592 (check_result): This. New function.
11593 (do_one_test): Call check_result.
11594 (test_main): Call check1.
11595 * string/bug-strcasestr1.c: Removed.
11596 * string/bug-strchr1.c: Likewise.
11597 * string/bug-strstr1.c: Likewise.
11598
53cea63e
L
11599 * elf/Makefile (dl-routines): Add hwcaps.
11600 * elf/dl-support.c (_dl_important_hwcaps): Removed.
11601 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11602 (_dl_important_hwcaps): Moved to ...
11603 * elf/dl-hwcaps.c: Here. New file.
11604 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11605
9cee5585 11606 [BZ #14557]
bb859b06
L
11607 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11608 if IS_IN_rtld isn't defined.
11609
9cee5585
L
11610 * elf/dl-support.c (_dl_sysinfo_map): New.
11611 Include "get-dynamic-info.h" and "setup-vdso.h".
11612 (_dl_non_dynamic_init): Call setup_vdso.
11613 * elf/dynamic-link.h: Don't include <assert.h>.
11614 (elf_get_dynamic_info): Moved to ...
11615 * elf/get-dynamic-info.h: Here. New file.
11616 * elf/dynamic-link.h: Include "get-dynamic-info.h".
11617 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11618 * elf/setup-vdso.h: Here. New file.
11619 * elf/rtld.c: Include "setup-vdso.h".
11620 (dl_main): Call setup_vdso.
11621
23c31b76
JM
116222012-10-05 Joseph Myers <joseph@codesourcery.com>
11623
28234b07
JM
11624 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11625 creal in comment listing functions tested. List finite, isinf,
11626 isnan, isless, islessequal, isgreater, isgreaterequal,
11627 islessgreater, isunordered, lgamma_r and pow10 as functions and
11628 macros not tested. Mention which functions not tested are aliases
11629 for other functions. Fix typo. Note that signs of NaNs are not
11630 tested.
11631
23c31b76
JM
11632 * scripts/config.guess: Update from config.git.
11633 * scripts/config.sub: Likewise.
11634
9043e228
RM
116352012-10-04 Roland McGrath <roland@hack.frob.com>
11636
11637 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11638 * misc/madvise.c (madvise): Renamed to __madvise.
11639 Make madvise a weak alias.
11640 * include/sys/mman.h: Declare __madvise.
11641 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11642 * sysdeps/unix/syscalls.list
11643 (madvise): Make __madvise the strong name, and madvise a weak alias.
11644 * sysdeps/unix/sysv/linux/syscalls.list
11645 (madvise, mmap): Remove redundant entries.
11646 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11647 * malloc/malloc.c (mtrim): Likewise.
11648 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11649
f57f8055
RM
116502012-10-03 Roland McGrath <roland@hack.frob.com>
11651
11652 * sysdeps/mach/hurd/dl-cache.c: File removed.
11653 * config.h.in (USE_LDCONFIG): New #undef.
11654 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11655 * configure: Regenerated.
11656 * elf/Makefile (dl-routines): Add dl-cache only under
11657 [$(use-ldconfig) = yes].
11658 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11659 cache on [USE_LDCONFIG].
11660 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11661 [USE_LDCONFIG].
11662 * elf/rtld.c (dl_main): Likewise.
11663
5bb0c10a
PT
116642012-10-03 Pino Toscano <toscano.pino@tiscali.it>
11665
11666 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11667 _SC_LEVEL4_CACHE_LINESIZE.
11668
010188c6
RM
116692012-10-03 Roland McGrath <roland@hack.frob.com>
11670
11671 * sysdeps/unix/bsd/confstr.h: File removed.
11672
b6c5ec07
AO
116732012-10-02 Alexandre Oliva <aoliva@redhat.com>
11674
11675 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11676 sys/sdt-config.h.
11677
408223d4
RM
116782012-10-02 Roland McGrath <roland@hack.frob.com>
11679
11680 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11681 Make 'mapoff' field ElfW(Off) rather than off_t.
11682
bb9510dc
DL
116832012-10-02 Dmitry V. Levin <ldv@altlinux.org>
11684
fc997c6e
DL
11685 * nscd/Makefile: Remove nscd-cflags and all its users.
11686 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11687 (CFLAGS-nonlib): Add compiler flags for nscd modules.
11688
bb9510dc
DL
11689 [BZ #10631]
11690 * malloc.c (malloc_printerr): Clarify error message.
11691
05699367
L
116922012-10-02 H.J. Lu <hongjiu.lu@intel.com>
11693
11694 [BZ #14648]
11695 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11696 Set bit_FMA_Usable if FMA is supported.
11697 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11698 macro.
11699 (bit_FMA4_Usable): Updated.
11700 (index_FMA_Usable): New macro.
11701 (CPUID_FMA): Likewise
11702 (HAS_FMA): Defined with bit_FMA_Usable.
11703
51367701
RM
117042012-10-01 Roland McGrath <roland@hack.frob.com>
11705
11706 * bits/types.h (__swblk_t): Type removed.
11707 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11708 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11709 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11710 (__SWBLK_T_TYPE): Likewise.
11711 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11712 (__SWBLK_T_TYPE): Likewise.
11713 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11714 (__SWBLK_T_TYPE): Likewise.
11715 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11716 (__SWBLK_T_TYPE): Likewise.
11717
4d57bf63 117182012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 11719 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
11720
11721 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11722 (xdr_mapname): Use YPMAXMAP as maxsize.
11723 (xdr_peername): Use YPMAXPEER as maxsize.
11724 (xdr_keydat): Use YPAXRECORD as maxsize.
11725 (xdr_valdat): Use YPMAXRECORD as maxsize.
11726
93c65d43
RM
117272012-10-01 Roland McGrath <roland@hack.frob.com>
11728
497a03d6
RM
11729 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11730
93c65d43
RM
11731 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11732 * csu/init-first.c: ... here.
11733 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11734 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11735 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11736 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11737 * sysdeps/i386/init-first.c: File removed.
11738 * sysdeps/sh/init-first.c: File removed.
11739
bec749fd
JM
117402012-10-01 Joseph Myers <joseph@codesourcery.com>
11741
11742 [BZ #14645]
11743 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11744 if x * y might underflow to zero and z is zero.
11745 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11746 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11747 * math/libm-test.inc (min_subnorm_value): New variable.
11748 (fma_test): Add more tests.
11749 (fma_test_towardzero): Likewise.
11750 (fma_test_downward): Likewise
11751 (fma_test_upward): Likewise.
11752 (initialize): Set min_subnorm_value.
11753
8ec5b013
JM
117542012-09-29 Joseph Myers <joseph@codesourcery.com>
11755
11756 [BZ #14638]
11757 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
11758 0 + 0.
11759 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
11760 mode for addition resulting in exact zero.
11761 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
11762 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
11763 exact 0 + 0.
11764 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11765 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11766 * math/libm-test.inc (fma_test): Add more tests.
11767 (fma_test_towardzero): New function.
11768 (fma_test_downward): Likewise.
11769 (fma_test_upward): Likewise.
11770 (main): Call the new functions.
11771
b1fa802e
DM
117722012-09-28 David S. Miller <davem@davemloft.net>
11773
11774 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
11775
d3b9fd9e
RM
117762012-09-28 Roland McGrath <roland@hack.frob.com>
11777
ea4d37b3
RM
11778 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
11779 instead of SIGALRM.
11780
ac51c949
RM
11781 * sysdeps/gnu/_G_config.h: Moved to ...
11782 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
11783 * sysdeps/mach/hurd/_G_config.h: Moved to ...
11784 * sysdeps/generic/_G_config.h: ... here.
11785
28c195f7
RM
11786 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
11787
848917f9
RM
11788 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
11789
6bacf05b
RM
11790 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
11791 Conditionalize target on [libnss_test1.so-version].
11792
91363dbb
RM
11793 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
11794
cc87f7d8
RM
11795 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
11796 (elfobjdir): Move out of conditionals.
11797
b1c608fe
RM
11798 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
11799 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
11800 (__nss_lookup_function): Conditionalize label remove_from_tree on
11801 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 11802
1d9a6d96
DM
118032012-09-28 David S. Miller <davem@davemloft.net>
11804
11805 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
11806 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
11807 file.
11808 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11809 sysdep_routines.
11810 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11811 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
11812 when HWCAP_SPARC_CRYPTO is present.
11813
72581615
PT
118142012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11815
11816 * io/tst-mknodat.c: Create a FIFO instead of a socket.
11817
715a900c
JL
118182012-09-28 Andreas Schwab <schwab@linux-m68k.org>
11819
11820 [BZ #6530]
11821 * stdio-common/vfprintf.c (process_string_arg): Revert
11822 2000-07-22 change.
11823
118242011-09-28 Jonathan Nieder <jrnieder@gmail.com>
11825
11826 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
11827 for testcase.
11828 * stdio-common/tst-sprintf.c: Include <locale.h>
11829 (main): Test sprintf's handling of incomplete multibyte
11830 characters.
11831
9bac1d86
L
118322012-09-28 H.J. Lu <hongjiu.lu@intel.com>
11833
11834 * elf/dl-runtime.c (VERSYMIDX): Removed.
11835 * elf/dl-version.c (VERSYMIDX): Likewise.
11836 * elf/do-rel.h (VERSYMIDX): Likewise.
11837 (VALIDX): Likewise.
11838 * elf/dynamic-link.h (VERSYMIDX): Likewise.
11839 * elf/rtld.c (VALIDX): Likewise.
11840 (ADDRIDX): Likewise.
9bac1d86
L
11841 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
11842 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
11843 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
11844 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
11845 (VALIDX): Likewise.
11846 (ADDRIDX): Likewise.
9bac1d86 11847
b31606c0
PT
118482012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11849
11850 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
11851
11541177
JL
118522012-09-28 Dmitry V. Levin <ldv@altlinux.org>
11853
11854 [BZ #11438]
11855 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
11856 to global scope.
11857 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
11858 addresses are in the same scope as 192.0.2/24.
11859 * posix/gai.conf: Document new scope table defaults.
11860
adb26fae
SP
118612012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11862
11863 [BZ #5298]
11864 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
11865 for ftell. Compute offsets from write pointers instead.
11866 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11867
4573c6b0
SP
118682012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11869
11870 [BZ #14543]
11871 * libio/Makefile (tests): New test case tst-fseek.
11872 * libio/tst-fseek.c: New test case to verify that fseek/ftell
11873 combination works in wide mode.
11874 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
11875 state when the external buffer state changes.
11876
aa9bbfe6
DM
118772012-09-27 David S. Miller <davem@davemloft.net>
11878
11879 [BZ #14376]
11880 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
11881 pass reloc->r_addend in as the 'high' argument to
11882 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
11883
784421e7
DM
11884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11885
c39bc8b8
PT
118862012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11887
11888 * rt/tst-aio2.c: Include <pthread.h>.
11889 * rt/tst-aio3.c: Likewise.
11890
1ccc2399
SE
118912012-09-27 Steve Ellcey <sellcey@mips.com>
11892
11893 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
11894
31ed4153
L
118952012-09-27 H.J. Lu <hongjiu.lu@intel.com>
11896
25f5f885
L
11897 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
11898 contents on [SHARED].
31ed4153 11899
b7bfe116
MP
119002012-09-26 Marek Polacek <polacek@redhat.com>
11901
11902 [BZ #14530]
11903 [BZ #13741]
11904 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
11905 for C++ and GCC <4.3 as well as for non GCC compilers.
11906
43c4edba
MT
119072012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11908
11909 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11910
6a1bf82f
RM
119112012-09-25 Roland McGrath <roland@hack.frob.com>
11912
11913 * Makefile.in (all, install): Declare with .PHONY.
11914 Reported by Michael Hope <michael.hope@linaro.org>.
11915
8ad11b9a
TMQMF
119162012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11917
11918 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
11919 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
11920 system header.
11921 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
11922 Likewise.
11923 (sydep_routines): Add the new and the internal functions.
11924 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
11925 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
11926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
11927 (GLIBC_2.17): Add the new function.
11928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11929 (GLIBC_2.17): Likewise.
11930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
11931 (GLIBC_2.17): Likewise.
11932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
11933 (GLIBC_2.17): Likewise.
11934 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
11935
7e2fca8d
AM
119362012-09-25 Alan Modra <amodra@gmail.com>
11937
11938 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
11939 Add release barrier before setting once_control to say
11940 initialisation is done. Add hints on lwarx. Use macro in
11941 place of isync.
11942 (clear_once_control): Add release barrier.
11943
b87c4b24
JM
119442012-09-25 Joseph Myers <joseph@codesourcery.com>
11945
d032e0d2
JM
11946 [BZ #13629]
11947 * math/s_clog.c (__clog): Handle more values close to |z| = 1
11948 specially.
11949 * math/s_clog10.c (__clog10): Likewise.
11950 * math/s_clog10f.c (__clog10f): Likewise.
11951 * math/s_clog10l.c (__clog10l): Likewise.
11952 * math/s_clogf.c (__clogf): Likewise.
11953 * math/s_clogl.c (__clogl): Likewise.
11954 * math/Makefile (libm-calls): Add x2y2m1.
11955 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
11956 (__x2y2m1): Likewise.
11957 (__x2y2m1l): Likewise.
11958 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
11959 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
11960 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11961 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11962 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11963 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11964 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
11965 * sysdeps/i386/fpu/libm-test-ulps: Update.
11966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11967
b87c4b24
JM
11968 [BZ #14621]
11969 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
11970 int as type of variable DEPTH.
11971 (glob): Use size_t instead of int as type of variables NEWCOUNT
11972 and OLD_PATHC.
11973
6d3bf199
LD
119742012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11975
22bf5c17
LD
11976 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11977 Add s_sincosf-sse2.
11978 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
11979 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
11980 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
11981 macros for using routine as __sincosf_ia32.
11982 Use macro for function declaration and weak_alias.
11983 * sysdeps/i386/fpu/libm-test-ulps: Update.
11984
11985 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
11986 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11987
11988 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
11989 subnormal argument.
11990 * math/s_cexpf.c (__cexpf): Likewise.
11991 * math/s_csinf.c (__csinf): Likewise.
11992 * math/s_csinhf.c (__csinhf): Likewise.
11993 * math/s_ctanf.c (__ctanf): Likewise.
11994 * math/s_ctanhf.c (__ctanhf): Likewise.
11995 * math/s_ccosh.c (__ccoshf): Likewise.
11996 * math/s_cexp.c (__cexpl): Likewise.
11997 * math/s_csin.c (__csin): Likewise.
11998 * math/s_csinh.c (__csinh): Likewise.
11999 * math/s_ctan.c (__ctan): Likewise.
12000 * math/s_ctanh.c (ctanh): Likewise.
12001 * math/s_ccoshl.c (__ccoshl): Likewise.
12002 * math/s_cexpl.c (__cexpl): Likewise.
12003 * math/s_csinl.c (__csinl): Likewise.
12004 * math/s_csinhl.c (__csinhl): Likewise.
12005 * math/s_ctanl.c (__ctanl): Likewise.
12006 * math/s_ctanhl.c (__ctanhl): Likewise.
12007
203e5603
JM
120082012-09-25 Joseph Myers <joseph@codesourcery.com>
12009
12010 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12011 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12012 (_IO_off_t): Define to __off_t, not _G_off_t.
12013 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12014 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12015 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12016 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12017 type of __dummy and __dummy2 fields.
12018 * sysdeps/generic/_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 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12026 (_G_ssize_t): Likewise.
12027 (_G_off_t): Likewise.
12028 (_G_pid_t): Likewise.
12029 (_G_uid_t): Likewise.
12030 (_G_wchar_t): Likewise.
12031 (_G_wint_t): Likewise.
12032 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12033 (_G_ssize_t): Likewise.
12034 (_G_off_t): Likewise.
12035 (_G_pid_t): Likewise.
12036 (_G_uid_t): Likewise.
12037 (_G_wchar_t): Likewise.
12038 (_G_wint_t): Likewise.
12039
9fab36eb
SP
120402012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12041
12042 * malloc/arena.c: Include malloc-sysdep.h.
12043 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12044 is sufficient to shrink the heap or an unmap is needed.
12045 * sysdeps/generic/malloc-sysdep.h: New file. Define
12046 new function check_may_shrink_heap.
12047 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12048 new function check_may_shrink_heap.
12049
2b4f00d1
SP
120502012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12051
12052 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12053 comments.
12054
9a9028b1
DL
120552012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12056
57c69bef
DL
12057 * catgets/test-gencat.sh: Add "set -e".
12058 * elf/tst-pathopt.sh: Likewise.
12059 * grp/tst_fgetgrent.sh: Likewise.
12060 * iconvdata/run-iconv-test.sh: Likewise.
12061 * intl/tst-gettext.sh: Likewise.
12062 * intl/tst-gettext2.sh: Likewise.
12063 * intl/tst-gettext4.sh: Likewise.
12064 * intl/tst-gettext6.sh: Likewise.
12065 * intl/tst-translit.sh: Likewise.
12066 * io/ftwtest-sh: Likewise.
12067 * libio/test-freopen.sh: Likewise.
12068 * malloc/tst-mtrace.sh: Likewise.
12069 * posix/globtest.sh: Likewise.
12070 * posix/tst-getconf.sh: Likewise.
12071 * posix/wordexp-tst.sh: Likewise.
12072 * stdio-common/tst-printf.sh: Likewise.
12073 * stdio-common/tst-unbputc.sh: Likewise.
12074 * stdlib/tst-fmtmsg.sh: Likewise.
12075 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12076 * catgets/Makefile: Do not specify -e option when running
12077 testsuite shell scripts.
12078 * elf/Makefile: Likewise.
12079 * grp/Makefile: Likewise.
12080 * iconvdata/Makefile: Likewise.
12081 * intl/Makefile: Likewise.
12082 * io/Makefile: Likewise.
12083 * libio/Makefile: Likewise.
12084 * malloc/Makefile: Likewise.
12085 * posix/Makefile: Likewise.
12086 * stdio-common/Makefile: Likewise.
12087 * stdlib/Makefile: Likewise.
12088 * sysdeps/x86_64/Makefile: Likewise.
12089
9a9028b1
DL
12090 * io/ftwtest-sh: Add copyright header.
12091 * posix/globtest.sh: Likewise.
12092 * posix/tst-getconf.sh: Likewise.
12093 * posix/wordexp-tst.sh: Likewise.
12094 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12095
ced6f16e
L
120962012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12097
94b32c39
L
12098 [BZ #13679]
12099 * Makeconfig (+link): Defined as $(+link-static) if
12100 $(build-shared) isn't yes.
12101 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12102 isn't yes.
12103 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12104
189e935b
L
12105 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12106
ced6f16e
L
12107 [BZ #14562]
12108 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12109 new chunk size with MALLOC_ALIGN_MASK.
12110
a9f8e53a
JM
121112012-09-24 Joseph Myers <joseph@codesourcery.com>
12112
12113 [BZ #5044]
12114 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12115 <rounding-mode.h>.
12116 (__printf_fphex): Determine rounding using get_rounding_mode and
12117 round_away.
12118 * stdio-common/tst-printf-round.c (struct hex_test): New
12119 structure.
12120 (hex_tests): New variable.
12121 (test_hex_in_one_mode): New function.
12122 (do_test): Also run tests for hex float output.
12123
43153109
JM
121242012-09-21 Joseph Myers <joseph@codesourcery.com>
12125
12126 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12127 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12128 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12129 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12130 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12131 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12132 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12133 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12134
8a26625d
JM
121352012-09-20 Joseph Myers <joseph@codesourcery.com>
12136
12137 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12138 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12139 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12140 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12141
f3fd569c
DL
121422012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12143
12144 [BZ #14579]
12145 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12146 mode only.
12147 * elf/tst-rtld-load-self.sh: New test.
12148 * elf/Makefile: Run it.
12149
63bbedd4
JM
121502012-09-18 Joseph Myers <joseph@codesourcery.com>
12151
12152 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12153 (tst-writev-ENV): Remove.
12154 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12155
626f8b6a
CM
121562012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12157
12158 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12159
b7aaa4d6
JM
121602012-09-17 Joseph Myers <joseph@codesourcery.com>
12161
12162 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12163 unconditional.
12164 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12165 Likewise.
12166 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12167 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12168 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12169 Likewise.
12170
65513990
L
121712012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12172
12173 [BZ #14587]
12174 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12175 * config.make.in (have-cpp-asm-debuginfo): Removed.
12176 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12177 * configure: Regenerated.
12178
784761be
JM
121792012-09-14 Joseph Myers <joseph@codesourcery.com>
12180
12181 [BZ #5044]
12182 * stdio-common/printf_fp.c: Include <stdbool.h> and
12183 <rounding-mode.h>.
12184 (___printf_fp): Determine rounding using get_rounding_mode and
12185 round_away.
12186 * stdio-common/tst-printf-round.c: New file.
12187 * stdio-common/Makefile (tests): Add tst-printf-round.
12188 (link-libm): New variable.
12189 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12190
9503345f
L
121912012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12192
12193 [BZ #14576]
12194 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12195 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12196 Likewise.
12197 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12198 Likewise.
12199
ad35fc00
JM
122002012-09-13 Joseph Myers <joseph@codesourcery.com>
12201
12202 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12203 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12204 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12205 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12206
6c9b0f68
JM
122072012-09-12 Joseph Myers <joseph@codesourcery.com>
12208
12209 [BZ #14518]
12210 * include/rounding-mode.h: New file.
12211 * sysdeps/generic/get-rounding-mode.h: Likewise.
12212 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12213 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12214 (MAX_VALUE): New macro.
12215 (MIN_VALUE): Likewise.
12216 (overflow_value): New function.
12217 (underflow_value): Likewise.
12218 (round_and_return): Use overflow_value and underflow_value to
12219 determine return values in overflow and underflow cases. Use
12220 round_away to determine rounding depending on rounding mode.
12221 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12222 determine return values in overflow and underflow cases.
12223 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12224 (struct test_results): New structure.
12225 (struct test): Use struct test_results to store expected results
12226 for all rounding modes.
12227 (TEST): Include expected results for all rounding modes.
12228 (test_in_one_mode): New function.
12229 (do_test): Use test_in_one_mode to compute and check results.
12230 Check results for all rounding modes.
12231 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12232 $(link-libm).
12233
19fcedd5
AM
122342012-12-09 Allan McRae <allan@archlinux.org>
12235
1e9d84cd 12236 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 12237
8bbfd2f1
JM
122382012-09-11 Joseph Myers <joseph@codesourcery.com>
12239
12240 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12241 (_G_int32_t): Likewise.
12242 (_G_uint16_t): Likewise.
12243 (_G_uint32_t): Likewise.
12244 (_G_HAVE_BOOL): Likewise.
12245 (_G_HAVE_ATEXIT): Likewise.
12246 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12247 (_G_HAVE_IO_FILE_OPEN): Likewise.
12248 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12249 (_G_int32_t): Likewise.
12250 (_G_uint16_t): Likewise.
12251 (_G_uint32_t): Likewise.
12252 (_G_HAVE_BOOL): Likewise.
12253 (_G_HAVE_ATEXIT): Likewise.
12254 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12255 (_G_HAVE_IO_FILE_OPEN): Likewise.
12256 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12257 (_G_int32_t): Likewise.
12258 (_G_uint16_t): Likewise.
12259 (_G_uint32_t): Likewise.
12260 (_G_HAVE_BOOL): Likewise.
12261 (_G_HAVE_ATEXIT): Likewise.
12262 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12263 (_G_HAVE_IO_FILE_OPEN): Likewise.
12264
b1dc5912
L
122652012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12266
12267 * csu/libc-tls.c: Update copyright years.
12268
0e886ef9
JM
122692012-09-10 Joseph Myers <joseph@codesourcery.com>
12270
28361c5e
JM
12271 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12272 [!_G_USING_THUNKS]: Remove conditional code.
12273 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12274 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12275
0e886ef9
JM
12276 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12277 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12278 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12279 (_G_VTABLE_LABEL_PREFIX): Likewise.
12280 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12281 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12282 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12283 (_G_VTABLE_LABEL_PREFIX): Likewise.
12284 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12285 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12286 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12287 (_G_VTABLE_LABEL_PREFIX): Likewise.
12288 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12289
bcba7aa2
L
122902012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12291
12292 * libio/Makefile: Include ../Makeconfig before tests.
12293 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12294 only if $(build-shared) is yes.
12295
06585ee8
L
12296 * iconv/gconv_db.c: Update copyright years.
12297
80ccd52c
LD
122982012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12299
12300 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12301 unwind info if defined PIC. Fix special cases description.
12302 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12303
12304 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12305 DP_HI_MASK entry.
12306 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12307
691bc9c1
L
123082012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12309
3d9b46b3
L
12310 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12311
de2139a9
L
12312 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12313 is NULL.
12314
5ca78dd0
L
12315 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12316 (LDLIBS-tst-chk4): This.
12317 (LDFLAGS-tst-chk5): Renamed to ...
12318 (LDLIBS-tst-chk5): This.
12319 (LDFLAGS-tst-chk6): Renamed to ...
12320 (LDLIBS-tst-chk6): This.
12321 (LDFLAGS-tst-lfschk4): Renamed to ...
12322 (LDLIBS-tst-lfschk4): This.
12323 (LDFLAGS-tst-lfschk5): Renamed to ...
12324 (LDLIBS-tst-lfschk5): This.
12325 (LDFLAGS-tst-lfschk6): Renamed to ...
12326 (LDLIBS-tst-lfschk6): This.
12327
691bc9c1
L
12328 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12329 on $(common-objpfx)soversions.mk.
12330
65cafb1c
JM
123312012-09-07 Joseph Myers <joseph@codesourcery.com>
12332
12333 [BZ #10014]
12334 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12335 example host name.
12336
c78ab094
SP
123372012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12338
12339 * malloc/arena.c (arena_get_retry): New function that gets
12340 another arena for the caller to try its request on.
12341 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12342 current arena cannot fulfill the request.
12343 (__libc_memalign): Likewise.
12344 (__libc_memalign): Likewise.
12345 (__libc_pvalloc): Likewise.
12346 (__libc_calloc): Likewise.
12347
01f49f59
JT
123482012-09-05 John Tobey <john.tobey@gmail.com>
12349
12350 [BZ #13542]
12351 * manual/arith.texi (Operations on Complex): Fix description
12352 of carg branch cut.
12353
4c23fed5
JM
123542012-09-06 Joseph Myers <joseph@codesourcery.com>
12355
1d3c8572
JM
12356 [BZ #10014]
12357 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12358 host name.
12359
4c23fed5
JM
12360 [BZ #10038]
12361 * manual/memory.texi (Memory): Make order of menu items match
12362 order of sections.
12363
04570aaa
L
123642012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12365
12366 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12367 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12368 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12369
b80af2f4
L
123702012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12371
12372 * csu/libc-tls.c (static_dtv): Renamed to ...
12373 (_dl_static_dtv): This. Make it global.
12374 (_dl_initial_dtv): Removed.
12375 (__libc_setup_tls): Updated.
12376 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12377 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12378 DL_INITIAL_DTV.
12379
2abe9f15
PM
123802012-09-06 Petr Machata <pmachata@redhat.com>
12381
12382 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12383 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12384 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12385 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12386
0948c3af
L
123872012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12388
12389 [BZ #14545]
12390 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12391 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12392 freeing dtv[-1].
12393
a5055ad1
L
123942012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12395
12396 [BZ #14544]
12397 * Makeconfig (link-static-before-libc): Replace $(+prector)
12398 with $(+prectorT).
12399 (link-static-after-libc): Replace $(+postctor) with
12400 $(+postctorT).
12401 (link-bounded): Replace $(+prector)/$(+postctor) with
12402 $(+prectorT)/$(+postctorT).
12403 (+prectorT): New macro.
12404 (+postctorT): Likewise.
12405
ed8c2ecd
JM
124062012-09-06 Joseph Myers <joseph@codesourcery.com>
12407
12408 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12409 (round_str): Handle values above the maximum for IBM long double
12410 as inexact.
12411 * stdlib/tst-strtod-round.c (tests): Regenerated.
12412
14c996c8
AK
124132012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12414
12415 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12416 assembler flag.
12417 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12418 zarch_nohighgprs around the zarch optimized routines.
12419 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12420 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12421 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12422 for zarch.
12423
430d6ce6
DM
124242012-09-05 David S. Miller <davem@davemloft.net>
12425
12426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12427
ff04dda4
DM
12428 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12429 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12430 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12431 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12432 entries.
12433
24d4e01b
AO
124342012-09-05 Alexandre Oliva <aoliva@redhat.com>
12435
12436 * malloc/arena.c: Fold copyright years.
12437 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12438
61d58174
AO
124392012-09-05 Alexandre Oliva <aoliva@redhat.com>
12440
12441 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12442
20196a5e
AO
124432012-09-05 Alexandre Oliva <aoliva@redhat.com>
12444
12445 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12446
5c447383
AO
124472012-09-05 Alexandre Oliva <aoliva@redhat.com>
12448
12449 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12450 change internal state upon failure.
12451
fad64255
AO
124522012-09-05 Alexandre Oliva <aoliva@redhat.com>
12453
12454 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12455 * malloc/memusage.c (mmap): Likewise.
12456 (mmap64, mremap): Likewise. Adjust name in comment.
12457
1ffb8c90
SP
124582012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12459
12460 * libio/fileops.c: Fix typos in comments.
12461 * libio/oldfileops.c: Likewise.
12462 * libio/wfileops.c: Likewise.
12463
6ef9cc37
SP
124642012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12465
12466 [BZ #1349]
12467 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12468 (tst-malloc-usable-ENV): Set environment for test case.
12469 * malloc/hooks.c (malloc_check_get_size): New function to get
12470 requested size.
12471 * malloc/malloc.c (musable): Use malloc_check_get_size.
12472 * malloc/tst-malloc-usable.c: New test case.
12473
4d038ae3
AS
124742012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12475
12476 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12477
c4e85184
AM
124782012-09-05 Allan McRae <allan@archlinux.org>
12479
b9dafc56 12480 [BZ #13966]
c4e85184
AM
12481 * configure.in (CXX_SYSINCLUDES): Use compiler output to
12482 determine header location.
12483 * configure: Regenerated.
12484
e1343020
AS
124852012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12486
12487 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12488 float format.
12489 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
12490 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12491 format.
e1343020
AS
12492 (test): Regenerate.
12493
0a9f1987
DM
124942012-09-04 David S. Miller <davem@davemloft.net>
12495
12496 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12497 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12498 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12499
29237804
FW
125002012-09-04 Florian Weimer <fweimer@redhat.com>
12501
12502 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12503 failures.
12504
edb3cb88
FW
12505 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12506
60160d83
JM
125072012-09-04 Joseph Myers <joseph@codesourcery.com>
12508
12509 [BZ #9914]
12510 * libio/iogetdelim.c: Include <limits.h>.
12511 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12512 + len + 1 would overflow.
12513
bcd6c8dc
AJ
125142012-09-03 Andreas Jaeger <aj@suse.de>
12515
12516 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12517 * sysdeps/i386/fpu/libm-test-ulps: Update.
12518
4ffffbd2
LD
125192012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12520
12521 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12522 Add s_sinf-sse2, s_conf-sse2.
12523
12524 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12525 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12526 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12527 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12528
12529 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12530 for using routine as __sinf_ia32.
12531 Use macro for function declaration and weak_alias.
12532 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12533 for using routine as __cosf_ia32.
12534 Use macro for function declaration and weak_alias.
12535
12536 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12537 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12538
12539 * sysdeps/x86_64/fpu/s_sinf.S: New file.
12540 * sysdeps/x86_64/fpu/s_cosf.S: New file.
12541 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12542
12543 * math/libm-test.inc (cos_test): Add more test cases.
12544 (sin_test): Likewise.
12545 (sincos_test): Likewise.
12546
511fa286
AK
125472012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12548
12549 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12550 (IFUNC_RESOLVE): Make pointers to the specialized implementations
12551 hidden.
12552 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12553
5f30cfec
L
125542012-09-02 H.J. Lu <hongjiu.lu@intel.com>
12555
12556 [BZ #14538]
12557 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12558 first element of the GOT.
12559 (elf_machine_load_address): Return the difference between
12560 the runtime address of _DYNAMIC and elf_machine_dynamic ().
12561
0786794f
AM
125622012-09-01 Allan McRae <allan@archlinux.org>
12563
5f30cfec
L
12564 [BZ #13412]
12565 * configure.in (AWK): Require gawk version 3.0 or later.
12566 * configure: Regenerated.
0786794f 12567
26889eac
JM
125682012-09-01 Joseph Myers <joseph@codesourcery.com>
12569
12570 * sysdeps/unix/sysv/linux/kernel-features.h
12571 (__ASSUME_POSIX_CPU_TIMERS): Remove.
12572 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12573 [__NR_clock_getres]: Make code unconditional.
12574 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12575 (clock_getcpuclockid): Remove code left unreachable by removal of
12576 conditionals.
12577 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12578 code unconditional.
12579 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12580 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12581 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12582 Make code unconditional.
12583 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12584 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12585 * sysdeps/unix/sysv/linux/clock_settime.c
12586 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12587 conditional code.
12588 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12589 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12590
d22e28b0
L
125912012-08-29 H.J. Lu <hongjiu.lu@intel.com>
12592
12593 [BZ #14476]
12594 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12595 scripts/test-installation.pl.
12596
12597 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12598 and $ld_so_version if it is set.
12599
050af9c4
SP
126002012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12601
12602 [BZ #14516]
12603 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12604 failure if reading from procfs failed.
12605 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12606
ad845c0b
JM
126072012-08-27 Joseph Myers <joseph@codesourcery.com>
12608
12609 * sysdeps/unix/sysv/linux/kernel-features.h
12610 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12611 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12612 Remove conditional code.
12613 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12614 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12615 Remove conditional code.
12616 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12617 * sysdeps/unix/sysv/linux/i386/fxstat.c
12618 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12619 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12620 * sysdeps/unix/sysv/linux/i386/fxstatat.c
12621 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12622 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12623 * sysdeps/unix/sysv/linux/i386/lxstat.c
12624 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12625 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12626 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12627 Remove conditional code.
12628 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12629 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12630 Remove conditional code.
12631 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12632 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12633 <kernel-features.h>.
12634 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12635 Remove.
12636 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12637 Remove conditional code.
12638 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12639 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12640 Remove conditional.
12641
5dbf56af
MF
126422012-08-27 Mike Frysinger <vapier@gentoo.org>
12643
12644 [BZ #5400]
12645 * NEWS: Add fixed bug number.
12646
d6e70f43
JM
126472012-08-27 Joseph Myers <joseph@codesourcery.com>
12648
7efb4737
JM
12649 [BZ #14519]
12650 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12651 underflowing exponent in case of negative sign.
12652 * stdlib/tst-strtod-round-data: Add more tests.
12653 * stdlib/tst-strtod-round.c (tests): Regenerated.
12654
af92131a
JM
12655 [BZ #3479]
12656 * stdlib/strtod_l.c (NDIG): Remove.
12657 (HEXNDIG): Likewise.
12658 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12659 smallest representable value.
12660 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12661 lie within an exact representation of 1/2 ulp of the result.
12662 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12663 unconditionally.
12664 (TENS_P9_IDX): Define unconditionally.
12665 (TENS_P9_SIZE): Likewise.
12666 (TENS_P10_IDX): Likewise.
12667 (TENS_P10_SIZE): Likewise.
12668 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12669 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12670 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12671 entries for 10^2^13 and 10^2^14.
12672 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12673 (TENS_P13_IDX): Define.
12674 (TENS_P13_SIZE): Likewise.
12675 (TENS_P14_IDX): Likewise.
12676 (TENS_P14_SIZE): Likewise.
12677 (_fpioconst_pow10): Change array size to
12678 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
12679 unconditional.
12680 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12681 1024]: Add entries for 10^2^13 and 10^2^14.
12682 [LAST_POW10 > _LAST_POW10]: Remove #error.
12683 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12684 (_fpioconst_pow10): Change array size to
12685 FPIOCONST_POW10_ARRAY_SIZE.
12686 * stdlib/gen-fpioconst.c: New file.
12687 * stdlib/gen-tst-strtod-round.c: Likewise.
12688 * stdlib/tst-strtod-round-data: Likewise.
12689 * stdlib/tst-strtod-round.c: Likewise.
12690 * stdlib/Makefile (tests): Add tst-strtod-round.
12691
d6e70f43
JM
12692 [BZ #14459]
12693 * stdlib/strtod_l.c: Include <stdint.h>.
12694 (NDEBUG): Do not define.
12695 (round_and_return): Change EXPONENT parameter to type intmax_t.
12696 Rearrange calculations to avoid internal overflow possibilities.
12697 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12698 Rearrange calculations to avoid internal overflow possibilities.
12699 Assert that number fits inside MPNSIZE limbs.
12700 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12701 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
12702 calculations and add assertions to avoid internal overflow
12703 possibilities. Add casts to avoid signed/unsigned operations.
12704 * stdlib/tst-strtod-overflow.c: New file.
12705 * stdlib/Makefile (tests): Add tst-strtod-overflow.
12706
1f529f7d
MP
127072012-08-25 Marek Polacek <polacek@redhat.com>
12708
12709 * time/time.h: Fix some typos in comments.
12710
59a629f1
RM
127112012-08-23 Roland McGrath <roland@hack.frob.com>
12712
12713 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12714 * posix/tst-rfc3484-2.c: Likewise.
12715 * posix/tst-rfc3484-3.c: Likewise.
12716
d3bafbc9
SM
127172012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
12718
12719 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12720 (EF_ARM_ABI_FLOAT_HARD): Likewise.
12721
4efcc022
JM
127222012-08-23 Joseph Myers <joseph@codesourcery.com>
12723
12724 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12725 #include of fxstatat64.c.
12726
3cc3ef96
RM
127272012-08-22 Roland McGrath <roland@hack.frob.com>
12728
f04e2132
RM
12729 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12730 * shadow/getspent_r.c: Likewise.
12731 * shadow/getspnam.c: Likewise.
12732 * shadow/getspnam_r.c: Likewise.
12733 * gshadow/getsgent.c: Likewise.
12734 * gshadow/getsgent_r.c: Likewise.
12735 * gshadow/getsgnam.c: Likewise.
12736 * gshadow/getsgnam_r.c: Likewise.
12737 * inet/getnetbyad.c: Likewise.
12738 * inet/getnetbyad_r.c: Likewise.
12739 * inet/getnetbynm.c: Likewise.
12740 * inet/getnetbynm_r.c: Likewise.
12741 * inet/getnetent.c: Likewise.
12742 * inet/getnetent_r.c: Likewise.
12743 * inet/getproto.c: Likewise.
12744 * inet/getproto_r.c: Likewise.
12745 * inet/getprtent.c: Likewise.
12746 * inet/getprtent_r.c: Likewise.
12747 * inet/getprtname.c: Likewise.
12748 * inet/getprtname_r.c: Likewise.
12749 * inet/getrpcbyname.c: Likewise.
12750 * inet/getrpcbyname_r.c: Likewise.
12751 * inet/getrpcbynumber.c: Likewise.
12752 * inet/getrpcbynumber_r.c: Likewise.
12753 * inet/getrpcent.c: Likewise.
12754 * inet/getrpcent_r.c: Likewise.
12755 * inet/getaliasent.c: Likewise.
12756 * inet/getaliasent_r.c: Likewise.
12757 * inet/getaliasname.c: Likewise.
12758 * inet/getaliasname_r.c: Likewise.
12759 * nscd/getgrgid_r.c: Likewise.
12760 * nscd/getgrnam_r.c: Likewise.
12761 * nscd/gethstbyad_r.c: Likewise.
12762 * nscd/gethstbynm3_r.c: Likewise.
12763 * nscd/getpwnam_r.c: Likewise.
12764 * nscd/getpwuid_r.c: Likewise.
12765 * nscd/getsrvbynm_r.c: Likewise.
12766 * nscd/getsrvbypt_r.c: Likewise.
12767 * nscd/gai.c: Likewise.
12768
c53d909c
RM
12769 * configure.in (build_nscd): New substituted variable, set
12770 by --disable-build-nscd and defaults to $use_nscd.
12771 * configure: Regenerated.
12772 * config.make.in (build-nscd): New substituted variable.
12773 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
12774 Change conditional to require [$(build-nscd) = yes] as well.
12775 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
12776
3cc3ef96
RM
12777 [BZ# 13696]
12778 * configure.in (use_nscd): New substituted variable, set by
12779 --disable-nscd. If enabled, define USE_NSCD.
12780 * configure: Regenerated.
12781 * config.h.in: Add USE_NSCD.
12782 * config.make.in (use-nscd): New substituted variable.
12783 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
12784 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
12785 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
12786 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
12787 (CFLAGS-getgrnam_r.c): Likewise.
12788 (CFLAGS-initgroups.c): Likewise.
12789 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
12790 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
12791 Variables removed.
12792 * inet/getnetgrent_r.c
12793 (nscd_setnetgrent): New function, broken out of ...
12794 (setnetgrent): ... here. Call it.
12795 (innetgr): Conditionalize nscd bits on [USE_NSCD].
12796 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
12797 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
12798 * nscd/Makefile (routines, aux): Move definitions after include of
12799 Makeconfig. Conditionalize on [$(use-nscd) != no].
12800 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
12801 Conditionalize on [USE_NSCD].
12802 (is_nscd, nscd_init_cb): Likewise.
12803 (nss_load_library): Conditionalize init callback on [USE_NSCD].
12804 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
12805 * nss/nss_db/db-init.c: Likewise.
12806 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
12807 [USE_NSCD].
12808 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
12809 (make_request): Use it.
12810 (cache_valid_p): New function.
12811 (__check_pf): Use it.
12812 * NEWS: Add item for --disable-nscd.
12813
07e51550
DL
128142012-08-22 Dmitry V. Levin <ldv@altlinux.org>
12815
12816 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
12817 to support sed >= 4.2.1-20-ga9bf076.
12818 * configure: Regenerated.
12819
35a5b08b
RM
128202012-08-22 Roland McGrath <roland@hack.frob.com>
12821
12822 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
12823 Conditionalize whole body on [IREL].
12824
8479f23a
JL
128252012-08-22 Jeff Law <law@redhat.com>
12826
12827 [BZ #14505]
12828 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
12829 if the family is PF_UNSPEC.
12830
48da0b21
MF
128312012-08-22 Mike Frysinger <vapier@gentoo.org>
12832
12833 * Makerules (lib-version): Rename from V.
12834 (install-lib-nosubdir): Change V to lib-version.
12835
15d0da8c
WS
128362012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
12837
12838 [BZ #14252]
12839 * powerpc32/power6/wcschr.c: New file.
12840 * powerpc32/power6/wcscpy.c: New file.
12841 * powerpc32/power6/wcsrchr.c: New file.
12842 * powerpc64/power6/wcschr.c: New file.
12843 * powerpc64/power6/wcscpy.c: New file.
12844 * powerpc64/power6/wcsrchr.c: New file.
12845
bcca0895
MK
128462012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12847
12848 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
12849 (two_way_short_needle): Use it.
5a4aaa33
RM
12850 * string/strstr.c (AVAILABLE1_USES_J): Define.
12851 * string/strcasestr.c: Likewise.
99677e57
MK
12852
12853 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
12854 array references.
12855 * string/strcasestr.c (TOLOWER): Make side-effect safe.
12856
400726de
MK
12857 [BZ #11607]
12858 * NEWS: Add an entry.
12859 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
12860 define their defaults.
12861 (two_way_short_needle): Detect end-of-string on-the-fly.
12862 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
12863 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
12864 * string/bug-strcasestr1.c: New test.
12865 * string/Makefile: Run it.
12866
20a71f2c
MK
128672012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12868
12869 [BZ #11607]
12870 * string/str-two-way.h (two_way_short_needle): Optimize matching of
12871 the first character.
12872
21ad0558
RM
128732012-08-21 Roland McGrath <roland@hack.frob.com>
12874
12875 * csu/elf-init.c (__libc_csu_irel): Function removed.
12876 * csu/libc-start.c (apply_irel): New function.
12877 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
12878
0e1d9911
JM
128792012-08-21 Joseph Myers <joseph@codesourcery.com>
12880
12881 * sysdeps/unix/sysv/linux/kernel-features.h
12882 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
12883 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12884 <kernel-features.h>.
12885 [__NR_fadvise64_64]: Make code unconditional.
12886 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
12887 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12888 !__NR_fadvise64_64)]: Likewise.
12889 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12890 !__NR_fadvise64_64))]: Likewise.
12891 [__NR_fadvise64]: Make code unconditional.
12892 [!__NR_fadvise64]: Remove conditional code.
12893 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
12894 <kernel-features.h>.
12895 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12896 unconditional.
12897 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12898 conditional code.
12899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
12900 not include <kernel-features.h>.
12901 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12902 unconditional.
12903 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12904 conditional code.
12905 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
12906 include <kernel-features.h>.
12907 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12908 unconditional.
12909 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12910 conditional code.
12911
14a50c9d
WS
129122012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12913
12914 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
12915 slight instruction rearrangements per scrollpipe analysis.
12916 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12917
c0f4faf0
RM
129182012-08-20 Roland McGrath <roland@hack.frob.com>
12919
696da859
RM
12920 * manual/syslog.texi (syslog; vsyslog, closelog):
12921 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
12922 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
12923
c0f4faf0
RM
12924 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
12925 DSOCAPS to match condition on defining it.
12926
348363b2
JM
129272012-08-20 Joseph Myers <joseph@codesourcery.com>
12928
a35cbf28
JM
12929 * sysdeps/unix/sysv/linux/kernel-features.h
12930 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
12931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
12932 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12933 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
12935 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12936 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
12938 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12939 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12940
445f7ecd
JM
12941 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
12942 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
12943
348363b2
JM
12944 * sysdeps/unix/sysv/linux/kernel-features.h
12945 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
12946 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
12947 unconditional.
12948 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12949 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
12950 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12951 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12952 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
12953 Make code unconditional.
12954 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12955 (__mmap64) [!__NR_mmap2]: Likewise.
12956 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
12957 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12958 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12959 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
12960 [__NR_mmap2]: Make code unconditional.
12961 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12962 (__mmap64) [!__NR_mmap2]: Likewise.
12963
bc5bc0e5
AK
129642012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12965
12966 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
12967
88d506de
AJ
129682012-08-18 Andreas Jaeger <aj@suse.de>
12969
12970 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
12971
493387d2
MF
129722012-08-18 Mike Frysinger <vapier@gentoo.org>
12973
12974 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
12975 * include/unistd.h (__have_sock_cloexec): Likewise.
12976 (__have_pipe2): Likewise.
12977 (__have_dup3): Likewise.
12978
a277af22
MF
129792012-08-18 Mike Frysinger <vapier@gentoo.org>
12980
12981 [BZ #9685]
12982 * include/unistd.h (__have_pipe2): Change define into an extern int.
12983 (__have_dup3): Likewise.
12984 * socket/have_sock_cloexec.c: Include fcntl.h.
12985 (__have_pipe2): New variable.
12986 (__have_dup3): Likewise.
12987
fdab8fd3
MF
129882012-08-17 Mike Frysinger <vapier@gentoo.org>
12989
12990 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
12991
31035e80
MP
129922012-08-17 Marek Polacek <polacek@redhat.com>
12993
12994 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
12995 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
12996
3bd9e993
RM
129972012-08-17 Roland McGrath <roland@hack.frob.com>
12998
c91c505f
RM
12999 * configure.in: Add AC_SUBST for sysheaders.
13000 * configure: Regenerated.
13001 * config.make.in (sysheaders): New substituted variable.
13002
7c6f9d53
RM
13003 * sysdeps/unix/mkfifo.c: Moved ...
13004 * sysdeps/posix/mkfifo.c: ... here.
13005 * sysdeps/unix/mkfifoat.c: Moved ...
13006 * sysdeps/posix/mkfifoat.c: ... here.
13007
13008 * sysdeps/unix/utime.c: Moved ...
13009 * sysdeps/posix/utime.c: ... here.
13010
13011 * sysdeps/unix/time.c: Moved ...
13012 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13013 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13014 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13015
13016 * sysdeps/unix/nice.c: Moved ...
13017 * sysdeps/posix/nice.c: ... here.
13018
13019 * sysdeps/unix/alarm.c: Moved ...
13020 * sysdeps/posix/alarm.c: ... here.
13021
3bd9e993
RM
13022 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13023
d1f09384
JL
130242012-08-17 Jeff Law <law@redhat.com>
13025
13026 * intl/Makefile (codeset_mo): New variable.
13027 ($(codeset_mo)): New target.
13028 (tst-codeset.out): Depend on that. Remove explicit rule.
13029 (tst-gettext3.out, tst-gettext5.out): Likewise.
13030 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13031 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13032 * intl/tst-codeset.sh: Remove.
13033 * intl/tst-gettext3.sh: Likewise.
13034 * intl/tst-gettext5.sh: Likewise.
13035
2ae1ae5c
RM
130362012-08-17 Roland McGrath <roland@hack.frob.com>
13037
c31fdb83
RM
13038 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13039 * sysdeps/unix/syscalls.list: ... here.
13040
a0844057
RM
13041 * sysdeps/posix/getaddrinfo.c
13042 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13043 (gaiconf_init, gaiconf_reload): Use them.
13044 [!_STATBUF_ST_NSEC]
13045 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13046 Define using time_t rather than struct timespec.
13047
750c1f2a
RM
13048 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13049 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13050 Macros removed.
13051 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13052 [!NO_THREADS].
13053 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13054 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13055 Likewise.
13056
2ae1ae5c
RM
13057 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13058 __libc_cleanup_push argument.
13059
e66a42f5
RM
13060 * bits/param.h: New file.
13061 * misc/sys/param.h: New file.
13062 * include/sys/param.h: New file.
13063 * misc/Makefile (headers): Add bits/param.h.
13064 * sysdeps/generic/sys/param.h: File removed.
13065 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13066 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13067 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13068 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13069
b7c08a66
RM
13070 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13071 last change.
13072
b2e1c562
RM
13073 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13074 [_IO_MTSAFE_IO].
13075 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13076 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13077 New macros.
13078
c75ccd4c
RM
13079 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13080 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13081 rather than -D_IO_MTSAFE_IO conditionally.
13082 * stdio-common/Makefile (CPPFLAGS): Likewise.
13083 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13084 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13085 Use $(libio-mtsafe).
13086 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13087 of -D_IO_MTSAFE_IO.
13088 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13089 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13090 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13091 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13092 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13093 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13094 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13095 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13096 (CFLAGS-fread_u_chk.c): Likewise.
13097 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13098 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13099 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13100 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13101 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13102 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13103 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13104 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13105 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13106
13107 * libio/Makefile: Test [$(libc-reentrant) = yes]
13108 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13109
13110 * Makeconfig
13111 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13112 * sysdeps/pthread/configure: File removed.
13113 * sysdeps/pthread/Makeconfig: New file.
13114 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13115 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13116
d9195db8
GB
131172012-08-16 Gary Benson <gbenson@redhat.com>
13118
13119 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13120 unmapping the first object in a namespace.
13121
86466cd9
RM
131222012-08-16 Roland McGrath <roland@hack.frob.com>
13123
13124 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13125 (__internal_setnetgrent): ... this. Add internal_function to
13126 definition. Add libc_hidden_def.
13127 (setnetgrent): Update caller.
13128 (internal_endnetgrent): Renamed to ...
13129 (__internal_endnetgrent): ... this. Add internal_function to
13130 definition. Add libc_hidden_def.
13131 (endnetgrent): Update caller.
13132 (internal_getnetgrent_r): Renamed to ...
13133 (__internal_getnetgrent_r): ... this. Add internal_function to
13134 definition. Add libc_hidden_def.
13135 (__getnetgrent_r): Update caller.
13136 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13137
c3c8283c
JM
131382012-08-16 Joseph Myers <joseph@codesourcery.com>
13139
13140 * stdlib/longlong.h: Update from GCC.
13141
db1ee0a8
RM
131422012-08-16 Roland McGrath <roland@hack.frob.com>
13143
13144 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13145 on _QL, which is set by umul_ppmm but never used.
13146 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13147 variables, which are set by GMP macros but never used.
13148 * stdio-common/_itowa.c (_itowa): Likewise.
13149 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13150 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13151
30f69637
CD
131522012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13153
13154 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13155 struct La_sh_regs is not constant.
13156 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13157 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13158 and struct La_sparc64_regs are not constant.
13159
93a78ac4
JM
131602012-08-16 Joseph Myers <joseph@codesourcery.com>
13161
13162 * sysdeps/unix/sysv/linux/kernel-features.h
13163 (__ASSUME_POSIX_TIMERS): Remove.
13164 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13165 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13166 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13167 Make code unconditional.
13168 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13169 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13170 Make code unconditional.
13171 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13172 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13173 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13174 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13175 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13176 Make code unconditional.
13177 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13178 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13179 (__libc_missing_posix_timers): Remove.
13180
dd924cd7
RM
131812012-08-15 Roland McGrath <roland@hack.frob.com>
13182
4b4f2771
RM
13183 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13184 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13185
601c888b
RM
13186 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13187
176790a7
RM
13188 * elf/dl-sym.c: Include <stdlib.h>.
13189
329bc018
RM
13190 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13191 constants, which avoids warnings in 32-bit builds.
13192
e04e272d
RM
13193 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13194 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13195
952bf94a
RM
13196 * misc/lseek.c: File moved to ...
13197 * io/lseek.c: ... here.
13198
7c99b50a
RM
13199 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13200
dd924cd7
RM
13201 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13202 shifting LEN more than 31 bits at once.
13203
b3f479a8
LD
132042012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13205
13206 [BZ #14195]
8c4ae0d4
RM
13207 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13208 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13209 * string/test-strncasecmp.c (check1): Renamed to...
13210 (bz12205): ...this.
13211 (bz14195): Add new testcase for two empty input strings and N > 0.
13212 (test_main): Call new testcase, adapt for renamed function.
13213
9c55864e
AJ
132142012-08-15 Andreas Jaeger <aj@suse.de>
13215
13216 [BZ #14090]
13217 * crypt/md5test2.c: New test, based on test supplied by Serge
13218 Belyshev <belyshev@depni.sinp.msu.ru>.
13219 * crypt/Makefile (xtests): Add md5test-giant..
13220 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13221
02dcb6c5
PE
132222012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13223
13224 [BZ #14090]
13225 * crypt/md5.c (md5_process_block): Don't assume the buffer
13226 length is less than 2**32.
13227 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13228 length is less than 2**64.
13229
a3f95dcc
RM
132302012-08-15 Roland McGrath <roland@hack.frob.com>
13231
be75d758
RM
13232 * string/str-two-way.h: Include <sys/param.h>.
13233 (MAX): Macro removed.
13234
7312ca90
RM
13235 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13236 Move #define and #undef of memmove to just before and after
13237 including <string.h>.
13238
9a0a5486
RM
13239 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13240 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13241 and after including <string.h>. Move declarations of
13242 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13243 to before #include "string/memmove.c".
13244
67cc348d
RM
13245 * include/dirent.h: Declare __getdirentries.
13246
a3f95dcc
RM
13247 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13248 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13249
ca98e171
MF
132502012-08-14 Mike Frysinger <vapier@gentoo.org>
13251
13252 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13253 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13254 * sysdeps/i386/configure: Regenerated.
13255 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13256 STABS_CURRENT_FILE, and STABS_FUN.
13257 (END): Remove call to STABS_FUN_END.
13258 (STABS_CURRENT_FILE1): Delete.
13259 (STABS_CURRENT_FILE): Likewise.
13260 (STABS_FUN): Likewise.
13261 (STABS_FUN_END): Likewise.
13262 (STABS_FUN2): Likewise.
13263 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13264 * sysdeps/x86_64/configure: Regenerated.
13265
5908bf46
RM
132662012-08-14 Roland McGrath <roland@hack.frob.com>
13267
13268 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 13269 * elf/dl-lookup.c: Likewise.
5908bf46 13270
f2c05b9e
JM
132712012-08-14 Joseph Myers <joseph@codesourcery.com>
13272
13273 * sysdeps/unix/sysv/linux/kernel-features.h
13274 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13275 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13276 unconditionally.
13277 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13278 unconditionally.
13279 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13280 condition on __ASSUME_CLONE_THREAD_FLAGS.
13281
e11f5155
AJ
132822012-08-14 Andreas Jaeger <aj@suse.de>
13283
13284 * sysdeps/i386/fpu/libm-test-ulps: Update.
13285
51a9ba86
MK
132862012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13287
2fdd4f78
AJ
13288 * include/atomic.h (atomic_exchange_and_add): Split into ...
13289 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13290 New atomic macros.
51a9ba86 13291
ba6cba9e
MT
132922012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13293
13294 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13295
42443a47
JL
132962012-08-13 Jeff Law <law@redhat.com>
13297
13298 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13299 null byte in the output string.
13300
121dce05
JM
133012012-08-10 Joseph Myers <joseph@codesourcery.com>
13302
13303 * sysdeps/unix/sysv/linux/kernel-features.h
13304 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13305 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13306 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13307 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13308 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13309 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13310 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13311
bf51f568
JL
133122012-08-09 Jeff Law <law@redhat.com>
13313
13314 [BZ #13939]
13315 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13316 When avoid_arena is set, don't retry in the that arena. Pick the
13317 next one, whatever it might be.
13318 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13319 (arena_lock): Pass in new parameter to arena_get2.
13320 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13321 arena_get2.
13322 (__libc_malloc): Unify retrying after main arena failure with
13323 __libc_memalign version.
13324 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13325
f85fa270
L
133262012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13327
13328 [BZ #14166]
13329 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13330 to __redirect_strstr.
13331 (__strstr_sse42): Use typeof __redirect_strstr.
13332 (__strstr_ia32): Likewise.
13333 (__libc_strstr): New prototype.
13334 (strstr): Renamed to ...
13335 (__libc_strstr): This.
13336 (strstr): New strong alias of __libc_strstr.
13337 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13338 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13339 __redirect_time.
13340 Include <time.h>.
13341 (__libc_time): New prototype.
13342 (time_ifunc): Replace time with __libc_time.
13343 (time): New strong alias and hidden definition of __libc_time.
13344 (__GI_time): Remove strong alias.
13345 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13346 Include <stddef.h>.
13347 (memmove): Redefined to __redirect_memmove.
13348 (__memmove_sse2): Use typeof __redirect_memmove.
13349 (__memmove_ssse3): Likewise.
13350 (__memmove_ssse3_back): Likewise.
13351 (__libc_memmove): New prototype.
13352 (memmove): Renamed to ...
13353 (__libc_memmove): This.
13354 (memmove): New strong alias of __libc_memmove.
13355
33b4a91e
MS
133562012-08-08 Mark Salter <msalter@redhat.com>
13357
13358 * elf/elf.h
13359 (R_MN10300_TLS_GD): Define.
13360 (R_MN10300_TLS_LD): Likewise.
13361 (R_MN10300_TLS_LDO): Likewise.
13362 (R_MN10300_TLS_GOTIE): Likewise.
13363 (R_MN10300_TLS_IE): Likewise.
13364 (R_MN10300_TLS_LE): Likewise.
13365 (R_MN10300_TLS_DTPMOD): Likewise.
13366 (R_MN10300_TLS_DTPOFF): Likewise.
13367 (R_MN10300_TLS_TPOFF): Likewise.
13368 (R_MN10300_SYM_DIFF): Likewise.
13369 (R_MN10300_ALIGN): Likewise.
13370 (R_MN10300_NUM): Update.
13371
b36137f1
JM
133722012-08-08 Joseph Myers <joseph@codesourcery.com>
13373
13374 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13375 Remove.
13376
cdd915fd
RM
133772012-08-08 Roland McGrath <roland@hack.frob.com>
13378
a2433aac
RM
13379 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13380
cdd915fd
RM
13381 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13382 sysdeps/unix -> sysdeps/posix move.
13383 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13384
bf9b740a
AM
133852012-08-07 Allan McRae <allan@archlinux.org>
13386
13387 [BZ #14303]
13388 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13389 (SUNOS_CPP): Likewise.
13390 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13391 not found.
13392 (open_input): Call CPP using execvp.
13393
93df14ee
JM
133942012-08-07 Joseph Myers <joseph@codesourcery.com>
13395
13396 * sysdeps/unix/sysv/linux/kernel-features.h
13397 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13398 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13399 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13400 (__ASSUME_WAITID_SYSCALL): Likewise.
13401 * sysdeps/unix/sysv/linux/dl-execstack.c
13402 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13403 code unconditional.
13404 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13405 conditional code.
13406 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13407 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13408 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13409 code.
13410 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13411 unconditional.
13412 [__ASSUME_WAITID_SYSCALL]: Likewise.
13413 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13414
d34689de
RM
134152012-08-07 Roland McGrath <roland@hack.frob.com>
13416
a281decc
RM
13417 * sysdeps/unix/closedir.c: Renamed to ...
13418 * sysdeps/posix/closedir.c: ... here.
13419 * sysdeps/unix/dirfd.c: Renamed to ...
13420 * sysdeps/posix/dirfd.c: ... here.
13421 * sysdeps/unix/dirstream.h: Renamed to ...
13422 * sysdeps/posix/dirstream.h: ... here.
13423 * sysdeps/unix/fdopendir.c: Renamed to ...
13424 * sysdeps/posix/fdopendir.c: ... here.
13425 * sysdeps/unix/opendir.c: Renamed to ...
13426 * sysdeps/posix/opendir.c: ... here.
13427 * sysdeps/unix/readdir.c: Renamed to ...
13428 * sysdeps/posix/readdir.c: ... here.
13429 * sysdeps/unix/readdir_r.c: Renamed to ...
13430 * sysdeps/posix/readdir_r.c: ... here.
13431 * sysdeps/unix/rewinddir.c: Renamed to ...
13432 * sysdeps/posix/rewinddir.c: ... here.
13433 * sysdeps/unix/seekdir.c: Renamed to ...
13434 * sysdeps/posix/seekdir.c: ... here.
13435 * sysdeps/unix/telldir.c: Renamed to ...
13436 * sysdeps/posix/telldir.c: ... here.
13437 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13438 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13439 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13440 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13441
22895b47
RM
13442 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13443 * bits/fcntl.h: ... here.
13444
707a53b6
RM
13445 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13446 not 0.
13447 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13448 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13449 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13450 (struct flock): Move l_start, l_len to the beginning.
13451 Use __pid_t for l_pid.
13452 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13453 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13454 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13455 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13456 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13457 [__USE_LARGEFILE64] (struct flock64): New type.
13458 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13459
f0bd3e25
RM
13460 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13461 * bits/dirent.h: ... here.
13462
d34689de
RM
13463 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13464 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13465
6dad2c06
JM
134662012-08-07 Joseph Myers <joseph@codesourcery.com>
13467
13468 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13469 Change from 2.6.0 to 2.6.16.
13470 * sysdeps/unix/sysv/linux/configure: Regenerated.
13471 * sysdeps/unix/sysv/linux/kernel-features.h
13472 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13473 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13474 version.
13475 (__ASSUME_UTIMES): Likewise.
13476 (__ASSUME_CLONE_STOPPED): Remove.
13477 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13478 architectures, not kernel version.
13479 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13480 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13481 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13482 (__ASSUME_WAITID_SYSCALL): Likewise.
13483 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13484 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13485 * README: State 2.6.16 as minimum Linux kernel version. Do not
13486 refer to older versions.
13487
03af9520
RM
134882012-08-06 Roland McGrath <roland@hack.frob.com>
13489
8e49df1d
RM
13490 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13491 Define alphasort64 as an alias.
13492 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13493 Define versionsort64 as an alias.
13494 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13495 Define scandir64 as an alias.
13496 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13497 Define scandirat64 as an alias.
13498 * dirent/alphasort64.c (alphasort64):
13499 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13500 * dirent/versionsort64.c: Likewise.
13501 * dirent/scandir64.c: Likewise.
13502 * dirent/scandirat64.c: Likewise.
13503 * sysdeps/wordsize-64/alphasort.c: File removed.
13504 * sysdeps/wordsize-64/alphasort64.c: File removed.
13505 * sysdeps/wordsize-64/scandir.c: File removed.
13506 * sysdeps/wordsize-64/scandir64.c: File removed.
13507 * sysdeps/wordsize-64/scandirat.c: File removed.
13508 * sysdeps/wordsize-64/scandirat64.c: File removed.
13509 * sysdeps/wordsize-64/versionsort.c: File removed.
13510 * sysdeps/wordsize-64/versionsort64.c: File removed.
13511 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13512 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13513 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13514 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13515 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13516 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13517 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13518 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13519
13520 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13521 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13522 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13523 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13524 [defined __arch64__ || defined __sparcv9]
13525 (__INO_T_MATCHES_INO64_T): New macro.
13526 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13527 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13528 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13529 * sysdeps/unix/sysv/linux/bits/dirent.h
13530 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13531 (_DIRENT_MATCHES_DIRENT64): New macro.
13532
03af9520
RM
13533 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13534 Define lockf64 as an alias.
13535 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13536 Define fseeko64 as an alias.
13537 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13538 Define ftello64 as an alias.
13539 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13540 Define _IO_fgetpos64 and fgetpos64 as aliases.
13541 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13542 Define _IO_fsetpos64 and fsetpos64 as aliases.
13543 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13544 Conditionalize body on this.
13545 * libio/fseeko64.c: Likewise.
13546 * libio/ftello64.c: Likewise.
13547 * libio/iofgetpos64.c: Likewise.
13548 * libio/iofsetpos64.c: Likewise.
13549 * sysdeps/wordsize-64/lockf.c: File removed.
13550 * sysdeps/wordsize-64/lockf64.c: File removed.
13551 * sysdeps/wordsize-64/fseeko.c: File removed.
13552 * sysdeps/wordsize-64/fseeko64.c: File removed.
13553 * sysdeps/wordsize-64/ftello.c: File removed.
13554 * sysdeps/wordsize-64/ftello64.c: File removed.
13555 * sysdeps/wordsize-64/iofgetpos.c: File removed.
13556 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13557 * sysdeps/wordsize-64/iofsetpos.c: File removed.
13558 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13559 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13560 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13561 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13562 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13563 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13564 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13565 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13566 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13567 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13568 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13569
13570 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13571 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13572 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13573 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13574 [defined __arch64__ || defined __sparcv9]
13575 (__OFF_T_MATCHES_OFF64_T): New macro.
13576 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13577 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13578 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13579 (__OFF_T_MATCHES_OFF64_T): New macro.
13580
c5757acd
L
135812012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13582
13583 * stdlib/secure-getenv.c (__secure_getenv): Replace
13584 GLIBC_2_16 with GLIBC_2_17.
13585
3a31811e
L
135862012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13587
13588 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13589 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13590
faa2bccb
DM
135912012-08-03 David S. Miller <davem@davemloft.net>
13592
13593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13594
85fe1997
JM
135952012-08-03 Joseph Myers <joseph@codesourcery.com>
13596
13597 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13598 Remove.
13599 (__ASSUME_CORRECT_SI_PID): Likewise.
13600 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13601 (__ASSUME_TMPFS_NAME): Likewise.
13602 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13603 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13604 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13605 (HAVE_AUX_SECURE): Make definition unconditional.
13606 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13607 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13608
4f75b7a0
RM
136092012-08-03 Roland McGrath <roland@hack.frob.com>
13610
13611 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13612 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13613 * sysdeps/mach/hurd/eloop-threshold.h: New file.
13614 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13615 __eloop_threshold instead of SYMLOOP_MAX.
13616
13617 * sysdeps/generic/eloop-threshold.h: New file.
13618 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13619 of MAXSYMLINKS.
13620 * elf/chroot_canon.c (chroot_canon): Likewise.
13621
7aab07e4
JM
136222012-08-03 Joseph Myers <joseph@codesourcery.com>
13623
13624 [BZ #13717]
13625 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13626 Change to 2.6.0 everywhere.
13627 * sysdeps/unix/sysv/linux/configure: Regenerated.
13628 * sysdeps/unix/sysv/linux/kernel-features.h
13629 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13630 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13631 kernel versions.
13632 (__ASSUME_POSIX_TIMERS): Define unconditionally.
13633 (__ASSUME_FUTEX_REQUEUE): Remove.
13634 (__ASSUME_STATFS64): Define unconditionally.
13635 (__ASSUME_AT_SECURE): Likewise.
13636 (__ASSUME_CORRECT_SI_PID): Likewise.
13637 (__ASSUME_TGKILL): Define without depending on kernel version for
13638 i386.
13639 (__ASSUME_UTIMES): Likewise.
13640 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13641 kernel version.
13642 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13643 (__ASSUME_TMPFS_NAME): Likewise.
13644 * README: Update reference to Linux kernel versions.
13645
b67e9372
MP
136462012-08-02 Marek Polacek <polacek@redhat.com>
13647
1f529f7d 13648 [BZ# 14150]
b67e9372
MP
13649 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
13650 libc_cv_asm_type_prefix with %.
13651 * configure: Regenerated.
d2441631
RM
13652 * include/libc-symbols.h: Remove comment about
13653 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
13654 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13655 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13656 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13657 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13658 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13659 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13660 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13661 * elf/tst-unique2mod1.c: Likewise.
13662 * elf/tst-unique1mod2.c: Likewise.
13663 * elf/tst-unique1mod1.c: Likewise.
13664 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13665 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13666 Replace ASM_TYPE_DIRECTIVE with .type.
13667 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13668 * sysdeps/i386/sysdep.h: Likewise.
13669 * sysdeps/x86_64/sysdep.h: Likewise.
13670 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
13671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13672 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 13673 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
13674 * sysdeps/powerpc/powerpc32/sysdep.h:
13675 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
13676 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13677 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13678 * sysdeps/i386/fpu/e_powf.S: Likewise.
13679 * sysdeps/i386/fpu/e_expl.S: Likewise.
13680 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13681 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13682 * sysdeps/i386/fpu/e_pow.S: Likewise.
13683 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13684 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13685 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13686 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13687 * sysdeps/i386/fpu/e_log2.S: Likewise.
13688 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13689 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13690 * sysdeps/i386/fpu/e_powl.S: Likewise.
13691 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13692 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13693 * sysdeps/i386/fpu/e_logl.S: Likewise.
13694 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13695 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13696 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13697 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13698 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13699 * sysdeps/i386/fpu/e_log.S: Likewise.
13700 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13701 * sysdeps/i386/fpu/e_logf.S: Likewise.
13702 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13703 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13704 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13705 * sysdeps/i386/fpu/e_log10.S: Likewise.
13706 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13707 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13708 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13709 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13710 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13711 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13712 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13713 * sysdeps/i386/i686/strtok.S: Likewise.
13714 * sysdeps/i386/i386-mcount.S: Likewise.
13715 * sysdeps/i386/strtok.S: Likewise.
13716 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13717 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13718 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13719 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13720 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13721 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13722 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13723 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13724 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13725 * sysdeps/x86_64/_mcount.S: Likewise.
13726 * sysdeps/x86_64/strtok.S: Likewise.
13727 * sysdeps/sh/_mcount.S: Likewise.
13728
2747bf9a
RM
137292012-08-01 Roland McGrath <roland@hack.frob.com>
13730
13731 * libio/iofopen.c: Include <fcntl.h>.
13732 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13733 (_IO_fopen64, fopen64): Define as aliases.
13734 * libio/iofopen64.c: Include <fcntl.h>.
13735 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13736 Conditionalize body on this.
13737 * sysdeps/wordsize-64/iofopen.c: File removed.
13738 * sysdeps/wordsize-64/iofopen64.c: File removed.
13739
3fb791b8
MP
137402012-08-01 Marek Polacek <polacek@redhat.com>
13741
13742 * libc/Makeconfig: Use elf in place of binfmt-subdir.
13743 Use dlfcn directly instead of a variable.
13744 (binfmt-subdir): Do not define.
13745 (dlfcn): Likewise.
13746
a9f1039f
JM
137472012-08-01 Joseph Myers <joseph@codesourcery.com>
13748
23bddc06
JM
13749 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
13750 Remove all definitions.
13751 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
13752 <kernel-features.h>.
13753 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13754 (miss_F_GETOWN_EX): Remove all definitions.
13755 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
13756 macro definition.
13757 [!__ASSUME_FCNTL64]: Remove conditional code.
13758 [__ASSUME_FCNTL64]: Make code unconditional.
13759 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
13760 <kernel-features.h>.
13761 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13762 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
13763 (lockf64) [__NR_fcntl64]: Make code unconditional.
13764 (lockf64) [__ASSUME_FCNTL64]: Likewise.
13765
a9f1039f
JM
13766 * sysdeps/unix/sysv/linux/kernel-features.h
13767 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
13768 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
13769 Make code unconditional.
13770 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13771 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
13773 [__NR_vfork]: Make code unconditional.
13774 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13775 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
13777 [__NR_vfork]: Make code unconditional.
13778 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13779 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13780
09c0ee5f
RM
137812012-08-01 Roland McGrath <roland@hack.frob.com>
13782
48aec5b9
RM
13783 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
13784 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
13785
cd97c966
RM
13786 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13787 Define mkstemp64 as an alias.
3f55550c
RM
13788 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13789 Define mkstemps64 as an alias.
cd97c966
RM
13790 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13791 Define mkostemp64 as an alias.
b8625cfc
RM
13792 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13793 Define mkostemps64 as an alias.
cd97c966
RM
13794 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
13795 Conditionalize body on this.
13796 * misc/mkostemp64.c: Likewise.
b8625cfc 13797 * misc/mkostemps64.c: Likewise.
3f55550c 13798 * misc/mkstemps64.c: Likewise.
cd97c966
RM
13799 * sysdeps/wordsize-64/mkstemp64.c: File removed.
13800 * sysdeps/wordsize-64/mkostemp64.c: File removed.
13801 * sysdeps/wordsize-64/mkostemp.c: File removed.
13802 * sysdeps/wordsize-64/mkstemp.c: File removed.
13803 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
13804 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
13805 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
13806 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
13807
09c0ee5f
RM
13808 [BZ #14138]
13809 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
13810 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
13811 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
13812 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
13813
13814 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
13815 compat_symbol macros from <shlib-compat.h> rather than the underlying
13816 default_symbol_version and symbol_version macros, so that DEFAULT
13817 lines in shlib-versions are respected.
13818 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
13819
7e66ee51
FW
138202012-08-01 Florian Weimer <fweimer@redhat.com>
13821
13822 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
13823 Declare with warn_unused_result.
13824 (setgid, setregid, setegid, setresgid): Likewise.
13825 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
13826 Likewise.
13827 * WUR-REPORT: Remove set*id functions.
13828
d2a54255
PT
138292012-07-31 Pino Toscano <toscano.pino@tiscali.it>
13830
13831 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
13832
7ecdb005
RM
138332012-07-31 Roland McGrath <roland@hack.frob.com>
13834
b4180a5e 13835 [BZ #10191]
789bd351
RM
13836 * include/sys/socket.h (__libc_accept, __libc_accept4):
13837 Add attribute_hidden.
13838 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
13839
40ce302d
RM
13840 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
13841 use of PTR_MANGLE.
13842 * inet/getnetgrent_r.c (setup): Likewise.
13843
7ecdb005
RM
13844 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
13845
e2eabb2c
DM
138462012-07-31 David S. Miller <davem@davemloft.net>
13847
13848 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13849
d0419dbf
JM
138502012-07-31 Joseph Myers <joseph@codesourcery.com>
13851
13852 [BZ #13629]
13853 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
13854 value between 1.0 and 2.0 and smaller part has absolute value less
13855 than 1.0.
13856 * math/s_clog10.c (__clog10): Likewise.
13857 * math/s_clog10f.c (__clog10f): Likewise.
13858 * math/s_clog10l.c (__clog10l): Likewise.
13859 * math/s_clogf.c (__clogf): Likewise.
13860 * math/s_clogl.c (__clogl): Likewise.
13861 * math/libm-test.inc (clog_test): Add more tests.
13862 (clog10_test): Likewise.
13863 * sysdeps/i386/fpu/libm-test-ulps: Update.
13864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13865
2bc13872
FW
138662012-07-31 Florian Weimer <fweimer@redhat.com>
13867
13868 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
13869 Exit with zero in case no suitable GID is found, and write a
13870 message to standard error.
13871
bea9b193
RM
138722012-07-30 Roland McGrath <roland@hack.frob.com>
13873
13874 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
13875 rather than to 1.
13876 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
13877 (MAXPATHLEN): Removed.
13878 (NOGROUP, NODEV): New macros.
13879 (setbit, clrbit, isset, isclr): New macros.
13880 (howmany, roundup, powerof2): New macros.
13881 (DEV_BSIZE): New macro.
13882
13883 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
13884 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
13885
13886 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
13887 definition on [!__NO_LONG_DOUBLE_MATH].
13888
13889 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
13890 PTR_MANGLE and PTR_DEMANGLE.
13891
13892 * socket/accept4.c (accept4): Rename to __libc_accept4.
13893 Define accept4 as a weak alias.
13894
13895 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
13896 on [_DIRENT_HAVE_D_TYPE].
13897 * io/ftw.c (ftw_dir): Likewise.
13898
13899 * io/xmknod.c (__xmknod): Don't check PATH for being null.
13900
13901 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
13902
13903 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
13904 Use the BSD numbers rather than the arbitrary ones we had.
13905 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
13906 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
13907 (SIGXCPU, SIGXFSZ): New macros.
13908 (_NSIG): Now 32.
13909
13910 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
13911 initializer on [_LIBC_REENTRANT].
13912
13913 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
13914 definitions inside [_POSIX_MAPPED_FILES].
13915
13916 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
13917
13918 * dirent/opendir.c: Include <fcntl.h>.
13919
13920 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
13921 (__libc_getspecific): Likewise.
13922 (__libc_key_create): Likewise.
13923
13924 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
13925 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
13926 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
13927 (tmpfile64): Define as alias.
13928 * sysdeps/wordsize-64/tmpfile.c: File removed.
13929 * sysdeps/wordsize-64/tmpfile64.c: File removed.
13930 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
13931 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
13932
13933 * stdio-common/vfscanf.c: Include <stdbool.h>.
13934 * nss/makedb.c: Likewise.
13935 * stdio-common/_i18n_number.h: Likewise.
13936 * argp/argp-help.c: Likewise.
13937 * posix/wordexp.c: Likewise.
13938 * sysdeps/posix/spawni.c: Likewise.
13939 * nss/nss_files/files-initgroups.c: Likewise.
13940 * stdio-common/reg-modifier.c: Include <stdlib.h>.
13941 * nss/nss_files/files-initgroups.c: Likewise.
13942 * nss/nss_db/db-netgrp.c: Likewise.
13943 * nss/nss_db/db-initgroups.c: Likewise.
13944 * io/fchmodat.c: Include <sys/stat.h>.
13945
13946 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
13947 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
13948
13949 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
13950 [HAVE_MMAP].
13951
13952 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
13953 Add multiple inclusion protection.
13954
e5abc686
DM
139552012-07-27 David S. Miller <davem@davemloft.net>
13956
13957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13958
815e6fa3
GB
139592012-07-27 Gary Benson <gbenson@redhat.com>
13960
13961 [BZ #14298]
13962 * elf/rtld.c: Include <stap-probe.h>.
13963 (dl_main): Added static probes "init_start" and "init_complete".
13964 * elf/dl-load.c: Include <stap-probe.h>.
13965 (lose): Take new parameter "nsid".
13966 Added static probe "map_failed".
13967 (_dl_map_object_from_fd): Pass namespace id to lose.
13968 Added static probe "map_start".
13969 (open_verify): Pass namespace id to lose.
13970 * elf/dl-open.c: Include <stap-probe.h>.
13971 (dl_open_worker) Added static probes "map_complete", "reloc_start"
13972 and "reloc_complete".
13973 * elf/dl-close.c: Include <stap-probe.h>.
13974 (_dl_close_worker): Added static probes "unmap_start" and
13975 "unmap_complete".
13976 * elf/rtld-debugger-interface.txt: New file documenting the above.
13977
9f98c16c
RM
139782012-07-26 Roland McGrath <roland@hack.frob.com>
13979
13980 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
13981 rather than a string variable.
13982 * sunrpc/rpc_main.c (h_output): Likewise.
13983 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
13984
f3c22df3
PT
139852012-07-26 Pino Toscano <toscano.pino@tiscali.it>
13986
13987 * inet/check_native.c: New file.
13988
3129cfc6
JM
139892012-07-26 Joseph Myers <joseph@codesourcery.com>
13990
da865e95
JM
13991 [BZ #13629]
13992 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
13993 if larger part has absolute value 1.0.
13994 * math/s_clog10.c (__clog10): Likewise.
13995 * math/s_clog10f.c (__clog10f): Likewise.
13996 * math/s_clog10l.c (__clog10l): Likewise.
13997 * math/s_clogf.c (__clogf): Likewise.
13998 * math/s_clogl.c (__clogl): Likewise.
13999 * math/libm-test.inc (clog_test): Add more tests.
14000 (clog10_test): Likewise.
14001 * sysdeps/i386/fpu/libm-test-ulps: Update.
14002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14003
3129cfc6
JM
14004 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14005 (pltexit): Likewise.
14006 (La_regs): Likewise.
14007 (La_retval): Likewise.
14008 (int_retval): Likewise.
14009 Update #error for removed macros to refer only to definitions in
14010 tst-audit.h.
14011 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14012 macro.
14013 (pltexit): Likewise.
14014 (La_regs): Likewise.
14015 (La_retval): Likewise.
14016 (int_retval): Likewise.
14017 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14018 macro.
14019 (pltexit): Likewise.
14020 (La_regs): Likewise.
14021 (La_retval): Likewise.
14022 (int_retval): Likewise.
14023 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14024 macro.
14025 (pltexit): Likewise.
14026 (La_regs): Likewise.
14027 (La_retval): Likewise.
14028 (int_retval): Likewise.
14029 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14030 macro.
14031 (pltexit): Likewise.
14032 (La_regs): Likewise.
14033 (La_retval): Likewise.
14034 (int_retval): Likewise.
14035 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14036 macro.
14037 (pltexit): Likewise.
14038 (La_regs): Likewise.
14039 (La_retval): Likewise.
14040 (int_retval): Likewise.
14041 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14042 macro.
14043 (pltexit): Likewise.
14044 (La_regs): Likewise.
14045 (La_retval): Likewise.
14046 (int_retval): Likewise.
14047 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14048 macro definitions in tst-audit.h.
14049 * sysdeps/i386/tst-audit.h: New file.
14050 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14051 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14052 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14053 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14054 * sysdeps/sh/tst-audit.h: Likewise.
14055 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14056 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14057 * sysdeps/x86_64/tst-audit.h: Likewise.
14058
bfc07087
AJ
140592012-07-26 Andreas Jaeger <aj@suse.de>
14060
b1b2aaf8
AJ
14061 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14062 ptrace.
14063
14064 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14065 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14066 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14067 PTRACE_O_MASK.
14068 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14069 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14070 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14071
bfc07087
AJ
14072 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14073 value.
14074
14075 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14076 _sigsys.
14077 (si_call_addr, si_syscall, si_arch): Define new macro.
14078 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14079 _sigsys.
14080 (si_call_addr, si_syscall, si_arch): Define new marcro.
14081 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14082 _sigsys.
14083 (si_call_addr, si_syscall, si_arch): Define new macro.
14084 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14085 _sigsys.
14086 (si_call_addr, si_syscall, si_arch): Define new macro.
14087
89b4b02f
JM
140882012-07-25 Joseph Myers <joseph@codesourcery.com>
14089
14090 [BZ #13717]
14091 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14092 Change to 2.4.21 where previously 2.4.1.
14093 * sysdeps/unix/sysv/linux/configure: Regenerated.
14094 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14095 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14096 Linux kernel version.
14097 (__ASSUME_STD_AUXV): Remove.
14098 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14099 kernel version.
14100 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14101 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14102 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14103 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14104 (__ASSUME_NETLINK_SUPPORT): Likewise.
14105 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14106 (__no_netlink_support): Remove conditional definition.
14107 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14108 Remove.
14109 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14110 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14111 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14112 (if_nameindex_ioctl): Remove.
14113 (if_nameindex_netlink): Do not handle __no_netlink_support.
14114 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14115 code.
14116 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14117 Remove conditional code.
14118 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14119 code.
14120 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14121 unconditional.
14122 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14123 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14124 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14125 Remove.
14126 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14127 [!__ASSUME_STD_AUXV]: Remove conditional code.
14128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14129 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14130 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14132 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14133 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14134 code.
14135 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14137 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14138 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14139 conditional code.
14140 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14142 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14143 code.
14144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14145 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14146 conditional code.
14147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14148 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14149 code unconditional.
14150 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14151 conditional code.
14152 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14153 unconditional.
14154 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14155 conditional code.
14156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14157 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14158 unconditional.
14159 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14160 conditional code.
14161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14162 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14163 code unconditional.
14164 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14165 conditional code.
14166 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14167 unconditional.
14168 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14169 conditional code.
14170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14171 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14172 code unconditional.
14173 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14174 conditional code.
14175 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14176 unconditional.
14177 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14178 conditional code.
14179
842a39cd
AS
141802012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14181
14182 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14183 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14184 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14185 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14186 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14187 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14188 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14189 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14190 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14191 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14192 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14193 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14194 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14195 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14196 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14197 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14198 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14199 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14200 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14201 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14202 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14203 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14204 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14205
84b3fd84
FW
142062012-07-25 Florian Weimer <fweimer@redhat.com>
14207
14208 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14209 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14210 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14211 Introduce __libc_secure_getenv.
0c7936d5
FW
14212 * stdlib/Versions (2.17): Add secure_getenv
14213 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14214 * stdlib/secure-getenv.c: Rename __secure_getenv to
14215 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14216 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14217 * stdlib/tst-secure-getenv.c: New.
14218 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14219 * manual/startup.texi (Environment Access): Document
14220 secure_getenv.
84b3fd84
FW
14221 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14222 __libc_secure_getenv.
14223 * inet/ruserpass.c (ruserpass): Likewise.
14224 * malloc/mtrace.c (mtrace): Likewise.
14225 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14226 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14227 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14228 * sysdeps/posix/tempname.c: Likewise. Evaluate
14229 HAVE_SECURE_GETENV.
14230 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 14231 __secure_getenv to __libc_secure_getenv.
84b3fd84 14232 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
14233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14234 Likewise.
14235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14236 Likewise.
14237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14239 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 14244
56e49b71
JM
142452012-07-25 Joseph Myers <joseph@codesourcery.com>
14246
14247 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14248 (struct La_i86_retval): Likewise.
14249 (struct La_x86_64_regs): Likewise.
14250 (struct La_x86_64_retval): Likewise.
14251 (struct La_x32_regs): Likewise.
14252 (struct La_x32_retval): Likewise.
14253 (struct La_ppc32_regs): Likewise.
14254 (struct La_ppc32_retval): Likewise.
14255 (struct La_ppc64_regs): Likewise.
14256 (struct La_ppc64_retval): Likewise.
14257 (struct La_sh_regs): Likewise.
14258 (struct La_sh_retval): Likewise.
14259 (struct La_s390_32_regs): Likewise.
14260 (struct La_s390_32_retval): Likewise.
14261 (struct La_s390_64_regs): Likewise.
14262 (struct La_s390_64_retval): Likewise.
14263 (struct La_sparc32_regs): Likewise.
14264 (struct La_sparc32_retval): Likewise.
14265 (struct La_sparc64_regs): Likewise.
14266 (struct La_sparc64_retval): Likewise.
14267 (struct audit_ifaces): Remove architecture-specific pltenter and
14268 pltexit members.
14269 * sysdeps/i386/ldsodefs.h: New file.
14270 * sysdeps/powerpc/ldsodefs.h: Likewise.
14271 * sysdeps/s390/ldsodefs.h: Likewise.
14272 * sysdeps/sh/ldsodefs.h: Likewise.
14273 * sysdeps/sparc/ldsodefs.h: Likewise.
14274 * sysdeps/x86_64/ldsodefs.h: Likewise.
14275
354691b7
MP
142762012-07-25 Marek Polacek <polacek@redhat.com>
14277
14278 [BZ #6808]
14279 * math/libm-test.inc (yn_test): Add another test.
14280 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14281 to ERANGE when the result is +-Inf.
14282 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14283 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14284 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14285 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14286
bf9e2071
JM
142872012-07-24 Joseph Myers <joseph@codesourcery.com>
14288
14289 * conform/data/time.h-data (NULL): Use macro-constant. Require
14290 equal to 0.
14291 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14292 clock_t.
14293 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14294
57633811
TS
142952012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14296
14297 * configure.in <sysdeps resolving>: Correct printing
14298 Implies_before.
14299 * configure: Regenerate.
14300
c23c33b0
TS
143012012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14302
14303 * math/w_ilogb.c: Include <limits.h>.
14304 * math/w_ilogbl.c: Likewise.
14305
b5982523
JM
143062012-07-20 Joseph Myers <joseph@codesourcery.com>
14307
14308 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14309 va_copy. Document allowing for unavailable va_copy only as
14310 pre-C99 compatibility.
14311 * manual/string.texi (Copying and Concatenation): Use va_copy
14312 instead of __va_copy in concat example.
14313
ac4ea442
PT
143142012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14315
14316 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14317 (__sendto): Use create_address_port. Initialize APORT and deallocate
14318 it if not null.
14319
f98eafbd
PT
14320 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14321 with O_NOLINK passed to __file_name_lookup.
14322
898c7aab
PT
14323 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14324 with O_NOLINK passed to __file_name_lookup.
14325
0ced335a
PT
14326 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14327 negative N or less than NGIDS.
14328
b3404dbd
PT
14329 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14330 type to string_t. Set ERANGE as errno and return it if NAME is not big
14331 enough. Use memcpy instead of strncpy.
14332
0f48659e
JM
143332012-07-20 Joseph Myers <joseph@codesourcery.com>
14334
14335 * elf/Makefile (check-data): Remove.
14336 (localplt.data): New vpath directive.
14337 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14338 instead of $(check-data).
14339 * scripts/data/localplt-generic.data: Move to ...
14340 * sysdeps/generic/localplt.data: ... here.
14341 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14342 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14343 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14345 ... here.
14346 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14348 ... here.
14349 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14351 ... here.
14352 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14354 ... here.
14355 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14356 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14357 ... here.
14358 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14359 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14360 ... here.
14361
d37cbdaa
AZ
143622012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14363
14364 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14365 PPC32 and PPC64 files.
14366 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14367 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14368
46f85fc2
AK
143692012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14370
14371 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14372 __makecontext_ret to ...
14373 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14374 ... here and call exit if uc_link is NULL. New file.
14375 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14376 __makecontext_ret.S.
14377 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14378 __makecontext_ret to ...
14379 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14380 ... here and call exit if uc_link is NULL. New file.
14381 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14382 __makecontext_ret.S.
14383
08f43f9b
AK
143842012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14385
14386 * elf/elf.h (R_390_IRELATIVE): New definition.
14387 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14388 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14389 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14390 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14391 (elf_machine_lazy_rel): Likewise.
14392 * sysdeps/s390/dl-irel.h: New file.
14393 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14394 * sysdeps/s390/s390-64/memset.S: New asm code.
14395 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14396 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14397 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14398 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14399 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14400 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14401 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14402 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14403 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14404 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14405 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14406 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14407 * sysdeps/s390/s390-32/memset.S: New asm code.
14408 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14409
3b05db33
MP
144102012-07-17 Marek Polacek <polacek@redhat.com>
14411
14412 [BZ #14349]
14413 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14414 * sysdeps/s390/s390-64/configure.in: Likewise.
14415 * sysdeps/sparc/configure.in: Likewise.
14416 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14417 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14418 * sysdeps/i386/configure.in: Likewise.
14419 * sysdeps/x86_64/configure.in: Likewise.
14420 * sysdeps/sh/configure.in: Likewise.
14421 * sysdeps/s390/s390-32/configure: Regenerated.
14422 * sysdeps/s390/s390-64/configure: Likewise.
14423 * sysdeps/x86_64/configure: Likewise.
14424 * sysdeps/sh/configure: Likewise.
14425 * sysdeps/powerpc/powerpc64/configure: Likewise.
14426 * sysdeps/powerpc/powerpc32/configure: Likewise.
14427 * sysdeps/sparc/configure: Likwise.
14428 * sysdeps/i386/configure: Likewise.
14429
a66877c6
MP
14430 * elf/dl-open.c: Comment fixes.
14431
cfc82fd8
JM
144322012-07-17 Joseph Myers <joseph@codesourcery.com>
14433
bd29910a
JM
14434 * Makefile [CXX] (check-data): Remove.
14435 [CXX] (c++-types.data): New vpath directive.
14436 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14437 vpath. Do not allow for C++ type data being missing.
14438 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14439 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14440 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14441 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14442 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14443 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14444 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14446 ... here.
14447 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14449 ... here.
14450 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14452 ... here.
14453 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14455 ... here.
14456 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14457 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14458 ... here.
14459 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14461 ... here.
14462 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14463 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14464 ... here.
14465 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14466 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14467
cfc82fd8
JM
14468 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14469 definitions to architecture-specific files.
14470 (TLS_IE): Likewise.
14471 (TLS_LD): Likewise.
14472 (TLS_GD): Likewise.
14473 * sysdeps/i386/tls-macros.h: New file.
14474 * sysdeps/powerpc/tls-macros.h: Likewise.
14475 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14476 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14477 * sysdeps/sh/tls-macros.h: Likewise.
14478 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14479 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14480 * sysdeps/x86_64/tls-macros.h: Likewise.
14481
f7db3170
TS
144822012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14483
07cbfc23
TS
14484 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14485 zero value for regular exit case.
14486
f7db3170
TS
14487 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14488 (__start_context): Preserve zero value for regular exit case.
14489
dc97c227
TS
144902012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14491 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14492
14493 * manual/setjmp.texi (setcontext): Clarify normal process
14494 termination when uc_link is the null pointer.
14495 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14496 exit call.
14497
d0cd7d02
AS
144982012-07-16 Andreas Schwab <schwab@linux-m68k.org>
14499
14500 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14501 preprocessor. Test for each exception mask separately.
14502
dd318934
AJ
145032012-07-16 Andreas Jaeger <aj@suse.de>
14504
14505 * po/ru.po: Update from translation team.
14506
8048311a
JM
145072012-07-15 Joseph Myers <joseph@codesourcery.com>
14508
14509 * conform/data/string.h-data (NULL): Use macro-constant. Require
14510 equal to 0.
14511 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14512 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14513 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14514 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14515 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14516
b637d46e
AJ
145172012-07-13 Andreas Jaeger <aj@suse.de>
14518
14519 * po/fr.po: Update from translation team.
14520
541428fe
MP
145212012-07-12 Marek Polacek <polacek@redhat.com>
14522
14523 [BZ #14173]
14524 * math/libm-test.inc (yn_test): Add test for BZ #14173.
14525 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14526 loop condition.
14527
ec332e94
JM
145282012-07-12 Joseph Myers <joseph@codesourcery.com>
14529
14530 [BZ #13717]
14531 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14532 Change to 2.4.1 where previously 2.4.0.
14533 * sysdeps/unix/sysv/linux/configure: Regenerated.
14534 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14535 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14536 version.
14537 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14538 (__ASSUME_AT_CLKTCK): Remove.
14539 (__ASSUME_AT_PAGESIZE): Likewise.
14540 (__ASSUME_AT_XID): Likewise.
14541 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14542 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14543 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14544 unconditionally.
14545 (HAVE_AUX_PAGESIZE): Likewise.
14546 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14547 [__ASSUME_AT_CLKTCK]: Make code unconditional.
14548 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14549
7b6e99be
JB
145502012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
14551
14552 [BZ #14307]
14553 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14554 the temporary buffer used to invoke __gethostbyname2_r,
14555 __gethostbyaddr_r and gethostbyname4_r to make room for struct
14556 host_data / struct gaih_addrtuple.
14557 * resolv/nss_dns/dns-host.c (global scope): Move definition of
14558 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14559 header file nss/nsswitch.h.
14560 * nss/nsswitch.h (global scope): Add definition of implementation
14561 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14562 resolv/nss_dns/dns-host.c).
14563
608404eb
AJ
145642012-07-11 Andreas Jaeger <aj@suse.de>
14565
14566 * po/fr.po: Update from translation team.
14567
71220aca
AJ
14568 * po/sv.po: Update from translation team
14569 * po/fr.po: Another update from translation team.
14570
28cfe843
AZ
145712012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14572
14573 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14574 for subnormals or multiply small sinh result by itself.
14575 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14577
6b90f981
DM
145782012-07-11 David S. Miller <davem@davemloft.net>
14579
14580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14581
c6825772
AS
145822012-07-10 Andreas Schwab <schwab@linux-m68k.org>
14583
14584 [BZ #14347]
14585 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14586 (INTERNAL_MARK): Shift it here.
14587
7b8e0d49
MP
145882012-07-10 Marek Polacek <polacek@redhat.com>
14589
14590 [BZ #14151]
14591 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
14592 libc_cv_asm_global_directive with .globl.
14593 * configure: Regenerated.
14594 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14595 with .globl.
14596 * sysdeps/i386/configure: Regenerated.
14597 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14598 with .globl.
14599 * sysdeps/x86_64/configure: Regenerated.
14600 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14601 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14602 * elf/tst-unique2mod2.c: Likewise.
14603 * elf/tst-unique2mod1.c: Likewise.
14604 * elf/tst-unique1mod2.c: Likewise.
14605 * elf/tst-unique1mod1.c: Likewise.
14606 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14607 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14608 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14609 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14610 * sysdeps/mach/sysdep.h: Likewise.
14611 * sysdeps/i386/sysdep.h: Likewise.
14612 * sysdeps/i386/i386-mcount.S: Likewise.
14613 * sysdeps/x86_64/_mcount.S: Likewise.
14614 * sysdeps/x86_64/sysdep.h: Likewise.
14615 * sysdeps/sh/_mcount.S: Likewise.
14616 * sysdeps/sh/sysdep.h: Likewise.
14617 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14618 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14619 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14620 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14621 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14622 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14623 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14624 * locale/localeinfo.h: Likewise.
14625 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14626 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14627
6c55cda3
RM
146282012-07-09 Roland McGrath <roland@hack.frob.com>
14629
14630 [BZ #14336]
14631 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14632 system".
14633 * manual/message.texi (The Uniforum approach): Likewise.
14634 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14635 (glibc iconv Implementation): Likewise.
14636
638a572e
JM
146372012-07-09 Joseph Myers <joseph@codesourcery.com>
14638
14639 [BZ #14337]
14640 * math/s_clog.c (__clog): Avoid scaling a value down where that
14641 could result in underflow.
14642 * math/s_clog10.c (__clog10): Likewise.
14643 * math/s_clog10f.c (__clog10f): Likewise.
14644 * math/s_clog10l.c (__clog10l): Likewise.
14645 * math/s_clogf.c (__clogf): Likewise.
14646 * math/s_clogl.c (__clogl): Likewise.
14647 * math/libm-test.inc (clog_test): Add more tests.
14648 (clog10_test): Likewise.
14649 * sysdeps/i386/fpu/libm-test-ulps: Update.
14650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14651
261f4859
AS
146522012-07-06 Andreas Schwab <schwab@linux-m68k.org>
14653
0abaf3e4
AS
14654 [BZ #14283]
14655 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14656 by 7 not 8 to examine high bit of fractional part.
14657
261f4859
AS
14658 [BZ #14042]
14659 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14660 for call to __mcount_internal.
14661 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14662 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14663 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14664
f17ac40d
JM
146652012-07-06 Joseph Myers <joseph@codesourcery.com>
14666
9ad63c23
JM
14667 [BZ #14154]
14668 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14669 approximation for values within 0x1p-13f of an odd multiple of
14670 pi/4.
14671 * math/libm-test.inc (tan_test): Do not allow spurious underflow
14672 exception. Add more tests.
14673 * sysdeps/i386/fpu/libm-test-ulps: Update.
14674
f17ac40d
JM
14675 [BZ #6778]
14676 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14677 inputs and return -1 for them. Do not check for +Inf in case not
14678 reachable for +Inf.
14679 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14680 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14681 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14682 and return -1 for them. Do not check for +Inf in case not
14683 reachable for +Inf.
14684 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14685 define.
14686 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14687 and return -1 for them. Do not check for +Inf in case not
14688 reachable for +Inf.
14689 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
14690 spurious underflow.
14691 * sysdeps/i386/fpu/libm-test-ulps: Update.
14692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14693
fb21f89b
MF
146942012-07-06 Mike Frysinger <vapier@gentoo.org>
14695
14696 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14697
cdfe2c5e
JM
146982012-07-05 Joseph Myers <joseph@codesourcery.com>
14699
14700 [BZ #14157]
14701 [BZ #14331]
14702 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14703 could result in spurious underflow. Scale down values above
14704 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14705 * math/s_csqrtf.c (__csqrtf): Likewise.
14706 * math/s_csqrtl.c (__csqrtl): Likewise.
14707 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
14708 spurious underflow.
14709 * sysdeps/i386/fpu/libm-test-ulps: Update.
14710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14711
70d35b67
AS
147122012-07-04 Andreas Schwab <schwab@linux-m68k.org>
14713
704bc459
AS
14714 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14715 xopen-msg.sed.
14716 * catgets/xopen-msg.awk: New file.
14717 * catgets/xopen-msg.sed: Removed.
14718
70d35b67
AS
14719 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14720 po2text.sed.
14721 * intl/po2test.awk: New file.
14722 * intl/po2test.sed: Removed.
14723
ca61cf32
JM
147242012-07-04 Joseph Myers <joseph@codesourcery.com>
14725
14726 [BZ #14328]
14727 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14728 or multiply small sinh result by itself.
14729 * math/s_ctanf.c (__ctanf): Likewise.
14730 * math/s_ctanh.c (__ctanh): Likewise.
14731 * math/s_ctanhf.c (__ctanhf): Likewise.
14732 * math/s_ctanhl.c (__ctanhl): Likewise.
14733 * math/s_ctanl.c (__ctanl): Likewise.
14734 * math/libm-test.inc (ctan_test_tonearest): New function.
14735 (ctan_test_towardzero): Likewise.
14736 (ctan_test_downward): Likewise.
14737 (ctan_test_upward): Likewise.
14738 (ctanh_test_tonearest): Likewise.
14739 (ctanh_test_towardzero): Likewise.
14740 (ctanh_test_downward): Likewise.
14741 (ctanh_test_upward): Likewise.
14742 (main): Call these new functions.
14743 * sysdeps/i386/fpu/libm-test-ulps: Update.
14744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14745
ca48a46a
MF
147462012-07-03 Mike Frysinger <vapier@gentoo.org>
14747
14748 * .gitignore: Delete /ports entry.
14749
9d63d37d
AJ
147502012-07-03 Andreas Jaeger <aj@suse.de>
14751
14752 * po/bg.po: Update from translation team.
14753 * po/cs.po: Likewise.
14754 * po/de.po: Likewise.
14755 * po/hr.po: Likewise.
14756 * po/nl.pl: Likewise.
14757 * po/pl.po: Likewise.
14758 * po/vi.po: Likewise.
14759
370ca3d2
JM
147602012-07-03 Joseph Myers <joseph@codesourcery.com>
14761
95f5a9a8
JM
14762 * Makeconfig [!+link] (+link-before-libc): New variable.
14763 [!+link] (+link-after-libc): Likewise.
14764 [!+link] (+link-tests): Likewise.
14765 [!+link] (+link): Define in terms of $(+link-before-libc) and
14766 $(+link-after-libc).
14767 [!+link-static] (+link-static-before-libc): New variable.
14768 [!+link-static] (+link-static-after-libc): Likewise.
14769 [!+link-static] (+link-static-tests): Likewise.
14770 [!+link-static] (+link-static): Define in terms of
14771 $(+link-static-before-libc) and $(+link-static-after-libc).
14772 [build-shared] (link-libc-before-gnulib): New variable.
14773 [build-shared] (link-libc-tests): Likewise.
14774 [build-shared] (link-libc): Define in terms of
14775 $(link-libc-before-gnulib).
14776 [!build-shared] (link-libc-tests): New variable.
14777 (link-libc-static-tests): New variable.
14778 [!gnulib] (gnulib-arch): New variable.
14779 [!gnulib] (gnulib-tests): Likewise.
14780 [!gnulib] (static-gnulib-arch): Likewise.
14781 [!gnulib] (static-gnulib-tests): Likewise.
14782 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
14783 Define with "=" instead of ":=".
14784 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
14785 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
14786 * Rules (binaries-all-notests): New variable.
14787 (binaries-all-tests): Likewise.
14788 (binaries-static-notests): Likewise.
14789 (binaries-static-tests): Likewise.
14790 (binaries-all): Define using $(binaries-all-notests) and
14791 $(binaries-all-tests).
14792 (binaries-static): Define using $(binaries-static-notests) and
14793 $(binaries-static-tests).
14794 (binaries-shared-tests): New variable.
14795 (binaries-shared-notests): Likewise.
14796 (binaries-shared): Remove variable.
14797 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
14798 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
14799 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
14800 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
14801 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
14802 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
14803 * elf/Makefile (sln-modules): New variable.
14804 (extra-objs): Add $(sln-modules:=.o).
14805 (ldconfig-modules): Add static-stubs.
14806 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
14807 * elf/static-stubs.c: New file.
14808
7a845b2c
JM
14809 [BZ #14283]
14810 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
14811 by 7 not 8 to examine high bit of fractional part. Use volatile
14812 variables when splitting into final array of floats if
14813 __FLT_EVAL_METHOD__ != 0.
14814 * math/libm-test.inc (cos_test): Add another test.
14815 (sin_test): Likewise.
14816 * sysdeps/i386/fpu/libm-test-ulps: Update.
14817
e2283f38
JM
14818 [BZ #14273]
14819 * math/libm-test.inc (cosh_test): Add more tests.
14820
370ca3d2
JM
14821 * version.h (RELEASE): Set to "development".
14822 (VERSION): Set to "2.16.90".
14823
ee9247c3
CD
148242012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
14825
14826 * NEWS: Update copyright. Remove last-updated date.
14827 Mention math library bug fixes and timezone data changes.
14828 * README: Mention GNU/Hurd, x32, and HPPA support status.
14829
4648c381
TS
148302012-06-28 Thomas Schwinge <thomas@codesourcery.com>
14831
14832 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
14833
aac78a43
AJ
148342012-06-27 Andreas Jaeger <aj@suse.de>
14835
14836 * manual/contrib.texi (Contributors): Add Samuel Thibault.
14837
ed3dbfad
AJ
148382012-06-25 Andreas Jaeger <aj@suse.de>
14839
14840 * sysdeps/s390/fpu/libm-test-ulps: Update.
14841
4d0ee855
AS
148422012-06-23 Andreas Schwab <schwab@linux-m68k.org>
14843 Thomas Schwinge <thomas@codesourcery.com>
14844
14845 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
14846 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
14847 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
14848 fanotify_mark.
14849
af1bce34
TS
148502012-06-23 Thomas Schwinge <thomas@codesourcery.com>
14851
a9fa33ba
TS
14852 * sysdeps/mach/start.c: Remove file.
14853 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
14854 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
14855 * sysdeps/sh/init-first.c: Likewise.
14856
58f902b8
TS
14857 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
14858 registers for frame unwinding purposes, add CFI directives.
14859 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14860 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
14861 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
14862 Likewise.
14863
1518f58b
TS
14864 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
14865 __fortify_fail returning.
14866 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14867
db9b5059
TS
14868 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
14869 sysdeps/sh/____longjmp_chk.S.
14870 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
14871 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
14872 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
14873 (gen-as-const-headers): Append sigaltstack-offsets.sym.
14874
967705fe
TS
14875 * sysdeps/sh/abort-instr.h: New file.
14876 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
14877 process in case exit returns.
14878
a9def8c4
TS
14879 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
14880 initialize the GOT register before use.
14881
2a649725
TS
14882 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
14883 calculation of ARGC > 4.
14884
af1bce34
TS
14885 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
14886 meaningful names to some local labels.
14887
d230f50a
KK
148882012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14889 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14890
14891 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
14892 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
14893 (__arch_compare_and_exchange_val_16_acq): Likewise.
14894 (__arch_compare_and_exchange_val_32_acq): Likewise.
14895 (atomic_exchange_and_add): Fix gUSA sequence.
14896 (atomic_add): Likewise.
14897 (atomic_add_negative): Likewise.
14898 (atomic_add_zero): Likewise.
14899 (atomic_bit_test_set): Likewise.
14900
0479b305
AS
149012012-06-22 Andreas Schwab <schwab@redhat.com>
14902
14903 [BZ #13579]
14904 * include/link.h (struct link_map): Add l_free_initfini.
14905 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
14906 l_initfini.
14907 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
14908 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
14909 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
14910 set.
14911
0e3933b9
CD
149122012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
14913
14914 * configure.in: Use AC_LANG_SOURCE.
14915 * configure: Regenerate.
14916
4248b1b1
RM
149172012-06-22 Roland McGrath <roland@hack.frob.com>
14918
14919 * configure.in (libc_cv_localstatedir): New substituted variable.
14920 * configure: Regenerated.
14921 * config.make.in (localstatedir): New variable, substituted from
14922 libc_cv_localstatedir.
14923 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
14924 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
14925 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
14926 * sysdeps/gnu/configure: Regenerated.
14927
006dd861
JL
149282012-06-21 Jeff Law <law@redhat.com>
14929
14930 [BZ #14277]
14931 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
14932 free. Simplify list management for _LIBC case.
14933
79662d42
JM
149342012-06-21 Joseph Myers <joseph@codesourcery.com>
14935
b7abb4bf
JM
14936 [BZ #14273]
14937 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
14938 Clear sign bit of 64-bit integer value before comparing against
14939 overflow value.
14940
79662d42
JM
14941 * sysdeps/mach/configure: Regenerated.
14942
1f150908
L
149432012-06-21 H.J. Lu <hongjiu.lu@intel.com>
14944
14945 [BZ #14278]
14946 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
14947
28363bbf
JL
149482012-06-21 Jeff Law <law@redhat.com>
14949
14950 [BZ #13882]
14951 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
14952 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 14953 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
14954 * elf/dl-open.c (dl_open_worker): Likewise.
14955
09615db4
CD
149562012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
14957
14958 * scripts/list-sources.sh: Scan PORTS for translations.
14959 * po/libc.pot: Regenerated.
14960
2174c6dd
AJ
149612012-06-21 Andreas Jaeger <aj@suse.de>
14962
14963 [BZ #12194]
14964 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
14965 warning.
14966 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
14967 * bits/byteswap-16.h (__bswap_16): Likewise.
14968 * bits/byteswap.h (__bswap_constant_16): Likewise.
14969
3ee947b1
L
149702012-06-18 H.J. Lu <hongjiu.lu@intel.com>
14971
14972 [BZ #14117]
a2f34833
L
14973 * sysdeps/i386/fpu_control.h: Removed.
14974 * sysdeps/x86_64/fpu_control.h: Moved to ...
14975 * sysdeps/x86/fpu_control.h: Here.
14976
3ee947b1
L
14977 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
14978 (_FPU_SETCW): Likewise.
14979
ed1825f8
L
149802012-06-15 H.J. Lu <hongjiu.lu@intel.com>
14981
25f1282a
L
14982 [BZ #14117]
14983 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
14984 * sysdeps/x86/fpu/bits/mathinline.h: This.
14985 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
14986
ed1825f8
L
14987 [BZ #14050]
14988 [BZ #14117]
14989 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
14990 functions if __x86_64__ is defined.
14991
36d54b74
CLT
149922012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
14993
14994 * string/endian.h: Add !__ASSEMBLER__ condition for including
14995 conversion interfaces.
14996
10285c21
JM
149972012-06-15 Joseph Myers <joseph@codesourcery.com>
14998
14999 [BZ #14241]
15000 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15001 of ABS(x) in calculating zero to negative powers other than odd
15002 integers.
15003 * math/libm-test.inc (pow_test): Add more tests.
15004
06c5abbd
AJ
150052012-06-15 Andreas Jaeger <aj@suse.de>
15006
15007 * manual/contrib.texi (Contributors): Update entry of Liubov
15008 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15009 Machado Filho.
15010
a3aeac40
CH
150112012-06-15 Cyril Hrubis <metan@ucw.cz>
15012
15013 * string/string.h: Add __wur to GNU version of strerror_r.
15014
49bdf4c1
L
150152012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15016
15017 [BZ #14229]
15018 * string/Makefile (tests): Add tst-strtok_r.
15019 * string/tst-strtok_r.c: New file.
15020 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15021 RAX_LP/RDX_LP on SAVE_PTR.
15022
834f9b8d
RM
150232012-06-14 Roland McGrath <roland@hack.frob.com>
15024
15025 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15026
75fa1921
JM
150272012-06-14 Joseph Myers <joseph@codesourcery.com>
15028
15029 * libm_test.inc (csqrt_test): Allow more spurious underflow
15030 exceptions.
15031 (j0_test): Likewise.
15032 (j1_test): Likewise.
15033 (y0_test): Likewise.
15034 (y1_test): Likewise.
15035
771766df
CD
150362012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15037
15038 * po/Makefile (libc.pot): Use UTF-8 charset.
15039
ceb9e56b
PP
150402012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15041
15042 [BZ #14210]
15043 Suppress sign-conversion warning from FD_SET.
15044 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15045 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15046 not unsigned long int.
15047 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15048
ddb28975
L
150492012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15050
15051 [BZ #14050]
15052 [BZ #14117]
15053 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15054 __extern_always_inline instead of __extern_inline.
15055 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15056 (__signbit): Likewise.
15057 (__signbitl): Support C++ namespace.
15058 (lrintf): New inline function.
15059 (lrint): Likewise.
15060 (llrintf): Likewise.
15061 (llrint): Likewise.
15062 (fmaxf): Likewise.
15063 (fmax): Likewise.
15064 (fminf): Likewise.
15065 (fmin): Likewise.
15066 (rint): Likewise.
15067 (rintf): Likewise.
15068 (ceil): Likewise.
15069 (ceilf): Likewise.
15070 (floor): Likewise.
15071 (floorf): Likewise.
15072 (nearbyint): Likewise.
15073 (nearbyintf): Likewise.
15074
d7b4fb26
TS
150752012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15076
15077 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15078 non-default versions.
15079
eb55f5c2
RM
150802012-06-11 Roland McGrath <roland@hack.frob.com>
15081
15082 [BZ #14218]
15083 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15084
366af02c
TS
150852012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15086
99ff6e5c
TS
15087 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15088 (FE_UPWARD, FE_DOWNWARD): Don't define.
15089 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15090 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15091
366af02c
TS
15092 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15093 reading it.
15094 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15095 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15096
793ea851
KK
150972012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15098
15099 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15100 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15101 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15102 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15103
a728a38f
L
151042012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15105
15106 [BZ #14117]
c08010c7
L
15107 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15108 * sysdeps/i386/fpu/Implies: New file.
15109 * sysdeps/x86_64/fpu/Implies: Likewise.
15110 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15111 * sysdeps/x86/fpu/bits/fenv.h: This.
15112
a728a38f
L
15113 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15114 __SSE_MATH__.
15115
6e230d11
SP
151162012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15117
15118 [BZ #14134]
15119 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15120 character 0xffff that matches the last element of the
15121 conversion table.
15122
1b671feb
AZ
151232012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15124
15125 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15126 fmodl commit.
15127
6043738b
AZ
151282012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15129
15130 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15131 values higher than 25.6283.
15132
34ae0b32
AZ
151332012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15134
15135 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15136 subnormal exponent extraction and add some __builtin_expect.
15137 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15138 Fix for subnormal mantissa calculation.
15139
1214ec8f
MF
151402012-06-04 Mike Frysinger <vapier@gentoo.org>
15141
15142 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15143 cpu2 is -1 and errno is not ENOSYS.
15144
f3d1f93c
L
151452012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15146
15147 [BZ #14117]
0e4a3cd7
L
15148 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15149 * sysdeps/x86/bits/string.h: This.
15150 * sysdeps/x86_64/bits/string.h: Removed.
15151
6704c645
L
15152 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15153 if not compiling for x86-64, but compiling for >= i486.
15154
48495318
L
15155 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15156 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15157
14adcbfc
L
15158 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15159 New macro from Linux kernel 3.4.0.
15160 (FP_XSTATE_MAGIC2): Likewise.
15161 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15162 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15163 (struct _fpx_sw_bytes): New struct.
15164 (struct _xsave_hdr): Likewise.
15165 (struct _ymmh_state): Likewise.
15166 (struct _xstate): Likewise.
15167
68e408ab
L
15168 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15169 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15170 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15171 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15172 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15173 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15174
f3d1f93c
L
15175 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15176 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15177 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15178 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15179 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15180 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15181
d9dc34cd
TMQMF
151822012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15183
15184 [BZ #13743]
15185 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15186 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15187 (sysdep_headers): Include sys/platform/ppc.h.
15188 * sysdeps/powerpc/test-gettimebase.c: Test for
15189 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15190 * manual/Makefile (appendices): Include platform.texi.
15191 * manual/contrib.texi (Contributors): Update @node pointers.
15192 * manual/maint.texi (Maintenance): Likewise.
15193 (Platform): New node.
15194 * manual/platform.texi: New file. Document the new features.
15195
4af3879c
SP
151962012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15197 Jakub Jelinek <jakub@redhat.com>
15198
15199 [BZ #14188]
15200 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15201 where __builtin_expect is unavailable.
15202
2fd6ff13
DM
152032012-06-03 David S. Miller <davem@davemloft.net>
15204
15205 * stdlib/longlong.h: Updated from GCC.
15206
173f7220
AS
152072012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15208
15209 [BZ #14042]
15210 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15211 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15212 __mcount_internal.
15213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15214 (GLIBC_2.16): Likewise.
15215
f34a1c6f
L
152162012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15217
15218 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15219
88a4576f
JM
152202012-06-01 Joseph Myers <joseph@codesourcery.com>
15221
ea32bcdd
JM
15222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15223 (default-abi): New variable.
15224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15225 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15226 variable.
15227 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15228 Likewise.
15229 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15230 Likewise.
15231 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15232 Likewise.
15233
88a4576f
JM
15234 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15235 definition. Document in comment.
15236
402fe938
DM
152372012-06-01 David S. Miller <davem@davemloft.net>
15238
15239 * stdlib/longlong.h: Updated from GCC.
15240
3553723f
L
152412012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15242
15243 [BZ #14117]
3bd872c4
L
15244 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15245 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15246 sys/debugreg.h sys/io.h here.
15247 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15248 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15249 sys/io.h.
15250 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15251 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15252 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15253 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15254 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15255 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15256
3553723f
L
15257 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15258 Define only if __x86_64__ is defined.
15259
4842e4fe
JM
152602012-06-01 Joseph Myers <joseph@codesourcery.com>
15261
c5bfe3d5
JM
15262 [BZ #14048]
15263 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15264 Use int64_t for variable i.
15265 * math/libm-test.inc (fmod_test): Add more tests.
15266
4842e4fe
JM
15267 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15268 z computation is not scheduled after fetestexcept.
15269 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15270 Use math_force_eval instead of asm to ensure calculation scheduled
15271 before exception test.
15272 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15273 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15274
efb73488
AJ
152752012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15276
15277 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15278 computation is not scheduled after fetestexcept.
15279
29bcce7c
L
152802012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15281
15282 [BZ #14117]
15283 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15284 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15285
73a68f94
AZ
152862012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15287
15288 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15289 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15290
67b6df78
L
152912012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15292
edf2933a 15293 [BZ #14117]
ebc64a18
L
15294 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15295 <bits/wordsize.h>.
15296 (__WCHAR_MIN): Support __WORDSIZE == 64.
15297 (__WCHAR_MAX): Likewise.
15298
edf2933a
L
15299 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15300 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15301
57c6cf40
L
15302 [BZ #14183]
15303 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15304 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15305
67b6df78 15306 [BZ #14117]
8eb6281e
L
15307 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15308 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15309
aac639f4
L
15310 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15311 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15312
67b6df78
L
15313 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15314 Defined to 1 if __x86_64__ isn't defined.
15315 (_STAT_VER_LINUX_OLD): New.
15316 (st_atime): Remove duplicate.
15317 (st_mtime): Likewise.
15318 (st_ctime): Likewise.
15319
1c2cfe81
DM
153202012-05-31 David S. Miller <davem@davemloft.net>
15321
15322 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15323 entries.
15324
5be8418c
AS
153252012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15326
e7725326
AS
15327 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15328 gen-libm-test.pl.
15329
5be8418c
AS
15330 [BZ #14132]
15331 * elf/dl-reloc.c: Include <_itoa.h>.
15332 (_dl_reloc_bad_type): Remove use of INTUSE.
15333 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15334 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15335 * stdio-common/psiginfo.c (psiginfo): Likewise.
15336 * stdio-common/psignal.c (psignal): Likewise.
15337 * string/strsignal.c (strsignal): Likewise.
15338 * include/signal.h (_sys_siglist): Declare hidden proto.
15339 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15340 INTVARDEF with libc_hidden_data_def.
15341 * stdio-common/itoa-udigits.c: Likewise.
15342 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15343 (_itoa_lower_digits_internal): Remove declaration.
15344 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15345 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15346 (_sys_sigabbrev_internal): Remove aliases.
15347 (_sys_siglist): Define hidden alias.
15348
507352f1
MT
153492012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15350
15351 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15352 bits/sysctl.h.
15353
42bbb1c3
L
153542012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15355
15356 [BZ #14117]
6bd784b6
L
15357 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15358 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15359
8bca20f0
L
15360 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15361 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15362 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15363 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15364 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15365 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15366
f9e890a9
L
15367 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15368 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15369 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15370
471101a1
L
15371 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15372 with __addr.
15373 (insw): Likewise.
15374 (insl): Likewise.
15375 (outsb): Likewise.
15376 (outsw): Likewise.
15377 (outsl): Likewise.
15378
6451c862
L
15379 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15380 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15381 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15382
a254b8c9
L
15383 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15384 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15385 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15386 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15387 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15388 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15389
b8dfdd92
L
15390 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15391 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15392
578cd270
L
15393 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15394 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15395
de662f5f
L
15396 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15397 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15398 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15399
25653439
L
15400 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15401 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15402 to ...
15403 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15404
6bad24a0
L
15405 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15406 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15407 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15408
42bbb1c3
L
15409 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15410 for x86-64.
15411 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15412
2d10d547
JM
154132012-05-31 Joseph Myers <joseph@codesourcery.com>
15414
15415 * math/math.h (M_El): Use two more decimal places.
15416 (M_LOG2El): Likewise.
15417 (M_LOG10El): Likewise.
15418 (M_LN2l): Likewise.
15419 (M_LN10l): Likewise.
15420 (M_PIl): Likewise.
15421 (M_PI_2l): Likewise.
15422 (M_PI_4l): Likewise.
15423 (M_1_PIl): Likewise.
15424 (M_2_PIl): Likewise.
15425 (M_2_SQRTPIl): Likewise.
15426 (M_SQRT2l): Likewise.
15427 (M_SQRT1_2l): Likewise.
15428
f230c29b
DM
154292012-05-31 David S. Miller <davem@davemloft.net>
15430
15431 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15432 values between float registers.
15433 * sysdeps/sparc/sparc64/memset.S: Likewise.
15434 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15435
fed806c3
MF
154362012-05-31 Mike Frysinger <vapier@gentoo.org>
15437
15438 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15439 -D_FORTIFY_SOURCE=1.
15440 (CPPFLAGS-tst-longjmp_chk.c): Define.
15441 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15442 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15443 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15444 CFLAGS-tst-wchar-h.c.
15445
30917259
MP
154462012-05-31 Marek Polacek <polacek@redhat.com>
15447
15448 [BZ #14132]
15449 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15450 __endmntent_internal): Remove declaration.
15451 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15452 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15453 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15454
1c58d5dc
DM
154552012-05-30 David S. Miller <davem@davemloft.net>
15456
15457 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15458 (___Q_simulate_exceptions): Use real FP ops rather than writing
15459 into the %fsr.
15460 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15461 Likewise.
15462
7dc00e0d
L
154632012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15464
15465 [BZ #14117]
0bd53985
L
15466 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15467 * sysdeps/x86/bits/xtitypes.h: This.
15468
3a257e66
L
15469 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15470 * sysdeps/x86/bits/wordsize.h: This.
15471
62f62904
L
15472 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15473 * sysdeps/x86/bits/huge_vall.h: This.
15474
404fe9d9
L
15475 * sysdeps/i386/bits/select.h: Removed.
15476 * sysdeps/x86_64/bits/select.h: Renamed to ...
15477 * sysdeps/x86/bits/select.h: This.
15478
d48d0446
L
15479 * sysdeps/i386/bits/setjmp.h: Removed.
15480 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15481 * sysdeps/x86/bits/setjmp.h: This.
15482
7dc00e0d
L
15483 * sysdeps/i386/bits/mathdef.h: Removed.
15484 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15485 * sysdeps/x86/bits/mathdef.h: This.
15486
03277f8f
AS
154872012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15488
15489 [BZ #14132]
15490 * include/sys/socket.h (__connect_internal)
15491 (__libc_sa_len_internal): Remove declaration.
15492 (__connect, __libc_sa_len): Declare hidden_proto.
15493 (SA_LEN): Remove use of INTUSE.
15494 * socket/connect.c: Add libc_hidden_def.
15495 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15496 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15497 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15498 alias.
15499 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15500 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15501 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15502 of adding _internal alias.
15503
13764867
L
155042012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15505
15506 [BZ #14117]
6bd97696
L
15507 * sysdeps/i386/bits/link.h: Removed.
15508 * sysdeps/i386/bits/linkmap.h: Likewise.
15509 * sysdeps/x86_64/bits/link.h: Renamed to ...
15510 * sysdeps/x86/bits/link.h: This.
15511 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15512 * sysdeps/x86/bits/linkmap.h: This.
15513
f726f0bb
L
15514 * sysdeps/i386/bits/endian.h: Removed.
15515 * sysdeps/x86_64/bits/endian.h: Renamed to ...
15516 * sysdeps/x86/bits/endian.h: This.
15517
13764867
L
15518 * sysdeps/i386/bits/byteswap.h: Removed.
15519 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15520 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15521 * sysdeps/x86/bits/byteswap.h: This.
15522 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15523 * sysdeps/x86/bits/byteswap-16.h: This.
15524 * sysdeps/i386/Implies: Add x86.
15525 * sysdeps/x86_64/Implies: Likewise.
15526
ae251b0b
DM
155272012-05-30 David S. Miller <davem@davemloft.net>
15528
15529 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15530 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15531 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15532 (FP_TRAPPING_EXCEPTIONS): Define.
15533 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15534 (FP_TRAPPING_EXCEPTIONS): Define.
15535 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15536 subnormals only when inexact has been signalled or underflow
15537 exceptions are enabled.
15538 (_FP_PACK_CANONICAL): Likewise.
15539
d5c90867
L
155402012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15541
15542 [BZ #14183]
15543 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15544 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15545
63f1549e
RH
155462012-05-30 Richard Henderson <rth@twiddle.net>
15547
8d8f2279
RH
15548 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15549 with #ifndef NOT_IN_libc.
15550
63f1549e
RH
15551 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
15552 marked to avoid plt entry.
15553
0ab0291b
L
155542012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15555
15556 [BZ #14112]
15557 * Makeconfig (default-abi): New macro.
15558 (abi-includes): Likewise.
15559 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
15560 $(abi-$(default-abi)-lib-soname) for soname if defined.
15561 ($(common-objpfx)gnu/lib-names.stmp): Generate from
15562 abi-variants.
15563 * Makefile (installed-stubs): Likewise.
15564 * include/stubs-biarch.h: Removed.
15565 * scripts/lib-names.awk: Only handle one library at a time.
15566 * scripts/soversions.awk: Remove WORDSIZE support.
15567 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15568 entries.
15569 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15570 Removed.
15571 (syscall-list-default-condition): Likewise.
15572 (syscall-list-default-condition): Likewise.
15573 (syscall-list-includes): Likewise.
15574 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15575 syscall-list-* with abi-*. Handle undefined abi-variants.
15576 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15577 * sysdeps/unix/sysv/linux/i386/Implies: New file.
15578 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15579 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15580 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15581 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15582 Removed.
15583 (syscall-list-32-options): Likewise.
15584 (syscall-list-32-condition): Likewise.
15585 (syscall-list-64-options): Likewise.
15586 (syscall-list-64-condition): Likewise.
15587 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15588 macro.
15589 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15590 Renamed to ...
15591 (abi-*): This.
15592 (abi-64-ld-soname): New macro.
15593 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15594 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15595 Renamed to ...
15596 (abi-*): This.
15597 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15598 * sysdeps/x86_64/x32/shlib-versions: Likewise.
15599
4da0431d
JM
156002012-05-30 Joseph Myers <joseph@codesourcery.com>
15601
3a85279c
JM
15602 * sysdeps/unix/sysv/linux/kernel-features.h
15603 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15604 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15605 include <kernel-features.h>.
15606 [!__NR_ftruncate64]: Remove conditional code.
15607 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15608 [__NR_ftruncate64]: Make code unconditional.
15609 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15610 * sysdeps/unix/sysv/linux/truncate64.c: Do not
15611 include <kernel-features.h>.
15612 [!__NR_ftruncate64]: Remove conditional code.
15613 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15614 [__NR_ftruncate64]: Make code unconditional.
15615 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15617 include <kernel-features.h>.
15618 [!__NR_ftruncate64]: Remove conditional code.
15619 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15620 [__NR_ftruncate64]: Make code unconditional.
15621 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15623 include <kernel-features.h>.
15624 [!__NR_ftruncate64]: Remove conditional code.
15625 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15626 [__NR_ftruncate64]: Make code unconditional.
15627 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15628
4da0431d
JM
15629 * configure.in (libc_cv_fpie): Weaken to a compile test using
15630 LIBC_TRY_CC_OPTION.
15631 * configure: Regenerated.
15632
11ef492c
AK
156332012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15634
15635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15639 Refreshed.
15640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15646 Refreshed.
15647
d66ef399
DM
156482012-05-27 David S. Miller <davem@davemloft.net>
15649
15650 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15651 (___Q_zero): New.
15652 (__Q_simulate_exceptions): Return void. Change to simulate
15653 exceptions by writing into the %fsr.
15654 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15655 (__Qp_handle_exceptions): Likewise.
15656 (numbers): Delete.
15657 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15658 __Qp_handle_exceptions.
15659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15660 __Qp_handle_exceptions.
15661 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15662 as unused and give dummy FP_RND_NEAREST initializer.
15663 (FP_INHIBIT_RESULTS): Define.
15664 (___Q_simulate_exceptions): Update declaration.
15665 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15666 formatting.
15667 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15668 as unused and give dummy FP_RND_NEAREST initializer.
15669 (__Qp_handle_exceptions): Update declaration.
15670 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15671 formatting.
15672
04fb54b5
TS
156732012-05-27 Thomas Schwinge <thomas@codesourcery.com>
15674
15675 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15676 the temporary FPU control word.
15677 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15678 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15679 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15680 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15681 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15682 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15683 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15684 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15685 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15686 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15687 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15688
3f99608f
KK
156892012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15690
15691 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15692 fields.
15693
65a4de4e
CLT
156942012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
15695
15696 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15697 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15698 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15699 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15700 Likewise.
15701 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15702 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15703 Likewise.
15704
15749d40
UD
157052012-05-27 Ulrich Drepper <drepper@gmail.com>
15706
15707 * po/h.po: Update from translation team.
15708
25dbcb27
AS
157092012-05-26 Andreas Schwab <schwab@linux-m68k.org>
15710
3d3f8e55
AS
15711 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15712
25dbcb27
AS
15713 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15714 handling of denormals.
15715 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15716 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15717 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15718 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15719 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15720 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15721 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15722 Likewise.
15723
7ad47a80 157242012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
15725
15726 [BZ #14152]
15727 * math/libm-test.inc (fma_test): Don't always expect underflow
15728 exception.
15729
9c6ea9fa
SP
157302012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15731
15732 [BZ #12416]
15733 * elf/tst-execstack.c: Include stackinfo.h.
15734 (do_test): Adjust test case to ensure that pthread_getattr_np
15735 behaviour remains the same after marking stack executable.
15736
a8239222
JM
157372012-05-25 Joseph Myers <joseph@codesourcery.com>
15738
15739 * sysdeps/unix/sysv/linux/kernel-features.h
15740 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15741 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15742 kernel-features.h.
15743 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15744 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15745 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
15746 kernel-features.h.
15747 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15748 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15749
918b5606
L
157502012-05-25 H.J. Lu <hongjiu.lu@intel.com>
15751
15752 * configure.in: Define the default includes to being none.
15753 * configure: Regenerated.
15754
3a097cc7
RM
157552012-05-25 Roland McGrath <roland@hack.frob.com>
15756
8422c9a5
RM
15757 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
15758 * sysdeps/x86_64/setjmp.S: Likewise.
15759 * sysdeps/i386/bsd-setjmp.S: Likewise.
15760 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15761 * sysdeps/i386/setjmp.S: Likewise.
15762 * sysdeps/i386/__longjmp.S: Likewise.
15763 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15764 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
15765
3a097cc7
RM
15766 * include/stap-probe.h: New file.
15767 * configure.in: Handle --enable-systemtap.
15768 * configure: Regenerated.
15769 * config.h.in (USE_STAP_PROBE): New #undef.
15770 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
15771 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
15772 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15773
21708942
JM
157742012-05-25 Joseph Myers <joseph@codesourcery.com>
15775
15776 [BZ #13717]
15777 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15778 to 2.4.0 where earlier.
15779 * sysdeps/unix/sysv/linux/configure: Regenerated.
15780 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15781 <kernel-features.h>.
15782 [__ASSUME_32BITUIDS]: Make code unconditional.
15783 [!__ASSUME_32BITUIDS]: Remove conditional code.
15784 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
15785 <kernel-features.h>.
15786 [__ASSUME_32BITUIDS]: Make code unconditional.
15787 [!__ASSUME_32BITUIDS]: Remove conditional code.
15788 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
15789 [__ASSUME_32BITUIDS]: Make code unconditional.
15790 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
15791 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
15792 <kernel-features.h>.
15793 [__ASSUME_32BITUIDS]: Make code unconditional.
15794 [!__ASSUME_32BITUIDS]: Remove conditional code.
15795 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
15796 <kernel-features.h>.
15797 [__ASSUME_32BITUIDS]: Make code unconditional.
15798 [!__ASSUME_32BITUIDS]: Remove conditional code.
15799 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
15800 <kernel-features.h>.
15801 [__ASSUME_32BITUIDS]: Make code unconditional.
15802 [!__ASSUME_32BITUIDS]: Remove conditional code.
15803 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
15804 <kernel-features.h>.
15805 [__ASSUME_32BITUIDS]: Make code unconditional.
15806 [!__ASSUME_32BITUIDS]: Remove conditional code.
15807 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15808 <kernel-features.h>.
15809 [__ASSUME_32BITUIDS]: Make code unconditional.
15810 [!__ASSUME_32BITUIDS]: Remove conditional code.
15811 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15812 <kernel-features.h>.
15813 [__ASSUME_32BITUIDS]: Make code unconditional.
15814 [!__ASSUME_32BITUIDS]: Remove conditional code.
15815 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
15816 <kernel-features.h>.
15817 [__ASSUME_32BITUIDS]: Make code unconditional.
15818 [!__ASSUME_32BITUIDS]: Remove conditional code.
15819 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15820 <kernel-features.h>.
15821 [__ASSUME_32BITUIDS]: Make code unconditional.
15822 [!__ASSUME_32BITUIDS]: Remove conditional code.
15823 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15824 <kernel-features.h>.
15825 [__ASSUME_32BITUIDS]: Make code unconditional.
15826 [!__ASSUME_32BITUIDS]: Remove conditional code.
15827 * sysdeps/unix/sysv/linux/i386/semctl.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/setegid.c: Do not include
15832 <kernel-features.h>.
15833 [__NR_setresgid] (__setresgid): Do not declare.
15834 [__ASSUME_32BITUIDS]: Make code unconditional.
15835 [!__ASSUME_32BITUIDS]: Remove conditional code.
15836 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
15837 <kernel-features.h>.
15838 [__NR_setresuid] (__setresuid): Do not declare.
15839 [__ASSUME_32BITUIDS]: Make code unconditional.
15840 [!__ASSUME_32BITUIDS]: Remove conditional code.
15841 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
15842 <kernel-features.h>.
15843 [__ASSUME_32BITUIDS]: Make code unconditional.
15844 [!__ASSUME_32BITUIDS]: Remove conditional code.
15845 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
15846 <kernel-features.h>.
15847 [__ASSUME_32BITUIDS]: Make code unconditional.
15848 [!__ASSUME_32BITUIDS]: Remove conditional code.
15849 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
15850 <kernel-features.h>.
15851 [__ASSUME_32BITUIDS]: Make code unconditional.
15852 [!__ASSUME_32BITUIDS]: Remove conditional code.
15853 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
15854 <kernel-features.h>.
15855 [__ASSUME_32BITUIDS]: Make code unconditional.
15856 [!__ASSUME_32BITUIDS]: Remove conditional code.
15857 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
15858 <kernel-features.h>.
15859 [__ASSUME_32BITUIDS]: Make code unconditional.
15860 [!__ASSUME_32BITUIDS]: Remove conditional code.
15861 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
15862 <kernel-features.h>.
15863 [__ASSUME_32BITUIDS]: Make code unconditional.
15864 [!__ASSUME_32BITUIDS]: Remove conditional code.
15865 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
15866 <kernel-features.h>.
15867 [__ASSUME_32BITUIDS]: Make code unconditional.
15868 [!__ASSUME_32BITUIDS]: Remove conditional code.
15869 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
15870 <kernel-features.h>.
15871 [__ASSUME_32BITUIDS]: Make code unconditional.
15872 [!__ASSUME_32BITUIDS]: Remove conditional code.
15873 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
15874 <kernel-features.h>.
15875 [__ASSUME_32BITUIDS]: Make code unconditional.
15876 [!__ASSUME_32BITUIDS]: Remove conditional code.
15877 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15878 <kernel-features.h>.
15879 [__ASSUME_32BITUIDS]: Make code unconditional.
15880 [!__ASSUME_32BITUIDS]: Remove conditional code.
15881 * sysdeps/unix/sysv/linux/kernel-features.h
15882 (__ASSUME_SETRESUID_SYSCALL): Remove.
15883 (__ASSUME_SETRESGID_SYSCALL): Likewise.
15884 (__ASSUME_32BITUIDS): Likewise.
15885 (__ASSUME_LDT_WORKS): Likewise.
15886 (__ASSUME_O_DIRECTORY): Likewise.
15887 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
15888 architecture but not kernel version.
15889 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15890 (__ASSUME_MMAP2_SYSCALL): Likewise.
15891 (__ASSUME_STAT64_SYSCALL): Likewise.
15892 (__ASSUME_IPC64): Likewise.
15893 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
15894 <kernel-features.h>.
15895 [__ASSUME_32BITUIDS]: Make code unconditional.
15896 [!__ASSUME_32BITUIDS]: Remove conditional code.
15897 * sysdeps/unix/sysv/linux/opendir.c: Do not include
15898 <kernel-features.h>.
15899 [__ASSUME_O_DIRECTORY]: Make code unconditional.
15900 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
15901 132096]: Remove conditional code.
15902 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
15903 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15904 <kernel-features.h>.
15905 [__ASSUME_32BITUIDS]: Make code unconditional.
15906 [!__ASSUME_32BITUIDS]: Remove conditional code.
15907 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15908 <kernel-features.h>.
15909 [__ASSUME_32BITUIDS]: Make code unconditional.
15910 [!__ASSUME_32BITUIDS]: Remove conditional code.
15911 * sysdeps/unix/sysv/linux/setegid.c: Do not include
15912 <kernel-features.h>.
15913 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
15914 unconditional.
15915 (__setresgid): Do not declare.
15916 [__ASSUME_32BITUIDS]: Make code unconditional.
15917 [!__ASSUME_32BITUIDS]: Remove conditional code.
15918 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
15919 <kernel-features.h>.
15920 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
15921 unconditional.
15922 (__setresuid): Do not declare.
15923 [__ASSUME_32BITUIDS]: Make code unconditional.
15924 [!__ASSUME_32BITUIDS]: Remove conditional code.
15925 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15926 <kernel-features.h>.
15927 [__ASSUME_32BITUIDS]: Make code unconditional.
15928 [!__ASSUME_32BITUIDS]: Remove conditional code.
15929 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
15930 <kernel-features.h>.
15931 [__ASSUME_32BITUIDS]: Make code unconditional.
15932 [!__ASSUME_32BITUIDS]: Remove conditional code.
15933
a386f1cc
RH
159342012-05-25 Richard Henderson <rth@twiddle.net>
15935
15936 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
15937 dl_hwcap to ifunc resolver.
15938 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
15939 elf_ifunc_invoke.
15940 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
15941 dl_hwcap to ifunc resolver.
15942 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
15943
b6550497
JM
159442012-05-24 Joseph Myers <joseph@codesourcery.com>
15945
15946 [BZ #14153]
15947 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
15948 for |x| <= 2**-26, not 2**-57.
15949 * math/libm-test.inc (acos_test): Do not allow spurious underflow
15950 exception.
15951
b0bc23a1
JL
159522012-05-24 Jeff Law <law@redhat.com>
15953
15954 * stdio-common/Makefile (tests): Add bug25.
15955 * stdio-common/bug25.c: New test.
15956
347c92e9
L
159572012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15958
15959 [BZ #13576]
15960 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
15961 multiple of MALLOC_ALIGNMENT in size.
15962 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
15963
6bcc8b3f
JM
159642012-05-24 Joseph Myers <joseph@codesourcery.com>
15965
15966 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
15967 Require >= 256.
15968 (FILENAME_MAX): Use macro-int-constant.
15969 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
15970 (_IOFBF): Use macro-int-constant.
15971 (_IOLBF): Likewise.
15972 (_IONBF): Likewise.
15973 (SEEK_CUR): Likewise.
15974 (SEEK_END): Likewise.
15975 (SEEK_SET): Likewise.
15976 (TMP_MAX): Likewise.
15977 (EOF): Use macro-int-constant. Require < 0.
15978 (NULL): Use macro-constant. Require == 0.
15979 (stdin): Require type to be FILE *.
15980 (stdout): Likewise.
15981 (stderr): Likewise.
15982 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
15983 macro-int-constant.
15984 (EXIT_SUCCESS): Likewise.
15985 (NULL): Use macro-constant. Require == 0.
15986 (RAND_MAX): Use macro-int-constant.
15987 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
15988 [C99-based standards] (strtof): Require function.
15989 [C99-based standards] (strtold): Likewise.
15990 [C99-based standards] (strtoll): Likewise.
15991 [C99-based standards] (strtoull): Likewise.
15992 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15993 [ISO || ISO99 || ISO11] (limits.h): Likewise.
15994 [ISO || ISO99 || ISO11] (math.h): Likewise.
15995 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
15996 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15997 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15998
d18ea0c5
AS
159992012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16000
16001 [BZ #14132]
56d25bb8
AS
16002 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16003 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16004 * intl/dgettext.c (DCGETTEXT): Likewise.
16005 * intl/gettext.c (DCGETTEXT): Likewise.
16006 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16007 * posix/regex_internal.h (gettext): Likewise.
16008 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16009 Remove declaration.
16010 * include/argz.h (__argz_count_internal)
16011 (__argz_stringify_internal): Remove declaration.
16012 (__argz_count, __argz_stringify): Declare hidden proto.
16013 * intl/dcgettext.c: Remove use of INTDEF.
16014 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16015 * string/argz-stringify.c: Likewise.
16016 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16017 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16018 Declare hidden proto.
d18ea0c5
AS
16019 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16020 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16021 Declare hidden proto.
16022 * include/stdio.h (__asprintf_internal): Don't declare.
16023 (__asprintf): Don't define as macro. Declare hidden proto.
16024 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16025 (__fsetlocking): Declare hidden proto.
16026 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16027 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16028 hidden proto.
16029 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16030 (_IO_setlinebuf): Remove use of INTUSE.
16031 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16032 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16033 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16034 Remove declaration.
16035 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16036 (_IO_do_flush): Remove use of INTUSE.
16037 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16038 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16039 (_IO_adjust_column, _IO_least_wmarker)
16040 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16041 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16042 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16043 (_IO_default_doallocate, _IO_wdefault_doallocate)
16044 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16045 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16046 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16047 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16048 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16049 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16050 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16051 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16052 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16053 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16054 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16055 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16056 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16057 proto.
16058 (_IO_flush_all_internal, _IO_adjust_column_internal)
16059 (_IO_default_uflow_internal, _IO_default_finish_internal)
16060 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16061 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16062 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16063 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16064 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16065 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16066 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16067 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16068 (_IO_file_close_internal, _IO_file_close_it_internal)
16069 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16070 (_IO_file_init_internal, _IO_file_attach_internal)
16071 (_IO_file_fopen_internal, _IO_file_read_internal)
16072 (_IO_file_sync_internal, _IO_file_seek_internal)
16073 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16074 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16075 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16076 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16077 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16078 (_IO_list_all_internal, _IO_link_in_internal)
16079 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16080 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16081 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16082 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16083 (_IO_do_write_internal, _IO_padn_internal)
16084 (_IO_getline_info_internal, _IO_getline_internal)
16085 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16086 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16087 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16088 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16089 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16090 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16091 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16092 with libc_hidden_ver, remove use of INTUSE.
16093 * libio/genops.c: Likewise.
16094 * libio/freopen.c: Likewise.
16095 * libio/freopen64.c: Likewise.
16096 * libio/iofclose.c: Likewise.
16097 * libio/iofdopen.c: Likewise.
16098 * libio/iofflush.c: Likewise.
16099 * libio/iofflush_u.c: Likewise.
16100 * libio/iofgets.c: Likewise.
16101 * libio/iofgets_u.c: Likewise.
16102 * libio/iofopen.c: Likewise.
16103 * libio/iofopncook.c: Likewise.
16104 * libio/iofread.c: Likewise.
16105 * libio/iofread_u.c: Likewise.
16106 * libio/ioftell.c: Likewise.
16107 * libio/iofwrite.c: Likewise.
16108 * libio/iogetline.c: Likewise.
16109 * libio/iogets.c: Likewise.
16110 * libio/iogetwline.c: Likewise.
16111 * libio/iopadn.c: Likewise.
16112 * libio/iopopen.c: Likewise.
16113 * libio/ioseekoff.c: Likewise.
16114 * libio/ioseekpos.c: Likewise.
16115 * libio/iosetbuffer.c: Likewise.
16116 * libio/iosetvbuf.c: Likewise.
16117 * libio/ioungetc.c: Likewise.
16118 * libio/ioungetwc.c: Likewise.
16119 * libio/iovdprintf.c: Likewise.
16120 * libio/iovsprintf.c: Likewise.
16121 * libio/iovsscanf.c: Likewise.
16122 * libio/memstream.c: Likewise.
16123 * libio/obprintf.c: Likewise.
16124 * libio/oldfileops.c: Likewise.
16125 * libio/oldiofclose.c: Likewise.
16126 * libio/oldiofdopen.c: Likewise.
16127 * libio/oldiofopen.c: Likewise.
16128 * libio/oldiopopen.c: Likewise.
16129 * libio/oldstdfiles.c: Likewise.
16130 * libio/putc.c: Likewise.
16131 * libio/setbuf.c: Likewise.
16132 * libio/setlinebuf.c: Likewise.
16133 * libio/stdfiles.c: Likewise.
16134 * libio/strops.c: Likewise.
16135 * libio/vasprintf.c: Likewise.
16136 * libio/vscanf.c: Likewise.
16137 * libio/vsnprintf.c: Likewise.
16138 * libio/vswprintf.c: Likewise.
16139 * libio/wfiledoalloc.c: Likewise.
16140 * libio/wfileops.c: Likewise.
16141 * libio/wgenops.c: Likewise.
16142 * libio/wmemstream.c: Likewise.
16143 * libio/wstrops.c: Likewise.
16144 * libio/__fpurge.c: Likewise.
16145 * libio/__fsetlocking.c: Likewise.
16146 * assert/assert.c: Likewise.
16147 * debug/fgets_chk.c: Likewise.
16148 * debug/fgets_u_chk.c: Likewise.
16149 * debug/fread_chk.c: Likewise.
16150 * debug/fread_u_chk.c: Likewise.
16151 * debug/gets_chk.c: Likewise.
16152 * debug/obprintf_chk.c: Likewise.
16153 * debug/vasprintf_chk.c: Likewise.
16154 * debug/vdprintf_chk.c: Likewise.
16155 * debug/vsnprintf_chk.c: Likewise.
16156 * debug/vsprintf_chk.c: Likewise.
16157 * malloc/mtrace.c: Likewise.
16158 * misc/error.c: Likewise.
16159 * misc/syslog.c: Likewise.
16160 * stdio-common/asprintf.c: Likewise.
16161 * stdio-common/fxprintf.c: Likewise.
16162 * stdio-common/getw.c: Likewise.
16163 * stdio-common/isoc99_fscanf.c: Likewise.
16164 * stdio-common/isoc99_scanf.c: Likewise.
16165 * stdio-common/isoc99_vfscanf.c: Likewise.
16166 * stdio-common/isoc99_vscanf.c: Likewise.
16167 * stdio-common/isoc99_vsscanf.c: Likewise.
16168 * stdio-common/printf-prs.c: Likewise.
16169 * stdio-common/printf_fp.c: Likewise.
16170 * stdio-common/printf_fphex.c: Likewise.
16171 * stdio-common/printf_size.c: Likewise.
16172 * stdio-common/putw.c: Likewise.
16173 * stdio-common/scanf.c: Likewise.
16174 * stdio-common/sprintf.c: Likewise.
16175 * stdio-common/tmpfile.c: Likewise.
16176 * stdio-common/vfprintf.c: Likewise.
16177 * stdio-common/vfscanf.c: Likewise.
16178 * stdlib/strfmon_l.c: Likewise.
16179 * sunrpc/openchild.c: Likewise.
16180 * sunrpc/xdr_stdio.c: Likewise.
16181 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16182 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16183
d6c33fda
RM
161842012-05-24 Roland McGrath <roland@hack.frob.com>
16185
c1487492
RM
16186 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16187
16188 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16189 in the third column, to generate for the shared library an IFUNC
16190 that uses _dl_vdso_vsym.
16191 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16192 * Makeconfig (object-suffixes-noshared): New variable.
16193
16194 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16195 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16196 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16197 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16198
d6c33fda
RM
16199 [BZ #14132]
16200 * include/sys/time.h (__gettimeofday): Remove macro.
16201 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16202 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16203 Remove INTDEF.
16204 (__gettimeofday): Add libc_hidden_def.
16205 (gettimeofday): Add libc_hidden_weak.
16206 * sysdeps/mach/gettimeofday.c: Likewise.
16207 * sysdeps/posix/gettimeofday.c: Likewise.
16208 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16209 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16210 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16211 (__gettimeofday_internal): Remove strong_alias.
16212 (__gettimeofday): Add libc_hidden_def.
16213 (gettimeofday): Add libc_hidden_weak.
16214 * sysdeps/unix/syscalls.list (gettimeofday):
16215 Remove __gettimeofday_internal alias.
16216
b5a2bbe6
L
162172012-05-24 Daniel Jacobowitz <drow@false.org>
16218 H.J. Lu <hongjiu.lu@intel.com>
16219
16220 [BZ #12495]
16221 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16222 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16223 (largebin_index_32_big): New.
16224 (largebin_index): Use it for 16-byte alignment.
16225 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16226 correction with front_misalign.
16227
cfba4fda
L
162282012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16229
7f907421
L
16230 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16232 Likewise.
16233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16234 Likewise.
16235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16236 Likewise.
16237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16238 Likewise.
16239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16240 Likewise.
16241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16242 Likewise.
16243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16244 Likewise.
16245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16246 Likewise.
16247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16248 Likewise.
16249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16250 Likewise.
16251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16252 Likewise.
16253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16254 Likewise.
16255
cfba4fda
L
16256 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16257 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16258
80bad0cc
JM
162592012-05-24 Joseph Myers <joseph@codesourcery.com>
16260
7a25eb06
JM
16261 [BZ #10846]
16262 [BZ #14036]
16263 * math/libm-test.inc (exp_test): Add test from bug 14036.
16264 (pow_test): Add test from bug 10846.
16265
795405f9
JM
16266 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16267 and other flags.
16268 (special_function): Do not include flags in test name.
16269 (parse_args): Likewise.
16270 * sysdeps/i386/fpu/libm-test-ulps: Update.
16271 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16272 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16273 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16275
80bad0cc
JM
16276 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16277 exceptions.
16278 * math/libm-test.inc ("Philosophy"): Update comment about
16279 exception testing.
16280 (UNDERFLOW_EXCEPTION): New macro.
16281 (UNDERFLOW_EXCEPTION_OK): Likewise.
16282 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16283 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16284 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16285 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16286 (INVALID_EXCEPTION_OK): Update value.
16287 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16288 (OVERFLOW_EXCEPTION_OK): Likewise.
16289 (IGNORE_ZERO_INF_SIGN): Likewise.
16290 (test_exceptions): Handle underflow exceptions.
16291 (acos_test): Update for underflow exception expectations.
16292 (cexp_test): Likewise.
16293 (clog_test): Likewise.
16294 (clog10_test): Likewise.
16295 (csqrt_test): Likewise.
16296 (ctan_test): Likewise.
16297 (ctanh_test): Likewise.
16298 (exp_test): Likewise.
16299 (exp10_test): Likewise.
16300 (exp2_test): Likewise.
16301 (expm1_test): Likewise.
16302 (fma_test): Likewise.
16303 (j0_test): Likewise.
16304 (jn_test): Likewise.
16305 (nexttoward_test): Likewise.
16306 (pow_test): Likewise.
16307 (scalbn_test): Likewise.
16308 (scalbln_test): Likewise.
16309 (tan_test): Likewise.
16310 (y1_test): Likewise.
16311 * sysdeps/i386/fpu/libm-test-ulps: Update.
16312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16313
9e0e3d0b
DM
163142012-05-23 David S. Miller <davem@davemloft.net>
16315
16316 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16317 (__libc_sigaction): Remove unused local variables.
16318
ccd0a08f
L
163192012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16320
16321 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16322
62bdf9a6
PE
163232012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16324
f8591f80
PE
16325 mktime: avoid signed integer overflow
16326 * time/mktime.c (__mktime_internal): Do not mishandle the case
16327 where diff == INT_MIN.
16328
94c7d826
PE
16329 mktime: simplify computation of average
16330 * time/mktime.c (ranged_convert): Use new time_t_avg function
16331 instead of rolling our own (probably-slower) code.
16332
ce73d683
PE
16333 mktime: do not assume signed right shift propagates sign bit
16334 * time/mktime.c (isdst_differ): New static function.
16335 (__mktime_internal): No need to normalize tm_isdst now.
16336 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16337 tm_isdst values.
16338
72a22e59
PE
16339 mktime: merge another wrapv change from gnulib
16340 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16341 from some compilers.
16342
68605433
PE
16343 mktime: remove incorrect attempt at unusual arithmetics
16344 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16345 The code didn't really work on such machines anyway.
16346 (TYPE_MINIMUM): Assume two's complement.
16347 (twos_complement_arithmetic): Verify that long_int and time_t
16348 are two's complement (or unsigned, in the latter case).
16349
03cf7fe3
PE
16350 mktime: check signed shifts on long_int and time_t, too
16351 * time/mktime.c (SHR): Check that shifts work as desired
16352 on the types long_int and time_t too, as SHR is used on
16353 such types.
16354
f04dfbc2
PE
16355 mktime: do not assume 'long' is wide enough
16356 * time/mktime.c (verify): Move decl up.
16357 (long_int): New type.
16358 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16359 to remove assumption in the code that 'long' is wide enough to
16360 store year values. This assumption is not true on x32 and on
16361 some non-glibc platforms.
16362
62bdf9a6
PE
16363 mktime: merge wrapv change from gnulib
16364 * time/mktime.c (WRAPV): New macro.
16365 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16366 (guess_time_tm, __mktime_internal): Do not assume that signed
16367 integer overflow wraps around; modern compilers generate code
16368 where this assumption is no longer valid.
16369
5e292e4f
L
163702012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16371
16372 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16373 Replace "jmp L(pseudo_end)" with "ret".
16374 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16375 Likewise.
16376
8caf8c87
AJ
163772012-05-23 Andreas Jaeger <aj@suse.de>
16378
16379 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16380 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16381
1a09dc56
AJ
163822012-05-23 Andreas Jaeger <aj@suse.de>
16383 Maximilian Attems <max@stro.at>
16384
16385 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16386 New macros.
16387
1c87aba0
L
163882012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16389
16390 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16391 code so that pseudo_end is just ret and the stack pointer is
16392 correct also for static library in error case.
16393
40e45bd5
JM
163942012-05-23 Joseph Myers <joseph@codesourcery.com>
16395
c2670533
JM
16396 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16397 move to syscalls.list.
16398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16402
40e45bd5
JM
16403 * manual/install.texi (Running make install): Do not mention Linux
16404 kernel version for which pt_chown is not needed.
16405 (Linux): Do not mention problems with nscd with 2.0 kernels.
16406 * INSTALL: Regenerated.
16407
be08eda5
AJ
164082012-05-23 Andreas Jaeger <aj@suse.de>
16409
16410 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16411 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16412 macro.
16413 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16414 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16415 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16416 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16417 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16418 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16419 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16420 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16421 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16422 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16423 * sysdeps/unix/sysv/linux/bits/in.h
16424 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16425
a6a056bb
RM
164262012-05-22 Roland McGrath <roland@hack.frob.com>
16427
16428 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16429 (PREPARE_VERSION): Just use assert instead, it will be elided
16430 under [NDEBUG] anyway.
16431
c9009328
L
164322012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16433
16434 * sysdeps/unix/sysv/linux/Makefile: Include
16435 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 16436 (sysdep_routines): Remove sysctl.
c9009328
L
16437 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16438 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16439 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16440 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16441 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16442
73338355
AJ
164432012-05-22 Andreas Jaeger <aj@suse.de>
16444
16445 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16446 that pseudo_end is just ret and the stack pointer is correct also
16447 for static library in error case.
16448
d44638b0
PP
164492012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16450
16451 [BZ #14122]
16452 * nss/nsswitch.c (defconfig_entries): New variable.
16453 (__nss_database_lookup): Don't leak defconfig entries.
16454 (nss_parse_service_list): Don't leak on error paths.
16455 (free_database_entries): New function.
16456 (free_defconfig): New function.
16457 (free_mem): Move common code to free_database_entries.
16458
31a39bd8
L
164592012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16460
da0331a8
L
16461 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16462 Add arch_prctl.
16463 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16464
31a39bd8
L
16465 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16466 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16467 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16468 New macro.
16469 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16470 (INTERNAL_SYSCALL_TYPES): Likewise.
16471 (LOAD_ARGS_TYPES_[1-6]): Likewise.
16472 (LOAD_REGS_TYPES_[1-6]): Likewise.
16473 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16474 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16475
45470df3
AZ
164762012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16477
16478 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16479 copysignl for GLIBC_2_0.
16480 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16481 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16482 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16483 logbl for GLIBC_2_0.
16484 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16485 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16486
98a61bcb
L
164872012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16488
a4f6e481
L
16489 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16490 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16491
f63d5db6
L
16492 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16493 Use "neg %eax".
16494
98a61bcb
L
16495 * time/mktime.c: Update copyright years.
16496
95770f14
PE
164972012-05-22 Paul Eggert <eggert@cs.ucla.edu>
16498
6226efbd
PE
16499 mktime: merge comment-quoting-style change from gnulib
16500 * time/mktime.c: Quote 'like this' in comments.
16501 The GNU coding standards suggest that we no longer quote `like this',
16502 as "`" and "'" are typically rendered asymmetrically nowadays.
16503 The typical gnulib style is to quote 'like this' when quoting
16504 code, and "like this" when quoting English.
16505
b99e4f78
PE
16506 * time/mktime.c (compile-command): Add "-I.".
16507
643e01e6
PE
16508 mktime: merge mktime-internal.h change from gnulib
16509 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16510
2554247d
PE
16511 mktime: merge time_r change from gnulib
16512 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16513
826dd0ab
PE
16514 mktime: merge DEBUG change from gnulib
16515 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16516 case system <time.h> has a #define.
16517
bd83aabe
PE
16518 mktime: merge <sys/types.h> change from gnulib
16519 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16520 since <time.t> is now guaranteed to define time_t.
16521
95770f14
PE
16522 mktime: merge HAVE_CONFIG_H change from gnulib
16523 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16524
5e1a27a9
L
165252012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16526
0e44a77e
L
16527 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16528 Use "neg %eax".
16529
5e1a27a9
L
16530 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16531 __rlim_t cast.
16532 (struct rusage): Use anonymous union to pad each field to
16533 __syscall_slong_t.
16534
46259bec
DM
165352012-05-21 David S. Miller <davem@davemloft.net>
16536
16537 * Makefules (o-iterator): Remove .s cases.
16538 (compile-command.s): Delete.
16539 (COMPILE.s): Delete.
16540 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16541
59f0c22e
JM
165422012-05-21 Joseph Myers <joseph@codesourcery.com>
16543
16544 * configure.in (libc_cv_predef_stack_protector): Only consider
16545 "foobar" and "__stack_chk_fail" lines in libc_undefs.
16546 * configure: Regenerated.
16547
20c07380
L
165482012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16549
bbb3154b
L
16550 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16551 New macro. Use R*LP on int and pointer.
16552 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
16553 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16554 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
16555 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16556
20c07380
L
16557 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16558 [__WORDSIZE_TIME64_COMPAT32] instead of
16559 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16560 (struct utmp): Likewise.
16561 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16562 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16563 Renamed to ...
16564 (__WORDSIZE_TIME64_COMPAT32): This.
16565 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16566 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16567 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16568 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16569 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16570 (__WORDSIZE_TIME64_COMPAT32): New macro.
16571
d8d1017e
AJ
165722012-05-21 Andreas Jaeger <aj@suse.de>
16573
16574 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16575 only if [SHARED]. Add prototype for __wcschr_ia32.
16576
6c7fb145
RM
165772012-05-21 Roland McGrath <roland@hack.frob.com>
16578
16579 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16580 of %rbp unmolested in the jmp_buf while mangling the low bits.
16581 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16582 unmolested high bits of %rbp while demangling the low bits.
16583 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16584
66274218
AJ
165852012-05-21 Andreas Jaeger <aj@suse.de>
16586
07c58f8f
AJ
16587 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16588 * sunrpc/svc_simple.c: Use it for registerrpc.
16589 * sunrpc/xcrypt.c: Use it for passwd2des.
16590
66274218
AJ
16591 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16592
61f65140
L
165932012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16594
16595 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16596 Don't define if [__SYSCALL_WORDSIZE != 32].
16597 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16598 New macro.
16599
5fefb436
AJ
166002012-05-21 Bruno Haible <bruno@clisp.org>
16601 Andreas Jaeger <aj@suse.de>
16602
16603 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16604 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16605 inptr and inend for must_buffer_ch.
16606 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16607 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16608 * stdio-common/Makefile (tests): Remove bug15.
16609 (bug15-ENV): Remove macro.
16610 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16611 anymore.
16612
d8e272ab
AJ
166132012-05-19 Andreas Jaeger <aj@suse.de>
16614 Roland McGrath <roland@hack.frob.com>
16615
16616 * manual/contrib.texi: Completely rewritten. It contains now an
16617 alphabetical list of contributors and their contributions.
16618
4a56a162
RH
166192012-05-21 Richard Henderson <rth@twiddle.net>
16620
16621 * misc/getauxval.c (__getauxval): Use unsigned long int.
16622 * misc/sys/auxv.h: Include <sys/cdefs.h>.
16623 (getauxval): Use unsigned long int.
16624
d024d23c
L
166252012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16626
16627 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16628
cbc00a03
RM
166292012-05-21 Roland McGrath <roland@hack.frob.com>
16630
16631 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16632 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16633 __alignof__ (long double).
16634
478143fa
AZ
166352012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16636
16637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16638
c7683a6d
RH
166392012-05-20 Richard Henderson <rth@twiddle.net>
16640
16641 * misc/getauxval.c: New file.
16642 * misc/sys/auxv.h: New file.
16643 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16644 (routines): Add getauxval.
16645 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16646 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16647 * elf/dl-sysdep.c (_dl_auxv): Remove.
16648 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16649 * elf/dl-support.c (_dl_auxv): New variable.
16650 (_dl_aux_init): Initialize it.
16651 * manual/startup.texi (Auxiliary Vector): New node.
16652 * sysdeps/generic/bits/hwcap.h: New file.
16653 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16654 * sysdeps/powerpc/sysdep.h: ... here. Include it.
16655 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16656 * sysdeps/sparc/sysdep.h: ... here. Include it.
16657 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16658 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
16659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16660 Update.
c7683a6d
RH
16661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16664 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16669
a6f1845d
AZ
166702012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16671
16672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16673
cbcbe830
DM
166742012-05-19 David S. Miller <davem@davemloft.net>
16675
16676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16677
e0b16cc2
JM
166782012-05-19 Joseph Myers <joseph@codesourcery.com>
16679
16680 [BZ #14123]
16681 * math/s_ccosh.c: Include <float.h>
16682 (__ccosh): Avoid internal overflow calculating sinh and cosh
16683 values before multiplying by sin and cos values.
16684 * math/s_ccoshf.c: Likewise.
16685 * math/s_ccoshl.c: Likewise.
16686 * math/s_csin.c: Likewise.
16687 * math/s_csinf.c: Likewise.
16688 * math/s_csinl.c: Likewise.
16689 * math/s_csinh.c: Likewise.
16690 * math/s_csinhf.c: Likewise.
16691 * math/s_csinhl.c: Likewise.
16692 * math/libm-test.inc (ccos_test): Add more tests.
16693 (ccosh_test): Likewise.
16694 (csin_test): Likewise.
16695 (csinh_test): Likewise.
16696 * sysdeps/i386/fpu/libm-test-ulps: Update.
16697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16698
6ad13e08
L
166992012-05-19 H.J. Lu <hongjiu.lu@intel.com>
16700
f66f0ce8
L
16701 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16702 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16703
6ad13e08
L
16704 * sysdeps/x86_64/x32/_itoa.h: Add comment.
16705
b1d072a7
JM
167062012-05-19 Joseph Myers <joseph@codesourcery.com>
16707
16708 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16709 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16710 * sysdeps/powerpc/soft-fp/Versions: Likewise.
16711 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16712 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16713 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16714 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16715 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16716 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16717 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16718 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16719 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16720 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16721 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16722 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16723 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16724 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16725 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16726 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16727 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16728 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16729 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16730 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16731 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16732 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16733 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16734 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16735 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16736 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16737 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16738 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16739
9eae47cb
AJ
167402012-05-18 Andreas Jaeger <aj@suse.de>
16741
16742 * csu/.gitignore: Delete.
16743
bb07f69f
L
167442012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16745
16746 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
16747 (timex): Use __syscall_slong_t.
16748
e6bdb741
AJ
167492012-05-18 Andreas Jaeger <aj@suse.de>
16750 Carlos O'Donell <carlos_odonell@mentor.com>
16751
16752 * manual/install.texi (Configuring and compiling): Update
16753 description about files modified in the source directory.
d6c33fda 16754 * INSTALL: Regenerated.
e6bdb741 16755
1b74487e
L
167562012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16757
16758 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
16759 value. Use "or" to set return value to -1.
16760 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
16761 negate return value.
16762
a88b64b9
TMQMF
167632012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16764
16765 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
16766 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
16767 failure if the compiler has Graphite support disabled.
16768 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
16769 Likewise.
16770 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
16771 CFLAGS-memmove.c): Likewise.
16772 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
16773 Likewise.
16774
3707636e
L
167752012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16776
610b8622
L
16777 * sysdeps/x86_64/x32/_itoa.h: New file.
16778
7cd195df
L
16779 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
16780 getdents system call only if kernel and user dirents have the
16781 same d_ino and d_off.
16782
94b07d20
L
16783 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16784 LLONG_MAX != LONG_MAX.
16785 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16786 (_fitoa_word): Likewise.
16787
18298070
L
16788 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
16789 years.
16790 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
16791 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
16792 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
16793
553c7ea4
L
16794 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
16795 include <bits/wordsize.h>. Check __x86_64__ instead of
16796 __WORDSIZE.
16797 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
16798 if __x86_64__ is defined. Use anonymous union on fpstate.
16799
3707636e
L
16800 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
16801 anonymous union.
16802
b53ef01a
AS
168032012-05-18 Andreas Schwab <schwab@linux-m68k.org>
16804
37fb1dc0
AS
16805 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16806 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
16807 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
16808 Refer to _rtld_local_ro instead of _rtld_global_ro.
16809 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
16810 Likewise.
16811 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
16812 Likewise.
16813 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
16814 Likewise.
16815 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
16816 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
16817 of _rtld_global, and rtld_progname instead of _dl_argv[0].
16818
b53ef01a
AS
16819 * sysdeps/powerpc/powerpc32/dl-machine.c
16820 (__elf_machine_runtime_setup) [PROF]: Don't reference
16821 _dl_prof_resolve.
16822
7a185db2
AJ
168232012-05-18 Andreas Jaeger <aj@suse.de>
16824
16825 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
16826 function only available for GCCs before 3.4 since GCC 3.4
16827 introduced a builtin.
16828 (lrint): Likewise.
16829 (llrintf): Likewise.
16830 (llrint): Likewise.
16831 (fmaxf): Likewise.
16832 (fmax): Likewise.
16833 (fminf): Likewise.
16834 (fmin): Likewise.
16835 (rint): Likewise.
16836 (rintf): Likewise.
16837 (nearbyint): Likewise.
16838 (nearbyintf): Likewise.
16839 (ceil): Likewise.
16840 (ceilf): Likewise.
16841 (floor): Likewise.
16842 (floorf): Likewise.
16843
3e5aef87
L
168442012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16845
428bd707
L
16846 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
16847 on both fields and cast pointer to __syscall_ulong_t.
16848
3e5aef87
L
16849 * bits/types.h (__fsword_t): New type.
16850 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
16851 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
16852 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16853 (__FSWORD_T_TYPE): Likewise.
16854 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16855 (__FSWORD_T_TYPE): Likewise.
16856 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16857 (__FSWORD_T_TYPE): Likewise.
16858 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
16859 (__FSWORD_T_TYPE): Likewise.
16860 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
16861 __SWORD_TYPE with __fsword_t.
16862 (statfs64): Likewise.
16863
1ba7c3dc
DM
168642012-05-17 David S. Miller <davem@davemloft.net>
16865
16866 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
16867
59910343
AJ
168682012-05-17 Andreas Jaeger <aj@suse.de>
16869
16870 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
16871 warning.
16872
2e4c1e9e
L
168732012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16874
16875 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
16876
de7f5ce7
AJ
168772012-05-17 Andreas Jaeger <aj@suse.de>
16878
16879 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
16880 when it is used.
16881
286abc3d
CM
168822012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16883
16884 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
16885
477cc68e
L
168862012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16887
16888 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
16889 * sysdeps/x86_64/tst-mallocalign1.c: New file.
16890
1a0994f5
CD
168912012-05-17 Andreas Jaeger <aj@suse.de>
16892 Carlos O'Donell <carlos_odonell@mentor.com>
16893
16894 [BZ #14059]
16895 * sysdeps/x86_64/multiarch/init-arch.h
16896 (bit_YMM_Usable): Rename to...
16897 (bit_AVX_Usable): ... this.
16898 (bit_FMA4_Usable): New macro.
16899 (bit_XMM_state): New macro.
16900 (bit_YMM_state): New macro.
16901 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
16902 [__ASSEMBLER__] (index_AVX_Usable): ... this.
16903 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
16904 (CPUID_OSXSAVE): New macro.
16905 (CPUID_AVX): New macro.
16906 (CPUID_FMA4): New macro.
16907 (index_YMM_Usable): Rename to...
16908 (index_AVX_Usable): ... this.
16909 (HAS_AVX): Use HAS_ARCH_FEATURE.
16910 (HAS_FMA4): Likewise.
16911 (HAS_YMM_USABLE): Remove.
16912 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16913 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
16914 are present.
16915 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
16916 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
16917 * sysdeps/x86_64/multiarch/Makefile: Likewise.
16918 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
16919 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
16920
0af797de
CM
169212012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16922
16923 * math/libm-test.c: Support platforms without multiple rounding modes.
16924 * math/bug-nextafter.c: Support platforms without FP exceptions.
16925 * math/bug-nexttoward.c: Likewise.
16926 * math/test-fenv.c: Likewise.
16927 * math/test-misc.c: Likewise.
16928 * stdlib/bug-getcontext.c: Likewise.
16929
e39745ff
AJ
169302012-05-17 Andreas Jaeger <aj@suse.de>
16931
16932 * manual/examples/search.c (critter_cmp): Change signature to
16933 avoid warnings.
16934 * manual/string.texi (Collation Functions): Likewise.
16935
48970aba
L
169362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16937
16938 * bits/types.h: Fold copyright years.
16939 * bits/typesizes.h: Likewise.
16940 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
16941 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16942 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
16943 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
16944 * time/time.h: Likewise.
16945
bedee953
PP
169462012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
16947
16948 [BZ #208]
16949 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
16950 in instead of returning them. Return void.
16951 (__libc_mallinfo): Accumulate over all arenas.
16952 (__malloc_stats): Adjust for change in int_mallinfo interface.
16953
61653dfb
RM
169542012-05-16 Roland McGrath <roland@hack.frob.com>
16955
30b99d79
RM
16956 [BZ #10375]
16957 * configure.in (NM): Add AC_CHECK_TOOL for it.
16958 (libc_extra_cflags): New substituted variable.
16959 Check for -fstack-protector being used implicitly.
16960 * configure: Regenerated.
16961 * config.make.in (config-extra-cflags): New variable,
16962 gets @libc_extra_cflags@.
16963 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
16964
61653dfb
RM
16965 [BZ #10375]
16966 * configure.in: Check for _FORTIFY_SOURCE being predefined.
16967 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
16968 * configure: Regenerated.
16969 * config.make.in (CPPUNDEFS): New substituted variable.
16970 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
16971 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
16972 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
16973
661768bb
L
169742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16975
16976 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
16977 (mq_attr): Use __syscall_slong_t.
16978
d4261567
L
169792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16980
16981 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
16982 Check __x86_64__ instead of __WORDSIZE.
16983 (_STAT_VER_LINUX): Likewise.
16984 (stat): Check __x86_64__ instead of __WORDSIZE. Use
16985 __syscall_ulong_t and __syscall_slong_t.
16986 (stat64): Likewise.
16987
cf3ff365
L
169882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16989
16990 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
16991
76cf3e4d
L
169922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16993
16994 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
16995
a637753a
L
169962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16997
16998 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
16999 __syscall_ulong_t.
17000
d5e05119
L
17001 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17002 include <bits/wordsize.h>. Check __x86_64__ instead of
17003 __WORDSIZE.
17004 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17005 defined.
17006 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17007
f62ee380
L
17008 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17009 include <bits/wordsize.h>. Check __x86_64__ instead of
17010 __WORDSIZE.
17011 (user_regs_struct): Use "__extension__ unsigned long long"
17012 instead of "unsigned long" if __x86_64__ is defined.
17013 (user): Likewise. Pad after pointer field if __ILP32__ is
17014 defined.
17015
4e124ced
JM
170162012-05-16 Joseph Myers <joseph@codesourcery.com>
17017
6a3951a0
JM
17018 * configure.in (makeinfo): Require version 4.5 or later. Allow
17019 versions 5 to 9.
17020 * configure: Regenerated.
17021 * manual/install.texi (texinfo): Increase version requirement to
17022 4.5 or later.
17023 * INSTALL: Regenerated.
17024
4e124ced
JM
17025 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17026
953ca31a
L
170272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17028
17029 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17030
617aca05
L
17031 * sysdeps/x86_64/x32/ffs.c: New file.
17032
5762f7ae
L
17033 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17034 __syscall_ulong_t.
17035 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17036 defined. Use __syscall_ulong_t.
17037 (shminfo): Use __syscall_ulong_t.
17038 (shm_info): Likewise.
17039
a26b6856
L
17040 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17041 __syscall_ulong_t.
17042
cb2b9ef7
L
17043 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17044 <bits/wordsize.h>.
17045 (msgqnum_t): Use __syscall_ulong_t.
17046 (msglen_t): Likewise.
17047 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17048 __syscall_ulong_t.
17049
34683bb0
L
17050 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17051 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17052
84a68786
L
17053 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17054
48baa5f1
L
17055 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17056 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17057
180be88b
L
17058 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17059 __syscall_slong_t.
17060
5e90c8ad
L
17061 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17062 include <bits/wordsize.h>. Check __x86_64__ instead of
17063 __WORDSIZE.
17064
23dfb58b
L
17065 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17066 "unsigned long long int" if __x86_64__ is defined.
17067 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17068
ce5d54b0
L
17069 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17070 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17071 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17072
13dc9eac
L
17073 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17074 <stdint.h>.
17075 (GET_PC): Cast to uintptr_t first.
17076 (GET_FRAME): Likewise.
17077 (GET_STACK): Likewise.
17078
a7895d15
L
17079 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17080 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17081 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17082 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17083 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17084 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17085 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17086 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17087 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17088 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17089 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17090 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17091 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17092 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17093 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17094 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17095 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17096 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17097 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17098 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17099 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17100 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17101 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17102 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17103 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17104 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17105 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17106 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17107 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17108
656416c9
AS
171092012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17110
5bd66283
AS
17111 * Makerules (+depfiles): Also collect depfiles from .oS in
17112 $(extra-objs).
17113 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17114 .oS, $(libnldbl-routines)).
17115
656416c9
AS
17116 * Makerules (native-compile-mkdep-flags): Define.
17117 * sunrpc/Makefile (extra-objs): Add $(addprefix
17118 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17119 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17120 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17121 calling $(make-target-directory).
17122
a46f2169
L
171232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17124
17125 * bits/types.h (__snseconds_t): Removed.
17126 * time/time.h (struct timespec): Replace __snseconds_t with
17127 __syscall_slong_t.
17128 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17129 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17130 Likewise.
17131 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17132 (__SNSECONDS_T_TYPE): Likewise.
17133 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17134 (__SNSECONDS_T_TYPE): Likewise.
17135 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17136 (__SNSECONDS_T_TYPE): Likewise.
17137
6af6528b
L
171382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17139
17140 * sysdeps/mach/hurd/bits/typesizes.h
17141 (__SYSCALL_SLONG_TYPE): New macro.
17142 (__SYSCALL_ULONG_TYPE): Likewise.
17143
de986b56
L
171442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17145
17146 * bits/types.h (__syscall_slong_t): New type.
17147 (__syscall_ulong_t): Likewise.
17148
17149 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17150 (__SYSCALL_ULONG_TYPE): Likewise.
17151 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17152 (__SYSCALL_SLONG_TYPE): Likewise.
17153 (__SYSCALL_ULONG_TYPE): Likewise.
17154 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17155 (__SYSCALL_SLONG_TYPE): Likewise.
17156 (__SYSCALL_ULONG_TYPE): Likewise.
17157 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17158 (__SYSCALL_SLONG_TYPE): Likewise.
17159 (__SYSCALL_ULONG_TYPE): Likewise.
17160
85736dc7
L
171612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17162
17163 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17164 Add sigaltstack-offsets.sym.
17165 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17166 <sigaltstack-offsets.h>.
17167 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17168 longjmp_msg pointer.
17169 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17170 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17171 signal stack.
17172 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17173
cc03b296
JM
171742012-05-15 Joseph Myers <joseph@codesourcery.com>
17175
a9538892
JM
17176 * elf/stackguard-macros.h: Remove file.
17177 * sysdeps/generic/stackguard-macros.h: New file.
17178 * sysdeps/i386/stackguard-macros.h: Likewise.
17179 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17180 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17181 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17182 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17183 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17184 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17185 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17186 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17187 <elf/stackguard-macros.h>.
17188
cc03b296
JM
17189 [BZ #14109]
17190 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17191 __aligned__ in attribute.
17192 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17193 (gregset_t): Likewise.
17194
93171016
L
171952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17196
17197 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17198 * sysdeps/x86_64/64/Implies-after: Here. New file.
17199 * sysdeps/x86_64/x32/Implies-after: New file.
17200
d86813a0
L
172012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17202
17203 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17204 and access return value for _dl_profile_fixup. Use R10_LP to
17205 load frame size.
17206
2953ec75
L
172072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17208
17209 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17210
3b550e9e
L
172112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17212
17213 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17214 * sysdeps/x86_64/x32/sysdep.h: New file.
17215
eda41706
L
172162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17217
17218 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17219 * sysdeps/x86_64/setjmp.S: Likewise.
17220
9ea01d93
AZ
172212012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17222
17223 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17224 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17225 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17226 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17227 remove unused global constant.
17228
02a91938
CM
172292012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17230
17231 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17232 include of <not-cancel.h>.
17233
6540185f
RM
172342012-05-15 Roland McGrath <roland@hack.frob.com>
17235
17236 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17237
509072a0
AJ
172382012-05-15 Jeff Law <law@redhat.com>
17239 Andreas Jaeger <aj@suse.de>
17240
17241 [BZ #13594]
17242 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17243 out from...
17244 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17245 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17246 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17247 code changing __hst_map_handle.map.
17248
ba75122d
RM
172492012-05-15 Roland McGrath <roland@hack.frob.com>
17250
17251 * configure.in (sysnames): Look for Implies-before and Implies-after
17252 files.
17253 * configure: Regenerated.
17254
890d8bd8
L
172552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17256
17257 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17258 8-byte data alignment with LP_SIZE alignment.
17259
f6ee6623
L
172602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17261
17262 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17263 into R10_LP.
17264
ea2626f6
L
172652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17266
17267 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17268
085f715e
L
172692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17270
17271 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17272 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17273 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17274 Likewise.
17275 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17276
be8498fc
L
172772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17278
17279 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17280 (stackinfo_sub_sp): Likewise.
17281
70bc83b9
L
172822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17283
17284 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17285 RAX_LP.
17286
9bc0b730
L
172872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17288
17289 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17290 into R*_LP.
17291
6d2850e7
L
172922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17293
17294 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17295 sizes into R*_LP.
17296
3cb84561
L
172972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17298
17299 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17300
54e2ed81
L
173012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17302
17303 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17304 into R11_LP and load __x86_64_shared_cache_size_half into
17305 R8_LP.
17306
8a17f349
L
173072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17308
17309 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17310 R8_LP.
17311
777b1eea
AZ
173122012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17313
17314 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17315 logb for POWER7.
17316 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17317 logbf for POWER7.
17318 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17319 logbl for POWER7.
17320 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17321 powerpc32/power7/fpu/s_logb.c via #include.
17322 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17323 powerpc32/power7/fpu/s_logbf.c via #include.
17324 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17325 powerpc32/power7/fpu/s_logbl.c via #include.
17326
d20d4ac2
JM
173272012-05-15 Joseph Myers <joseph@codesourcery.com>
17328
17329 * README.libm: Remove file.
17330
6cdef1ab
L
173312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17332
17333 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17334 count for x32. Use R*_LP and omit operand-size suffix.
17335
0b254d8f
L
173362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17337
17338 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17339 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17340 * sysdeps/x86_64/x32/shlib-versions: New file.
17341
ceb809dc
RM
173422012-05-14 Roland McGrath <roland@hack.frob.com>
17343
17344 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17345 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17346 Use _dl_fatal_printf instead.
17347
37f1abd4
JM
173482012-05-14 Joseph Myers <joseph@codesourcery.com>
17349
17350 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17351 set if not set by the user. Do not allow for being unset.
17352 * sysdeps/unix/sysv/linux/configure: Regenerated.
17353
11de3a33
L
173542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17355
17356 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17357 the `q' suffix from lea and replace .quad with ASM_ADDR.
17358
e02f153a
L
173592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17360
17361 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17362 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17363 instead of $17.
17364 (PTR_DEMANGLE): Likewise.
17365
520ae0fd
L
173662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17367
17368 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17369 (LP_OP): Likewise.
17370 (ASM_ADDR): Likewise.
17371 (RAX_LP): Likewise.
17372 (RBP_LP): Likewise.
17373 (RBX_LP): Likewise.
17374 (RCX_LP): Likewise.
17375 (RDI_LP): Likewise.
17376 (RSI_LP): Likewise.
17377 (RSP_LP): Likewise.
17378 (R8_LP): Likewise.
17379 (R9_LP): Likewise.
17380 (R10_LP): Likewise.
17381 (R10_LP): Likewise.
17382 (R11_LP): Likewise.
17383 (R12_LP): Likewise.
17384 (R13_LP): Likewise.
17385 (R14_LP): Likewise.
17386 (R15_LP): Likewise.
17387
b985be81
L
173882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17389
17390 * sysdeps/x86_64/x32/dl-machine.h: New file.
17391
6a4888ff
AJ
173922012-05-14 Andreas Jaeger <aj@suse.de>
17393
17394 * manual/Makefile (subdir): Remove export of subdir.
17395 (all): Remove target.
17396 (.PHONY): Remove all from list.
17397 (mkinstalldirs): Remove.
17398 (.PHONY): Remove installdirs from list.
17399 ($(inst_infodir)/libc.info): Use make-target-directory.
17400 (installdirs): Remove.
17401 (subdir_%): Remove.
17402 (glibc-targets): Remove.
17403 (lib): Remove.
17404 (stubs): Remove.
17405 ($(objpfx)stubs ../po/manual.pot): Remove.
17406 ($(objpfx)stamp%): Remove.
17407 (make-target-directory): Remove.
17408 (subdir_install): Remove.
17409 (routines): Remove.
17410 (aux): Remove.
17411 (sources): Remove.
17412 (objects): Remove.
17413 (headers): Remove.
17414
17415 [BZ #13750]
17416 * manual/.gitignore: Remove, it's not needed anymore.
17417 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17418 all files in it.
17419 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17420 directory.
17421 (texis): Renamed to $(objpfx)texis.
17422 (texis-path): New, contains path to generated files.
17423 (chapters.%): Use texis-path for complete path, add extra argument
17424 libc-texinfo.sh.
17425 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17426 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17427 (summary,texi, stamp-summary): Use complete path of
17428 files. Generate files in build dir.
17429 (dir-add.texi): Build in build dir.
17430 (libm-err.texi,stamp-libm-err): Likewise.
17431 (version.texi, stamp-version): Likewise.
17432 (.%c.texi): Likewise.
17433 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17434 (mostlyclean): Remove target.
17435 (realclean): Remove target.
17436 (generated): Add new variable with contents from mostlyclean and
17437 realclean, remove entries duplicated in common-mostlyclean, add
17438 stamp-libm-err and stamp-version.
17439 (generated-dirs): Add libc directory.
17440 ($(inst_infodir)/libc.info): Install files from build dir.
17441
17442 * manual/install.texi (Configuring and compiling): Adjust since
17443 the info files are not part of the tar ball anymore.
17444
7ac77294
AJ
174452012-05-14 Andreas Jaeger <aj@suse.de>
17446
17447 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17448 variable.
17449
ffb7875d
JM
174502012-05-14 Joseph Myers <joseph@codesourcery.com>
17451
17452 [BZ #13717]
17453 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17454 to 2.2.0 where earlier.
17455 * sysdeps/unix/sysv/linux/configure: Regenerated.
17456 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17457 Remove conditional code.
17458 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17459 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17460 Remove conditional code.
17461 [!__NR_lchown]: Likewise.
17462 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17463 [__NR_lchown]: Likewise.
17464 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17465 comment referencing __ASSUME_LCHOWN_SYSCALL.
17466 * sysdeps/unix/sysv/linux/i386/sigaction.c
17467 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17468 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17469 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17470 Remove conditional code.
17471 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17472 (__protocol_available): Remove #if 0 code.
17473 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17474 conditional code.
17475 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17476 * sysdeps/unix/sysv/linux/kernel-features.h
17477 (__ASSUME_GETCWD_SYSCALL): Don't define.
17478 (__ASSUME_REALTIME_SIGNALS): Likewise.
17479 (__ASSUME_PREAD_SYSCALL): Likewise.
17480 (__ASSUME_PWRITE_SYSCALL): Likewise.
17481 (__ASSUME_POLL_SYSCALL): Likewise.
17482 (__ASSUME_LCHOWN_SYSCALL): Likewise.
17483 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17484 non-SPARC.
17485 (__ASSUME_SIOCGIFNAME): Don't define.
17486 (__ASSUME_MSG_NOSIGNAL): Likewise.
17487 (__ASSUME_SENDFILE): Define unconditionally.
17488 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17489 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17490 conditional code.
17491 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17492 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17493 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17494 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17495 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17496 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17497 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17499 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17500 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17502 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17503 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17505 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17506 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17508 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17509 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17511 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17512 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17514 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17515 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17517 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17518 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17520 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17521 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17522 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17523 Remove conditional code.
17524 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17525 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17526 Remove conditional code.
17527 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17528 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17529 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17530 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17531 Remove conditional code.
17532 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17533 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17534 Remove conditional code.
17535 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17536 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17537 Remove conditional code.
17538 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17539 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17540 Remove conditional code.
17541 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17542 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17543 Remove conditional code.
17544 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17545 * sysdeps/unix/sysv/linux/sh/pwrite64.c
17546 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17547 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17548 * sysdeps/unix/sysv/linux/sigaction.c
17549 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17550 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17551 * sysdeps/unix/sysv/linux/sigpending.c
17552 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17553 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17554 * sysdeps/unix/sysv/linux/sigprocmask.c
17555 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17556 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17557 * sysdeps/unix/sysv/linux/sigsuspend.c
17558 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17559 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17560 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17561 (__libc_missing_rt_sigs): Remove.
17562 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17563 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17564 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17565 Remove conditional code.
17566 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17567 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17568 return 1.
17569 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17570 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17571 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17572 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17573
1bfb7291
AJ
175742012-05-14 Andreas Jaeger <aj@suse.de>
17575
caae5a81
AJ
17576 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17577 it's not used in glibc.
17578 (__coshm1): Likewise.
17579 (__acosh1p): Likewise.
17580 (__sgn): Likewise.
17581
1bfb7291
AJ
17582 * manual/string.texi (Copying and Concatenation): Add missing
17583 variable in concat example.
17584 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17585
c044d724
L
175862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17587
144c5467 17588 [BZ #14103]
c044d724
L
17589 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17590 __builtin_clzl with __builtin_clzll.
17591
2523c62b
L
175922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17593
17594 [BZ #14104]
17595 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17596 libc_freeres_ptr.
17597
d7bb4c42
LD
175982012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17599
17600 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17601 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17602 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17603 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17604
9dc4e1fb
MF
176052012-05-14 Mike Frysinger <vapier@gentoo.org>
17606
17607 * NEWS: Update ia64 info.
17608
c7df0112
AS
176092012-05-12 Andreas Schwab <schwab@linux-m68k.org>
17610
17611 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17612 used as bcopy.
17613
dc70356c
TS
176142012-05-12 Thomas Schwinge <thomas@codesourcery.com>
17615
17616 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17617 * sysdeps/unix/syscalls.list (dup3): Likewise.
17618 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17619 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17620
9fb1a21f
L
176212012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17622
17623 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17624 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17625
4822a2a5
L
176262012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17627
17628 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17629 thread pointer.
17630 (TLS_IE): Use mov/add instead of movq/addq to load thread
17631 pointer.
17632 (TLS_GD_PREFIX): New.
17633 (TLS_GD): Use it.
17634
842b81d6
DM
176352012-05-11 David S. Miller <davem@davemloft.net>
17636
17637 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17638 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17639 (_FPU_SETCW): Likewise.
17640
1cf463cd
L
176412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17642
17643 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17644 is 32-byte aligned.
17645
60cc4a18
AS
176462012-05-11 Andreas Schwab <schwab@linux-m68k.org>
17647
17648 [BZ #11837]
17649 * iconvdata/gb18030.c: Update tables.
17650 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
17651 characters specially.
17652 (BODY for TO_LOOP): Add encoding of missing ranges.
17653
febb44a4
TS
176542012-05-11 Thomas Schwinge <thomas@codesourcery.com>
17655
17656 [BZ #13673]
17657 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17658 * sysdeps/mach/hurd/dup3.c: Likewise.
17659 * sysdeps/mach/hurd/readlinkat.c: Likewise.
17660 * sysdeps/powerpc/memmove.c:: Likewise.
17661
0a10fb9e
L
176622012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17663
17664 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17665 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17666
df8a552f
L
176672012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17668
17669 * elf/elf.h (R_X86_64_RELATIVE64): New.
17670 (R_X86_64_NUM): Updated.
17671 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17672 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
17673 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17674 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17675 tst-quad1pie tst-quad2pie
17676 (modules-names): Add tst-quadmod1 tst-quadmod2.
17677 ($(objpfx)tst-quad1): New dependency.
17678 ($(objpfx)tst-quad2): Likewise.
17679 ($(objpfx)tst-quad1pie): Likewise.
17680 ($(objpfx)tst-quad2pie): Likewise.
17681 * sysdeps/x86_64/tst-quad1.c: New file.
17682 * sysdeps/x86_64/tst-quad1pie.c: New file.
17683 * sysdeps/x86_64/tst-quad2.c: Likewise.
17684 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17685 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17686 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17687 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17688 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17689
f34d6f84
ST
176902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17691
f42d41d1
ST
17692 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17693 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17694 * streams/stropts.h (t_scalar_t): Define type.
17695
3c3571fc
ST
17696 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17697 (_PATH_PRESERVE): Set to "/var/lib".
17698 (_PATH_RWHODIR): Set to "/var/spool/rwho".
17699
61f06bd3
ST
17700 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17701 instead of int.
17702
918d4d71
ST
17703 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17704 if __dir_mkfile succeeded.
17705
f34d6f84
ST
17706 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17707 checking for _hurd_dtablesize. Unlock it right after having
17708 finished _hurd_dtable allocation.
17709
10589b4a
TS
177102012-05-10 Thomas Schwinge <thomas@schwinge.name>
17711
674cdbc7
TS
17712 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17713 * sysdeps/mach/hurd/configure: Regenerated.
17714 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17715 special-casing to...
17716 * sysdeps/gnu/configure.in: ... this new file.
17717 * sysdeps/unix/sysv/linux/configure: Regenerated.
17718 * sysdeps/gnu/configure: New generated file.
17719
8e41b99f
TS
17720 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17721 for Linux: use nsec instead of usec, as well as:
17722 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17723 members of type struct timespec.
17724 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17725 New macros.
17726 (struct stat64): Likewise.
17727 (_STATBUF_ST_NSEC): New macro.
17728 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17729
10589b4a
TS
17730 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17731 __strtoul_internal rather than strtoul.
17732
63643c85
PT
177332012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17734
17735 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17736 and reject them.
17737
3faebe6a
ST
177382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17739
17740 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17741 which preserves existing values.
17742 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17743
c6474b07
PT
177442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17745
17746 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
17747 TIMEOUT values. Return EINVAL for NFDS values either negative or
17748 greater than FD_SETSIZE.
17749
1043890b
ST
177502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17751
17752 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
17753 allocated, call __vm_protect to finish enabling the existing space, and
17754 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
17755 allocate the remainder.
17756
37ed8b9b
PT
177572012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17758
17759 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
17760 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
17761
db653660
ST
177622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17763
37ed8b9b
PT
17764 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
17765 sysdeps/mach/hurd/readlink.c.
b29d4053 17766
db653660
ST
17767 * posix/tst-sysconf.c (posix_options): Only use
17768 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
17769 _POSIX_SYNCHRONIZED_IO when they are defined
17770 * sysdeps/mach/hurd/bits/posix_opt.h:
17771 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
17772 (_XOPEN_REALTIME): Undefine macro.
17773 (_XOPEN_REALTIME_THREADS): Undefine macro.
17774 (_XOPEN_SHM): Undefine macro.
17775 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
17776 macro to -1.
17777 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
17778 macro to -1.
17779 (_POSIX_ASYNC_IO): Undefine macro.
17780 (_POSIX_PRIORITIZED_IO): Undefine macro.
17781 (_POSIX_SPIN_LOCKS): Define macro to -1.
17782
ee16e894
ST
17783 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
17784 SA_NODEFER, SA_RESETHAND.
17785 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
17786 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
17787 F_DUPFD_CLOEXEC.
17788
6103ae3b
TS
177892012-05-10 Thomas Schwinge <thomas@schwinge.name>
17790
17791 * elf/Makefile (pldd-modules): Define unconditionally.
17792
80b4e5f3
TS
177932012-05-10 Thomas Schwinge <thomas@schwinge.name>
17794
17795 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
17796
edadcbd6
ST
177972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17798
17799 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
17800 Return ENOENT when name is empty.
17801 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
17802
80694780
TS
178032012-05-10 Thomas Schwinge <thomas@schwinge.name>
17804
1792c087
TS
17805 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
17806
80694780
TS
17807 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
17808
6b645f0d
ST
178092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17810
80694780
TS
17811 Fix mlock in all cases except non-readable pages.
17812 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
17813 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 17814
6b645f0d
ST
17815 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
17816 (__mkdir): When path is `/', just fail with EEXIST.
17817 * sysdeps/mach/hurd/mkdirat.c: Likewise.
17818
e468f8a3
TS
178192012-05-10 Thomas Schwinge <thomas@schwinge.name>
17820
17821 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
17822 <sys/uio.h> (for writev).
17823 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
17824 and <sys/param.h> (for MIN).
17825
a4186cff
PT
178262012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17827
17828 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
17829 REQUESTED_TIME. Properly set the remaining time and return EINTR
17830 if interrupted.
17831
510bbf14
TS
178322012-05-10 Thomas Schwinge <thomas@schwinge.name>
17833
17834 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
17835 Depend on against $(link-rpcuserlibs).
17836
5d5722e8
ST
178372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17838
a4186cff
PT
17839 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
17840 (__libc_stack_end): Do not use attribute_relro.
17841 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
17842 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 17843 to libthread-provided value.
a4186cff
PT
17844 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
17845 attribute_relro.
5d5722e8 17846
37233df9
TS
178472012-05-10 Thomas Schwinge <thomas@schwinge.name>
17848
be971a2b
TS
17849 [BZ #3748]
17850 * bits/libc-lock.h (__libc_once_get): New macro.
17851 * sysdeps/mach/bits/libc-lock.h: Likewise.
17852 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
17853 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
17854 instead of using implementation details.
17855
37233df9
TS
17856 * libio/fileops.c: Unconditionally include <kernel-features.h>.
17857 * libio/freopen.c: Likewise.
17858 * libio/freopen64.c: Likewise.
17859 * misc/syslog.c: Likewise.
17860 * nscd/connections.c: Likewise.
17861 * nscd/netgroupcache.c: Likewise.
17862 * sysdeps/posix/getcwd.c: Likewise.
17863
38de94a5
RM
178642012-05-10 Roland McGrath <roland@hack.frob.com>
17865
17866 * math/w_ilogbf.c: Add #include <limits.h>.
17867
67530489
ST
178682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17869
a4186cff 17870 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
17871 path instead of returning without unlocking.
17872
67530489
ST
17873 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
17874 immediate-write ioctls.
17875 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
17876
5aa3a74a
TS
178772012-05-10 Thomas Schwinge <thomas@schwinge.name>
17878
18bad2ae
TS
17879 * sysdeps/mach/hurd/i386/init-first.c (init): Use
17880 __builtin_frame_address instead of making assumptions about the
17881 location of the return address relative to DATA. Force early load of
17882 the return address.
17883 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
17884 __builtin_frame_address.
17885
5aa3a74a
TS
17886 dup3 for GNU Hurd.
17887 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
17888 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
17889 implement dup3 and do some further code clean-ups.
17890 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
17891 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
17892
ecd0de9a
ST
178932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17894
cd9fa985
ST
17895 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
17896
a4186cff
PT
17897 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
17898 HURD_CRITICAL_END around holding _hurd_dtable_lock.
17899 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
17900 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
17901 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
17902 d->port.lock.
802ca5a5 17903
a4186cff
PT
17904 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
17905 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
17906 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 17907
bcf55240
TS
179082012-05-10 Thomas Schwinge <thomas@schwinge.name>
17909
6960eb42
TS
17910 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
17911 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
17912 definitions.
17913
eb43375f
TS
17914 accept4 for GNU Hurd.
17915 * include/sys/socket.h (__libc_accept4): New prototype.
17916 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
17917 to implement __libc_accept4.
17918 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
17919 __libc_accept4.
17920 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
17921
bcf55240
TS
17922 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
17923 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
17924 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
17925 signal-defines.sym.
17926
6178c55b
ST
179272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17928
a4186cff 17929 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 17930
6f080c2f
TS
179312012-05-10 Thomas Schwinge <thomas@schwinge.name>
17932
17933 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
17934 assertion on O_CLOEXEC flag.
17935 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
17936 * hurd/intern-fd.c: Likewise.
17937 * hurd/port2fd.c: Likewise.
17938
bcfe3a54
ST
179392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17940
17941 [BZ #3906]
17942 * bits/in.h (IPV6_PKTINFO): Define new macro.
17943 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
17944
89c9aa49
AZ
179452012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17946
17947 [BZ #13954]
17948 [BZ #13955]
17949 [BZ #13956]
17950 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
17951 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17952 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
17953 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17954 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17955 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17956 * math/libm-test.inc (logb_test) : Additional logb tests.
17957
021db4be
AJ
179582012-05-09 Andreas Schwab <schwab@linux-m68k.org>
17959 Andreas Jaeger <aj@suse.de>
17960
17961 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
17962 * configure: Regenerated.
17963 * config.h.in (LINK_OBSOLETE_RPC): New macro.
17964 * config.make.in (link-obsolete-rpc): New substituted variable.
17965 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
17966 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
17967 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17968 (shared-only-routines): Don't set it under [link-obsolete-rpc],
17969 so that libc.a contains the symbols.
17970 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17971 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
17972 * sunrpc/auth_none.c: Likewise.
17973 * sunrpc/auth_unix.c: Likewise.
17974 * sunrpc/authdes_prot.c: Likewise.
17975 * sunrpc/authuxprot.c: Likewise.
17976 * sunrpc/clnt_gen.c: Likewise.
17977 * sunrpc/clnt_perr.c: Likewise.
17978 * sunrpc/clnt_raw.c: Likewise.
17979 * sunrpc/clnt_simp.c: Likewise.
17980 * sunrpc/clnt_tcp.c: Likewise.
17981 * sunrpc/clnt_udp.c: Likewise.
17982 * sunrpc/clnt_unix.c: Likewise.
17983 * sunrpc/des_crypt.c: Likewise.
17984 * sunrpc/des_soft.c: Likewise.
17985 * sunrpc/get_myaddr.c: Likewise.
17986 * sunrpc/key_call.c: Likewise.
17987 * sunrpc/key_prot.c: Likewise.
17988 * sunrpc/netname.c: Likewise.
17989 * sunrpc/pm_getmaps.c: Likewise.
17990 * sunrpc/pm_getport.c: Likewise.
17991 * sunrpc/pmap_clnt.c: Likewise.
17992 * sunrpc/pmap_prot.c: Likewise.
17993 * sunrpc/pmap_prot2.c: Likewise.
17994 * sunrpc/pmap_rmt.c: Likewise.
17995 * sunrpc/publickey.c: Likewise.
17996 * sunrpc/rpc_cmsg.c: Likewise.
17997 * sunrpc/rpc_common.c: Likewise.
17998 * sunrpc/rpc_dtable.c: Likewise.
17999 * sunrpc/rpc_prot.c: Likewise.
18000 * sunrpc/rpc_thread.c: Likewise.
18001 * sunrpc/rtime.c: Likewise.
18002 * sunrpc/svc.c: Likewise.
18003 * sunrpc/svc_auth.c: Likewise.
18004 * sunrpc/svc_raw.c: Likewise.
18005 * sunrpc/svc_run.c: Likewise.
18006 * sunrpc/svc_tcp.c: Likewise.
18007 * sunrpc/svc_udp.c: Likewise.
18008 * sunrpc/svc_unix.c: Likewise.
18009 * sunrpc/svcauth_des.c: Likewise.
18010 * sunrpc/xcrypt.c: Likewise.
18011 * sunrpc/xdr.c: Likewise.
18012 * sunrpc/xdr_array.c: Likewise.
18013 * sunrpc/xdr_float.c: Likewise.
18014 * sunrpc/xdr_intXX_t.c: Likewise.
18015 * sunrpc/xdr_mem.c: Likewise.
18016 * sunrpc/xdr_rec.c: Likewise.
18017 * sunrpc/xdr_ref.c: Likewise.
18018 * sunrpc/xdr_sizeof.c: Likewise.
18019 * sunrpc/xdr_stdio.c: Likewise.
18020
b5c086a2
RM
180212012-05-10 Roland McGrath <roland@hack.frob.com>
18022
18023 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18024 change. Update copyright years.
18025
6d74dd09
JM
180262012-05-10 Joseph Myers <joseph@codesourcery.com>
18027
18028 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18029
28e72501
MK
180302012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18031 Joseph Myers <joseph@codesourcery.com>
18032 Paul Pluzhnikov <ppluzhnikov@google.com>
18033
18034 [BZ #14012]
18035 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18036 requiring rpcgen.
18037 [cross-compiling] (extra-libs): Likewise.
18038 [cross-compiling] (extra-libs-others): Likewise.
18039 [cross-compiling] (librpcsvc-routines): Likewise.
18040 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18041 [cross-compiling] (omit-deps): Likewise.
18042 (sunrpc-CPPFLAGS): New variable.
18043 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18044 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18045 (cross-rpcgen-objs): New variable.
18046 (extra-objs): Append $(cross-rpcgen-objs).
18047 ($(cross-rpcgen-objs)): New rule.
18048 ($(objpfx)cross-rpcgen): Likewise.
18049 (rpcgen-cmd): Define to use $(built-program-file). Expand
18050 comment.
18051 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18052 ($(objpfx)x%.stmp): Likewise.
18053 * sunrpc/proto.h [IS_IN_build] (_): Define.
18054 [IS_IN_build] (_libc_intl_domainname): Likewise.
18055
c8c59454
L
180562012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18057
18058 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18059 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18060 and R_X86_64_TPOFF64.
18061
6f27cd16
JM
180622012-05-10 Joseph Myers <joseph@codesourcery.com>
18063
18064 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18065 sysdeps/unix/sysv/syscalls.list.
18066 (stime): Likewise.
18067 (utime): Likewise.
18068 * sysdeps/unix/sysv/syscalls.list: Remove file.
18069
02467e1c
PE
180702012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18071
18072 [BZ #3440]
18073 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18074 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18075 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18076 (__LC_IDENTIFICATION): Make these macros useful in #if
18077 expressions, as required by C99.
18078
da392631
AS
180792012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18080
18081 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18082 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18083 after this.
18084
8115f29b
L
180852012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18086
18087 * stdlib/longlong.h: Updated from GCC.
18088
bdd74070
AJ
180892012-05-09 Andreas Jaeger <aj@suse.de>
18090
edfe0dbe
AJ
18091 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18092 default is first entry.
18093 (run_mode): Set type.
18094 (main): Remove informal message about syslog.
18095 (options): Fix typo.
18096
bcfe3a54
ST
18097 [BZ #14053]
18098 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18099 to asm.
bcfe3a54
ST
18100 (lrint): Likewise.
18101 (llrintf): Likewise.
18102 (llrint): Likewise.
18103 (rint): Likewise.
18104 (rintf): Likewise.
18105 (nearbyint): Likewise.
18106 (nearbyintf): Likewise.
bdd74070 18107
91d8d69e
AJ
181082012-05-09 Andreas Jaeger <aj@suse.de>
18109 Pedro Alves <palves@redhat.com>
18110
18111 * nscd/nscd.c (run_mode): Use enum.
18112 (main): Cleanup coding style issue.
18113
bb90b80b
AJ
181142012-05-09 Alexandre Oliva <aoliva@redhat.com>
18115 Andreas Jaeger <aj@suse.de>
18116
bcfe3a54
ST
18117 * nscd/nscd.c (go_background): Replaced with...
18118 (run_mode): ... this.
bb90b80b 18119 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18120 (options): Add -F --foreground.
18121 (main): Implement it.
18122 (parse_opt): Parse it.
bb90b80b 18123
1a4b75a1
AJ
181242012-05-09 Andreas Jaeger <aj@suse.de>
18125
18126 [BZ #14083]
18127 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18128 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18129 -Wconversion warning.
18130 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18131 Likewise.
18132
b1cc2472
JM
181332012-05-09 Joseph Myers <joseph@codesourcery.com>
18134
18135 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18136 == 0.
18137 (LC_ALL): Use macro-int-constant.
18138 (LC_COLLATE): Likewise.
18139 (LC_CTYPE): Likewise.
18140 (LC_MESSAGES): Likewise.
18141 (LC_MONETARY): Likewise.
18142 (LC_NUMERIC): Likewise.
18143 (LC_TIME): Likewise.
18144 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18145 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18146 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18147 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18148 Specify type.
18149 [C99-based standards] (float_t): Expect type.
18150 [C99-based standards] (double_t): Expect type.
18151 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18152 type.
18153 [C99-based standards] (HUGE_VALL): Likewise.
18154 [C99-based standards] (INFINITY): Likewise.
18155 [C99-based standards] (NAN): Likewise.
18156 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18157 [C99-based standards] (FP_NAN): Likewise.
18158 [C99-based standards] (FP_NORMAL): Likewise.
18159 [C99-based standards] (FP_SUBNORMAL): Likewise.
18160 [C99-based standards] (FP_ZERO): Likewise.
18161 [C99-based standards] (FP_FAST_FMA): Use
18162 optional-macro-int-constant. Specify type. Require == 1.
18163 [C99-based standards] (FP_FAST_FMAF): Likewise.
18164 [C99-based standards] (FP_FAST_FMAL): Likewise.
18165 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18166 [C99-based standards] (FP_ILOGBNAN): Likewise.
18167 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18168 Specify type.
18169 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18170 [C99-based standards] (math_errhandling): Specify type.
18171 [ISO99 || ISO11] (signgam): Do not allow.
18172 [non-C99-based standards] (copysignf): Do not allow.
18173 [non-C99-based standards] (exp2f): Likewise.
18174 [non-C99-based standards] (log2f): Likewise.
18175 [non-C99-based standards] (modff): Allow.
18176 [non-C99-based standards] (erff): Do not allow.
18177 [non-C99-based standards] (erfcf): Likewise.
18178 [non-C99-based standards] (gammaf): Likewise.
18179 [non-C99-based standards] (hypotf): Likewise.
18180 [non-C99-based standards] (j0f): Likewise.
18181 [non-C99-based standards] (j1f): Likewise.
18182 [non-C99-based standards] (jnf): Likewise.
18183 [non-C99-based standards] (lgammaf): Likewise.
18184 [non-C99-based standards] (tgammaf): Likewise.
18185 [non-C99-based standards] (y0f): Likewise.
18186 [non-C99-based standards] (y1f): Likewise.
18187 [non-C99-based standards] (ynf): Likewise.
18188 [non-C99-based standards] (isnanf): Likewise.
18189 [non-C99-based standards] (acoshf): Likewise.
18190 [non-C99-based standards] (asinhf): Likewise.
18191 [non-C99-based standards] (atanhf): Likewise.
18192 [non-C99-based standards] (cbrtf): Likewise.
18193 [non-C99-based standards] (expm1f): Likewise.
18194 [non-C99-based standards] (ilogbf): Likewise.
18195 [non-C99-based standards] (log1pf): Likewise.
18196 [non-C99-based standards] (logbf): Likewise.
18197 [non-C99-based standards] (nextafterf): Likewise.
18198 [non-C99-based standards] (remainderf): Likewise.
18199 [non-C99-based standards] (rintf): Likewise.
18200 [non-C99-based standards] (scalbf): Likewise.
18201 [non-C99-based standards] (copysignl): Likewise.
18202 [non-C99-based standards] (exp2l): Likewise.
18203 [non-C99-based standards] (log2l): Likewise.
18204 [non-C99-based standards] (modfl): Allow.
18205 [non-C99-based standards] (erfl): Do not allow.
18206 [non-C99-based standards] (erfcl): Likewise.
18207 [non-C99-based standards] (gammal): Likewise.
18208 [non-C99-based standards] (hypotl): Likewise.
18209 [non-C99-based standards] (j0l): Likewise.
18210 [non-C99-based standards] (j1l): Likewise.
18211 [non-C99-based standards] (jnl): Likewise.
18212 [non-C99-based standards] (lgammal): Likewise.
18213 [non-C99-based standards] (tgammal): Likewise.
18214 [non-C99-based standards] (y0l): Likewise.
18215 [non-C99-based standards] (y1l): Likewise.
18216 [non-C99-based standards] (ynl): Likewise.
18217 [non-C99-based standards] (isnanl): Likewise.
18218 [non-C99-based standards] (acoshl): Likewise.
18219 [non-C99-based standards] (asinhl): Likewise.
18220 [non-C99-based standards] (atanhl): Likewise.
18221 [non-C99-based standards] (cbrtl): Likewise.
18222 [non-C99-based standards] (expm1l): Likewise.
18223 [non-C99-based standards] (ilogbl): Likewise.
18224 [non-C99-based standards] (log1pl): Likewise.
18225 [non-C99-based standards] (logbl): Likewise.
18226 [non-C99-based standards] (nextafterl): Likewise.
18227 [non-C99-based standards] (remainderl): Likewise.
18228 [non-C99-based standards] (rintl): Likewise.
18229 [non-C99-based standards] (scalbl): Likewise.
18230 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18231 [non-C99-based standards] (FP_*): Do not allow.
18232 [C99-based standards] (FP_*): Change to
18233 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18234 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18235 allow.
18236 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18237 (SIG_ERR): Likewise.
18238 [X/Open-based standards] (SIG_HOLD): Likewise.
18239 (SIG_IGN): Likewise.
18240 (SIGABRT): Use macro-int-constant. Specify type. Require
18241 positive value.
18242 (SIGFPE): Likewise.
18243 (SIGILL): Likewise.
18244 (SIGINT): Likewise.
18245 (SIGSEGV): Likewise.
18246 (SIGTER): Likewise.
18247 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18248 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18249 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18250 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18251 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18252 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18253 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18254 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18255 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18256 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18257 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18258 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18259 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18260 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18261 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18262 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18263 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18264 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18265 [X/Open-based standards] (SIGTRAP): Likewise.
18266 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18267 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18268 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18269 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18270 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18271 allow.
18272
b9f1922d
IW
182732012-05-08 Ian Wienand <ianw@vmware.com>
18274
18275 [BZ #14080]
18276 * time/tzset.c (__tzset_parse_tz): Update default rules for
18277 daylight time changes in the Energy Policy Act of 2005.
18278
1db86e88
AJ
182792012-05-09 Andreas Jaeger <aj@suse.de>
18280
18281 [BZ #13983]
18282 * elf/ldconfig.c (parse_conf): Change string to make clear that
18283 ldconfig only issued a warning if ld.so.conf does not exist.
18284
dee4a4e3
DM
182852012-05-08 David S. Miller <davem@davemloft.net>
18286
ee0db190
DM
18287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18288 movxtod instead of popping the value on the stack.
18289
dee4a4e3
DM
18290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18291
6a43ec98
CD
182922012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18293
18294 * config.h.in: Add HAVE_ARM_PCS_VFP.
18295
05c2c961
RMG
182962012-05-08 Roland Mc Grath <roland@hack.frob.com>
18297
bcfe3a54
ST
18298 [BZ #13979]
18299 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18300 checking but the checks are disabled for any reason.
05c2c961 18301
4b30f61a
L
183022012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18303
18304 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18305 and ELF64_R_TYPE with ELFW(R_TYPE).
18306
eee2bc67
JM
183072012-05-08 Joseph Myers <joseph@codesourcery.com>
18308
7ea5391a
JM
18309 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18310 (ulimit): Likewise.
18311
eee2bc67
JM
18312 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18313 (settimeofday): Likewise.
18314
abb66a67
MF
183152012-05-08 Mike Frysinger <vapier@gentoo.org>
18316
18317 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18318 a struct th_u2 inside the union, and move tu_block/tu_code into
18319 a new th_u3 union of tu_block/tu_code inside of that. Move
18320 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18321 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18322 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18323 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18324 (th_stuff): Change to th_u1.tu_stuff.
18325 (th_data): Define.
18326 (th_msg): Change to th_u1.th_u2.tu_data.
18327
7f18b530
DM
183282012-05-07 David S. Miller <davem@davemloft.net>
18329
05760585
DM
18330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18331
7f18b530
DM
18332 [BZ #14074]
18333 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18334 (SETUP_PIC_REG): Use it.
18335 (SETUP_PIC_REG_LEAF): Use it.
18336
495fd99f
JM
183372012-05-07 Joseph Myers <joseph@codesourcery.com>
18338
18339 [BZ #13885]
18340 [BZ #13923]
18341 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18342 USE_AS_EXPM1L.
18343 (EXPL_FINITE): Likewise.
18344 (FLDLOG): Likewise.
18345 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18346 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18347 e_expl.S.
18348 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18349 USE_AS_EXPM1L.
18350 (EXPL_FINITE): Likewise.
18351 (FLDLOG): Likewise.
18352 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18353 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18354 e_expl.S.
18355 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18356 test of -max_value argument for long double.
18357 * sysdeps/i386/fpu/libm-test-ulps: Update.
18358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18359
6693d694
DM
183602012-05-06 David S. Miller <davem@davemloft.net>
18361
18362 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18363 quad soft-float symbols whose references which are compiler
18364 generated.
18365 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18366
6c23e11c
JM
183672012-05-06 Joseph Myers <joseph@codesourcery.com>
18368
d8b82cad
JM
18369 [BZ #13884]
18370 [BZ #13914]
18371 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18372 USE_AS_EXP10L.
18373 (EXPL_FINITE): Likewise.
18374 (FLDLOG): Likewise.
18375 (c0): Likewise.
18376 (c1): Likewise.
18377 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18378 Adjust comments for base varying.
18379 (__expl_finite): Change alias to EXPL_FINITE.
18380 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18381 e_expl.S.
18382 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18383 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18384 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18385 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18386 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18387 USE_AS_EXP10L.
18388 (EXPL_FINITE): Likewise.
18389 (FLDLOG): Likewise.
18390 (c0): Likewise.
18391 (c1): Likewise.
18392 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18393 Adjust comments for base varying.
18394 (__expl_finite): Change alias to EXPL_FINITE.
18395 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18396 tests for bugs.
18397 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18398
6c23e11c
JM
18399 [BZ #14064]
18400 * math/libm-test.inc (check_float_internal): Correct ulp
18401 calculation for subnormal expected results.
18402
29ba805c
AJ
184032012-05-06 Andreas Jaeger <aj@suse.de>
18404
18405 * Makeconfig (+math-flags): New, set to -frounding-math.
18406 (+cflags): Add +math-flags so that all of glibc gets compiled with
18407 it.
18408
18409 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18410
7b17aeda
JM
184112012-05-05 Joseph Myers <joseph@codesourcery.com>
18412
5779f134
JM
18413 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18414 Disable one test.
18415
41498f4d
JM
18416 [BZ #13787]
18417 [BZ #13922]
18418 [BZ #14036]
18419 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18420 (__ieee754_expl): Allow for and saturate large arguments.
18421 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18422 (u_threshold): Likewise.
18423 (__exp): Call __ieee754_exp before checking for overflow and
18424 underflow.
18425 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18426 (u_threshold): Likewise.
18427 (__expf): Call __ieee754_expf before checking for overflow and
18428 underflow.
18429 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18430 (u_threshold): Likewise.
18431 (__expl): Call __ieee754_expl before checking for overflow and
18432 underflow.
18433 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18434 (__ieee754_expl): Allow for and saturate large arguments.
18435 * math/libm-test.inc (exp_test): Add another test. Do not allow
18436 missing overflow exception on overflow.
18437 (expm1_test): Do not allow missing overflow exception on overflow.
18438
6698b8bf
JM
18439 * sysdeps/i386/fpu/e_expl.c: Move to ...
18440 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18441 rather than using inline asm.
18442 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18443 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18444 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18445
7b17aeda
JM
18446 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18447 (nice): Likewise.
18448 (poll): Likewise.
18449 (signal): Likewise.
18450 (time): Likewise.
18451 (times): Likewise.
18452
f7c85819
JM
184532012-05-04 Joseph Myers <joseph@codesourcery.com>
18454
18455 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18456 sysdeps/unix/common/syscalls.list.
18457 (fchmod): Likewise.
18458 (fchown): Likewise.
18459 (ftruncate): Likewise.
18460 (getrusage): Likewise.
18461 (gettimeofday): Likewise.
18462 (setpgid): Likewise.
18463 (setregid): Likewise.
18464 (setreuid): Likewise.
18465 (sigaction): Likewise.
18466 (truncate): Likewise.
18467 (vhangup): Likewise.
18468 * sysdeps/unix/common/syscalls.list: Remove file.
18469 * sysdeps/unix/bsd/Implies: Don't include unix/common.
18470 * sysdeps/unix/sysv/linux/Implies: Likewise.
18471
336270d0
L
184722012-05-04 H.J. Lu <hongjiu.lu@intel.com>
18473
18474 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18476 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18477 Moved to ...
18478 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18479 Here.
18480 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18481 to ...
18482 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18483 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18484 to ...
18485 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18486 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18487 to ...
18488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18489 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18490 to ...
18491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18492 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18493 to ...
18494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18495 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18496 to ...
18497 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18498 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18499 to ...
18500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18501 Here.
18502 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18503 to ...
18504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18505 Here.
18506 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18507 to ...
18508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18509 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18510 Moved to ...
18511 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18512 Here.
18513 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18514 to ...
18515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18516
d128e450
JM
185172012-05-04 Joseph Myers <joseph@codesourcery.com>
18518
fa8ee516
JM
18519 * sysdeps/unix/common/bits/dirent.h: Remove file.
18520 * sysdeps/unix/common/bits/fcntl.h: Likewise.
18521
d128e450
JM
18522 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18523 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18524 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18525 * sysdeps/unix/bsd/isatty.c: Likewise.
18526 * sysdeps/unix/bsd/tcdrain.c: Likewise.
18527 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18528 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18529
ff8faaf0 185302012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 18531
62881be4 18532 [BZ #13563]
31dc8730
AZ
18533 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18534 long double comparison inaccuracies.
18535 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18537
6fef930c
AS
185382012-05-04 Andreas Schwab <schwab@linux-m68k.org>
18539
18540 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18541 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18542
8f203e6c
JM
185432012-05-04 Joseph Myers <joseph@codesourcery.com>
18544
18545 [BZ #14049]
18546 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18547 nonzero digits before rounding a hex value.
18548 * stdlib/tst-strtod.c (tests): Add another test.
18549
5197d9c2
AK
185502012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18551
18552 * sysdeps/s390/fpu/libm-test-ulps: Update.
18553
f0c1dedf
AJ
185542012-05-03 Andreas Jaeger <aj@suse.de>
18555
18556 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18557 does not get optimized out.
18558 (malloc_opt_barrier): New.
18559
a65ef2ae 185602012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 18561 Roland McGrath <roland@hack.frob.com>
a65ef2ae 18562
2b942cb7 18563 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 18564 intermediate file deletion.
2b942cb7 18565 (generated): Add .symlist files.
a65ef2ae 18566
54b71e02
JM
185672012-05-03 Joseph Myers <joseph@codesourcery.com>
18568
18569 [BZ #13775]
18570 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18571 Redirect under this condition.
18572 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18573 [__USE_GNU] (__dprintf_chk): Not under this condition.
18574 [__USE_GNU] (__vdprintf_chk): Likewise.
18575 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18576 under this condition.
18577 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18578 [__USE_XOPEN2K8] (dprintf): Define under this condition.
18579 [__USE_XOPEN2K8] (vdprintf): Likewise.
18580 [__USE_GNU] (__dprintf_chk): Not under this condition.
18581 [__USE_GNU] (__vdprintf_chk): Likewise.
18582 [__USE_GNU] (dprintf): Likewise.
18583 [__USE_GNU] (vdprintf): Likewise.
18584
d3dfcc41
RM
185852012-05-03 Roland McGrath <roland@hack.frob.com>
18586
18587 * elf/Makefile (common-generated): Set this instead of generated for
18588 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
18589 $(all-built-dso)-derived lists.
18590
7ac30cc5
AJ
185912012-05-03 Andreas Jaeger <aj@suse.de>
18592
0c51e550
AJ
18593 * sysdeps/i386/fpu/libm-test-ulps: Update.
18594
7ac30cc5
AJ
18595 * FAQ: Removed.
18596 * FAQ.in: Likewise.
18597 * scripts/gen-FAQ.pl: Likewise.
18598 * manual/install.texi (Installation): Point to online location of
18599 FAQ.
18600 * Makefile (files-for-dist): Remove FAQ.
18601 (FAQ): Remove.
18602
d4c2917f
AM
186032012-05-02 Allan McRae <allan@archlinux.org>
18604
18605 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18606 (LDFLAGS-reldepmod5.so): Likewise.
18607 (LDFLAGS-reldep6mod1.so): Likewise.
18608 (LDFLAGS-reldep6mod4.so): Likewise.
18609 (LDFLAGS-reldep8mod3.so): Likewise.
18610 (LDFLAGS-unload4mod1.so): Likewise.
18611 (LDFLAGS-unload4mod2.so): Likewise.
18612 (LDFLAGS-tst-initorder): Likewise.
18613 (LDFLAGS-tst-initordera2.so): Likewise.
18614 (LDFLAGS-tst-initordera3.so): Likewise.
18615 (LDFLAGS-tst-initordera4.so): Likewise.
18616 (LDFLAGS-tst-initorderb2.so): Likewise.
18617 (LDFLAGS-noload): Likewise.
18618 (LDFLAGS-next): Likewise.
18619 (LDFLAGS-order2mod1.so): Likewise.
18620 (LDFLAGS-order2mod2.so): Likewise.
18621 (LDFLAGS-tst-initorder2): Likewise.
18622 (LDFLAGS-tst-initorder2a.so): Likewise.
18623 (LDFLAGS-tst-initorder2b.so): Likewise.
18624 (LDFLAGS-tst-initorder2c.so): Likewise.
18625 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18626
d77f993f
DM
186272012-05-02 David S. Miller <davem@davemloft.net>
18628
18629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18630
171a70b4
PP
186312012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
18632
18633 [BZ #14055]
18634 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18635
0be196ad
AJ
186362012-05-02 Andreas Jaeger <aj@suse.de>
18637
18638 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18639 since we manipulate rounding mode.
18640 (CPPFLAGS-test-idouble.c): Likewise.
18641 (CPPFLAGS-test-ifloat.c): Likewise.
18642 (CFLAGS-test-ldouble.c): Likewise.
18643 (CFLAGS-test-double.c): Likewise.
18644 (CFLAGS-test-float.c): Likewise.
18645 (CFLAGS-test-misc.c): Likewise.
18646 (CFLAGS-test-test-fenv.c): Likewise.
18647
4f9d04aa
AZ
186482012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18649
2b942cb7
RM
18650 [BZ #2550]
18651 [BZ #2570]
18652 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18653 comparisons to determine direction to adjust input.
4f9d04aa 18654
82a79e7d
RM
186552012-05-01 Roland McGrath <roland@hack.frob.com>
18656
f5a01ca9
RM
18657 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18658 output to the target.
18659
90fe4186
RM
18660 * scripts/localplt.awk: New file.
18661 * elf/Makefile ($(objpfx)check-localplt): Target removed.
18662 (check-localplt-CFLAGS): Variable removed.
18663 ($(all-built-dso:=.jmprel)): New static pattern rule.
18664 (generated): Add those targets.
18665 (localplt-built-dso): New variable.
18666 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18667
18668 * elf/check-localplt.c: File removed.
18669
82397ed6
RM
18670 * scripts/check-execstack.awk: New file.
18671 * elf/Makefile ($(objpfx)check-execstack): Target removed.
18672 (check-execstack-CFLAGS): Variable removed.
18673 ($(objpfx)check-execstack.h): Target removed.
18674 ($(objpfx)execstack-default): New target.
18675 (generated): Add that instead of check-execstack.h.
18676 ($(all-built-dso:=.phdr)): New static pattern rule.
18677 (generated): Add those targets.
18678 * elf/check-execstack.c: File removed.
18679
82a79e7d
RM
18680 * scripts/check-textrel.awk: New file.
18681 * elf/Makefile ($(objpfx)check-textrel): Target removed.
18682 (check-textrel-CFLAGS): Variable removed.
18683 (all-built-dso): Use := to define.o
18684 ($(all-built-dso:=.dyn)): New static pattern rule.
18685 (generated): Add those targets.
18686 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18687 * config.make.in (READELF): New substituted variable.
18688 * elf/check-textrel.c: File removed.
18689
62fde54f 186902012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 18691
615605c9
JM
18692 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18693 allow.
18694 * conform/data/ctype.h-data [C99-based standards] (isblank):
18695 Expect function.
18696 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18697 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18698 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18699 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18700 Specify type. Require positive value.
18701 (EILSEQ): Likewise.
18702 (ERANGE): Likewise.
18703 [ISO || POSIX] (EILSEQ): Do not expect.
18704 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18705 Specify type. Require positive value.
18706 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18707 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18708 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18709 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18710 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18711 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18712 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18713 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18714 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18715 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18716 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18717 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18718 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18719 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18720 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18721 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18722 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18723 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18724 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18725 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18726 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18727 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18728 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18729 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18730 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18731 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18732 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18733 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18734 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18735 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18736 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18737 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18738 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18739 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18740 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18741 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18742 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18743 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18744 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18745 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
18746 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
18747 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
18748 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
18749 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
18750 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
18751 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
18752 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
18753 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
18754 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
18755 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
18756 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
18757 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
18758 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
18759 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
18760 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
18761 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
18762 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
18763 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
18764 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
18765 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
18766 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
18767 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
18768 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
18769 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
18770 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
18771 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
18772 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
18773 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
18774 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
18775 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
18776 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
18777 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
18778 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
18779 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
18780 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
18781 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
18782 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
18783 Require >= 2.
18784 (FLT_ROUNDS): Expect as macro, not constant.
18785 (FLT_MANT_DIG): Use macro-int-constant.
18786 (DBL_MANT_DIG): Likewise.
18787 (LDBL_MANT_DIG): Likewise.
18788 (FLT_DIG): Likewise.
18789 (DBL_DIG): Likewise.
18790 (LDBL_DIG): Likewise.
18791 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
18792 (DBL_MIN_EXP): Likewise.
18793 (LDBL_MIN_EXP): Likewise.
18794 (FLT_MAX_EXP): Use macro-int-constant.
18795 (DBL_MAX_EXP): Likewise.
18796 (LDBL_MAX_EXP): Likewise.
18797 (FLT_MAX_10_EXP): Likewise.
18798 (DBL_MAX_10_EXP): Likewise.
18799 (LDBL_MAX_10_EXP): Likewise.
18800 (FLT_MAX): Use macro-constant.
18801 (DBL_MAX): Likewise.
18802 (LDBL_MAX): Likewise.
18803 (FLT_EPSILON): Use macro-constant. Give upper bound.
18804 (DBL_EPSILON): Likewise.
18805 (LDBL_EPSILON): Likewise.
18806 (FLT_MIN): Likewise.
18807 (DBL_MIN): Likewise.
18808 (LDBL_MIN): Likewise.
18809 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
18810 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
18811 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
18812 [ISO11] (FLT_HAS_SUBNORM): Likewise.
18813 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
18814 [ISO11] (DBL_DECIMAL_DIG): Likewise.
18815 [ISO11] (FLT_DECIMAL_DIG): Likewise.
18816 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
18817 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
18818 [ISO11] (FLT_TRUE_MIN): Likewise.
18819 [ISO11] (LDBL_TRUE_MIN): Likewise.
18820 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18821 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
18822 (SCHAR_MIN): Use macro-int-constant. Specify type.
18823 (SCHAR_MAX): Likewise.
18824 (UCHAR_MAX): Likewise.
18825 (CHAR_MIN): Likewise.
18826 (CHAR_MAX): Likewise.
18827 (MB_LEN_MAX): Use macro-int-constant.
18828 (SHRT_MIN): Use macro-int-constant. Specify type.
18829 (SHRT_MAX): Likewise.
18830 (USHRT_MAX): Likewise.
18831 (INT_MAX): Likewise.
18832 (INT_MIN): Use macro-int-constant. Specify type. Make upper
18833 bound negative.
18834 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
18835 bound with "U".
18836 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18837 bound with "L".
18838 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
18839 bound negative. Suffix upper bound with "L".
18840 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18841 bound with "UL".
18842 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
18843 Specify type.
18844 [C99-based standards] (LLONG_MAX): Likewise.
18845 [C99-based standards] (ULLONG_MAX): Likewise.
18846 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
18847 == 0.
18848 [ISO11] (max_align_t): Require type.
18849 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18850
c9140a62
JM
18851 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
18852 from $CFLAGS, without defining away __attribute__ calls.
18853 (checknamespace): Use $CFLAGS_namespace.
18854
9af0bf29
JM
18855 * conform/conformtest.pl (@keywords): Only include C99 keywords
18856 for standards based on C99 or C11.
18857
343222a2
JM
18858 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
18859 Disable tests.
18860 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
18861 UNIX98]: Likewise.
18862
661f8cf0
JM
18863 * conform/conformtest.pl: Handle "macro-int-constant" and test for
18864 usability of symbols in #if.
18865
ee74b9cb
JM
18866 * conform/conformtest.pl: If macro or constant types start
18867 "promoted:", expect the symbol to be of the following type
18868 promoted by the integer promotions.
62fde54f 18869
aafc49b3
JM
18870 * conform/conformtest.pl: Parse all "constant" and "macro" lines
18871 in one place. Also handle "macro-constant".
18872
fefdf574
JM
18873 * conform/conformtest.pl: Only accept expected macro values with
18874 "==". Parse all "macro" lines in one place.
18875 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
18876
f2d922fe
JM
18877 * conform/conformtest.pl: Handle braced types on "constant" lines
18878 instead of handling "typed-constant".
18879 * conform/data/signal.h-data: Use "constant" instead of
18880 "typed-constant".
18881
d22956c9
JM
18882 * conform/conformtest.pl: Handle "optional-" at start of lines in
18883 one place rather than duplicating several cases. Handle each
18884 format of "macro" line with initial "optional-".
18885
028e2e38
JM
18886 * conform/conformtest.pl: Only accept expected constant or
18887 optional-constant values with "==". Parse all "constant" lines in
18888 one place. Parse all "optional-constant" lines in one place.
18889 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
18890 * conform/data/fmtmsg.h-data: Likewise.
18891 * conform/data/netinet/in.h-data: Likewise.
18892 * conform/data/tar.h-data: Likewise.
18893 * conform/data/limits.h-data: Use "==" form on "constant" and
18894 "optional-constant" lines.
18895
1b8f2850
JM
18896 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
18897 Use -std=c99 for XOPEN2K.
18898 (@knownproblems): Remove.
18899 (newtoken): Don't check %isknown.
18900
a05a144b
JM
18901 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
18902 Do not expect macro.
18903 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
18904 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
18905 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
18906 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
18907 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
18908 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
18909 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
18910 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
18911 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
18912 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
18913 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
18914 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
18915 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
18916 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
18917 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
18918 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
18919 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
18920 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
18921 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
18922 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
18923 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
18924 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
18925 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
18926 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
18927 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
18928 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
18929 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
18930 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
18931 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
18932 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
18933 [XPG3] (acosh): Likewise.
18934 [XPG3] (asinh): Likewise.
18935 [XPG3] (atanh): Likewise.
18936 [XPG3] (cbrt): Likewise.
18937 [XPG3] (expm1): Likewise.
18938 [XPG3] (ilogb): Likewise.
18939 [XPG3] (log1p): Likewise.
18940 [XPG3] (logb): Likewise.
18941 [XPG3] (nextafter): Likewise.
18942 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
18943 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
18944 [XPG3] (remainder): Likewise.
18945 [XPG3] (rint): Likewise.
18946 [XPG3 || XPG4 || UNIX98] (round): Likewise.
18947 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
18948 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
18949 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
18950 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
18951 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
18952 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
18953 [UNIX98 || XOPEN2K] (scalb): Expect.
18954 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
18955 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
18956 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
18957 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
18958 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
18959 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
18960 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
18961 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
18962 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
18963 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
18964 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
18965 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
18966 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
18967 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
18968 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
18969 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
18970 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
18971 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
18972 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
18973 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
18974 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
18975 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
18976 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
18977 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
18978 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
18979 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
18980 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
18981 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
18982 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
18983 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
18984 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
18985 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
18986 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
18987 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
18988 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
18989 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
18990 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
18991 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
18992 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
18993 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
18994 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
18995 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
18996 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
18997 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
18998 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
18999 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19000 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19001 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19002 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19003 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19004 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19005 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19006 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19007 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19008 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19009 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19010 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19011 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19012 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19013 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19014 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19015 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19016 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19017 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19018 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19019 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19020 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19021 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19022 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19023 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19024 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19025 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19026 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19027 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19028 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19029 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19030 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19031 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19032 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19033 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19034 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19035 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19036 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19037 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19038 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19039 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19040 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19041 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19042 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19043 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19044 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19045 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19046 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19047 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19048 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19049 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19050 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19051 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19052 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19053 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19054 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19055 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19056 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19057 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19058 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19059 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19060 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19061 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19062 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19063 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19064 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19065 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19066 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19067 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19068 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19069 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19070 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19071 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19072 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19073 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19074 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19075 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19076 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19077 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19078 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19079 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19080 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19081 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19082 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19083 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19084 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19085 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19086 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19087 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19088 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19089 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19090 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19091
73c5ebe3
JM
19092 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19093 _XOPEN_SOURCE_EXTENDED for XPG4.
19094
39c33b6c
JM
19095 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19096
62fde54f
JM
19097 * Makeconfig (localtime): Remove variable.
19098 (inst_localtime-file): Likewise.
19099
0741d64c
AS
191002012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19101
19102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19103 Update.
19104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19105 Update.
19106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19107 Update.
19108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19109 Update.
19110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19111 Update.
19112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19113 Update.
19114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19115 Update.
19116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19117 Update.
19118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19119 Update.
19120
7cb029ee
JM
191212012-05-01 Joseph Myers <joseph@codesourcery.com>
19122
19123 [BZ #2550]
19124 [BZ #2570]
19125 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19126 comparisons to determine direction to adjust input.
19127 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19128 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19129 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19130 Likewise.
19131 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19132 Likewise.
19133 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19134 Likewise.
19135 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19136 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19137 Likewise.
19138 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19139 Likewise.
19140 * math/libm-test.inc (nexttoward_test): Add more tests.
19141
412bd966
AS
191422012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19143
19144 [BZ #14040]
19145 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19146 in version GLIBC_2.1, not GLIBC_2.0.
19147 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19148 Likewise.
19149
9568c0c2
JM
191502012-04-30 Joseph Myers <joseph@codesourcery.com>
19151
adfbc8ac
JM
19152 [BZ #13942]
19153 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19154 (1 - x) * (1 + x).
19155 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19156 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19157 * math/libm-test.inc (acos_test): Add more tests.
19158 (asin_test): Likewise.
19159 * sysdeps/i386/fpu/libm-test-ulps: Update.
19160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19161
5ba3cc69
JM
19162 [BZ #14034]
19163 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19164 of square root.
19165 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19166 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19167 * math/libm-test.inc (acos_test_tonearest): New function.
19168 (acos_test_towardzero): Likewise.
19169 (acos_test_downward): Likewise.
19170 (acos_test_upward): Likewise.
19171 (asin_test_tonearest): Likewise.
19172 (asin_test_towardzero): Likewise.
19173 (asin_test_downward): Likewise.
19174 (asin_test_upward): Likewise.
19175 (main): Call the new functions.
19176 * sysdeps/i386/fpu/libm-test-ulps: Update.
19177 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19178
9568c0c2
JM
19179 [BZ #13884]
19180 [BZ #13924]
19181 * math/e_exp10.c: Include <float.h>.
19182 (__ieee754_exp10): Handle underflow here rather than multiplying
19183 large negative argument by M_LN10.
19184 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19185 of __ieee754_expf.
19186 * math/e_exp10l.c: Include <float.h>.
19187 (__ieee754_exp10l): Handle underflow here rather than multiplying
19188 large negative argument by M_LN10l.
19189 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19190 spurious overflow exception on underflow.
19191
5ac3ea17
MP
191922012-04-29 Marek Polacek <polacek@redhat.com>
19193
19194 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19195 (__fortify_function): New macro.
19196 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19197 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19198 __extern_always_inline.
19199 * libio/bits/stdio2.h: Likewise.
19200 * libio/bits/stdio.h: Likewise.
19201 * string/string.h: Likewise.
19202 * string/bits/string3.h: Likewise.
19203 * include/stdio.h: Likewise.
19204 * stdlib/bits/stdlib.h: Likewise.
19205 * stdlib/stdlib.h: Likewise.
19206 * rt/bits/mqueue2.h: Likewise.
19207 * rt/mqueue.h: Likewise.
19208 * posix/bits/unistd.h: Likewise.
19209 * posix/unistd.h: Likewise.
19210 * io/bits/poll2.h: Likewise.
19211 * io/bits/fcntl2.h: Likewise.
19212 * io/fcntl.h: Likewise.
19213 * io/sys/poll.h: Likewise.
19214 * misc/bits/syslog.h: Likewise.
19215 * misc/bits/syslog-ldbl.h: Likewise.
19216 * misc/sys/syslog.h: Likewise.
19217 * socket/bits/socket2.h: Likewise.
19218 * socket/sys/socket.h: Likewise.
19219 * debug/tst-chk1.c: Likewise.
19220 * wcsmbs/bits/wchar2.h: Likewise.
19221 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19222 * wcsmbs/wchar.h: Likewise.
19223
ecf0ebfb
AJ
192242012-04-29 Andreas Jaeger <aj@suse.de>
19225
19226 * Makerules (tests): Remove enable-check-abi protection.
19227 (check-abi-warn): Remove.
19228 (check-abi-%): Remove check-abi-warn usage.
19229
19230 * configure.in: Remove check-abi configure option.
19231 * configure: Regenerated.
19232 * config.make.in (enable-check-abi): Remove.
19233
6d5c57fa
AS
192342012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19235
24c5d07e 19236 [BZ #14033]
ded5180a
AS
19237 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19238 double functions to double *_finite functions.
19239
7e0d315d
AS
19240 [BZ #13941]
19241 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19242 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19243 LDBL_MIN_EXP.
19244 * stdio-common/Makefile (tests): Add tst-sprintf3.
19245 * stdio-common/tst-sprintf3.c: New file.
19246
6d5c57fa
AS
19247 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19248 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19249
0749ff8b
JM
192502012-04-28 Joseph Myers <joseph@codesourcery.com>
19251
19252 * conform/conformtest.pl: Remove duplicate typed-constant
19253 handling.
19254
8dbd5d7b
DM
192552012-04-28 David S. Miller <davem@davemloft.net>
19256
19257 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19258 (check-abi-%): Remove AWK script prerequisite and explicit
19259 abilist directory.
19260 (check-abi): Rewrite to just diff the symlist with the abilist.
19261 (config-tls, config-abi-config): Delete, no longer used.
19262 (update-abi-%): Remove AWK script and explicit abilist directory.
19263 (update-abi): Rewrite to simply compare and conditionally copy the
19264 symlist and the sysdep abilist file. Remove update-abi-config
19265 checks.
19266 * abilist/ld.abilist: Remove.
19267 * abilist/libBrokenLocale.abilist: Remove.
19268 * abilist/libanl.abilist: Remove.
19269 * abilist/libcrypt.abilist: Remove.
19270 * abilist/libdl.abilist: Remove.
19271 * abilist/librt.abilist: Remove.
19272 * abilist/libthread_db.abilist: Remove.
19273 * abilist/libutil.abilist: Remove.
19274 * scripts/extract-abilist.awk: Remove.
19275 * scripts/merge-abilist.awk: Remove.
19276 * sysdeps/generic/libcidn.abilist: New file.
19277 * sysdeps/generic/libnss_compat.abilist: New file.
19278 * sysdeps/generic/libnss_db.abilist: New file.
19279 * sysdeps/generic/libnss_dns.abilist: New file.
19280 * sysdeps/generic/libnss_files.abilist: New file.
19281 * sysdeps/generic/libnss_hesiod.abilist: New file.
19282 * sysdeps/generic/libnss_nis.abilist: New file.
19283 * sysdeps/generic/libnss_nisplus.abilist: New file.
19284 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19285 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19286 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19287 file.
19288 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19289 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19290 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19291 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19292 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19293 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19294 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19295 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19296 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19297 file.
19298 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19299 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19300 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19301 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19302 file.
19303 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19304 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19305 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19306 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19307 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19308 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19309 file.
19310 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19311 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19312 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19313 file.
19314 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19315 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19316 New file.
19317 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19318 New file.
19319 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19320 New file.
19321 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19322 New file.
19323 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19324 New file.
19325 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19326 New file.
19327 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19328 New file.
19329 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19330 New file.
19331 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19332 New file.
19333 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19334 New file.
19335 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19336 New file.
19337 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19338 New file.
19339 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19340 New file.
19341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19342 file.
19343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19344 New file.
19345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19346 New file.
19347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19348 file.
19349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19350 New file.
19351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19352 New file.
19353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19354 file.
19355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19356 New file.
19357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19358 New file.
19359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19360 New file.
19361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19362 New file.
19363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19364 New file.
19365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19366 New file.
19367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19369 file.
19370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19371 New file.
19372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19373 file.
19374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19375 file.
19376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19377 file.
19378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19379 file.
19380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19381 file.
19382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19383 New file.
19384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19385 file.
19386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19387 file.
19388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19389 New file.
19390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19391 file.
19392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19394 file.
19395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19396 New file.
19397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19398 file.
19399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19400 file.
19401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19402 file.
19403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19404 file.
19405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19406 file.
19407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19408 New file.
19409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19410 file.
19411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19412 file.
19413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19414 New file.
19415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19416 file.
19417 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19418 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19419 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19420 file.
19421 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19422 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19423 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19424 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19425 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19426 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19427 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19428 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19429 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19430 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19433 file.
19434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19435 New file.
19436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19437 file.
19438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19439 file.
19440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19441 file.
19442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19443 file.
19444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19445 file.
19446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19447 New file.
19448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19449 New file.
19450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19451 file.
19452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19453 New file.
19454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19455 file.
19456 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19458 file.
19459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19460 New file.
19461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19462 file.
19463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19464 file.
19465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19466 file.
19467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19468 file.
19469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19470 file.
19471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19472 New file.
19473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19474 New file.
19475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19476 file.
19477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19478 New file.
19479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19480 file.
19481
41d73a1b
JM
194822012-04-28 Joseph Myers <joseph@codesourcery.com>
19483
19484 * conform/conformtest.pl: Fix typo in handling typed-constant from
19485 allow-header.
19486
28aeeda4
JM
194872012-04-27 Joseph Myers <joseph@codesourcery.com>
19488
adae8f5e
JM
19489 * README: Cut down references to pre-2.6 Linux kernels and
19490 Linuxthreads. Update lists of configurations in libc and ports
19491 and sort alphabetically. Say "or newer" with Linux kernel version
19492 requirements.
19493
28aeeda4
JM
19494 * config.h.in [IS_IN_build]: Allow compiling without optimization.
19495
a462cb63
RA
194962012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19497
19498 [BZ #887]
19499 * math/libm-test.inc (logb_test_downward): New test to expose
19500 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19501 rounding mode.
19502
6ad3493e
JM
195032012-04-27 Joseph Myers <joseph@codesourcery.com>
19504
19505 [BZ #14027]
19506 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19507 to be done.
19508 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19509 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19510
2ce4f015
JM
195112012-04-26 Joseph Myers <joseph@codesourcery.com>
19512
5aeb141a
JM
19513 * sysdeps/unix/i386/brk.S: Remove file.
19514 * sysdeps/unix/i386/dl-brk.S: Likewise.
19515 * sysdeps/unix/i386/pipe.S: Likewise.
19516 * sysdeps/unix/i386/sigreturn.S: Likewise.
19517 * sysdeps/unix/i386/syscall.S: Likewise.
19518 * sysdeps/unix/i386/vfork.S: Likewise.
19519 * sysdeps/unix/i386/wait.S: Likewise.
19520
7143acae
JM
19521 * sysdeps/unix/common/tcsendbrk.c: Move to ...
19522 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19523
2ce4f015
JM
19524 * configure.in (arm*-none*): Do not allow without
19525 --enable-hacker-mode.
19526 (netbsd*): Remove case setting base_os.
19527 (386bsd*): Likewise.
19528 (freebsd*): Likewise.
19529 (bsdi*): Likewise.
19530 (osf*): Likewise.
19531 (sunos*): Likewise.
19532 (ultrix*): Likewise.
19533 (newsos*): Likewise.
19534 (dynix*): Likewise.
19535 (*bsd*): Likewise.
19536 (sysv*): Likewise.
19537 (isc*): Likewise.
19538 (esix*): Likewise.
19539 (sco*): Likewise.
19540 (minix*): Likewise.
19541 (irix4*): Likewise.
19542 (irix6*): Likewise.
19543 (solaris[2-9]*): Likewise.
19544 (none): Likewise.
19545 * configure: Regenerated.
19546
0ac229c8
AZ
195472012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19548
19549 [BZ #11521]
19550 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19551 overflow or cancellation in calculating denominator.
19552 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19553 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19554 down expression to avoid unexpected rounding in newer GCCs.
19555 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19556
33f244f4
DM
195572012-04-26 David S. Miller <davem@davemloft.net>
19558
19559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19560 long-double compat symbols.
19561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19574
cfa1f3e8
DM
195752012-04-25 David S. Miller <davem@davemloft.net>
19576
19577 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19578 HWCAP_* values only after the memory barriers have been defined.
19579 (atomic_full_barrier): Define.
19580 (atomic_read_barrier): Define.
19581 (atomic_write_barrier): Define.
19582
6e236b92
SP
195832012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19584
19585 * shlib-versions: Add libgcc_s version information.
19586 * sysdeps/generic/libgcc_s.h: Remove.
19587 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19588 libgcc_s.h.
19589 * sysdeps/gnu/unwind-resume.c: Likewise.
19590 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19591
aab39a09
DM
195922012-04-25 David S. Miller <davem@davemloft.net>
19593
19594 * sysdeps/unix/sparc/brk.S: Delete.
19595 * sysdeps/unix/sparc/dl-brk.S: Delete.
19596 * sysdeps/unix/sparc/pipe.S: Delete.
19597 * sysdeps/unix/sparc/sysdep.S: Delete.
19598 * sysdeps/unix/sparc/sysdep.h: Delete.
19599 * sysdeps/unix/sparc/vfork.S: Delete.
19600 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19601 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19602 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19603 ret_ERRVAL, r0, r1, MOVE): Define.
19604 (JUMPTARGET): Remove.
19605 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19606 sysdeps/unix/sparc/sysdep.h
19607 (ENTRY, END): Remove.
19608 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19609
a3cc4f48
JM
196102012-04-25 Joseph Myers <joseph@codesourcery.com>
19611
2ed8cda2
JM
19612 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19613 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19614 -DIS_IN_build.
19615
35d76d59
JM
19616 * timezone/README: Update upstream location and email address for
19617 tzcode and tzdata.
19618 * timezone/zdump.c: Update from tzcode 2012b.
19619 * timezone/zic.c: Likewise.
19620
a3cc4f48
JM
19621 * configure.in (libc_cv_as_needed): Remove test.
19622 * configure: Regenerated.
19623 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19624 conditional definition.
19625 [$(have-as-needed) != yes] (no-as-needed): Likewise.
19626 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19627 * config.make.in (have-as-needed): Remove variable.
19628
ceab42c3
SP
196292012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19630 Paul Pluzhnikov <ppluzhnikov@google.com>
19631
19632 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19633 strings correctly.
19634
3ce2865f
CLT
196352012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
19636
19637 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19638 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19639 * sysdeps/sh/strlen.S: Likewise.
19640
f37e0d68
JM
196412012-04-24 Joseph Myers <joseph@codesourcery.com>
19642
ae186e9a
JM
19643 * sysdeps/unix/fork.S: Remove file.
19644 * sysdeps/unix/i386/fork.S: Likewise.
19645 * sysdeps/unix/sparc/fork.S: Likewise.
19646
b96914af
JM
19647 * sysdeps/unix/system.c: Remove file.
19648 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19649
f37e0d68
JM
19650 * sysdeps/unix/getegid.S: Remove file.
19651 * sysdeps/unix/geteuid.S: Likewise.
19652
87ef29ca
RM
196532012-04-24 Roland McGrath <roland@hack.frob.com>
19654
83bcd236
RM
19655 * scripts/check-localplt.awk: New file.
19656 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19657 of diff.
19658 * scripts/data/localplt-generic.data: Add a comment.
19659
87ef29ca
RM
19660 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19661 NODE when __dir_mkfile failed.
19662 * sysdeps/mach/hurd/symlinkat.c: Likewise.
19663 Reported by Ludovic Courtès <ludo@gnu.org>.
19664
e5a6e567
AJ
196652012-04-24 Andreas Jaeger <aj@suse.de>
19666
19667 * Makerules (common-clean): Also remove gen-as-const-headers
19668 files.
19669
c1820385
JM
196702012-04-24 Joseph Myers <joseph@codesourcery.com>
19671
19672 * Makerules (native-compile): Do not change working directory for
19673 build. Use $(OUTPUT_OPTION) in command.
19674 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19675
94e02fc4
AZ
196762012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19677
19678 [BZ #13886]
19679 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19680 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19681 * math/libm-test.inc (floor_test): Add more tests.
19682 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19683
3a533ca3
JM
196842012-04-24 Joseph Myers <joseph@codesourcery.com>
19685
940ab4b3
JM
19686 * sysdeps/unix/getdents.c: Remove file.
19687 * sysdeps/unix/sysv/getdents.c: Likewise.
19688 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19689
90e037bd
JM
19690 * sysdeps/unix/syscalls.list (madvise): Add syscall from
19691 sysdeps/unix/mman/syscalls.list.
19692 (mmap): Likewise.
19693 (mprotect): Likewise.
19694 (msync): Likewise.
19695 (munmap): Likewise.
19696 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19697 * sysdeps/unix/mman/syscalls.list: Remove.
19698 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19699
3a533ca3
JM
19700 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19701 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19702 * configure: Regenerated.
19703 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19704 $(libgcc_s_suffix).
19705 * config.make.in (libgcc_s_suffix): Remove variable.
19706
1ad743de
JM
197072012-04-23 Joseph Myers <joseph@codesourcery.com>
19708
4ad451e2
JM
19709 * sysdeps/unix/sysv/gethostname.c: Move to ...
19710 * sysdeps/posix/gethostname.c: ... here.
19711
5e37ce39
JM
19712 * sysdeps/unix/execve.S: Remove file.
19713
1ad743de
JM
19714 * sysdeps/unix/_exit.S: Remove file.
19715
4e681b5b
AJ
197162012-04-23 Andreas Jaeger <aj@suse.de>
19717
19718 [BZ #13739]
19719 * manual/Makefile: Remove make dist support, there's no
19720 need for a stand-alone documentation tar ball.
19721 (TEXI2DVI): Define always, it's not in Makeconfig.
19722 (dist): Removed.
19723 (tar-it): Removed.
19724 (edition): Removed.
19725 (glibc-doc-$(edition).tar): Removed
19726 (%.Z): Removed.
19727 (%.gz): Removed.
19728 (%.uu): Removed.
19729 (ETAGS): Remove, it's in Makeconfig.
19730 (move-if-change): Remove, it's in Makeconfig.
19731
38686a03 197322012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
19733
19734 [BZ #13970]
19735 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19736 (strtod, strtof, strtold, strtol, strtoul, strtoq)
19737 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19738 (strtod_l, strtof_l, strtold_l): Remove __wur.
19739 It is not necessarily an error to ignore strtol's return value.
19740 One can reliably look at the stored endptr to decide whether
19741 the number had valid syntax.
19742
7c0616fa
AJ
197432012-04-21 Andreas Jaeger <aj@suse.de>
19744
803cb6b7 19745 [BZ #13739]
7c0616fa
AJ
19746 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
19747
b0fe253f
JM
197482012-04-21 Joseph Myers <joseph@codesourcery.com>
19749
19750 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
19751 * sysdeps/unix/sysv/Versions: Remove file.
19752
8280f22d
MT
197532012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
19754
19755 [BZ #13927]
19756 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19757
75ce411f 197582012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
19759
19760 [BZ #7064]
19761 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
19762 version from __vm86.
19763
097d59fa
JM
197642012-04-20 Joseph Myers <joseph@codesourcery.com>
19765
a90f3bcb
JM
19766 * sysdeps/unix/common/lxstat.c: Remove file.
19767 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
19768
edc7ea78
JM
19769 * sysdeps/unix/sysv/Makefile: Remove file.
19770
cb78c221
JM
19771 * sysdeps/unix/sysv/direct.h: Remove file.
19772
efa6a45f
JM
19773 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
19774 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
19775 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
19776 * sysdeps/unix/sysv/bits/signum.h: Likewise.
19777 * sysdeps/unix/sysv/bits/stat.h: Likewise.
19778 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
19779 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
19780
9c9f2d0c
JM
19781 * sysdeps/unix/sysv/setrlimit.c: Remove file.
19782
4541c83b
JM
19783 * sysdeps/unix/xmknod.c: Remove file.
19784 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
19785
f5d153a0
JM
19786 * sysdeps/unix/sysv/settimeofday.c: Remove file.
19787
aa746595
JM
19788 * sysdeps/unix/sysv/i386/time.S: Remove file.
19789
cce5905e
JM
19790 * sysdeps/unix/fxstat.c: Remove file.
19791 * sysdeps/unix/xstat.c: Likewise.
19792 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
19793
37fa3841
JM
19794 * sysdeps/unix/sysv/sigaction.c: Remove file.
19795
ff1962a3
JM
19796 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
19797 (sysdep_headers): Remove variable.
19798 [termio.h not in sysdep_headers] (generated): Likewise.
19799 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
19800 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
19801 * sysdeps/unix/sysv/tcdrain.c: Likewise.
19802 * sysdeps/unix/sysv/tcflow.c: Likewise.
19803 * sysdeps/unix/sysv/tcflush.c: Likewise.
19804 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
19805 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
19806 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
19807 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
19808 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
19809
e7740d31
JM
19810 * sysdeps/unix/siglist.c: Remove file.
19811
ee06f18b
JM
19812 * sysdeps/unix/getppid.S: Remove file.
19813
097d59fa
JM
19814 * sysdeps/unix/mkdir.c: Remove file.
19815 * sysdeps/unix/rmdir.c: Likewise.
19816
ff3d51ec
AS
198172012-04-19 Andreas Schwab <schwab@linux-m68k.org>
19818
19819 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
19820 ERR_MAX value.
19821 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
19822 errlist-compat value.
19823
50f81fd7
DM
198242012-04-18 David S. Miller <davem@davemloft.net>
19825
19826 * sysdeps/generic/memcopy.h (reg_char): Delete.
19827 * debug/strcat_chk.c: Use char, not reg_char.
19828 * debug/strcpy_chk.c: Likewise.
19829 * debug/strncat_chk.c: Likewise.
19830 * debug/strncpy_chk.c: Likewise.
19831 * string/memchr.c: Likewise.
19832 * string/memrchr.c: Likewise.
19833 * string/rawmemchr.c: Likewise.
19834 * string/strcat.c: Likewise.
19835 * string/strchr.c: Likewise.
19836 * string/strchrnul.c: Likewise.
19837 * string/strcmp.c: Likewise.
19838 * string/strcpy.c: Likewise.
19839 * string/strncat.c: Likewise.
19840 * string/strncmp.c: Likewise.
19841 * string/strncpy.c: Likewise.
19842
8ff41c46
WS
198432012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19844
19845 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
19846 __builtin_memcopy is called when src and dest ranges are known to not
19847 overlap.
19848
6b652f46
WS
198492012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19850
19851 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
19852 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
19853 fwd_align_merge macro call.
19854 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
19855 bwd_align_merge macro call.
19856 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19857
b282631e
WS
198582012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19859
19860 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
19861 bwd_align_merge macros.
19862 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
19863 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
19864 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19865
95aa737c
DM
198662012-04-18 David S. Miller <davem@davemloft.net>
19867
19868 * sysdeps/sparc/sparc64/memcopy.h: Delete.
19869
7a99a614
AJ
198702012-04-18 Andreas Jaeger <aj@suse.de>
19871
19872 [BZ# 6794]
19873 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
19874 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
19875 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19876
19877 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
19878 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
19879 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19880
19881 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
19882 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
19883 Adjust for changed ldbl-128 files.
19884
19885 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
19886 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
19887 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19888
e5270c23
DM
198892012-04-17 David S. Miller <davem@davemloft.net>
19890
19891 * sysdeps/sparc/sparc32/memcopy.h: Delete.
19892
fb5e92c9
AS
198932012-04-17 Andreas Schwab <schwab@linux-m68k.org>
19894
19895 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
19896 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
19897 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
19898 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
19899 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19900 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
19901
76da7265
AZ
199022012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19903
19904 [BZ #6794]
19905 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
19906 * math/libm-test.inc: Add ilogb errno and exception tests.
19907 * math/w_ilogb.c: New file: ilogb wrapper.
19908 * math/w_ilogbf.c: New file: ilogbf wrapper.
19909 * math/w_ilogbl.c: New file: ilogbl wrapper.
19910 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
19911 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
19912 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
19913 exception being thrown with 0.0 as argument.
19914 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
19915 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
19916 exception being thrown with 0.0 as argument.
19917 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
19918 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19919 exception being thrown with 0.0 as argument.
19920 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
19921 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19922 exception being thrown with 0.0 as argument.
19923 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
19924 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 19925 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
19926 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
19927 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
19928 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
19929 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
19930 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
19931 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
19932
0396e69d
PB
199332012-04-17 Petr Baudis <pasky@ucw.cz>
19934
19935 * include/sys/uio.h: Change __vector to __iovec to avoid clash
19936 with altivec.
19937
750b5926
MP
199382012-04-16 Marek Polacek <polacek@redhat.com>
19939
19940 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
19941
751728a1
MP
199422012-04-16 Marek Polacek <polacek@redhat.com>
19943
19944 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
19945 operands of fdivp instruction.
19946
34a27407
L
199472012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19948
19949 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
19950 * elf/tst-auditmod3b.c: Likewise.
19951 * elf/tst-auditmod4b.c: Likewise.
19952 * elf/tst-auditmod5b.c: Likewise.
19953 * elf/tst-auditmod6b.c: Likewise.
19954 * elf/tst-auditmod6c.c: Likewise.
19955 * elf/tst-auditmod7b.c: Likewise.
19956 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
19957 * sysdeps/x86_64/preconfigure.in: Likewise.
19958 * sysdeps/x86_64/preconfigure: Regenerated.
19959
7e73e17d
L
199602012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19961
19962 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
19963 __ILP32__.
19964
c7a6ab72
AB
199652012-04-13 Antoine Balestrat <merkil33@gmail.com>
19966
19967 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19968 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
19969
a9e8e0e0
CL
199702012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
19971
19972 [BZ #13973]
19973 * locale/iso-639.def: Fix gl language name. Spotted by
19974 Yaron Shahrabani.
19975
ec98af7d
RM
199762012-04-12 Roland McGrath <roland@hack.frob.com>
19977
19978 [BZ #2074]
19979 * libio/libio.h (__io_write_fn): Update comment.
19980
247c3ede
PB
199812012-04-12 Petr Baudis <pasky@ucw.cz>
19982
19983 [BZ #2074]
19984 * stdio.texi (Hook Functions): The user provided writer function
19985 is not allowed to return -1.
19986
55939d6d
DM
199872012-04-11 David S. Miller <davem@davemloft.net>
19988
19989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19990
90020f5a
MF
199912012-04-11 Mike Frysinger <vapier@gentoo.org>
19992
19993 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
19994 Add a leading slash to rtkaio.
19995
288f9098
JM
199962012-04-11 Jim Meyering <meyering@redhat.com>
19997
90020f5a
MF
19998 [BZ #11959]
19999 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20000 It is not necessarily an error to ignore fwrite's return
20001 value. One can reliably use ferror to test for errors after
20002 the fact.
288f9098 20003
4be2b570
L
200042012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20005
20006 * bits/types.h (__snseconds_t): New type.
20007 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20008
20009 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20010 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20011 (__SNSECONDS_T_TYPE): Likewise.
20012 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20013 (__SNSECONDS_T_TYPE): Likewise.
20014 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20015 (__SNSECONDS_T_TYPE): Likewise.
20016
288f9098 200172012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20018
20019 [BZ #2636]
20020 * manual/time.texi (Processor Time): Return type of times is
20021 elapsed real time since an arbitrary point in the past.
20022 (CPU Time): Move CLK_TCK from here...
20023 (Processor Time): ...to here. Correct description.
20024 * manual/conf.texi (Constants for Sysconf): Correct description of
20025 _SC_CLK_TCK.
20026
d7dd4413
DM
200272012-04-10 David S. Miller <davem@davemloft.net>
20028
20029 [BZ #13967]
20030 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20031 where the is a gap between DT_REL(A) and DT_JMPREL.
20032
b46068fc
L
200332012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20034
20035 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20036 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20037 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20038
73d65cc3
SP
200392012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20040
20041 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20042 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20043 (dl_main): Handle --inhibit-cache.
20044 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20045 _dl_inhibit_cache.
20046 * elf/dl-load.c (_dl_map_object): Use it.
20047 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20048
bcc8d661
JM
200492012-04-09 Joseph Myers <joseph@codesourcery.com>
20050
8f9a2fae
JM
20051 [BZ #13872]
20052 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20053 (__ieee754_powl): Saturate large exponents rather than testing for
20054 overflow of y*log2(x).
20055 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20056 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20057 exceptions.
20058
bcc8d661
JM
20059 [BZ #11521]
20060 * math/s_ctan.c: Include <float.h>.
20061 (__ctan): Avoid internal overflow or cancellation in calculating
20062 denominator.
20063 * math/s_ctanf.c: Likewise.
20064 * math/s_ctanl.c: Likewise.
20065 * math/s_ctanh.c: Likewise.
20066 * math/s_ctanhf.c: Likewise.
20067 * math/s_ctanhl.c: Likewise.
20068 * math/libm-test.inc (ctan_test): Add more tests.
20069 (ctanh_test): Likewise.
20070 * sysdeps/i386/fpu/libm-test-ulps: Update.
20071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20072
823fbbb4
AJ
200732012-04-09 Andreas Jaeger <aj@suse.de>
20074
03879793
AJ
20075 [BZ #6894]
20076 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20077 is an optional BSD extension.
20078
823fbbb4
AJ
20079 [BZ #10254]
20080 * manual/stdio.texi (Opening Streams): Document additional fopen
20081 parameters.
20082
8de131cb
RM
200832012-04-09 Roland McGrath <roland@hack.frob.com>
20084
20085 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20086 %eax without telling the compiler.
20087
c0ed9d7d
CD
200882012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20089
20090 [BZ # 13963]
20091 * manual/install.texi: Use sourceware.org.
20092
c483f6b4
JM
200932012-04-09 Joseph Myers <joseph@codesourcery.com>
20094
d7dd9453
JM
20095 [BZ #13873]
20096 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20097 (__ieee754_pow): Generate overflow and underflow using huge*huge
20098 and tiny*tiny rather than just returning constant infinity or zero
20099 for large exponents.
20100 * math/libm-test.inc (pow_test): Require overflow exceptions for
20101 applicable cases of large exponents.
20102
c483f6b4
JM
20103 [BZ #706]
20104 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20105 (__ieee754_pow): Use iterative multiplication algorithm only for
20106 integer exponents with absolute value below 1024. Check for odd
20107 integer exponents when using algorithm for real exponents.
20108 * math/libm-test.inc (pow_test): Add more tests.
20109 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20110
d2de7579
JM
201112012-04-08 Joseph Myers <joseph@codesourcery.com>
20112
20113 [BZ #13705]
20114 * math/libm-test.inc (exp_test): Do not allow overflow exception
20115 on underflow test.
20116
f77f1232
AJ
201172012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20118
20119 [BZ #13705]
20120 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20121 instead of __kernel_standard_f.
20122
3884932b
MF
201232012-04-08 Mike Frysinger <vapier@gentoo.org>
20124
20125 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20126 * sysdeps/x86_64/memset_chk.S: Likewise.
20127
54472e9c
AJ
201282012-04-08 Andreas Jaeger <aj@suse.de>
20129
6ab0fbfc
AJ
20130 [BZ #10153]
20131 * manual/startup.texi (Environment Access): Describe return value
20132 for putenv and setenv.
20133
61efba8c
AJ
20134 [BZ #6895]
20135 * manual/filesys.texi (Directory Entries): Add description for
20136 DT_LNK.
20137
95c3f29a
AJ
20138 [BZ #6890]
20139 * manual/filesys.texi (Directory Entries): Clarify that it's file
20140 system not operating system in the description of DT_UNKNOWN.
20141
54472e9c
AJ
20142 [BZ #6578]
20143 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20144
624254b1
SC
201452012-04-08 Stephen Compall <s11@member.fsf.org>
20146
20147 [BZ #6649]
20148 * manual/llio.texi (Opening and Closing Files): Add cross
20149 reference to explain mode argument.
20150
1e4920e0
MF
201512012-04-07 Mike Frysinger <vapier@gentoo.org>
20152
20153 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20154 * sysdeps/x86_64/memset_chk.S: Likewise.
20155
5ed848f3
DM
201562012-04-07 David S. Miller <davem@davemloft.net>
20157
20158 * elf/elf.h (R_SPARC_WDISP10): Define.
20159 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20160 R_SPARC_SIZE32.
20161 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20162 R_SPARC_SIZE64 and R_SPARC_H34.
20163
96154cd8
CD
201642012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20165
20166 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20167 conditions and remove no longer applicable assertion.
20168
9904dc47
L
201692012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20170
20171 * bits/byteswap.h: Include <features.h>.
20172 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20173 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20174
f8887d0a
L
201752012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20176
20177 * bits/byteswap.h (__bswap_16): Removed.
20178 Include <bits/byteswap-16.h> to get __bswap_16.
20179 * sysdeps/i386/bits/byteswap.h: Likewise.
20180 * sysdeps/s390/bits/byteswap.h: Likewise.
20181 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20182 * bits/byteswap-16.h: New file.
20183 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20184 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20185 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20186 * string/Makefile (headers): Add bits/byteswap-16.h.
20187
62470f60
PP
201882012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20189
20190 [BZ #13895]
20191 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20192 extra indirection.
20193 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20194 * nss/tst-nss-static.c: New.
20195
4dad7bab
RM
201962012-04-06 Robert Millan <rmh@gnu.org>
20197
20198 [BZ #6486]
20199 * manual/llio.texi (File Position Primitive): lseek
20200 refers to WHENCE when it really means OFFSET.
20201
e9142a17
AJ
202022012-04-06 Andreas Jaeger <aj@suse.de>
20203
2c040eff
AJ
20204 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20205 strncmp declarations.
20206
e9142a17
AJ
20207 * abilist/libc.abilist: Add __poll and __ppoll.
20208
ff9f1c5f
DM
202092012-04-05 David S. Miller <davem@davemloft.net>
20210
dcd2ae90
DM
20211 * scripts/check-local-headers.sh: Accept a host triplet in the
20212 path matched by the exclude regexp.
20213
993eb054
DM
20214 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20215 definition.
20216 * sysdeps/powerpc/powerpc32/dl-machine.h
20217 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20218 * sysdeps/s390/s390-32/dl-machine.h
20219 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20220 * sysdeps/sparc/sparc32/dl-machine.h
20221 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20222 * sysdeps/sparc/sparc64/dl-machine.h
20223 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20224
ff9f1c5f
DM
20225 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20226 lazy binding.
48e2e132 20227 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20228 undefined symbol errors.
20229
48e2e132 20230 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
20231 DT_NEEDED entries.
20232
e80d6f94
MM
202332012-04-05 Michael Matz <matz@suse.de>
20234
20235 [BZ #13592]
20236 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20237
349fa79f
AJ
202382012-04-05 Andreas Jaeger <aj@suse.de>
20239
20240 [BZ #13908]
20241 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20242 comment.
20243
f402708f
KK
202442012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20245
20246 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20247 which ROUND is no valid rounding mode.
20248
2ecccfc9
KK
202492012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20250
20251 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20252 read again.
20253 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20254
8a53f50f
KK
202552012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20256
20257 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20258 an exception using FPU order intentionally.
20259
202602012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20261
20262 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20263 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20264 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20265 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20266
d653abb7
SJ
202672012-04-05 Simon Josefsson <simon@josefsson.org>
20268
20269 [BZ #12340]
20270 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20271 EINVAL when BUFLEN is too smal.
20272
c3b1bf7d
TS
202732012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20274
20275 [BZ #13553]
20276 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20277 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20278
b1aa60f3
AJ
202792012-04-03 Andreas Jaeger <aj@suse.de>
20280
c3b1bf7d 20281 [BZ #13938]
67f60a26
AJ
20282 * manual/setjmp.texi (System V contexts): Fix sentence.
20283
b1aa60f3
AJ
20284 [BZ #13926]
20285 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20286 New macro for this case.
20287 [!__GNUC__] (__bswap_64): New inline function for this case.
20288 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20289 * bits/byteswap.h: Likewise.
20290 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20291 ull, guard with __GLIBC_HAVE_LONG_LONG.
20292
20293 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20294 __GLIBC_HAVE_LONG_LONG.
20295
20296 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20297 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20298
39c59c35
TMQMF
202992012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20300
20301 [BZ #13691]
20302 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20303 inptr and inend, rather than using last_ch.
20304
135ffda8
DM
203052012-04-02 David S. Miller <davem@davemloft.net>
20306
20307 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20308 * stdio-common/printf-parse.h (read_int): Change return type to
20309 'int', return -1 on INT_MAX overflow.
20310 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20311 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20312 overflows INT_MAX. Check for overflow of in-format-string precision
20313 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20314 SIZE_MAX not INT_MAX for integer overflow test.
20315 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20316 skip the construct in the format string but do not record anything.
20317 * stdio-common/bug22.c: Adjust to test both width/prevision
20318 INT_MAX overflow as well as total length INT_MAX overflow. Check
20319 explicitly for proper errno values.
20320
228c019e
TS
203212012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20322
302cadd3
TS
20323 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20324 CHAR_MAX.
20325 * string/test-strcmp.c [! WIDE]: Likewise.
20326 * time/tst-mktime2.c: Likewise for INT_MAX.
20327 * string/test-string.h: #include <sys/param.h> for MIN.
20328
228c019e
TS
20329 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20330 * sysdeps/i386/init-first.c (init): Likewise.
20331 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20332 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20333 * sysdeps/sh/init-first.c (init): Likewise.
20334
cfa633f5
UD
203352012-04-01 Ulrich Drepper <drepper@gmail.com>
20336
20337 * po/ru.po: Update from translation team.
d1635ef8 20338 * po/vi.po: Likewise.
cfa633f5 20339
6cd0a5ea
SP
203402012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20341
20342 * resolv/nss_dns/dns-host.c: Merge copyright years.
20343
4b43400f
LD
203442012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20345
20346 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20347 Optimize memcpy with prefetch if
20348 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20349 src, dst pointers have unequal 16 byte alignments.
20350
48c41d04
SP
203512012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20352
20353 [BZ #13928]
20354 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20355 from a CNAME entry and return the minimum ttl for the query.
20356 (gaih_getanswer_slice): Likewise.
20357
b8dc394d
JL
203582012-03-30 Jeff Law <law@redhat.com>
20359
20360 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20361 due to long keys.
20362 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20363 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20364
2f5a5ed0
JL
20365 * resolv/nss_dns/dns-host.c: Update copyright year.
20366
1d39e359
UD
203672012-03-30 Ulrich Drepper <drepper@gmail.com>
20368
c030f70c 20369 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 20370 requests to save a system call. Fix check that all bytes are sent.
c030f70c 20371
1d39e359
UD
20372 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20373 comments for sendmmsg.
20374
203752012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
20376
20377 [BZ #13691]
20378 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20379 with only 1 character between 0x0041 and 0x01b0.
20380 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20381 * wcsmbs/tst-mbsnrtowcs.c: New file.
20382
20fde227
DM
203832012-03-29 David S. Miller <davem@davemloft.net>
20384
20385 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20386 small copies by hand.
20387
984a4237
JL
203882012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20389
20390 [BZ #13761]
20391 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20392 _nss_compat_initgroups_dyn): Fall back to malloc/free
20393 for large group memberships.
20394
18c9d62b
DM
203952012-03-28 David S. Miller <davem@davemloft.net>
20396
88d85d4f
DM
20397 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20398 that branches into memcpy.
20399 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20400 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20401 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20402 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20403 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20404 bits.
20405 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20406 implementation too.
20407 * sysdeps/sparc/mempcpy.S: New file.
20408
e5aa83e1
DM
20409 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20410 the IFUNC routine in the libc case.
20411 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20412
88570753
DM
20413 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20414 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20415 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20416 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20417 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20418 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20419 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20420 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20421
249d7567
DM
20422 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20423 loop to 256 bytes instead of 64 bytes and fix test signedness.
20424
18c9d62b
DM
20425 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20426 * sysdeps/sparc/sparc32/Makefile: rather than here...
20427 * sysdeps/sparc/sparc64/Makefile: and here.
20428
05f3d1f6
UD
204292012-03-28 Ulrich Drepper <drepper@gmail.com>
20430
20431 * malloc/mallocbug.c: Avoid warnings about unused variables.
20432
86ae07a8
JL
204332012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20434
20435 [BZ #13760]
20436 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20437 in the right place. Discard and retry query if response is
20438 larger than input buffer size.
20439
41bf21a1
JM
204402012-03-28 Joseph Myers <joseph@codesourcery.com>
20441
d6270972
JM
20442 [BZ #369]
20443 [BZ #2678]
20444 [BZ #3866]
20445 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20446 x for large integer exponent.
20447 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20448 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20449 sign of result as needed afterwards.
20450 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20451 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20452 result for underflowing pow the same as for overflow.
20453 (__kernel_standard_l): Handle powl overflow and underflow here
20454 rather than calling __kernel_standard.
20455 * math/libm-test.inc (pow_test): Add more tests.
20456
414fca03 20457 [BZ #3868]
41bf21a1
JM
20458 [BZ #13879]
20459 [BZ #13910]
20460 [BZ #13911]
20461 [BZ #13912]
20462 [BZ #13913]
20463 [BZ #13915]
20464 [BZ #13916]
20465 [BZ #13917]
20466 [BZ #13918]
20467 [BZ #13919]
20468 [BZ #13920]
20469 [BZ #13921]
20470 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20471 * sysdeps/ieee754/k_standard.c: Include <float.h>.
20472 (__kernel_standard_l): New function.
20473 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20474 __kernel_standard.
20475 * math/w_acosl.c (__acosl): Likewise.
20476 * math/w_asinl.c (__asinl): Likewise.
20477 * math/w_atan2l.c (__atan2l): Likewise.
20478 * math/w_atanhl.c (__atanhl): Likewise.
20479 * math/w_coshl.c (__coshl): Likewise.
20480 * math/w_exp10l.c (__exp10l): Likewise.
20481 * math/w_exp2l.c (__exp2l): Likewise.
20482 * math/w_fmodl.c (__fmodl): Likewise.
20483 * math/w_hypotl.c (__hypotl): Likewise.
20484 * math/w_j0l.c (__j0l, __y0l): Likewise.
20485 * math/w_j1l.c (__j1l, __y1l): Likewise.
20486 * math/w_jnl.c (__jnl, __ynl): Likewise.
20487 * math/w_lgammal.c (__lgammal): Likewise.
20488 * math/w_log10l.c (__log10l): Likewise.
20489 * math/w_log2l.c (__log2l): Likewise.
20490 * math/w_logl.c (__logl): Likewise.
20491 * math/w_powl.c (__powl): Likewise.
20492 * math/w_remainderl.c (__remainderl): Likewise.
20493 * math/w_scalbl.c (sysv_scalbl): Likewise.
20494 * math/w_sinhl.c (__sinhl): Likewise.
20495 * math/w_sqrtl.c (__sqrtl): Likewise.
20496 * math/w_tgammal.c (__tgammal): Likewise.
20497 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20498 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20499 * math/libm-test.inc (acos_test): Add more tests.
20500 (acosh_test): Likewise.
20501 (asin_test): Likewise.
20502 (atanh_test): Likewise.
20503 (exp_test): Likewise.
20504 (exp10_test): Likewise.
20505 (exp2_test): Likewise.
20506 (expm1_test): Likewise.
20507 (lgamma_test): Likewise.
20508 (log_test): Likewise.
20509 (log10_test): Likewise.
20510 (log1p_test): Likewise.
20511 (log2_test): Likewise.
20512 (pow_test): Do not allow some spurious overflow exceptions.
20513 (sqrt_test): Add more tests.
20514 (tgamma_test): Likewise.
20515 (y0_test): Likewise.
20516 (y1_test): Likewise.
20517 (yn_test): Likewise.
20518
dd62fda6
AB
205192012-03-27 Anton Blanchard <anton@samba.org>
20520
20521 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20522 MAP_HUGETLB.
20523 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20524 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20525 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20526
1e3cdfda
AJ
205272012-03-27 David S. Miller <davem@davemloft.net>
20528
b855ab85
DM
20529 * conform/Makefile: Run run-conformtest.sh using $(BASH).
20530
1e3cdfda
AJ
20531 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20532 have-as-vis3 check.
20533
205342012-03-27 Andreas Jaeger <aj@suse.de>
20535
20536 * sysdeps/x86_64/elf/configure.in: Moved to ...
20537 * sysdeps/x86_64/configure.in: ... here.
20538 * sysdeps/x86_64/elf/start.S: Moved to ...
20539 * sysdeps/x86_64/start.S: ... here.
20540 * sysdeps/x86_64/elf/configure: Delete.
20541
20542 * sysdeps/x86_64/configure.in: Merge contents from
20543 sysdeps/i386/configure.in (without i686 check).
20544
20545 * sysdeps/i386/elf/Versions: Merge into ...
20546 * sysdeps/i386/Versions: ... this.
20547 * sysdeps/i386/elf/Versions: Delete file.
20548 * sysdeps/i386/elf/start.S: Moved to ...
20549 * sysdeps/i386/start.S: ...here.
20550 * sysdeps/i386/elf/configure.in: Merge into...
20551 * sysdeps/i386/configure.in: ...here.
20552 * sysdeps/i386/elf/configure.in: Delete file.
20553 * sysdeps/i386/elf/configure: Delete file.
20554
20555 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20556 * debug/backtracesyms.c: ... here.
20557 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20558 * debug/backtracesymsfd.c: ... here.
20559 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20560 * sysdeps/generic/ifunc-sel.h: ... here.
20561
20562 * sysdeps/unix/i386/start.c: Delete file.
20563 * sysdeps/unix/sparc/start.c: Delete file.
20564 * sysdeps/unix/start.c: Delete file.
20565
20566 * sysdeps/sh/elf/configure.in: Moved to ...
20567 * sysdeps/sh/configure.in: ... here.
20568 * sysdeps/sh/elf/start.S: Moved to ...
20569 * sysdeps/sh/start.S: ... here.
20570 * sysdeps/sh/elf/configure: Delete file.
20571
20572 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20573 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20574 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20575 * sysdeps/powerpc/powerpc64/entry.h: ... here.
20576 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20577 * sysdeps/powerpc/powerpc64/start.S: here.
20578 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20579 * sysdeps/powerpc/powerpc64/Makefile: ... this.
20580 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20581 * sysdeps/powerpc/powerpc64/configure.in: ... this.
20582 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20583
20584 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20585 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20586 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20587 * sysdeps/powerpc/powerpc32/start.S: ... here.
20588 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20589 * sysdeps/powerpc/powerpc32/configure.in: ... this.
20590 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20591
20592 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20593 * sysdeps/powerpc/ifunc-sel.h: ... here.
20594 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20595 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20596
20597 * sysdeps/sparc/elf/configure.in: Moved to ...
20598 * sysdeps/sparc/configure.in: ... here.
20599 * sysdeps/sparc/elf/configure: Delete file.
20600 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20601 * sysdeps/sparc/sparc32/start.S: ... here.
20602 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20603 * sysdeps/sparc/sparc64/start.S: ... here.
20604 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20605 * sysdeps/sparc/sparc32/Makefile: ... this.
20606 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20607 * sysdeps/sparc/sparc64/Makefile: ... this.
20608
20609 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20610 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20611 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20612 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20613 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20614 * sysdeps/s390/s390-32/setjmp.S: ... here.
20615 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20616 * sysdeps/s390/s390-32/configure.in: ... here.
20617 * sysdeps/s390/s390-32/elf/configure: Delete file.
20618 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20619 * sysdeps/s390/s390-32/start.S: ... here.
20620
20621 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20622 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20623 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20624 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20625 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20626 * sysdeps/s390/s390-64/setjmp.S: ... here.
20627 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20628 * sysdeps/s390/s390-64/configure.in: ... here
20629 * sysdeps/s390/s390-64/elf/configure: Delete file.
20630 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20631 * sysdeps/s390/s390-64/start.S: ... here.
20632 * sysdeps/s390/s390-64/elf/configure: Delete.
20633
20634 * configure.in: Remove support for elf directories in sysdeps.
20635
20636 * configure: Regenerated.
20637 * sysdeps/i386/configure: Regenerated.
20638 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20639 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20640 * sysdeps/s390/s390-32/configure: Regenerated.
20641 * sysdeps/s390/s390-64/configure: Regenerated.
20642 * sysdeps/sh/configure: Regenerated.
20643 * sysdeps/sparc/configure: Regenerated.
20644 * sysdeps/x86_64/configure: Regenerated.
20645
a3f61311
AS
206462012-03-26 Andreas Schwab <schwab@linux-m68k.org>
20647
c876e002
AS
20648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20649
a3f61311
AS
20650 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20651 denormal result into account.
20652
ac4c54f0
RM
206532012-03-25 Roland McGrath <roland@hack.frob.com>
20654
20655 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20656 Reported by Allan McRae <allan@archlinux.org>.
20657
6a9b9c02
JL
206582012-03-23 Jeff Law <law@redhat.com>
20659
20660 * nss/getnssent.c (__nss_getent): Fix typo.
20661
4c42a0c1
DM
206622012-03-23 David S. Miller <davem@davemloft.net>
20663
20664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20665
1532c7ac
L
206662012-03-23 H.J. Lu <hongjiu.lu@intel.com>
20667
20668 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20669 to pad to uint64_t for each field.
20670 (dl_tls_index): Replace unsigned long with uint64_t.
20671
3ff42526
PP
206722012-03-23 Daniel Jacobowitz <dmj@google.com>
20673 Paul Pluzhnikov <ppluzhnikov@google.com>
20674
20675 [BZ #6528]
20676 * grp/Makefile (otherlibs): Don't set it.
20677 * inet/Makefile (otherlibs): Likewise.
20678 * login/Makefile (otherlibs): Likewise.
20679 * nscd/Makefile (otherlibs): Likewise.
20680 * posix/Makefile (otherlibs): Likewise.
20681 * pwd/Makefile (otherlibs): Likewise.
20682 * rt/Makefile (otherlibs): Likewise.
20683 * sunrpc/Makefile (otherlibs): Likewise.
20684 * nss/Makefile (otherlibs): Likewise.
20685 Add libnss_files to routines and static-only-routines.
20686 ($(objpfx)getent): Remove rule.
20687 * resolv/Makefile: Add libnss_dns and libresolv to routines and
20688 static-only-routines.
20689
7c69cd14
JM
206902012-03-22 Joseph Myers <joseph@codesourcery.com>
20691
20692 [BZ #13892]
20693 * math/s_cexp.c: Include <float.h>.
20694 (__cexp): Handle exp result overflowing not necessarily
20695 overflowing both real and imaginary parts of result.
20696 * math/s_cexpf.c: Likewise.
20697 * math/s_cexpl.c: Likewise.
20698 * math/libm-test.inc (cexp_test): Add more tests.
20699 * sysdeps/i386/fpu/libm-test-ulps: Update.
20700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20701
81b035fe
L
207022012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20703
20704 * include/link.h (ELFW): New macro.
20705 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20706 Replace ELF64_R_TYPE with ELFW(R_TYPE).
20707
1da7940c
L
207082012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20709
20710 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20711 with uint64_t.
20712
b749dbb9
L
207132012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20714
20715 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20716 declaration.
20717 (struct La_x32_retval): Likewise.
20718
2ff87f3f
L
207192012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20720
20721 * sysdeps/x86_64/preconfigure.in: New file.
20722 * sysdeps/x86_64/preconfigure: New generated file.
20723
c0df8e69
JM
207242012-03-22 Joseph Myers <joseph@codesourcery.com>
20725
48e44791
JM
20726 [BZ #13824]
20727 * math/e_exp2l.c: Include <float.h>.
20728 (__ieee754_exp2l): Handle overflow and underflow cases
20729 separately. Only pass fractional part of argument to
20730 __ieee754_expl.
20731 * math/libm-test.inc (exp2_test): Add more tests.
20732
c0df8e69
JM
20733 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20734 negating x to take absolute value.
20735 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20736 Likewise.
20737 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20738 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20739 Likewise.
20740 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20741 computing low part if x was negated.
20742 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20743
c8e43ba7
L
207442012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20745
20746 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
20747 la_x32_gnu_pltexit.
20748 (pltexit): Cast int_retval to ptrdiff_t.
20749 * elf/tst-auditmod3b.c: Likewise.
20750 * elf/tst-auditmod4b.c: Likewise.
20751 * elf/tst-auditmod5b.c: Likewise.
20752 * elf/tst-auditmod6b.c: Likewise.
20753 * elf/tst-auditmod6c.c: Likewise.
20754 * elf/tst-auditmod7b.c: Likewise.
20755
20756 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
20757 and x32_gnu_pltexit.
20758
20759 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
20760 __ELF_NATIVE_CLASS.
20761 (La_x32_regs): New macro.
20762 (La_x32_retval): Likewise.
20763 (la_x32_gnu_pltenter): New function prototype.
20764 (la_x32_gnu_pltexit): Likewise.
20765
7998fa78
AS
207662012-03-21 Andreas Schwab <schwab@linux-m68k.org>
20767
dcb33988
AS
20768 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
20769 exponent.
20770
233fc563
AS
20771 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20772
7998fa78
AS
20773 * configure.in (libc_cv_cc_nofma): Check for option to disable
20774 generation of FMA instructions.
20775 * configure: Regenerate.
20776 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
20777 * sysdeps/ieee754/dbl-64/Makefile: New file.
20778 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20779 Remove brandred-fma4.
20780 (CFLAGS-brandred-fma4.c): Remove.
20781 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
20782 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
20783 define.
20784 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
20785 define.
20786
8e95c99a
L
207872012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20788
20789 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20790 LLONG_MAX != LONG_MAX.
20791 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20792 (_fitoa_word): Likewise.
20793 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
20794 LLONG_MAX != LONG_MAX.
20795 * stdio-common/_itowa.h: Include <_itoa.h>.
20796 (_itowa_word): Use _ITOA_WORD_TYPE on value.
20797 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
20798 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
20799 only if not defined.
20800 (_ITOA_WORD_TYPE): Likewise.
20801 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20802 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
20803
6f4db457
DM
208042012-03-21 David S. Miller <davem@davemloft.net>
20805
20806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20807
7785fe5a
L
208082012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20809
20810 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
20811 of x86_64 when setting libc_cv_slibdir, libdir and
20812 libc_cv_localedir.
20813 * sysdeps/unix/sysv/linux/configure: Regenerated.
20814
4535cd55
JM
208152012-03-21 Joseph Myers <joseph@codesourcery.com>
20816
20817 * manual/lang.texi (Old Varargs): Remove section.
20818 (How Variadic): Update menu.
20819 (va_start): Do not mention varargs.h.
20820
17228132
TS
208212012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20822 Joseph Myers <joseph@codesourcery.com>
20823
20824 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
20825 link test.
20826 * configure: Regenerated.
20827
8149f976
TS
208282012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20829
05f3d1f6
UD
20830 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
20831 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
20832 conformtest.pl
8149f976 20833
1a4ac776
JM
208342012-03-21 Joseph Myers <joseph@codesourcery.com>
20835
be22ce65
JM
20836 * NOTES: Remove.
20837 * Makefile (files-for-dist): Remove NOTES.
20838 (NOTES): Remove rule.
20839 * README: Don't refer to NOTES.
20840 * manual/creature.texi: Don't include macros.texi.
20841 * manual/intro.texi (creature.texi): Remove comment referring to
20842 NOTES.
20843
40b601fb
JM
20844 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
20845 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
20846 * configure: Regenerated.
20847 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
20848 LIBC_TRY_CC_OPTION.
20849 (libc_cv_as_i686): Likewise.
20850 (libc_cv_cc_avx): Likewise.
20851 (libc_cv_cc_sse2avx): Likewise.
20852 (libc_cv_cc_fma4): Likewise.
20853 (libc_cv_cc_novzeroupper): Likewise.
20854 * sysdeps/i386/configure: Regenerated.
20855
1a4ac776
JM
20856 [BZ #13883]
20857 * sysdeps/i386/fpu/s_cexp.S: Remove.
20858 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20859 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20860 * math/libm-test.inc (cexp_test): Add more tests.
20861 * sysdeps/i386/fpu/libm-test-ulps: Update.
20862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20863
a458e7fe
AM
208642012-03-21 Allan McRae <allan@archlinux.org>
20865
20866 * timezone/Makefile: Do not install iso3166.tab and zone.tab
20867
0cb7efc5
JM
208682012-03-21 Joseph Myers <joseph@codesourcery.com>
20869
20870 [BZ #13871]
20871 * math/w_exp2.c: Do not include <float.h>.
20872 (o_threshold, u_threshold): Remove.
20873 (__exp2): Calculate result before checking finiteness and calling
20874 __kernel_standard.
20875 * math/w_exp2f.c: Likewise.
20876 * math/w_exp2l.c: Likewise.
20877 * math/libm-test.inc (exp2_test): Require overflow exception for
20878 1e6 input.
2460d3aa
JM
20879
20880 [BZ #3866]
20881 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
20882 range of signed 64-bit integers before using fistpll. Remove
20883 checks for whether integers fit in mantissa bits.
20884 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
20885 the range of signed 32-bit integers before using fistpl. Remove
20886 checks for whether integers fit in mantissa bits.
20887 * sysdeps/i386/fpu/e_powl.S (p64): New object.
20888 (__ieee754_powl): Test for y outside the range of signed 64-bit
20889 integers before using fistpll. Reduce 64-bit values to 63-bit
20890 ones as needed.
20891 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
20892 divide-by-zero is raised for zero to large negative powers.
20893 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
20894 (__ieee754_powl): Test for y outside the range of signed 64-bit
20895 integers before using fistpll. Reduce 64-bit values to 63-bit
20896 ones as needed.
20897 * math/libm-test.inc (pow_test): Add more tests.
20898
eb96ffb0
L
208992012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20900
20901 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
20902 <stdio-common/_itoa.h>.
20903 * debug/segfault.c: Likewise.
20904 * elf/dl-cache.c: Likewise.
20905 * elf/dl-minimal.c: Likewise.
20906 * elf/dl-misc.c: Likewise.
20907 * elf/dl-sysdep.c: Likewise.
20908 * elf/dl-version.c: Likewise.
20909 * elf/rtld.c: Likewise.
20910 * hurd/hurdsock.c: Likewise.
20911 * hurd/lookup-retry.c: Likewise.
20912 * malloc/malloc.c: Likewise.
20913 * malloc/mtrace.c: Likewise.
20914 * nscd/nscd_getgr_r.c: Likewise.
20915 * nscd/nscd_getpw_r.c: Likewise.
20916 * nscd/nscd_getserv_r.c: Likewise.
20917 * posix/getopt_init.c: Likewise.
20918 * posix/wordexp.c: Likewise.
20919 * stdio-common/_itoa.c: Likewise.
20920 * stdio-common/printf_fphex.c: Likewise.
20921 * stdio-common/vfprintf.c: Likewise.
20922 * string/_strerror.c: Likewise.
20923 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
20924 * sysdeps/i386/i686/hp-timing.h: Likewise.
20925 * sysdeps/mach/_strerror.c: Likewise.
20926 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
20927 * sysdeps/mach/hurd/sethostid.c: Likewise.
20928 * sysdeps/mach/hurd/xmknodat.c: Likewise.
20929 * sysdeps/mach/xpg-strerror.c: Likewise.
20930 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20931 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20932 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
20933 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
20934 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20935 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
20936 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20937 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20938 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
20939 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
20940 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
20941 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20942 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
20943 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20944 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20945 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
20946 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
20947 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
20948 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
20949 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
20950 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
20951
20952 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
20953
20954 * stdio-common/_itoa.h: Moved to ...
20955 * sysdeps/generic/_itoa.h: Here.
20956
20957 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
20958
20959 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
20960 instead of "_itoa.h" and "_itowa.h".
20961 * stdio-common/vfprintf.: Likewise.
20962
d1af992d
L
209632012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20964
20965 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
20966 <bits/wordsize.h>.
20967 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
20968 (__signbit): Likwise.
20969 (llrintf): Likwise.
20970 (llrint): Likwise.
20971
114883e0
L
209722012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20973
20974 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
20975 __WORDSIZE != 64.
20976
c135cc1b
JM
209772012-03-20 Joseph Myers <joseph@codesourcery.com>
20978
20979 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
20980 OVERFLOW_EXCEPTION_OK.
20981 * math/libm-test.inc ("Philosophy"): Update comment about
20982 exception testing.
20983 (OVERFLOW_EXCEPTION): Define.
20984 (OVERFLOW_EXCEPTION_OK): Likewise.
20985 (INVALID_EXCEPTION_OK): Renumber.
20986 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20987 (IGNORE_ZERO_INF_SIGN): Likewise.
20988 (test_exceptions): Handle FE_OVERFLOW.
20989 (exp10_test): Expect overflow exceptions.
20990 (exp2_test): Likewise.
20991 (expm1_test): Likewise.
20992 (nextafter_test): Likewise.
20993 (pow_test): Likewise.
20994 (scalbn_test): Likewise.
20995 (scalbln_test): Likewise.
20996
95443d88
L
209972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20998
20999 * sysdeps/x86_64/bits/atomic.h
21000 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21001 64bit integer.
21002 (atomic_exchange_acq): Likewise.
21003 (__arch_exchange_and_add_body): Likewise.
21004 (__arch_add_body): Likewise.
21005 (atomic_add_negative): Likewise.
21006 (atomic_add_zero): Likewise.
21007
490df6c4
L
210082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21009
c2722551 21010 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21011 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21012
5e52b189
L
210132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21014
21015 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21016 Check __x86_64__ instead of __WORDSIZE.
21017
a9879d4c
L
210182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21019
21020 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21021
5df98260
DM
210222012-03-19 David S. Miller <davem@davemloft.net>
21023
e1497744
DM
21024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21025
5df98260
DM
21026 * sysdeps/sparc/fpu/fenv_private.h: New file.
21027 * sysdeps/sparc/fpu/math_private.h: Use it.
21028 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21029 Remove.
21030 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21031 (libc_feholdexcept_setroundl): Remove.
21032 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21033 Remove.
21034 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21035 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21036
b4c35121
L
210372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21038
21039 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21040 int64_t instead of long int.
21041 (INSERT_WORDS64): Likwise.
21042
56965fd7
L
210432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21044
21045 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21046 _Unwind_GetCFA return to _Unwind_Ptr first.
21047
83d1aec8
JM
210482012-03-19 Joseph Myers <joseph@codesourcery.com>
21049
1897ad44
JM
21050 [BZ #13629]
21051 * math/s_clog.c: Include <float.h>.
21052 (__clog): Scale large or subnormal inputs.
21053 * math/s_clogf.c: Likewise.
21054 * math/s_clogl.c: Likewise.
21055 * math/s_clog10.c: Include <float.h>.
21056 (M_LOG10_2): Define.
21057 (__clog10): Scale large or subnormal inputs.
21058 * math/s_clog10f.c: Likewise.
21059 * math/s_clog10l.c: Likewise.
21060 * math/libm-test.inc (clog_test): Add more tests.
21061 (clog10_test): Likewise.
21062 * sysdeps/i386/fpu/libm-test-ulps: Update.
21063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21064
7726d6a9
JM
21065 [BZ #11451]
21066 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21067 x and y.
21068 * math/libm-test.inc (atan2_test): Add another test.
21069
83d1aec8
JM
21070 * Makerules (common-objdir-compile): Remove.
21071 * sysdeps/unix/Makefile (config-generated): Do not add
21072 $(unix-generated) to variable.
21073 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21074 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21075 Remove rule.
21076 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21077 Likewise.
21078 [generic bits/local_lim.h] (before-compile): Do not append to
21079 variable.
21080 [generic bits/local_lim.h] (common-generated): Likewise.
21081 [generic sys/param.h] (before-compile): Do not append to variable.
21082 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21083 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21084 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21085 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21086 include.
21087 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21088 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21089 [generic sys/param.h] ($(addprefix
21090 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21091 [generic sys/param.h] (common-generated): Do not append to
21092 variable.
21093 [generic sys/param.h] (sysdep_headers): Likewise.
21094 [generic bits/errno.h] (before-compile): Do not append to
21095 variable.
21096 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21097 rule.
21098 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21099 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21100 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21101 [generic bits/errno.h] (common-generated): Do not append to
21102 variable.
21103 [generic bits/ioctls.h] (before-compile): Do not append to
21104 variable.
21105 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21106 rule.
21107 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21108 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21109 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21110 rule.
21111 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21112 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21113 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21114 [generic bits/ioctls.h] (common-generated): Do not append to
21115 variable.
21116 [generic sys/syscall.h] (syscall.h): Remove variable.
21117 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21118 rule.
21119 [generic sys/syscall.h] (before-compile): Do not append to
21120 variable.
21121 [generic sys/syscall.h] (common-generated): Likewise.
21122 * sysdeps/unix/errnos-tmpl.c: Remove file.
21123 * sysdeps/unix/errnos.awk: Likewise.
21124 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21125 * sysdeps/unix/ioctls.awk: Likewise.
21126 * sysdeps/unix/mk-local_lim.c: Likewise.
21127 * sysdeps/unix/snarf-ioctls: Likewise.
21128
4851a949
RH
211292012-03-19 Richard Henderson <rth@twiddle.net>
21130
bd37f2ee
RH
21131 * sysdeps/i386/fpu/fenv_private.h: New file.
21132 * sysdeps/i386/fpu/math_private.h: Use it.
21133 (math_opt_barrier, math_force_eval): Remove.
21134 (libc_feholdexcept_setround_53bit): Remove.
21135 (libc_feupdateenv_53bit): Remove.
21136 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21137 (math_opt_barrier, math_force_eval): Remove.
21138 (libc_feholdexcept): Remove.
21139 (libc_feholdexcept_setround): Remove.
21140 (libc_fetestexcept, libc_fesetenv): Remove.
21141 (libc_feupdateenv_test): Remove.
21142 (libc_feupdateenv, libc_feholdsetround): Remove.
21143 (libc_feresetround): Remove.
21144
d0adc922
RH
21145 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21146 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21147
0fe0f1f8
RH
21148 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21149 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21150 (libc_feupdateenv_testl): New.
21151 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21152 (libc_feupdateenv_testf): New.
21153 (libc_feupdateenv): Use libc_feupdateenv_test.
21154 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21155 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21156
eb92c487
RH
21157 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21158 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21159 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21160 (libc_feresetround_noex): New.
21161 (libc_feresetround_noexf): New.
21162 (libc_feresetround_noexl): New.
21163 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21164 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21165 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21166 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21167 SET_RESTORE_ROUND.
21168 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21169 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21170 (__cos): Likewise.
21171 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21172 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21173 SET_RESTORE_ROUND_NOEX.
21174 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21175 SET_RESTORE_ROUND_NOEXF.
21176 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21177 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21178 (libc_feholdsetroundf): New.
21179 (libc_feresetround, libc_feresetroundf): New.
21180
7d2e8012
RH
21181 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21182 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21183 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21184
b4dabbb4
RH
21185 * sysdeps/generic/math_private.h: Include <fenv.h>.
21186 (default_libc_feholdexcept): New.
21187 (default_libc_feholdexcept_setround): New.
21188 (default_libc_fesetenv, default_libc_feupdateenv): New.
21189 (libc_feholdexcept): Only define if undefined.
21190 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21191 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21192 (libc_feholdexcept_setroundl): Likewise.
21193 (libc_feholdexcept_setround_53bit): Likewise.
21194 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21195 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21196 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21197 (libc_feupdateenv_53bit): Likewise.
21198 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21199 (libc_feholdexcept): Convert from macro to inline function.
21200 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21201 (libc_fesetenv, libc_feupdateenv): Likewise.
21202
4851a949
RH
21203 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21204 not previously defined.
21205 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21206 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21207 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21208 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21209 * sysdeps/ieee754/flt-32/math_private.h: New file.
21210 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21211 math_private.h below SET_FLOAT_WORD.
21212 (__isnan, __isinf_ns, __finite): Remove.
21213 (__isnanf, __isinf_nsf, __finitef): Remove.
21214
e79d442e
AS
212152012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21216
21217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21218
90b80344
DM
212192012-03-17 David S. Miller <davem@davemloft.net>
21220
21221 [BZ #6471]
21222 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21223 for 2.16.
21224
edc21804
DM
212252012-03-16 David S. Miller <davem@davemloft.net>
21226
77e927af
DM
21227 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21228 warnings.
21229
374976dd
DM
21230 [BZ #6471]
21231 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21232 properly.
21233 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21234 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21235 sysdep_routines when subdir is sysvipc.
21236 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21237 __getshmlba helper.
21238
edc21804
DM
21239 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21240
473c3ef3
L
212412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21242
21243 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21244 [__LP64__].
21245
eb0f39b6
L
212462012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21247
21248 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21249 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21250 (__lround): Renamed to ...
21251 (__llround): This. Replace long int with long long int.
21252 Define lround functions as aliases of llround functions.
21253 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21254
6b6cd74b
L
212552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21256
21257 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21258 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21259 adresses to uintptr_t. Replace "long int" and "unsigned long
21260 int" with "greg_t" on va_arg.
21261
f1a77b01
L
212622012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21263
21264 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21265 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21266
21267 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21268 Move e_machine check before EI_CLASS check. Handle x32
21269 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21270 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21271 SKIP_EM_IA_64 and include
21272 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21273
21274 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21275 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21276 (add_system_dir): New macro.
21277
21278 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21279 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21280
11b90b9f
JM
212812012-03-16 Joseph Myers <joseph@codesourcery.com>
21282
c36e1d23
JM
21283 [BZ #2551]
21284 [BZ #2552]
21285 [BZ #2553]
21286 [BZ #2554]
21287 [BZ #2562]
21288 [BZ #2563]
21289 [BZ #2565]
21290 [BZ #2566]
21291 [BZ #2576]
21292 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21293 (y0): Likewise.
21294 * math/w_j0f.c (j0f): Likewise.
21295 (y0f): Likewise.
21296 * math/w_j0l.c (__j0l): Likewise.
21297 (__y0l): Likewise.
21298 * math/w_j1.c (j1): Likewise.
21299 (y1): Likewise.
21300 * math/w_j1f.c (j1f): Likewise.
21301 (y1f): Likewise.
21302 * math/w_j1l.c (__j1l): Likewise.
21303 (__y1l): Likewise.
21304 * math/w_jn.c (jn): Likewise.
21305 (yn): Likewise.
21306 * math/w_jnf.c (jnf): Likewise.
21307 (ynf): Likewise.
21308 * math/w_jnl.c (__jnl): Likewise.
21309 (__ynl): Likewise.
21310 * math/libm-test.inc (j0_test): Add more tests.
21311 (j1_test): Likewise.
21312 (jn_test): Likewise. Add trailing semicolon to existing test.
21313 (y0_test): Likewise.
21314 (y1_test): Likewise.
21315 * sysdeps/i386/fpu/libm-test-ulps: Update.
21316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21317
11b90b9f
JM
21318 [BZ #13851]
21319 [BZ #13854]
21320 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21321 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21322 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21323 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21324 (__tanl): Set errno for infinite argument.
21325 * sysdeps/i386/fpu/mptan.c: Remove.
21326 * sysdeps/i386/fpu/s_tan.S: Likewise.
21327 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21328 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21329 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21330 * math/libm-test.inc (tan_test): Add more tests and enable more
21331 tests for double and long double.
21332 * sysdeps/i386/fpu/libm-test-ulps: Update.
21333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21334
6a1bd2a1
JK
213352012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21336
21337 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21338 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21339
10a803e0
RM
213402012-03-16 Roland McGrath <roland@hack.frob.com>
21341
21342 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21343 * configure.in: Use it for both main tree and add-ons.
21344 * configure: Regenerated.
21345
f196c7f7
L
213462012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21347
21348 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21349
8848d99d
JM
213502012-03-16 Joseph Myers <joseph@codesourcery.com>
21351
96cbe7f4
JM
21352 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21353 in comment.
21354
8848d99d
JM
21355 [BZ #13851]
21356 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21357 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21358 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21359 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21360 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21361 infinite argument.
21362 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21363 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21364 != 0 for prec == 2.
21365 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21366 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21367 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21368 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21369 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21370 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21371 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21372 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21373 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21374 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21375 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21376 * math/libm-test.inc (cos_test): Add more tests and enable more
21377 tests for long double.
21378 (sin_test): Likewise.
21379 (sincos_test): Likewise.
21380 * sysdeps/i386/fpu/libm-test-ulps: Update.
21381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21382
dd7f4703
DM
213832012-03-16 David S. Miller <davem@davemloft.net>
21384
21385 * sysdeps/sparc/fpu/math_private.h: New file.
21386
006f1daa
DM
213872012-03-15 David S. Miller <davem@davemloft.net>
21388
c0c83bc8
DM
21389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21390 file.
e6a62e18 21391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
21392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21393 file.
e6a62e18
DM
21394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21395 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21396 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21399 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21400 sysdep routines.
21401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21402
88cb87d9
DM
21403 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21404 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21405
006f1daa 21406 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
21407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21408 sparc-ifunc.h
006f1daa 21409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
21410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21411 Likewise.
21412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21413 Likewise.
006f1daa
DM
21414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
21417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21418 Likewise.
006f1daa
DM
21419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
21423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21424 Likewise.
21425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21426 Likewise.
006f1daa
DM
21427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21431 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21432 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21433 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21434 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21435 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21436 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21437 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21438 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21439 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21440 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21441 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21442 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21443 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21444 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21445 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21446 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21447 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21448 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21449 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21450 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21451
11e0098e
AS
214522012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21453
21454 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21455 scaling.
21456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21457
e85b09d0
AJ
214582012-03-15 Andreas Jaeger <aj@suse.de>
21459
21460 [BZ #13852]
21461 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21462 ieee754/flt-32 implementation for sin, cos and sincos.
21463 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21464 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21465 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21466 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21467 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21468 ieee754/flt-32 implementation for tan.
21469
21470 * math/libm-test.inc (cos_test): Enable some large input tests for
21471 float as well
21472 (sin_test): Likewise.
21473 (sincos_test): Likewise.
21474 (tan_test): Add tests for large input.
21475
21476 * sysdeps/i386/fpu/libm-test-ulps: Update.
21477
81c64153
AJ
214782012-03-15 Andreas Jaeger <aj@suse.de>
21479
21480 [BZ #13658]
21481 * math/libm-test.inc (cos_test): Add more test cases.
21482 (sin_test): Likewise.
21483 (sincos_test): Likewise.
21484
7bbfa5c6
AJ
214852012-03-15 Andreas Jaeger <aj@suse.de>
21486
21487 [BZ #13837]
21488 * math/libm-test.inc (cos_test): Add a test case for large input
21489 value.
21490 (sin_test): Likewise.
21491 (sincos_test): Likewise.
21492
214932012-03-15 Andreas Jaeger <aj@suse.de>,
21494 Joseph Myers <joseph@codesourcery.com>
21495
21496 [BZ #13658]
0671f479 21497 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
21498 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21499 * sysdeps/i386/fpu/branred.c: Likewise.
21500 * sysdeps/i386/fpu/dosincos.c: Likewise.
21501 * sysdeps/i386/fpu/mpa.c: Likewise.
21502 * sysdeps/i386/fpu/s_cos.S: Likewise.
21503 * sysdeps/i386/fpu/s_sin.S: Likewise.
21504 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21505 * sysdeps/i386/fpu/sincos32.c: Likewise.
21506
21507 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21508 Define.
21509 (libc_feupdateenv_53bit): Define.
21510 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21511 Define.
21512 (libc_feupdateenv_53bit): Define.
21513
21514 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21515 53 bit (without extend i386 double precision).
21516
21517 * math/libm-test.inc (sincos_test): Add tests for large input.
21518 (sin): Likewise.
21519 (cos): Likewise.
21520
21521 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21522
9cad04ea
AS
215232012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21524
21525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21526
f7062b9a
DM
215272012-03-15 David S. Miller <davem@davemloft.net>
21528
21529 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21530 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21531 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21532 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21543 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
21544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21545 file.
f7062b9a 21546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
21547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21548 file.
f7062b9a 21549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
21550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21551 file.
f7062b9a 21552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
21553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21554 file.
f7062b9a
DM
21555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21556 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21557 fmin/fmax sysdep routines.
21558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21559
7bd951ff
DM
215602012-03-14 David S. Miller <davem@davemloft.net>
21561
559398ab
DM
21562 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21563 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21564 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21565 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21566 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21567 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21568 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21569 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21570 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21571 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21572 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21573 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21574 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21575 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21576 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21577 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21579 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21580 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21581 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21582 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21583 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21584 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21585 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21586 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21587 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21588 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21589 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21590 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21591 routines.
21592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21593 file.
559398ab 21594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
21595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21596 file.
559398ab 21597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
21598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21599 file.
559398ab 21600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
21601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21602 file.
559398ab 21603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
21604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21605 file.
559398ab 21606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
21607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21608 file.
21609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21610 file.
21611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21612 file.
21613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21614 file.
21615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21616 New file.
21617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21618 file.
21619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21620 file.
559398ab 21621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
21622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21623 file.
559398ab 21624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21626 file.
559398ab 21627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
21628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21629 file.
559398ab 21630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
21631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21632 VIS3 routines.
559398ab
DM
21633
21634 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21635 New file.
21636
5a1c1e32
DM
21637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21638
eae47a36
DM
21639 * sysdeps/sparc/configure.in: New file.
21640 * sysdeps/sparc/configure: Generate.
21641 * configure.in (libc_cv_sparc_as_vis3): Substitute.
21642 * configure: Regenerate.
21643 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21644 * config.make.in (have-as-vis3): New.
21645 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21646 available use -Av9d instead of -Av9a.
21647 * sysdeps/sparc/sparc64/Makefile: Likewise.
21648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
21649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21650 New file.
21651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21652 file.
21653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21654 New file.
21655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21656 file.
eae47a36
DM
21657 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21658 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21659 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21660 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21661 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21662
c0c83bc8
DM
21663 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21664 fzeros/fnegs to load 0x80000000 into a float register instead of
21665 using the stack.
7bd951ff
DM
21666 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21667
bd951ccb
JM
216682012-03-14 Joseph Myers <joseph@codesourcery.com>
21669
21670 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21671 bits/syscall.h.
21672 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21673 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21674 ($(inst_includedir)/bits/syscall.h): Remove rule.
21675 ($(objpfx)bits/syscall.d): Include instead of
21676 $(objpfx)syscall-list.d.
21677 (generated): Change syscall-list.h and syscall-list.d to
21678 bits/syscall.h and bits/syscall.d.
21679
bb4e6db2
RM
216802012-03-14 Roland McGrath <roland@hack.frob.com>
21681
21682 [BZ #13846]
21683 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21684
aa4a2ae1
JM
216852012-03-14 Joseph Myers <joseph@codesourcery.com>
21686
e456826d
JM
21687 [BZ #13841]
21688 * math/s_csqrt.c: Include <float.h>.
21689 (__csqrt): Scale large or subnormal inputs.
21690 * math/s_csqrtf.c: Likewise.
21691 * math/s_csqrtl.c: Likewise.
21692 * math/libm-test.inc (csqrt_test): Add more tests.
21693 * sysdeps/i386/fpu/libm-test-ulps: Update.
21694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21695
aa4a2ae1
JM
21696 [BZ #13840]
21697 * math/libm-test.inc (hypot_test): Add more tests.
21698
7c10fd35
DM
216992012-03-13 David S. Miller <davem@davemloft.net>
21700
21701 [BZ #13840]
21702 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21703 double-precision for the calculation instead of scaling.
21704
f453b98b
JM
217052012-03-13 Joseph Myers <joseph@codesourcery.com>
21706
21707 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21708 manipulate bits before adding and subtracting TWO52[sx].
21709 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21710 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21711 Likewise.
21712 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21713
09a3453f
DM
217142012-03-13 David S. Miller <davem@davemloft.net>
21715
8e59da90
DM
21716 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21717 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21718 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21719 rtld-global-offsets.h
21720 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21721
2a8ab7f2
DM
21722 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21723 large parameters.
21724
10f62770
DM
21725 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21726
5f0bdb18
DM
21727 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21728 'err' in the ifdef scope in which it is actually used.
21729
09a3453f
DM
21730 * nss/nss_db/db-init.c: Include string.h
21731
b4b2eb5e
DM
217322012-03-12 David S. Miller <davem@davemloft.net>
21733
98bb2f1c
DM
21734 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21735 masking out of the most significant byte of random value used.
21736 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21737 Fix coding style in previous change.
21738
b4b2eb5e
DM
21739 * sysdeps/unix/sysv/linux/kernel-features.h
21740 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21741 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21742 expression.
21743 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21744 later.
21745
6e226b09
DM
217462012-03-11 David S. Miller <davem@davemloft.net>
21747
a1bcbd40
DM
21748 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21749 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
21750 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
21751 for 'resultvar' otherwise things get truncated on 64-bit.
21752
cb9d6174
DM
21753 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21754 Fix masking out of the most significant byte of random value used.
21755
6e226b09
DM
21756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21757
058c132d
AS
217582012-03-10 Andreas Schwab <schwab@linux-m68k.org>
21759
21760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21761
2d2cd515
DM
217622012-03-09 David S. Miller <davem@davemloft.net>
21763
21764 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
21765 variables with appropriate CPP guards.
21766 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
21767 frame pointer, not the stack pointer. Correct layout comments. Fix test
21768 on resulting framesize and the management of the outregs buffer for pltexit.
21769 Preserve floating point return values across _dl_call_pltexit call.
21770 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
21771 framesize and the management of the outregs buffer for pltexit.
21772 Preserve floating point return values across _dl_call_pltexit
21773 call.
21774 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
21775 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
21776 (print_exit): Fix format string for return register value.
21777
9a07f9d0
JM
217782012-03-10 Joseph Myers <joseph@codesourcery.com>
21779
21780 * sunrpc/Makefile (others): Add rpcgen.
21781 ($(objpfx)rpcgen): Remove special build rule and dependency on
21782 libc.
21783 * sunrpc/rpcgen.c: New file.
21784
547b5e30
PE
217852012-03-09 Paul Eggert <eggert@cs.ucla.edu>
21786
c524201a
PE
21787 [BZ #13673]
21788 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
21789 * stdio-common/bug-vfprintf-nargs.c: Likewise.
21790 * sysdeps/i386/crti.S: Likewise.
21791 * sysdeps/i386/crtn.S: Likewise.
21792 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
21793 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
21794 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
21795 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
21796 * sysdeps/sh/crti.S: Likewise.
21797 * sysdeps/sh/crtn.S: Likewise.
21798 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21799
7b6235f2
PE
21800 [BZ #13673]
21801 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
21802 with URL.
21803 * locale/programs/locfile-kw.gperf: Likewise.
21804 * locale/programs/charmap-kw.h: Regenerated.
21805 * locale/programs/locfile-kw.h: Likewise.
21806
547b5e30
PE
21807 [BZ #13673]
21808 * intl/plural.y: Replace FSF snail mail address with URL.
21809 * intl/plural.c: Regenerated.
21810
5f0a5dae
RH
218112012-03-09 Richard Henderson <rth@twiddle.net>
21812
21813 * include/math_private.h: Remove file.
21814 * math/math_private.h: Move file ...
21815 * sysdeps/generic/math_private.h: ... here.
21816
b8c03620
RH
21817 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
21818 * sysdeps/powerpc/fpu/math_private.h: Likewise.
21819 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21820
4e234f5d 21821 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
21822 and <math_private.h>.
21823 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21824 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21825 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21826 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21827 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21828 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
21829 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21830 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21831 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21832 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21833 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21834 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21835 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21836 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21837 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21838 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21839 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21840 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21841 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21842 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21843 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21844 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21845 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21846 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21847 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21848 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21849 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21850 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21851 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21852 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21853 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21854 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21855 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21856 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21857 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21858 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21859 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21860 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21861 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21862 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21863 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
21864 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21865 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21866 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21867 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21868 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21869 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
21870 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21871 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21872 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21873 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21874 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
21875 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21876 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21877 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21878 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21879 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21880 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21881 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21882 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
21883 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21884 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21885 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21886 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21887 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
21888 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21889 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21890 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21891 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
21892 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
21893 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21894 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21895 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21896 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21897 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
21898 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
21899 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
21900 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21901 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
21902 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
21903 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21904 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
21905 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21906 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21907 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21908 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
21909 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
21910 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
21911 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21912 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21913 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21914 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21915 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21916 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21917 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21918 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21919 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21920 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21921 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21922 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21923 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21924 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21925 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21926 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21927 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21928 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21929 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21930 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21931 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21932 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21933 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21934 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21935 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21936 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21937 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
21938 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21939 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21940 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21941 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21942 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21943 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21944 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21945 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21946 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
21947 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21948 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21949 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21950 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
21951 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21952 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
21953 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
21954 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21955 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21956 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
21957 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
21958 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21959 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21960 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21961 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
21962 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21963 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21964 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21965 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21966 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
21967 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
21968 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21969 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21970 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21971 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
21972 * sysdeps/ieee754/k_standard.c: Likewise.
21973 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21974 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21975 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21976 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21977 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21978 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21979 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21980 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21981 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21982 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21983 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21984 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21985 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21986 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21987 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21988 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21989 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21990 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21991 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21992 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
21993 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
21994 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
21995 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21996 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21997 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21998 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21999 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22000 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22001 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22002 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22003 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22004 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22005 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22006 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22007 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22008 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22009 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22010 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22011 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22012 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22013 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22014 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22015 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22016 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22017 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22018 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22019 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22020 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22021 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22022 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22023 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22024 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22025 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22026 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22027 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22028 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22029 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22030 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22031 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22032 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22033 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22034 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22035 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22036 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22037 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22038 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22039 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22040 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22041 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22042 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22043 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22044 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22045 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22046 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22047 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22048 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22049 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22050 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22051 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22052 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22053 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22054 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22055 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22056 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22057 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22058 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22059 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22060 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22061 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22062 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22063 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22064 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22065 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22066 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22067 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22068 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22069 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22070 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22071 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22072 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22073 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22074 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22075 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22076 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22077 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22078 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22079 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22080 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22081 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22082 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22083 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22084 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22085 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22086 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22087 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22088 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22089 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22090 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22091 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22092 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22093 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22094 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22095 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22096 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22097 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22098 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22099 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22100 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22101 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22102 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22103 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22104 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22105 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22106 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22107 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22108 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22109 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22110 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22111 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22112 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22113 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22114 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22115 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22116 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22117 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22118 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22119 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22120 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22121 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22122 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22123 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22124 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22125 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22126 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22127 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22128 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22129 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22130 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22131 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22132 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22133 * sysdeps/ieee754/s_lib_version.c: Likewise.
22134 * sysdeps/ieee754/s_matherr.c: Likewise.
22135 * sysdeps/ieee754/s_signgam.c: Likewise.
22136 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22137 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22138 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22139 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22140 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22141 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22142 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22143 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22144 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22145 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22146 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22147 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22148 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22149 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22150 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22151 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22152 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22153 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22154 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22155 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22156 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22157
1991fa03
JM
221582012-03-09 Joseph Myers <joseph@codesourcery.com>
22159
22160 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22161 * sunrpc/rpc_main.c: Likewise.
22162 * sunrpc/rpc_svcout.c: Likewise.
22163
60d6f5a6
DM
221642012-03-09 David S. Miller <davem@davemloft.net>
22165
22166 * include/math_private.h: New file.
22167
4962050e
JM
221682012-03-09 Joseph Myers <joseph@codesourcery.com>
22169
02a6f887
JM
22170 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22171 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22172 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22173 from <bits/socket_type.h>.
22174 (enum __socket_type): Don't define here.
22175 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22176 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22177 bits/socket_type.h.
22178
c6e013c1
JM
22179 [BZ #13566]
22180 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22181 checking __USE_GNU.
22182
4962050e
JM
22183 * Makerules ($(inst_includedir)/%.h): New rule.
22184 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22185 (install-others): Remove variable setting.
22186 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22187
38842f45
RH
221882012-03-08 Richard Henderson <rth@twiddle.net>
22189
67bb6da6
RH
22190 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22191 from macro to inline function; merge with the
22192 !__LIBC_INTERNAL_MATH_INLINES version.
22193 (__ieee754_sqrtf): Likewise.
22194
15194b4b
RH
22195 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22196 to inline function.
22197 (__rintf, __floor, __floorf): Likewise.
22198
64e21ede
RH
22199 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22200 macro to inline function.
22201 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22202
38842f45
RH
22203 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22204 not <math/math_private.h>.
22205
c64bf5fe
DM
222062012-03-08 David S. Miller <davem@davemloft.net>
22207
22208 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22209 copyright year.
22210 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22211
82d86f28
TS
222122012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22213
22214 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22215 normalization.
22216 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22217 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22218
aea5d727
UD
222192012-03-08 Ulrich Drepper <drepper@gmail.com>
22220
22221 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22222 be defined individually, they must be defined as a block. Define
22223 S for printing a string instead of hidint the different by using a
22224 macro for adding the 'l'.
22225 * stdio-common/tst-fphex-wide.c: Adjust.
22226
70bca0a3
MP
222272012-03-07 Marek Polacek <polacek@redhat.com>
22228
22229 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22230
65b81130
MP
222312012-03-08 Marek Polacek <polacek@redhat.com>
22232
22233 [BZ #13806]
22234 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22235 * stdio-common/tst-fphex.c: Define a few macros to make the
22236 test reusable. Use them.
22237 * stdio-common/tst-fphex-wide.c: New file.
22238
07037eeb
JM
222392012-03-08 Joseph Myers <joseph@codesourcery.com>
22240
a7a93d50
JM
22241 [BZ #6911]
22242 * manual/macros.texi (gnusystems): New macro.
22243 (nongnusystems): Likewise.
22244 (gnulinuxhurdsystems): Likewise.
22245 (gnuhurdsystems): Likewise..
22246 (gnulinuxsystems): Likewise.
22247 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22248 variants of the GNU system, not "GNU system".
22249 * manual/conf.texi: Likewise.
22250 * manual/errno.texi: Likewise. Update example of errno macro
22251 expansion.
22252 * manual/filesys.texi: Likewise.
22253 (getumask): Document as specific to GNU/Hurd.
22254 * manual/install.texi: Likewise. Reword some references to
22255 GNU/Linux.
22256 * manual/intro.texi: Likewise.
22257 * manual/io.texi: Likewise.
22258 (File Name Portability): Detail which constraints are inapplicable
22259 to all GNU systems and which are only inapplicable to GNU/Hurd.
22260 * manual/job.texi: Likewise.
22261 * manual/llio.texi: Likewise.
22262 (O_NOCTTY): Document as present on GNU/Linux.
22263 * manual/maint.texi: Likewise.
22264 * manual/memory.texi: Likewise.
22265 * manual/pattern.texi: Likewise.
22266 * manual/pipe.texi: Likewise.
22267 * manual/process.texi: Likewise.
22268 * manual/resource.texi: Likewise.
22269 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22270 child on GNU/Hurd.
22271 * manual/setjmp.texi: Likewise.
22272 * manual/signal.texi: Likewise.
22273 * manual/startup.texi: Likewise.
22274 * manual/stdio.texi: Likewise.
22275 * manual/terminal.texi: Likewise.
22276 (ONLCR): Document as POSIX.
22277 (OXTABS): Document availability on GNU/Linux as XTABS.
22278 (ONOEOT): Document availability separately from other bits.
22279 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22280 * manual/time.texi: Likewise.
22281 * manual/users.texi: Likewise.
22282 * INSTALL: Regenerated.
22283 * sysdeps/gnu/errlist.c: Regenerated.
22284
07037eeb
JM
22285 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22286 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22287 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22288 puts.
22289 * configure: Regenerated.
22290
d1d3431a
JM
222912012-03-07 Joseph Myers <joseph@codesourcery.com>
22292
af6a1e37
JM
22293 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22294 default includes instead of AC_HEADER_CHECK.
22295 * sysdeps/i386/configure: Regenerated.
22296
d1d3431a
JM
22297 [BZ #10716]
22298 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22299 * math/s_cacoshf.c (__cacoshf): Likewise.
22300 * math/s_cacoshl.c (__cacoshl): Likewise.
22301 * math/s_casinh.c (__casinh): Set signs of result from argument.
22302 * math/s_casinhf.c (__casinhf): Likewise.
22303 * math/s_casinhl.c (__casinhl): Likewise.
22304 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22305 (casinh_test): Add more tests.
22306 * sysdeps/i386/fpu/libm-test-ulps: Update.
22307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22308
482ff4da
UD
223092012-03-07 Ulrich Drepper <drepper@gmail.com>
22310
872fda05
UD
22311 * po/zh_TW.po: Update from translation team.
22312
a4300c7a
UD
22313 * login/Makefile (distribute): Remove variable.
22314 * catgets/Makefile: Likewise.
22315 * mach/Makefile: Likewise.
22316 * malloc/Makefile: Likewise.
22317 * misc/Makefile: Likewise.
22318 * iconv/Makefile: Likewise.
22319 * nscd/Makefile: Likewise.
22320 * hurd/Makefile: Likewise.
22321 * manual/Makefile: Likewise.
22322 * locale/Makefile: Likewise.
22323 * intl/Makefile: Likewise.
22324 * conform/Makefile: Likewise.
22325 * nss/Makefile: Likewise.
22326 * time/Makefile: Likewise.
22327 * soft-fp/Makefile: Likewise.
22328 * dirent/Makefile: Likewise.
22329 * gmon/Makefile: Likewise.
22330 * po/Makefile: Likewise.
22331 * rt/Makefile: Likewise.
22332 * socket/Makefile: Likewise.
22333 * math/Makefile: Likewise.
22334 * signal/Makefile: Likewise.
22335 * debug/Makefile: Likewise.
22336 * elf/Makefile: Likewise.
22337 * timezone/Makefile: Likewise.
22338 * stdlib/Makefile: Likewise.
22339 * iconvdata/Makefile: Likewise.
22340 * sunrpc/Makefile: Likewise.
22341 * io/Makefile: Likewise.
22342 * argp/Makefile: Likewise.
22343 * inet/Makefile: Likewise.
22344 * hesiod/Makefile: Likewise.
22345 * grp/Makefile: Likewise.
22346 * csu/Makefile: Likewise.
22347 * wctype/Makefile: Likewise.
22348 * crypt/Makefile: Likewise.
22349 * libio/Makefile: Likewise.
22350 * string/Makefile: Likewise.
22351 * nis/Makefile: Likewise.
22352 * resolv/Makefile: Likewise.
22353 * stdio-common/Makefile: Likewise.
22354 * wcsmbs/Makefile: Likewise.
22355 * dlfcn/Makefile: Likewise.
22356 * posix/Makefile: Likewise.
22357
3b7c4e74 22358 [BZ #6959]
482ff4da
UD
22359 * timezone/Makefile: Don't install timezone files, just the programs
22360 and scripts.
22361
f72ed77d
UD
223622012-03-06 Ulrich Drepper <drepper@gmail.com>
22363
a000466f
UD
22364 * nss/databases.def: Add missing gshadow entry.
22365
f72ed77d
UD
22366 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22367
a53b7a4e
MP
223682012-03-06 Marek Polacek <polacek@redhat.com>
22369
22370 [BZ #13726]
22371 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22372 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22373 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22374 * stdio-common/tst-long-dbl-fphex.c: New file.
22375
e9258400
DM
223762012-03-06 David S. Miller <davem@davemloft.net>
22377
22378 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22379 (set_obp_int): New function.
22380 (get_obp_int): New function.
22381 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
22382 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22383 Avoid unused variable warnings on 'val' and use builtin_expect.
22384 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22385 __builtin_expect.
e9258400
DM
22386 (INLINE_CLONE_SYSCALL): Likewise.
22387
3bd2c723
DM
223882012-03-05 David S. Miller <davem@davemloft.net>
22389
22390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22391
bbb78d03
AS
223922012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22393
884c5db4
AS
22394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22395
bbb78d03
AS
22396 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22397 only for |x| >= 40.
22398 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22399
1c9f702a 224002012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
22401
22402 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22403 Replace gettimeofday with __vdso_gettimeofday.
22404
7be16f82
RM
22405 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22406 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22407 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
22408
22409 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22410 time with __vdso_time.
22411
ed58a00f
JM
224122012-03-05 Joseph Myers <joseph@codesourcery.com>
22413
22414 * manual/lang.texi (size_t): Note types to which size_t may be
22415 equivalent with the GNU C Library, but do not describe when
22416 differences between them are significant.
22417
30ee4ced
AJ
224182012-03-05 Andreas Jaeger <aj@suse.de>
22419
22420 * sysdeps/i386/fpu/libm-test-ulps: Update.
22421
b7cd39e8
JM
224222012-03-05 Joseph Myers <joseph@codesourcery.com>
22423
22424 [BZ #3976]
22425 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22426 (__ieee754_pow): Save and restore rounding mode and use
22427 round-to-nearest for main computations.
22428 * math/libm-test.inc (pow_test_tonearest): New function.
22429 (pow_test_towardzero): Likewise.
22430 (pow_test_downward): Likewise.
22431 (pow_test_upward): Likewise.
22432 (main): Call the new functions.
22433 * sysdeps/i386/fpu/libm-test-ulps: Update.
22434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
22435
22436 [BZ #3976]
22437 * math/libm-test.inc (cosh_test_tonearest): New function.
22438 (cosh_test_towardzero): Likewise.
22439 (cosh_test_downward): Likewise.
22440 (cosh_test_upward): Likewise.
22441 (sinh_test_tonearest): Likewise.
22442 (sinh_test_towardzero): Likewise.
22443 (sinh_test_downward): Likewise.
22444 (sinh_test_upward): Likewise.
22445 (main): Call the new functions.
22446 * sysdeps/i386/fpu/libm-test-ulps: Update.
22447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22448
6c6a98c9
TV
224492012-03-05 Tom de Vries <tom@codesourcery.com>
22450
22451 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22452 default stack guard is set in last bytes.
22453 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22454
21bb2d2e 224552012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 22456
21bb2d2e 22457 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 22458
21bb2d2e
AJ
22459 [BZ #13656]
22460 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22461 possibly allocate from heap instead of stack.
22462 * stdio-common/bug-vfprintf-nargs.c: New file.
22463 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 22464
c6922934
AS
224652012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22466
22467 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22468
bc957d53
MP
224692012-03-03 Marek Polacek <polacek@redhat.com>
22470
22471 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22472 * math/math_private.h: Likewise.
22473 * stdlib/tst-strtod.c: Likewise.
22474 * sysdeps/i386/i486/bits/atomic.h: Likewise.
22475 * sysdeps/x86_64/bits/atomic.h: Likewise.
22476
6358490d
DM
224772012-03-02 David S. Miller <davem@davemloft.net>
22478
22479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22483 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22484 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22485 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22486 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22487
01ae168d
RM
224882012-03-02 Roland McGrath <roland@hack.frob.com>
22489
d9a17c07
RM
22490 [BZ #13792]
22491 * manual/examples/README: New file, says the example source files
22492 can be used under GPL>=2.
22493 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22494 line containing just "*/".
22495 * manual/examples/add.c: Add copyright header (GPL>=2).
22496 * manual/examples/argp-ex1.c: Likewise.
22497 * manual/examples/argp-ex2.c: Likewise.
22498 * manual/examples/argp-ex3.c: Likewise.
22499 * manual/examples/argp-ex4.c: Likewise.
22500 * manual/examples/atexit.c: Likewise.
22501 * manual/examples/db.c: Likewise.
22502 * manual/examples/dir.c: Likewise.
22503 * manual/examples/dir2.c: Likewise.
22504 * manual/examples/execinfo.c: Likewise.
22505 * manual/examples/filecli.c: Likewise.
22506 * manual/examples/filesrv.c: Likewise.
22507 * manual/examples/fmtmsgexpl.c: Likewise.
22508 * manual/examples/genpass.c: Likewise.
22509 * manual/examples/inetcli.c: Likewise.
22510 * manual/examples/inetsrv.c: Likewise.
22511 * manual/examples/isockad.c: Likewise.
22512 * manual/examples/longopt.c: Likewise.
22513 * manual/examples/memopen.c: Likewise.
22514 * manual/examples/memstrm.c: Likewise.
22515 * manual/examples/mkfsock.c: Likewise.
22516 * manual/examples/mkisock.c: Likewise.
22517 * manual/examples/mygetpass.c: Likewise.
22518 * manual/examples/pipe.c: Likewise.
22519 * manual/examples/popen.c: Likewise.
22520 * manual/examples/rprintf.c: Likewise.
22521 * manual/examples/search.c: Likewise.
22522 * manual/examples/select.c: Likewise.
22523 * manual/examples/setjmp.c: Likewise.
22524 * manual/examples/sigh1.c: Likewise.
22525 * manual/examples/sigusr.c: Likewise.
22526 * manual/examples/stpcpy.c: Likewise.
22527 * manual/examples/strdupa.c: Likewise.
22528 * manual/examples/strftim.c: Likewise.
22529 * manual/examples/strncat.c: Likewise.
22530 * manual/examples/subopt.c: Likewise.
22531 * manual/examples/swapcontext.c: Likewise.
22532 * manual/examples/termios.c: Likewise.
22533 * manual/examples/testopt.c: Likewise.
22534 * manual/examples/testpass.c: Likewise.
22535 * manual/examples/timeval_subtract.c: Likewise.
22536
01ae168d
RM
22537 [BZ #13792]
22538 * manual/time.texi (Elapsed Time): Move timeval_subtract example
22539 function to ...
22540 * manual/timeval_subtract.c.texi: ... here, new file.
22541
49efa33d
DM
225422012-03-02 David S. Miller <davem@davemloft.net>
22543
22544 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22545
28afd92d
JM
225462012-03-02 Joseph Myers <joseph@codesourcery.com>
22547
804360ed
JM
22548 [BZ #3976]
22549 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22550 (__sin): Save and restore rounding mode and use round-to-nearest
22551 for all computations.
22552 (__cos): Save and restore rounding mode and use round-to-nearest
22553 for all computations.
22554 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22555 <fenv.h>.
22556 (tan): Save and restore rounding mode and use round-to-nearest for
22557 all computations.
22558 * math/libm-test.inc (cos_test_tonearest): New function.
22559 (cos_test_towardzero): Likewise.
22560 (cos_test_downward): Likewise.
22561 (cos_test_upward): Likewise.
22562 (sin_test_tonearest): Likewise.
22563 (sin_test_towardzero): Likewise.
22564 (sin_test_downward): Likewise.
22565 (sin_test_upward): Likewise.
22566 (tan_test_tonearest): Likewise.
22567 (tan_test_towardzero): Likewise.
22568 (tan_test_downward): Likewise.
22569 (tan_test_upward): Likewise.
22570 (main): Call the new functions.
22571 * sysdeps/i386/fpu/libm-test-ulps: Update.
22572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22573
a6d06d7b
JM
22574 [BZ #10135]
22575 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22576 small n, then large n, before computing and testing k+n.
22577 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22578 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22579 Likewise.
22580 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22581 Likewise.
22582 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22583 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22584 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22585 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22586 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22587 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22588 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22589 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22590 * math/libm-test.inc (scalbn_test): Add more tests.
22591 (scalbln_test): Likewise.
22592
07e12bb3
JM
22593 * manual/filesys.texi (mode_t): Describe constraints on size and
22594 signedness, not exact equivalence to a particular type.
22595 (ino_t): Likewise.
22596 (ino64_t): Likewise.
22597 (dev_t): Likewise.
22598 (nlink_t): Likewise.
22599 (blkcnt_t): Likewise.
22600 (blkcnt64_t): Likewise.
22601 * manual/llio.texi (off_t): Likewise.
22602
28afd92d
JM
22603 [BZ #3976]
22604 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22605 (__ieee754_exp): Save and restore rounding mode and use
22606 round-to-nearest for all computations.
22607 * math/libm-test.inc (exp_test_tonearest): New function.
22608 (exp_test_towardzero): Likewise.
22609 (exp_test_downward): Likewise.
22610 (exp_test_upward): Likewise.
22611 (main): Call the new functions.
22612 * sysdeps/i386/fpu/libm-test-ulps: Update.
22613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22614
b1eeb65d
CD
226152012-03-01 Chris Demetriou <cgd@google.com>
22616
22617 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22618 have predictable order.
22619
53362a4b
DM
226202012-03-01 David S. Miller <davem@davemloft.net>
22621
3c969083
DM
22622 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22623
759707de
DM
22624 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22625 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22626 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22627 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22628
dfdb8ff2
DM
22629 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22630 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22631 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22633 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22634 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22635 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22636 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22637 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22638
ead89f96
DM
22639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22640
7f66bd07
DM
22641 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22642 * sysdeps/sparc/fpu/libm-test-ulps: to here.
22643 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22644
53362a4b
DM
22645 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22646 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22647 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22648 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22649 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22650 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22651 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22652 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22653 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22654 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22655 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22656 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22657 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22658 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22659 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22660 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22661 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22662 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22663 * sysdeps/sparc/elf/configure: Regenerated.
22664
7b1902cb
JM
226652012-03-01 Joseph Myers <joseph@codesourcery.com>
22666
bec039bc
JM
22667 * configure.in (AS, LD): Require binutils 2.20 or later.
22668 * configure: Regenerated.
22669 * manual/install.texi (Tools for Compilation): Give binutils 2.20
22670 as required minimum version.
22671 * INSTALL: Regenerated.
22672
7b1902cb
JM
22673 [BZ #2541]
22674 [BZ #4108]
22675 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22676 before squaring exponent.
22677 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22678 bottom long double and 27 bits of top long double before squaring
22679 exponent.
22680 * math/libm-test.inc (erfc_test): Add more tests.
22681 * sysdeps/i386/fpu/libm-test-ulps: Update.
22682 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22684
f775c276
KT
226852012-03-01 Kai Tietz <ktietz@redhat.com>
22686
22687 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22688 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22689 containing bit-fields.
22690 * soft-fp/extended.h (_FP_UNION_E): Likewise.
22691 * soft-fp/single.h (_FP_UNION_S): Likewise.
22692 * soft-fp/double.h (_FP_UNION_D): Likewise.
22693
5b8a4d4a
JM
226942012-02-29 Joseph Myers <joseph@codesourcery.com>
22695
0bab47b6
JM
22696 [BZ #13786]
22697 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22698 not include ../strcmp.S.
22699 [USE_AS_STRNCASECMP_L]: Likewise.
22700 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22701 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22702 * sysdeps/i386/i686/multiarch/strncase_l-c.c
22703 (__strncasecmp_l_ia32): Define as alias to
22704 __strncasecmp_l_nonascii.
22705
0fcad3e2
JM
22706 [BZ #5794]
22707 * math/libm-test.inc (expm1_test): Add test for bug 5794.
22708 * sysdeps/i386/fpu/libm-test-ulps: Update.
22709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22710
5b8a4d4a
JM
22711 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22713
8fdceb2e
JL
227142012-02-29 Jeff Law <law@redhat.com>
22715
22716 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22717 out of bounds read.
22718
1f393a11
MP
227192012-02-29 Marek Polacek <polacek@redhat.com>
22720
22721 [BZ #13706]
22722 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22723 * elf/Makefile: Add rules to run tst-unused-dep.out.
22724
8847f037
DM
227252012-02-28 David S. Miller <davem@davemloft.net>
22726
22727 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22728 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22729 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22730 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22731 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22732 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22733
169d7f11
JM
227342012-02-29 Joseph Myers <joseph@codesourcery.com>
22735
22736 * math/libm-test.inc (llround_test): Move one test from
22737 lround_test. Use TEST_f_L in moved test.
22738 (lround_test): Move misplaced test to llround_test. Add testcase
22739 from bug 2561.
22740
39adf059
UD
227412012-02-28 Ulrich Drepper <drepper@gmail.com>
22742
22743 * sysdeps/x86_64/fpu/e_expf.S: New file.
22744 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22745
71b5d1c5
SB
227462012-02-28 Stanislav Brabec <sbrabec@suse.cz>
22747
22748 [BZ #13637]
22749 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
22750 of remain_len that may cause incomplete multi-byte character and
22751 false match.
22752 * posix/bug-regex33.c: New file.
22753 * posix/Makefile (tests): Add bug-regex33.
22754
1f77f049
JM
227552012-02-28 Joseph Myers <joseph@codesourcery.com>
22756
22757 * manual/macros.texi: New file.
22758 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
22759 * manual/libc.texinfo: Include macros.texi.
22760 * manual/creatute.texi: Likewise.
22761 * manual/install.texi: Likewise.
22762 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
22763 @glibcadj{} in references to the GNU C Library.
22764 * manual/charset.texi: Likewise.
22765 * manual/conf.texi: Likewise.
22766 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
22767 when not using those macros.
22768 * manual/creature.texi: Likewise.
22769 * manual/crypt.texi: Likewise.
22770 * manual/errno.texi: Likewise.
22771 * manual/filesys.texi: Likewise.
22772 * manual/header.texi: Likewise.
22773 * manual/install.texi: Likewise.
22774 * manual/intro.texi: Likewise.
22775 * manual/io.texi: Likewise.
22776 * manual/job.texi: Likewise.
22777 * manual/lang.texi: Likewise.
22778 * manual/libc.texiinfo: Likewise.
22779 * manual/llio.texi: Likewise.
22780 * manual/locale.texi: Likewise.
22781 * manual/maint.texi: Likewise.
22782 * manual/math.texi: Likewise.
22783 * manual/memory.texi: Likewise.
22784 * manual/message.texi: Likewise.
22785 * manual/nss.texi: Likewise.
22786 * manual/pattern.texi: Likewise.
22787 * manual/process.texi: Likewise.
22788 * manual/resource.texi: Likewise.
22789 * manual/search.texi: Likewise.
22790 * manual/setjmp.texi: Likewise.
22791 * manual/signal.texi: Likewise.
22792 * manual/socket.texi: Likewise.
22793 * manual/startup.texi: Likewise.
22794 * manual/stdio.texi: Likewise.
22795 * manual/string.texi: Likewise.
22796 * manual/sysinfo.texi: Likewise.
22797 * manual/syslog.texi: Likewise.
22798 * manual/terminal.texi: Likewise.
22799 * manual/time.texi: Likewise.
22800 * manual/users.texi: Likewise.
22801 * INSTALL: Regenerated.
22802 * NOTES: Regenerated.
d40c5d54 22803 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 22804
450bf206
AS
228052012-02-28 Andreas Schwab <schwab@linux-m68k.org>
22806
22807 * include/dirent.h: Include <dirstream.h> before
22808 <dirent/dirent.h>.
22809
741a235b
DM
228102012-02-28 David S. Miller <davem@davemloft.net>
22811
22812 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
22813 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
22814 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
22815 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
22816
d6b5aa58
DM
228172012-02-27 David S. Miller <davem@davemloft.net>
22818
1aff59a3
DM
22819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
22820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
22821 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
22822 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
22823
d6b5aa58
DM
22824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
22825 frame pointer instead of stack pointer relative arg slot.
22826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22827 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22828 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22829
433f48bf
CD
228302012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
22831
22832 [BZ #3992]
22833 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
22834
d674b76d
DM
228352012-02-27 David S. Miller <davem@davemloft.net>
22836
22837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
22838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
22841 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22842 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22843 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
22844 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
22845
0e7727f7
JM
228462012-02-27 Joseph Myers <joseph@codesourcery.com>
22847
22848 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
22849 later. Allow versions 5-9.
43be4ca2 22850 * configure: Regenerated.
0e7727f7
JM
22851 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
22852 required minimum version and 4.6 as recommended version. Do not
22853 mention bugs in GCC 2.7 and 2.8.
43be4ca2 22854 * INSTALL: Regenerated.
0e7727f7 22855
a78bc654
DM
228562012-02-27 David S. Miller <davem@davemloft.net>
22857
428d5830
DM
22858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
22859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
22860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
22861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
22862 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
22863 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
22864 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
22865 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
22866
a78bc654
DM
22867 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
22868 manipulate bits before adding and subtracting TWO112[sx].
22869 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22870
4579f81c
RM
228712012-02-27 Roland McGrath <roland@hack.frob.com>
22872
36c8acb4
RM
22873 [BZ #13775]
22874 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
22875 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
22876 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
22877 being in POSIX, because they are in 1003.1-2008.
22878
84ad622b
RM
22879 * rt/tst-aio.c: Include <fcntl.h>.
22880 * rt/tst-aio7.c: Likewise.
22881 * rt/tst-aio64.c: Likewise.
22882
4579f81c
RM
22883 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
22884
abd923db
JM
228852012-02-27 Joseph Myers <joseph@codesourcery.com>
22886
22887 * manual/install.texi (--with-headers): Describe headers as
22888 interface headers, not private headers.
22889 (Specific advice for GNU/Linux systems): Describe use of headers
22890 from "make headers_install", not private headers from older
22891 kernels.
43be4ca2 22892 * INSTALL: Regenerated.
abd923db
JM
22893 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
22894 Change to 2.6.19.
22895 * sysdeps/unix/sysv/linux/configure: Regenerated.
22896
6664049b
JM
22897 * manual/llio.texi (fclean): Remove documentation.
22898
bb8b6697
JM
22899 * manual/Makefile (libc-texi-generated): New variable. Include
22900 version.texi.
22901 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
22902 $(libc-texi-generated), not duplicated list of files.
22903 (version.texi, stamp-version): New rules.
22904 (realclean): Remove $(libc-texi-generated), not individual files
22905 from that list. Do not remove dir-add.texinfo.
22906 * manual/libc.texinfo: Comment out uses of edition numbers and
22907 references to printed manual. Remove last-updated dates.
22908 (EDITION): Comment out.
22909 (ISBN): Likewise.
22910 (VERSION, UPDATED): Remove.
22911 (version.texi): Include.
22912
12e5c3b9
AS
229132012-02-27 Andreas Schwab <schwab@linux-m68k.org>
22914
22915 * sysdeps/posix/spawni.c: Include <signal.h>.
22916 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
22917 * sysdeps/pthread/aio_fsync.c: Likewise.
22918
4efeffc1 229192012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 22920
ba63ba08
UD
22921 * conform/Makefile (tests): Run only when not cross-compiling and
22922 when fast-check is not defined.
22923
d94a4670
UD
22924 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
22925 * conform/data/limits.h-data: Fixes for POSIX2008.
22926 * conform/run-conformtest.sh: Run all tests.
22927 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
22928 headers.
22929 * include/bits/dlfcn.h: Likewise.
22930 * include/langinfo.h: Likewise.
22931 * include/monetary.h: Likewise.
22932 * include/sys/poll.h: Likewise.
22933
22934 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
22935 for __USE_GNU.
22936 * posix/spawn.h: Define __need_sigset_t.
22937 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
22938 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
22939 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
22940 to get sigevent_t only.
22941 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
22942 only for __USE_GNU.
22943 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22944 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22945 process_vm_writev only for __USE_GNU.
22946 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
22947
22948 * conform/Makefile: For now ignore errors from run-conformtest.
22949 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
22950 POSIX to avoid namespace pollution. Don't prepend headers.
22951 * conform/data/aio.h-data: Fixes for POSIX testing.
22952 * conform/data/fcntl.h-data: Likewise.
22953 * conform/data/glob.h-data: Likewise.
22954 * conform/data/grp.h-data: Likewise.
22955 * conform/data/pthread.h-data: Likewise.
22956 * conform/data/pwd.h-data: Likewise.
22957 * conform/data/signal.h-data: Likewise.
22958 * conform/data/spawn.h-data: Likewise.
22959 * conform/data/stdio.h-data: Likewise.
22960 * conform/data/stdlib.h-data: Likewise.
22961 * conform/data/stropts.h-data: Likewise.
22962 * conform/data/sys/mman.h-data: Likewise.
22963 * conform/data/sys/stat.h-data: Likewise.
22964 * conform/data/sys/types.h-data: Likewise.
22965 * conform/data/sys/wait.h-data: Likewise.
22966 * conform/data/time.h-data: Likewise.
22967 * conform/data/unistd.h-data: Likewise.
22968 * conform/data/utime.h-data: Likewise.
22969
22970 * io/sys/stat.h: fchmod was always in POSIX.
22971 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
22972 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
22973 * rt/aio.h: Define __need_timespec before including <time.h>.
22974 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
22975 struct. Add forward declaration of pthread_attr_t and use it in
22976 sigevent.
22977 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22978 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22979 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
22980 always remove CLK_TCK definition.
22981
c20105c3
AS
229822012-02-26 Andreas Schwab <schwab@linux-m68k.org>
22983
22984 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
22985
7a270350
UD
229862012-02-25 Ulrich Drepper <drepper@gmail.com>
22987
31341567
UD
22988 * conform/run-conformtest.sh: New file.
22989 * conform/Makefile: Run run-conformtest for tests.
22990 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
22991 support.
22992
22993 * conform/data/uchar.h-data: New file.
22994 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
22995 * conform/data/arpa/inet.h-data: Likewise.
22996 * conform/data/assert.h-data: Likewise.
22997 * conform/data/complex.h-data: Likewise.
22998 * conform/data/cpio.h-data: Likewise.
22999 * conform/data/ctype.h-data: Likewise.
23000 * conform/data/dirent.h-data: Likewise.
23001 * conform/data/dlfcn.h-data: Likewise.
23002 * conform/data/errno.h-data: Likewise.
23003 * conform/data/fcntl.h-data: Likewise.
23004 * conform/data/float.h-data: Likewise.
23005 * conform/data/fmtmsg.h-data: Likewise.
23006 * conform/data/fnmatch.h-data: Likewise.
23007 * conform/data/ftw.h-data: Likewise.
23008 * conform/data/glob.h-data: Likewise.
23009 * conform/data/grp.h-data: Likewise.
23010 * conform/data/iconv.h-data: Likewise.
23011 * conform/data/inttypes.h-data: Likewise.
23012 * conform/data/langinfo.h-data: Likewise.
23013 * conform/data/libgen.h-data: Likewise.
23014 * conform/data/limits.h-data: Likewise.
23015 * conform/data/locale.h-data: Likewise.
23016 * conform/data/math.h-data: Likewise.
23017 * conform/data/monetary.h-data: Likewise.
23018 * conform/data/mqueue.h-data: Likewise.
23019 * conform/data/ndbm.h-data: Likewise.
23020 * conform/data/net/if.h-data: Likewise.
23021 * conform/data/netdb.h-data: Likewise.
23022 * conform/data/netinet/in.h-data: Likewise.
23023 * conform/data/nl_types.h-data: Likewise.
23024 * conform/data/poll.h-data: Likewise.
23025 * conform/data/pthread.h-data: Likewise.
23026 * conform/data/pwd.h-data: Likewise.
23027 * conform/data/regex.h-data: Likewise.
23028 * conform/data/sched.h-data: Likewise.
23029 * conform/data/search.h-data: Likewise.
23030 * conform/data/semaphore.h-data: Likewise.
23031 * conform/data/setjmp.h-data: Likewise.
23032 * conform/data/signal.h-data: Likewise.
23033 * conform/data/spawn.h-data: Likewise.
23034 * conform/data/stdarg.h-data: Likewise.
23035 * conform/data/stdio.h-data: Likewise.
23036 * conform/data/stdlib.h-data: Likewise.
23037 * conform/data/string.h-data: Likewise.
23038 * conform/data/strings.h-data: Likewise.
23039 * conform/data/stropts.h-data: Likewise.
23040 * conform/data/sys/ipc.h-data: Likewise.
23041 * conform/data/sys/mman.h-data: Likewise.
23042 * conform/data/sys/msg.h-data: Likewise.
23043 * conform/data/sys/resource.h-data: Likewise.
23044 * conform/data/sys/select.h-data: Likewise.
23045 * conform/data/sys/sem.h-data: Likewise.
23046 * conform/data/sys/shm.h-data: Likewise.
23047 * conform/data/sys/socket.h-data: Likewise.
23048 * conform/data/sys/stat.h-data: Likewise.
23049 * conform/data/sys/statvfs.h-data: Likewise.
23050 * conform/data/sys/time.h-data: Likewise.
23051 * conform/data/sys/timeb.h-data: Likewise.
23052 * conform/data/sys/times.h-data: Likewise.
23053 * conform/data/sys/types.h-data: Likewise.
23054 * conform/data/sys/uio.h-data: Likewise.
23055 * conform/data/sys/un.h-data: Likewise.
23056 * conform/data/sys/utsname.h-data: Likewise.
23057 * conform/data/sys/wait.h-data: Likewise.
23058 * conform/data/syslog.h-data: Likewise.
23059 * conform/data/tar.h-data: Likewise.
23060 * conform/data/termios.h-data: Likewise.
23061 * conform/data/utime.h-data: Likewise.
23062 * conform/data/utmpx.h-data: Likewise.
23063 * conform/data/varargs.h-data: Likewise.
23064 * conform/data/wchar.h-data: Likewise.
23065 * conform/data/wctype.h-data: Likewise.
23066 * conform/data/wordexp.h-data: Likewise.
23067
23068 * include/stropts.h: New file.
23069 * include/uchar.h: New file.
23070 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23071 * include/assert.h: Likewise.
23072 * include/ctype.h: Likewise.
23073 * include/dirent.h: Likewise.
23074 * include/dlfcn.h: Likewise.
23075 * include/fcntl.h: Likewise.
23076 * include/fnmatch.h: Likewise.
23077 * include/glob.h: Likewise.
23078 * include/grp.h: Likewise.
23079 * include/libio.h: Likewise.
23080 * include/locale.h: Likewise.
23081 * include/math.h: Likewise.
23082 * include/net/if.h: Likewise.
23083 * include/netdb.h: Likewise.
23084 * include/netinet/in.h: Likewise.
23085 * include/pthread.h: Likewise.
23086 * include/pwd.h: Likewise.
23087 * include/regex.h: Likewise.
23088 * include/sched.h: Likewise.
23089 * include/search.h: Likewise.
23090 * include/setjmp.h: Likewise.
23091 * include/signal.h: Likewise.
23092 * include/stdio.h: Likewise.
23093 * include/stdlib.h: Likewise.
23094 * include/string.h: Likewise.
23095 * include/sys/cdefs.h: Likewise.
23096 * include/sys/mman.h: Likewise.
23097 * include/sys/msg.h: Likewise.
23098 * include/sys/resource.h: Likewise.
23099 * include/sys/select.h: Likewise.
23100 * include/sys/socket.h: Likewise.
23101 * include/sys/stat.h: Likewise.
23102 * include/sys/statvfs.h: Likewise.
23103 * include/sys/time.h: Likewise.
23104 * include/sys/times.h: Likewise.
23105 * include/sys/uio.h: Likewise.
23106 * include/sys/utsname.h: Likewise.
23107 * include/sys/wait.h: Likewise.
23108 * include/termios.h: Likewise.
23109 * include/time.h: Likewise.
23110 * include/ulimit.h: Likewise.
23111 * include/unistd.h: Likewise.
23112 * include/utime.h: Likewise.
23113 * include/wchar.h: Likewise.
23114 * include/wctype.h: Likewise.
23115 * include/wordexp.h: Likewise.
23116
23117 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23118
7a270350
UD
23119 * time/time.h: TIME_UTC must be a macro.
23120 Make timespec_get available for ISO C11 only as well.
23121
7724defc
UD
231222012-02-24 Ulrich Drepper <drepper@gmail.com>
23123
23124 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23125 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23126
6b1d1d46
JM
231272012-02-24 Joseph Myers <joseph@codesourcery.com>
23128
23129 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23130
0f8bbd69
JM
231312012-02-24 Joseph Myers <joseph@codesourcery.com>
23132
23133 * manual/texinfo.tex: Update to version 2012-01-19.16.
23134
66ab80bc
JM
231352012-02-24 Joseph Myers <joseph@codesourcery.com>
23136
23137 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23138
74981cc5
RM
231392012-02-24 Roland McGrath <roland@hack.frob.com>
23140
ee968201
RM
23141 [BZ #13738]
23142 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23143 * manual/fdl-1.3.texi: New file.
23144 * manual/fdl-1.1.texi: File removed.
23145
74981cc5
RM
23146 [BZ #13738]
23147 * manual/libc.texinfo (FDL_VERSION): New @set.
23148 Use it for mention of FDL in cover text.
23149 (Documentation License): Use it in @include file name.
23150
7bb764bc
JM
231512012-02-22 Joseph Myers <joseph@codesourcery.com>
23152 Roland McGrath <roland@hack.frob.com>
23153
23154 [BZ #5461]
23155 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23156 not LONG_LONG_MAX and LONG_LONG_MIN.
23157 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23158 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23159 name.
23160 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23161
6cbeae47
JM
231622012-02-22 Joseph Myers <joseph@codesourcery.com>
23163
23164 [BZ #2547]
23165 [BZ #11365]
23166 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23167 manipulate bits before adding and subtracting TWO23[sx].
23168 * math/libm-test.inc (nearbyint_test): Add more tests.
23169
fe45ce09
JM
231702012-02-22 Joseph Myers <joseph@codesourcery.com>
23171
23172 [BZ #2548]
23173 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23174 bits before adding and subtracting TWO23[sx].
23175 * math/libm-test.inc (rint_test): Add more tests.
23176 (rint_test_tonearest): Likewise.
23177 (rint_test_towardzero): Likewise.
23178 (rint_test_downward): Likewise.
23179 (rint_test_upward: Likewise.
23180
ff3b3d82
JM
231812012-02-22 Joseph Myers <joseph@codesourcery.com>
23182
23183 [BZ #10110]
23184 * include/stdc-predef.h: New file. Extracted from features.h.
23185 * include/features.h: Include stdc-predef.h.
23186 * Makefile (headers): Add stdc-predef.h.
23187 * CONFORMANCE (Compiler limitations): Update.
23188
ef0aab35
JM
231892012-02-22 Joseph Myers <joseph@codesourcery.com>
23190
23191 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23192
58639409
DM
231932012-02-21 David S. Miller <davem@davemloft.net>
23194
23195 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23196 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23197
c0e70b25
DM
231982012-02-20 David S. Miller <davem@davemloft.net>
23199
23200 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23201 using a normal save/restore sequence, rather than allocating a
23202 dummy stack frame just to store a frame pointer and restore.
23203 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23204
fb06851d
JM
232052012-02-21 Joseph Myers <joseph@codesourcery.com>
23206
23207 * manual/install.texi: Fix stray word in line-wrapped comment.
23208
7a8b71c3
DM
232092012-02-20 David S. Miller <davem@davemloft.net>
23210
d510c123
DM
23211 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23212 both binutils and gcc support GOTDATA.
23213
0722d7c2
DM
23214 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23215 "rd %pc" in the PIC register setup sequences.
23216
3d2b3019
DM
23217 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23218 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23219 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23220 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23221 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23222 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23223 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23224 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23225 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23226 (SYSCALL_ERROR_HANDLER): Likewise.
23227 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23228 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23229 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23230 (SYSCALL_ERROR_HANDLER): Likewise.
23231
c80098a9
DM
23232 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23233 (HAVE_GCC_GOTDATA): New.
23234 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23235 relocation support in both binutils and gcc.
23236 * sysdeps/sparc/elf/configure: Regenerate.
23237
3a2545a0
DM
23238 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23239 * sysdeps/sparc/sparc32/elf/configure: Delete.
23240 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23241 * sysdeps/sparc/sparc64/elf/configure: Delete.
23242 * sysdeps/sparc/elf/configure.in: New file.
23243 * sysdeps/sparc/elf/configure: Generate.
23244
7a8b71c3
DM
23245 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23246 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23247 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23248 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23249 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23250
f1e86fca
JM
232512012-02-21 Joseph Myers <joseph@codesourcery.com>
23252
23253 * manual/install.texi: Do not mention specific glibc version
23254 numbers.
23255 * manual/libc.texinfo (VERSION, UPDATED): Update.
23256 (@copying): Use @copyright{} and range of years.
23257
0e7dfaef
JM
232582012-02-21 Joseph Myers <joseph@codesourcery.com>
23259
23260 [BZ #13695]
23261 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23262 [crti.S not in sysdirs] (generated): Do not append.
23263 [crti.S not in sysdirs] (omit-deps): Likewise.
23264 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23265 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23266 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23267 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23268 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23269 Likewise.
23270 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23271 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23272 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23273 * csu/defs.awk: Remove file.
23274 * sysdeps/generic/initfini.c: Likewise.
23275 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23276 variable.
23277 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23278 Likewise.
23279
599af3ca
JM
232802012-02-20 Joseph Myers <joseph@codesourcery.com>
23281
23282 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23283 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23284 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23285 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23286 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23287 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23288 <bits/epoll.h>.
23289 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23290 (__EPOLL_PACKED): Define to empty if not defined by
23291 <bits/epoll.h>.
23292 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23293 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23294 bits/epoll.h.
23295
0e499750
JM
232962012-02-20 Joseph Myers <joseph@codesourcery.com>
23297
23298 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23299 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23300 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23301 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23302 <bits/timerfd.h>.
23303 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23304 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23305 bits/timerfd.h.
23306
5ad91f6e
JM
233072012-02-20 Joseph Myers <joseph@codesourcery.com>
23308
23309 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23310 in C locale.
23311 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23312 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23313 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23315
06b99b02
AJ
233162012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23317
23318 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23319 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23320
7638c0fd
AS
233212012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23322
23323 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23324 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23325 defined.
23326 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23327 Likewise.
23328 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23329 entry for 2.16.
23330
92221550
AJ
233312012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23332
23333 * math/w_acos.c: Use non-signaling floating-point comparisons.
23334 * math/w_acosf.c: Likewise.
23335 * math/w_acosh.c: Likewise.
23336 * math/w_acoshf.c: Likewise.
23337 * math/w_acoshl.c: Likewise.
23338 * math/w_acosl.c: Likewise.
23339 * math/w_asin.c: Likewise.
23340 * math/w_asinf.c: Likewise.
23341 * math/w_asinl.c: Likewise.
23342 * math/w_atanh.c: Likewise.
23343 * math/w_atanhf.c: Likewise.
23344 * math/w_atanhl.c: Likewise.
23345 * math/w_exp2.c: Likewise.
23346 * math/w_exp2f.c: Likewise.
23347 * math/w_exp2l.c: Likewise.
23348 * math/w_j0.c: Likewise.
23349 * math/w_j0f.c: Likewise.
23350 * math/w_j0l.c: Likewise.
23351 * math/w_j1.c: Likewise.
23352 * math/w_j1f.c: Likewise.
23353 * math/w_j1l.c: Likewise.
23354 * math/w_jn.c: Likewise.
23355 * math/w_jnf.c: Likewise.
23356 * math/w_log.c: Likewise.
23357 * math/w_log10.c: Likewise.
23358 * math/w_log10f.c: Likewise.
23359 * math/w_log10l.c: Likewise.
23360 * math/w_log2.c: Likewise.
23361 * math/w_log2f.c: Likewise.
23362 * math/w_log2l.c: Likewise.
23363 * math/w_logf.c: Likewise.
23364 * math/w_logl.c: Likewise.
23365 * math/w_sqrt.c: Likewise.
23366 * math/w_sqrtf.c: Likewise.
23367 * math/w_sqrtl.c: Likewise.
23368 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23369 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23370 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23371 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23372 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23373
ebaf36eb
JM
233742012-02-19 Joseph Myers <joseph@codesourcery.com>
23375
23376 [BZ #9739]
23377 * manual/string.texi (strnlen): Use correct parameter name in
23378 equivalent expression.
23379
71c254a6
JM
233802012-02-19 Joseph Myers <joseph@codesourcery.com>
23381
23382 [BZ #11174]
23383 * manual/users.texi (seteuid): Consistently use neweuid for
23384 argument name.
23385
16d2c631
JM
233862012-02-19 Joseph Myers <joseph@codesourcery.com>
23387
23388 [BZ #13704]
23389 * manual/nss.texi (Services in the NSS configuration): Correct
23390 list of services in example configuration file.
23391
cd837b09
NB
233922012-02-19 Nick Bowler <nbowler@draconx.ca>
23393
23394 [BZ #11322]
23395 * manual/arith.texi: Remove statements about negative zero
23396 behaving identically to zero.
23397
02c4bbad
JM
233982012-02-18 Joseph Myers <joseph@codesourcery.com>
23399
23400 [BZ #5993]
23401 * manual/install.texi: Do not document upgrading from libc5.
23402
366842e7
JM
234032012-02-18 Joseph Myers <joseph@codesourcery.com>
23404
23405 [BZ #4596]
23406 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23407
dd54084d
DM
234082012-02-18 David S. Miller <davem@davemloft.net>
23409
23410 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23411 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23412 %o7 across the call.
23413 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23414 instead.
23415 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23416 SETUP_PIC_REG_LEAF.
23417 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23418 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23419 * sysdeps/sparc/crtn.S: Likewise.
23420
2bcc53a3
UD
234212012-02-17 Ulrich Drepper <drepper@gmail.com>
23422
23423 * aout/Makefile: Remove.
23424
09c093b5
RK
234252012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23426
23427 [BZ #13058]
23428 * manual/examples/argp-ex1.c (main): Format definition in GNU
23429 style.
23430 * manual/examples/argp-ex2.c (main): Likewise.
23431 * manual/examples/argp-ex3.c (main): Likewise.
23432 * manual/examples/argp-ex4.c (main): Likewise.
23433 * manual/examples/longopt.c (main): Use new-style prototype
23434 definition.
23435 * manual/examples/strncat.c (main): Specify return type and use
23436 (void) for arguments.
23437 * manual/examples/subopt.c (main): Use char **argv argument.
23438
2ee633a2
JM
234392012-02-17 Joseph Myers <joseph@codesourcery.com>
23440
23441 [BZ #5077]
23442 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23443 rounding modes.
23444
0520adde
FB
234452012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23446
23447 [BZ #6907]
23448 * manual/string.texi (strchr): Change when strchrnul is
23449 recommended.
23450
3f4081cd
DGM
234512012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23452
23453 [BZ #174]
23454 * manual/locale.texi (setlocale): Document LOCPATH.
23455
d1b10e78
JM
234562012-02-17 Joseph Myers <joseph@codesourcery.com>
23457
23458 [BZ #10210]
23459 * manual/process.texi (execle): Move @dots{} before last argument.
23460
79c6869c
PB
234612012-02-17 Paul Bolle <pebolle@tiscali.nl>
23462
23463 [BZ #12047]
23464 * manual/charset.texi (Generic Charset Conversion): Fix typo
23465 (LC_TYPE -> LC_CTYPE).
23466
cc6e48bc
NB
234672012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23468
23469 [BZ #5805]
23470 * manual/arith.texi (scalbn): Use @var{} on parameter names.
23471 (scalbnf): Likewise.
23472 (scalbnl): Likewise.
23473 (scalbln): Likewise.
23474 (scalblnf): Likewise.
23475 (scalblnl): Likewise.
23476 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23477 (vwarnx): Likewise.
23478 (verr): Likewise.
23479 (verrx): Likewise.
23480 * manual/filesys.texi (telldir): Use braces around return type.
23481 * manual/llio.texi (mmap): Add space after comma.
23482 (mmap64): Likewise.
23483 * manual/math.texi (jn): Use @var{} on parameter names.
23484 (jnf): Likewise.
23485 (jnl): Likewise.
23486 (yn): Likewise.
23487 (ynf): Likewise.
23488 (ynl): Likewise.
23489 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23490 line.
23491 * manual/resource.texi (ulimit): Use @dots{} instead of literal
23492 "...".
23493 (sched_get_priority_min): Remove semicolon on @deftypefun line.
23494 (sched_get_priority_max): Likewise.
23495 * manual/signal.texi (sigvec): Add space after comma.
23496 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23497 names.
23498 (if_indextoname): Likewise.
23499 (if_freenameindex): Likewise.
23500 (sendto): Use ',' instead of '.' in prototype.
23501 * manual/startup.texi (syscall): Use @dots{} instead of literal
23502 "...".
23503 * manual/stdio.texi (__fpending): Separate initial words of
23504 paragraph from @deftypefun line.
23505 * manual/syslog.texi (syslog): Use @dots{} instead of literal
23506 "...".
23507 (vsyslog): Use @var{} on parameter names.
23508 * manual/terminal.texi (stty): Use @var{} on parameter names.
23509 * manual/users.texi (getutmp): Use @var{} on parameter names.
23510 (getutmpx): Likewise.
23511
5b23062f
JM
235122012-02-17 Joseph Myers <joseph@codesourcery.com>
23513
23514 [BZ #6884]
23515 * manual/stdio.texi (fopen): Fix typos in description of
23516 ",ccs=STRING".
23517
8dee4833
AJ
235182012-02-17 Aurelien Jarno <aurelien@aurel32.net>
23519
23520 [BZ #4026]
23521 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23522 get clock_id definition.
23523
9078ce93
TS
235242012-02-17 Thomas Schwinge <thomas@schwinge.name>
23525
23526 [BZ #4822]
23527 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23528 (madvise): Cast every argument to void on its own.
23529
3835c55f
JM
235302012-02-17 Joseph Myers <joseph@codesourcery.com>
23531
23532 [BZ #9902]
23533 * manual/startup.texi (Exit Status): Fix typo.
23534
35c47e37
JM
235352012-02-17 Joseph Myers <joseph@codesourcery.com>
23536
23537 [BZ #10140]
23538 * manual/examples/argp-ex1.c: Include <stdlib.h>.
23539 * manual/examples/argp-ex2.c: Likewise.
23540 * manual/examples/argp-ex3.c: Likewise.
23541
e3b69ca7
RH
235422012-02-16 Richard Henderson <rth@redhat.com>
23543
23544 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23545 * sysdeps/s390/s390-32/initfini.c: Remove.
23546 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23547 * sysdeps/s390/s390-64/initfini.c: Remove.
23548
df83af67
KK
235492012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23550
23551 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23552 compiler output for sysdeps/generic/initfini.c.
23553 * sysdeps/sh/elf/initfini.c: Remove file.
23554
f63f3380
DM
235552012-02-16 David S. Miller <davem@davemloft.net>
23556
fb59b3a4
DM
23557 [BZ #11494]
23558 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23559
f63f3380
DM
23560 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23561 * sysdeps/sparc/crti.S: New file.
23562 * sysdeps/sparc/crtn.S: New file.
23563 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23564 * sysdeps/sparc/sparc64/Makefile: Likewise.
23565
df6a4a4a
MF
235662012-02-15 Mike Frysinger <vapier@gentoo.org>
23567
6dd8f3dc 23568 [BZ #3335]
df6a4a4a
MF
23569 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23570
1cac7236
RM
235712012-02-15 Roland McGrath <roland@hack.frob.com>
23572
d2c736f8
RM
23573 [BZ #4822]
23574 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23575
1cac7236
RM
23576 * mach/devstream.c (cookie_io_functions_t): Macro removed.
23577 (write, read, close): Likewise.
23578 Patch by Aurelien Jarno <aurelien@aurel32.net>.
23579
8e475601
JM
235802012-02-15 Joseph Myers <joseph@codesourcery.com>
23581
23582 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23583 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23584 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23585 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23586 <bits/signalfd.h>.
23587 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23588 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23589 bits/signalfd.h.
23590
ed656b40
MP
235912012-02-14 Marek Polacek <polacek@redhat.com>
23592
23593 * sysdeps/x86_64/crti.S: New file.
23594 * sysdeps/x86_64/crtn.S: New file.
23595 * sysdeps/x86_64/elf/initfini.c: Remove file.
23596
2a979d3a
JM
235972012-02-13 Joseph Myers <joseph@codesourcery.com>
23598
23599 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23600 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23601 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23602 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23603 <bits/inotify.h>.
23604 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23605 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23606 bits/inotify.h.
23607
2a418ac3
JM
236082012-02-13 Joseph Myers <joseph@codesourcery.com>
23609
23610 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23611 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23612 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23613 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23614 <bits/eventfd.h>.
23615 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23616 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23617 bits/eventfd.h.
23618
fb779be7
TS
236192012-02-10 Thomas Schwinge <thomas@codesourcery.com>
23620
e19e83c5
RM
23621 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23622 __feraiseexcept instead of feraiseexcept.
7c35ffed 23623
fb779be7
TS
23624 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23625 nanosleep invocations.
23626 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23627 strings, and add error checking for a nanosleep invocations.
23628
59ba27a6
PE
236292012-02-09 Paul Eggert <eggert@cs.ucla.edu>
23630
23631 Replace FSF snail mail address with URLs, as per GNU coding standards.
23632 Most of the snail mail addresses were wrong anyway, and omitting
23633 them makes the source code easier to maintain. Almost all of the
23634 changes are to license notices and to locale LC_IDENTIFICATION
23635 addresses, except for this one:
23636 * manual/libc.texinfo: In "Published by", give the FSF's URL,
23637 not its snail mail address.
23638
57b957eb
RH
236392012-02-09 Richard Henderson <rth@twiddle.net>
23640
af850b1c
RH
23641 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23642 of kernel-features.h.
23643
57b957eb
RH
23644 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23645
6b73181a
MP
236462012-02-08 Marek Polacek <polacek@redhat.com>
23647
23648 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23649 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23650 * sysdeps/gnu/_G_config.h: Likewise.
23651 * sysdeps/generic/_G_config.h: Likewise.
23652
26ecc33a
AS
236532012-02-08 Andreas Schwab <schwab@linux-m68k.org>
23654
6c6dbc63
AS
23655 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23656 tests.
23657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23658
e216c012
AS
23659 * sysdeps/powerpc/powerpc32/crti.S: New file.
23660 * sysdeps/powerpc/powerpc32/crtn.S: New file.
23661 * sysdeps/powerpc/powerpc64/crti.S: New file.
23662 * sysdeps/powerpc/powerpc64/crtn.S: New file.
23663
26ecc33a
AS
23664 * Makeconfig (have-initfini): Don't set.
23665 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23666 * configure.in (nopic_initfini): Don't substitute.
23667 * config.h.in (HAVE_INITFINI): Don't #undef.
23668 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23669 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23670
3add8e13
JM
236712012-02-08 Joseph Myers <joseph@codesourcery.com>
23672
23673 Support crti.S and crtn.S provided directly by architectures.
23674 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23675 [crti.S in sysdirs] (omit-deps): Likewise.
23676 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23677 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23678 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23679 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23680 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23681 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23682 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23683 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23684 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23685 compiler output for sysdeps/generic/initfini.c.
23686 * sysdeps/i386/elf/Makefile: Remove file.
23687 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23688
a22f12b4
MP
236892012-02-07 Marek Polacek <polacek@redhat.com>
23690
23691 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23692 * sysdeps/gnu/_G_config.h: Likewise.
23693 * sysdeps/mach/hurd/_G_config.h: Likewise.
23694
148cf100
MP
236952012-02-07 Marek Polacek <polacek@redhat.com>
23696
23697 * math/Makefile (tests): Add tst-CMPLX2.
23698 * math/tst-CMPLX2.c: New file.
23699
cfdc0dd7
AS
237002012-02-07 Andreas Schwab <schwab@linux-m68k.org>
23701
84ba42c4
AS
23702 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23703
cfdc0dd7
AS
23704 * math/libm-test.inc (jn_test): Add missing L suffix.
23705
622c86f4
MP
237062012-02-06 Marek Polacek <polacek@redhat.com>
23707
23708 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23709 * sysdeps/i386/fpu/e_powf.S: Likewise.
23710 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23711 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23712 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23713 * sysdeps/i386/fpu/e_pow.S: Likewise.
23714 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23715 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23716 * sysdeps/i386/fpu/s_expm1.S: Likewise.
23717 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23718 * sysdeps/i386/fpu/e_log2.S: Likewise.
23719 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23720 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23721 * sysdeps/i386/fpu/e_powl.S: Likewise.
23722 * sysdeps/i386/fpu/s_log1p.S: Likewise.
23723 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23724 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23725 * sysdeps/i386/fpu/e_logl.S: Likewise.
23726 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23727 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23728 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23729 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23730 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23731 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23732 * sysdeps/i386/fpu/e_log.S: Likewise.
23733 * sysdeps/i386/fpu/s_cexp.S: Likewise.
23734 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23735 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23736 * sysdeps/i386/fpu/e_logf.S: Likewise.
23737 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23738 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23739 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23740 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23741 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23742 * sysdeps/i386/fpu/e_log10.S: Likewise.
23743 * sysdeps/i386/fpu/s_frexp.S: Likewise.
23744 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23745 * sysdeps/i386/fpu/s_asinh.S: Likewise.
23746 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23747 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23748 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23749 * sysdeps/i386/asm-syntax.h: Likewise.
23750 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23751 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23752 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23753 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
23754 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
23755 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23756 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23757 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23758 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23759 * sysdeps/powerpc/sysdep.h: Likewise.
23760 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23761 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23762
d4a54ac6
JM
237632012-02-06 Joseph Myers <joseph@codesourcery.com>
23764
23765 [BZ #411]
23766 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
23767
314054ea
JM
237682012-02-06 Joseph Myers <joseph@codesourcery.com>
23769
23770 * sysdeps/i386/sysdep.h: Include <features.h>.
23771 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
23772 version.
23773
d8e0ca50
JM
237742012-02-05 Joseph Myers <joseph@codesourcery.com>
23775
23776 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
23777 Define.
23778 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
23779 LOAD_PIC_REG_STR.
23780
b1da7dd9
JM
237812012-02-03 Joseph Myers <joseph@codesourcery.com>
23782
23783 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
23784 (SETUP_PIC_REG): Use GET_PC_THUNK.
23785 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
23786 macro.
23787
9a1d9254
JM
237882012-02-03 Joseph Myers <joseph@codesourcery.com>
23789
23790 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
23791 for non-PIC compilation.
23792 (SETUP_PIC_REG): Add .p2align directive.
23793 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
23794 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23795 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23796 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23797 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23798 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23799 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23800 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23801 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23802 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23803 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23804 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23805 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23806 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23807 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23808 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23809 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23810 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23811 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23812 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23813 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23814 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23815 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23816 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23817 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23818 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23819 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23820 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23821 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23822 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23823 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23824 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23825 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23826 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23827 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23828 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23829 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23830 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23831 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23832 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23833 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23834
65dc3b75
JM
238352012-02-03 Joseph Myers <joseph@codesourcery.com>
23836
23837 * math/tst-CMPLX.c: Include <stdio.h>.
23838
d55bf177
JM
238392012-01-31 Joseph Myers <joseph@codesourcery.com>
23840
23841 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
23842 float.
23843 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23844 * sysdeps/sparc/bits/mathdef.h: Likewise.
23845
69db4f8f
MP
238462012-01-31 Marek Polacek <polacek@redhat.com>
23847
23848 * libio/libio.h: Don't define _PARAMS.
23849 * locale/programs/config.h: Don't define PARAMS.
23850 * stdlib/strtol_l.c: Likewise.
23851 (__strtol_l): Remove PARAMS from the prototype.
23852
41b81892
UD
238532012-01-31 Ulrich Drepper <drepper@gmail.com>
23854
3b49edc0
UD
23855 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
23856 names. Just use the correct names. Remove unnecessary wrapper
23857 functions.
23858 * malloc/arena.c: Likewise.
23859 * malloc/hooks.c: Likewise.
23860
41b81892
UD
23861 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
23862 ARENA_TEST says not to. Simplify test for creation of a new arena.
23863 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
23864
27a25b6e
UD
238652012-01-30 Ulrich Drepper <drepper@gmail.com>
23866
23867 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
23868 into tail calls.
23869 (update_get_addr): New function.
23870 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
23871 GET_ADDR_MODULE parameter.
23872
c8a89e7d
JM
238732012-01-30 Joseph Myers <joseph@codesourcery.com>
23874
23875 * crypt/cert.c: Remove __STDC__ conditionals.
23876 * crypt/crypt-entry.c: Likewise.
23877 * crypt/crypt_util.c: Likewise.
23878 * libio/filedoalloc.c: Likewise.
23879 * libio/fileops.c: Likewise.
23880 * libio/genops.c: Likewise.
23881 * libio/iofclose.c: Likewise.
23882 * libio/iofdopen.c: Likewise.
23883 * libio/iofopen.c: Likewise.
23884 * libio/iofopen64.c: Likewise.
23885 * libio/iogetdelim.c: Likewise.
23886 * libio/iopopen.c: Likewise.
23887 * libio/obprintf.c: Likewise.
23888 * libio/oldfileops.c: Likewise.
23889 * libio/oldiofclose.c: Likewise.
23890 * libio/oldiofdopen.c: Likewise.
23891 * libio/oldiofopen.c: Likewise.
23892 * libio/oldiopopen.c: Likewise.
23893 * libio/wfiledoalloc.c: Likewise.
23894 * libio/wgenops.c: Likewise.
23895 * locale/programs/xmalloc.c: Likewise.
23896 * misc/syslog.c: Likewise.
23897 * stdio-common/xbug.c: Likewise.
23898 * string/memchr.c: Likewise.
23899 * string/memcmp.c: Likewise.
23900 * string/memrchr.c: Likewise.
23901 * string/rawmemchr.c: Likewise.
23902 * sysdeps/posix/getcwd.c: Likewise.
23903 * time/strftime_l.c: Likewise.
23904
3b100462
JM
239052012-01-30 Joseph Myers <joseph@codesourcery.com>
23906
23907 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
23908 * config.make.in (config-cflags-sse2avx): Define.
23909 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
23910 Fix typo.
23911
607998af
CM
239122012-01-29 Chris Metcalf <cmetcalf@tilera.com>
23913
23914 * scripts/config.guess: Update from upstream config git repository.
23915 * scripts/config.sub: Likewise.
23916
3601428f
CM
239172012-01-28 Chris Metcalf <cmetcalf@tilera.com>
23918
3ac8b282
CM
23919 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
23920 (EM_NUM): Update.
23921 (R_TILEPRO_*, R_TILEGX_*): New macros.
23922
e034841e
CM
23923 * scripts/firstversions.awk: Fix bug in version range handling.
23924
540d7568
CM
23925 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
23926
3601428f
CM
23927 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
23928
463de862
CM
23929 * include/sys/epoll.h: New file.
23930 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
23931 libc_hidden_def.
23932
73139a76
UD
239332012-01-28 Ulrich Drepper <drepper@gmail.com>
23934
96bc5b45
UD
23935 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
23936 Avoid unnecessary __WORDSIZE == 64 test.
23937 (fmaxf): Use VEX format if possible.
23938 (fmax): Likewise.
23939 (fminf): Likewise.
23940 (fmin): Likewise.
23941
56f6f6a2
UD
23942 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
23943 * math/math_private.h: Remove libc_fegetround* and
23944 libc_fesetround*.
23945 * sysdeps/i386/configure.in: Check for -msse2avx.
23946 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
23947 also if SSE2AVX is defined.
23948 Remove libc_fegetround* and libc_fesetround*.
23949 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
23950 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
23951 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
23952 of HAS_YMM_USABLE.
23953 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23954 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23955 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23956 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23957 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23958
73139a76
UD
23959 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
23960
d73f93a4
AZ
239612012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23962
23963 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
23964 size is not set.
23965 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23966
6ee65ed6
UD
239672012-01-27 Ulrich Drepper <drepper@gmail.com>
23968
23969 [BZ #13618]
23970 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
23971 relocation.
23972 * Makeconfig (libm): Define.
23973 * elf/Makefile: Add rules to build and run tst-relsort1.
23974 * elf/tst-relsort1.c: New file.
23975 * elf/tst-relsort1mod1.c: New file.
23976 * elf/tst-relsort1mod2.c: New file.
23977
8db21882
JM
239782012-01-27 Joseph Myers <joseph@codesourcery.com>
23979
23980 * math/s_ldexp.c: Remove __STDC__ conditionals.
23981 * math/s_ldexpf.c: Likewise.
23982 * math/s_ldexpl.c: Likewise.
23983 * math/s_nextafter.c: Likewise.
23984 * math/s_nexttowardf.c: Likewise.
23985 * math/s_significand.c: Likewise.
23986 * math/s_significandf.c: Likewise.
23987 * math/s_significandl.c: Likewise.
23988 * math/w_jnl.c: Likewise.
23989 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23990 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23991 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23992 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23993 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23994 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23995 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
23996 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23997 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23998 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23999 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24000 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24001 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24002 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24003 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24004 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24005 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24006 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24007 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24008 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24009 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24010 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24011 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24012 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24013 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24014 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24015 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24016 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24017 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24018 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24019 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24020 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24021 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24022 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24023 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24024 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24025 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24026 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24027 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24028 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24029 * sysdeps/ieee754/k_standard.c: Likewise.
24030 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24031 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24032 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24033 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24034 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24035 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24036 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24037 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24038 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24039 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24040 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24041 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24042 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24043 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24044 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24045 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24046 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24047 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24048 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24049 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24050 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24051 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24052 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24053 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24054 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24055 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24056 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24057 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24058 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24059 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24060 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24061 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24062 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24063 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24064 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24065 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24066 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24067 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24068 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24069 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24070 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24071 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24072 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24073 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24074 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24075 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24076 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24077 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24078 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24079 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24080 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24081 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24082 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24083 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24084 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24085 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24086 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24087 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24088 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24089 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24090 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24091 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24092 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24093 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24094 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24095 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24096 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24097 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24098 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24099 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24100 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24101 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24102 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24103 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24104 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24105 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24106 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24107 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24108 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24109 * sysdeps/ieee754/s_matherr.c: Likewise.
24110 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24111 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24112 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24113 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24114
965a54a4
JM
241152012-01-26 Joseph Myers <joseph@codesourcery.com>
24116
24117 * crypt/md5.h: Remove __STDC__ conditionals.
24118 * libio/libioP.h: Likewise.
24119 * locale/programs/config.h: Likewise.
24120 * sysdeps/generic/sysdep.h: Likewise.
24121 * sysdeps/i386/asm-syntax.h: Likewise.
24122 * sysdeps/s390/asm-syntax.h: Likewise.
24123 * sysdeps/unix/sysdep.h: Likewise.
24124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24126
7071ad79
JM
241272012-01-26 Joseph Myers <joseph@codesourcery.com>
24128
24129 * libio/libio.h: Remove __STDC__ conditionals.
24130 * malloc/obstack.h: Likewise.
24131 * math/complex.h: Likewise.
24132 * math/math.h: Likewise.
24133 * sysdeps/generic/_G_config.h: Likewise.
24134 * sysdeps/gnu/_G_config.h: Likewise.
24135 * sysdeps/mach/hurd/_G_config.h: Likewise.
24136 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24137 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24138 * sysdeps/sparc/bits/mathdef.h: Likewise.
24139
afc5ed09
UD
241402012-01-26 Ulrich Drepper <drepper@gmail.com>
24141
24142 [BZ #13583]
24143 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24144 Clean up HAS_* macros.
afc5ed09 24145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24146 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24147 possible.
24148 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24149 HAS_AVX.
24150 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24151 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24152 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24153 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24154 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24155
bdb6de1d
JM
241562012-01-25 Joseph Myers <joseph@codesourcery.com>
24157
24158 * elf/tst-unique3.cc (gets): Remove declaration.
24159 * elf/tst-unique3lib.cc (gets): Likewise.
24160 * elf/tst-unique3lib2.cc (gets): Likewise.
24161 * elf/tst-unique4.cc (gets): Likewise.
24162
b15549e6
UD
241632012-01-24 Ulrich Drepper <drepper@gmail.com>
24164
24165 * include/stdio.h: Add C++ protection. Add gets declarations and
24166 definitions.
24167 * debug/tst-chk1.c: Don't declare gets here.
24168 * stdio-common/tst-gets.c: Likewise.
24169
a037381f
JM
241702012-01-24 Joseph Myers <joseph@codesourcery.com>
24171
24172 * posix/glob: Remove directory.
24173
f1d4aa75
JM
241742012-01-24 Joseph Myers <joseph@codesourcery.com>
24175
24176 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24177
81c0c964
PT
241782012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24179
24180 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24181 of the non-standard EPFNOSUPPORT.
24182
0ea698ae
ST
241832011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24184
24185 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24186 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24187 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24188
d220b117
UD
241892012-01-21 Ulrich Drepper <drepper@gmail.com>
24190
24191 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24192
3e1aa84e
UD
241932012-01-20 Ulrich Drepper <drepper@gmail.com>
24194
24195 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24196 transient errors.
24197 * nscd/grpcache.c (cache_addgr): Likewise.
24198 * nscd/hstcache.c (cache_addhst): Likewise.
24199 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24200 * nscd/pwdcache.c (cache_addpw): Likewise.
24201 * nscd/servicescache.c (cache_addserv): Likewise.
24202
400aa020
UD
242032012-01-16 Ulrich Drepper <drepper@gmail.com>
24204
d77e7869
UD
24205 * malloc/malloc.c: Various cleanups.
24206 * malloc/hooks.c: Likewise.
24207
400aa020
UD
24208 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24209 * stdlib/bug-fmtmsg1.c: New file.
24210
24211 * stdlib/fmtmsg.c (init): Add missing unlock.
24212 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24213
e0a309cf
MP
242142012-01-12 Marek Polacek <polacek@redhat.com>
24215
24216 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24217 and _GNU_SOURCE.
24218
929d11c7
WS
242192012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24220
24221 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24222 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24223 macro to ensure uniqueness of label name.
24224 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24225 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24226
41d0e869
UD
242272012-01-11 Ulrich Drepper <drepper@gmail.com>
24228
0cc5ed3b
UD
24229 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24230
41d0e869
UD
24231 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24232 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24233 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24234 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24235
a47a831a
UD
242362012-01-10 Ulrich Drepper <drepper@gmail.com>
24237
daa891c0
UD
24238 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24239
24240 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24241 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24242 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24243
e58ef0f2
UD
24244 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24245
a47a831a 24246 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
24247 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24248 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 24249 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
24250
24251 * math/bits/math-finite.h: Add ldexp support.
24252
a0bfc9c7
MP
242532012-01-10 Marek Polacek <polacek@redhat.com>
24254
24255 * locale/programs/localedef.h (show_archive_content): Add noreturn
24256 attribute.
24257
d6e97a1d
UD
242582012-01-09 Ulrich Drepper <drepper@gmail.com>
24259
24260 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24261
d5835c26
UD
242622012-01-08 Ulrich Drepper <drepper@gmail.com>
24263
e5f484c6
UD
24264 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24265
d5835c26
UD
24266 * io/Makefile (headers): Add bits/poll2.h.
24267
d1f741e9
WS
242682011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24269
24270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24271 typo #include statement.
24272
ec09c1c4
UD
242732012-01-08 Ulrich Drepper <drepper@gmail.com>
24274
24275 * include/sys/cdefs.h: Define __attribute_alloc_size.
24276 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24277 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24278 * elf/pldd.c: Likewise.
24279 * iconv/iconv_charmap.c: Likewise.
24280 * iconv/iconvconfig.c: Likewise.
24281 * iconv/strtab.c: Likewise.
24282 * locale/programs/locale.c: Likewise.
24283 * locale/programs/localedef.h: Likewise.
24284 * locale/programs/simple-hash.c: Likewise.
24285 * nscd/nscd.h: Likewise.
24286 * nss/makedb.c: Likewise.
24287 * sysdeps/generic/ldconfig.h: Likewise.
24288 * locale/programs/localedef.c: Remove xmalloc prototype.
24289 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24290
20b38e03
PP
242912012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24292
24293 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24294 appropriate.
24295
a0da5fe1
UD
242962012-01-08 Ulrich Drepper <drepper@gmail.com>
24297
1d5a644a 24298 * math/Makefile (tests): Add tst-CMPLX.
669704fd 24299 * math/tst-CMPLX.c: New file.
1d5a644a 24300
8784a6db
UD
24301 * math/complex.h (CMPLXL): Fix typo.
24302
d9a216c0
UD
24303 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24304 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24305 GLIBC_2.16.
24306 * debug/tst-chk1.c: Add poll and ppoll tests.
24307 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24308 * include/sys/poll.h: Add hidden proto for ppoll.
24309 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24310 * sysdeps/mach/hurd/ppoll.c: Likewise.
24311 * io/ppoll.c: Likewise.
24312 * debug/poll_chk.c: New file.
24313 * debug/ppoll_chk.c: New file.
24314 * include/bits/poll2.h: New file.
24315 * io/bits/poll2.h: New file.
24316
ac097f5c
UD
24317 [BZ #1350]
24318 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24319
2119dcfa
UD
24320 * configure.in: static is always set to yes. Remove.
24321 * config.make.in: Don't set build-static.
24322 * Makeconfig: Remove use of build-static.
24323 * dlfcn/Makefile: Likewise.
24324 * elf/Makefile: Likewise.
24325 * math/Makefile: Likewise.
24326 * misc/Makefile: Likewise.
24327 * nptl/Makefile: Likewise.
24328 * sysdeps/mach/hurd/Makefile: Likewise.
24329
121766a9
UD
24330 * configure.in: PWD_P is not used anymore.
24331 * config.make.in: Remove PWD_P entry.
24332
51a1d39c 24333 * configure.in: Remove last remnants of RANLIB.
8720d066 24334 No need to check for signed size_t anymore.
215f4bdc
UD
24335 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24336 and IA-64.
3857022a 24337 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
24338 * aclocal.m4: Likewise.
24339
d3ed7225
UD
24340 * wcsmbs/mbrtoc16.c: Implement using towc function.
24341 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24342 * wcsmbs/wcsmbsload.c: Likewise.
24343 * iconv/gconv_simple.c: Likewise.
24344 * iconv/gconv_int.h: Likewise.
24345 * iconv/gconv_builtin.h: Likewise.
24346 * iconv/iconv_prog.c: Remove CHAR16 handling.
24347
24348 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24349
24350 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24351
a0da5fe1
UD
24352 * configure.in: Remove --with-elf and --enable-bounded options.
24353 Dont set base_machine for ia64. More non-ELF conditions removed.
24354 Remove testing and setting of leading underscore information.
24355 * config.make.in (build-bounded): Set to no.
24356 * config.h.in: Remove NO_UNDERSCORES entry.
24357 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24358 them.
24359 * csu/start.c: Remove !NO_UNDERSCORE code.
24360 * locale/localeinfo.h: Likewise.
24361 * sysdeps/generic/machine-gmon.h: Likewise.
24362 * sysdeps/generic/sysdep.h: Likewise.
24363 * sysdeps/i386/sysdep.h: Likewise.
24364 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24365 * sysdeps/mach/sysdep.h: Likewise.
24366 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24367 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24368 * sysdeps/sh/sysdep.h: Likewise.
24369 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24370 * sysdeps/unix/i386/sysdep.S: Likewise.
24371 * sysdeps/unix/sparc/start.c: Likewise.
24372 * sysdeps/unix/sparc/sysdep.S: Likewise.
24373 * sysdeps/unix/sparc/sysdep.h: Likewise.
24374 * sysdeps/unix/start.c: Likewise.
24375 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24376 * sysdeps/x86_64/sysdep.h: Likewise.
24377
df78418a
UD
243782012-01-07 Ulrich Drepper <drepper@gmail.com>
24379
a784e502
UD
24380 [BZ #13553]
24381 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24382 for non-gcc.
24383 * argp/argp-fmtstream.h: Use const instead __const.
24384 * argp/argp.h: Likewise.
24385 * assert/assert.h: Likewise.
24386 * bits/fenv.h: Likewise.
24387 * bits/sched.h: Likewise.
24388 * bits/sigset.h: Likewise.
24389 * bits/sigthread.h: Likewise.
24390 * catgets/nl_types.h: Likewise.
24391 * conform/data/pthread.h-data: Likewise.
24392 * crypt/crypt-private.h: Likewise.
24393 * crypt/crypt.h: Likewise.
24394 * crypt/crypt_util.c: Likewise.
24395 * ctype/ctype.h: Likewise.
24396 * debug/execinfo.h: Likewise.
24397 * debug/mbsnrtowcs_chk.c: Likewise.
24398 * debug/mbsrtowcs_chk.c: Likewise.
24399 * debug/wcsnrtombs_chk.c: Likewise.
24400 * debug/wcsrtombs_chk.c: Likewise.
24401 * debug/wcstombs_chk.c: Likewise.
24402 * dirent/dirent.h: Likewise.
24403 * dlfcn/dlfcn.h: Likewise.
24404 * elf/neededtest4.c: Likewise.
24405 * grp/grp.h: Likewise.
24406 * gshadow/gshadow.h: Likewise.
24407 * iconv/gconv.h: Likewise.
24408 * iconv/gconv_int.h: Likewise.
24409 * iconv/gconv_simple.c: Likewise.
24410 * iconv/iconv.h: Likewise.
24411 * iconv/loop.c: Likewise.
24412 * iconv/skeleton.c: Likewise.
24413 * include/aio.h: Likewise.
24414 * include/aliases.h: Likewise.
24415 * include/argz.h: Likewise.
24416 * include/arpa/inet.h: Likewise.
24417 * include/assert.h: Likewise.
24418 * include/dirent.h: Likewise.
24419 * include/dlfcn.h: Likewise.
24420 * include/execinfo.h: Likewise.
24421 * include/fcntl.h: Likewise.
24422 * include/fenv.h: Likewise.
24423 * include/glob.h: Likewise.
24424 * include/grp.h: Likewise.
24425 * include/libintl.h: Likewise.
24426 * include/mntent.h: Likewise.
24427 * include/netdb.h: Likewise.
24428 * include/pwd.h: Likewise.
24429 * include/rpc/netdb.h: Likewise.
24430 * include/sched.h: Likewise.
24431 * include/search.h: Likewise.
24432 * include/shadow.h: Likewise.
24433 * include/signal.h: Likewise.
24434 * include/stdio.h: Likewise.
24435 * include/stdlib.h: Likewise.
24436 * include/string.h: Likewise.
24437 * include/sys/socket.h: Likewise.
24438 * include/sys/stat.h: Likewise.
24439 * include/sys/statfs.h: Likewise.
24440 * include/sys/statvfs.h: Likewise.
24441 * include/sys/syslog.h: Likewise.
24442 * include/sys/time.h: Likewise.
24443 * include/sys/uio.h: Likewise.
24444 * include/time.h: Likewise.
24445 * include/unistd.h: Likewise.
24446 * include/utmp.h: Likewise.
24447 * include/wchar.h: Likewise.
24448 * include/wctype.h: Likewise.
24449 * inet/aliases.h: Likewise.
24450 * inet/arpa/inet.h: Likewise.
24451 * inet/netinet/ether.h: Likewise.
24452 * inet/netinet/in.h: Likewise.
24453 * intl/libintl.h: Likewise.
24454 * io/bits/fcntl2.h: Likewise.
24455 * io/fcntl.h: Likewise.
24456 * io/ftw.h: Likewise.
24457 * io/sys/poll.h: Likewise.
24458 * io/sys/stat.h: Likewise.
24459 * io/sys/statfs.h: Likewise.
24460 * io/sys/statvfs.h: Likewise.
24461 * io/utime.h: Likewise.
24462 * libio/bits/stdio.h: Likewise.
24463 * libio/bits/stdio2.h: Likewise.
24464 * libio/libio.h: Likewise.
24465 * libio/libioP.h: Likewise.
24466 * libio/stdio.h: Likewise.
24467 * locale/lc-ctype.c: Likewise.
24468 * locale/locale.h: Likewise.
24469 * login/utmp.h: Likewise.
24470 * malloc/arena.c: Likewise.
24471 * malloc/malloc.c: Likewise.
24472 * malloc/malloc.h: Likewise.
24473 * malloc/mcheck.c: Likewise.
24474 * malloc/mtrace.c: Likewise.
24475 * math/bits/mathcalls.h: Likewise.
24476 * math/fenv.h: Likewise.
24477 * math/math_private.h: Likewise.
24478 * misc/bits/error.h: Likewise.
24479 * misc/bits/syslog.h: Likewise.
24480 * misc/err.h: Likewise.
24481 * misc/error.h: Likewise.
24482 * misc/fstab.h: Likewise.
24483 * misc/mntent.h: Likewise.
24484 * misc/regexp.h: Likewise.
24485 * misc/search.h: Likewise.
24486 * misc/sgtty.h: Likewise.
24487 * misc/sys/mman.h: Likewise.
24488 * misc/sys/syslog.h: Likewise.
24489 * misc/sys/uio.h: Likewise.
24490 * misc/sys/xattr.h: Likewise.
24491 * misc/ttyent.h: Likewise.
24492 * nis/rpcsvc/ypclnt.h: Likewise.
24493 * nss/nss.h: Likewise.
24494 * posix/bits/unistd.h: Likewise.
24495 * posix/fnmatch.h: Likewise.
24496 * posix/glob.h: Likewise.
24497 * posix/sched.h: Likewise.
24498 * posix/spawn.h: Likewise.
24499 * posix/sys/wait.h: Likewise.
24500 * posix/unistd.h: Likewise.
24501 * posix/wordexp.h: Likewise.
24502 * pwd/pwd.h: Likewise.
24503 * resolv/netdb.h: Likewise.
24504 * resource/sys/resource.h: Likewise.
24505 * rt/aio.h: Likewise.
24506 * rt/bits/mqueue2.h: Likewise.
24507 * rt/mqueue.h: Likewise.
24508 * shadow/shadow.h: Likewise.
24509 * signal/signal.h: Likewise.
24510 * socket/send.c: Likewise.
24511 * socket/sendto.c: Likewise.
24512 * socket/sys/socket.h: Likewise.
24513 * stdio-common/printf.h: Likewise.
24514 * stdlib/bits/stdlib.h: Likewise.
24515 * stdlib/fmtmsg.h: Likewise.
24516 * stdlib/monetary.h: Likewise.
24517 * stdlib/stdlib.h: Likewise.
24518 * stdlib/ucontext.h: Likewise.
24519 * streams/stropts.h: Likewise.
24520 * string/argz.h: Likewise.
24521 * string/bits/string2.h: Likewise.
24522 * string/string.h: Likewise.
24523 * string/strings.h: Likewise.
24524 * sunrpc/rpc/auth.h: Likewise.
24525 * sunrpc/rpc/auth_des.h: Likewise.
24526 * sunrpc/rpc/clnt.h: Likewise.
24527 * sunrpc/rpc/netdb.h: Likewise.
24528 * sunrpc/rpc/pmap_clnt.h: Likewise.
24529 * sunrpc/rpc/xdr.h: Likewise.
24530 * sysdeps/generic/inttypes.h: Likewise.
24531 * sysdeps/generic/net/if.h: Likewise.
24532 * sysdeps/generic/sys/swap.h: Likewise.
24533 * sysdeps/gnu/net/if.h: Likewise.
24534 * sysdeps/gnu/utmpx.h: Likewise.
24535 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24536 * sysdeps/i386/i486/bits/string.h: Likewise.
24537 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24538 * sysdeps/s390/bits/string.h: Likewise.
24539 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24540 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24541 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24542 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24543 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24544 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24545 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24546 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24547 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24548 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24549 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24550 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24551 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24552 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24553 * sysdeps/unix/sysv/linux/readv.c: Likewise.
24554 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24555 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24556 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24557 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24558 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24559 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24560 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24561 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24562 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24563 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24564 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24565 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24566 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24567 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24568 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24569 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24570 * sysvipc/sys/ipc.h: Likewise.
24571 * sysvipc/sys/msg.h: Likewise.
24572 * sysvipc/sys/sem.h: Likewise.
24573 * sysvipc/sys/shm.h: Likewise.
24574 * termios/termios.h: Likewise.
24575 * time/sys/time.h: Likewise.
24576 * time/time.h: Likewise.
24577 * wcsmbs/bits/wchar2.h: Likewise.
24578 * wcsmbs/uchar.h: Likewise.
24579 * wcsmbs/wchar.h: Likewise.
24580 * wctype/wctype.h: Likewise.
24581
0269750c
UD
24582 [BZ #13551]
24583 * Makeconfig: Remove all but ELF support including AIX support.
24584 * Makerules: Likewise.
24585 * config.h.in: Likewise.
24586 * config.make.in: Likewise.
24587 * configure: Likewise.
24588 * configure.in: Likewise.
24589 * csu/Makefile: Likewise.
24590 * csu/version.c: Likewise.
24591 * debug/Makefile: Likewise.
24592 * dlfcn/Makefile: Likewise.
24593 * elf/Makefile: Likewise.
24594 * extra-lib.mk: Likewise.
24595 * iconv/Makefile: Likewise.
24596 * include/libc-symbols.h: Likewise.
24597 * include/shlib-compat.h: Likewise.
24598 * resolv/Makefile: Likewise.
24599 * resolv/res_libc.c: Likewise.
24600 * rt/Makefile: Likewise.
24601 * sysdeps/i386/asm-syntax.h: Likewise.
24602 * sysdeps/i386/sysdep.h: Likewise.
24603 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24604 * sysdeps/mach/sysdep.h: Likewise.
24605 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24606 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24607 * sysdeps/s390/asm-syntax.h: Likewise.
24608 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24609 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24610 * sysdeps/sh/sysdep.h: Likewise.
24611 * sysdeps/unix/sparc/sysdep.h: Likewise.
24612 * sysdeps/wordsize-32/divdi3.c: Likewise.
24613 * sysdeps/x86_64/sysdep.h: Likewise.
24614
00bbd29b
UD
24615 * argp/Versions: Remove _argp_unlock_xxx.
24616
24617 [BZ #13559]
24618 * abilist/ld.abilist: Update. Adjust for removal of tls option.
24619 * abilist/libBrokenLocale.abilist: Likewise.
24620 * abilist/libanl.abilist: Likewise.
24621 * abilist/libc.abilist: Likewise.
24622 * abilist/libcrypt.abilist: Likewise.
24623 * abilist/libdl.abilist: Likewise.
24624 * abilist/libm.abilist: Likewise.
24625 * abilist/libnsl.abilist: Likewise.
24626 * abilist/libpthread.abilist: Likewise.
24627 * abilist/libresolv.abilist: Likewise.
24628 * abilist/librt.abilist: Likewise.
24629 * abilist/libthread_db.abilist: Likewise.
24630 * abilist/libutil.abilist: Likewise.
24631 * abilist/libnss_db.abilist: New file.
24632
24633 * scripts/abilist.awk: Add support for indirect functions.
24634
a2693a0e
UD
24635 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24636
3f05895f
UD
24637 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24638
ecb6fb48
UD
24639 * shlib-versions: Remove entries for ports architectures.
24640
664f8cb9
UD
24641 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
24642 files in ports.
24643 * elf/stackguard-macros.h: Remove support for IA-64.
24644 * elf/tst-auditmod1.c: Likewise.
24645 * sysdeps/generic/ldsodefs.h: Likewise.
24646
7ae81d88
UD
24647 * sysdeps/unix/sysv/linux/configure.in: Ports should define
24648 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24649 configure files.
24650
bdeba135
UD
24651 [BZ #13552]
24652 * configure.in: Remove --enable-omitfp support.
24653 * FAQ.in: Adjust.
24654 * config.make.in: Likewise.
24655 * Makeconfig: Likewise.
24656 * manual/install.texi: Likewise.
24657
d75a0a62
UD
24658 In case anyone cares, the IA-64 architecture could move to ports.
24659 * sysdeps/ia64/*: Removed.
24660 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 24661 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 24662
dcc9756b
UD
24663 [BZ #13555]
24664 * configure.in: Remove entries for unsupported architectures.
24665
d3761ebc 24666 [BZ #13533]
9954432e
UD
24667 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24668 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
24669 routines.
24670 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24671 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24672 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
24673 fall back to using wcrtomb.
24674 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24675 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
24676 renaming.
24677 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24678 * wcsmbs/tst-c16c32-1.c: New file.
24679
24680 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24681 local variable.
24682
c3a87236
UD
24683 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24684
28926a1b
UD
24685 * elf/tst-unique3.cc: Add explicit declaration of gets.
24686 * elf/tst-unique3lib.cc: Likewise.
24687 * elf/tst-unique3lib2.cc: Likewise.
24688 * elf/tst-unique4.cc: Likewise.
24689
df78418a
UD
24690 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24691
8ecd6b2a
JM
246922012-01-06 Joseph Myers <joseph@codesourcery.com>
24693
24694 [BZ #13566]
24695 * assert/assert.h (static_assert): Don't define for C++.
24696 * libio/stdio.h (gets): Do declare for C++ <= C++11.
24697 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24698
9f115170
UD
246992012-01-03 Ulrich Drepper <drepper@gmail.com>
24700
5e0d0300
UD
24701 * iconv/loop.c (single loop): Fix assertion in storing of
24702 remaining bytes.
24703
9f115170
UD
24704 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24705
81fb02b0
UD
247062012-01-01 Ulrich Drepper <drepper@gmail.com>
24707
24708 * posix/getconf.c: Update copyright year.
24709 * nss/getent.c: Likewise.
a316c1f6 24710 * nss/makedb.c: Likewise.
81fb02b0
UD
24711 * iconv/iconvconfig.c: Likewise.
24712 * iconv/iconv_prog.c: Likewise.
24713 * elf/ldconfig.c: Likewise.
a316c1f6
UD
24714 * elf/pldd.c: Likewise.
24715 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
24716 * catgets/gencat.c: Likewise.
24717 * csu/version.c: Likewise.
24718 * elf/ldd.bash.in: Likewise.
24719 * elf/sprof.c (print_version): Likewise.
24720 * locale/programs/locale.c: Likewise.
24721 * locale/programs/localedef.c: Likewise.
a316c1f6 24722 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
24723 * nscd/nscd.c (print_version): Likewise.
24724 * debug/xtrace.sh: Likewise.
24725 * malloc/memusage.sh: Likewise.
24726 * malloc/mtrace.pl: Likewise.
24727 * debug/catchsegv.sh: Likewise.
24728
2ba92745
JJ
247292011-12-30 Jakub Jelinek <jakub@redhat.com>
24730
24731 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24732 pure attribute.
24733
dadebdae
UD
247342011-12-24 Ulrich Drepper <drepper@gmail.com>
24735
d3761ebc 24736 [BZ #13533]
db6af3eb
UD
24737 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24738 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24739 transformations.
24740 * iconv/gconv_int.h: Likewise.
24741 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24742 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24743 from libc for GLIBC_2.16.
24744 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24745 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
24746 * wcsmbs/uchar.h: Really define mbstate_t.
24747 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
24748 * wcsmbs/c16rtomb.c: New file.
24749 * wcsmbs/mbrtoc16.c: New file.
24750 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
24751 for C/POSIX locale.
24752 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
24753 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
24754
dadebdae
UD
24755 * wcsmbs/wchar.h: Add missing __restrict.
24756
67371b56
UD
247572011-12-23 Ulrich Drepper <drepper@gmail.com>
24758
74033a25
UD
24759 [BZ #13532]
24760 * time/Makefile (routines): Add timespec_get.
24761 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
24762 * time/time.h: Define TIME_UTC and declare timespec_get. Define
24763 timespec for ISO C11.
24764 * time/timespec_get.c: New file.
24765 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
24766 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
24767
380d7e87
UD
24768 [BZ #13531]
24769 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
24770 * stdlib/stdlib.h: Declare aligned_alloc.
24771 * Versions.def: Add GLIBC_2.16 for libc.
24772 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
24773
4e9e7a35
UD
24774 [BZ 13527]
24775 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
24776 ISO C11.
24777
380d7e87 24778 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
24779 code.
24780
03a71829
UD
24781 [BZ #13528]
24782 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
24783
839e283e
UD
24784 [BZ #13529]
24785 * assert/assert.h (static_assert): Define.
24786
ce5294e2 24787 * version.h: Update for 2.16 development version.
90fa7312 24788
8d44e150 24789 [BZ #13526]
d7809905
UD
24790 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
24791 _ISOC11_SOURCE.
24792
c0da14cd
UD
24793 * version.h (RELEASE): Bump for 2.15 release.
24794 * include/features.h (__GLIBC_MINOR__): Bump to 15.
24795
530a3249
MP
24796 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
24797 Patch by Marek Polacek <mpolacek@redhat.com>.
24798
67371b56
UD
24799 * bits/byteswap.h: Protect long long constants with __extension__.
24800 * sysdeps/i386/bits/byteswap.h: Likewise.
24801 * sysdeps/ia64/bits/byteswap.h: Likewise.
24802 * sysdeps/s390/bits/byteswap.h: Likewise.
24803 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24804
15db4de1
LD
248052011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24806
24807 [BZ #13540]
bbe315ea
LD
24808 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
24809 destination buffer.
15db4de1
LD
24810 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24811
2b2596b1
MP
248122011-12-23 Marek Polacek <polacek@redhat.com>
24813
24814 * elf/dl-addr.c (determine_info): Add inline keyword.
24815 * elf/tst-auditmod4b.c (check_avx): Likewise.
24816 * elf/tst-auditmod6b.c (check_avx): Likewise.
24817 * elf/tst-auditmod6c.c (check_avx): Likewise.
24818 * elf/tst-auditmod7b.c (check_avx): Likewise.
24819
70c6c246
UD
248202011-12-23 Ulrich Drepper <drepper@gmail.com>
24821
24822 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
24823 !__SSE_MATH__.
24824
c044cf14
LD
248252011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24826
15db4de1 24827 [BZ #13540]
c044cf14
LD
24828 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
24829 processing for last bytes.
24830
6b13d9d9
BH
248312011-08-06 Bruno Haible <bruno@clisp.org>
24832
d455f537
BH
24833 [BZ #13061]
24834 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
24835 U+0385, not to U+1FEE.
24836
6b13d9d9
BH
24837 [BZ #13062]
24838 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
24839 entry for U+00A5 U+0301.
24840
db910efd
UD
248412011-12-22 Ulrich Drepper <drepper@gmail.com>
24842
27deeafc
UD
24843 [BZ #13166]
24844 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
24845 buffer for the output is too small.
24846
aed9d171
UD
24847 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
24848 optimization.
24849
db910efd
UD
24850 [BZ #13185]
24851 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
24852 SSE flags if possible.
24853
2bd779ae
LD
248542011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24855
e7f9dac3 24856 [BZ #13540]
2bd779ae
LD
24857 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
24858 processing for last bytes.
24859
154bfc16
JM
248602011-12-22 Joseph Myers <joseph@codesourcery.com>
24861
24862 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
24863 (syscall-list-default-options, syscall-list-default-condition)
24864 (syscall-list-includes): Define.
24865 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
24866 list of ABIs and options and #if conditions for each ABI. Do not
24867 handle common syscalls between ABIs specially.
24868 * sysdeps/unix/sysv/linux/powerpc/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 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
24874 (syscall-list-variants, syscall-list-32bit-options)
24875 (syscall-list-32bit-condition, syscall-list-64bit-options)
24876 (syscall-list-64bit-condition): Define.
24877 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
24878 Remove.
24879 (syscall-list-variants, syscall-list-32bit-options)
24880 (syscall-list-32bit-condition, syscall-list-64bit-options)
24881 (syscall-list-64bit-condition): Define.
24882 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
24883 Remove.
24884 (syscall-list-variants, syscall-list-32bit-options)
24885 (syscall-list-32bit-condition, syscall-list-64bit-options)
24886 (syscall-list-64bit-condition): Define.
24887
21eaf3a5
UD
248882011-12-22 Ulrich Drepper <drepper@gmail.com>
24889
16c6f992
UD
24890 * locale/iso-639.def: Add brx entry.
24891
41043168
UD
24892 [BZ #13328]
24893 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
24894 Proposed by Mariusz_Cukr <marcukr@op.pl>.
24895
21eaf3a5
UD
24896 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
24897 __feraiseexcept_renamed.
24898
e3a851a2
UD
248992011-12-21 Ulrich Drepper <drepper@gmail.com>
24900
4920765e
UD
24901 [BZ #13538]
24902 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
24903 EPOLLET with unsigned values.
24904 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24905 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24906
e3a851a2
UD
24907 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
24908 to large cancellation.
24909 * math/s_cacoshf.c: Likewise.
24910 * math/s_cacoshl.c: Likewise.
24911
b27e24b8
RK
249122011-11-18 Richard B. Kreckel <kreckel@ginac.de>
24913
24914 [BZ #13305]
aebefeee 24915 [BZ #12786]
b27e24b8
RK
24916 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
24917 * math/s_cacoshf.c: Likewise.
24918 * math/s_cacoshl.c: Likewise.
24919
ee190f67
UD
249202011-12-21 Ulrich Drepper <drepper@gmail.com>
24921
24922 [BZ #13439]
24923 * iconv/gconv.h: Define __GCONV_SWAP.
24924 * iconvdata/unicode.c: The swap bit must be stored in __flags.
24925 * iconvdata/utf-16.c: Likewise.
24926 * iconvdata/utf-32.c: Likewise.
24927
707f25df
AS
249282011-12-21 Andreas Schwab <schwab@linux-m68k.org>
24929
24930 [BZ #13524]
24931 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
24932 numerator after shifting it by one limb.
24933
d2daaa1e
RÁE
249342011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
24935
24936 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
24937 under [__USE_EXTERN_INLINES].
24938
a4647e72
UD
249392011-12-17 Ulrich Drepper <drepper@gmail.com>
24940
24941 [BZ #13446]
24942 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
24943
f0b264f1
AZ
249442011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24945
24946 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
24947 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
24948 optimized code.
24949 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
24950 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
24951 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
24952 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
24953 for strncasecmp/strncasecmp_l compilation.
24954 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
24955 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
24956
8ef4f244
MP
249572011-12-08 Marek Polacek <mpolacek@redhat.com>
24958
24959 [BZ #13484]
24960 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
24961 of __asm__.
24962
97ac2654
UD
249632011-12-17 Ulrich Drepper <drepper@gmail.com>
24964
24965 [BZ #13506]
24966 * time/tzfile.c (__tzfile_read): Check values from file header.
24967
91d2a845
WS
249682011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24969
24970 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
24971 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
24972 * powerpc/powerpc32/dl-start.S: Likewise.
24973 * powerpc/powerpc32/elf/start.S: Likewise.
24974 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24975 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
24976 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
24977 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
24978 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24979 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
24980 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
24981 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24982 * powerpc/powerpc32/fpu/s_round.S: Likewise.
24983 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24984 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24985 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24986 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24987 * powerpc/powerpc32/memset.S: Likewise.
24988 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24989 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24990 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24991 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24992 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24993 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24994 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24995 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24996 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
24997 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
24998 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
24999 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25000 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25001
a1267ba1
AZ
250022011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25003
25004 * math/libm-test.inc: Added more nearbyint tests.
25005 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25006 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25007 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25008 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25009
ad8ac1bd
RL
250102011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25011
25012 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25013 FD_CLOEXEC.
25014
1d3e4b61
UD
250152011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25016
25017 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25018 Add wcscpy-ssse3 wcscpy-c.
25019 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25020 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25021 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25022 * sysdeps/x86_64/wcschr.S: New file.
25023 * sysdeps/x86_64/wcsrchr.S: New file.
25024 * string/test-strcmp.c: Remove checking of wcscmp function for
25025 wrong alignments.
25026 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25027 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25028 wcsrchr-sse2 wcsrchr-c.
25029 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25030 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25031 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25032 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25033 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25034 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25035 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25036 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25037 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25038 * wcsmbc/wcschr.c (WCSCHR): New macro.
25039
5b330a2d
UD
250402011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25041
25042 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25043 * wcsmbs/test-wcsrchr.c: New file.
25044 * string/test-strrchr.c: Add wcsrchr support.
25045 (WIDE): New macro.
25046 * wcsmbs/test-wcscpy.c: New file.
25047 * string/test-strcpy.c: Add wcscpy support.
25048 (WIDE): New macro.
26428b7c 25049
f039c043
UD
250502011-12-10 Ulrich Drepper <drepper@gmail.com>
25051
25052 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25053 the inner loop.
25054
850fb039
AS
250552011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25056
25057 [BZ #13472]
25058 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25059
4efbd5cb
UD
250602011-12-04 Ulrich Drepper <drepper@gmail.com>
25061
52ff5dd0 25062 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25063 Minor optimizations.
52ff5dd0 25064
4efbd5cb
UD
25065 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25066 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25067 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25068
8a426e12
UD
250692011-12-03 Ulrich Drepper <drepper@gmail.com>
25070
aff2453d
UD
25071 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25072 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25073 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25074 for gcc to avoid warnings.
25075 * inet/Makefile (tests): Add tst-checks.
25076 * inet/tst-checks.c: New file.
25077
25078 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25079 warning.
25080
25081 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25082 __wmemcmp_sse2.
25083
25084 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25085 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25086
8a426e12
UD
25087 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25088
9bea3473
UD
250892011-12-02 Ulrich Drepper <drepper@gmail.com>
25090
3a965496
UD
25091 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25092 problem.
25093
9bea3473
UD
25094 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25095
f101631b
UD
250962011-11-29 Joseph Myers <joseph@codesourcery.com>
25097
25098 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25099 conditional on GCC version.
25100 (__arch_compare_and_exchange_val_8_acq)
25101 (__arch_compare_and_exchange_val_16_acq)
25102 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25103 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25104 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25105
a98275aa
UD
251062011-12-02 Joseph Myers <joseph@codesourcery.com>
25107
25108 * sysdeps/sh/backtrace.c: New file.
25109
d4cc29a2
AS
251102011-12-02 Andreas Schwab <schwab@redhat.com>
25111
25112 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25113 parenthesis.
25114
6257af2d
AS
251152011-12-01 Andreas Schwab <schwab@redhat.com>
25116
25117 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25118 falling back to utime.
25119
b5f44c1a
AS
251202011-11-30 Andreas Schwab <schwab@redhat.com>
25121
25122 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25123 expectations for float.
25124
f3a6cc0a
AS
251252011-11-29 Andreas Schwab <schwab@redhat.com>
25126
25127 * locale/weight.h (findidx): Add parameter len.
25128 * locale/weightwc.h (findidx): Likewise.
25129 * posix/fnmatch_loop.c (FCT): Adjust caller.
25130 * posix/regcomp.c (build_equiv_class): Likewise.
25131 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25132 * posix/regexec.c (check_node_accept_bytes): Likewise.
25133 * string/strcoll_l.c (STRCOLL): Likewise.
25134 * string/strxfrm_l.c (STRXFRM): Likewise.
25135
9d65ea3a
UD
251362011-11-17 Ulrich Drepper <drepper@gmail.com>
25137
25138 * Makefile.in: Remove CVSOPT handling.
25139 * configure.in: Remove use of AC_REVISION.
25140 * iconvdata/Makefile (distribute): No need to filter out CVS.
25141 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25142 handling.
25143
5583a086
AS
251442011-11-16 Andreas Schwab <schwab@redhat.com>
25145
25146 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25147 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25148 [USE_AS_STRNCASECMP_L]: Likewise.
25149 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25150 NO_TLS_DIRECT_SEG_REFS.
25151 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25152 Fix argument offsets for non-PIC.
25153 [USE_AS_STRNCASECMP_L]: Likewise.
25154 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25155 NO_TLS_DIRECT_SEG_REFS.
25156
d62a8200
UD
251572011-11-15 Ulrich Drepper <drepper@gmail.com>
25158
9d65ea3a 25159 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25160 O_CLOEXEC.
25161 * locale/loadlocale.c (_nl_load_locale): Likewise.
25162
09f93bd3
AS
251632011-11-15 Andreas Schwab <schwab@redhat.com>
25164
446514f9
AS
25165 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25166 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25167 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25168 (SYSCALL_GETTIME): Set errno on error.
25169
09f93bd3
AS
25170 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25171 count references to noai6ai_cached.
25172
312be3f9
UD
251732011-11-15 Ulrich Drepper <drepper@gmail.com>
25174
25175 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25176
25177 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25178 FD_CLOEXEC for /proc/self/maps.
25179
25180 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25181 FD_CLOEXEC for /proc/meminfo.
25182
25183 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25184 gai.conf.
25185
25186 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25187 FD_CLOEXEC for given file.
25188
25189 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25190
25191 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25192 FD_CLOEXEC for /etc/hosts.
25193 (_gethtent): Likewise.
25194
25195 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25196
25197 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25198 cancellation and set FD_CLOEXEC for /etc/netgroup.
25199
25200 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25201 reading /etc/publickey.
25202
25203 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25204 allow cancellation when reading /etc/group.
25205
25206 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25207 cancellation.
25208 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25209
25210 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25211 when using data file.
25212
25213 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25214
25215 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25216 (write_nis_obj): Use "c" and "e" in fopen.
25217
25218 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25219
25220 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25221
25222 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25223
25224 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25225
25226 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25227 locale.alias.
25228
25229 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25230
25231 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25232
25233 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25234
25235 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25236 file parsing and set FD_CLOEXEC.
25237
82af0fa8
UD
252382011-11-14 Ulrich Drepper <drepper@gmail.com>
25239
25240 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25241
a5fb313c
AS
252422011-11-14 Andreas Schwab <schwab@redhat.com>
25243
25244 * malloc/arena.c (arena_get2): Don't call reused_arena when
25245 _int_new_arena failed.
25246
6abf3465
UD
252472011-11-14 Ulrich Drepper <drepper@gmail.com>
25248
25249 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25250 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25251 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25252 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25253 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25254 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25255 to compile strcasecmp and strncasecmp.
25256 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25257 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25258
25259 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25260
76e3966e
UD
252612011-11-13 Ulrich Drepper <drepper@gmail.com>
25262
25263 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25264 locale-defines.sym to gen-as-const-headers.
25265 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25266 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25267 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25268 to compile strcasecmp and strncasecmp.
25269 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25270 strcasecmp_l and strncasecmp_l.
25271 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25272 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25273 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25274 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25275 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25276 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25277 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25278 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25279 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25280 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25281 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25282
ab26144e
UD
252832011-11-12 Ulrich Drepper <drepper@gmail.com>
25284
7edb22ef
UD
25285 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25286 result of SYSDEP_GETTIME_CPU to retval.
25287 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25288 parameter list to macro. Remove trailing semicolon. Adjust users.
25289
9694fc44
UD
25290 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25291 variable.
25292
8ad89ef8
UD
25293 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25294 mantissa words.
25295 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25296
0c822ef9
UD
25297 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25298 from unused variable.
25299
874e0564
UD
25300 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25301 DWARF definitions.
25302 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25303 for assembling.
25304
3a2edc79
UD
25305 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25306 over namespaces.
25307
f3c2577f
UD
25308 * sunrpc/rpc_prot.c (rejected): Fix case value.
25309
294ce126
UD
25310 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25311 unsigned long long int to avoid warnings in shift.
25312
5e2b63c6
UD
25313 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25314 of use of trans.
25315 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25316 variable tmp.
25317
e7f4b08e
UD
25318 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25319 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25320 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25321
ab26144e
UD
25322 * nis/nis_table.c (nis_list): Use variable of correct type for
25323 result of __follow_path call.
25324
8a6d5255
AZ
253252011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25326
25327 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25328 of math functions ceil, trunc, floor, round, and sqrt, when
25329 avaliable on the platform.
25330 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25331 name clash.
25332 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25333 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25334 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25335
aaddc98c
MP
253362011-10-30 Marek Polacek <mpolacek@redhat.com>
25337
25338 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25339 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25340
95b7042b
RM
253412011-11-11 Roland McGrath <roland@hack.frob.com>
25342
25343 * include/unistd.h: Fix __readlink return type.
25344 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25345
57769839
UD
253462011-11-11 Ulrich Drepper <drepper@gmail.com>
25347
25348 * stdlib/ucontext.h: Undo last change for makecontext.
25349
edc5984d
AS
253502011-11-11 Andreas Schwab <schwab@redhat.com>
25351
98591e58
AS
25352 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25353
edc5984d
AS
25354 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25355 * setjmp/setjmp.h: Mark functions as non-leaf.
25356 * setjmp/bits/setjmp2.h: Likewise.
25357 * stdlib/ucontext.h: Likewise.
25358
77cdc054
AS
253592011-11-10 Andreas Schwab <schwab@redhat.com>
25360
25361 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25362 (reused_arena): Don't check arena limit.
25363 (arena_get2): Atomically check arena limit.
25364
fe72eebd
UD
253652011-11-08 Ulrich Drepper <drepper@gmail.com>
25366
5f078c32
UD
25367 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25368 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25369
fe72eebd
UD
25370 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25371 instructions.
25372
ae1bc2fa
AS
253732011-11-07 Andreas Schwab <schwab@redhat.com>
25374
7583a88d
AS
25375 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25376 handler when locking.
25377
ae1bc2fa
AS
25378 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25379 Fix size of allocated buffer.
25380
10fb0bfa
AS
253812011-11-04 Andreas Schwab <schwab@redhat.com>
25382
998832a4
AS
25383 [BZ #10103]
25384 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25385 declarations for long double functions.
25386 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25387
10fb0bfa
AS
25388 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25389
3d7ba52b
AS
253902011-11-03 Andreas Schwab <schwab@redhat.com>
25391
a9ae54a1
AS
25392 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25393 installed.
25394
3d7ba52b
AS
25395 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25396 is disabled.
25397
bc8db248
ST
253982011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25399
25400 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25401
45b96dd6
AS
254022011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25403
647776f6
AS
25404 * include/alloca.h (stackinfo_alloca_round): Define.
25405 (extend_alloca): Use it.
25406 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25407 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25408 here.
25409
d91a8b93
AS
25410 * scripts/check-local-headers.sh: Ignore libaudit.h.
25411
45b96dd6
AS
25412 * nscd/Makefile (extra-objs): Make recursively expanded.
25413
432d41ce
UD
254142011-11-01 Ulrich Drepper <drepper@gmail.com>
25415
34372fc6
UD
25416 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25417 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25418
fadb59f8
UD
25419 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25420 * posix/tst-rfc3484-2.c: Likewise.
25421 * posix/tst-rfc3484-3.c: Likewise.
25422
78239589
UD
25423 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25424 process_vm_writev.
25425 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25426 process_vm_writev.
25427 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25428 process_vm_writev from libc using GLIBC_2.15 version.
25429
432d41ce
UD
25430 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25431
02f9c6cf
PP
254322011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25433
25434 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25435 stack usage.
25436
3a2c0242
UD
254372011-10-31 Ulrich Drepper <drepper@gmail.com>
25438
f4ec4833
UD
25439 [BZ #13367]
25440 * nss/getent.c (initgroups_keys): Show error message in case no group
25441 names are given.
25442
3a2c0242
UD
25443 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25444 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25445 __bump_nl_timestamp.
25446 * nscd/connections (nscd_init): When host database is served open
25447 netlink socket and request notification about configuration changes.
25448 (main_loop_poll): Track netlink file descriptor and bump timestamp
25449 in case data becomes available.
25450 (main_loop_epoll): Likewise.
25451 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25452 (database_pers_head): Add extra_data fileds.
25453 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25454 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25455 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25456 Adjust caller.
25457 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25458 in6ai data, call __free_in6ai.
25459 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25460 Add -DHAVE_NETLINK.
25461 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25462 interface information. Reuse previous data if netlink timestamp
25463 is not changed.
25464 (__bump_nl_timestamp): New function.
25465 (__free_in6ai): New function.
25466
636064eb
UD
254672011-10-30 Ulrich Drepper <drepper@gmail.com>
25468
25469 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25470 close_not_cancel_no_status here.
25471 (__check_pf): Reorganize code a bit to not call close twice if OOM.
25472
9beb2334
UD
254732011-10-29 Ulrich Drepper <drepper@gmail.com>
25474
6ef76f3b
UD
25475 [BZ #13276]
25476 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25477 return value.
25478
0ffc4f3e 25479 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
25480 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25481 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25482
cb95113e
UD
254832011-07-03 Andreas Jaeger <aj@suse.de>
25484
25485 [BZ #10709]
25486 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25487 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25488 * math/libm-test.inc (sin_test): Add test case.
25489
a1b560ff
UD
254902011-10-29 Ulrich Drepper <drepper@gmail.com>
25491
c9aaface
UD
25492 [BZ #13337]
25493 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25494 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25495
d272e7f1
UD
25496 * elf/chroot_canon.c (chroot_canon): Cleanups.
25497
1bc33071
UD
25498 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25499
1760874d
TJ
25500 [BZ #13335]
25501 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25502 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25503
51d91b18
UD
25504 * string/test-strchr.c: Make usable for strchrnul testing.
25505 * string/test-strchrnul.c: New file.
25506 * string/Makefile (strop-tests): Add strchrnul.
25507
a1b560ff 25508 * po/it.po: Update from translation team.
b611fb81 25509 * po/es.po: Likewise.
a1b560ff 25510
a5b81e1f
UD
255112011-10-28 Ulrich Drepper <drepper@gmail.com>
25512
fd52bc6d
UD
25513 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25514 the three constants needed as parameters. Drop the others.
25515 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25516 __m128i_strloadu_tolower.
52e4b9eb
UD
25517 Create and initialize variable zero and use it in all the places
25518 where _mm_setzero_si128 was used.
fd52bc6d 25519
a5b81e1f
UD
25520 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25521 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25522 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25523 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25524 anymore.
25525 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25526 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25527 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25528 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25529 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25530 __mpranred, __mptan.
25531 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25532 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25533 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25534 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25535 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25536 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25537 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25538 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25539 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25540
b4343346
AS
255412011-10-28 Andreas Schwab <schwab@redhat.com>
25542
0c92d8a8
AS
25543 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25544 redefine if SHARED.
25545 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25546
b4343346
AS
25547 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25548 wide char related routines to wcsmbs subdir.
25549
3871f58f
AS
255502011-10-27 Andreas Schwab <schwab@redhat.com>
25551
25552 [BZ #13344]
25553 * misc/sys/cdefs.h (__THROWNL): Define.
25554 * posix/unistd.h: Use __THREADNL instead of __THREAD
25555 for memory synchronization functions.
25556
94d44d9f
RM
255572011-10-26 Roland McGrath <roland@hack.frob.com>
25558
21b64b15 25559 [BZ #13349]
94d44d9f
RM
25560 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25561 doesn't exist.
25562 * manual/stdio.texi (Obstack Streams): Node removed.
25563
f6ce9294
AS
255642011-10-26 Andreas Schwab <schwab@redhat.com>
25565
80479147
AS
25566 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25567 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25568 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25569
f6ce9294
AS
25570 * math/math_private.h (math_force_eval): Allow non-addressable
25571 arguments.
25572 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25573
618280a1
UD
255742011-10-25 Ulrich Drepper <drepper@gmail.com>
25575
e0016b11
UD
25576 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25577 file is not needed.
25578
25579 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25580 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25581 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25582 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25583 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25584 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25585 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25586 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25587 Add AVX variants.
25588 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25589 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25590 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25591 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25592 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25593 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25594 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25595 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25596 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25597 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25598 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25599 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25600 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25601 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25602 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25603 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25604 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25605 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25606 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25607
25608 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25609 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
25610
618280a1
UD
25611 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25612 place. Use VEX encoding when compiling for AVX.
25613
37822576
AS
256142011-10-25 Andreas Schwab <schwab@redhat.com>
25615
1f1e1947
AS
25616 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25617 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25618
37822576
AS
25619 * string/test-strchr.c (do_test): Don't generate NUL bytes.
25620
31ea014d
UD
256212011-10-25 Ulrich Drepper <drepper@gmail.com>
25622
d7826aa1 25623 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 25624 useless if() expression.
d7826aa1
UD
25625 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25626 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25627 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25628 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25629 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25630 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25631 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25632 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25633 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25634 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25635 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25636 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25637 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25638 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25639 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25640 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25641 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25642 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25643 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25644
31ea014d
UD
25645 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25646
16437fec
AS
256472011-10-25 Andreas Schwab <schwab@redhat.com>
25648
25649 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25650 condition.
25651 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25652
31d3cc00
UD
256532011-10-25 Ulrich Drepper <drepper@gmail.com>
25654
25655 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25656 .text section. Avoid duplicate constants.
25657 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25658 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25659 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25660 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25661 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25662 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25663 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25664 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25665 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25666 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25667 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25668 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25669 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25670 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25671 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25672 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25673 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25674 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25675 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25676 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25677 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25678 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25679 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25680 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25681 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25682 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25683 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25684 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25685 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25686 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25687 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25688 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25689 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25690 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25691 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25692 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25693 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25694 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25695 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25696 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25697 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25698 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25699 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25700 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25701 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25702
58985aa9
UD
257032011-10-24 Ulrich Drepper <drepper@gmail.com>
25704
202c9deb
UD
25705 * sysdeps/x86_64/dla.h: Move to ...
25706 * sysdeps/x86_64/fpu/dla.h: ...here.
25707 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25708 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 25709
af968f62
UD
25710 * config.make.in: Add have-mfma4 entry.
25711 * configure.in: Substitute libc_cv_cc_fma4.
25712 * math/Makefile (dbl-only-routines): Add sincostab.
25713 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25714 Use __sincostab not sincos.
25715 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25716 name is a macro.
25717 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25718 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25719 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25720 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
25721 using __copysign.
25722 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
25723 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
25724 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25725 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25726 and __inv.
25727 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25728 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25729 __copysign.
25730 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
25731 define aliases when function name is a macro.
25732 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25733 sysdeps/ieee754/dbl-64/sincos.tbl.
25734 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25735 fma4-enabled routines.
25736 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25737 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25738 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25739 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25740 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25741 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25742 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25743 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25744 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25745 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
25746 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
25747 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
25748 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
25749 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
25750 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
25751 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
25752 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
25753 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
25754 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
25755 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
25756 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
25757 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
25758 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
25759 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
25760 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
25761 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
25762 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
25763 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
25764 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
25765 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
25766
58985aa9
UD
25767 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
25768 rename.
25769 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25770 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25771 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25772 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25773 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25774 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25775 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25776 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25777
a201fbcf
AS
257782011-10-24 Andreas Schwab <schwab@redhat.com>
25779
25780 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
25781
fc2ee42a
LD
257822011-10-23 Ulrich Drepper <drepper@gmail.com>
25783
bb3129bd
UD
25784 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
25785
0275fff8
UD
25786 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
25787 prediction.
25788 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
25789
2fa2ae85
UD
25790 * string/strnlen.c: Don't define STRNLEN, reverse logic.
25791 Remove unused variable magic_bits.
25792 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
25793
fc2ee42a
LD
25794 * string/strnlen.c: Define and use STRNLEN macro.
25795 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
25796 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
25797 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
25798 * wcsmbs/wcslen.c: Define and use WCSLEN.
25799 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
25800 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
25801 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
25802 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
25803 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
25804 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
25805 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25806
ce7dd29f
LD
258072011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25808
25809 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25810 strnlen-sse2-no-bsf.
25811 Rename strlen-no-bsf to strlen-sse2-no-bsf.
25812 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
25813 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
25814 Add strnlen support.
25815 (USE_AS_STRNLEN): New macro.
25816 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
25817 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
25818 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
25819 * sysdeps/x86_64/wcslen.S: New file.
25820
979c70a3
MZ
258212011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
25822
25823 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25824 XMM-moves are used for copying on small sizes.
25825
2d09f82f
LD
258262011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25827
25828 * wcsmbs/Makefile (strop-tests): Add wcschr.
25829 * wcsmbs/test-wcschr.c: New file.
25830 * string/test-strchr.c: Update.
25831 Add wcschr support.
25832 (WIDE): New macro.
25833
619fccca
LD
258342011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25835
2d09f82f 25836 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
25837 * wcsmbs/test-wcslen.c: New file.
25838 * string/test-strlen.c: Update.
25839 Add wcslen support.
25840 (WIDE): New macro.
25841
09f699ea
UD
258422011-10-23 Ulrich Drepper <drepper@gmail.com>
25843
25844 * po/it.po: Update from translation team.
25845
95584d3b
LD
258462011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25847
25848 * sysdeps/x86_64/wcscmp.S: Update.
25849 Fix wrong comparison semantics.
25850 wcscmp shall use signed comparison not unsigned.
25851 Don't use substraction to avoid overflow bug.
25852 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25853 * wcsmbc/wcscmp.c: Likewise.
25854 * string/test-strcmp.c: Likewise.
25855 Add new tests to check cases with negative values.
25856
c8b3296b
UD
258572011-10-23 Ulrich Drepper <drepper@gmail.com>
25858
25859 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
25860 * sysdeps/x86_64/dla.h: ...here. New file.
25861 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
25862 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25863 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25864 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25865 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25866 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25867 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25868 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25869 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25870
246ad57a
AS
258712011-10-23 Andreas Schwab <schwab@linux-m68k.org>
25872
25873 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
25874 __ynl_finite aliases.
25875
a1a87169
UD
258762011-10-22 Ulrich Drepper <drepper@gmail.com>
25877
0d355eb7
UD
25878 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25879
a1a87169
UD
25880 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
25881 define DLA_FMA.
25882 [DLA_FMA] (EMULV): Use DLA_FMA.
25883 [DLA_FMA] (MUL12): Use EMULV.
25884 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
25885 that are not needed.
25886 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25887 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25888 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25889 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25890 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25891 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25892 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25893
ee2aafe0
AS
258942011-10-22 Andreas Schwab <schwab@linux-m68k.org>
25895
25896 * math/s_nan.c: Undef __nan.
25897 * math/s_nanf.c: Undef __nanf.
25898 * math/s_nanl.c: Undef __nanl.
25899 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
25900 "math_private.h".
25901
bc62c2fb
UD
259022011-10-22 Ulrich Drepper <drepper@gmail.com>
25903
77425c63
UD
25904 * math/s_catan.c: Add branch predictions.
25905 * math/s_catanf.c: Likewise.
25906 * math/s_catanh.c: Likewise.
25907 * math/s_catanhf.c: Likewise.
25908 * math/s_catanhl.c: Likewise.
25909 * math/s_catanl.c: Likewise.
25910 * math/s_cexp.c: Likewise.
25911 * math/s_cexpf.c: Likewise.
25912 * math/s_cexpl.c: Likewise.
25913 * math/s_clog.c: Likewise.
25914 * math/s_clog10.c: Likewise.
25915 * math/s_clog10f.c: Likewise.
25916 * math/s_clog10l.c: Likewise.
25917 * math/s_clogf.c: Likewise.
25918 * math/s_clogl.c: Likewise.
25919 * math/s_csqrt.c: Likewise.
25920 * math/s_csqrtf.c: Likewise.
25921 * math/s_csqrtl.c: Likewise.
25922 * math/s_ctanf.c: Likewise.
25923 * math/s_ctanh.c: Likewise.
25924 * math/s_ctanhf.c: Likewise.
25925 * math/s_ctanhl.c: Likewise.
25926 * math/s_ctanl.c: Likewise.
25927
bc62c2fb
UD
25928 * math/math_private.h: Define __nan, __nanf, __nanl.
25929 * math/s_cacosh.c: Include <math_private.h>.
25930 * math/s_cacoshl.c: Likewise.
25931 * math/s_casinh.c: Likewise.
25932 * math/s_casinhf.c: Likewise.
25933 * math/s_casinhl.c: Likewise.
25934 * math/s_ccos.c: Rely entire on ccosh.
25935 * math/s_ccosf.c: Rely entire on ccoshf.
25936 * math/s_ccosl.c: Rely entirely on ccoshl.
25937 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
25938 Remove tests for FE_INVALID.
25939 * math/s_ccoshf.c: Likewise.
25940 * math/s_ccoshl.c: Likewise.
25941 * math/s_csin.c: Likewise.
25942 * math/s_csinf.c: Likewise.
25943 * math/s_csinh.c Likewise.
25944 * math/s_csinhf.c: Likewise.
25945 * math/s_csinhl.c: Likewise.
25946 * math/s_csinl.c: Likewise.
25947 * math/s_ctan.c: Likewise.
25948 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
25949 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
25950 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
25951
8ec250a4
UD
259522011-10-21 Ulrich Drepper <drepper@gmail.com>
25953
c196fed8
UD
25954 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
25955 compilation problems.
25956
8ec250a4
UD
25957 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
25958 __builtin_expect.
25959
8d4f46c6
UD
259602011-10-20 Ulrich Drepper <drepper@gmail.com>
25961
ed72b654
UD
25962 * sysdeps/i386/configure.in: Test for -mfma4 option.
25963 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
25964 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
25965 COMMON_CPUID_INDEX_80000001.
25966 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
25967 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
25968 use it if FMA3 is not supported.
25969 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25970
8d4f46c6
UD
25971 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
25972 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25973
d45c60c2
AS
259742011-10-20 Andreas Schwab <schwab@redhat.com>
25975
25976 [BZ #12892]
25977 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
25978 it would create a cycle with a link time dependency.
25979
d9a4d2ab
UD
259802011-10-19 Ulrich Drepper <drepper@gmail.com>
25981
855d1560
UD
25982 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
25983 instruction.
25984 * string/Makefile (strop-tests): Add rawmemchr.
25985 * string/test-rawmemchr.c: New file.
25986
d9a4d2ab
UD
25987 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
25988 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
25989 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
25990 when compiling str{,n}casecmp and when AVX is available. Hook up
25991 new optimized code in initializers.
25992
8f3b1ffe
AS
259932011-10-19 Andreas Schwab <schwab@redhat.com>
25994
25995 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
25996 __feraiseexcept instead of feraiseexcept.
25997
d38f1dba
UD
259982011-10-18 Ulrich Drepper <drepper@gmail.com>
25999
d9a8d0ab
UD
26000 * math/math_private.h: Define defaults for libc_fetestexcept and
26001 libc_feupdateenv.
26002 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26003 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26004 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26005 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26006 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26007 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26008 libc_fetestexcept and libc_feupdateenv.
26009
4855e3dd
UD
26010 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26011 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26012 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26013 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26014 libc_feholdexcept_setround.
26015
581d30e3
UD
26016 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26017 Add s_nearbyint-c and s_nearbyintf-c.
26018 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26019 nearbyintf inlines.
26020 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26021 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26022 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26023 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26024
d38f1dba
UD
26025 * math/math_private.h: Define defaults for libc_fegetround,
26026 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26027 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26028 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26029 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26030 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26031 standard functions.
26032 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26033 Remove comments and hacks for old compiler versions.
26034 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26035 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26036 libc_feholdexceptl.
26037
caa6c9d8
AS
260382011-10-18 Andreas Schwab <schwab@redhat.com>
26039
26040 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26041 (__feraiseexcept_renamed): Add __NTH.
26042 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26043 namespace violations.
26044
97c066e6
UD
260452011-10-17 Ulrich Drepper <drepper@gmail.com>
26046
99ce7b04
UD
26047 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26048
1004d182
UD
26049 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26050
228a984d
UD
26051 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26052 recently added interfaces.
26053 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26054
c8553a6a
UD
26055 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26056 about macro parameter expansion.
26057
ed22dcf6
UD
26058 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26059 __NO_MATH_INLINES is defined. Cleanups.
26060
26061 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26062 and __floorf is target has SSE4.1.
26063 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26064 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26065 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26066 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26067
b171c137
UD
26068 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26069 name.
26070 (floorf): Likewise.
26071
97c066e6
UD
26072 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26073
629f62ef
AS
260742011-10-17 Andreas Schwab <schwab@redhat.com>
26075
49a43d80
AS
26076 * misc/sys/cdefs.h: Fix last change.
26077
629f62ef
AS
26078 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26079 database lookup.
26080
e453f6cd
UD
260812011-10-16 Ulrich Drepper <drepper@gmail.com>
26082
aa78043a
UD
26083 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26084
ad0f5cad
UD
26085 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26086 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26087 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26088 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26089 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26090 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26091 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26092 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26093 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26094 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26095 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26096 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26097 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26098 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26099 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26100 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26101 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26102 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26103 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26104 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26105 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26106 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26107
26108 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26109 ceil, ceilf, floor, floorf.
26110
26111 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26112 Perform IRELATIVE relocations last.
26113
e453f6cd
UD
26114 * elf/do-rel.h: Add another parameter nrelative, replacing the
26115 local variable with the same name. Change name of the function
26116 to end in Rel or Rela (uppercase).
26117 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26118 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26119 elf_dynamic_do_##reloc function.
26120
fd5bdc09
UD
261212011-10-15 Ulrich Drepper <drepper@gmail.com>
26122
79b195b5
UD
26123 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26124 is sufficient, at least on modern CPUs.
26125
d4a28569
UD
26126 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26127
b61099b5
UD
26128 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26129 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26130
bcf01e6d
UD
26131 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26132 __expl_finite.
26133 * math/bits/math-finite.h: Add entries for exp.
26134 * math/e_expl.c: Add __*_finite alias.
26135 * sysdeps/i386/fpu/e_exp.S: Likewise.
26136 * sysdeps/i386/fpu/e_expf.S: Likewise.
26137 * sysdeps/i386/fpu/e_expl.c: Likewise.
26138 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26139 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26140 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26141 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26142 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26143 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26144 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26145
ba1a0d59
UD
26146 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26147 is sufficient, at least on modern CPUs.
26148
fd5bdc09
UD
26149 * ctype/ctype-info.c (__ctype_init): Define.
26150 * include/ctype.h (__ctype_init): Declare.
26151 (__ctype_b_loc): The variable is always initialized.
26152 (__ctype_toupper_loc): Likewise.
26153 (__ctype_tolower_loc): Likewise.
26154 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26155 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26156
7872cfb0
AS
261572011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26158
b468825a
AS
26159 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26160
7872cfb0
AS
26161 * configure.in: Also look in $cxxmachine/include for C++ system
26162 headers.
26163
be13f7bf
LD
261642011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26165
26166 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26167 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26168 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26169 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26170 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26171 (USE_AS_WMEMCMP): New macro.
26172 Fixing indents.
26173 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26174 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26175 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26176 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26177 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26178 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26179 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26180 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26181 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26182 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26183 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26184 (USE_AS_WMEMCMP): New macro.
26185 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26186 * sysdeps/string/test-memcmp.c: Update.
26187 Fix simple_wmemcmp.
26188 Add new tests.
26189 * wcsmbs/wmemcmp.c: Update.
26190 (WMEMCMP): New macro.
26191 Fix overflow bug.
26192
556a2007
AJ
261932011-10-12 Andreas Jaeger <aj@suse.de>
26194
26195 [BZ #13268]
26196 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26197
538faaa7
UD
261982011-10-15 Ulrich Drepper <drepper@gmail.com>
26199
ab6737ff
UD
26200 * libio/iofwide.c (do_length): Avoid warning.
26201
538faaa7
UD
26202 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26203
396a21b1
UD
262042011-10-14 Ulrich Drepper <drepper@gmail.com>
26205
cdf2901f
UD
26206 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26207
38ad40ce
UD
26208 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26209 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26210 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26211 * sysdeps/i386/i686/fpu/e_log.S: New file.
26212 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26213 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26214
396a21b1
UD
26215 * ctype/ctype.h: Add support for inlined isXXX functions when
26216 compiling C++ code.
26217
6b1f68c9
AS
262182011-10-14 Andreas Schwab <schwab@redhat.com>
26219
349290c0
AS
26220 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26221
6b1f68c9
AS
26222 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26223
f2282d42
RM
262242011-10-13 Roland McGrath <roland@hack.frob.com>
26225
26226 [BZ #13291]
26227 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26228
5298ffa8
AS
262292011-10-13 Andreas Schwab <schwab@redhat.com>
26230
714fad23
AS
26231 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26232 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26233 feraiseexcept.
26234
81dcc7fb
AS
26235 * sysdeps/x86_64/memrchr.S: Check for zero size.
26236
5298ffa8
AS
26237 * string/stratcliff.c: Add memrchr tests.
26238
951fbcec
LD
262392011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26240
26241 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26242 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26243 rawmemchr-sse2 rawmemchr-sse2-bsf.
26244 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26245 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26246 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26247 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26248 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26249 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26250 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26251 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26252 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26253 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26254 * string/memrchr.c (MEMRCHR): New macro.
26255
0ac5ae23
UD
262562011-10-12 Ulrich Drepper <drepper@gmail.com>
26257
26258 Add integration with gcc's -ffinite-math-only and optimize wrapper
26259 functions in libm.
26260 * Versions.def: Define GLIBC_2.15 version for libm.
26261 * math/Makefile (headers): Add bits/math-finite.h.
26262 * math/bits/math-finite.h: New file.
26263 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26264 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26265 * math/e_acoshl.c: Add __*_finite alias.
26266 * math/e_acosl.c: Likewise.
26267 * math/e_asinl.c: Likewise.
26268 * math/e_atan2l.c: Likewise.
26269 * math/e_atanhl.c: Likewise.
26270 * math/e_coshl.c: Likewise.
26271 * math/e_exp10.c: Likewise.
26272 * math/e_exp10f.c: Likewise.
26273 * math/e_exp10l.c: Likewise.
26274 * math/e_exp2l.c: Likewise.
26275 * math/e_fmodl.c: Likewise.
26276 * math/e_gammal_r.c: Likewise.
26277 * math/e_hypotl.c: Likewise.
26278 * math/e_j0l.c: Likewise.
26279 * math/e_j1l.c: Likewise.
26280 * math/e_jnl.c: Likewise.
26281 * math/e_lgammal_r.c: Likewise.
26282 * math/e_log10l.c: Likewise.
26283 * math/e_log2l.c: Likewise.
26284 * math/e_logl.c: Likewise.
26285 * math/e_powl.c: Likewise.
26286 * math/e_sinhl.c: Likewise.
26287 * math/e_sqrtl.c: Likewise.
26288 * math/e_scalb.c: Completely rewritten and optimized.
26289 * math/e_scalbf.c: Likewise.
26290 * math/e_scalbl.c: Likewise.
26291 * math/w_acos.c: Likewise.
26292 * math/w_acosf.c: Likewise.
26293 * math/w_acosl.c: Likewise.
26294 * math/w_acosh.c: Likewise.
26295 * math/w_acoshf.c: Likewise.
26296 * math/w_acoshl.c: Likewise.
26297 * math/w_asin.c: Likewise.
26298 * math/w_asinf.c: Likewise.
26299 * math/w_asinl.c: Likewise.
26300 * math/w_atan2.c: Likewise.
26301 * math/w_atan2f.c: Likewise.
26302 * math/w_atan2l.c: Likewise.
26303 * math/w_atanh.c: Likewise.
26304 * math/w_atanhf.c: Likewise.
26305 * math/w_atanhl.c: Likewise.
26306 * math/w_exp10.c: Likewise.
26307 * math/w_exp10f.c: Likewise.
26308 * math/w_exp10l.c: Likewise.
26309 * math/w_fmod.c: Likewise.
26310 * math/w_fmodf.c: Likewise.
26311 * math/w_fmodl.c: Likewise.
26312 * math/w_j0.c: Likewise.
26313 * math/w_j0f.c: Likewise.
26314 * math/w_j0l.c: Likewise.
26315 * math/w_j1.c: Likewise.
26316 * math/w_j1f.c: Likewise.
26317 * math/w_j1l.c: Likewise.
26318 * math/w_jn.c: Likewise.
26319 * math/w_jnf.c: Likewise.
26320 * math/w_log.c: Likewise.
26321 * math/w_logf.c: Likewise.
26322 * math/w_logl.c: Likewise.
26323 * math/w_log10.c: Likewise.
26324 * math/w_log10f.c: Likewise.
26325 * math/w_log10l.c: Likewise.
26326 * math/w_log2.c: Likewise.
26327 * math/w_log2f.c: Likewise.
26328 * math/w_log2l.c: Likewise.
26329 * math/w_pow.c: Likewise.
26330 * math/w_powf.c: Likewise.
26331 * math/w_powl.c: Likewise.
26332 * math/w_remainder.c: Likewise.
26333 * math/w_remainderf.c: Likewise.
26334 * math/w_remainderl.c: Likewise.
26335 * math/w_scalb.c: Likewise.
26336 * math/w_scalbf.c: Likewise.
26337 * math/w_scalbl.c: Likewise.
26338 * math/w_sqrt.c: Likewise.
26339 * math/w_sqrtf.c: Likewise.
26340 * math/w_sqrtl.c: Likewise.
26341 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26342 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26343 used.
26344 * math/math_private.h: Declare __kernel_standard_f.
26345 * math/w_cosh.c: Remove cruft and optimize a bit.
26346 * math/w_coshf.c: Likewise.
26347 * math/w_coshl.c: Likewise.
26348 * math/w_exp2.c: Likewise.
26349 * math/w_exp2f.c: Likewise.
26350 * math/w_exp2l.c: Likewise.
26351 * math/w_hypot.c: Likewise.
26352 * math/w_hypotf.c: Likewise.
26353 * math/w_hypotl.c: Likewise.
26354 * math/w_lgamma.c: Likewise.
26355 * math/w_lgamma_r.c: Likewise.
26356 * math/w_lgammaf.c: Likewise.
26357 * math/w_lgammaf_r.c: Likewise.
26358 * math/w_lgammal.c: Likewise.
26359 * math/w_lgammal_r.c: Likewise.
26360 * math/w_sinh.c: Likewise.
26361 * math/w_sinhf.c: Likewise.
26362 * math/w_sinhl.c: Likewise.
26363 * math/w_tgamma.c: Likewise.
26364 * math/w_tgammaf.c: Likewise.
26365 * math/w_tgammal.c: Likewise.
26366 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26367 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26368 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26369 Minor optimizations. Pretty printing. Remove cruft.
26370 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26371 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26372 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26373 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26374 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26375 * sysdeps/i386/fpu/e_asin.S: Likewise.
26376 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26377 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26378 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26379 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26380 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26381 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26382 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26383 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26384 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26385 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26386 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26387 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26388 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26389 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26390 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26391 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26392 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26393 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26394 * sysdeps/i386/fpu/e_log.S: Likewise.
26395 * sysdeps/i386/fpu/e_log10.S: Likewise.
26396 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26397 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26398 * sysdeps/i386/fpu/e_log2.S: Likewise.
26399 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26400 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26401 * sysdeps/i386/fpu/e_logf.S: Likewise.
26402 * sysdeps/i386/fpu/e_logl.S: Likewise.
26403 * sysdeps/i386/fpu/e_pow.S: Likewise.
26404 * sysdeps/i386/fpu/e_powf.S: Likewise.
26405 * sysdeps/i386/fpu/e_powl.S: Likewise.
26406 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26407 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26408 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26409 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26410 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26411 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26412 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26413 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26414 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26415 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26416 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26417 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26418 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26419 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26420 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26421 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26422 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26423 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26424 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26425 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26426 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26427 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26428 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26429 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26430 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26431 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26432 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26433 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26434 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26435 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26436 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26437 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26438 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26439 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26440 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26441 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26442 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26443 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26444 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26445 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26446 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26447 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26448 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26449 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26450 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26451 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26452 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26453 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26454 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26455 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26456 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26457 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26458 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26459 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26460 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26461 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26462 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26463 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26464 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26465 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26466 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26467 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26468 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26469 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26470 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26471 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26472 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26473 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26474 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26475 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26476 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26477 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26478 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26479 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26480 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26481 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26482 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26483 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26484 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26485 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26486 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26487 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26488 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26489 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26490 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26491 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26492 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26493 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26494 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26495 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26496 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26497 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26498 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26499 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26500 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26501 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26502 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26503 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26504 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26505 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26506 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26507 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26508 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26509 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26510 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26511 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26512 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26513 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26514 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26515 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26516 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26517 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26518 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26519 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26520 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26521 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26522 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26523 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26524 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26525 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
26526 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26527 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26528 (__isnanf): Likewise.
26529 (__isinf_ns): Likewise.
26530 (__isinf_nsf): Likewise.
26531 (__finite): Likewise.
26532 (__finitef): Likewise.
26533 (__ieee754_sqrt): Define as macro.
26534 (__ieee754_sqrtf): Define as macro.
26535 (__ieee754_sqrtl): Define as macro.
26536 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26537 inlined copy.
26538 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26539 __FINITE_MATH_ONLY__ consistent.
26540 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26541
12cc2fcd
AS
265422011-10-10 Andreas Schwab <schwab@linux-m68k.org>
26543
a843a204
AS
26544 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26545 of rawmemchr.
26546
12cc2fcd
AS
26547 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26548
c853acd5
UD
265492011-10-09 Ulrich Drepper <drepper@gmail.com>
26550
26551 * po/ja.po: Update from translation team.
26552
c658d255
RM
265532011-10-08 Roland McGrath <roland@hack.frob.com>
26554
110946e4
RM
26555 * locale/programs/locarchive.c (prepare_address_space): New function.
26556 (create_archive, enlarge_archive, open_archive): Use it.
26557
50604220
RM
26558 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26559 inside [SHARED], where it is used.
26560
c658d255
RM
26561 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26562
26563 * nss/getent.c (netgroup_keys): Remove unused variable.
26564 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26565
6a621eb7
UD
265662011-10-08 Ulrich Drepper <drepper@gmail.com>
26567
7edb55ce
UD
26568 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26569 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26570 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26571 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26572 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26573 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26574 * math/Makefile (libm-calls): Add s_isinf_ns.
26575 * math/divtc3.c: Use __isinf_nsl instead of isinf.
26576 * math/multc3.c: Likewise.
26577 * math/s_casin.c: Likewise.
26578 * math/s_casinf.c: Likewise.
26579 * math/s_casinl.c: Likewise.
26580 * math/s_ccos.c: Likewise.
26581 * math/s_ccosf.c: Likewise.
26582 * math/s_ccosl.c: Likewise.
26583 * math/s_ctan.c: Likewise.
26584 * math/s_ctanf.c: Likewise.
26585 * math/s_ctanh.c: Likewise.
26586 * math/s_ctanhf.c: Likewise.
26587 * math/s_ctanhl.c: Likewise.
26588 * math/s_ctanl.c: Likewise.
26589 * math/w_fmod.c: Likewise.
26590 * math/w_fmodf.c: Likewise.
26591 * math/w_fmodl.c: Likewise.
26592 * math/w_remainder.c: Likewise.
26593 * math/w_remainderf.c: Likewise.
26594 * math/w_remainderl.c: Likewise.
26595 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26596 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26597 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26598 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26599 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26600 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26601 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26602 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26603
187da0ae
UD
26604 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26605 of the number.
26606 * stdio-common/printf_fphex.c: Likewise.
26607 * stdio-common/printf_size.c: Likewise.
26608
9277c064
UD
26609 * math/e_exp10.c: Include math_private.h using <...> not "...".
26610 * math/e_exp10f.c: Likewise.
26611 * math/e_exp10l.c: Likewise.
26612 * math/e_exp2l.c: Likewise.
26613 * math/e_j0l.c: Likewise.
26614 * math/e_j1l.c: Likewise.
26615 * math/e_jnl.c: Likewise.
26616 * math/e_lgammal_r.c: Likewise.
26617 * math/e_rem_pio2l.c: Likewise.
26618 * math/e_scalb.c: Likewise.
26619 * math/e_scalbf.c: Likewise.
26620 * math/e_scalbl.c: Likewise.
26621 * math/k_cosl.c: Likewise.
26622 * math/k_sinl.c: Likewise.
26623 * math/k_tanl.c: Likewise.
26624 * math/s_cacoshf.c: Likewise.
26625 * math/s_catan.c: Likewise.
26626 * math/s_catanf.c: Likewise.
26627 * math/s_catanh.c: Likewise.
26628 * math/s_catanhf.c: Likewise.
26629 * math/s_catanhl.c: Likewise.
26630 * math/s_catanl.c: Likewise.
26631 * math/s_ccosh.c: Likewise.
26632 * math/s_ccoshf.c: Likewise.
26633 * math/s_ccoshl.c: Likewise.
26634 * math/s_cexp.c: Likewise.
26635 * math/s_cexpf.c: Likewise.
26636 * math/s_cexpl.c: Likewise.
26637 * math/s_clog.c: Likewise.
26638 * math/s_clog10.c: Likewise.
26639 * math/s_clog10f.c: Likewise.
26640 * math/s_clog10l.c: Likewise.
26641 * math/s_clogf.c: Likewise.
26642 * math/s_clogl.c: Likewise.
26643 * math/s_csin.c: Likewise.
26644 * math/s_csinf.c: Likewise.
26645 * math/s_csinh.c: Likewise.
26646 * math/s_csinhf.c: Likewise.
26647 * math/s_csinhl.c: Likewise.
26648 * math/s_csinl.c: Likewise.
26649 * math/s_csqrt.c: Likewise.
26650 * math/s_csqrtf.c: Likewise.
26651 * math/s_csqrtl.c: Likewise.
26652 * math/s_ctan.c: Likewise.
26653 * math/s_ctanf.c: Likewise.
26654 * math/s_ctanh.c: Likewise.
26655 * math/s_ctanhf.c: Likewise.
26656 * math/s_ctanhl.c: Likewise.
26657 * math/s_ctanl.c: Likewise.
26658 * math/s_ldexp.c: Likewise.
26659 * math/s_ldexpf.c: Likewise.
26660 * math/s_ldexpl.c: Likewise.
26661 * math/s_significand.c: Likewise.
26662 * math/s_significandf.c: Likewise.
26663 * math/s_significandl.c: Likewise.
26664 * math/w_acos.c: Likewise.
26665 * math/w_acosf.c: Likewise.
26666 * math/w_acosh.c: Likewise.
26667 * math/w_acoshf.c: Likewise.
26668 * math/w_acoshl.c: Likewise.
26669 * math/w_acosl.c: Likewise.
26670 * math/w_asin.c: Likewise.
26671 * math/w_asinf.c: Likewise.
26672 * math/w_asinl.c: Likewise.
26673 * math/w_atan2.c: Likewise.
26674 * math/w_atan2f.c: Likewise.
26675 * math/w_atan2l.c: Likewise.
26676 * math/w_atanh.c: Likewise.
26677 * math/w_atanhf.c: Likewise.
26678 * math/w_atanhl.c: Likewise.
26679 * math/w_cosh.c: Likewise.
26680 * math/w_coshf.c: Likewise.
26681 * math/w_coshl.c: Likewise.
26682 * math/w_dremf.c: Likewise.
26683 * math/w_exp10.c: Likewise.
26684 * math/w_exp10f.c: Likewise.
26685 * math/w_exp10l.c: Likewise.
26686 * math/w_exp2.c: Likewise.
26687 * math/w_exp2f.c: Likewise.
26688 * math/w_fmod.c: Likewise.
26689 * math/w_fmodf.c: Likewise.
26690 * math/w_fmodl.c: Likewise.
26691 * math/w_hypot.c: Likewise.
26692 * math/w_hypotf.c: Likewise.
26693 * math/w_hypotl.c: Likewise.
26694 * math/w_j0.c: Likewise.
26695 * math/w_j0f.c: Likewise.
26696 * math/w_j0l.c: Likewise.
26697 * math/w_j1.c: Likewise.
26698 * math/w_j1f.c: Likewise.
26699 * math/w_j1l.c: Likewise.
26700 * math/w_jn.c: Likewise.
26701 * math/w_jnf.c: Likewise.
26702 * math/w_jnl.c: Likewise.
26703 * math/w_lgamma.c: Likewise.
26704 * math/w_lgamma_r.c: Likewise.
26705 * math/w_lgammaf.c: Likewise.
26706 * math/w_lgammaf_r.c: Likewise.
26707 * math/w_lgammal.c: Likewise.
26708 * math/w_lgammal_r.c: Likewise.
26709 * math/w_log.c: Likewise.
26710 * math/w_log10.c: Likewise.
26711 * math/w_log10f.c: Likewise.
26712 * math/w_log10l.c: Likewise.
26713 * math/w_log2.c: Likewise.
26714 * math/w_log2f.c: Likewise.
26715 * math/w_log2l.c: Likewise.
26716 * math/w_logf.c: Likewise.
26717 * math/w_logl.c: Likewise.
26718 * math/w_pow.c: Likewise.
26719 * math/w_powf.c: Likewise.
26720 * math/w_powl.c: Likewise.
26721 * math/w_remainder.c: Likewise.
26722 * math/w_remainderf.c: Likewise.
26723 * math/w_remainderl.c: Likewise.
26724 * math/w_scalb.c: Likewise.
26725 * math/w_scalbf.c: Likewise.
26726 * math/w_scalbl.c: Likewise.
26727 * math/w_sinh.c: Likewise.
26728 * math/w_sinhf.c: Likewise.
26729 * math/w_sinhl.c: Likewise.
26730 * math/w_sqrt.c: Likewise.
26731 * math/w_sqrtf.c: Likewise.
26732 * math/w_sqrtl.c: Likewise.
26733 * math/w_tgamma.c: Likewise.
26734 * math/w_tgammaf.c: Likewise.
26735 * math/w_tgammal.c: Likewise.
26736
6a621eb7
UD
26737 * po/ja.po: Update from translation team.
26738
bf582445
AJ
267392011-09-29 Andreas Jaeger <aj@suse.de>
26740
f9efbf3a
AJ
26741 [BZ #13179]
26742 * sunrpc/netname.c (netname2host): Fix logic.
26743
bf582445
AJ
26744 [BZ #6779]
26745 [BZ #6783]
26746 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
26747 correctly.
26748 * math/w_remainder.c (__remainder): Likewise.
26749 * math/w_remainderf.c (__remainderf): Likewise.
26750 * math/libm-test.inc (remainder_test): Add test cases.
26751
48693bea
AK
267522011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26753
26754 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
26755 sdiv_qrnnd.
26756
42622229
LD
267572011-10-07 Ulrich Drepper <drepper@gmail.com>
26758
26759 * string/test-memcmp.c: Avoid unncessary #defines.
26760 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26761
093ecf92
LD
267622011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26763
26764 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
26765 Use new sse2 version for core i3 - i7 as it's faster
26766 than sse42 version.
26767 (bit_Prefer_PMINUB_for_stringop): New.
26768 * sysdeps/x86_64/rawmemchr.S: Update.
26769 Replace with faster SSE2 version.
26770 * sysdeps/x86_64/memrchr.S: New file.
26771 * sysdeps/x86_64/memchr.S: Update.
26772 Replace with faster SSE2 version.
26773
fde56e5c
MP
267742011-09-12 Marek Polacek <mpolacek@redhat.com>
26775
26776 * elf/dl-load.c (lose): Add cast to avoid warning.
26777
21fd49a9
UD
267782011-10-07 Ulrich Drepper <drepper@gmail.com>
26779
5a06e643
UD
26780 * po/ca.po: Update from translation team.
26781
684ae515
UD
26782 * inet/getnetgrent_r.c: Hook up nscd.
26783 * nscd/Makefile (routines): Add nscd_netgroup.
26784 (nscd-modules): Add netgroupcache.
26785 (CFLAGS-netgroupcache.c): Define.
26786 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
26787 (cache_search): Add const to second parameter.
26788 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
26789 INNETGR.
26790 (dbs): Add netgrdb entry.
26791 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
26792 (verify_persistent_db): Handle netgrdb.
26793 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
26794 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
26795 GETFDNETGR.
26796 (netgroup_response_header): Define.
26797 (innetgroup_response_header): Define.
26798 (datahead): Add netgroup_response_header and innetgroup_response_header
26799 elements.
26800 * nscd/nscd.conf: Add entries for netgroup cache.
26801 * nscd/nscd.h (dbtype): Add netgrdb.
26802 (_PATH_NSCD_NETGROUP_DB): Define.
26803 (netgroup_iov_disabled): Declare.
26804 (xmalloc, xcalloc, xrealloc): Move declarations here.
26805 (cache_search): Adjust prototype.
26806 Add netgroup-related prototypes.
26807 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
26808 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
26809 (__nscd_innetgr): Declare.
26810 * nscd/selinux.c (perms): Use access_vector_t as element type and
26811 add netgroup-related initializers.
26812 * nscd/netgroupcache.c: New file.
26813 * nscd/nscd_netgroup.c: New file.
26814 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
26815 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
26816 For four parameters use innetgr.
26817 * nss/nss_files/files-init.c: Add definition and callback for netgr.
26818 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
26819 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
26820 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
26821
21fd49a9
UD
26822 * nscd/connections.c (register_traced_file): Don't register file
26823 for disabled databases.
26824
054c0457
UD
268252011-10-06 Ulrich Drepper <drepper@gmail.com>
26826
32b63198
UD
26827 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
26828
054c0457
UD
26829 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
26830 from tree and freeing node.
26831
64031225
JO
268322011-09-25 Jiri Olsa <jolsa@redhat.com>
26833
26834 * nss/nsswitch.c (__nss_database_lookup): Handle
26835 nss_parse_service_list out of memory case.
26836
0490345c
JO
268372011-09-15 Jiri Olsa <jolsa@redhat.com>
26838
26839 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
26840 out of memory case.
26841
3a62d00d
AS
268422011-10-04 Andreas Schwab <schwab@redhat.com>
26843
26844 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
26845 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
26846 pass it down.
26847 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
26848 elf_machine_rela, elf_machine_lazy_rel.
26849 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
26850 (ELF_DYNAMIC_DO_REL): Likewise.
26851 (ELF_DYNAMIC_DO_RELA): Likewise.
26852 (ELF_DYNAMIC_RELOCATE): Likewise.
26853 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
26854 to ELF_DYNAMIC_DO_REL.
26855 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
26856 (dl_main): In trace mode always set __RTLD_NOIFUNC.
26857 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
26858 elf_machine_rela.
26859 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
26860 skip_ifunc, don't call ifunc function if non-zero.
26861 (elf_machine_rela): Likewise.
26862 (elf_machine_lazy_rel): Likewise.
26863 (elf_machine_lazy_rela): Likewise.
26864 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
26865 (elf_machine_lazy_rel): Likewise.
26866 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26867 Likewise.
26868 (elf_machine_lazy_rel): Likewise.
26869 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26870 Likewise.
26871 (elf_machine_lazy_rel): Likewise.
26872 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
26873 (elf_machine_lazy_rel): Likewise.
26874 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
26875 (elf_machine_lazy_rel): Likewise.
26876 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26877 (elf_machine_lazy_rel): Likewise.
26878 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26879 (elf_machine_lazy_rel): Likewise.
26880 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26881 (elf_machine_lazy_rel): Likewise.
26882 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26883 (elf_machine_lazy_rel): Likewise.
26884
68577918
UD
268852011-09-28 Ulrich Drepper <drepper@gmail.com>
26886
26887 * nss/nss_files/files-init.c (_nss_files_init): Use static
26888 initialization for all the *_traced_file variables.
26889
68822d74
AS
268902011-09-28 Andreas Schwab <schwab@redhat.com>
26891
26892 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26893
2056100b
RM
268942011-09-27 Roland McGrath <roland@hack.frob.com>
26895
26896 [BZ #13226]
26897 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
26898
32c76b63
AS
268992011-09-27 Andreas Schwab <schwab@redhat.com>
26900
26901 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26902 Reread the line before reparsing it.
26903
bf972c9d
AS
269042011-09-26 Andreas Schwab <schwab@redhat.com>
26905
26906 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
26907
e057a1b5
JM
269082011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
26909 Maxim Kuvyrkov <maxim@codesourcery.com>
26910 Joseph Myers <joseph@codesourcery.com>
26911
26912 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
26913 if needed for __stack_chk_guard.
26914
bc7e1c36
RM
269152011-09-19 Roland McGrath <roland@hack.frob.com>
26916
ecb1482f
RM
26917 * sysdeps/posix/spawni.c (script_execute): Always define it.
26918 It will be optimized away if unused.
26919 (maybe_script_execute): New function.
26920 (__spawni): Call it.
26921
bc7e1c36
RM
26922 * Makerules: Don't include tls.make.
26923 (config-tls): Always set to thread.
26924 * tls.make.c: File removed.
26925
1c3b002b
MF
269262011-09-19 Mike Frysinger <vapier@gentoo.org>
26927
26928 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
26929 * config.make.in (CPPFLAGS-config): New substituted variable.
26930
2840865d
UD
269312011-09-15 Ulrich Drepper <drepper@gmail.com>
26932
88738eb6
UD
26933 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
26934
cbf645a6 26935 [BZ #13192]
2840865d
UD
26936 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
26937 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
26938
b402e91a
RM
269392011-09-15 Roland McGrath <roland@hack.frob.com>
26940
26941 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
26942 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
26943 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26944 (CALL_FAIL): Likewise.
26945 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
26946 (CALL_FAIL): Macro removed.
26947 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
26948
4c1a1f71
UD
269492011-09-15 Ulrich Drepper <drepper@gmail.com>
26950
26951 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
26952 for __FINITE_MATH_ONLY__ == 1.
26953
edc121be
AS
269542011-09-15 Andreas Schwab <schwab@redhat.com>
26955
26956 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
26957 __ieee754_sqrt instead of sqrt.
26958 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
26959 __ieee754_sqrtf instead of sqrtf.
26960 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
26961 __floorf instead of floorf.
26962 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
26963 __floorf, __truncf instead of floorf, truncf.
26964
cd205654
UD
269652011-09-14 Ulrich Drepper <drepper@gmail.com>
26966
ee4d0315
UD
26967 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
26968
cd205654
UD
26969 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
26970 __extern_always_inline.
26971 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
26972 32-bit.
26973
48b67d71
AS
269742011-09-14 Andreas Schwab <schwab@redhat.com>
26975
26976 * elf/rtld.c (dl_main): Also relocate in dependency order when
26977 doing symbol dependency testing.
26978
1ae12c75
AS
269792011-09-13 Andreas Schwab <schwab@linux-m68k.org>
26980
26981 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26982 Always define `refsym'.
26983
995a80df
AS
269842011-09-13 Andreas Schwab <schwab@redhat.com>
26985
e529793b
AS
26986 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
26987 (__FD_ELT): Renamed from __FDELT.
26988 * misc/bits/select2.h (__FD_ELT): Likewise.
26989 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
26990 __FD_MASK instead of __FDELT, __FDMASK.
26991 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26992 Likewise.
26993 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26994 Likewise.
26995
52d4fef8
AS
26996 * elf/Makefile (gen-ldd): Fix pattern.
26997
995a80df
AS
26998 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
26999 (init_tls): Likewise.
27000
8682f8b0
UD
270012011-09-12 Ulrich Drepper <drepper@gmail.com>
27002
27003 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27004
de82006d
AS
270052011-09-12 Andreas Schwab <schwab@redhat.com>
27006
a7c8e6a1
AS
27007 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27008 `struct cmsghdr *' instead of `void *'.
27009 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27010 Likewise.
27011
0f31fe77
AS
270122011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27013
27014 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27015 if non-absolute.
27016 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27017 ldd_rewrite_script.
0f31fe77 27018
32b4c839
UD
270192011-09-11 Ulrich Drepper <drepper@gmail.com>
27020
83cd1420
UD
27021 * configure.in: Remove --with-tls option.
27022 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27023 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27024 out in case it is missing.
27025 * sysdeps/ia64/elf/configure.in: Likewise.
27026 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27027 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27028 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27029 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27030 * sysdeps/sh/elf/configure.in: Likewise.
27031 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27032 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27033 * sysdeps/x86_64/elf/configure.in: Likewise.
27034 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27035 * sysdeps/mach/hurd/tls.h: Likewise.
27036
633f745d
UD
27037 [BZ #13067]
27038 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27039
f318beb8
UD
27040 [BZ #13090]
27041 * configure.in: Fix use of AC_INIT.
27042
32b4c839
UD
27043 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27044
3ce1f295
UD
270452011-09-10 Ulrich Drepper <drepper@gmail.com>
27046
bb016596
UD
27047 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27048 __set_errno.
8e58439c
UD
27049 * malloc/hooks.c: Likewise.
27050
aebae053 27051 [BZ #11929]
02d46fc4
UD
27052 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27053 variables statically.
27054 (narenas): Initialize.
27055 (list_lock): Initialize.
bb016596
UD
27056 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27057 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27058 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27059 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27060 Add initializers to main_arena and mp_.
27061 (malloc_state): Remove pagesize member. Change all users to use
27062 GLRO(dl_pagesize).
27063
27064 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27065 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27066 is always initialized.
27067
22a89187
UD
27068 * malloc/malloc.c: Removed unused configurations and dead code.
27069 * malloc/arena.c: Likewise.
27070 * malloc/hooks.c: Likewise.
02d46fc4 27071 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27072
d063d164
UD
27073 * include/tls.h: Removed. USE___THREAD must always be defined.
27074 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27075 * elf/dl-libc.c: Likewise.
27076 * elf/dl-tsd.c: Likewise.
27077 * include/errno.h: Likewise.
27078 * include/netdb.h: Likewise.
27079 * include/resolv.h: Likewise.
27080 * inet/herrno-loc.c: Likewise.
27081 * inet/herrno.c: Likewise.
27082 * malloc/arena.c: Likewise.
27083 * malloc/hooks.c: Likewise.
27084 * malloc/malloc.c: Likewise.
27085 * resolv/res-state.c: Likewise.
27086 * resolv/res_libc.c: Likewise.
27087 * sysdeps/i386/dl-machine.h: Likewise.
27088 * sysdeps/ia64/dl-machine.h: Likewise.
27089 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27090 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27091 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27092 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27093 * sysdeps/sh/dl-machine.h: Likewise.
27094 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27095 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27096 * sysdeps/unix/i386/sysdep.S: Likewise.
27097 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27098 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27099 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27100 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27101 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27102 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27103 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27104 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27105 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27106 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27107 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27108 * sysdeps/x86_64/dl-machine.h: Likewise.
27109 * tls.make.c: Likewise.
27110
3ce1f295
UD
27111 * configure.in: Remove --with-__thread option. Make tests for
27112 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27113 tls_model attribute fail if no support is available. Remove
27114 USE_IN_LIBIO.
27115 * Makeconfig: Adjust for dropped configure option. All features are
27116 now mandatory.
27117 * Makerules: Likewise.
27118 * Versions.def: Likewise.
27119 * argp/argp-fmtstream.c: Likewise.
27120 * argp/argp-fmtstream.h: Likewise.
27121 * argp/argp-help.c: Likewise.
27122 * assert/assert.c: Likewise.
27123 * config.h.in: Likewise.
27124 * config.make.in: Likewise.
27125 * configure: Likewise.
27126 * configure.in: Likewise.
27127 * csu/Versions: Likewise.
27128 * csu/init.c: Likewise.
27129 * elf/tst-audit2.c: Likewise.
27130 * elf/tst-tls10.c: Likewise.
27131 * elf/tst-tls10.h: Likewise.
27132 * elf/tst-tls11.c: Likewise.
27133 * elf/tst-tls12.c: Likewise.
27134 * elf/tst-tls14.c: Likewise.
27135 * elf/tst-tlsmod11.c: Likewise.
27136 * elf/tst-tlsmod12.c: Likewise.
27137 * elf/tst-tlsmod13.c: Likewise.
27138 * elf/tst-tlsmod13a.c: Likewise.
27139 * elf/tst-tlsmod14a.c: Likewise.
27140 * elf/tst-tlsmod15b.c: Likewise.
27141 * elf/tst-tlsmod16a.c: Likewise.
27142 * elf/tst-tlsmod16b.c: Likewise.
27143 * elf/tst-tlsmod7.c: Likewise.
27144 * elf/tst-tlsmod8.c: Likewise.
27145 * elf/tst-tlsmod9.c: Likewise.
27146 * gmon/gmon.c: Likewise.
27147 * grp/fgetgrent_r.c: Likewise.
27148 * grp/putgrent.c: Likewise.
27149 * hurd/fopenport.c: Likewise.
27150 * include/libc-symbols.h: Likewise.
27151 * include/tls.h: Likewise.
27152 * intl/gettextP.h: Likewise.
27153 * intl/loadinfo.h: Likewise.
27154 * locale/global-locale.c: Likewise.
27155 * locale/localeinfo.h: Likewise.
27156 * mach/devstream.c: Likewise.
27157 * malloc/arena.c: Likewise.
27158 * malloc/set-freeres.c: Likewise.
27159 * misc/err.c: Likewise.
27160 * misc/getttyent.c: Likewise.
27161 * misc/mntent_r.c: Likewise.
27162 * posix/getopt.c: Likewise.
27163 * posix/wordexp.c: Likewise.
27164 * pwd/fgetpwent_r.c: Likewise.
27165 * resolv/Versions: Likewise.
27166 * resolv/res_hconf.c: Likewise.
27167 * shadow/fgetspent_r.c: Likewise.
27168 * shadow/putspent.c: Likewise.
27169 * stdio-common/printf_fphex.c: Likewise.
27170 * stdio-common/tmpfile.c: Likewise.
27171 * stdlib/abort.c: Likewise.
27172 * stdlib/fmtmsg.c: Likewise.
27173 * sunrpc/auth_unix.c: Likewise.
27174 * sunrpc/clnt_perr.c: Likewise.
27175 * sunrpc/clnt_tcp.c: Likewise.
27176 * sunrpc/clnt_udp.c: Likewise.
27177 * sunrpc/clnt_unix.c: Likewise.
27178 * sunrpc/openchild.c: Likewise.
27179 * sunrpc/svc_simple.c: Likewise.
27180 * sunrpc/svc_tcp.c: Likewise.
27181 * sunrpc/svc_udp.c: Likewise.
27182 * sunrpc/svc_unix.c: Likewise.
27183 * sunrpc/xdr.c: Likewise.
27184 * sunrpc/xdr_array.c: Likewise.
27185 * sunrpc/xdr_rec.c: Likewise.
27186 * sunrpc/xdr_ref.c: Likewise.
27187 * sunrpc/xdr_stdio.c: Likewise.
27188
1248c1c4
PB
271892011-09-09 Ulrich Drepper <drepper@gmail.com>
27190
27191 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27192
271932011-07-03 Andreas Jaeger <aj@suse.de>
27194
27195 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27196 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27197 regenerate with gen-libm-tests.pl.
27198
271992010-05-12 Petr Baudis <pasky@suse.cz>
27200
27201 [BZ #11589]
27202 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27203 around j0() zero points by switching to j1().
27204 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27205 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27206 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27207 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27208
f22e1074
UD
272092011-09-09 Ulrich Drepper <drepper@gmail.com>
27210
f19009c1
UD
27211 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27212 instead of 0.
27213 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27214 instead of 0.
f19009c1
UD
27215 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27216 Patch in part by Pavel Roskin <proski@gnu.org>.
27217
3f8cc204
UD
27218 [BZ #13138]
27219 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27220 realloc.
27221 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27222 Free memory block if necessary.
27223
f22e1074
UD
27224 [BZ #12847]
27225 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27226 be NULL. Don't lock in this case.
27227
0a2349f9
RM
272282011-09-09 Roland McGrath <roland@hack.frob.com>
27229
27230 * elf/elf.h (ELFOSABI_GNU): New macro.
27231 (ELFOSABI_LINUX): Define to that.
27232
f3cdd467
DZ
272332011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27234
27235 * string/strncat.c (strncat): Undef the symbol in case it has been
27236 defined in bits/string.h.
27237
74718d13
UD
272382011-09-09 Ulrich Drepper <drepper@gmail.com>
27239
633e9e0f
UD
27240 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27241
0a2349f9 27242 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
27243 link map.
27244
f9924780
AJ
272452011-08-17 Andreas Jaeger <aj@suse.de>
27246
27247 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27248
7f5517aa
PP
272492011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27250 Ian Lance Taylor <iant@google.com>
27251
27252 * math/libm-test.inc (lround_test): New testcase.
27253 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27254
762011fe
UD
272552011-09-08 Ulrich Drepper <drepper@gmail.com>
27256
92963737
UD
27257 * Makefile: Remove support for automatic cvs check-ins.
27258 * Makerules: Likewise.
27259 * config.make.in: Likewise.
27260 * configure.in: Likewise.
27261 * intl/Makefile: Likewise.
27262 * locale/Makefile: Likewise.
27263 * po/Makefile: Likewise.
27264 * posix/Makefile: Likewise.
27265 * sysdeps/gnu/Makefile: Likewise.
27266 * sysdeps/mach/hurd/Makefile: Likewise.
27267 * sysdeps/sparc/sparc32/Makefile: Likewise.
27268
b0727fd8
JS
27269 [BZ #13118]
27270 * posix/Makefile (bug-regex32-ENV): Define.
27271 Patch by John Stanley <jpsinthemix@verizon.net>.
27272
a0f33f99
UD
27273 * misc/Makefile (headers): Add bits/select2.h.
27274 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27275 * misc/bits/select2.h: New file.
27276 * include/bits/select2.h: New file.
27277 * debug/Makefile (routines): Add fdelt_chk.
27278 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27279 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27280 FD_ISSET.
27281 * debug/fdelt_chk.c: New file.
27282
762011fe
UD
27283 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27284 * wcsmbs/test-wmemcmp.c: Likewise.
27285 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 27286 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
27287
272882011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27289
27290 * string/Makefile (strop-tests): Add memcmp.
27291 * string/test-wmemcmp.c: New file.
27292 * string/test-memcmp.c: Add wmemcmp support.
27293
7f513ec8
RM
272942011-09-08 Roland McGrath <roland@hack.frob.com>
27295
0442afb4
RM
27296 [BZ #13153]
27297 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27298 2011-07-19 change.
27299
7f513ec8
RM
27300 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27301 garbage value in a __mach_port_mod_refs call in the cases of the
27302 task-self and thread-self ports.
27303
a12b2239
ST
273042011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27305
27306 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27307
610f9ab4
AS
273082011-09-08 Andreas Schwab <schwab@redhat.com>
27309
7f513ec8 27310 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 27311
48882a1a
LD
273122011-09-07 Ulrich Drepper <drepper@gmail.com>
27313
b49865be
UD
27314 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27315
fdc86bc9
UD
27316 * elf/dl-libc.c (dlerror_run): Pass back error code from
27317 dl_catch_error.
27318
c966526a
UD
27319 [BZ #13123]
27320 * elf/dl-load.c (lose): Free l_origin if it is valid.
27321
48882a1a
LD
27322 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27323 names.
27324 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27325 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27326 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27327 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27328 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27329 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27330
77a2a8b4
AZ
273312011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27332
27333 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27334 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27335 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27336 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27337 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27338 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27339 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27340 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27341 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27342 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27343
24f579d8
AM
273442011-08-15 Alan Modra <amodra@gmail.com>
27345
27346 [BZ #13092]
27347 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27348 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27349 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27350 ppc_mcount to static-only-routines.
27351 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27352 __mcount_internal.
27353 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27354 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27355
3d4837df
UD
273562011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27357
27358 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27359 for finite and infinity parameters.
27360
22700377
WS
273612011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27362
27363 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27364 and add nop instructions for throughput optimization.
27365 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27366
5025581e
WS
273672011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27368
27369 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27370 aligned copy for power7 with vector-scalar instructions.
27371 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27372
08a300c9
L
273732011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27374
27375 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27376 AVX check.
27377
59178ef9
AS
273782011-09-07 Andreas Schwab <schwab@redhat.com>
27379
27380 [BZ #13144]
27381 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27382 last change.
27383
e38ba7ab
UD
273842011-09-07 Ulrich Drepper <drepper@gmail.com>
27385
27386 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27387 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27388 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27389 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27390 clock_gettime.
27391
d53a73ac
UD
273922011-09-06 Ulrich Drepper <drepper@gmail.com>
27393
fc8bffcc
UD
27394 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27395 Forgot to demangle the pointer.
27396
ceaa0c5d
UD
27397 * sysdeps/i386/sysdep.h: Define atom_text_section.
27398 * sysdeps/x86_64/sysdep.h: Likewise.
27399 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27400 section with atom_text_section.
27401 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27402 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27403 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27404 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27405 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27406
a77d3c17
UD
27407 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27408 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27409 already be defined. Change to take two parameters and don't assign
27410 result to variable. Adjust all users.
27411 Define INTERNAL_GETTIME if not already defined.
27412 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27413 call.
27414 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27415 HAVE_CLOCK_GETTIME_VSYSCALL.
27416 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27417
d53a73ac
UD
27418 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27419 gettimeofday vsyscall, just use time.
27420
a8f84144
AS
274212011-09-06 Andreas Schwab <schwab@redhat.com>
27422
27423 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27424 <errno.h>.
27425
ef606249
UD
274262011-09-06 Ulrich Drepper <drepper@gmail.com>
27427
27428 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27429 syscall on x86-64.
27430 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27431 syscall.
27432 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27433 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27434 syscall if possible.
27435
6585cb60
UD
274362011-09-05 Ulrich Drepper <drepper@gmail.com>
27437
27438 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27439 e_ident. Don't pass to find_mapsXX.
27440 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27441
a5f524e4
LD
274422011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27443
27444 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27445 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27446 * sysdeps/x86_64/multiarch/strchr.S: Update.
27447 Check bit_slow_BSF bit.
27448 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27449 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27450 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27451
554881ef
UD
274522011-09-05 Ulrich Drepper <drepper@gmail.com>
27453
d96de963
UD
27454 [BZ #13134]
27455 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27456 before glibc 2.15.
27457 (tryshell): Define.
27458 (__spawni): Change last parameter to be flag. Test
27459 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27460 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27461 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27462 * posix/spawni.c: Likewise.
27463 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27464 * posix/spawnp.c: Likewise. Change normal version to use
27465 SPAWN_XFLAGS_USE_PATH.
27466 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27467 SPAWN_XFLAGS_TRY_SHELL.
27468
d48e5868
UD
27469 [BZ #13150]
27470 * posix/glob.h: Remove gcc 1.x support.
27471
554881ef
UD
27472 [BZ #13068]
27473 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27474
693fb948
LD
274752011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27476
27477 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27478 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27479 strrchr-sse2-bsf
27480 * sysdeps/i386/i686/multiarch/strchr.S: New file.
27481 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27482 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27483 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27484 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27485 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27486
1b48c537
UD
274872011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27488
49d42c37
UD
27489 * sysdeps/x86_64/wcscmp.S: New file.
27490
1b48c537
UD
27491 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27492 wcscmp-c wcscmp-sse2
27493 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27494 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27495 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27496 * wcsmbs/wcscmp.c: Allow renaming.
27497
15c95c5d
DM
274982011-09-05 David S. Miller <davem@davemloft.net>
27499
27500 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27501 stack slot, rather than the struct return pointer slot.
27502 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27503 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27505 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27506
2f0ad8f3
UD
275072011-09-05 Ulrich Drepper <drepper@gmail.com>
27508
d88ae418
UD
27509 * po/ja.po: Update from translation team.
27510
2f0ad8f3
UD
27511 [BZ #13144]
27512 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27513 kernel in 64-bit binaries.
27514
5f4318d1
DM
275152011-09-01 David S. Miller <davem@davemloft.net>
27516
27517 * elf/elf.h (HWCAP_SPARC_*): Move to..
27518 * sysdeps/sparc/sysdep.h: this new file and add new values.
27519 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27520 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27521 _DL_HWCAP_COUNT to 24.
27522 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27523 entries.
27524 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27525 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27526 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27527 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27528 instead of magic constants.
27529 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27530
3ba57516
DM
275312011-08-31 David S. Miller <davem@davemloft.net>
27532
27533 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27534 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27535 Reimplement to do errno handling inline.
27536 (SYSCALL_ERROR_HANDLER): New macro.
27537 (__SYSCALL_STRING): Do not do errno handling in asm.
27538 (__CLONE_SYSCALL_STRING): Delete.
27539 (__INTERNAL_SYSCALL_STRING): Delete.
27540 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27541 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27542 (PSEUDO): Reimplement to do errno handling inline.
27543 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27544 (SYSCALL_ERROR_HANDLER): New macro.
27545 (__SYSCALL_STRING): Do not do errno handling in asm.
27546 (__CLONE_SYSCALL_STRING): Delete.
27547 (__INTERNAL_SYSCALL_STRING): Delete.
27548 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27549 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27550 i386.
27551 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27552 (inline_syscall*): Add 'err' argument.
27553 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27554 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27555 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27556 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27557
27558 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27559 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27560
2bc17433
AS
275612011-08-30 Andreas Schwab <schwab@redhat.com>
27562
27563 * elf/rtld.c (dl_main): Relocate objects in dependency order.
27564
fbeb5f4d
JO
275652011-08-29 Jiri Olsa <jolsa@redhat.com>
27566
27567 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27568 directive.
27569
ad69cc26
DM
275702011-08-24 David S. Miller <davem@davemloft.net>
27571
27572 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27573
39dd69df
AS
275742011-08-24 Andreas Schwab <schwab@redhat.com>
27575
27576 * elf/Makefile: Add rules to build and run unload8 test.
27577 * elf/unload8.c: New file.
27578 * elf/unload8mod1.c: New file.
27579 * elf/unload8mod1x.c: New file.
27580 * elf/unload8mod2.c: New file.
27581 * elf/unload8mod3.c: New file.
27582
27583 * elf/dl-close.c (_dl_close_worker): Reset private search list if
27584 it wasn't used.
27585
2c0b250a
DM
275862011-08-23 David S. Miller <davem@davemloft.net>
27587
27588 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27589 subtract stack bias.
27590 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27591 %sp not %fp in calculations.
27592 (_JMPBUF_UNWINDS_ADJ): Likewise.
27593
22044b48
DM
27594 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27595 (aio_suspend): Call it to force an exception region around the
27596 AIO_MISC_WAIT() invocation.
27597
2cae4995
AS
275982011-08-23 Andreas Schwab <schwab@redhat.com>
27599
27600 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27601 backslash.
27602
873a772e
AJ
276032011-07-04 Aurelien Jarno <aurelien@aurel32.net>
27604
27605 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27606 protection macro.
27607 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27608 and <dl-machine.h>.
27609 (Elf64_FuncDesc): Remove.
27610
25ad0df1
DM
276112011-08-22 David S. Miller <davem@davemloft.net>
27612
27613 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27614 sigaltstack check, add missing cfi directives.
27615 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27616 missing cfi directives, and sigaltstack handling.
27617
e888bcbe
AS
276182011-08-16 Andreas Schwab <schwab@redhat.com>
27619
27620 [BZ #11724]
27621 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27622 object is seen twice.
27623 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27624
27625 * elf/Makefile (distribute): Add tst-initorder2.c.
27626 (tests): Add tst-initorder2.
27627 (modules-names): Add tst-initorder2a tst-initorder2b
27628 tst-initorder2c tst-initorder2d. Add rules to build them.
27629 ($(objpfx)tst-initorder2.out): New rule.
27630 * elf/tst-initorder2.c: New file.
27631 * elf/tst-initorder2.exp: New file.
27632
87162f46
AS
276332011-08-22 Andreas Schwab <schwab@redhat.com>
27634
70538b7f
AS
27635 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27636
f55ffe58
AS
27637 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27638 dependencies back to end of function.
27639
87162f46
AS
27640 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27641 $(elfobjdir)/ld.so.
27642
91b392a4
UD
276432011-08-21 Ulrich Drepper <drepper@gmail.com>
27644
27645 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27646 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27647 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27648 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27649 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27650 of __vdso_gettimeofday.
27651 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27652 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
27653 attribute_hidden.
27654 (_libc_vdso_platform_setup): Remove initialization of
27655 __vdso_gettimeofday and __vdso_time.
27656
5c43483f
UD
276572011-08-20 Ulrich Drepper <drepper@gmail.com>
27658
775a77e7
UD
27659 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27660 and fgetc_unlocked.
27661 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27662 getc_unlocked.
89f447ed 27663
49c74ba9
UD
27664 * elf/dl-open.c (add_to_global): Report additions to the global scope
27665 for LD_DEBUG=scopes.
27666 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 27667 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 27668
5c43483f
UD
27669 [BZ #13114]
27670 * stdio-common/Makefile (tests): Add bug24.
27671 * stdio-common/bug24.c: New file.
27672
a101b025
AJ
276732011-08-19 Andreas Jaeger <aj@suse.de>
27674
27675 [BZ #13114]
27676 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27677 non-existant file when using close-on-exec mode.
27678
c88f1766
UD
276792011-08-20 Ulrich Drepper <drepper@gmail.com>
27680
0276a718
UD
27681 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27682 the very first instruction.
27683
c88f1766
UD
27684 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27685 the CFI state in the end.
27686 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27687 inclusion of dl-trampoline.h.
27688 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27689
51ccffa0
AS
276902011-08-19 Andreas Schwab <schwab@redhat.com>
27691
94d7165f
AS
27692 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27693 expectations for long double.
27694
51ccffa0
AS
27695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27696 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27697
fd708658 276982011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
27699
27700 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27701 artificual limit depends upon the system page size.
27702
44f0a71e
UD
277032011-08-17 Ulrich Drepper <drepper@gmail.com>
27704
27705 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27706 * resolv/Makefile: Define CFLAGS-libresolv.
27707
8de79a24
AS
277082011-08-17 Andreas Schwab <schwab@redhat.com>
27709
27710 * nss/makedb.c (compute_tables): Make variables used in nested
27711 function static.
27712
27724598
UD
277132011-08-17 Ulrich Drepper <drepper@gmail.com>
27714
c5305d88
UD
27715 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27716 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27717 if buffer was too small.
27718
27724598
UD
27719 * elf/pldd.c (main): Attach to all threads in the process.
27720 Rewrite /proc handling to use *at functions.
27721
076fe015
UD
277222011-08-16 Ulrich Drepper <drepper@gmail.com>
27723
174baab3
UD
27724 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27725 specifies first scope to show.
27726 (dl_open_worker): Update callers. Move printing scope of new
27727 object to before the relocation.
44f0a71e 27728 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
27729 * sysdeps/generic/ldsodefs.h: Update declaration.
27730
076fe015
UD
27731 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27732 string for the scope number.
27733
a60df2c3
UD
277342011-08-14 Ulrich Drepper <drepper@gmail.com>
27735
27736 * nscd/servicescache.c (cache_addserv): Make sure written is always
27737 initialized.
27738
5e4287d1
RM
277392011-08-14 Roland McGrath <roland@hack.frob.com>
27740
85ae0589
RM
27741 * sysdeps/i386/i486/bits/atomic.h
27742 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27743 statement expression, so as to suppress "set but not used" warning.
27744 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27745
69f63097
RM
27746 * string/strncat.c (STRNCAT): Use prototype definition.
27747
675456ef
RM
27748 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
27749 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
27750 -Iprograms here.
27751 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
27752 (localedef-modules): Add localedef.
27753 (locale-modules): Add locale.
27754
5e4287d1
RM
27755 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
27756 * elf/rtld.c (dl_main): Invert order of assignment in last change,
27757 to avoid a warning.
27758
9c96ff23
DM
277592011-08-14 David S. Miller <davem@davemloft.net>
27760
27761 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
27762 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
27763
f9ddf089
UD
277642011-08-13 Ulrich Drepper <drepper@gmail.com>
27765
44f0a71e 27766 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
27767 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
27768 * elf/rtld.c (dl_main): Set l_name of vDSO.
27769 Call _dl_show_scope when DL_DEBUG_SCOPES.
27770 (process_dl_debug): Recognize scopes flag and also set it for all.
27771 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
27772 Declare _dl_show_scope.
27773
1dc27704
UD
27774 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
27775 (do_dlopen): Pass caller_dlopen to dl_open.
27776 (__libc_dlopen_mode): Initialize caller_dlopen.
27777
f9ddf089
UD
27778 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
27779 of libc. Make tolower call locale-independent. Optimize a bit by
27780 using isdigit instead of isalnum.
27781 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
27782
9ac533d3
UD
277832011-08-12 Ulrich Drepper <drepper@gmail.com>
27784
27785 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
27786 was a dependency or dynamically loaded.
27787
89edf2e9
UD
277882011-08-11 Ulrich Drepper <drepper@gmail.com>
27789
8e999d29
UD
27790 * intl/l10nflist.c: Allow architecture-specific pop function.
27791 * sysdeps/x86_64/l10nflist.c: New file.
27792
89edf2e9
UD
27793 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
27794 classification.
27795
14d96785
AS
277962011-08-10 Andreas Schwab <schwab@redhat.com>
27797
27798 * include/dirent.h: Add libc_hidden_proto for scandirat and
27799 scandirat64. Don't declare __scandirat64.
27800 * dirent/scandirat.c: Add libc_hidden_def.
27801 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
27802 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
27803
6761ac04
DM
278042011-08-10 David S. Miller <davem@davemloft.net>
27805
27806 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
27807 enum.
27808 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27809 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27810 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27811
c55fbd1e
UD
278122011-08-09 Ulrich Drepper <drepper@gmail.com>
27813
27814 * Versions.def [libc]: Add GLIBC_2.15.
27815 * dirent/Makefile (routines): Add scandirat and scandirat64.
27816 * dirent/Versions [libc]: Export scandirat and scandirat64 for
27817 GLIBC_2.15.
27818 * dirent/dirent.h: Declare scandirat and scandirat64.
27819 * dirent/scandirat.c: New file.
27820 * dirent/scandirat64.c: New file.
27821 * sysdeps/wordsize-64/scandirat.c: New file.
27822 * sysdeps/wordsize-64/scandirat64.c: New file.
27823 * dirent/opendir.c: Define opendirat.
27824 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
27825 using scandirat.
27826 * dirent/scandir64.c: Adjust for scandir.c change.
27827 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
27828 __scandirat64, and __scandir_cancel_handler.
27829 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
27830 additional parameter and use openat instead of open (outside of ld.so).
27831 Add new __opendir as wrapper around __opendirat.
27832 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
27833 here without requiring old scandirat implementation.
27834
879165f2
UD
278352011-08-08 Ulrich Drepper <drepper@gmail.com>
27836
27837 * dirent/scandir.c (cancel_handler): Renamed to
27838 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
27839 defined. Adjust users.
27840 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
27841 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
27842
cb7e923b
UD
278432011-08-04 Ulrich Drepper <drepper@gmail.com>
27844
16292edd
UD
27845 * string/test-string.h (IMPL): Use __STRING to expand name and then
27846 stringify it.
27847
cb7e923b
UD
27848 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
27849 of cleanups.
27850
cff82933
LD
278512011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27852
27853 * string/Makefile: Update.
27854 (strop-tests): Append strncat.
27855 * string/test-wcscmp.c: New file.
27856 New comprehensive test for wcscmp.
27857 * string/test-strcmp.c: Update.
27858 (WIDE): New define.
27859
9be9bfcc
AS
278602011-07-22 Andreas Schwab <schwab@redhat.com>
27861
27862 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
27863 line.
27864
2e96f1c7
AS
278652011-07-26 Andreas Schwab <schwab@redhat.com>
27866
27867 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27868 encoding to ACE if AI_IDN.
27869
85188888
JJ
278702011-08-01 Jakub Jelinek <jakub@redhat.com>
27871
27872 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
27873 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
27874
5fa16e9b
LD
278752011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27876
27877 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
27878 Fix overflow bug in strncat.
27879 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27880
27881 * string/test-strncat.c: Update.
27882 Add new tests for checking overflow bugs.
27883
278842011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27885
27886 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27887 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
27888 * sysdeps/i386/i686/multiarch/strcat.S: New file.
27889 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
27890 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
27891 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
27892 * sysdeps/i386/i686/multiarch/strncat.S: New file.
27893 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
27894 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
27895
27896 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
27897 (USE_AS_STRCAT): Define.
27898 Add strcat and strncat support.
27899 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27900
8c1a459f
AS
279012011-07-25 Andreas Schwab <schwab@redhat.com>
27902
27903 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
27904 __n bigger than INT_MAX+1.
27905 (__strncmp_g): Likewise.
27906
bba33c28
UD
279072011-07-23 Ulrich Drepper <drepper@gmail.com>
27908
798be72d
UD
27909 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
27910 * libio/stido.h: Likewise.
27911
8accd4dc
UD
27912 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
27913 (AF_NFC): Define.
27914 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
27915 (AF_NFC): Define.
27916
cbff0d96
UD
27917 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
27918 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27919 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27920 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27921 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27922
9191c04a
UD
27923 [BZ #13021]
27924 * scripts/test-installation.pl: Don't expect libnss_test1 to be
27925 installed.
27926
bba33c28
UD
27927 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
27928 typo.
27929 (_dl_x86_64_save_sse): Likewise.
27930
90f139dd
UD
279312011-07-22 Ulrich Drepper <drepper@gmail.com>
27932
1aae088a
UD
27933 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
27934 OSXSAVE.
27935 (_dl_x86_64_save_sse): Likewise.
27936
8e2045f5
UD
27937 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
27938
90f139dd
UD
27939 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
27940
1d002f25
AS
279412011-07-21 Andreas Schwab <schwab@redhat.com>
27942
27943 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
27944 change.
27945 (_dl_x86_64_save_sse): Use correct AVX check.
27946
21137f89
UD
279472011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27948
27949 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
27950 bug in strncpy/strncat.
27951 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27952
a65c0b7a
UD
279532011-07-21 Ulrich Drepper <drepper@gmail.com>
27954
27955 * string/tester.c (test_strcat): Add tests for different alignments
27956 of source and destination.
27957 (test_strncat): Likewise.
27958
6986b98a
UD
279592011-07-20 Ulrich Drepper <drepper@gmail.com>
27960
90bb2039
UD
27961 [BZ #12852]
27962 * posix/glob.c (glob): Check passed in values before using them in
27963 expressions to avoid some overflows.
27964 (glob_in_dir): Likewise.
27965
5644ef54
UD
27966 [BZ #13007]
27967 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
27968 check for AVX enablement so that we don't crash with old kernels and
27969 new hardware.
27970 * elf/tst-audit4.c: Add same checks here.
27971 * elf/tst-audit6.c: Likewise.
27972
27973 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 27974
bfc9dc9b
AS
279752011-07-09 Andreas Schwab <schwab@linux-m68k.org>
27976
27977 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
27978
702e64bb
UD
279792011-07-20 Ulrich Drepper <drepper@gmail.com>
27980
27981 * po/cs.po: Update from translation team.
27982 * po/bg.po: Likewise.
27983
295e904f
MP
279842011-07-12 Marek Polacek <mpolacek@redhat.com>
27985
27986 * misc/sys/cdefs.h: Add support for const attribute.
27987 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
27988 to gnu_dev_{major,minor,makedev} functions.
27989
3ff94596
MP
279902011-07-20 Marek Polacek <mpolacek@redhat.com>
27991
27992 * intl/dcigettext.c (get_output_charset): Add missing bracket.
27993
28b59fca
AS
279942011-07-20 Andreas Schwab <schwab@redhat.com>
27995
27996 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
27997 strlen results.
27998
19df733e
AK
279992011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28000
28001 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28002 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28003 register in order to avoid conflicts with the soft frame pointer
28004 being held in r11 when necessary.
28005 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28006 (INTERNAL_VSYSCALL_NCS): Likewise.
28007
c8835729
MP
280082011-07-14 Marek Polacek <mpolacek@redhat.com>
28009
28010 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28011 * elf/dl-fini.c (_dl_fini): Adjust caller.
28012 * elf/dl-close.c (_dl_close_worker): Likewise.
28013 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28014
b902330c
MP
280152011-07-15 Marek Polacek <mpolacek@redhat.com>
28016
8991e135
MP
28017 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28018 "aux_cache->nlibs < 0".
28019
b902330c
MP
28020 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28021 in the reload-count case.
28022
99710781
LD
280232011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28024
28025 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28026 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28027 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28028 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28029 * sysdeps/x86_64/multiarch/strcat.S: New file.
28030 * sysdeps/x86_64/multiarch/strncat.S: New file.
28031 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28032 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28033 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28034 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28035 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28036 (USE_AS_STRCAT): Define.
28037 Add strcat and strncat support.
28038 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28039 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28040 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28041 * string/strncat.c: Update.
28042 (USE_AS_STRNCAT): Define.
28043 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28044 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28045 and i7.
28046 * sysdeps/x86_64/multiarch/init-arch.h
28047 (bit_Prefer_PMINUB_for_stringop): New.
28048 (index_Prefer_PMINUB_for_stringop): Likewise.
28049 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28050 bit_Prefer_PMINUB_for_stringop.
28051
7dc6bd90
UD
280522011-07-19 Ulrich Drepper <drepper@gmail.com>
28053
28054 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28055 buffer64.
28056 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28057 of casting of buffer.
28058 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28059 buffer32 and buffer64.
28060 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28061 writes instead of casting of buffer.
28062 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28063 buffer32.
28064 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28065 casting of buffer.
28066
e0e72284
AS
280672011-07-19 Andreas Schwab <schwab@redhat.com>
28068
28069 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28070
feb1eb0b
UD
280712011-07-19 Ulrich Drepper <drepper@gmail.com>
28072
28073 * nscd/nscd.c (termination_handler): Don't do anything for a database
28074 if it has not yet been initialized.
28075
298711ff
UD
280762011-07-18 Ulrich Drepper <drepper@gmail.com>
28077
28078 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28079
280802011-07-15 Marek Polacek <mpolacek@redhat.com>
28081
28082 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28083
f9d68389
UD
280842011-07-18 Ulrich Drepper <drepper@gmail.com>
28085
28086 * po/nl.po: Update from translation team.
28087 * po/sv.po: Likewise.
28088
db290cf5
RM
280892011-07-16 Roland McGrath <roland@hack.frob.com>
28090
28091 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28092 now disallowed by GCC.
5c550700 28093
fd5e21c7
RM
28094 * configure.in (use-default-link): Default to yes if a test -shared
28095 link meets our qualifications.
28096 * configure: Regenerated.
28097
5c550700
RM
28098 * config.make.in (output-format): New variable.
28099 * configure.in: Check for ld --print-output-format support.
28100 * configure: Regenerated.
28101 * Makerules ($(common-objpfx)format.lds)
28102 [$(output-format) != unknown]: Just use $(output-format),
28103 instead of the linker-script munging.
28104
9fa2c032
RM
281052011-07-14 Roland McGrath <roland@hack.frob.com>
28106
a6928d51
RM
28107 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28108 of $(common-objpfx)shlib.lds.
28109 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28110
661607b3
RM
28111 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28112 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28113
9fa2c032
RM
28114 * configure.in (-z relro check): Adjust test code to add a large
28115 writable data section after it.
28116 * configure: Regenerated.
28117
defe9061
RM
281182011-07-11 Roland McGrath <roland@hack.frob.com>
28119
28120 * configure.in (-z relro check): Fix test code to make the variable
28121 truly const.
28122 * configure: Regenerated.
28123
319b9ad4
UD
281242011-07-11 Ulrich Drepper <drepper@gmail.com>
28125
28126 * nscd/nscd.h (struct traced_file): Define.
28127 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28128 elements. Add traced_files.
28129 (inotify_fd): Declare.
28130 (register_traced_file): Declare.
28131 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28132 (inotify_fd): Export.
28133 (resolv_conf_descr): Remove.
28134 (nscd_init): Move inotify descriptor creation to main.
28135 Don't register files for notification here.
28136 (register_traced_file): New function.
28137 (invalidate_cache): Don't use reset_res to determine whether to call
28138 res_init, go through the list of registered files.
28139 (main_loop_poll): The inotify descriptors are now stored in the
28140 structures for the traced files.
28141 (main_loop_epoll): Likewise
28142 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28143 to __nss_disable_nscd.
28144 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28145 for a database anymore. Check the records for all the registered
28146 files instead.
28147 * nss/Makefile (libnss_files-routines): Add files-init.
28148 (libnss_db-routines): Add db-init.
28149 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28150 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28151 * nss/nss_db/db-init.c: New file.
28152 * nss/nss_files/files-init.c: New file.
28153 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28154 __nss_lookup_function.
28155 (__nss_lookup_function): Call nss_load_library.
28156 (nss_load_all_libraries): New function.
28157 (__nss_disable_nscd): Take parameter with callback function for files
28158 to register. Set is_nscd. Load all the DSOs for the NSS modules
28159 used for the cached services.
28160 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28161 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28162 options for features to all the files in nscd.
28163
28164 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28165
23bee3e8
RM
281662011-07-10 Roland McGrath <roland@hack.frob.com>
28167
28168 * csu/elf-init.c (__libc_csu_init): Comment typo.
28169
46a5b7f0
UD
281702011-07-09 Ulrich Drepper <drepper@gmail.com>
28171
28172 * po/pl.po: Update from translation team.
28173 * po/ja.po: Likewise.
28174 * po/ru.po: Likewise.
28175 * po/ko.po: Likewise.
28176 * po/fr.po: Likewise.
28177
d30cf5bb
RM
281782011-07-09 Roland McGrath <roland@hack.frob.com>
28179
113ddea4
RM
28180 * configure.in (.ctors/.dtors header and trailer check):
28181 Use an empirical test on a built program.
28182 * configure: Regenerated.
28183
574920b4
RM
28184 * configure.in (-z relro check): Use an empirical test on a built DSO.
28185 Detect, but do not require, on ia64.
28186 * configure: Regenerated.
28187
d30cf5bb
RM
28188 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28189 Update tests that use readelf to use $READELF instead.
28190 * configure: Regenerated.
28191
8538fdb3
UD
281922011-07-08 Ulrich Drepper <drepper@gmail.com>
28193
28194 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28195 if the result is not used.
28196
04d08991
AJ
281972011-07-05 Andreas Jaeger <aj@suse.de>
28198
28199 [BZ#9696]
28200 * stdlib/tst-strtod.c: Add testcase.
28201
de283087
AD
282022011-07-07 Ulrich Drepper <drepper@gmail.com>
28203
4e5f31c8 28204 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28205 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28206 The latter has a higher limit. Take additional parameter to pass to
28207 the new function.
28208 (__pathconf): Pass file to __statfs_link_max.
28209 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28210 __statfs_link_max.
28211 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28212 __statfs_link_max.
28213
de283087
AD
28214 [BZ #12868]
28215 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28216 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28217 Handle Lustre.
28218 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28219 (__statfs_filesize_max): Likewise.
28220 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28221
c75fa153
AJ
282222011-07-05 Andreas Jaeger <aj@suse.de>
28223
28224 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28225
1a544854
UD
282262011-07-06 Marek Polacek <mpolacek@redhat.com>
28227
28228 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28229 `status' variable.
28230 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28231 Likewise.
28232
6f0eec67
UD
282332011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28234
28235 * Makefile (strop-tests): Add strncat.
28236 * string/test-strncat.c: New file.
28237
aae30307
UD
282382011-06-30 Marek Polacek <mpolacek@redhat.com>
28239
28240 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28241
c0cfb5eb
UD
282422011-06-21 Andreas Jaeger <aj@suse.de>
28243
28244 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28245 Copy rule from iconvdata/Makefile.
28246
01636b21
UD
282472011-07-06 Ulrich Drepper <drepper@gmail.com>
28248
28249 [BZ #12922]
28250 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28251 but no long options are defined, just return 'W'.
28252
9895c8bc
UD
282532011-06-22 Marek Polacek <mpolacek@redhat.com>
28254
28255 [BZ #9696]
28256 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28257
5d4cf042
UD
282582011-07-06 Ulrich Drepper <drepper@gmail.com>
28259
28260 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28261 netgroups to read.
960e5535 28262 (innetgr): Likewise.
5d4cf042 28263
751eb97e
RM
282642011-07-05 Roland McGrath <roland@hack.frob.com>
28265
28266 * config.make.in (install_root): Default to $(DESTDIR).
28267
f15f1e45
UD
282682011-07-05 Ulrich Drepper <drepper@gmail.com>
28269
28270 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28271
4e34ac6a
RM
282722011-07-02 Roland McGrath <roland@hack.frob.com>
28273
5e9b6af4
RM
28274 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28275
84f9ea0f
RM
28276 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28277 containing directory rather than embedding absolute directory names.
28278
ea5ee9f7
RM
28279 * scripts/check-local-headers.sh: Rewritten using awk.
28280 Match by word, not by line. Print error messages for matches.
28281 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28282
1b74661a
RM
28283 * Makerules [shlib-lds-flags empty]:
28284 ($(common-objpfx)libc_pic.opts): New target.
28285 ($(common-objpfx)libc_pic.os.clean): New target.
28286 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28287
28288 * config.make.in (OBJCOPY): New variable.
28289 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28290 * configure: Regenerated.
28291
f781ef40
RM
28292 * config.make.in (use-default-link): New variable.
28293 * configure.in (use_default_link): Grok --with-default-link to set it.
28294 * configure: Regenerated.
28295 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28296 (shlib-lds, shlib-lds-flags): Define to empty.
28297
2d4fa81e
RM
28298 * Makerules (shlib-lds): New variable.
28299 (shlib-lds-flags): New variable.
28300 (build-shlib, build-moduile, build-module-asneeded): Use it.
28301 ($(common-objpfx)libc.so): Use $(shlib-lds).
28302 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28303 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28304
31fffa6b
RM
28305 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28306 DT_FLAGS/DT_FLAGS_1 with zero flags.
28307
4e34ac6a
RM
28308 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28309 linker script munging.
28310
fcfc776b
UD
283112011-07-02 Ulrich Drepper <drepper@gmail.com>
28312
28313 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28314 as 128-bit value.
28315 * crypt/sha512.c (sha512_process_block): Perform total addition using
28316 128-bit if possible.
28317 (__sha512_finish_ctx): Likewise.
28318 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28319 as 64-bit value.
28320 * crypt/sha256.c (SWAP64): Define.
28321 (sha256_process_block): Perform total addition using 64-bit if
28322 possible.
28323 (__sha256_finish_ctx): Likewise.
28324
99231d9a
UD
283252011-07-01 Ulrich Drepper <drepper@gmail.com>
28326
28327 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28328 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28329 * nscd/hstcache.c (cache_addhst): Likewise.
28330 * nscd/grpcache.c (cache_addgr): Likewise.
28331 * nscd/aicache.c (addhstaiX): Likewise
28332 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28333
445b4a53
TK
283342011-07-01 Thorsten Kukuk <kukuk@suse.de>
28335
28336 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28337 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28338 * nscd/hstcache.c (cache_addhst): Likewise.
28339 * nscd/grpcache.c (cache_addgr): Likewise.
28340 * nscd/aicache.c (addhstaiX): Likewise
28341
6d4d8e8e
AS
283422011-07-01 Andreas Schwab <schwab@redhat.com>
28343
28344 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28345 domain only when needed.
28346
89f654c5
AS
283472011-06-30 Andreas Schwab <schwab@redhat.com>
28348
28349 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28350 is always restored.
28351
cf3b23ff
UD
283522011-06-29 Ulrich Drepper <drepper@gmail.com>
28353
28354 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28355 are re-adding the entry.
28356 * nscd/servicescache.c (cache_addserv): Likewise.
28357
751626f9
AJ
283582011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28359
28360 * sysdeps/generic/dl-irel.h: fix protection against multiple
28361 inclusions.
28362 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28363
9113ea1f
UD
283642011-06-28 Ulrich Drepper <drepper@gmail.com>
28365
5c0b8d90
UD
28366 [BZ #12935]
28367 * malloc/memusage.sh: Fix quoting in message.
28368 * debug/xtrace.sh: Likewise.
28369
9113ea1f
UD
28370 * configure.in: Remove support for --experimental-malloc option, make
28371 it the default.
28372 * config.make.in: Likewise.
28373 * malloc/Makefile: Likewise.
28374
a4172181
AS
283752011-06-27 Andreas Schwab <schwab@redhat.com>
28376
28377 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28378 two-byte characters.
28379
78a7eee7
RM
283802011-06-27 Roland McGrath <roland@hack.frob.com>
28381
62bede13
RM
28382 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28383 AC_CACHE_CHECK invocation.
28384 * configure: Regenerated.
28385
78a7eee7
RM
28386 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28387
5ce33a62
UD
283882011-06-27 Ulrich Drepper <drepper@gmail.com>
28389
034807a9
UD
28390 [BZ #12350]
28391 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28392 bit from old_res_options.
28393
4902da17
UD
28394 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28395
5ce33a62
UD
28396 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28397 value type for setfct.
28398
c2344f56
L
283992011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28400
28401 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28402 __gettimeofday instead of gettimeofday.
28403
68468076
UD
284042011-06-26 Ulrich Drepper <drepper@gmail.com>
28405
28406 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28407
acb0d739
L
284082011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28409
28410 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28411
28412 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28413 info.
28414
8912479f
L
284152011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28416
28417 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28418 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28419 strcpy-sse2-unaligned strncpy-sse2-unaligned
28420 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28421 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28422 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28423 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28424 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28425 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28426 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28427 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28428 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28429 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28430 (STRCPY): Support SSE2 and SSSE3 versions.
28431
d5495a11
UD
284322011-06-24 Ulrich Drepper <drepper@gmail.com>
28433
28434 [BZ #12874]
28435 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28436 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28437 kernels which artificially limit size of requests.
28438
0b1cbaae
L
284392011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28440
28441 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28442 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28443 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28444 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28445 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28446 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28447 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28448 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28449 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28450 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28451 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28452 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28453 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28454 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28455 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28456 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28457 Enable unaligned load optimization for Intel Core i3, i5 and i7
28458 processors.
28459 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28460 Define.
28461 (index_Fast_Unaligned_Load): Define.
28462 (HAS_FAST_UNALIGNED_LOAD): Define.
28463
07f494a0
MP
284642011-06-23 Marek Polacek <mpolacek@redhat.com>
28465
28466 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28467
fa3fc0fe
UD
284682011-06-22 Ulrich Drepper <drepper@gmail.com>
28469
28470 [BZ #12907]
28471 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28472 until it is clear that the information is realy needed.
28473 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28474
e12df166
AS
284752011-06-22 Andreas Schwab <schwab@redhat.com>
28476
28477 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28478
852eb34d
UD
284792011-06-22 Ulrich Drepper <drepper@gmail.com>
28480
84e2a551
UD
28481 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28482 /sys/devices/system/cpu/online if it is usable.
28483
852eb34d
UD
28484 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28485 reading the information from the /proc filesystem to once a second.
28486
6e502e19
UD
284872011-06-21 Andreas Jaeger <aj@suse.de>
28488
28489 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28490 NULL after inclusion of kernel headers.
28491
75d39ff2
UD
284922011-06-21 Ulrich Drepper <drepper@gmail.com>
28493
51f9aa6a
UD
28494 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28495 calls to internal_setent.
28496
c0244a9d
UD
28497 [BZ #12885]
28498 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28499 addresses using gethostbyname4_r ignore IPv4 addresses.
28500
c5e3c2ae
UD
28501 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28502 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
28503
75d39ff2
UD
28504 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28505
42675c6f
DM
285062011-06-20 David S. Miller <davem@davemloft.net>
28507
28508 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28509 inclusions.
28510 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28511
28512 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28513 (elf_irel): Use it.
28514 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28515 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28516 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28517 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28518 * sysdeps/x86_64/dl-irel.h: Likewise.
28519
28520 * elf/dl-runtime.c: Use elf_ifunc_invoke.
28521 * elf/dl-sym.c: Likewise.
28522
57912a71
UD
285232011-06-15 Ulrich Drepper <drepper@gmail.com>
28524
28525 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
28526 need to dereference resplen2.
28527
ee22793d
AS
285282011-06-14 Andreas Schwab <schwab@redhat.com>
28529
28530 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28531
a9e836b0
UD
285322011-06-15 Ulrich Drepper <drepper@gmail.com>
28533
77fb9117
UD
28534 * Makeconfig: Define vardbdir and inst_vardbdir.
28535 * nss/Makefile: Add rules to install db-Makefile.
28536
40c1b22c
UD
28537 * nss/nss_db/db-XXX.c: Cleanup.
28538
9f2da732
UD
28539 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28540 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28541 GLIBC_PRIVATE.
28542 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28543 * nss/makedb.c: Implement -g option to specify that value strings
28544 are generated and should not be added to table iterated over for
28545 get*ent calls.
28546 * nss/nss_db/db-initgroups.c: New file.
28547
82e9a1f7
UD
28548 * nss/getent.c: Add support for initgroups lookups through getgrouplist
28549 interface.
28550
c41af17e
UD
28551 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28552 (internal_getgrouplist): Adjust to name change.
28553 Update use_initgroups_entry if this is not the first call.
28554 * nss/databases.def: Add initgroups entry.
28555
a9e836b0
UD
28556 * nss/makedb.c (compute_tables): Check result of multiple hash table
28557 sizes to minimize maximum chain length.
28558
2666d441
UD
285592011-06-14 Ulrich Drepper <drepper@gmail.com>
28560
28561 * Versions.def: Add entry for libnss_db.
28562 * shlib-versions: Likewise.
28563 * nss/Makefile: Add rules to build libnss_db.
28564 * nss/Versions: Add libnss_db information. Organize libnss_files
28565 entries better.
28566 * nss/db-Makefile: Add gshadow support. Change rules for the new
28567 makedb progra. Some minor improvements to generate smaller files.
28568 * nss/nss_db/nss_db.h: Move NSS database header data structures to
28569 here from...
28570 * nss/makedb.c: ...here.
28571 Improve database format to be smaller and require less memory at
28572 runtime.
28573 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
28574 db anymore.
28575 * nss/nss_db/db-netgrp.c: Likewise.
28576 * nss/nss_db/db-open.c: Likewise.
28577 * nss/nss_files/flies-XXX.x: Adjust comments.
28578 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28579 * nss/nss_files/files-grp.c: Likewise.
28580 * nss/nss_files/files-hosts.c: Likewise.
28581 * nss/nss_files/files-network.c: Likewise.
28582 * nss/nss_files/files-proto.c: Likewise.
28583 * nss/nss_files/files-pwd.c: Likewise.
28584 * nss/nss_files/files-rpc.c: Likewise.
28585 * nss/nss_files/files-service.c: Likewise.
28586 * nss/nss_files/files-sgrp.c: Likewise.
28587 * nss/nss_files/files-spwd.c: Likewise.
28588 * nss/nss_db/db-alias.c: Removed.
28589 * nss/nss_db/dummy-db.h: Removed.
28590
9ee76b5a
UD
285912011-06-02 Ulrich Drepper <drepper@gmail.com>
28592
28593 * nss/makedb.c: Rewritten to not use database library.
28594 * nss/Makefile: Update to build new makedb program.
28595
c71ca1f8
AJ
285962011-06-14 Andreas Jaeger <aj@suse.de>
28597
28598 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28599 memset declaration.
28600
3154bfb8
UD
286012011-06-10 Andreas Schwab <schwab@redhat.com>
28602
28603 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28604 tmpbuf.
28605
b350afab
RM
286062011-06-10 Roland McGrath <roland@hack.frob.com>
28607
decd4e50
RM
28608 * Makerules (shlib.lds): Fail if the linker script comes out empty.
28609 * elf/Makefile ($(objpfx)ld.so): Likewise.
28610
5615eaf2
RM
28611 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28612 Don't list ld.so twice in dependencies.
28613
28614 * posix/bug-regex31.c: Include <stdlib.h>.
28615
28616 * nscd/hstcache.c (cache_addhst): Remove unused variable.
28617
28618 * nis/nss_compat/compat-spwd.c
28619 (getspent_next_nss_netgr): Remove unused variable.
28620 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28621
28622 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28623 nonmembers" output to use the right array.
28624
28625 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28626
28627 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28628
28629 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28630 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28631 * catgets/gencat.c (read_input_file): Likewise.
28632 * locale/programs/locarchive.c (enlarge_archive): Likewise.
28633
28634 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28635 variable definition inside #if's controlling its use.
28636
28637 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28638
28639 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28640
28641 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28642
28643 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28644 unreachable code.
28645
28646 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28647
b68e08db
RM
28648 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28649 * configure: Regenerated.
28650
b350afab
RM
28651 * Makerules: Revert last change.
28652 * elf/Makefile: Likewise.
28653
28368601
RM
286542011-06-09 Roland McGrath <roland@hack.frob.com>
28655
28656 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28657 * elf/Makefile ($(objpfx)librtld.os): Likewise.
28658 (reloc-link): Likewise.
28659
11988f8f
UD
286602011-06-09 Ulrich Drepper <drepper@gmail.com>
28661
28662 * elf/Makefile: Add rules to build pldd.
28663 * elf/pldd.c: New file.
28664 * elf/pldd-xx.c: New file.
28665
e80fab37
UD
286662011-06-07 Ulrich Drepper <drepper@gmail.com>
28667
28668 * version.h: Update for 2.15 development version.
28669
9b849836
DM
286702011-06-07 David S. Miller <davem@davemloft.net>
28671
28672 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28673 ifuncs.
28674 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28675 elf_machine_lazy_rel): Likewise.
28676 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28677 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28678 elf_machine_lazy_rel): Likewise.
28679 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28680 dl_hwcap via passed in argument.
28681 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28682 Likewise.
28683
5a31b283
AK
286842011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28685
28686 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
28687
069e52f8
RM
286882011-06-06 Roland McGrath <roland@hack.frob.com>
28689
28690 [BZ #12849]
28691 * manual/fdl-1.1.texi: New file, verbatim from:
28692 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28693 * manual/lgpl-2.1.texi: New file, verbatim from:
28694 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28695 * manual/Makefile (licenses): New variable, list those new file names.
28696 (texis): Use it.
28697 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28698
28699 * manual/fdl.texi: File removed.
28700 * manual/lesser.texi: File removed.
28701 * manual/libc.texinfo (Copying, Documentation License):
28702 Use new @include file names, put @appendix directive before @include.
28703
f16846a5
JJ
287042011-06-04 Jakub Jelinek <jakub@redhat.com>
28705
28706 [BZ #12841]
28707 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28708 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28709 (mq_open): Add __NTH.
28710
3d29045b
L
287112011-06-02 H.J. Lu <hongjiu.lu@intel.com>
28712
28713 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28714 Assume Intel Core i3/i5/i7 processor if AVX is available.
28715
8c297311
UD
287162011-05-31 Ulrich Drepper <drepper@gmail.com>
28717
28718 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28719 typo.
28720
c8fc0c91
UD
287212011-05-31 Andreas Schwab <schwab@redhat.com>
28722
28723 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28724 memory. Use alloca_account. Fix memory leak when retrying.
28725
5b27a807
UD
287262011-05-31 Ulrich Drepper <drepper@gmail.com>
28727
356f8bc6
UD
28728 * version.h (RELEASE): Bump for 2.14 release.
28729 * include/features.h (__GLIBC_MINOR__): Bump to 14.
28730
5b27a807
UD
28731 * config.make.in (RANLIB): Remove entry.
28732
01f16ab0
UD
287332011-05-30 Ulrich Drepper <drepper@gmail.com>
28734
41fce8bd
UD
28735 * po/Makefile (po-sed-cmd): Add ksh to extensions.
28736 (libc.pot): Work around missing support for .ksh extension in xgettext.
28737
4769ae77
UD
28738 [BZ #12684]
28739 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28740 if both request failed.
28741 (send_dg): In case of server errors clear resplen or *resplen2.
28742
6b1e7d19
UD
28743 [BZ #12454]
28744 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28745 when there are multiple maps.
28746 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
28747 (_dl_fini): Remove test here.
28748
01f16ab0
UD
28749 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
28750
b1ebd700
UD
287512011-05-29 Ulrich Drepper <drepper@gmail.com>
28752
7ae22829
UD
28753 [BZ #12350]
28754 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
28755 bit from old_res_options.
28756 (gaih_inet): Likewise.
28757
553149f6 28758 [BZ #11099]
18a84741 28759 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
28760 as signed.
28761
652ffab1
UD
28762 * resolv/res_init.c (res_setoptions): Make the code more compact.
28763
16985fd0
UD
28764 [BZ #11558]
28765 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
28766 set RES_USEVC.
28767
0464f746
UD
28768 [BZ #11634]
28769 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
28770
7d17596c
UD
28771 * malloc/malloc.h: Mark malloc hook variables as deprecated.
28772
cf6bbbd7
UD
28773 [BZ #11781]
28774 * malloc/malloc.h: Declare malloc hook variables as volatile.
28775
13f1ab36
UD
28776 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
28777 in last patch.
28778
b1ebd700
UD
28779 [BZ #11799]
28780 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 28781 raise in the comment.
80e2212d
UD
28782 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28783 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28784 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 28785
ce67228d
UD
287862011-05-28 Ulrich Drepper <drepper@gmail.com>
28787
8887a920
UD
28788 [BZ #12811]
28789 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
28790 grow the buffers more if it already has to be sufficient.
28791 (build_wcs_upper_buffer): Likewise.
28792 * posix/regexec.c (check_matching): Likewise.
28793 (clean_state_log_if_needed): Likewise.
28794 (extend_buffers): Don't enlarge buffers beyond size of the input
28795 buffer.
28796 Patches mostly by Emil Wojak <emil@wojak.eu>.
28797 * posix/bug-regex32.c: New file.
28798 * posix/Makefile (tests): Add bug-regex32.
28799
4f031072
UD
28800 * locale/findlocale.c (_nl_find_locale): Return right away if
28801 _nl_explode_name failed.
28802 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
28803
d0478f0c
UD
28804 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
28805
de81b246
UD
28806 * debug/xtrace.sh: Unify messages.
28807 * malloc/memusage.sh: Likewise.
28808
c738465a
UD
28809 [BZ #12813]
28810 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
28811 time symbol from vDSO. Substitute with vsyscall if not available.
28812 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
28813 __vdso_time.
28814
f1f929d7
UD
28815 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
28816 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
28817 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
28818 Add sendmmsg and internal_sendmmsg.
28819 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
28820 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
28821 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
28822
ce67228d
UD
28823 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
28824 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
28825 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
28826
e57420c6
UD
288272011-05-27 Ulrich Drepper <drepper@gmail.com>
28828
a8509ca5
UD
28829 [BZ #12813]
28830 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
28831 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
28832 available.
28833 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
28834 __vdso_getcpu.
28835
e57420c6
UD
28836 [BZ #12814]
28837 * iconvdata/Makefile (tests): Add bug-iconv9.
28838 * iconvdata/bug-iconv9.c: New file.
28839
4d07db15
AS
288402011-05-27 Andreas Schwab <schwab@redhat.com>
28841
28842 [BZ #12814]
28843 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
28844
ea486f69
JJ
288452011-05-25 Jakub Jelinek <jakub@redhat.com>
28846
28847 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28848 (struct user_regs_struct): Change intcs field back to cs.
28849
6f038433
UD
288502011-05-25 Ulrich Drepper <drepper@gmail.com>
28851
28852 * po/ja.po: Update from translation team.
28853
67f86a25
UD
288542011-05-23 Ulrich Drepper <drepper@gmail.com>
28855
28856 [BZ #12795]
28857 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
28858 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
28859
def7fbd6
AS
288602011-05-20 Andreas Schwab <schwab@redhat.com>
28861
28862 * stdlib/longlong.h: Update from GCC.
28863
f50ef8f1
AS
288642011-05-23 Andreas Schwab <schwab@redhat.com>
28865
28866 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
28867 parameter name.
28868 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
28869 Add parameter name.
28870 (__sysconf): Pass it down.
28871
de7ce8f1
UD
288722011-05-22 Ulrich Drepper <drepper@gmail.com>
28873
f2962a71
UD
28874 [BZ #12671]
28875 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
28876 some situations.
28877 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
28878 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
28879 add in in __libc_use_alloca calls. Adjust callers.
28880 (glob): Use malloc in some situations.
28881
de7ce8f1
UD
28882 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
28883 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
28884 pltexit.
28885
aec84f53
UD
288862011-05-21 Ulrich Drepper <drepper@gmail.com>
28887
05bb4a68
UD
28888 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
28889 and CLOCK_BOOTTIME_ALARM.
28890
7ea72f99
UD
28891 [BZ #12782]
28892 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
28893 is returned.
28894
7e4afad5
UD
28895 * string/_strerror.c (__strerror_r): Print negative errors as signed
28896 numbers.
28897
8e211fec
UD
28898 [BZ #12777]
28899 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
28900 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
28901 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
28902
f7d82dc9
UD
28903 * configure.in: Fix typo in redirection and correct removal of test
28904 files in two cases.
28905
cc9e536d
UD
28906 [BZ #12788]
28907 * locale/setlocale.c (new_composite_name): Fix test to check for
28908 identical name of all categories.
28909
aec84f53
UD
28910 [BZ #12792]
28911 * libio/filedoalloc.c (local_isatty): New function.
28912 (_IO_file_doallocate): Use local_isatty.
28913 * stdio-common/perror.c (perror): In case a new stream is used
28914 forward the stream error.
28915 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
28916 error flag.
28917
78e64fdc
RT
289182011-05-20 Ulrich Drepper <drepper@gmail.com>
28919
34a9094f
UD
28920 [BZ #11869]
28921 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
28922 alloca.
28923 * include/alloca.h (extend_alloca_account): Define.
28924
78e64fdc
RT
28925 [BZ #11857]
28926 * posix/regex.h: Fix comments with documentation of user-accessible
28927 fields after compilation and describe correct free'ing of pattern
28928 after re_compile_pattern.
28929 Patch by Reuben Thomas <rrt@sc3d.org>.
28930
457bddfc
RA
289312011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
28932
28933 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
28934 and -mno-altivec to prevent the compiler from using Altivec and/or
28935 VSX instructions when the corresponding registers are not available.
28936
a4527b51
AS
289372011-05-19 Andreas Schwab <schwab@redhat.com>
28938
28939 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
28940
ed690b2f
UD
289412011-05-19 Ulrich Drepper <drepper@gmail.com>
28942
28943 * libio/freopen.c (freopen): Use __dup2, not dup2.
28944 * libio/freopen64.c (freopen64): Likewise.
28945
8db73634
L
289462011-05-17 H.J. Lu <hongjiu.lu@intel.com>
28947
28948 [BZ #12775]
28949 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
28950 * math/Makefile (tests): Add test-powl.
28951 (CFLAGS-test-powl.c): Define.
28952 * math/test-powl.c: New file.
28953
0a197a9d
L
289542011-05-16 H.J. Lu <hongjiu.lu@intel.com>
28955
28956 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
28957
ee30c380
UD
289582011-05-17 Ulrich Drepper <drepper@gmail.com>
28959
28960 [BZ #11837]
28961 * iconvdata/gb18030.c: Update to GB18020-2005.
28962
6ce75379
UD
289632011-05-16 Ulrich Drepper <drepper@gmail.com>
28964
a4b89fd8
AR
28965 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
28966 RE_SYNTAX_POSIX_AWK): Update to match recent development.
28967 Patch by Aharon Robbins <arnold@skeeve.com>.
28968
ea389b12
UD
28969 [BZ #11892]
28970 * stdlib/putenv.c (putenv): Don't always create copy of the variable
28971 on the stack.
28972
68a3f91f
UD
28973 [BZ #11895]
28974 * misc/pselect.c (__pselect): Handle timeout value errors hidden
28975 through underflows.
28976
15cc7dd1
UD
28977 [BZ #12766]
28978 * misc/error.c (error_at_line): Ensure file_name and old_file_name
28979 point to strings before performing equality test for error_one_per_line
28980 mode.
28981
f3799213
UD
28982 [BZ #11697]
28983 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
28984
d79a9c94
UD
28985 [BZ #11820]
28986 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28987 (struct user_fpregs_struct): Avoid __uint*_t types.
28988
56e5eb46
UD
28989 [BZ #6420]
28990 * malloc/mtrace.c (tr_where): Add additional parameter to point to
28991 symbol info. Use it instead of calling _dl_addr locally.
28992 (lock_and_info): New function.
28993 (tr_freehook): Call lock_and_info and pass symbol info as additional
28994 parameter to tr_where.
28995 (tr_mallochook): Likewise.
28996 (tr_reallochook): Likewise.
28997 (tr_memalignhook): Likewise.
28998
6ce75379
UD
28999 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29000 used and couldn't be at all thread-safe.
29001
f8a3b5bf
UD
290022011-05-15 Ulrich Drepper <drepper@gmail.com>
29003
94b7cc37
UD
29004 * libio/freopen.c (freopen): Don't close old file descriptor
29005 before the new one is opened. Instead dup the new file descriptor
29006 to the old one after the new stream is created.
29007 * libio/freopen64.c (freopen64): Likewise.
29008 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29009 * libio/fileops.c (_IO_new_file_close_it): Handle new
29010 _IO_FLAGS2_NOCLOSE flag.
29011 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29012 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29013 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29014 _IO_FLAGS2_NOCLOSE flag.
29015 * include/unistd.h: Add hidden_proto for dup3.
29016 Define __have_dup3.
29017 * io/dup3.c: Define hidden symbol.
29018 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29019
bd25564e
UD
29020 [BZ #7101]
29021 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29022 when an incomplete long option is used.
29023 * posix/tst-getopt_long1.c: New file.
29024 * posix/Makefile (tests): Add tst-getopt_long1.
29025
c84cfef4
UD
29026 [BZ #10138]
29027 * scripts/config.guess: Update from autoconf-2.68.
29028 * scripts/config.sub: Likewise.
29029
3b85df27
UD
29030 [BZ #10157]
29031 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29032 tests into ...
29033 (has_cpuclock): ...this. New function.
29034 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29035 macro here based on has_cpuclock code.
29036
15a856b1
UD
29037 [BZ #10149]
29038 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29039 First byte (not low byte) is now always NUL.
29040 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29041
05f399e6
UD
29042 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29043 Use non-cancelable interfaces.
29044
10a52685 29045 [BZ #9809]
94ecc67d
UD
29046 * locale/iso-639.def: Add entry for Sorani.
29047
f8a3b5bf
UD
29048 [BZ #11901]
29049 * include/stdlib.h: Move include protection to the right place.
29050 Define abort_msg_s. Declare __abort_msg with it.
29051 * stdlib/abort.c (__abort_msg): Adjust type.
29052 * assert/assert.c (__assert_fail_base): New function. Majority
29053 of code from __assert_fail. Allocate memory for __abort_msg with
29054 mmap.
29055 (__assert_fail): Now call __assert_fail_base.
29056 * assert/assert-perr.c: Remove bulk of implementation. Use
29057 __assert_fail_base.
29058 * include/assert.hL Declare __assert_fail_base.
29059 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29060 mmap.
29061 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29062
1af4e298
UD
290632011-05-14 Ulrich Drepper <drepper@gmail.com>
29064
f8a3b5bf 29065 [BZ #11952]
d26dfc60
MG
29066 [BZ #12453]
29067 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29068 until all modules are registered in the DTV.
29069 * elf/Makefile: Add rules to build and run tst-tls19.
29070 * elf/tst-tls19.c: New file.
29071 * elf/tst-tls19mod1.c: New file.
29072 * elf/tst-tls19mod2.c: New file.
29073 * elf/tst-tls19mod3.c: New file.
29074 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29075
2fc54d6f
UD
29076 [BZ #12083]
29077 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29078 correctly.
29079
98d76b46
UD
29080 [BZ #12601]
29081 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29082 two-byte sequence errors.
29083 * iconvdata/Makefile (tests): Add bug-iconv8.
29084 * iconvdata/bug-iconv8.c: New file.
29085
da3c19ef
UD
29086 [BZ #12626]
29087 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29088 buf2 definition.
29089
ca408c15
UD
29090 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29091
d6f67f7d
UD
29092 [BZ #12432]
29093 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29094 (dummy_getcfa): New function.
29095 (init): Get _Unwind_GetCFA address, use dummy if not found.
29096 (backtrace_helper): In recursion check, also check whether CFA changes.
29097 (__backtrace): Completely initialize arg.
29098
1af4e298 29099 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29100 storing incomplete byte sequence in state object. Avoid testing for
29101 guaranteed too small input if we know there is enough data available.
1af4e298 29102
da62f81b
AS
291032011-05-11 Andreas Schwab <schwab@redhat.com>
29104
29105 * Makeconfig (+link-pie): Indent.
29106 * Rules (binaries-pie): Define if $(have-fpie) and
29107 $(build-shared).
29108 (binaries-shared): Also filter out $(binaries-pie).
29109 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29110 * nscd/Makefile (others-pie): Add nscd.
29111 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29112 ($(objpfx)nscd): Remove command override.
29113 * login/Makefile (others-pie): Add pt_chown.
29114 ($(objpfx)pt_chown): Remove command override.
29115 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29116 remove command overrides.
29117
fcabc0f8
UD
291182011-05-13 Ulrich Drepper <drepper@gmail.com>
29119
20030ae6
UD
29120 * libio/tst_putwc.c: Fix error messages.
29121
fcabc0f8
UD
29122 [BZ #12724]
29123 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29124 currently writing and seek to current position when not.
29125 * libio/Makefile (tests): Add bug-fclose1.
29126 * libio/bug-fclose1.c: New file.
29127
320a5dc0
PB
291282011-05-12 Ulrich Drepper <drepper@gmail.com>
29129
29130 [BZ #12511]
29131 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29132 don't set DF_1_NODELETE here.
29133 (do_lookup_x): When entering new entry test for copy relocation
29134 and if necessary set DF_1_NODELETE flag.
29135 * elf/tst-unique4.cc: New file.
29136 * elf/tst-unique4.h: New file.
29137 * elf/tst-unique4lib.cc: New file.
29138 * elf/Makefile: Add rules to build and run tst-unique4.
29139 Patch by Piotr Bury <pbury@goahead.com>.
29140
22836f52
UD
291412011-05-11 Ulrich Drepper <drepper@gmail.com>
29142
f574184a
UD
29143 [BZ #12052]
29144 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29145
e1fb097f
UD
29146 [BZ #12625]
29147 * misc/mntent_r.c (addmntent): Flush the stream after the output
29148
22836f52
UD
29149 [BZ #12393]
29150 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29151 (is_trusted_path_normalize): Skip initial colon. Append slash
29152 to empty buffer. Duplicate is_trusted_path code but allow
29153 constructed patch to be prefix.
29154 (is_dst): Allow $ORIGIN followed by /.
29155 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29156 Correct testing of result of is_trusted_path_normalize
29157 (decompose_rpath): Fix warning.
29158
7b3b0b2a
UD
291592011-05-10 Ulrich Drepper <drepper@gmail.com>
29160
29161 [BZ #11257]
29162 * grp/initgroups.c (internal_getgrouplist): When we found the service
29163 list through the initgroups entry in nsswitch.conf do not always
29164 continue on a successful lookup. Don't always use the
eac80ce2 29165 __nss_group_database value if it is set.
7b3b0b2a
UD
29166 * nss/nsswitch.conf (initgroups): Change action for successful db
29167 lookup to continue for compatibility.
29168
2a81eaa5
UD
291692011-05-09 Ulrich Drepper <drepper@gmail.com>
29170
be97a69e
UD
29171 [BZ #11532]
29172 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29173 and CP774 modules.
29174 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29175 and CP774 modules.
29176 * iconvdata/tst-tables.sh: Likewise.
29177 * iconvdata/cp770.c: New file.
29178 * iconvdata/cp771.c: New file.
29179 * iconvdata/cp772.c: New file.
29180 * iconvdata/cp773.c: New file.
29181 * iconvdata/cp774.c: New file.
29182 * iconvdata/testdata/CP770: New file.
29183 * iconvdata/testdata/CP770..UTF8: New file.
29184 * iconvdata/testdata/CP771: New file.
29185 * iconvdata/testdata/CP771..UTF8: New file.
29186 * iconvdata/testdata/CP772: New file.
29187 * iconvdata/testdata/CP772..UTF8: New file.
29188 * iconvdata/testdata/CP773: New file.
29189 * iconvdata/testdata/CP773..UTF8: New file.
29190 * iconvdata/testdata/CP774: New file.
29191 * iconvdata/testdata/CP774..UTF8: New file.
29192
29193 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29194 END CHARMAP line.
29195 * iconvdata/gen-8bit-gap.sh: Likewise.
29196 * iconvdata/gen-8bit.sh: Likewise.
29197
c1e9e399
UD
29198 * locale/iso-639.def: Add ary entry.
29199
24c55fb3 29200 [BZ #11258]
96b4b1b0
UD
29201 * locale/C-translit.h.in: Add U20A1 transliteration.
29202
bdc2f971
KB
29203 [BZ #12178]
29204 * locale/iso-639.def: Add wae entry.
29205 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29206
2952b117
UD
29207 [BZ #12545]
29208 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29209 for n.
29210
2a81eaa5
UD
29211 [BZ #12711]
29212 * locale/C-translit.h.in: Add entry for U20B9.
29213 Patch by pravin.d.s@gmail.com.
29214
28377d1b
UD
292152011-05-08 Ulrich Drepper <drepper@gmail.com>
29216
7fb90fb8
UD
29217 [BZ #12713]
29218 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29219 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29220 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29221 in rtld. Use *stat64.
7fb90fb8 29222 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29223 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29224 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29225 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29226 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29227 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29228 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29229 __fstatat64 macros.
7fb90fb8
UD
29230 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29231 * dirent/rewinddir.c: Add libc_hidden_def.
29232 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 29233 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 29234
28377d1b
UD
29235 * include/dirent.h (__alloc_dir): Add flags parameter.
29236 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29237 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29238 __alloc_dir.
29239 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29240 from fdopendir if O_CLOEXEC is already set.
29241
66bdbaa4
AM
292422011-03-15 Alan Modra <amodra@gmail.com>
29243
29244 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29245 l_tls_firstbyte_offset non-zero. Save padding offset in
29246 l_tls_firstbyte_offset for later use.
29247 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29248 freeing static tls block.
29249
95721191
JN
292502011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29251
29252 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29253 where #ifdef was intended. The intent is to prevent ARG_MAX from
29254 being defined by the kernel headers.
29255
f87dfb1f
UD
292562011-05-07 Ulrich Drepper <drepper@gmail.com>
29257
29258 [BZ #12734]
29259 * resolv/resolv.h: Define RES_NOTLDQUERY.
29260 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29261 no-tld-query and set RES_NOTLDQUERY.
29262 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29263 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29264 modern BIND to search name as TLD unless forbidden.
29265
47c3cd7a
UD
292662011-05-07 Petr Baudis <pasky@suse.cz>
29267 Ulrich Drepper <drepper@gmail.com>
29268
29269 [BZ #12393]
29270 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29271 (is_trusted_path): ...to here.
c1e9ea35 29272 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 29273 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 29274 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 29275
8a35c912
PP
292762011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29277
29278 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29279 __BEGIN/__END_DECLS.
29280
acd41f47
UD
292812011-05-06 Ulrich Drepper <drepper@gmail.com>
29282
29283 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29284 NSS_STATUS_NOTFOUND if no record was found.
29285
597df647
AS
292862011-05-05 Andreas Schwab <schwab@redhat.com>
29287
29288 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29289 (headers-not-in-tirpc): Remove rpc/netdb.h
29290 * resolv/netdb.h: Revert last change.
29291
b9af1301
PP
292922011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29293
29294 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29295 circular dependency between libgcc.a and libc.a.
29296
4e34d5f5
AS
292972011-05-05 Andreas Schwab <schwab@redhat.com>
29298
29299 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29300 * nis/Makefile: Don't install rpcsvc/*.
29301 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29302 instead of <rpc/types.h>.
29303 (MAXHOSTNAMELEN): Define.
29304
00ee369c
AS
293052011-05-03 Andreas Schwab <schwab@redhat.com>
29306
29307 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29308
0b592a30
MB
293092011-04-28 Maciej Babinski <mbabinski@google.com>
29310
29311 [BZ #12714]
29312 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29313 gethostbyname4_r when IPv6 results are possible.
29314
6e04cbbe
UD
293152011-05-02 Ulrich Drepper <drepper@gmail.com>
29316
29317 [BZ #12723]
29318 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29319 _PC_PIPE_BUF handling.
29320
e4ecafe0
BH
293212011-04-30 Bruno Haible <bruno@clisp.org>
29322
29323 [BZ #12717]
29324 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29325 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29326 to 'int'.
29327 * inet/getnameinfo.c (getnameinfo): Likewise.
29328
125ee683
UD
293292011-04-29 Ulrich Drepper <drepper@gmail.com>
29330
29331 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29332 to groups setting in database lookup.
29333 * nss/nsswitch.conf: Add initgroups entry.
29334
b722481a
EB
293352011-04-22 Ulrich Drepper <drepper@gmail.com>
29336
29337 [BZ #12685]
29338 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29339 mode string.
29340 Patch by Eric Blake <eblake@redhat.com>.
29341
4df46dbd
L
293422011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29343
29344 * sunrpc/Makefile (need-export-routines): Add svc_run.
29345 (routines): Remove svc_run.
29346 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29347 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29348 * sunrpc/svc_run.c (svc_run): Likewise.
29349 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29350
e84142d2
UD
293512011-04-21 Ulrich Drepper <drepper@gmail.com>
29352
29353 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29354 problem in reallocation in last patch.
29355
877175d8
UD
293562011-04-20 Ulrich Drepper <drepper@gmail.com>
29357
29358 * sunrpc/Makefile: Move inclusion of Rules.
29359
ab8eed78
UD
293602011-04-19 Ulrich Drepper <drepper@gmail.com>
29361
29362 * nss/nss_files/files-initgroups.c: New file.
29363 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29364 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29365 _nss_files_initgroups_dyn.
29366
e3d8f584
RS
293672011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29368
29369 * elf/elf.h (R_ARM_IRELATIVE): Define.
29370
af190f45
UD
293712011-04-19 Ulrich Drepper <drepper@gmail.com>
29372
29373 * po/ru.po: Update from translation team.
29374
53cf59ef
UD
293752011-04-17 Ulrich Drepper <drepper@gmail.com>
29376
29377 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29378 dependencies.
29379
4c559bcd
MF
293802011-02-06 Mike Frysinger <vapier@gentoo.org>
29381
29382 [BZ #12653]
29383 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29384 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29385 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29386 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29387 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29388
4420675c
AS
293892011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29390
29391 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29392 differing bytes.
29393 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29394 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29395 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29396
75ea32ab
UD
293972011-04-17 Ulrich Drepper <drepper@gmail.com>
29398
29399 [BZ #12420]
29400 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29401 storing it.
29402 * stdlib/bug-getcontext.c: New file.
29403 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29404
27390476
AK
294052011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29406
29407 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29408 instructions into .machine "z9-109".
29409 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29410 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29411
10442705
AK
294122011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29413
29414 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29415 between environment variables and auxiliary vector.
29416
7b57bfe5
UD
294172011-04-16 Ulrich Drepper <drepper@gmail.com>
29418
29419 * Makefile: Add rules to build linkobj/libc.so.
29420 * include/libc-symbols.h: Define libc_hidden_nolink.
29421 * include/rpc/auth.h: Mark functions which are to be hidden.
29422 * include/rpc/auth_des.h: Likewise.
29423 * include/rpc/auth_unix.h: Likewise.
29424 * include/rpc/clnt.h: Likewise.
29425 * include/rpc/des_crypt.h: Likewise.
29426 * include/rpc/key_prot.h: Likewise.
29427 * include/rpc/pmap_clnt.h: Likewise.
29428 * include/rpc/pmap_prot.h: Likewise.
29429 * include/rpc/pmap_rmt.h: Likewise.
29430 * include/rpc/rpc_msg.h: Likewise.
29431 * include/rpc/svc.h: Likewise.
29432 * include/rpc/svc_auth.h: Likewise.
29433 * include/rpc/xdr.h: Likewise.
29434 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29435 * nss/Makefile: Likewise.
29436 * sunrpc/Makefile: Don't install headers. Build library with normal
29437 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29438 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29439 for the compat linking library. Remove use of INTDEF/INTUSE.
29440 * sunrpc/auth_none.c: Likewise.
29441 * sunrpc/auth_unix.c: Likewise.
29442 * sunrpc/authdes_prot.c: Likewise.
29443 * sunrpc/authuxprot.c: Likewise.
29444 * sunrpc/clnt_gen.c: Likewise.
29445 * sunrpc/clnt_perr.c: Likewise.
29446 * sunrpc/clnt_raw.c: Likewise.
29447 * sunrpc/clnt_simp.c: Likewise.
29448 * sunrpc/clnt_tcp.c: Likewise.
29449 * sunrpc/clnt_udp.c: Likewise.
29450 * sunrpc/clnt_unix.c: Likewise.
29451 * sunrpc/des_crypt.c: Likewise.
29452 * sunrpc/des_soft.c: Likewise.
29453 * sunrpc/get_myaddr.c: Likewise.
29454 * sunrpc/key_call.c: Likewise.
29455 * sunrpc/key_prot.c: Likewise.
29456 * sunrpc/netname.c: Likewise.
29457 * sunrpc/pm_getmaps.c: Likewise.
29458 * sunrpc/pm_getport.c: Likewise.
29459 * sunrpc/pmap_clnt.c: Likewise.
29460 * sunrpc/pmap_prot.c: Likewise.
29461 * sunrpc/pmap_prot2.c: Likewise.
29462 * sunrpc/pmap_rmt.c: Likewise.
29463 * sunrpc/publickey.c: Likewise.
29464 * sunrpc/rpc_cmsg.c: Likewise.
29465 * sunrpc/rpc_common.c: Likewise.
29466 * sunrpc/rpc_dtable.c: Likewise.
29467 * sunrpc/rpc_prot.c: Likewise.
29468 * sunrpc/rpc_thread.c: Likewise.
29469 * sunrpc/rtime.c: Likewise.
29470 * sunrpc/svc.c: Likewise.
29471 * sunrpc/svc_auth.c: Likewise.
29472 * sunrpc/svc_authux.c: Likewise.
29473 * sunrpc/svc_raw.c: Likewise.
29474 * sunrpc/svc_run.c: Likewise.
29475 * sunrpc/svc_simple.c: Likewise.
29476 * sunrpc/svc_tcp.c: Likewise.
29477 * sunrpc/svc_udp.c: Likewise.
29478 * sunrpc/svc_unix.c: Likewise.
29479 * sunrpc/svcauth_des.c: Likewise.
29480 * sunrpc/xcrypt.c: Likewise.
29481 * sunrpc/xdr.c: Likewise.
29482 * sunrpc/xdr_array.c: Likewise.
29483 * sunrpc/xdr_float.c: Likewise.
29484 * sunrpc/xdr_intXX_t.c: Likewise.
29485 * sunrpc/xdr_mem.c: Likewise.
29486 * sunrpc/xdr_rec.c: Likewise.
29487 * sunrpc/xdr_ref.c: Likewise.
29488 * sunrpc/xdr_sizeof.c: Likewise.
29489 * sunrpc/xdr_stdio.c: Likewise.
29490
e6c61494
UD
294912011-04-10 Ulrich Drepper <drepper@gmail.com>
29492
29493 [BZ #12650]
29494 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29495 * sysdeps/ia64/dl-tls.h: Likewise.
29496 * sysdeps/powerpc/dl-tls.h: Likewise.
29497 * sysdeps/s390/dl-tls.h: Likewise.
29498 * sysdeps/sh/dl-tls.h: Likewise.
29499 * sysdeps/sparc/dl-tls.h: Likewise.
29500 * sysdeps/x86_64/dl-tls.h: Likewise.
29501 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29502
34fe483e
AS
295032011-03-14 Andreas Schwab <schwab@redhat.com>
29504
29505 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29506 rpath element also skip the following colon.
29507 (expand_dynamic_string_token): Add is_path parameter and pass
29508 down to DL_DST_REQUIRED and _dl_dst_substitute.
29509 (decompose_rpath): Call expand_dynamic_string_token with
29510 non-zero is_path. Ignore empty rpaths.
29511 (_dl_map_object_from_fd): Call expand_dynamic_string_token
29512 with zero is_path.
29513
f12a32e6
AS
295142011-04-08 Andreas Schwab <schwab@linux-m68k.org>
29515
29516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29517 Make cancelable.
29518
38a7d692
UD
295192011-04-09 Ulrich Drepper <drepper@gmail.com>
29520
29521 [BZ #12655]
29522 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29523 Patch by Filipe David Manana <fdmanana@apache.org>.
29524
e451d22b
AS
295252011-04-07 Andreas Schwab <schwab@redhat.com>
29526
29527 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29528 Maintain aligned stack.
29529 (CHECK_RSP): Remove unused macro.
29530
dedc7c7b
UD
295312011-04-03 Ulrich Drepper <drepper@gmail.com>
29532
29533 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29534 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29535
94521213
UD
295362011-04-02 Ulrich Drepper <drepper@gmail.com>
29537
29538 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29539
8cb700c0 29540 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 29541
0354e355
L
295422011-03-26 H.J. Lu <hongjiu.lu@intel.com>
29543
29544 [BZ #12518]
29545 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29546 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29547 * sysdeps/x86_64/memmove.c: New file.
29548 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29549 (memcpy): Renamed to ...
29550 (__new_memcpy): This.
29551 (memcpy): Provide GLIBC_2_14 memcpy.
29552 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29553 (memcpy): Provide GLIBC_2_2_5 memcpy.
29554
8593482f
UD
295552011-04-01 Ulrich Drepper <drepper@gmail.com>
29556
29557 [BZ #12631]
29558 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29559
81a5726b
AS
295602011-03-30 Andreas Schwab <schwab@redhat.com>
29561
29562 * misc/syncfs.c: New file.
29563 * misc/Makefile (routines): Add syncfs.
29564 * posix/unistd.h: Declare syncfs.
29565 * sysdeps/unix/syscalls.list: Add syncfs.
29566
00e5419f
AS
295672011-04-01 Andreas Schwab <schwab@redhat.com>
29568
29569 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29570 open_by_handle_at.
29571 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29572 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29573 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29574 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29575 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29576 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29577 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29578
748876bf
UD
295792011-04-01 Ulrich Drepper <drepper@gmail.com>
29580
658e451d
UD
29581 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29582 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29583 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29584 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29585 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29586 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29587 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29588
748876bf
UD
29589 * io/Makefile: Compile fallocate.c, fallocate64.c, and
29590 sync_file_range.c with -fexceptions.
29591 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29592 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29593 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29594 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29595 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29596 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29597 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
29598 sync_file_range as cancellation point
29599 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
29600 now a wrapper around __call_sync_file_range with cancellation handling.
29601 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29602 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
29603 function name to __call_sync_file_range.
29604 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29605 Add call_sync_file_range.
748876bf 29606
6e63d5e1
AS
296072011-04-01 Andreas Schwab <schwab@redhat.com>
29608
29609 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 29610 bits/timex.h.
6e63d5e1 29611
46998f74
UD
296122011-04-01 Ulrich Drepper <drepper@gmail.com>
29613
4c1423ed
UD
29614 * iconv/iconv.h: Fix typo in comment.
29615 * io/fcntl.h: Likewise.
29616 * libio/stdio.h: Likewise.
29617 * posix/spawn.h: Likewise.
29618 * posix/unistd.h: Likewise.
29619 * stdlib/stdlib.h: Likewise.
29620 * time/time.h: Likewise.
29621 * wcsmbs/wchar.h: Likewise.
29622
158648c0
UD
29623 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29624 open_by_handle): Add.
29625 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29626 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
29627 Augment a few comments.
29628 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29629 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29630 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29631 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29632 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29633 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29634 open_by_handle.
29635
46998f74
UD
29636 * io/fcntl.h (AT_EMPTY_PATH): Define.
29637
83fe108b
UD
296382011-03-30 Ulrich Drepper <drepper@gmail.com>
29639
29640 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29641 * sysdeps/unix/sysv/linux/bits/time.h: New file.
29642 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29643 to...
29644 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
29645 * Versions.def: Add GLIBC_2.14.
29646 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29647 Export.
83fe108b 29648
bb242059
UD
296492011-03-22 Ulrich Drepper <drepper@gmail.com>
29650
29651 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29652 round counter.
29653 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29654
c97a1282
L
296552011-03-20 H.J. Lu <hongjiu.lu@intel.com>
29656
29657 [BZ #12597]
29658 * string/test-strncmp.c (do_page_test): New function.
29659 (check2): Likewise.
29660 (test_main): Call check2.
29661 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29662
2a115601
UD
296632011-03-20 Ulrich Drepper <drepper@gmail.com>
29664
29665 [BZ #12587]
29666 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29667 Handle cache information in CPU leaf 4.
29668 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29669
8126d904
UD
296702011-03-18 Ulrich Drepper <drepper@gmail.com>
29671
042c49c6 29672 [BZ #12583]
8126d904
UD
29673 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29674 character representation.
29675 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29676
ccfe366e
RA
296772011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
29678
29679 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29680 END(__isnan) to END(__isnanf) to match function entry point/label
29681 EALIGN(__isnanf,...).
29682
c6e13027
JJ
296832011-03-10 Jakub Jelinek <jakub@redhat.com>
29684
29685 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29686
33f85a3f
UD
296872011-03-10 Ulrich Drepper <drepper@gmail.com>
29688
028478fa
UD
29689 [BZ #12510]
29690 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29691 copy from the symbol referenced in the relocation to initialize the
29692 used variable.
29693 Patch by Piotr Bury <pbury@goahead.com>.
29694 * elf/Makefile: Add rules to build and tst-unique3.
29695 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29696 * elf/tst-unique3.cc: New file.
29697 * elf/tst-unique3.h: New file.
29698 * elf/tst-unique3lib.cc: New file.
29699 * elf/tst-unique3lib2.cc: New file.
29700
33f85a3f
UD
29701 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29702
03592fc7
MF
297032011-03-10 Mike Frysinger <vapier@gentoo.org>
29704
29705 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29706 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
29707 to _start.
03592fc7 29708
6a5ee102
UD
297092011-03-06 Ulrich Drepper <drepper@gmail.com>
29710
29711 * elf/dl-load.c (_dl_map_object): If we are looking for the first
29712 to-be-loaded object along a path to loader is ld.so.
29713
7e4ba49c
HJ
297142011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29715 Ulrich Drepper <drepper@gmail.com>
29716
29717 * sysdeps/x86_64/memset.S: After aligning destination, code
29718 branches to different locations depending on the value of
29719 misalignment, when multiarch is enabled. Fix this.
29720
297212011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29722
29723 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29724 Set _x86_64_preferred_memory_instruction for AMD processsors.
29725 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29726 Set bit_Prefer_SSE_for_memop for AMD processors.
29727
13a804de
UD
297282011-03-04 Ulrich Drepper <drepper@gmail.com>
29729
29730 * libio/fmemopen.c (fmemopen): Optimize a bit.
29731
9d25c392
AS
297322011-03-03 Andreas Schwab <schwab@redhat.com>
29733
29734 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29735
a5543c6a
RM
297362011-03-03 Roland McGrath <roland@redhat.com>
29737
29738 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29739
012d35f7
DM
297402011-02-28 Aurelien Jarno <aurelien@aurel32.net>
29741
7e4ba49c 29742 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
29743 __bzero_ultra1 instead of __memset_ultra1.
29744
4bff6e01
AS
297452011-02-23 Andreas Schwab <schwab@redhat.com>
29746 Ulrich Drepper <drepper@gmail.com>
29747
29748 [BZ #12509]
29749 * include/link.h (struct link_map): Add l_orig_initfini.
29750 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
29751 returning unsuccessfully.
29752 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
29753 close of a file loaded at startup, restore the original l_initfini
29754 list.
29755 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
29756 list, store the pointer.
29757 * elf/Makefile ($(objpfx)noload-mem): New rule.
29758 (noload-ENV): Define.
29759 (tests): Add $(objpfx)noload-mem.
29760 * elf/noload.c: Include <memcheck.h>.
29761 (main): Call mtrace. Close all opened handles.
29762
f2092faf
AS
297632011-02-17 Andreas Schwab <schwab@redhat.com>
29764
29765 [BZ #12454]
29766 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
29767 dependencies are missing.
29768
6c8a2e88
ST
297692011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
29770
f2092faf 29771 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
29772 Hurd needs munmap.
29773 * sysdeps/mach/hurd/ifreq.h: New file.
29774
84a42118
PB
297752011-01-27 Petr Baudis <pasky@suse.cz>
29776 Ulrich Drepper <drepper@gmail.com>
29777
071f805e 29778 [BZ 12445]#
84a42118
PB
29779 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
29780 to extend_alloca().
29781 * stdio-common/bug23.c: New file.
29782 * stdio-common/Makefile (tests): Add bug23.
29783
e23fe25b
AS
297842010-09-28 Andreas Schwab <schwab@redhat.com>
29785 Ulrich Drepper <drepper@gmail.com>
29786
29787 [BZ #12489]
29788 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
29789 before performing relro protection. At old place add assertion
29790 to make sure nothing changed.
29791
d3f02e10
NS
297922011-02-17 Nathan Sidwell <nathan@codesourcery.com>
29793 Glauber de Oliveira Costa <glommer@gmail.com>
29794
29795 * elf/elf.h: Add new ARM TLS relocs.
29796
d55fd7a5
RA
297972011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
29798
29799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29800 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
29801 cast from r3.
29802 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
29803 'tests' variable.
29804 * sysdeps/wordsize-64/tst-writev.c: New file.
29805
2206397e
RA
298062011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
29807
29808 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
29809 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
29810 insns in _dl_start to prevent a TOC reference before relocs are
29811 resolved.
29812
e9433893
UD
298132011-02-15 Ulrich Drepper <drepper@gmail.com>
29814
29815 [BZ #12469]
29816 * Makeconfig: Remove RANLIB definition.
29817 * Makerules: Don't use RANLIB.
29818 * aclocal.m4: Remove ranlib test.
29819 * configure.in: No need to check for ranlib.
29820 * elf/rtld-Rules: Don't use RANLIB.
29821
f75286c6
ST
298222011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
29823
8e31c82d
ST
29824 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
29825 protection macro.
29826 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
29827 inclusion protection macro.
29828
f75286c6
ST
29829 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
29830 SIGRTMIN and SIGRTMAX and print information in that case only when
29831 SIGRTMIN is defined.
29832
c1d0e639
JJ
298332011-02-11 Jakub Jelinek <jakub@redhat.com>
29834
29835 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
29836 arginfo fn returning -1.
29837
29838 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
29839 and thousands string is zero terminated.
29840
edf9294e
AS
298412011-02-03 Andreas Schwab <schwab@redhat.com>
29842
29843 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
29844 sysdeps/unix/sysv/linux/bits/socket.h.
29845
2b7e92df
ST
298462011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
29847
edf9294e
AS
29848 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
29849 (__CPU_COUNT): Remove old macros.
29850 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
29851 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
29852 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
29853 (__sched_cpualloc, __sched_cpufree): Add declarations.
29854
a4c7ea7b
UD
298552011-02-05 Ulrich Drepper <drepper@gmail.com>
29856
29857 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
29858 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
29859 * nscd/aicache.c (addhstaiX): Return timeout of added value.
29860 (readdhstai): Return value of addhstaiX call.
29861 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
29862 (addgrbyX): Return value returned by cache_addgr.
29863 (readdgrbyname): Return value returned by addgrbyX.
29864 (readdgrbygid): Likewise.
29865 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
29866 (addpwbyX): Return value returned by cache_addpw.
29867 (readdpwbyname): Return value returned by addhstbyX.
29868 (readdpwbyuid): Likewise.
29869 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
29870 (addservbyX): Return value returned by cache_addserv.
29871 (readdservbyname): Return value returned by addservbyX:
29872 (readdservbyport): Likewise.
29873 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
29874 (addhstbyX): Return value returned by cache_addhst.
29875 (readdhstbyname): Return value returned by addhstbyX.
29876 (readdhstbyaddr): Likewise.
29877 (readdhstbynamev6): Likewise.
29878 (readdhstbyaddrv6): Likewise.
29879 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
29880 (readdinitgroups): Return value returned by addinitgroupsX.
29881 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
29882 (prune_cache): Keep track of timeout value of re-added entries.
29883 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
29884 * nscd/nscd.h: Adjust prototypes of readd* functions.
29885
a0bf67cc
RM
298862011-02-04 Roland McGrath <roland@redhat.com>
29887
29888 * nis/nis_server.c (nis_servstate): Use the right name for 0.
29889 (nis_stats): Likewise.
29890 * nis/nis_modify.c (nis_modify): Likewise.
29891 * nis/nis_remove.c (nis_remove): Likewise.
29892 * nis/nis_add.c (nis_add): Likewise.
29893
29894 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
29895
29896 * posix/fnmatch_loop.c: Add some consts.
29897
29898 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
29899
435b95eb
L
299002011-02-02 H.J. Lu <hongjiu.lu@intel.com>
29901
29902 [BZ #12460]
29903 * config.make.in (config-cflags-novzeroupper): Define.
29904 * configure.in: Substitute libc_cv_cc_novzeroupper.
29905 * elf/Makefile (AVX-CFLAGS): Define.
29906 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
29907 (CFLAGS-tst-auditmod4a.c): Likewise.
29908 (CFLAGS-tst-auditmod4b.c): Likewise.
29909 (CFLAGS-tst-auditmod6b.c): Likewise.
29910 (CFLAGS-tst-auditmod6c.c): Likewise.
29911 (CFLAGS-tst-auditmod7b.c): Likewise.
29912 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
29913
8517b15e
UD
299142011-02-02 Ulrich Drepper <drepper@gmail.com>
29915
29916 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
29917 function to the callback.
29918 Patch partly by Jiri Olsa <jolsa@redhat.com>.
29919
10a656fe
AS
299202011-02-02 Andreas Schwab <schwab@redhat.com>
29921
29922 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
29923 of errno.
29924
968dad0a
UD
299252011-01-19 Ulrich Drepper <drepper@gmail.com>
29926
9f94d2ea 29927 [BZ #11724]
968dad0a
UD
29928 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
29929 of constructors.
29930 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
29931 of destructors.
29932 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
29933
29934 [BZ #11724]
29935 * elf/Makefile: Add rules to build and run new test.
29936 * elf/tst-initorder.c: New file.
29937 * elf/tst-initorder.exp: New file.
29938 * elf/tst-initordera1.c: New file.
29939 * elf/tst-initordera2.c: New file.
29940 * elf/tst-initordera3.c: New file.
29941 * elf/tst-initordera4.c: New file.
29942 * elf/tst-initorderb1.c: New file.
29943 * elf/tst-initorderb2.c: New file.
29944 * elf/tst-order-a1.c: New file.
29945 * elf/tst-order-a2.c: New file.
29946 * elf/tst-order-a3.c: New file.
29947 * elf/tst-order-a4.c: New file.
29948 * elf/tst-order-b1.c: New file.
29949 * elf/tst-order-b2.c: New file.
29950 * elf/tst-order-main.c: New file.
29951 New test case by George Gensure <werkt0@gmail.com>.
29952
86e92359
UD
299532010-10-01 Andreas Schwab <schwab@redhat.com>
29954
29955 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29956 decoding ACE if AI_CANONIDN.
29957
5d5732b0
UD
299582011-01-18 Ulrich Drepper <drepper@gmail.com>
29959
29960 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
29961
a77e8cbc
UD
299622011-01-17 Ulrich Drepper <drepper@gmail.com>
29963
6392473f
UD
29964 * version.h (RELEASE): Bump for 2.13 release.
29965 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
29966
620a0529
UD
29967 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
29968
18ba70a5
UD
29969 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
29970 MADV_NOHUGEPAGE.
32465c3e
UD
29971 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
29972 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29973 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29974 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29975 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29976 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29977
c0dafcf1
UD
29978 * posix/getconf.c: Update copyright year.
29979 * catgets/gencat.c: Likewise.
29980 * csu/version.c: Likewise.
29981 * debug/catchsegv.sh: Likewise.
29982 * debug/xtrace.sh: Likewise.
29983 * elf/ldconfig.c: Likewise.
29984 * elf/ldd.bash.in: Likewise.
29985 * elf/sprof.c (print_version): Likewise.
29986 * iconv/iconv_prog.c: Likewise.
29987 * iconv/iconvconfig.c: Likewise.
29988 * locale/programs/locale.c: Likewise.
29989 * locale/programs/localedef.c: Likewise.
29990 * malloc/memusage.sh: Likewise.
29991 * malloc/mtrace.pl: Likewise.
29992 * nscd/nscd.c (print_version): Likewise.
29993 * nss/getent.c: Likewise.
29994
a77e8cbc
UD
29995 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
29996 PF_CAIF, and PF_ALG.
29997 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29998
77e8bddf
AS
299992011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30000
1f20b93a
AS
30001 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30002 (modules-names): Use them.
30003 (ifunc-test-modules, ifunc-pie-tests): Define.
30004 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30005 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30006 (test-extras): Likewise.
30007 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30008 $(compile-command.c).
30009 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30010 (all-built-dso): Define.
30011 (check-textrel.out, check-execstack.out): Depend on it.
30012
77e8bddf
AS
30013 * configure.in: Don't override --enable-multi-arch.
30014
bc425b33
UD
300152011-01-15 Ulrich Drepper <drepper@gmail.com>
30016
30017 [BZ #6812]
30018 * nscd/hstcache.c (tryagain): Define.
30019 (cache_addhst): Return tryagain not notfound for temporary errors.
30020 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30021 failed.
30022
794c3ad3
UD
300232011-01-14 Ulrich Drepper <drepper@gmail.com>
30024
70181fdd
UD
30025 [BZ #10563]
30026 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30027 to make the syscall.
30028 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30029
794c3ad3
UD
30030 [BZ #12378]
30031 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30032 and fall back to matching as normal character if the string ends before
30033 the matching ']' is found. This is what POSIX requires.
30034 * posix/testfnm.c: Adjust test result.
30035 * posix/globtest.sh: Adjust test result. Add new test.
30036 * posix/tst-fnmatch.input: Likewise.
30037 * posix/tst-fnmatch2.c: Add new test.
30038
68dc9497
AS
300392010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30040
30041 * elf/Makefile (check-execstack): Revert last change. Depend on
30042 check-execstack.h.
30043 (check-execstack.h): New target.
30044 (generated): Add check-execstack.h.
30045 * elf/check-execstack.c: Include "check-execstack.h".
30046 (main): Revert last change.
30047 (handle_file): Return zero if GNU_STACK is absent and
30048 DEFAULT_STACK_PERMS doesn't include PF_X.
30049
451f001b
UD
300502011-01-13 Ulrich Drepper <drepper@gmail.com>
30051
cfa28e56
UD
30052 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30053 in child fails because the descriptor is already closed.
8cf8ce17
UD
30054 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30055 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30056 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30057
1086d70d
UD
30058 [BZ #12397]
30059 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30060 syscall.
30061
451f001b
UD
30062 [BZ #10484]
30063 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30064 temporary buffer used to handle multi lookups locally.
a85b5cb4 30065 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30066
08769175
UD
300672011-01-12 Ulrich Drepper <drepper@gmail.com>
30068
30069 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30070 loader is ld.so.
30071
5e49c52e
UD
300722011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30073
30074 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30075 alignment for SSE2.
30076
60522a5f
UD
300772011-01-12 Ulrich Drepper <drepper@gmail.com>
30078
30079 [BZ #12394]
30080 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30081 characters. When rounding increased number of integer digits recompute
30082 number of groups.
30083 * stdio-common/tst-grouping.c: New file.
30084 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30085
f257bbd7
UD
300862011-01-09 Ulrich Drepper <drepper@gmail.com>
30087
30088 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30089 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30090
30091 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30092 void.
30093 * bits/select.h: Likewise.
30094
fa9c15cb
UD
300952011-01-08 Ulrich Drepper <drepper@gmail.com>
30096
30097 * po/ja.po: Update from translation team.
30098
16c2895f
DM
300992011-01-04 David S. Miller <davem@sunset.davemloft.net>
30100
30101 [BZ #11155]
30102 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30103 implementation just like for lxstat, fxstatat, et al.
30104
2543fef2
JM
301052010-12-27 Jim Meyering <meyering@redhat.com>
30106
30107 [BZ #12348]
30108 * posix/regexec.c (build_trtable): Return failure indication upon
30109 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30110
98727dbe
UD
301112010-12-25 Ulrich Drepper <drepper@gmail.com>
30112
5bd6dc5c
UD
30113 [BZ #12201]
30114 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30115 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30116 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30117 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30118
97983464
UD
30119 [BZ #12207]
30120 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30121
98727dbe
UD
30122 [BZ #12204]
30123 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30124 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30125
4a531bb0
L
301262010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30127
30128 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30129 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30130 script has SORT_BY_INIT_PRIORITY.
30131 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30132 NO_CTORS_DTORS_SECTIONS is defined.
30133 * elf/soinit.c: Likewise.
30134 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30135 NO_CTORS_DTORS_SECTIONS is defined.
30136 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30137 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30138 * sysdeps/sh/init-first.c: Likewise.
30139 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30140
07eb4b71
UD
301412010-12-24 Ulrich Drepper <drepper@gmail.com>
30142
30143 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30144 always use the slow path.
30145
30950a5f
RA
301462010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30147
30148 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30149 similar rule which adds the sysdep directories to the header search in
30150 order to pick up the correct platform stackinfo.h.
30151 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30152 perform test if it is, otherwise return successfully without testing.
30153 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30154 DEFAULT_STACK_PERMS define in stackinfo.h.
30155 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30156 defined in stackinfo.h.
30157 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30158 DEFAULT_STACK_PERMS defined in stackinfo.h.
30159 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30160 * sysdeps/ia64/stackinfo.h: Likewise.
30161 * sysdeps/s390/stackinfo.h: Likewise.
30162 * sysdeps/sh/stackinfo.h: Likewise.
30163 * sysdeps/sparc/stackinfo.h: Likewise.
30164 * sysdeps/x86_64/stackinfo.h: Likewise.
30165 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30166 PF_X for powerpc64. Retain PF_X for powerpc32.
30167
db753e2c
UD
301682010-12-19 Ulrich Drepper <drepper@gmail.com>
30169
14b697f7
UD
30170 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30171 accurately.
db753e2c
UD
30172 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30173 GETDENTS_64BIT_ALIGNED.
30174
28300719
UD
301752010-12-14 Ulrich Drepper <dreper@gmail.com>
30176
14b697f7 30177 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30178
4f197237
AS
301792010-12-10 Andreas Schwab <schwab@redhat.com>
30180
dbb0472f
AS
30181 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30182 _GNU_SOURCE.
30183
4f197237
AS
30184 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30185 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30186 Remove __restrict.
30187 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30188 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30189
fb88ac72
UD
301902010-12-09 Ulrich Drepper <drepper@gmail.com>
30191
30192 [BZ #11655]
30193 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30194 are initialized.
30195
42acbb92
JJ
301962010-12-09 Jakub Jelinek <jakub@redhat.com>
30197
30198 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30199
c038d98d
UD
302002010-12-03 Ulrich Drepper <drepper@gmail.com>
30201
30202 * po/it.po: Update from translation team.
30203
3a4a2499
L
302042010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30205
30206 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30207 unused codes.
30208
1e24cf6e
UD
302092010-11-30 Ulrich Drepper <drepper@gmail.com>
30210
30211 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30212
a7690819
AS
302132010-11-24 Andreas Schwab <schwab@redhat.com>
30214
30215 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30216 specially.
30217 (gaih_getanswer_slice): Likewise.
30218
3bf8d1b1
JJ
302192010-10-20 Jakub Jelinek <jakub@redhat.com>
30220
30221 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30222
6db52fbb
PB
302232010-05-31 Petr Baudis <pasky@suse.cz>
30224
30225 [BZ #11149]
30226 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30227 silently even in the chroot mode.
30228
eaca7569
UD
302292010-11-22 Ulrich Drepper <drepper@gmail.com>
30230
30231 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30232 last patch a bit. Pretty printing
30233
3056dcdb
UD
302342010-05-31 Petr Baudis <pasky@suse.cz>
30235
30236 [BZ #10085]
30237 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30238 initialization of skip_initgroups_dyn.
30239
cf7c9078
UD
302402010-11-19 Ulrich Drepper <drepper@gmail.com>
30241
30242 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30243 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30244
a1fb5e3e
UD
302452010-11-16 Ulrich Drepper <drepper@gmail.com>
30246
30247 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30248
3540d66b
AS
302492010-11-11 Andreas Schwab <schwab@redhat.com>
30250
30251 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30252 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30253 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30254 ($(objpfx)tst-fnmatch-mem): New rule.
30255 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30256 * posix/tst-fnmatch.c (main): Call mtrace.
30257
13b69574
L
302582010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30259
30260 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30261 Support Intel processor model 6 and model 0x2c.
30262
da93d214
LM
302632010-11-10 Luis Machado <luisgpm@br.ibm.com>
30264
30265 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30266 signed comparison.
30267
8ca52c6e
L
302682010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30269
30270 [BZ #12205]
30271 * string/test-strncasecmp.c (check_result): New function.
30272 (do_one_test): Use it.
30273 (check1): New function.
30274 (test_main): Use it.
30275 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30276 Support strcasecmp and strncasecmp.
30277
69da074d
UD
302782010-11-08 Ulrich Drepper <drepper@gmail.com>
30279
30280 [BZ #12194]
30281 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30282 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30283
ff02d528
L
302842010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30285
30286 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30287 IFUNC support.
30288 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30289 memset-x86-64.
30290 * sysdeps/x86_64/multiarch/bzero.S: New file.
30291 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30292 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30293 * sysdeps/x86_64/multiarch/memset.S: New file.
30294 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30295 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30296 Set bit_Prefer_SSE_for_memop for Intel processors.
30297 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30298 Define.
30299 (index_Prefer_SSE_for_memop): Define.
30300 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30301
344d0b54
LM
303022010-11-04 Luis Machado <luisgpm@br.ibm.com>
30303
30304 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30305 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30306
c0dde15b
UD
303072010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30308
30309 [BZ #12191]
30310 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30311 (__x86_64_raw_data_cache_size_half): Likewise.
30312 (__x86_64_raw_shared_cache_size): Likewise.
30313 (__x86_64_raw_shared_cache_size_half): Likewise.
30314
30315 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30316 (__x86_64_raw_data_cache_size_half): Likewise.
30317 (__x86_64_raw_shared_cache_size): Likewise.
30318 (__x86_64_raw_shared_cache_size_half): Likewise.
30319 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30320 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30321 and __x86_64_raw_shared_cache_size_half. Round
30322 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30323 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30324 to multiple of 256 bytes.
30325
0e516e0e
MS
303262010-11-03 Ulrich Drepper <drepper@gmail.com>
30327
30328 [BZ #12167]
30329 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30330 of inacessible symlinks. Verify result of symlink before returning it.
30331 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30332 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30333
0e012e87
ER
303342010-10-28 Erich Ritz <erichritz@gmail.com>
30335
30336 * math/math.h (isinf): Fix typo in comment.
30337
de0ff7bc
UD
303382010-11-01 Ulrich Drepper <drepper@gmail.com>
30339
30340 * po/da.po: Update from translation team.
30341
fa41c84d
UD
303422010-10-26 Ulrich Drepper <drepper@gmail.com>
30343
30344 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30345 is added to the list.
30346
f0967738
AK
303472010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30348 Ulrich Drepper <drepper@gmail.com>
30349
30350 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30351 the global list here. Move code to...
30352 (_dl_add_to_namespace_list): ...here. New function.
30353 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30354 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30355 * elf/dl-load.c (lose): Don't remove the element from the list.
30356 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30357 (_dl_map_object): Likewise.
30358
303592010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
30360
30361 [BZ #12159]
30362 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30363 into all bytes of SSE register.
30364 Patch by Richard Li <richardpku@gmail.com>.
30365
f0967738 303662010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
30367
30368 [BZ #12140]
30369 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30370 perturbing.
30371
d0b9e94f
MB
303722010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30373
30374 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30375 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30376 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30377 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30379 submachine.
30380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30381
8e9f92e9
AS
303822010-10-22 Andreas Schwab <schwab@redhat.com>
30383
30384 * include/dlfcn.h (__RTLD_SECURE): Define.
30385 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30386 mode & __RTLD_SECURE instead.
30387 (open_path): Rename preloaded parameter to secure.
30388 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30389 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30390 * elf/dl-deps.c (openaux): Likewise.
30391 * elf/rtld.c (struct map_args): Remove is_preloaded.
30392 (map_doit): Don't use it.
30393 (dl_main): Likewise.
30394 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30395 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30396
bc96fbda
AS
303972010-09-09 Andreas Schwab <schwab@redhat.com>
30398
30399 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30400 (sysd-rules-targets): Remove duplicates.
30401 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30402 rtld-%.$o dependency.
30403
22cd1c9b
AS
304042010-10-18 Andreas Schwab <schwab@redhat.com>
30405
30406 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30407 _dl_map_object do it.
30408
18edac48
UD
304092010-10-19 Ulrich Drepper <drepper@gmail.com>
30410
30411 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30412 fast fma builtins, define the macros in the C99 standard.
30413 (FP_FAST_FMAF): Likewise.
30414 (FP_FAST_FMAL): Likewise.
30415 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30416
30417 * bits/mathdef.h: Update copyright year.
30418 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30419
d2050124
MM
304202010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30421
30422 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30423 builtins, define the macros in the C99 standard.
30424 (FP_FAST_FMAF): Likewise.
30425 (FP_FAST_FMAL): Likewise.
30426 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30427 multiply/add.
30428 (FP_FAST_FMAF): Likewise.
30429
475facd1
JJ
304302010-10-15 Jakub Jelinek <jakub@redhat.com>
30431
30432 [BZ #3268]
30433 * math/libm-test.inc (fma_test): Some new testcases.
30434 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30435 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30436 y and infinite z. Do multiplication by C already in long double.
30437 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30438 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30439 y and infinite z. Do bitwise or of inexact bit into u.d.
30440 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30441 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30442 * sysdeps/i386/fpu/s_fma.S: Removed.
30443 * sysdeps/i386/fpu/s_fmal.S: Removed.
30444
7c08a05c
JJ
304452010-10-16 Jakub Jelinek <jakub@redhat.com>
30446
30447 [BZ #3268]
30448 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30449 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30450 computation is not scheduled after fetestexcept. Fix value
30451 of minimum denormal long double.
30452
f3f7372d
JJ
304532010-10-14 Jakub Jelinek <jakub@redhat.com>
30454
30455 [BZ #3268]
30456 * math/libm-test.inc (fma_test): Add some more tests.
30457 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30458 correctly.
30459
14d43591
AS
304602010-10-15 Andreas Schwab <schwab@redhat.com>
30461
30462 * scripts/data/localplt-s390-linux-gnu.data: New file.
30463 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30464
5e908464
JJ
304652010-10-13 Jakub Jelinek <jakub@redhat.com>
30466
30467 [BZ #3268]
30468 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30469 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30470 instead of dbl-64.
30471 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30472 inlines.
30473 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30474 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30475 if one of x and y is very large and the other is subnormal.
30476 * sysdeps/s390/fpu/s_fmaf.c: New file.
30477 * sysdeps/s390/fpu/s_fma.c: New file.
30478 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30479 * sysdeps/powerpc/fpu/s_fma.S: New file.
30480 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30481 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30482 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30483
304842010-10-12 Jakub Jelinek <jakub@redhat.com>
30485
30486 [BZ #3268]
30487 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30488 fma tests.
30489 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30490 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30491 * sysdeps/i386/i686/multiarch/s_fma.c: Include
30492 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30493 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30494 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30495 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30496
b833d51f
UD
304972010-10-12 Ulrich Drepper <drepper@redhat.com>
30498
30499 [BZ #12078]
30500 * posix/regcomp.c (parse_branch): One more memory leak plugged.
30501 * posix/bug-regex31.input: Add test case.
30502
1751705d
UD
305032010-10-11 Ulrich Drepper <drepper@gmail.com>
30504
e9b9cbf5
UD
30505 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30506 * posix/bug-regex31.input: New file.
30507
30508 [BZ #12078]
30509 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30510 (parse_sub_exp): Fix last change, use postorder.
30511
ef06edbe
UD
30512 * posix/bug-regex31.c: New file.
30513 * posix/Makefile: Add rules to build and run bug-regex31.
30514
a129c80d
UD
30515 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30516
30517 [BZ #12078]
30518 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30519
b76b818e
UD
30520 [BZ #12108]
30521 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30522 to have entries in sys_siglist.
30523
1751705d
UD
30524 [BZ #12093]
30525 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30526 be NULL.
30527
9ff8d36f
JJ
305282010-10-07 Jakub Jelinek <jakub@redhat.com>
30529
30530 [BZ #3268]
30531 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30532 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30533 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30534 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30535 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30536 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30537 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30538 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30539 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30540 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30541 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30542 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30543 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30544 * math/ftestexcept.c (fetestexcept): Likewise.
30545 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30546 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30547 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30548 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30549 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30550 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30551 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30552
af325969
UD
305532010-10-11 Ulrich Drepper <drepper@gmail.com>
30554
c579b202 30555 [BZ #12107]
af325969
UD
30556 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30557 newline.
30558
67a67b95
UD
305592010-10-06 Ulrich Drepper <drepper@gmail.com>
30560
30561 * string/bug-strstr1.c: New file.
30562 * string/Makefile: Add rules to build and run bug-strstr1.
30563
5fb308bc
EB
305642010-10-05 Eric Blake <eblake@redhat.com>
30565
30566 [BZ #12092]
30567 * string/str-two-way.h (two_way_long_needle): Always clear memory
30568 when skipping input due to the shift table.
30569
45db99c7
UD
305702010-10-03 Ulrich Drepper <drepper@gmail.com>
30571
3b111893
UD
30572 [BZ #12005]
30573 * malloc/mcheck.c: Handle large requests.
30574
45db99c7
UD
30575 [BZ #12077]
30576 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30577 for strncmp and strncasecmp.
30578 * string/stratcliff.c: Add tests for strcmp and strncmp.
30579 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30580
cf7a1eb8
NI
305812010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30582
30583 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30584 __set_fpscr.
30585
6484ba5e
AJ
305862010-09-30 Andreas Jaeger <aj@suse.de>
30587
30588 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30589 (CGROUP_SUPER_MAGIC): Define.
30590 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30591 Handle btrfs and cgroup file systems.
30592 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30593 Likewise.
30594
91c42559
LM
305952010-09-27 Luis Machado <luisgpm@br.ibm.com>
30596
30597 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30598 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30599
87a97932
AK
306002010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30601
30602 [BZ #12067]
30603 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30604 trying to locate the ELF header.
30605
c21cc9bc
AS
306062010-09-27 Andreas Schwab <schwab@redhat.com>
30607
30608 [BZ #11611]
30609 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30610 Mask out sign-bit copies when constructing f_fsid.
30611
315970f6
PB
306122010-09-24 Petr Baudis <pasky@suse.cz>
30613
30614 * debug/stack_chk_fail_local.c: Add missing licence exception.
30615 * debug/warning-nop.c: Likewise.
30616
1ac7a2c7
JM
306172010-09-15 Joseph Myers <joseph@codesourcery.com>
30618
30619 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30620 implementing getdents64 using getdents syscall, set d_type if
30621 __ASSUME_GETDENTS32_D_TYPE.
30622
56801c50
AS
306232010-09-16 Andreas Schwab <schwab@redhat.com>
30624
30625 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30626 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30627
dda51327
UD
306282010-09-21 Ulrich Drepper <drepper@redhat.com>
30629
30630 [BZ #12037]
30631 * posix/unistd.h: Undo change of feature selection for ftruncate from
30632 2010-01-11.
30633
8ffcee4a
UD
306342010-09-20 Ulrich Drepper <drepper@redhat.com>
30635
a545ecd9 30636 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
30637 detection.
30638
e24f0a8b
AS
306392010-09-20 Andreas Schwab <schwab@redhat.com>
30640
30641 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30642 fanotify_mark.
30643 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30644
7291c56f
AS
306452010-09-14 Andreas Schwab <schwab@redhat.com>
30646
30647 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30648 variables after CHECK_SP call.
30649 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30650
bc5fb037
AS
306512010-09-13 Andreas Schwab <schwab@redhat.com>
30652 Ulrich Drepper <drepper@redhat.com>
30653
30654 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30655 re-relocationg ld.so.
30656 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30657 _dl_init_paths call.
30658 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
30659 here anymore.
30660
e66e7419
UD
306612010-09-14 Ulrich Drepper <drepper@redhat.com>
30662
30663 * resolv/res_init.c (__res_vinit): Count the default server we added.
30664
c044aa75
CLT
306652010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
30666 Ulrich Drepper <drepper@redhat.com>
30667
30668 [BZ #11968]
30669 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30670 (____longjmp_chk): Use %ebx for saving value across system call.
30671 Add unwind info.
30672
32cf4069
AS
306732010-09-06 Andreas Schwab <schwab@redhat.com>
30674
30675 * manual/Makefile: Don't mix pattern rules with normal rules.
30676
817328ee
AS
306772010-09-05 Andreas Schwab <schwab@linux-m68k.org>
30678
30679 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30680 operation.
30681 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30682 * libio/iofopncook.c (_IO_cookie_init): Likewise.
30683 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30684 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30685 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30686 Likewise.
30687
29fddf61
UD
306882010-09-04 Ulrich Drepper <drepper@redhat.com>
30689
30690 [BZ #11979]
30691 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30692 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30693
0959ffc9
UD
306942010-09-02 Ulrich Drepper <drepper@redhat.com>
30695
30696 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30697 * sysdeps/x86_64/addmul_1.S: Likewise.
30698 * sysdeps/x86_64/lshift.S: Likewise.
30699 * sysdeps/x86_64/mul_1.S: Likewise.
30700 * sysdeps/x86_64/rshift.S: Likewise.
30701 * sysdeps/x86_64/sub_n.S: Likewise.
30702 * sysdeps/x86_64/submul_1.S: Likewise.
30703
ece29840
ST
307042010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
30705
0959ffc9
UD
30706 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30707 Define __sched_param instead of SCHED_* and sched_param when
ece29840 30708 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 30709 * bits/sched.h [__need_schedparam]
ece29840 30710 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
30711 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30712 (__defined_schedparam): Define to 1.
ece29840
ST
30713 (__sched_param): New structure, identical to sched_param.
30714 (__need_schedparam): Undefine.
30715
e53a31fe
MF
307162010-08-31 Mike Frysinger <vapier@gentoo.org>
30717
fdc0c10d
MF
30718 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30719 (epoll_create1): Declare.
30720
e53a31fe
MF
30721 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30722
a726d796
AS
307232010-08-31 Andreas Schwab <schwab@redhat.com>
30724
30725 [BZ #7066]
30726 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30727 shifting retval into place.
30728
2f3e3dc7
UD
307292010-09-01 Ulrich Drepper <drepper@redhat.com>
30730
f2933da9
UD
30731 * nis/rpcsvc/nis.h: Update copyright notice.
30732 * nis/rpcsvc/nis.x: Likewise.
30733 * nis/rpcsvc/nis_callback.h: Likewise.
30734 * nis/rpcsvc/nis_callback.x: Likewise.
30735 * nis/rpcsvc/nis_object.x: Likewise.
30736 * nis/rpcsvc/nis_tags.h: Likewise.
30737 * nis/rpcsvc/yp.h: Likewise.
30738 * nis/rpcsvc/yp.x: Likewise.
30739 * nis/rpcsvc/ypupd.h: Likewise.
30740 * nis/yp_xdr.c: Likewise.
30741 * nis/ypupdate_xdr.c: Likewise.
30742
2f3e3dc7
UD
30743 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
30744 mainly the body of pmap_getport. Add parameters to specify timeouts.
30745 (pmap_getport): Use __libc_rpc_getport.
30746 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
30747 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
30748 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
30749
f3dcc2f9
AS
307502010-08-31 Andreas Schwab <schwab@linux-m68k.org>
30751
30752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
30753 fanotify_mark.
30754
6d34eb5b
RM
307552010-08-27 Roland McGrath <roland@redhat.com>
30756
30757 * sysdeps/i386/i686/multiarch/Makefile
30758 (CFLAGS-varshift.c): New variable.
30759
9ea3de11
UD
307602010-08-27 Ulrich Drepper <drepper@redhat.com>
30761
c96d23fc
UD
30762 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
30763 * sysdeps/i386/i686/multiarch/varshift.c: New file.
30764
9ea3de11
UD
30765 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
30766
30767 * sysdeps/x86_64/strlen.S: Minimal code improvement.
30768
623aac7f
L
307692010-08-26 H.J. Lu <hongjiu.lu@intel.com>
30770
30771 * sysdeps/x86_64/strlen.S: Unroll the loop.
30772 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30773 strlen-sse2 strlen-sse2-bsf.
30774 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
30775 __strlen_no_bsf if bit_Slow_BSF is set.
30776 (__strlen_sse42): Removed.
30777 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
30778 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
30779
8b2b7715
RM
307802010-08-25 Roland McGrath <roland@redhat.com>
30781
30782 * sysdeps/x86_64/multiarch/varshift.S: File removed.
30783 * sysdeps/x86_64/multiarch/varshift.c: New file.
30784 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
30785 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
30786 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
30787 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30788
e73015f2
L
307892010-08-25 H.J. Lu <hongjiu.lu@intel.com>
30790
30791 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30792 strlen-sse2 strlen-sse2-bsf.
30793 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
30794 __strlen_sse2_bsf if bit_Slow_BSF is unset.
30795 (__strlen_sse2): Removed.
30796 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
30797 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
30798 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30799 bit_Slow_BSF for Atom.
30800 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
30801 (index_Slow_BSF): Define.
30802 (HAS_SLOW_BSF): Define.
30803
df24a73e
UD
308042010-08-25 Ulrich Drepper <drepper@redhat.com>
30805
30806 [BZ #10851]
30807 * resolv/res_init.c (__res_vinit): When no server address at all
30808 is given default to loopback.
30809
f2ac4868
RM
308102010-08-24 Roland McGrath <roland@redhat.com>
30811
09055553
RM
30812 * configure.in: Remove config-name.h generation.
30813 * configure: Regenerated.
30814 * config-name.in: File removed.
30815 * scripts/config-uname.sh: New file.
30816 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
30817 ($(objdir)config-name.h): New target.
30818
f2ac4868
RM
30819 * sunrpc/rpc_parse.h: Avoid nested comment.
30820
73f27d5e
RH
308212010-08-24 Richard Henderson <rth@redhat.com>
30822 Ulrich Drepper <drepper@redhat.com>
30823 H.J. Lu <hongjiu.lu@intel.com>
30824
30825 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
30826 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
30827 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
30828 Replace _mm_srli_si128 with __m128i_shift_right. Replace
30829 _mm_alignr_epi8 with _mm_loadu_si128.
30830 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
30831 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
30832 (__m128i_shift_right): Removed.
30833 * sysdeps/i386/i686/multiarch/varshift.h: New file.
30834 * sysdeps/i386/i686/multiarch/varshift.S: New file.
30835 * sysdeps/x86_64/multiarch/varshift.h: New file.
30836 * sysdeps/x86_64/multiarch/varshift.S: New file.
30837
84b9230c
MF
308382010-08-21 Mike Frysinger <vapier@gentoo.org>
30839
30840 * configure.in: Move assembler checks to before sysdep dir checking.
30841
9bbd0ddc
PB
308422010-08-20 Petr Baudis <pasky@suse.cz>
30843
30844 * LICENSES: Sync the sunrpc license.
30845
9da4bb31
UD
308462010-08-19 Ulrich Drepper <drepper@redhat.com>
30847
a7ab6ec8
UD
30848 * sunrpc/auth_des.c: Update copyright notice once again.
30849 * sunrpc/auth_none.c: Likewise.
30850 * sunrpc/auth_unix.c: Likewise.
30851 * sunrpc/authdes_prot.c: Likewise.
30852 * sunrpc/authuxprot.c: Likewise.
30853 * sunrpc/bindrsvprt.c: Likewise.
30854 * sunrpc/clnt_gen.c: Likewise.
30855 * sunrpc/clnt_perr.c: Likewise.
30856 * sunrpc/clnt_raw.c: Likewise.
30857 * sunrpc/clnt_simp.c: Likewise.
30858 * sunrpc/clnt_tcp.c: Likewise.
30859 * sunrpc/clnt_udp.c: Likewise.
30860 * sunrpc/clnt_unix.c: Likewise.
30861 * sunrpc/des_crypt.c: Likewise.
30862 * sunrpc/des_soft.c: Likewise.
30863 * sunrpc/get_myaddr.c: Likewise.
30864 * sunrpc/getrpcport.c: Likewise.
30865 * sunrpc/key_call.c: Likewise.
30866 * sunrpc/key_prot.c: Likewise.
30867 * sunrpc/openchild.c: Likewise.
30868 * sunrpc/pm_getmaps.c: Likewise.
30869 * sunrpc/pm_getport.c: Likewise.
30870 * sunrpc/pmap_clnt.c: Likewise.
30871 * sunrpc/pmap_prot.c: Likewise.
30872 * sunrpc/pmap_prot2.c: Likewise.
30873 * sunrpc/pmap_rmt.c: Likewise.
30874 * sunrpc/rpc/auth.h: Likewise.
30875 * sunrpc/rpc/auth_unix.h: Likewise.
30876 * sunrpc/rpc/clnt.h: Likewise.
30877 * sunrpc/rpc/des_crypt.h: Likewise.
30878 * sunrpc/rpc/key_prot.h: Likewise.
30879 * sunrpc/rpc/netdb.h: Likewise.
30880 * sunrpc/rpc/pmap_clnt.h: Likewise.
30881 * sunrpc/rpc/pmap_prot.h: Likewise.
30882 * sunrpc/rpc/pmap_rmt.h: Likewise.
30883 * sunrpc/rpc/rpc.h: Likewise.
30884 * sunrpc/rpc/rpc_des.h: Likewise.
30885 * sunrpc/rpc/rpc_msg.h: Likewise.
30886 * sunrpc/rpc/svc.h: Likewise.
30887 * sunrpc/rpc/svc_auth.h: Likewise.
30888 * sunrpc/rpc/types.h: Likewise.
30889 * sunrpc/rpc/xdr.h: Likewise.
30890 * sunrpc/rpc_clntout.c: Likewise.
30891 * sunrpc/rpc_cmsg.c: Likewise.
30892 * sunrpc/rpc_common.c: Likewise.
30893 * sunrpc/rpc_cout.c: Likewise.
30894 * sunrpc/rpc_dtable.c: Likewise.
30895 * sunrpc/rpc_hout.c: Likewise.
30896 * sunrpc/rpc_main.c: Likewise.
30897 * sunrpc/rpc_parse.c: Likewise.
30898 * sunrpc/rpc_parse.h: Likewise.
30899 * sunrpc/rpc_prot.c: Likewise.
30900 * sunrpc/rpc_sample.c: Likewise.
30901 * sunrpc/rpc_scan.c: Likewise.
30902 * sunrpc/rpc_scan.h: Likewise.
30903 * sunrpc/rpc_svcout.c: Likewise.
30904 * sunrpc/rpc_tblout.c: Likewise.
30905 * sunrpc/rpc_util.c: Likewise.
30906 * sunrpc/rpc_util.h: Likewise.
30907 * sunrpc/rpcinfo.c: Likewise.
30908 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
30909 * sunrpc/rpcsvc/key_prot.x: Likewise.
30910 * sunrpc/rpcsvc/klm_prot.x: Likewise.
30911 * sunrpc/rpcsvc/mount.x: Likewise.
30912 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
30913 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
30914 * sunrpc/rpcsvc/rex.x: Likewise.
30915 * sunrpc/rpcsvc/rstat.x: Likewise.
30916 * sunrpc/rpcsvc/rusers.x: Likewise.
30917 * sunrpc/rpcsvc/sm_inter.x: Likewise.
30918 * sunrpc/rpcsvc/spray.x: Likewise.
30919 * sunrpc/rpcsvc/yppasswd.x: Likewise.
30920 * sunrpc/rtime.c: Likewise.
30921 * sunrpc/svc.c: Likewise.
30922 * sunrpc/svc_auth.c: Likewise.
30923 * sunrpc/svc_authux.c: Likewise.
30924 * sunrpc/svc_raw.c: Likewise.
30925 * sunrpc/svc_run.c: Likewise.
30926 * sunrpc/svc_simple.c: Likewise.
30927 * sunrpc/svc_tcp.c: Likewise.
30928 * sunrpc/svc_udp.c: Likewise.
30929 * sunrpc/svc_unix.c: Likewise.
30930 * sunrpc/svcauth_des.c: Likewise.
30931 * sunrpc/xcrypt.c: Likewise.
30932 * sunrpc/xdr.c: Likewise.
30933 * sunrpc/xdr_array.c: Likewise.
30934 * sunrpc/xdr_float.c: Likewise.
30935 * sunrpc/xdr_mem.c: Likewise.
30936 * sunrpc/xdr_rec.c: Likewise.
30937 * sunrpc/xdr_ref.c: Likewise.
30938 * sunrpc/xdr_sizeof.c: Likewise.
30939 * sunrpc/xdr_stdio.c: Likewise.
30940
9da4bb31
UD
30941 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
30942 handling.
30943
bdaa77bc
AS
309442010-08-19 Andreas Schwab <schwab@redhat.com>
30945
30946 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
30947
fe2f79db
LM
309482010-08-19 Luis Machado <luisgpm@br.ibm.com>
30949
30950 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
30951 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
30952 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
30953 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
30954 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
30955 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
30956 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
30957 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
30958 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
30959 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
30960 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
30961 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
30962 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
30963 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
30964
b9b42ee0
AB
309652010-07-26 Anton Blanchard <anton@samba.org>
30966
30967 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
30968 * malloc/arena.c (heap_trim): Likewise.
30969
1c06ba31
UD
309702010-08-16 Ulrich Drepper <drepper@redhat.com>
30971
30972 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
30973 here. Not...
30974 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
30975 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
30976
f8392f40
L
309772010-08-12 H.J. Lu <hongjiu.lu@intel.com>
30978
30979 * sysdeps/i386/elf/Makefile: New file.
30980
3162f12e
AS
309812010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30982
30983 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
30984 from fanotify_init.
30985 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
30986 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30987
28c90b2c
UD
309882010-08-15 Ulrich Drepper <drepper@redhat.com>
30989
30990 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
30991 of strncasecmp_l.
1feccb6c 30992 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 30993
ca6bb004
UD
309942010-08-14 Ulrich Drepper <drepper@redhat.com>
30995
e9f82e0d
UD
30996 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30997 strncase_l-nonascii.
30998 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30999 Add strncase_l-ssse3.
31000 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31001 * sysdeps/x86_64/strcmp.S: Likewise.
31002 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31003 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31004 * sysdeps/x86_64/strncase.S: New file.
31005 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31006 * sysdeps/x86_64/strncase_l.S: New file.
31007 * string/Makefile (strop-tests): Add strncasecmp.
31008 * string/test-strncasecmp.c: New file.
31009
31010 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31011 warning.
31012
ca6bb004
UD
31013 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31014 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31015
052fa7b3
AS
310162010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31017
31018 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31019
962dba78
UD
310202010-08-12 Ulrich Drepper <drepper@redhat.com>
31021
31022 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31023 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31024 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31025
bebff237
AM
310262010-05-01 Alan Modra <amodra@gmail.com>
31027
31028 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31029 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31030 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31031 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31032 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31033 tidying. Don't tail-call __sigjmp_save for static lib.
31034 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31035 save location.
31036 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31037 (CALL_MCOUNT): Add eh info, and nop after bl.
31038 (TAIL_CALL_SYSCALL_ERROR): New macro.
31039 (PSEUDO_RET): Use it.
31040 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31041 Correct save location of integer regs and cr.
31042 (_dl_profile_resolve): Correct cr save location. Delete nops
31043 after bl when SHARED. Reduce cfi size a little by better
31044 placement of cfi directives.
31045 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31046 make a stack frame. Instead use parm save area as a temp.
31047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31048 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31050 Don't make a stack frame for parent, use parm save area.
31051 Increase child stack frame to 112 bytes. Don't save unused reg,
31052 and adjust reg usage. Set up cfi on error recovery and
31053 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31055 (__makecontext): Add dummy nop after jump to exit.
31056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31057 Use correct parm save area and cr save, reduce stack frame.
31058 Correct cfi for possible PSEUDO_RET frame setup.
31059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31060 Branch to local label emitted by PSEUDO_RET rather than
31061 __syscall_error.
31062
02637374
AS
310632010-08-12 Andreas Schwab <schwab@redhat.com>
31064
31065 [BZ #11904]
31066 * locale/programs/locale.c (print_assignment): New function.
31067 (show_locale_vars): Use it.
31068
c3e2f19b
UD
310692010-08-11 Ulrich Drepper <drepper@redhat.com>
31070
3cdaa6ad
UD
31071 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31072 field.
31073 (struct statfs64): Likewise.
31074 (_STATFS_F_FLAGS): Define.
31075 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31076 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31077 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31078 (ST_VALID): Define locally.
31079 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31080 __statvfs_getflags, use the provided value.
31081 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31082 __ASSUME_STATFS_F_FLAGS.
31083
754f7da3
UD
31084 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31085
10b3bedc
UD
31086 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31087 Add sys/fanotify.h.
31088 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31089 fanotify_mask for GLIBC_2.13.
31090 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31091 fanotify_init and fanotify_mark.
31092 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31093 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31094
c08fb0d7
UD
31095 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31096 Add prlimit.
31097 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31098 prlimit64 for GLIBC_2.13.
31099 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31100 prlimit64.
31101 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31102 syscall.
31103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31104 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31105 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31106 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31107 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31108 add prlimit alias.
31109 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31110
15bac72b
UD
31111 [BZ #11903]
31112 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31113 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31114
c3e2f19b
UD
31115 * nss/Makefile: Add rules to build and run tst-nss-test1.
31116 * shlib-versions: Add entry for libnss_test1.
31117 * nss/nss_test1.c: New file.
31118 * nss/tst-nss-test1.c: New file.
31119
31120 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31121 (__nss_configure_lookup): Set appropriate entry in
31122 __nss_configure_lookup to true.
31123 * nss/nsswitch.h: Define enum with indeces of databases in
31124 databases and __nss_database_custom arrays. Declare
31125 __nss_database_custom.
31126 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31127 to avoid using nscd when custom rules are installed.
31128 * nss/getXXbyYY_r.c: Likewise.
31129 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31130
31131 * nss/nss_files/files-parse.c: Whitespace fixes.
31132
f15ce4d8
UD
311332010-08-09 Ulrich Drepper <drepper@redhat.com>
31134
31135 [BZ #11883]
31136 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31137 * posix/fnmatch_loop.c: Likewise.
31138
d22e4cc9
AK
311392010-07-17 Andi Kleen <ak@linux.intel.com>
31140
31141 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31142 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31143 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31144 * Versions.def [GLIBC_2.13]: Add.
31145
805bc17d
UD
311462010-08-06 Ulrich Drepper <drepper@redhat.com>
31147
31148 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31149 Also fail if tpwd after pwuid call is NULL.
31150
5a42321d
ST
311512010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31152
31153 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31154 when converting to ms.
31155
fd3ebeda
ST
311562010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31157
31158 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31159 EOPNOTSUPP errors with ENOTTY.
31160 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31161 EOPNOTSUPP errors with ENOTTY.
31162
73507d3a
UD
311632010-07-31 Ulrich Drepper <drepper@redhat.com>
31164
31165 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31166 Add strcasecmp_l-ssse3.
31167 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31168 strcasecmp.
31169 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31170 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31171 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31172
fe36dd02
UD
311732010-07-30 Ulrich Drepper <drepper@redhat.com>
31174
66f6765a
UD
31175 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31176
42e08a54
UD
31177 * string/Makefile (strop-tests): Add strcasecmp.
31178 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31179 strcasecmp_l-nonascii.
31180 (gen-as-const-headers): Add locale-defines.sym.
31181 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31182 * sysdeps/x86_64/strcasecmp.S: New file.
31183 * sysdeps/x86_64/strcasecmp_l.S: New file.
31184 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31185 * sysdeps/x86_64/locale-defines.sym: New file.
31186 * string/test-strcasecmp.c: New file.
31187
fe36dd02
UD
31188 * string/test-strcasestr.c: Test both ends of the range of characters.
31189 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31190
48cbc0d6
RM
311912010-07-29 Roland McGrath <roland@redhat.com>
31192
76e6d6bc 31193 [BZ #11856]
48cbc0d6
RM
31194 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31195
880113d9
UD
311962010-07-27 Ulrich Drepper <drepper@redhat.com>
31197
31198 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31199 for ld.so.
31200
deb9cabb
AS
312012010-07-27 Andreas Schwab <schwab@redhat.com>
31202
31203 * manual/memory.texi (Malloc Tunable Parameters): Document
31204 M_PERTURB.
31205
1c7570ff
RM
312062010-07-26 Roland McGrath <roland@redhat.com>
31207
31208 [BZ #11840]
31209 * configure.in (-fgnu89-inline check): Set and substitute
31210 gnu89_inline, not libc_cv_gnu89_inline.
31211 * configure: Regenerated.
31212 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31213
24fb0f88
UD
312142010-07-26 Ulrich Drepper <drepper@redhat.com>
31215
31216 * string/test-strnlen.c: New file.
31217 * string/Makefile (strop-tests): Add strnlen.
31218 * string/tester.c (test_strnlen): Add a few more test cases.
31219 * string/tst-strlen.c: Better error reporting.
31220
31221 * sysdeps/x86_64/strnlen.S: New file.
31222
8e96b93a
UD
312232010-07-24 Ulrich Drepper <drepper@redhat.com>
31224
31225 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31226 lower-latency instructions.
31227
dbc676d4
UD
312282010-07-23 Ulrich Drepper <drepper@redhat.com>
31229
31230 * string/test-strcasestr.c: New file.
31231 * string/test-strstr.c: New file.
31232 * string/Makefile (strop-tests): Add strstr and strcasestr.
31233 * string/str-two-way.h: Don't undefine MAX.
31234 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31235
f6a31e0e
AS
312362010-07-21 Andreas Schwab <schwab@redhat.com>
31237
31238 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31239 strcasestr-nonascii.
31240 (CFLAGS-strcasestr-nonascii.c): Define.
31241 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31242 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31243 Remove unused attribute.
31244
5dbc3b6c
RM
312452010-07-20 Roland McGrath <roland@redhat.com>
31246
31247 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31248 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31249 ld.so.cache was broken. With it, there is no way to disable dsocaps
31250 like LD_HWCAP_MASK can disable hwcaps.
31251
23d101d8
EPM
312522010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31253
31254 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31255
cc9f2e47
UD
312562010-07-16 Ulrich Drepper <drepper@redhat.com>
31257
31258 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31259 call in strcasestr.
31260 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31261 __strcasestr_sse42_nonascii.
31262 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31263 strcasestr-nonascii.c.
31264 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31265
77c1b069
LM
312662010-06-15 Luis Machado <luisgpm@br.ibm.com>
31267
31268 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31269 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31270 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31271 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31272
440566c3
UD
312732010-07-09 Ulrich Drepper <drepper@redhat.com>
31274
31275 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31276 fcntl.
31277
5be9d05d
AS
312782010-07-06 Andreas Schwab <schwab@redhat.com>
31279
c30b7ee2 31280 [BZ #11577]
5be9d05d
AS
31281 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31282 dl_signal_cerror.
31283
8a492a67
UD
312842010-07-06 Ulrich Drepper <drepper@redhat.com>
31285
31286 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31287 _PC_PIPE_BUF using F_GETPIPE_SZ.
31288
713df3d5
RM
312892010-07-05 Roland McGrath <roland@redhat.com>
31290
31291 * manual/arith.texi (Rounding Functions): Fix rint description
31292 implicit in round description.
31293
702e8f14
UD
312942010-07-02 Ulrich Drepper <drepper@redhat.com>
31295
31296 * elf/Makefile: Fix linking for a few tests to make recent linker
31297 happy.
31298
52ed8be9
AS
312992010-06-30 Andreas Schwab <schwab@redhat.com>
31300
31301 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31302 $(common-objpfx)libc_nonshared.a.
31303
f47c9a11
LM
313042010-06-21 Luis Machado <luisgpm@br.ibm.com>
31305
31306 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31307 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31308 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31309 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31310 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31311 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31312 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31313 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31328 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31329 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31330 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31331 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31332 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31333 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31334 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31335 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31336 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31337 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31338 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31339 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31354
6fb8cbcb
L
313552010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31356
31357 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31358 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31359 * string/memmove.c (memmove): Renamed to ...
31360 (MEMMOVE): ...this. Default to memmove.
31361 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31362 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31363 (END_CHK): Define.
31364 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31365 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31366 mempcpy-ssse3-back memmove-ssse3-back.
31367 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31368 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31369 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31370 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31371 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31372 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31373 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31374 * sysdeps/x86_64/multiarch/memmove.c: New file.
31375 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31376 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31377 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31378 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31379 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31380 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31381 Define.
31382 (index_Fast_Copy_Backward): Define.
31383 (HAS_ARCH_FEATURE): Define.
31384 (HAS_FAST_REP_STRING): Define.
31385 (HAS_FAST_COPY_BACKWARD): Define.
31386
4e733bac 313872010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
31388
31389 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31390 Restore proper fallback handling.
31391
63c4ed22
UD
313922010-06-19 Ulrich Drepper <drepper@redhat.com>
31393
ac2b484c
UD
31394 [BZ #11701]
31395 * posix/group_member.c (__group_member): Correct checking loop.
31396
63c4ed22
UD
31397 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31398 OOM in getpwuid_r correctly. Return error number when the caller
31399 should return, otherwise -1.
31400 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31401 call returning > 0 value.
31402 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31403
765ade4b
AS
314042010-06-07 Andreas Schwab <schwab@redhat.com>
31405
31406 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31407 libc_nonshared.a from targets in modules-names.
31408
80da2e09
KS
314092010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31410
31411 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31412 requires it.
31413
158db122
LM
314142010-06-10 Luis Machado <luisgpm@br.ibm.com>
31415
31416 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31417 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31418 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31419 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31420
caa78cf8
AS
314212010-06-02 Andreas Schwab <schwab@redhat.com>
31422
31423 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31424
b2ef2c01
UD
314252010-06-14 Ulrich Drepper <drepper@redhat.com>
31426
31427 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31428 and F_GETPIPE_SZ.
31429 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31430 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31431 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31432 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31433 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31434 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31435
fbd643b6
RM
314362010-06-14 Roland McGrath <roland@redhat.com>
31437
31438 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31439
f32f2869
JJ
314402010-06-07 Jakub Jelinek <jakub@redhat.com>
31441
31442 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31443 __REDIRECT followed by __THROW.
31444 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31445 * posix/getopt.h (getopt): Likewise.
31446
2a50c078
EPM
314472010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31448
31449 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31450 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31451 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31452 in AT_FLAGS.
31453 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31454 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31455
eb5ad2eb
LM
314562010-05-28 Luis Machado <luisgpm@br.ibm.com>
31457
31458 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31459
3c88fe1e
L
314602010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31461
31462 [BZ #11640]
31463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31464 Properly check family and model.
31465
d2f73151
TY
314662010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31467
31468 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31469
ebd2e13d
LM
314702010-05-24 Luis Machado <luisgpm@br.ibm.com>
31471
31472 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31473
b32b8b45
UD
314742010-05-21 Ulrich Drepper <drepper@redhat.com>
31475
31476 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31477 symbol reference.
31478
9acbe24d
AS
314792010-05-19 Andreas Schwab <schwab@redhat.com>
31480
31481 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31482 symbol reference.
31483
f0ccf6ea
AS
314842010-05-21 Andreas Schwab <schwab@redhat.com>
31485
3d04ff3a
AS
31486 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31487 and internal_recvmmsg.
31488 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31489 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31490 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31491 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31492
f0ccf6ea
AS
31493 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31494 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31495 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31496
5b08ac57
AS
314972010-05-20 Andreas Schwab <schwab@redhat.com>
31498
31499 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31500
4828935d
LM
315012010-05-17 Luis Machado <luisgpm@br.ibm.com>
31502
31503 POWER7 optimizations.
31504 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31505 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31506
373d545e
UD
315072010-05-19 Ulrich Drepper <drepper@redhat.com>
31508
31509 * version.h: Update for 2.13 development version.
31510
21a2b1ae
AS
315112010-05-12 Andrew Stubbs <ams@codesourcery.com>
31512
31513 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31514 exceptions. Return 0.
31515
3f7dcb2b
RM
315162010-05-07 Roland McGrath <roland@redhat.com>
31517
31518 * elf/ldconfig.c (main): Add a const.
31519
5f24d53a 315202010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 31521
a160f8d8
UD
31522 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31523 (args_options): Add no-idn option.
31524 (ahosts_keys_int): Add idn_flags to ai_flags.
31525 (parse_option): Handle 'i' option to clear idn_flags.
31526
5f24d53a
UD
31527 * malloc/malloc.c (_int_free): Possible race in the most recently
31528 added check. Only act on the data if no current modification
31529 happened.
265bb1ce
UD
31530
31531See ChangeLog.17 for earlier changes.