]> sourceware.org Git - glibc.git/blame - ChangeLog
Add another fma test.
[glibc.git] / ChangeLog
CommitLineData
8fc75e6f
JM
12013-06-15 Joseph Myers <joseph@codesourcery.com>
2
3 * math/libm-test.inc (fma_test_data): Add another test.
4
61dd6208
SP
52013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6
adf23d2c
SP
7 * manual/threads.texi (Non-POSIX Extensions): New document
8 node. Document pthread_getattr_default_np and
9 pthread_setattr_default_np.
10
61dd6208
SP
11 * Versions.def (libpthread): Add GLIBC_2.18.
12 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14 Likewise.
15 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16 Likewise.
17 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18 Likewise.
19 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20 Likewise.
21 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
22 Likewise.
23 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24 Likewise.
25 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26 Likewise.
27 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28 Likewise.
29 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30 Likewise.
31
d086fc7b
LD
322013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33
34 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
36
747ef469
SP
372013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
38 H.J. Lu <hjl.tools@gmail.com>
39
40 [BZ #15627]
41 * sysdeps/x86_64/rtld-memset.c: Remove file.
42 * sysdeps/x86_64/rtld-memset.S: New file.
43
1b2feed2
JM
442013-06-14 Joseph Myers <joseph@codesourcery.com>
45
46 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
47 (test_in_one_mode): Take arguments for whether the rounding mode
48 is supported for each floating-point type.
49 (do_test): Pass new arguments to test_in_one_mode using
50 ROUNDING_TESTS.
51
a58ad3f8
RM
522013-06-13 Roland McGrath <roland@hack.frob.com>
53
54 * posix/tst-waitid.c (do_test): Distinguish different instances of
55 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
56 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
57 before entering the kernel for waitpid.
58
c204ab28
SP
592013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
60
61 * NEWS: Fix note on clock function precision. Text by Roland
62 McGrath.
63
f4a29fba
RM
642013-06-13 Roland McGrath <roland@hack.frob.com>
65
66 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
67 it into place only when and if the sanity check passes.
68
1f24b9ad
JM
692013-06-13 Joseph Myers <joseph@codesourcery.com>
70
71 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
72 output for whether conversion result is exact. Take argument
73 indicating whether type is IBM long double.
74 (round_for_all): Change need_exact field to ibm_ld.
75 * stdlib/tst-strtod-round.c (struct exactness): New type.
76 (struct test): Change bool ld_ok field to struct exactness exact.
77 (TEST): Update all definitions for change to field.
78 (tests): Regenerate array contents.
79 (test_in_one_mode): Take pointer to new field instead of old ld_ok
80 field value. Check for IBM long double here.
81 (do_test): Update calls to test_in_one_mode.
82
58206c68
SP
832013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
84
85 [BZ #12515]
86 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
87 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
88
2d6f4c5b 892013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
90
91 [BZ #15605]
92 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
93 generated by the compiler on loop optimizations.
94 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
95 general definitions.
96
94f2c076
JM
972013-06-12 Joseph Myers <joseph@codesourcery.com>
98
99 * math/bug-nextafter.c: Include <math-tests.h>.
100 (main): Only test for exceptions if EXCEPTION_TESTS is true for
101 the relevant type.
102 * math/bug-nexttoward.c: Include <math-tests.h>.
103 (main): Only test for exceptions if EXCEPTION_TESTS is true for
104 the relevant type.
105 * math/test-misc.c: Include <math-tests.h>.
106 (main): Only test for exceptions if EXCEPTION_TESTS is true for
107 the relevant type.
108
e0e50a0a
AJ
1092013-06-12 Andreas Jaeger <aj@suse.de>
110
111 * po/ia.po: Update Interlingua translation from translation
112 project.
113
25061094
SP
1142013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
115
116 * include/fenv.h: Include stdbool.h.
117 (struct rm_ctx): New structure.
118 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
119 Define macro.
120 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
121 (SET_RESTORE_ROUNDF): Likewise.
122 (SET_RESTORE_ROUNDL): Likewise.
123 (SET_RESTORE_ROUND_NOEX): Likewise.
124 (SET_RESTORE_ROUND_NOEXF): Likewise.
125 (SET_RESTORE_ROUND_NOEXL): Likewise.
126 (SET_RESTORE_ROUND_53BIT): Likewise.
127 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
128 (libc_feresetround_noexf_ctx): Likewise.
129 (libc_feresetround_noexl_ctx): Likewise.
130 (libc_feholdsetround_53bit_ctx): Likewise.
131 (libc_feresetround_53bit_ctx): Likewise.
132 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
133 (libc_feholdexcept_setround_sse_ctx): New function.
134 (libc_fesetenv_sse_ctx): Likewise.
135 (libc_feupdateenv_sse_ctx): Likewise.
136 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
137 (libc_feholdexcept_setround_387_ctx): Likewise.
138 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
139 (libc_feholdsetround_387_prec_ctx): Likewise.
140 (libc_feholdsetround_387_ctx): Likewise.
141 (libc_feholdsetround_387_53bit_ctx): Likewise.
142 (libc_feholdsetround_sse_ctx): Likewise.
143 (libc_feresetround_sse_ctx): Likewise.
144 (libc_feresetround_387_ctx): Likewise.
145 (libc_feupdateenv_387_ctx): Likewise.
146 (libc_feholdexcept_setroundf_ctx): Define macro.
147 (libc_fesetenvf_ctx): Likewise.
148 (libc_feupdateenvf_ctx): Likewise.
149 (libc_feholdsetroundf_ctx): Likewise.
150 (libc_feresetroundf_ctx): Likewise.
151 (libc_feholdexcept_setround_ctx): Likewise.
152 (libc_fesetenv_ctx): Likewise.
153 (libc_feupdateenv_ctx): Likewise.
154 (libc_feholdsetround_ctx): Likewise.
155 (libc_feresetround_ctx): Likewise.
156 (libc_feholdexcept_setroundl_ctx): Likewise.
157 (libc_feupdateenvl_ctx): Likewise.
158 (libc_feholdsetroundl_ctx): Likewise.
159 (libc_feresetroundl_ctx): Likewise.
160 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
161 (libc_feresetround_53bit_ctx): Likewise.
162
59b30555
SP
1632013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
164
165 * locale/iso-639.def: Convert to UTF-8.
166
f1d73d30
JM
1672013-06-11 Joseph Myers <joseph@codesourcery.com>
168
169 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
170 (EXCEPTION_TESTS_double): Likewise.
171 (EXCEPTION_TESTS_long_double): Likewise.
172 (EXCEPTION_TESTS): Likewise.
173 * math/libm-test.inc (test_exceptions): Only test exceptions if
174 EXCEPTION_TESTS (FLOAT).
175
94aca5e7
SP
1762013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
177
178 * benchtests/Makefile (string-bench): Add strcpy_chk and
179 stpcpy_chk.
180 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
181 * benchtests/bench-stpcpy_chk.c: New file.
182 * benchtests/bench-strcpy_chk-ifunc.c: New file.
183 * benchtests/bench-strcpy_chk.c: New file.
184 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
185 code.
186 (do_test): Likewise.
187
fac0c5f2
RA
1882013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
189
190 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
191 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
192 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
193 with tabs where appropriate.
194 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
195 dl-procinfo.h.
196 [PPC_PLATFORM_PPC440]: Likewise.
197 [PPC_PLATFORM_PPC464]: Likewise.
198 [PPC_PLATFORM_PPC476]: Likewise.
199 (_dl_string_platform): Add support for detecting ppc405, ppc440,
200 ppc464, and ppc476 platform strings merging from ports/
201 dl-procinfo.h.
202
f22bc486
AS
2032013-06-11 Andreas Schwab <schwab@suse.de>
204
205 [BZ #14991]
206 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
207 (from_ucs4_idx): Regenerate.
208 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
209 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
210 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
211 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
212 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
213 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
214 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
215 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
216 from FROM_LOOP and TO_LOOP specific macros.
217 (BODY): Handle combining characters.
218 * iconvdata/BIG5HKSCS.irreversible: Update.
219 * iconvdata/BIG5HKSCS.precomposed: New file.
220 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
221 characters.
222 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
223
c1f75dc3
SP
2242013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
225
4eacded2
SP
226 * include/sys/time.h: Fix indentation and add copyright header.
227
fec799f8
SP
228 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
229 (do_test): Likewise.
230 * string/test-memchr.c (do_one_test): Likewise.
231 (do_test): Likewise.
232 * string/test-memcmp.c (do_one_test): Likewise.
233 (do_test): Likewise.
234 * string/test-memcpy.c (do_one_test): Likewise.
235 (do_test): Likewise.
236 * string/test-memmem.c (do_one_test): Likewise.
237 (do_test): Likewise.
238 (do_random_tests): Likewise.
239 * string/test-memmove.c (do_one_test): Likewise.
240 (do_test): Likewise.
241 * string/test-memset.c (do_one_test): Likewise.
242 (do_test): Likewise.
243 * string/test-rawmemchr.c (do_one_test): Likewise.
244 (do_test): Likewise.
245 * string/test-strcasecmp.c (do_one_test): Likewise.
246 (do_test): Likewise.
247 * string/test-strcasestr.c (do_one_test): Likewise.
248 (do_test): Likewise.
249 * string/test-strcat.c (do_one_test): Likewise.
250 (do_test): Likewise.
251 * string/test-strchr.c (do_one_test): Likewise.
252 (do_test): Likewise.
253 * string/test-strcmp.c (do_one_test): Likewise.
254 (do_test): Likewise.
255 * string/test-strcpy.c (do_one_test): Likewise.
256 (do_test): Likewise.
257 * string/test-string.h: Likewise.
258 (test_init): Likewise.
259 * string/test-strlen.c (do_one_test): Likewise.
260 (do_test): Likewise.
261 * string/test-strncasecmp.c (do_one_test): Likewise.
262 (do_test): Likewise.
263 * string/test-strncat.c (do_one_test): Likewise.
264 (do_test): Likewise.
265 * string/test-strncmp.c (do_one_test): Likewise.
266 (do_test_limit): Likewise.
267 (do_test): Likewise.
268 * string/test-strncpy.c (do_one_test): Likewise.
269 (do_test): Likewise.
270 * string/test-strnlen.c (do_one_test): Likewise.
271 (do_test): Likewise.
272 * string/test-strpbrk.c (do_one_test): Likewise.
273 (do_test): Likewise.
274 * string/test-strrchr.c (do_one_test): Likewise.
275 (do_test): Likewise.
276 * string/test-strspn.c (do_one_test): Likewise.
277 (do_test): Likewise.
278 * string/test-strstr.c (do_one_test): Likewise.
279 (do_test): Likewise.
280
97020474
SP
281 * benchtests/Makefile (string-bench): Add string benchmarks.
282 * benchtests/bench-bcopy-ifunc.c: New file.
283 * benchtests/bench-bcopy.c: New file.
284 * benchtests/bench-bzero-ifunc.c: New file.
285 * benchtests/bench-bzero.c: New file.
286 * benchtests/bench-memccpy-ifunc.c: New file.
287 * benchtests/bench-memccpy.c: New file.
288 * benchtests/bench-memchr-ifunc.c: New file.
289 * benchtests/bench-memchr.c: New file.
290 * benchtests/bench-memcmp-ifunc.c: New file.
291 * benchtests/bench-memcmp.c: New file.
292 * benchtests/bench-memmem-ifunc.c: New file.
293 * benchtests/bench-memmem.c: New file.
294 * benchtests/bench-memmove-ifunc.c: New file.
295 * benchtests/bench-memmove.c: New file.
296 * benchtests/bench-mempcpy-ifunc.c: New file.
297 * benchtests/bench-mempcpy.c: New file.
298 * benchtests/bench-memset-ifunc.c: New file.
299 * benchtests/bench-memset.c: New file.
300 * benchtests/bench-rawmemchr-ifunc.c: New file.
301 * benchtests/bench-rawmemchr.c: New file.
302 * benchtests/bench-stpcpy-ifunc.c: New file.
303 * benchtests/bench-stpcpy.c: New file.
304 * benchtests/bench-stpncpy-ifunc.c: New file.
305 * benchtests/bench-stpncpy.c: New file.
306 * benchtests/bench-strcasecmp-ifunc.c: New file.
307 * benchtests/bench-strcasecmp.c: New file.
308 * benchtests/bench-strcasestr-ifunc.c: New file.
309 * benchtests/bench-strcasestr.c: New file.
310 * benchtests/bench-strcat-ifunc.c: New file.
311 * benchtests/bench-strcat.c: New file.
312 * benchtests/bench-strchr-ifunc.c: New file.
313 * benchtests/bench-strchr.c: New file.
314 * benchtests/bench-strchrnul-ifunc.c: New file.
315 * benchtests/bench-strchrnul.c: New file.
316 * benchtests/bench-strcmp-ifunc.c: New file.
317 * benchtests/bench-strcmp.c: New file.
318 * benchtests/bench-strcpy-ifunc.c: New file.
319 * benchtests/bench-strcpy.c: New file.
320 * benchtests/bench-strcspn-ifunc.c: New file.
321 * benchtests/bench-strcspn.c: New file.
322 * benchtests/bench-strlen-ifunc.c: New file.
323 * benchtests/bench-strlen.c: New file.
324 * benchtests/bench-strncasecmp-ifunc.c: New file.
325 * benchtests/bench-strncasecmp.c: New file.
326 * benchtests/bench-strncat-ifunc.c: New file.
327 * benchtests/bench-strncat.c: New file.
328 * benchtests/bench-strncmp-ifunc.c: New file.
329 * benchtests/bench-strncmp.c: New file.
330 * benchtests/bench-strncpy-ifunc.c: New file.
331 * benchtests/bench-strncpy.c: New file.
332 * benchtests/bench-strnlen-ifunc.c: New file.
333 * benchtests/bench-strnlen.c: New file.
334 * benchtests/bench-strpbrk-ifunc.c: New file.
335 * benchtests/bench-strpbrk.c: New file.
336 * benchtests/bench-strrchr-ifunc.c: New file.
337 * benchtests/bench-strrchr.c: New file.
338 * benchtests/bench-strspn-ifunc.c: New file.
339 * benchtests/bench-strspn.c: New file.
340 * benchtests/bench-strstr-ifunc.c: New file.
341 * benchtests/bench-strstr.c: New file.
342
c1f75dc3
SP
343 * benchtests/Makefile: Disable parallel execution of targets.
344 (string-bench): Add memcpy.
345 (benchset): New variable to store a list of benchmark sets.
346 (bench-func): Renamed from bench.
347 (bench-set): New target.
348 (bench): Depend on bench-func and bench-set.
349 * benchtests/README: Add section on benchmark sets.
350 * benchtests/bench-memcpy-ifunc.c: New file.
351 * benchtests/bench-memcpy.c: New file.
352 * benchtests/bench-string.h: New file.
353
50fd745b
AS
3542013-06-11 Andreas Schwab <schwab@suse.de>
355
356 [BZ #15577]
357 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
358 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
359 values in the triple.
360 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
361 terminator in the group key.
362
3ee7e9fe
AJ
3632013-06-11 Andreas Jaeger <aj@suse.de>
364
365 * po/zh_TW.po: Update Chinese (traditional) translation from
366 translation project.
367
89fb6835
SP
3682013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
369
370 * include/time.h (__clock_gettime): Add libc_hidden_proto.
371 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
372 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
373 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
374 (clock_getcpuclockid): Likewise.
375 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
376 Add weak_alias and libc_hidden_def.
377 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
378 * rt/clock_gettime.c (clock_gettime): Rename to
379 __clock_gettime. Add weak_alias and libc_hidden_def.
380 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
381 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
382 __clock_nanosleep. Add weak_alias and libc_hidden_def.
383 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
384 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
385 Likewise.
386 * rt/clock_settime.c (clock_settime): Rename to
387 __clock_settime. Add weak_alias and libc_hidden_def.
388 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
389
0efa6f8b
JM
3902013-06-10 Joseph Myers <joseph@codesourcery.com>
391
b8c61b4b
JM
392 * mach/err_boot.sub: Remove trailing whitespace.
393 * mach/err_ipc.sub: Likewise.
394 * mach/err_mach.sub: Likewise.
395
0efa6f8b
JM
396 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
397 (ROUNDING_TESTS_double): Likewise.
398 (ROUNDING_TESTS_long_double): Likewise.
399 (ROUNDING_TESTS): Likewise.
400 * math/libm-test.inc: Include <math-tests.h>.
401 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
402 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
403 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
404 (IF_ROUND_INIT_FE_UPWARD): Likewise.
405
50b818bf
SP
4062013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
407
408 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
409 of assigning.
410
60d2f8f3
JM
4112013-06-08 Joseph Myers <joseph@codesourcery.com>
412
4902d2c3
JM
413 * sysdeps/gnu/errlist.awk: Do not generate space at end of
414 otherwise empty TRANS lines.
415 * sysdeps/gnu/errlist.c: Regenerated.
416
60d2f8f3
JM
417 * catgets/gencat.c (error_print): Use (void) in function
418 definition.
419 * crypt/crypt_util.c (__init_des): Likewise.
420 * crypt/speeds.c (Stop): Likewise.
421 (main): Likewise.
422 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
423 * inet/ruserpass.c (token): Likewise.
424 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
425 * intl/localealias.c (extend_alias_table): Likewise.
426 * intl/plural-exp.c (init_germanic_plural): Likewise.
427 * libio/fcloseall.c (__fcloseall): Likewise.
428 * libio/genops.c (_IO_flush_all): Likewise.
429 (_IO_flush_all_linebuffered): Likewise.
430 (_IO_cleanup): Likewise.
431 (_IO_iter_begin): Likewise.
432 (_IO_iter_end): Likewise.
433 (_IO_list_lock): Likewise.
434 (_IO_list_unlock): Likewise.
435 (_IO_list_resetlock): Likewise.
436 * libio/getchar.c (getchar): Likewise.
437 * libio/getchar_u.c (getchar_unlocked): Likewise.
438 * libio/getwchar.c (getwchar): Likewise.
439 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
440 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
441 * login/getpt.c (__getpt): Likewise.
442 * login/tst-utmp.c (main): Likewise.
443 * malloc/hooks.c (__malloc_check_init): Likewise.
444 * malloc/malloc.c (__malloc_stats): Likewise.
445 * malloc/mtrace.c (tr_break): Likewise.
446 (mtrace): Likewise.
447 (muntrace): Likewise.
448 * misc/fstab.c (endfsent): Likewise.
449 * misc/getclktck.c (__getclktck): Likewise.
450 * misc/getdtsz.c (__getdtablesize): Likewise.
451 * misc/gethostid.c (gethostid): Likewise.
452 * misc/getpagesize.c (__getpagesize): Likewise.
453 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
454 (__get_nprocs): Likewise.
455 (__get_phys_pages): Likewise.
456 (__get_avphys_pages): Likewise.
457 * misc/getttyent.c (getttyent): Likewise.
458 (setttyent): Likewise.
459 (endttyent): Likewise.
460 * misc/getusershell.c (getusershell): Likewise.
461 (endusershell): Likewise.
462 (setusershell): Likewise.
463 (initshells): Likewise.
464 * misc/hsearch.c (__hdestroy): Likewise.
465 * misc/sync.c (sync): Likewise.
466 * misc/syslog.c (closelog_internal): Likewise.
467 (closelog): Likewise.
468 * misc/ttyslot.c (ttyslot): Likewise.
469 * misc/vhangup.c (vhangup): Likewise.
470 * posix/fork.c (__fork): Likewise.
471 * posix/getegid.c (__getegid): Likewise.
472 * posix/geteuid.c (__geteuid): Likewise.
473 * posix/getgid.c (__getgid): Likewise.
474 * posix/getpid.c (__getpid): Likewise.
475 * posix/getppid.c (__getppid): Likewise.
476 * posix/getuid.c (__getuid): Likewise.
477 * posix/pause.c (pause): Likewise.
478 * posix/setpgrp.c (setpgrp): Likewise.
479 * posix/setsid.c (__setsid): Likewise.
480 * posix/test-vfork.c (noop): Likewise.
481 * resolv/gethnamaddr.c (_endhtent): Likewise.
482 (_gethtent): Likewise.
483 (ht_endhostent): Likewise.
484 (gethostent): Likewise.
485 (dns_service): Likewise.
486 * stdlib/drand48.c (drand48): Likewise.
487 * stdlib/lrand48.c (lrand48): Likewise.
488 * stdlib/mrand48.c (mrand48): Likewise.
489 * stdlib/rand.c (rand): Likewise.
490 * stdlib/random.c (__random): Likewise.
491 * stdlib/setenv.c (clearenv): Likewise.
492 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
493 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
494 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
495 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
496 (__get_nprocs): Likewise.
497 (__get_phys_pages): Likewise.
498 (__get_avphys_pages): Likewise.
499 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
500 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
501 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
502 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
503 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
504 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
505 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
506 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
507 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
508 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
509 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
510 * sysdeps/mach/hurd/sync.c (sync): Likewise.
511 * sysdeps/posix/clock.c (clock): Likewise.
512 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
513 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
514 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
515 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
516 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
517 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
518 (__get_nprocs_conf): Likewise.
519 (__get_phys_pages): Likewise.
520 (__get_avphys_pages): Likewise.
521 * time/clock.c (clock): Likewise.
522 * time/tzset.c (__tzname_max): Likewise.
523
2e09a79a
JM
5242013-06-07 Joseph Myers <joseph@codesourcery.com>
525
526 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
527 (__bswap_32): Do not use "register".
528 * crypt/crypt.c (_ufc_doit_r): Likewise.
529 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
530 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
531 * gmon/gmon.c (__monstartup): Likewise.
532 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
533 * hurd/hurdmalloc.c (more_memory): Likewise.
534 (malloc): Likewise.
535 (free): Likewise.
536 (realloc): Likewise.
537 (malloc_fork_prepare): Likewise.
538 (malloc_fork_parent): Likewise.
539 (malloc_fork_child): Likewise.
540 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
541 (_svcauth_des): Likewise.
542 * inet/inet_lnaof.c (inet_lnaof): Likewise.
543 * inet/inet_net.c (inet_network): Likewise.
544 * inet/inet_netof.c (inet_netof): Likewise.
545 * inet/rcmd.c (__validuser2_sa): Likewise.
546 * io/fts.c (fts_open): Likewise.
547 (fts_load): Likewise.
548 (fts_close): Likewise.
549 (fts_read): Likewise.
550 (fts_children): Likewise.
551 (fts_build): Likewise.
552 (fts_stat): Likewise.
553 (fts_sort): Likewise.
554 (fts_alloc): Likewise.
555 (fts_lfree): Likewise.
556 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
557 (_IO_file_xsgetn): Likewise.
558 (_IO_file_xsgetn_mmap): Likewise.
559 * libio/iofopncook.c (_IO_cookie_read): Likewise.
560 (_IO_cookie_write): Likewise.
561 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
562 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
563 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
564 * malloc/obstack.c (_obstack_begin): Likewise.
565 (_obstack_begin_1): Likewise.
566 (_obstack_newchunk): Likewise.
567 (_obstack_allocated_p): Likewise.
568 (obstack_free): Likewise.
569 (_obstack_memory_used): Likewise.
570 * misc/getttyent.c (getttynam): Likewise.
571 (getttyent): Likewise.
572 (skip): Likewise.
573 (value): Likewise.
574 * misc/getusershell.c (initshells): Likewise.
575 * misc/syslog.c (__vsyslog_chk): Likewise.
576 * misc/ttyslot.c (ttyslot): Likewise.
577 * nis/nis_hash.c (__nis_hash): Likewise.
578 * posix/fnmatch_loop.c (FCT): Likewise.
579 * posix/getconf.c (print_all): Likewise.
580 (main): Likewise.
581 * posix/getopt.c (exchange): Likewise.
582 * posix/glob.c (globfree): Likewise.
583 (prefix_array): Likewise.
584 (__glob_pattern_type): Likewise.
585 * resolv/arpa/nameser.h (NS_GET16): Likewise.
586 (NS_GET32): Likewise.
587 (NS_PUT16): Likewise.
588 (NS_PUT32): Likewise.
589 * resolv/gethnamaddr.c (getanswer): Likewise.
590 (gethostbyname2): Likewise.
591 (gethostbyaddr): Likewise.
592 (_gethtent): Likewise.
593 (_gethtbyname2): Likewise.
594 (_gethtbyaddr): Likewise.
595 * resolv/ns_print.c (dst_s_get_int16): Likewise.
596 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
597 * resolv/res_init.c (__res_vinit): Likewise.
598 (net_mask): Likewise.
599 * resolv/res_mkquery.c (outchar): Likewise.
600 (PRINT): Likewise.
601 * stdio-common/printf_fp.c (outchar): Likewise.
602 (PRINT): Likewise.
603 * stdio-common/printf_fphex.c (outchar): Likewise.
604 (PRINT): Likewise.
605 * stdio-common/printf_size.c (outchar): Likewise.
606 (PRINT): Likewise.
607 * stdio-common/test_rdwr.c (main): Likewise.
608 * stdio-common/tfformat.c (matches): Likewise.
609 * stdio-common/vfprintf.c (outchar): Likewise.
610 (printf_unknown): Likewise.
611 (buffered_vfprintf): Likewise.
612 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
613 * stdio-common/xbug.c (AppendToBuffer): Likewise.
614 (ReadFile): Likewise.
615 * stdlib/qsort.c (SWAP): Likewise.
616 (_quicksort): Likewise.
617 * stdlib/setenv.c (__add_to_environ): Likewise.
618 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
619 * stdlib/strtol_l.c (__strtol_l): Likewise.
620 * stdlib/tst-strtod.c (main): Likewise.
621 * stdlib/tst-strtol.c (main): Likewise.
622 * stdlib/tst-strtoll.c (main): Likewise.
623 * string/bits/string2.h (__strcmp_cc): Likewise.
624 (__strcmp_cg): Likewise.
625 (__strcspn_c1): Likewise.
626 (__strcspn_c2): Likewise.
627 (__strcspn_c3): Likewise.
628 (__strspn_c1): Likewise.
629 (__strspn_c2): Likewise.
630 (__strspn_c3): Likewise.
631 (__strsep_1c): Likewise.
632 (__strsep_2c): Likewise.
633 (__strsep_3c): Likewise.
634 * string/memccpy.c (__memccpy): Likewise.
635 * string/stpcpy.c (__stpcpy): Likewise.
636 * string/strcmp.c (strcmp): Likewise.
637 * string/strrchr.c (strrchr): Likewise.
638 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
639 Likewise.
640 * sysdeps/mach/hurd/getcwd.c
641 (_hurd_canonicalize_directory_name_internal): Likewise.
642 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
643 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
644 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
645 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
646 Likewise, in both definitions.
647 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
648 definitions.
649 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
650 64] (__bswap_64): Likewise.
651 * time/test_time.c (main): Likewise.
652 * time/tzfile.c (__tzfile_read): Likewise.
653 (__tzfile_compute): Likewise.
654 * time/tzset.c (__tzset_parse_tz): Likewise.
655 (tzset_internal): Likewise.
656 (compute_change): Likewise.
657 * wcsmbs/wcscat.c (__wcscat): Likewise.
658 * wcsmbs/wcschr.c (wcschr): Likewise.
659 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
660 * wcsmbs/wcscspn.c (wcscspn): Likewise.
661 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
662 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
663 * wcsmbs/wcsspn.c (wcsspn): Likewise.
664 * wcsmbs/wcsstr.c (wcsstr): Likewise.
665 * wcsmbs/wmemchr.c (wmemchr): Likewise.
666 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
667 * wcsmbs/wmemset.c (wmemset): Likewise.
668
9e54314b
JM
6692013-06-06 Joseph Myers <joseph@codesourcery.com>
670
671 * scripts/config.guess: Update to version 2013-05-16.
672 * scripts/config.sub: Update to version 2013-04-24.
673 * scripts/install-sh: Update to version 2011-11-20.07.
674 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
675 * scripts/move-if-change: Update to version 2012-01-06 07:23.
676
350635a5
OB
6772013-06-06 Ondřej Bílka <neleai@seznam.cz>
678
679 * debug/fgetws_u_chk.c: Fix leading whitespaces.
680 * elf/sln.c: Likewise.
681 * hurd/hurd/ioctl.h: Likewise.
682 * hurd/hurdmalloc.c: Likewise.
683 * hurd/xattr.c: Likewise.
684 * include/shlib-compat.h: Likewise.
685 * inet/ruserpass.c: Likewise.
686 * libio/iofgets_u.c: Likewise.
687 * libio/iofgetws_u.c: Likewise.
688 * locale/programs/ld-identification.c: Likewise.
689 * locale/programs/ld-time.c: Likewise.
690 * mach/msg-destroy.c: Likewise.
691 * nss/nss_files/files-netgrp.c: Likewise.
692 * resolv/res_data.c: Likewise.
693 * soft-fp/op-1.h: Likewise.
694 * soft-fp/op-2.h: Likewise.
695 * soft-fp/op-4.h: Likewise.
696 * soft-fp/op-common.h: Likewise.
697 * stdio-common/printf_fphex.c: Likewise.
698 * stdlib/strtod_l.c: Likewise.
699 * sunrpc/rpc/clnt.h: Likewise.
700 * sysdeps/generic/framestate.c: Likewise.
701 * sysdeps/i386/bsd-_setjmp.S: Likewise.
702 * sysdeps/i386/bsd-setjmp.S: Likewise.
703 * sysdeps/i386/__longjmp.S: Likewise.
704 * sysdeps/i386/setjmp.S: Likewise.
705 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
706 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
707 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
708 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
709 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
710 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
711 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
712 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
713 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
714 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
715 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
716 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
717 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
718 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
719 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
720 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
721 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
722 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
723 * sysdeps/ieee754/support.c: Likewise.
724 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
725 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
726 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
727 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
728 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
729 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
730 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
731 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
732 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
733 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
734 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
735 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
736 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
737 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
738 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
739 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
740 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
742
44a988af
OB
7432013-06-05 Ondřej Bílka <neleai@seznam.cz>
744
25506f09 745 * posix/transbug.c: Remove executable mode.
44a988af 746
9c84384c
JM
7472013-06-05 Joseph Myers <joseph@codesourcery.com>
748
749 * crypt/speeds.c: Remove trailing whitespace.
750 * dlfcn/default.c: Likewise.
751 * elf/ifuncdep2.c: Likewise.
752 * elf/ifuncmain1.c: Likewise.
753 * elf/ifuncmain1vis.c: Likewise.
754 * elf/testobj.h: Likewise.
755 * elf/tst-stackguard1.c: Likewise.
756 * gmon/sys/gmon.h: Likewise.
757 * hurd/hurdmsg.c: Likewise.
758 * hurd/new-fd.c: Likewise.
759 * hurd/ports-get.c: Likewise.
760 * iconvdata/ibm1008_420.c: Likewise.
761 * inet/tst-getni1.c: Likewise.
762 * inet/tst-getni2.c: Likewise.
763 * libio/ioungetc.c: Likewise.
764 * libio/wfiledoalloc.c: Likewise.
765 * manual/libm-err-tab.pl: Likewise.
766 * math/w_dremf.c: Likewise.
767 * misc/ftruncate.c: Likewise.
768 * posix/bug-glob2.c: Likewise.
769 * posix/tst-pcre.c: Likewise.
770 * posix/wait4.c: Likewise.
771 * resolv/README: Likewise.
772 * resolv/res_debug.h: Likewise.
773 * resolv/tst-inet_ntop.c: Likewise.
774 * setjmp/bug269-setjmp.c: Likewise.
775 * soft-fp/extended.h: Likewise.
776 * soft-fp/op-1.h: Likewise.
777 * soft-fp/op-2.h: Likewise.
778 * soft-fp/op-4.h: Likewise.
779 * soft-fp/op-8.h: Likewise.
780 * soft-fp/testit.c: Likewise.
781 * stdio-common/bug16.c: Likewise.
782 * stdlib/random.c: Likewise.
783 * sunrpc/rpcsvc/rquota.x: Likewise.
784 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
785 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
786 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
787 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
788 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
789 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
790 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
791 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
792 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
793 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
794 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
795 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
796 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
797 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
798 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
799 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
800 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
801 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
802 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
803 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
804 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
805 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
806 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
807 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
808 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
809 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
810 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
811 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
812 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
813 * sysdeps/ieee754/s_lib_version.c: Likewise.
814 * sysdeps/mach/hurd/check_fds.c: Likewise.
815 * sysdeps/mach/hurd/getsockname.c: Likewise.
816 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
817 * sysdeps/mach/hurd/recvfrom.c: Likewise.
818 * sysdeps/powerpc/bits/link.h: Likewise.
819 * sysdeps/powerpc/dl-procinfo.c: Likewise.
820 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
821 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
822 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
823 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
824 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
825 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
826 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
827 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
828 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
829 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
830 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
831 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
832 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
833 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
834 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
835 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
836 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
837 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
838 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
839 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
840 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
841 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
842 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
843 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
844 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
845 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
846 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
847 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
848 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
849 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
850 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
851 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
852 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
853 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
854 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
855 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
856 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
857 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
858 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
859 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
860 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
861 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
862 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
863 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
864 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
865 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
866 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
867 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
868 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
869 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
870 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
871 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
872 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
873 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
874 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
875 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
876 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
877 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
878 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
879 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
880 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
881 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
882 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
883 * sysdeps/powerpc/sysdep.h: Likewise.
884 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
885 * sysdeps/s390/s390-64/sub_n.S: Likewise.
886 * sysdeps/sh/dl-trampoline.S: Likewise.
887 * sysdeps/sh/memset.S: Likewise.
888 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
889 * sysdeps/sh/strlen.S: Likewise.
890 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
891 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
892 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
893 * sysdeps/sparc/sparc32/rem.S: Likewise.
894 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
895 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
896 * sysdeps/sparc/sparc32/strchr.S: Likewise.
897 * sysdeps/sparc/sparc32/udiv.S: Likewise.
898 * sysdeps/sparc/sparc32/urem.S: Likewise.
899 * sysdeps/sparc/sparc64/add_n.S: Likewise.
900 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
901 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
902 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
903 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
904 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
905 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
906 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
907 * sysdeps/unix/bsd/times.c: Likewise.
908 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
909 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
913 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
914 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
915 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
916 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
917 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
918 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
919 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
920 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
921 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
922 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
923 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
924 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
925 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
926 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
927 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
928 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
929 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
930 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
931 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
932 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
933 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
934 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
935 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
936 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
937 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
938 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
939 * sysdeps/x86_64/strcspn.S: Likewise.
940
869378a5
RA
9412013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
942
943 * locale/C-translit.h: Revert #include <stdint.h> because this is a
944 generated file. Regenerate properly from gen-translit.pl.
945 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
946 locale/C-translit.h.
947
840e2943
AS
9482013-06-05 Andreas Schwab <schwab@suse.de>
949
950 [BZ #15100]
951 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
952 week as 6 instead of -1.
953 * time/tst-strptime.c (day_tests): Add test case.
954
4c60cb0c
SP
9552013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
956
957 * sysdeps/generic/math_private.h
958 (libc_feholdexcept_setround_53bit): Replace with
959 libc_feholdsetround_53bit.
960 (libc_feupdateenv_53bit): Replace with
961 libc_feresetround_53bit.
962 (SET_RESTORE_ROUND_53BIT): Adjust.
963
d180203e
SP
9642013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
965
96df079a
SP
966 * string/test-strchrnul.c: Add copyright header.
967
d180203e
SP
968 * posix/tst-getaddrinfo4.c: Increase test timeout.
969
8b0ccb2d
CD
9702013-06-03 Carlos O'Donell <carlos@redhat.com>
971
972 [BZ #15536]
973 * math/libm-test.inc (MAX_EXP): Remove
974 (MIN_EXP): Define.
975 (ulp): Use MIN_EXP - MANT_DIG.
976 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
977
3b3c4d40
CD
9782013-05-31 Carlos O'Donell <carlos@redhat.com>
979
980 * po/be.po: Revert last change.
981 * po/zh_CN.po: Likewise.
982 * po/header.pot: Likewise.
983
fab7ce3f
JM
9842013-05-31 Joseph Myers <joseph@codesourcery.com>
985
986 * Makefile ($(common-objpfx)linkobj/libc.so): Define
987 link-libc-deps to empty as target-specific variable.
988 * Makerules (link-libc-args): New variable.
989 (libc-for-link): Likewise.
990 (link-libc-deps): Likewise.
991 (lib%.so): Depend on $(link-libc-deps). Link with
992 $(link-libc-args).
993 (build-module): Link with $(link-libc-args).
994 (build-module-asneeded): Likewise.
995 (build-module-helper-objlist): Filter out $(link-libc-deps) from
996 list of objects.
997 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
998 target-specific variable.
999 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1000 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1001 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1002 libc.
1003 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1004 libc and ld.so.
1005 ($(objpfx)libpcprofile.so): Likewise.
1006 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1007 libc_nonshared.a.
1008 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1009 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1010 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1011 $(link-libc-deps).
1012 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1013 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1014 * login/Makefile ($(objpfx)libutil.so): Likewise.
1015 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1016 * math/Makefile ($(objpfx)libm.so): Likewise.
1017 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1018 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1019 variable instead of depending directly on libc.
1020 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1021 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1022 $(link-libc-deps).
1023 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1024 libc.
1025 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1026 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1027 ($(objpfx)libanl.so): Likewise.
1028 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1029 ld.so.
1030 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1031 $(link-libc-deps).
1032 * sysdeps/i386/fpu/Makefile: Remove file.
1033 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1034 ($(objpfx)libm.so): Remove dependency on ld.so.
1035
eca5920c
PF
10362013-05-30 Patsy Franklin <pfrankli@redhat.com>
1037
1038 [BZ # 15553]
1039 * nis/yp_xdr.c (XDRMAXNAME): Define.
1040 (XDRMAXRECORD): Define.
1041 (xdr_domainname): Use XDRMAXNAME.
1042 (xdr_mapname): Likewise.
1043 (xdr_peername): Likewise.
1044 (xdr_keydat): Use XDRMAXRECORD.
1045 (xdr_valdat): Likewise.
1046
10472013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1048
1049 [BZ #14256]
1050 * manual/errno.texi (ESTALE): Update to account for more than
1051 just NFS file systems.
1052 * sysdeps/gnu/errlist.c: Regenerated.
1053
b9375348
SP
10542013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1055
1056 [BZ #15465]
1057 * elf/Makefile (tests): Add tst-null-argv.
1058 (modules-names): Add tst-null-argv-lib.
1059 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1060 (tst-null-argv-ENV): Set environment for tst-null-argv.
1061 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1062 (RTLD_PROGNAME): New macro.
1063 * elf/tst-null-argv.c: New test case.
1064 * elf/tst-null-argv-lib.c: Library for test case.
1065 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1066 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1067 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1068 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1069 * elf/dl-init.c (call_init): Likewise.
1070 (_dl_init): Likewise.
1071 * elf/dl-load.c (print_search_path): Likewise.
1072 (_dl_map_object): Likewise.
1073 * elf/dl-lookup.c (do_lookup_x): Likewise.
1074 (add_dependency): Likewise.
1075 (_dl_lookup_symbol_x): Likewise.
1076 (_dl_debug_bindings): Likewise.
1077 * elf/dl-open.c (_dl_show_scope): Likewise.
1078 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1079 * elf/dl-version.c (match_symbol): Likewise.
1080 (_dl_check_map_versions): Likewise.
1081 * elf/rtld.c (dl_main): Likewise.
1082 (print_unresolved): Use RTLD_PROGNAME.
1083 (print_missing_version): Likewise.
1084 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1085 (elf_machine_rela): Likewise.
1086 * sysdeps/powerpc/powerpc32/dl-machine.c
1087 (__process_machine_rela): Likewise.
1088 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1089 Likewise.
1090 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1091 Likewise.
1092 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1093 Likewise.
1094 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1095 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1096 Likewise.
1097 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1098 Likewise.
1099 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1100
8a9f20c8
CD
11012013-05-28 Carlos O'Donell <carlos@redhat.com>
1102
1103 * po/be.po: Add descriptive title.
1104 * po/zh_CN.po: Likewise.
1105 * po/header.pot: Likewise.
1106
0e60d68e
MF
11072013-05-28 Mike Frysinger <vapier@gentoo.org>
1108
1109 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1110 error message.
1111 (enlarge_archive): Likewise.
1112
56b672e9
BN
11132013-05-28 Ben North <ben@redfrontdoor.org>
1114
1115 * manual/arith.texi (frexp): It is the magnitude of the return
1116 value which lies in [0.5, 1), not the return value itself.
1117
5e056687
AZ
11182013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1119
1120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1121
2b66ef5d
TS
11222013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1123
528c2405
TS
1124 * stdio-common/bug26.c (main): Correct fscanf template.
1125
07b4c13d
TS
1126 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1127 declare _dl_skip_args.
1128
ec9dd97c
TS
1129 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1130 Don't declare.
1131
2b66ef5d
TS
1132 * manual/platform.texi: Add missing @end deftypefun.
1133
4f8dfe27
JM
11342013-05-24 Joseph Myers <joseph@codesourcery.com>
1135
0323d086
JM
1136 [BZ #15529]
1137 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1138 bit of mantissa of 2^16382.
1139 * math/libm-test.inc (hypot_test_data): Add more tests.
1140
dd4259b9
JM
1141 * math/libm-test.inc: Add drem and pow10 to list of tested
1142 functions.
1143 (pow10_test): New function.
1144 (drem_test): Likewise.
1145 (drem_test_tonearest): Likewise.
1146 (drem_test_towardzero): Likewise.
1147 (drem_test_downward): Likewise.
1148 (drem_test_upward): Likewise.
1149 (main): Call the new functions.
1150
4f8dfe27
JM
1151 * math/libm-test.inc (finite_test_data): Remove.
1152 (finite_test): Run tests from isfinite_test_data.
1153 (gamma_test_data): Remove.
1154 (gamma_test): Run tests from lgamma_test_data.
1155 * sysdeps/i386/fpu/libm-test-ulps: Update.
1156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1157
d116b7c4
AZ
11582013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1159
1160 * manual/platform.texi: Add PowerPC PPR function set documentation.
1161 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1162 implementation.
1163
e96e3767
CD
11642013-05-24 Carlos O'Donell <carlos@redhat.com>
1165
1166 * math/libm-test.inc (MAX_EXP): Define.
1167 (ULPDIFF): Define.
1168 (ulp): New function.
1169 (check_float_internal): Use ULPDIFF.
1170 (cpow_test): Disable failing test.
1171 (check_ulp): Test ulp() implemetnation.
1172 (main): Call check_ulp before starting tests.
1173
b679a606
JM
11742013-05-24 Joseph Myers <joseph@codesourcery.com>
1175
e8bdba36
JM
1176 * math/gen-libm-test.pl (generate_testfile): Do not handle
1177 START_DATA and END_DATA.
1178 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1179 END_DATA.
1180 (acos_tonearest_test_data): Likewise.
1181 (acos_towardzero_test_data): Likewise.
1182 (acos_downward_test_data): Likewise.
1183 (acos_upward_test_data): Likewise.
1184 (acosh_test_data): Likewise.
1185 (asin_test_data): Likewise.
1186 (asin_tonearest_test_data): Likewise.
1187 (asin_towardzero_test_data): Likewise.
1188 (asin_downward_test_data): Likewise.
1189 (asin_upward_test_data): Likewise.
1190 (asinh_test_data): Likewise.
1191 (atan_test_data): Likewise.
1192 (atanh_test_data): Likewise.
1193 (atan2_test_data): Likewise.
1194 (cabs_test_data): Likewise.
1195 (cacos_test_data): Likewise.
1196 (cacosh_test_data): Likewise.
1197 (carg_test_data): Likewise.
1198 (casin_test_data): Likewise.
1199 (casinh_test_data): Likewise.
1200 (catan_test_data): Likewise.
1201 (catanh_test_data): Likewise.
1202 (cbrt_test_data): Likewise.
1203 (ccos_test_data): Likewise.
1204 (ccosh_test_data): Likewise.
1205 (ceil_test_data): Likewise.
1206 (cexp_test_data): Likewise.
1207 (cimag_test_data): Likewise.
1208 (clog_test_data): Likewise.
1209 (clog10_test_data): Likewise.
1210 (conj_test_data): Likewise.
1211 (copysign_test_data): Likewise.
1212 (cos_test_data): Likewise.
1213 (cos_tonearest_test_data): Likewise.
1214 (cos_towardzero_test_data): Likewise.
1215 (cos_downward_test_data): Likewise.
1216 (cos_upward_test_data): Likewise.
1217 (cosh_test_data): Likewise.
1218 (cosh_tonearest_test_data): Likewise.
1219 (cosh_towardzero_test_data): Likewise.
1220 (cosh_downward_test_data): Likewise.
1221 (cosh_upward_test_data): Likewise.
1222 (cpow_test_data): Likewise.
1223 (cproj_test_data): Likewise.
1224 (creal_test_data): Likewise.
1225 (csin_test_data): Likewise.
1226 (csinh_test_data): Likewise.
1227 (csqrt_test_data): Likewise.
1228 (ctan_test_data): Likewise.
1229 (ctan_tonearest_test_data): Likewise.
1230 (ctan_towardzero_test_data): Likewise.
1231 (ctan_downward_test_data): Likewise.
1232 (ctan_upward_test_data): Likewise.
1233 (ctanh_test_data): Likewise.
1234 (ctanh_tonearest_test_data): Likewise.
1235 (ctanh_towardzero_test_data): Likewise.
1236 (ctanh_downward_test_data): Likewise.
1237 (ctanh_upward_test_data): Likewise.
1238 (erf_test_data): Likewise.
1239 (erfc_test_data): Likewise.
1240 (exp_test_data): Likewise.
1241 (exp_tonearest_test_data): Likewise.
1242 (exp_towardzero_test_data): Likewise.
1243 (exp_downward_test_data): Likewise.
1244 (exp_upward_test_data): Likewise.
1245 (exp10_test_data): Likewise.
1246 (exp2_test_data): Likewise.
1247 (expm1_test_data): Likewise.
1248 (fabs_test_data): Likewise.
1249 (fdim_test_data): Likewise.
1250 (finite_test_data): Likewise.
1251 (floor_test_data): Likewise.
1252 (fma_test_data): Likewise.
1253 (fma_towardzero_test_data): Likewise.
1254 (fma_downward_test_data): Likewise.
1255 (fma_upward_test_data): Likewise.
1256 (fmax_test_data): Likewise.
1257 (fmin_test_data): Likewise.
1258 (fmod_test_data): Likewise.
1259 (fpclassify_test_data): Likewise.
1260 (frexp_test_data): Likewise.
1261 (gamma_test_data): Likewise.
1262 (hypot_test_data): Likewise.
1263 (ilogb_test_data): Likewise.
1264 (isfinite_test_data): Likewise.
1265 (isgreater_test_data): Likewise.
1266 (isgreaterequal_test_data): Likewise.
1267 (isinf_test_data): Likewise.
1268 (isless_test_data): Likewise.
1269 (islessequal_test_data): Likewise.
1270 (islessgreater_test_data): Likewise.
1271 (isnan_test_data): Likewise.
1272 (isnormal_test_data): Likewise.
1273 (issignaling_test_data): Likewise.
1274 (isunordered_test_data): Likewise.
1275 (j0_test_data): Likewise.
1276 (j1_test_data): Likewise.
1277 (jn_test_data): Likewise.
1278 (ldexp_test_data): Likewise.
1279 (lgamma_test_data): Likewise.
1280 (lrint_test_data): Likewise.
1281 (lrint_tonearest_test_data): Likewise.
1282 (lrint_towardzero_test_data): Likewise.
1283 (lrint_downward_test_data): Likewise.
1284 (lrint_upward_test_data): Likewise.
1285 (llrint_test_data): Likewise.
1286 (llrint_tonearest_test_data): Likewise.
1287 (llrint_towardzero_test_data): Likewise.
1288 (llrint_downward_test_data): Likewise.
1289 (llrint_upward_test_data): Likewise.
1290 (log_test_data): Likewise.
1291 (log10_test_data): Likewise.
1292 (log1p_test_data): Likewise.
1293 (log2_test_data): Likewise.
1294 (logb_test_data): Likewise.
1295 (logb_downward_test_data): Likewise.
1296 (lround_test_data): Likewise.
1297 (llround_test_data): Likewise.
1298 (modf_test_data): Likewise.
1299 (nearbyint_test_data): Likewise.
1300 (nextafter_test_data): Likewise.
1301 (nexttoward_test_data): Likewise.
1302 (pow_test_data): Likewise.
1303 (pow_tonearest_test_data): Likewise.
1304 (pow_towardzero_test_data): Likewise.
1305 (pow_downward_test_data): Likewise.
1306 (pow_upward_test_data): Likewise.
1307 (remainder_test_data): Likewise.
1308 (remainder_tonearest_test_data): Likewise.
1309 (remainder_towardzero_test_data): Likewise.
1310 (remainder_downward_test_data): Likewise.
1311 (remainder_upward_test_data): Likewise.
1312 (remquo_test_data): Likewise.
1313 (rint_test_data): Likewise.
1314 (rint_tonearest_test_data): Likewise.
1315 (rint_towardzero_test_data): Likewise.
1316 (rint_downward_test_data): Likewise.
1317 (rint_upward_test_data): Likewise.
1318 (round_test_data): Likewise.
1319 (scalb_test_data): Likewise.
1320 (scalbn_test_data): Likewise.
1321 (scalbln_test_data): Likewise.
1322 (signbit_test_data): Likewise.
1323 (sin_test_data): Likewise.
1324 (sin_tonearest_test_data): Likewise.
1325 (sin_towardzero_test_data): Likewise.
1326 (sin_downward_test_data): Likewise.
1327 (sin_upward_test_data): Likewise.
1328 (sincos_test_data): Likewise.
1329 (sinh_test_data): Likewise.
1330 (sinh_tonearest_test_data): Likewise.
1331 (sinh_towardzero_test_data): Likewise.
1332 (sinh_downward_test_data): Likewise.
1333 (sinh_upward_test_data): Likewise.
1334 (sqrt_test_data): Likewise.
1335 (tan_test_data): Likewise.
1336 (tan_tonearest_test_data): Likewise.
1337 (tan_towardzero_test_data): Likewise.
1338 (tan_downward_test_data): Likewise.
1339 (tan_upward_test_data): Likewise.
1340 (tanh_test_data): Likewise.
1341 (tgamma_test_data): Likewise.
1342 (trunc_test_data): Likewise.
1343 (y0_test_data): Likewise.
1344 (y1_test_data): Likewise.
1345 (yn_test_data): Likewise.
1346 (significand_test_data): Likewise.
1347
b679a606
JM
1348 * math/gen-libm-test.pl (@functions): Remove variable.
1349 (generate_testfile): Don't handle START and END lines.
1350 * math/libm-test.inc (START): New macro.
1351 (END): Likewise.
1352 (END_COMPLEX): Likewise.
1353 (acos_test): Use END macro without arguments.
1354 (acos_test_tonearest): Likewise.
1355 (acos_test_towardzero): Likewise.
1356 (acos_test_downward): Likewise.
1357 (acos_test_upward): Likewise.
1358 (acosh_test): Likewise.
1359 (asin_test): Likewise.
1360 (asin_test_tonearest): Likewise.
1361 (asin_test_towardzero): Likewise.
1362 (asin_test_downward): Likewise.
1363 (asin_test_upward): Likewise.
1364 (asinh_test): Likewise.
1365 (atan_test): Likewise.
1366 (atanh_test): Likewise.
1367 (atan2_test): Likewise.
1368 (cabs_test): Likewise.
1369 (cacos_test): Use END_COMPLEX macro without arguments.
1370 (cacosh_test): Likewise.
1371 (carg_test): Use END macro without arguments.
1372 (casin_test): Use END_COMPLEX macro without arguments.
1373 (casinh_test): Likewise.
1374 (catan_test): Likewise.
1375 (catanh_test): Likewise.
1376 (cbrt_test): Use END macro without arguments.
1377 (ccos_test): Use END_COMPLEX macro without arguments.
1378 (ccosh_test): Likewise.
1379 (ceil_test): Use END macro without arguments.
1380 (cexp_test): Use END_COMPLEX macro without arguments.
1381 (cimag_test): Use END macro without arguments.
1382 (clog_test): Use END_COMPLEX macro without arguments.
1383 (clog10_test): Likewise.
1384 (conj_test): Likewise.
1385 (copysign_test): Use END macro without arguments.
1386 (cos_test): Likewise.
1387 (cos_test_tonearest): Likewise.
1388 (cos_test_towardzero): Likewise.
1389 (cos_test_downward): Likewise.
1390 (cos_test_upward): Likewise.
1391 (cosh_test): Likewise.
1392 (cosh_test_tonearest): Likewise.
1393 (cosh_test_towardzero): Likewise.
1394 (cosh_test_downward): Likewise.
1395 (cosh_test_upward): Likewise.
1396 (cpow_test): Use END_COMPLEX macro without arguments.
1397 (cproj_test): Likewise.
1398 (creal_test): Use END macro without arguments.
1399 (csin_test): Use END_COMPLEX macro without arguments.
1400 (csinh_test): Likewise.
1401 (csqrt_test): Likewise.
1402 (ctan_test): Likewise.
1403 (ctan_test_tonearest): Likewise.
1404 (ctan_test_towardzero): Likewise.
1405 (ctan_test_downward): Likewise.
1406 (ctan_test_upward): Likewise.
1407 (ctanh_test): Likewise.
1408 (ctanh_test_tonearest): Likewise.
1409 (ctanh_test_towardzero): Likewise.
1410 (ctanh_test_downward): Likewise.
1411 (ctanh_test_upward): Likewise.
1412 (erf_test): Use END macro without arguments.
1413 (erfc_test): Likewise.
1414 (exp_test): Likewise.
1415 (exp_test_tonearest): Likewise.
1416 (exp_test_towardzero): Likewise.
1417 (exp_test_downward): Likewise.
1418 (exp_test_upward): Likewise.
1419 (exp10_test): Likewise.
1420 (exp2_test): Likewise.
1421 (expm1_test): Likewise.
1422 (fabs_test): Likewise.
1423 (fdim_test): Likewise.
1424 (finite_test): Likewise.
1425 (floor_test): Likewise.
1426 (fma_test): Likewise.
1427 (fma_test_towardzero): Likewise.
1428 (fma_test_downward): Likewise.
1429 (fma_test_upward): Likewise.
1430 (fmax_test): Likewise.
1431 (fmin_test): Likewise.
1432 (fmod_test): Likewise.
1433 (fpclassify_test): Likewise.
1434 (frexp_test): Likewise.
1435 (gamma_test): Likewise.
1436 (hypot_test): Likewise.
1437 (ilogb_test): Likewise.
1438 (isfinite_test): Likewise.
1439 (isgreater_test): Likewise.
1440 (isgreaterequal_test): Likewise.
1441 (isinf_test): Likewise.
1442 (isless_test): Likewise.
1443 (islessequal_test): Likewise.
1444 (islessgreater_test): Likewise.
1445 (isnan_test): Likewise.
1446 (isnormal_test): Likewise.
1447 (issignaling_test): Likewise.
1448 (isunordered_test): Likewise.
1449 (j0_test): Likewise.
1450 (j1_test): Likewise.
1451 (jn_test): Likewise.
1452 (ldexp_test): Likewise.
1453 (lgamma_test): Likewise.
1454 (lrint_test): Likewise.
1455 (lrint_test_tonearest): Likewise.
1456 (lrint_test_towardzero): Likewise.
1457 (lrint_test_downward): Likewise.
1458 (lrint_test_upward): Likewise.
1459 (llrint_test): Likewise.
1460 (llrint_test_tonearest): Likewise.
1461 (llrint_test_towardzero): Likewise.
1462 (llrint_test_downward): Likewise.
1463 (llrint_test_upward): Likewise.
1464 (log_test): Likewise.
1465 (log10_test): Likewise.
1466 (log1p_test): Likewise.
1467 (log2_test): Likewise.
1468 (logb_test): Likewise.
1469 (logb_test_downward): Likewise.
1470 (lround_test): Likewise.
1471 (llround_test): Likewise.
1472 (modf_test): Likewise.
1473 (nearbyint_test): Likewise.
1474 (nextafter_test): Likewise.
1475 (nexttoward_test): Likewise.
1476 (pow_test): Likewise.
1477 (pow_test_tonearest): Likewise.
1478 (pow_test_towardzero): Likewise.
1479 (pow_test_downward): Likewise.
1480 (pow_test_upward): Likewise.
1481 (remainder_test): Likewise.
1482 (remainder_test_tonearest): Likewise.
1483 (remainder_test_towardzero): Likewise.
1484 (remainder_test_downward): Likewise.
1485 (remainder_test_upward): Likewise.
1486 (remquo_test): Likewise.
1487 (rint_test): Likewise.
1488 (rint_test_tonearest): Likewise.
1489 (rint_test_towardzero): Likewise.
1490 (rint_test_downward): Likewise.
1491 (rint_test_upward): Likewise.
1492 (round_test): Likewise.
1493 (scalb_test): Likewise.
1494 (scalbn_test): Likewise.
1495 (scalbln_test): Likewise.
1496 (signbit_test): Likewise.
1497 (sin_test): Likewise.
1498 (sin_test_tonearest): Likewise.
1499 (sin_test_towardzero): Likewise.
1500 (sin_test_downward): Likewise.
1501 (sin_test_upward): Likewise.
1502 (sincos_test): Likewise.
1503 (sinh_test): Likewise.
1504 (sinh_test_tonearest): Likewise.
1505 (sinh_test_towardzero): Likewise.
1506 (sinh_test_downward): Likewise.
1507 (sinh_test_upward): Likewise.
1508 (sqrt_test): Likewise.
1509 (tan_test): Likewise.
1510 (tan_test_tonearest): Likewise.
1511 (tan_test_towardzero): Likewise.
1512 (tan_test_downward): Likewise.
1513 (tan_test_upward): Likewise.
1514 (tanh_test): Likewise.
1515 (tgamma_test): Likewise.
1516 (trunc_test): Likewise.
1517 (y0_test): Likewise.
1518 (y1_test): Likewise.
1519 (yn_test): Likewise.
1520 (significand_test): Likewise.
1521
bae143d2
OB
15222013-05-24 Ondřej Bílka <neleai@seznam.cz>
1523
1524 [BZ #15381]
1525 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1526
9323d39b
EM
15272013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1528
d4ea44a0 1529 [BZ #14894]
9323d39b
EM
1530 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1531 __ppc_mdoio and __ppc_mdoom.
1532 * manual/platform.texi: Document new functions __ppc_yield,
1533 __ppc_mdoio and __ppc_mdoom.
1534
13e23af7
CD
15352013-05-22 Carlos O'Donell <carlos@redhat.com>
1536
1537 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1538 (main): Mention "tls" pseudo-hwcap is legacy.
1539 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1540
351fe550
JM
15412013-05-22 Joseph Myers <joseph@codesourcery.com>
1542
1543 * math/gen-libm-test.pl (parse_args): Output only string of
1544 arguments as text for test name, not full call or descriptions of
1545 tests for extra outputs.
1546 (generate_testfile): Do not pass function name to parse_args.
1547 Generate this_func variable from START.
1548 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1549 field to arg_str.
1550 (struct test_ff_f_data): Likewise.
1551 (test_ff_f_data_nexttoward): Likewise.
1552 (struct test_fi_f_data): Likewise.
1553 (struct test_fl_f_data): Likewise.
1554 (struct test_if_f_data): Likewise.
1555 (struct test_fff_f_data): Likewise.
1556 (struct test_c_f_data): Likewise.
1557 (struct test_f_f1_data): Likewise. Remove field extra_name.
1558 (struct test_fF_f1_data): Likewise.
1559 (struct test_ffI_f1_data): Likewise.
1560 (struct test_c_c_data): Rename test_name field to arg_str.
1561 (struct test_cc_c_data): Likewise.
1562 (struct test_f_i_data): Likewise.
1563 (struct test_ff_i_data): Likewise.
1564 (struct test_f_l_data): Likewise.
1565 (struct test_f_L_data): Likewise.
1566 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
1567 and extra2_name.
1568 (COMMON_TEST_SETUP): New macro.
1569 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1570 (COMMON_TEST_CLEANUP): Likewise.
1571 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1572 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
1573 macros.
1574 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1575 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
1576 macros.
1577 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1578 (RUN_TEST_fff_f): Take argument string. Call new setup and
1579 cleanup macros.
1580 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1581 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
1582 macros.
1583 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1584 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
1585 macros.
1586 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1587 (RUN_TEST_fF_f1): Take argument string. Call new setup and
1588 cleanup macros.
1589 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1590 (RUN_TEST_fI_f1): Take argument string. Call new setup and
1591 cleanup macros.
1592 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1593 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
1594 cleanup macros.
1595 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1596 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
1597 macros.
1598 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1599 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
1600 macros.
1601 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1602 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
1603 macros.
1604 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1605 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
1606 cleanup macros.
1607 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1608 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
1609 cleanup macros.
1610 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1611 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
1612 macros.
1613 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1614 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
1615 cleanup macros.
1616 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1617 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
1618 macros.
1619 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1620 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
1621 macros.
1622 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1623 (RUN_TEST_fFF_11): Take argument string. Call new setup and
1624 cleanup macros.
1625 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1626
85118d4d
EBM
16272013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1628
1629 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1630 to _sifields.sigfault.
1631 (si_addr_lsb): Define new macro.
1632 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1633 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1634 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1635
7a44c18f
CD
16362013-05-03 Carlos O'Donell <carlos at redhat.com>
1637
1638 [BZ #15441]
1639 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1640 returns -1.
1641 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1642 null return -1.
1643 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1644 loading the domain.
1645
b50a7181
JM
16462013-05-22 Joseph Myers <joseph@codesourcery.com>
1647
1648 * math/gen-libm-test.pl (parse_args): Do not include expected
1649 result in test name.
1650 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1651 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1652 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1653 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1654 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1656
051063c8
SP
16572013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1658
3ce9e010
SP
1659 * benchtests/Makefile: Sort function entries.
1660
051063c8
SP
1661 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1662 tanh, asinh, acosh, atanh.
1663 * benchtests/acos-inputs: New file.
1664 * benchtests/acosh-inputs: New file.
1665 * benchtests/asin-inputs: New file.
1666 * benchtests/asinh-inputs: New file.
1667 * benchtests/atanh-inputs: New file.
1668 * benchtests/cosh-inputs: New file.
1669 * benchtests/log-inputs: New file.
1670 * benchtests/sinh-inputs: New file.
1671 * benchtests/tanh-inputs: New file.
1672
47c22455
DL
16732013-05-21 Dmitry V. Levin <ldv@altlinux.org>
1674
1675 [BZ #15339]
1676 * posix/tst-getaddrinfo4.c: New test.
1677 * posix/Makefile (tests): Add it.
1678
3d04f5db
SP
16792013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1680
1681 [BZ #15339]
1682 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1683 when no services were used.
1684 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1685 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1686
d5dd6189
AS
16872013-05-21 Andreas Schwab <schwab@suse.de>
1688
1689 [BZ #15014]
1690 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1691 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1692 successful.
1693 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1694 redundant variable declarations and reallocation of buffer when
1695 parsing as IPv6 address. Always set NSS status when called from
1696 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
1697 buffer too small. Correct computation of needed size.
1698 * nss/Makefile (tests): Add test-digits-dots.
1699 * nss/test-digits-dots.c: New test.
1700
fef94eab
SP
17012013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1702
1703 * benchtests/Makefile: Remove instructions for adding
1704 benchmark tests.
1705 * benchtests/README: New file to explain how to execute and
1706 enhance the benchmark tests.
1707
e39adf43
AS
17082013-05-21 Andreas Schwab <schwab@suse.de>
1709
1710 [BZ #15493]
1711 * setjmp/Makefile (tests): Add tst-sigsetjmp.
1712 * setjmp/tst-sigsetjmp.c: New test.
1713
b2b671b6
OB
17142013-05-20 Ondřej Bílka <neleai@seznam.cz>
1715
1716 * sysdeps/x86_64/memset.S (memset): New implementation.
1717 (__bzero): Likewise.
1718 (__memset_tail): New function.
1719
2d48b41c
OB
17202013-05-20 Ondřej Bílka <neleai@seznam.cz>
1721
1722 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1723 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1724 __memcpy_sse2_unaligned ifunc selection.
1725 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1726 Add memcpy-sse2-unaligned.S.
1727 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1728 Add: __memcpy_sse2_unaligned.
1729
f16cc3eb
JM
17302013-05-19 Joseph Myers <joseph@codesourcery.com>
1731
3e694268
JM
1732 [BZ #15490]
1733 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1734 math_force_eval before restoring floating-point envrionment.
1735 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1736 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1737 Likewise.
1738 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1739 <math_private.h>.
1740 (__nearbyintl): Use math_force_eval before restoring
1741 floating-point environment.
1742 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1743
db62a907
JM
1744 * math/gen-libm-test.pl (special_functions): Remove.
1745 (parse_args): Don't handle TEST_extra. Handle functions with no
1746 return value.
1747 * math/libm-test.inc (struct test_sincos_data): Replace with
1748 struct test_fFF_11_data.
1749 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1750 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1751 (sincos_test_data): Change element type to struct
1752 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
1753 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1754 RUN_TEST_LOOP_sincos.
1755 * math/README.libm-test: Don't mention special handling of
1756 individual functions.
1757 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1758 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1759 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1760 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1761 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1763
f16cc3eb
JM
1764 * math/gen-libm-test.pl (get_variable): Remove function.
1765 (parse_args): Don't show pointer parameters to call in test
1766 names. Use "extra output N" in test names for extra outputs
1767 rather than naming variables.
1768
3779b5b6
JM
17692013-05-18 Joseph Myers <joseph@codesourcery.com>
1770
2ee094ff
JM
1771 [BZ #15488]
1772 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1773 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1774 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1775 double tests.
1776 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1777 disable.
1778 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1779 check_long_double.
1780
3779b5b6
JM
1781 * math/gen-libm-test.pl (@tests): Remove variable.
1782 ($count): Likewise.
1783 (new_test): Remove function.
1784 (show_exceptions): New function.
1785 (special_functions): Use show_exceptions instead of new_test.
1786 (parse_args): Likewise.
1787 (generate_testfile): Pass only function name in generated call to
1788 print_max_error or print_complex_max_error.
1789 (get_ulps): Do not handle complex tests specially.
1790 (output_test): Rename to ...
1791 (get_all_ulps_for_test): ... this. Return a string rather than
1792 printing to a file. Require ulps to be present.
1793 (output_ulps): Generate arrays rather than #defines.
1794 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1795 (struct ulp_data): New type.
1796 (BUILD_COMPLEX_ULP): Remove macro.
1797 (compare_ulp_data): New function.
1798 (find_ulps): Likewise.
1799 (find_test_ulps): Likewise.
1800 (find_function_ulps): Likewise.
1801 (find_complex_function_ulps): Likewise.
1802 (print_max_error): Determine allowed ulps using
1803 find_function_ulps.
1804 (print_complex_max_error): Determine allowed ulps using
1805 find_complex_function_ulps.
1806 (check_float_internal): Determine max ulps using find_test_ulps.
1807 (check_float): Do not take max_ulp parameter. Update call to
1808 check_float_internal.
1809 (check_complex): Likewise.
1810 (check_int): Do not take max_ulp parameter.
1811 (check_long): Likewise.
1812 (check_bool): Likewise.
1813 (check_longlong): Likewise.
1814 (struct test_f_f_data): Remove max_ulp field.
1815 (struct test_ff_f_data): Likewise.
1816 (struct test_ff_f_data_nexttoward): Likewise.
1817 (struct test_fi_f_data): Likewise.
1818 (struct test_fl_f_data): Likewise.
1819 (struct test_if_f_data): Likewise.
1820 (struct test_fff_f_data): Likewise.
1821 (struct test_c_f_data): Likewise.
1822 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1823 (struct test_fF_f1_data): Likewise.
1824 (struct test_ffI_f1_data): Likewise.
1825 (struct test_c_c_data): Remove max_ulp field.
1826 (struct test_cc_c_data): Likewise.
1827 (struct test_f_i_data): Likewise.
1828 (struct test_ff_i_data): Likewise.
1829 (struct test_f_l_data): Likewise.
1830 (struct test_f_L_data): Likewise.
1831 (struct test_sincos_data): Likewise.
1832 (RUN_TEST_f_f): Do not handle ulps.
1833 (RUN_TEST_LOOP_f_f): Likewise.
1834 (RUN_TEST_2_f): Likewise.
1835 (RUN_TEST_LOOP_2_f): Likewise.
1836 (RUN_TEST_fff_f): Likewise.
1837 (RUN_TEST_LOOP_fff_f): Likewise.
1838 (RUN_TEST_c_f): Likewise.
1839 (RUN_TEST_LOOP_c_f): Likewise.
1840 (RUN_TEST_f_f1): Likewise.
1841 (RUN_TEST_LOOP_f_f1): Likewise.
1842 (RUN_TEST_fF_f1): Likewise.
1843 (RUN_TEST_LOOP_fF_f1): Likewise.
1844 (RUN_TEST_fI_f1): Likewise.
1845 (RUN_TEST_LOOP_fI_f1): Likewise.
1846 (RUN_TEST_ffI_f1): Likewise.
1847 (RUN_TEST_LOOP_ffI_f1): Likewise.
1848 (RUN_TEST_c_c): Likewise.
1849 (RUN_TEST_LOOP_c_c): Likewise.
1850 (RUN_TEST_cc_c): Likewise.
1851 (RUN_TEST_LOOP_cc_c): Likewise.
1852 (RUN_TEST_f_i): Likewise.
1853 (RUN_TEST_LOOP_f_i): Likewise.
1854 (RUN_TEST_f_i_tg): Likewise.
1855 (RUN_TEST_LOOP_f_i_tg): Likewise.
1856 (RUN_TEST_ff_i_tg): Likewise.
1857 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1858 (RUN_TEST_f_b): Likewise.
1859 (RUN_TEST_LOOP_f_b): Likewise.
1860 (RUN_TEST_f_b_tg): Likewise.
1861 (RUN_TEST_LOOP_f_b_tg): Likewise.
1862 (RUN_TEST_f_l): Likewise.
1863 (RUN_TEST_LOOP_f_l): Likewise.
1864 (RUN_TEST_f_L): Likewise.
1865 (RUN_TEST_LOOP_f_L): Likewise.
1866 (RUN_TEST_sincos): Likewise.
1867 (RUN_TEST_LOOP_sincos): Likewise.
1868
8269107f
JM
18692013-05-17 Joseph Myers <joseph@codesourcery.com>
1870
bb38759d
JM
1871 [BZ #15480]
1872 [BZ #15485]
1873 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
1874 main case of finite arguments, set rounding mode to FE_TONEAREST
1875 and discard exceptions.
1876 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
1877 exceptions.
1878 (remainder_tonearest_test_data): New variable.
1879 (remainder_test_tonearest): New function.
1880 (remainder_towardzero_test_data): New variable.
1881 (remainder_test_towardzero): New function.
1882 (remainder_downward_test_data): New variable.
1883 (remainder_test_downward): New function.
1884 (remainder_upward_test_data): New variable.
1885 (remainder_test_upward): New function.
1886 (main): Call the new test functions.
1887
a00bdcf0
JM
1888 * math/libm-test.inc (struct test_f_f1_data): Remove field
1889 extra_init.
1890 (struct test_fF_f1_data): Likewise.
1891 (struct test_ffI_f1_data): Likewise.
1892 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
1893 based on value of EXTRA_EXPECTED.
1894 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1895 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
1896 EXTRA_VAR based on value of EXTRA_EXPECTED.
1897 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1898 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
1899 EXTRA_VAR based on value of EXTRA_EXPECTED.
1900 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1901 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
1902 EXTRA_VAR based on value of EXTRA_EXPECTED.
1903 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1904 * math/gen-libm-test.pl (parse_args): Don't output initializers
1905 for extra output values.
1906
de407f79
JM
1907 * math/libm-test.inc (check_int): Expect result to be exactly
1908 equal to expected value and do not handle ulps.
1909 (check_long): Likewise.
1910 (check_longlong): Likewise.
1911
8269107f
JM
1912 * math/libm-test.inc (ceil_test_data): Test for "inexact"
1913 exceptions.
1914 (cimag_test_data): Likewise.
1915 (conj_test_data): Likewise.
1916 (copysign_test_data): Likewise.
1917 (cproj_test_data): Likewise.
1918 (creal_test_data): Likewise.
1919 (fabs_test_data): Likewise.
1920 (fdim_test_data): Likewise.
1921 (finite_test_data): Likewise.
1922 (floor_test_data): Likewise.
1923 (fmax_test_data): Likewise.
1924 (fmin_test_data): Likewise.
1925 (fmod_test_data): Likewise.
1926 (fpclassify_test_data): Likewise.
1927 (frexp_test_data): Likewise.
1928 (ilogb_test_data): Likewise.
1929 (isfinite_test_data): Likewise.
1930 (isgreater_test_data): Likewise.
1931 (isgreaterequal_test_data): Likewise.
1932 (isinf_test_data): Likewise.
1933 (isless_test_data): Likewise.
1934 (islessequal_test_data): Likewise.
1935 (islessgreater_test_data): Likewise.
1936 (isnan_test_data): Likewise.
1937 (isnormal_test_data): Likewise.
1938 (issignaling_test_data): Likewise.
1939 (isunordered_test_data): Likewise.
1940 (ldexp_test_data): Likewise.
1941 (lrint_test_data): Likewise.
1942 (lrint_test_data) [TEST_FLOAT]: Disable one test.
1943 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
1944 (lrint_tonearest_test_data): Test for "inexact" exceptions.
1945 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1946 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
1947 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1948 test input.
1949 (lrint_towardzero_test_data): Test for "inexact" exceptions.
1950 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1951 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
1952 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
1953 that test input.
1954 (lrint_downward_test_data): Test for "inexact" exceptions.
1955 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1956 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
1957 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1958 test input.
1959 (lrint_upward_test_data): Test for "inexact" exceptions.
1960 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
1961 test input.
1962 (llrint_test_data): Test for "inexact" exceptions.
1963 (llrint_test_data) [TEST_FLOAT]: Disable one test.
1964 (llrint_tonearest_test_data): Test for "inexact" exceptions.
1965 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1966 (llrint_towardzero_test_data): Test for "inexact" exceptions.
1967 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1968 (llrint_downward_test_data): Test for "inexact" exceptions.
1969 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1970 (llrint_upward_test_data): Test for "inexact" exceptions.
1971 (logb_test_data): Likewise.
1972 (logb_downward_test_data): Likewise.
1973 (nextafter_test_data): Likewise.
1974 (nexttoward_test_data): Likewise.
1975 (remainder_test_data): Likewise.
1976 (remquo_test_data): Likewise.
1977 (scalbn_test_data): Likewise.
1978 (scalbln_test_data): Likewise.
1979 (signbit_test_data): Likewise.
1980 (sqrt_test_data): Likewise.
1981 (significand_test_data): Likewise.
1982
48a18de1
SP
19832013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1984
1985 [BZ #15424]
1986 * benchtests/bench-modf.c (struct args): Mark arg0 as
1987 volatile.
1988 * scripts/bench.pl: Mark members of struct args as volatile.
1989
13d3b41a
AZ
19902013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1991
68191c1d 1992 [BZ # 15497]
13d3b41a
AZ
1993 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
1994 negative infinity on POWER6 or lower.
1995 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
1996
2848b105
MR
19972013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1998
1999 [BZ #15442]
2000 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2001 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2002 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2003 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2004 (_FP_SETQNAN): New macro.
2005 (_FP_SETQNAN_SEMIRAW): Likewise.
2006 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2007 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2008 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2009 (FP_EXTEND): Use _FP_FRAC_SNANP.
2010 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2011 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2012 into account.
2013 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2014 New macro.
2015 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2016 Likewise.
2017
323e5cb7
JM
20182013-05-16 Joseph Myers <joseph@codesourcery.com>
2019
c58b274f
JM
2020 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2021 with DIVIDE_BY_ZERO_EXCEPTION.
2022 (gamma_test_data): Likewise.
2023 (lgamma_test_data): Likewise.
2024 (log_test_data): Likewise.
2025 (log10_test_data): Likewise.
2026 (log2_test_data): Likewise.
2027 (tgamma_test_data): Likewise.
2028
0ab34904
JM
2029 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2030 (acos_test_tonearest): Likewise.
2031 (acos_test_towardzero): Likewise.
2032 (acos_test_downward): Likewise.
2033 (acos_test_upward): Likewise.
2034 (acosh_test): Likewise.
2035 (asin_test): Likewise.
2036 (asin_test_tonearest): Likewise.
2037 (asin_test_towardzero): Likewise.
2038 (asin_test_downward): Likewise.
2039 (asin_test_upward): Likewise.
2040 (asinh_test): Likewise.
2041 (atan_test): Likewise.
2042 (atanh_test): Likewise.
2043 (atan2_test): Likewise.
2044 (cabs_test): Likewise.
2045 (cacos_test): Likewise.
2046 (cacosh_test): Likewise.
2047 (casin_test): Likewise.
2048 (casinh_test): Likewise.
2049 (catan_test): Likewise.
2050 (catanh_test): Likewise.
2051 (cbrt_test): Likewise.
2052 (ccos_test): Likewise.
2053 (ccosh_test): Likewise.
2054 (cexp_test): Likewise.
2055 (clog_test): Likewise.
2056 (clog10_test): Likewise.
2057 (cos_test): Likewise.
2058 (cos_test_tonearest): Likewise.
2059 (cos_test_towardzero): Likewise.
2060 (cos_test_downward): Likewise.
2061 (cos_test_upward): Likewise.
2062 (cosh_test): Likewise.
2063 (cosh_test_tonearest): Likewise.
2064 (cosh_test_towardzero): Likewise.
2065 (cosh_test_downward): Likewise.
2066 (cosh_test_upward): Likewise.
2067 (cpow_test): Likewise.
2068 (csin_test): Likewise.
2069 (csinh_test): Likewise.
2070 (csqrt_test): Likewise.
2071 (ctan_test): Likewise.
2072 (ctan_test_tonearest): Likewise.
2073 (ctan_test_towardzero): Likewise.
2074 (ctan_test_downward): Likewise.
2075 (ctan_test_upward): Likewise.
2076 (ctanh_test): Likewise.
2077 (ctanh_test_tonearest): Likewise.
2078 (ctanh_test_towardzero): Likewise.
2079 (ctanh_test_downward): Likewise.
2080 (ctanh_test_upward): Likewise.
2081 (erf_test): Likewise.
2082 (erfc_test): Likewise.
2083 (exp_test): Likewise.
2084 (exp_test_tonearest): Likewise.
2085 (exp_test_towardzero): Likewise.
2086 (exp_test_downward): Likewise.
2087 (exp_test_upward): Likewise.
2088 (exp10_test): Likewise.
2089 (exp2_test): Likewise.
2090 (expm1_test): Likewise.
2091 (fmod_test): Likewise.
2092 (gamma_test): Likewise.
2093 (hypot_test): Likewise.
2094 (j0_test): Likewise.
2095 (j1_test): Likewise.
2096 (jn_test): Likewise.
2097 (lgamma_test): Likewise.
2098 (log_test): Likewise.
2099 (log10_test): Likewise.
2100 (log1p_test): Likewise.
2101 (log2_test): Likewise.
2102 (logb_test_downward): Likewise.
2103 (pow_test): Likewise.
2104 (pow_test_tonearest): Likewise.
2105 (pow_test_towardzero): Likewise.
2106 (pow_test_downward): Likewise.
2107 (pow_test_upward): Likewise.
2108 (remainder_test): Likewise.
2109 (remquo_test): Likewise.
2110 (sin_test): Likewise.
2111 (sin_test_tonearest): Likewise.
2112 (sin_test_towardzero): Likewise.
2113 (sin_test_downward): Likewise.
2114 (sin_test_upward): Likewise.
2115 (sincos_test): Likewise.
2116 (sinh_test): Likewise.
2117 (sinh_test_tonearest): Likewise.
2118 (sinh_test_towardzero): Likewise.
2119 (sinh_test_downward): Likewise.
2120 (sinh_test_upward): Likewise.
2121 (sqrt_test): Likewise.
2122 (tan_test): Likewise.
2123 (tan_test_tonearest): Likewise.
2124 (tan_test_towardzero): Likewise.
2125 (tan_test_downward): Likewise.
2126 (tan_test_upward): Likewise.
2127 (tanh_test): Likewise.
2128 (tgamma_test): Likewise.
2129 (y0_test): Likewise.
2130 (y1_test): Likewise.
2131 (yn_test): Likewise.
2132
323e5cb7
JM
2133 * math/gen-libm-test.pl (adjust_arg): Remove function.
2134 (special_function): Remove argument $in_func. Only handle
2135 generating output for tables of tests, not inside functions.
2136 (parse_args): Likewise.
2137 (generate_testfile): Remove variable $in_func. Update call to
2138 parse_args.
2139 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2140 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2141 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2142 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2143 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2144 (MAX_VALUE_INIT): Rename macro to max_value.
2145 (MIN_VALUE_INIT): Rename macro to min_value.
2146 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2147 (plus_zero): Remove variable.
2148 (minus_zero): Likewise.
2149 (plus_infty): Likewise.
2150 (minus_infty): Likewise.
2151 (qnan_value): Likewise.
2152 (max_value): Likewise.
2153 (min_value): Likewise.
2154 (min_subnorm_value): Likewise.
2155
e054f494
RA
21562013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2157
2158 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2159 uint64_t or uint32_t usage.
2160 * crypt/sha256-block.c: Likewise.
2161 * crypt/sha256-crypt.c: Likewise.
2162 * crypt/sha256.c: Likewise.
2163 * crypt/sha512-block.c: Likewise.
2164 * crypt/sha512-crypt.c: Likewise.
2165 * crypt/sha512.c: Likewise.
2166 * debug/backtrace-tst.c: Likewise.
2167 * debug/pcprofiledump.c: Likewise.
2168 * elf/cache.c: Likewise.
2169 * elf/dl-cache.c: Likewise.
2170 * elf/dl-misc.c: Likewise.
2171 * elf/dl-profile.c: Likewise.
2172 * elf/dl-support.c: Likewise.
2173 * elf/ldconfig.c: Likewise.
2174 * elf/sprof.c: Likewise.
2175 * iconv/dummy-repertoire.c: Likewise.
2176 * iconv/iconv_charmap.c: Likewise.
2177 * iconv/skeleton.c: Likewise.
2178 * iconvdata/8bit-generic.c: Likewise.
2179 * iconvdata/cp737.h: Likewise.
2180 * iconvdata/cp775.h: Likewise.
2181 * iconvdata/ibm1008.h: Likewise.
2182 * iconvdata/ibm1025.h: Likewise.
2183 * iconvdata/ibm1046.h: Likewise.
2184 * iconvdata/ibm1097.h: Likewise.
2185 * iconvdata/ibm1112.h: Likewise.
2186 * iconvdata/ibm1122.h: Likewise.
2187 * iconvdata/ibm1123.h: Likewise.
2188 * iconvdata/ibm1124.h: Likewise.
2189 * iconvdata/ibm1129.h: Likewise.
2190 * iconvdata/ibm1130.h: Likewise.
2191 * iconvdata/ibm1132.h: Likewise.
2192 * iconvdata/ibm1133.h: Likewise.
2193 * iconvdata/ibm1137.h: Likewise.
2194 * iconvdata/ibm1140.h: Likewise.
2195 * iconvdata/ibm1141.h: Likewise.
2196 * iconvdata/ibm1142.h: Likewise.
2197 * iconvdata/ibm1143.h: Likewise.
2198 * iconvdata/ibm1144.h: Likewise.
2199 * iconvdata/ibm1145.h: Likewise.
2200 * iconvdata/ibm1146.h: Likewise.
2201 * iconvdata/ibm1147.h: Likewise.
2202 * iconvdata/ibm1148.h: Likewise.
2203 * iconvdata/ibm1149.h: Likewise.
2204 * iconvdata/ibm1153.h: Likewise.
2205 * iconvdata/ibm1154.h: Likewise.
2206 * iconvdata/ibm1155.h: Likewise.
2207 * iconvdata/ibm1156.h: Likewise.
2208 * iconvdata/ibm1157.h: Likewise.
2209 * iconvdata/ibm1158.h: Likewise.
2210 * iconvdata/ibm1160.h: Likewise.
2211 * iconvdata/ibm1161.h: Likewise.
2212 * iconvdata/ibm1162.h: Likewise.
2213 * iconvdata/ibm1163.h: Likewise.
2214 * iconvdata/ibm1164.h: Likewise.
2215 * iconvdata/ibm1166.h: Likewise.
2216 * iconvdata/ibm1167.h: Likewise.
2217 * iconvdata/ibm12712.h: Likewise.
2218 * iconvdata/ibm1390.h: Likewise.
2219 * iconvdata/ibm1399.h: Likewise.
2220 * iconvdata/ibm16804.h: Likewise.
2221 * iconvdata/ibm4517.h: Likewise.
2222 * iconvdata/ibm4899.h: Likewise.
2223 * iconvdata/ibm4909.h: Likewise.
2224 * iconvdata/ibm4971.h: Likewise.
2225 * iconvdata/ibm5347.h: Likewise.
2226 * iconvdata/ibm803.h: Likewise.
2227 * iconvdata/ibm856.h: Likewise.
2228 * iconvdata/ibm901.h: Likewise.
2229 * iconvdata/ibm902.h: Likewise.
2230 * iconvdata/ibm9030.h: Likewise.
2231 * iconvdata/ibm9066.h: Likewise.
2232 * iconvdata/ibm921.h: Likewise.
2233 * iconvdata/ibm922.h: Likewise.
2234 * iconvdata/ibm9448.h: Likewise.
2235 * iconvdata/isiri-3342.h: Likewise.
2236 * iconvdata/jis0201.h: Likewise.
2237 * include/link.h: Likewise.
2238 * include/netdb.h: Likewise.
2239 * inet/check_native.c: Likewise.
2240 * inet/check_pf.c: Likewise.
2241 * inet/getipv4sourcefilter.c: Likewise.
2242 * inet/getnameinfo.c: Likewise.
2243 * inet/getsourcefilter.c: Likewise.
2244 * inet/htonl.c: Likewise.
2245 * inet/setipv4sourcefilter.c: Likewise.
2246 * inet/setsourcefilter.c: Likewise.
2247 * inet/test-inet6_opt.c: Likewise.
2248 * inet/tst-network.c: Likewise.
2249 * locale/C-collate.c: Likewise.
2250 * locale/C-ctype.c: Likewise.
2251 * locale/C-time.c: Likewise.
2252 * locale/C-translit.h: Likewise.
2253 * locale/loadarchive.c: Likewise.
2254 * locale/programs/3level.h: Likewise.
2255 * locale/programs/charmap.c: Likewise.
2256 * locale/programs/charmap.h: Likewise.
2257 * locale/programs/ld-address.c: Likewise.
2258 * locale/programs/ld-collate.c: Likewise.
2259 * locale/programs/ld-ctype.c: Likewise.
2260 * locale/programs/ld-identification.c: Likewise.
2261 * locale/programs/ld-measurement.c: Likewise.
2262 * locale/programs/ld-messages.c: Likewise.
2263 * locale/programs/ld-monetary.c: Likewise.
2264 * locale/programs/ld-name.c: Likewise.
2265 * locale/programs/ld-numeric.c: Likewise.
2266 * locale/programs/ld-paper.c: Likewise.
2267 * locale/programs/ld-telephone.c: Likewise.
2268 * locale/programs/ld-time.c: Likewise.
2269 * locale/programs/linereader.c: Likewise.
2270 * locale/programs/locale.c: Likewise.
2271 * locale/programs/locarchive.c: Likewise.
2272 * locale/programs/locfile.h: Likewise.
2273 * locale/programs/repertoire.c: Likewise.
2274 * locale/programs/simple-hash.c: Likewise.
2275 * locale/programs/simple-hash.h: Likewise.
2276 * malloc/memusage.c: Likewise.
2277 * malloc/memusagestat.c: Likewise.
2278 * nis/nis_defaults.c: Likewise.
2279 * nis/nis_hash.c: Likewise.
2280 * nis/nis_print.c: Likewise.
2281 * nis/nis_xdr.c: Likewise.
2282 * nscd/connections.c: Likewise.
2283 * nscd/hstcache.c: Likewise.
2284 * nscd/nscd_gethst_r.c: Likewise.
2285 * nscd/nscd_getserv_r.c: Likewise.
2286 * nscd/nscd_helper.c: Likewise.
2287 * nscd/servicescache.c: Likewise.
2288 * nss/makedb.c: Likewise.
2289 * nss/nss_db/db-XXX.c: Likewise.
2290 * nss/nss_db/db-initgroups.c: Likewise.
2291 * nss/nss_db/db-netgrp.c: Likewise.
2292 * nss/nss_files/files-network.c: Likewise.
2293 * nss/nss_files/files-parse.c: Likewise.
2294 * posix/bug-regex5.c: Likewise.
2295 * posix/fnmatch_loop.c: Likewise.
2296 * posix/regcomp.c: Likewise.
2297 * posix/regexec.c: Likewise.
2298 * posix/tst-rfc3484-2.c: Likewise.
2299 * posix/tst-rfc3484-3.c: Likewise.
2300 * posix/tst-rfc3484.c: Likewise.
2301 * resolv/nss_dns/dns-canon.c: Likewise.
2302 * resolv/nss_dns/dns-network.c: Likewise.
2303 * resolv/res_init.c: Likewise.
2304 * resolv/res_mkquery.c: Likewise.
2305 * resolv/tst-aton.c: Likewise.
2306 * stdlib/cxa_atexit.c: Likewise.
2307 * stdlib/cxa_finalize.c: Likewise.
2308 * stdlib/gen-fpioconst.c: Likewise.
2309 * stdlib/strtol_l.c: Likewise.
2310 * string/tst-endian.c: Likewise.
2311 * sunrpc/auth_des.c: Likewise.
2312 * sunrpc/clnt_udp.c: Likewise.
2313 * sunrpc/rtime.c: Likewise.
2314 * sunrpc/svcauth_des.c: Likewise.
2315 * sunrpc/xdr.c: Likewise.
2316 * sunrpc/xdr_intXX_t.c: Likewise.
2317 * sunrpc/xdr_rec.c: Likewise.
2318 * sysdeps/generic/ldconfig.h: Likewise.
2319 * sysdeps/generic/ldsodefs.h: Likewise.
2320 * sysdeps/generic/memusage.h: Likewise.
2321 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2322 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2323 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2324 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2325 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2326 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2327 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2328 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2329 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2330 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2331 * sysdeps/posix/getaddrinfo.c: Likewise.
2332 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2333 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2334 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2335 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2336 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2337 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2338 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2339 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2340 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2341 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2342 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2343 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2344 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2345 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2346 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2347 * sysdeps/x86_64/dl-tls.h: Likewise.
2348 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2349 * time/alt_digit.c: Likewise.
2350 * time/era.c: Likewise.
2351 * wcsmbs/tst-c16c32-1.c: Likewise.
2352
8c75f674
JM
23532013-05-16 Joseph Myers <joseph@codesourcery.com>
2354
2355 * math/libm-test.inc (struct test_sincos_data): New type.
2356 (RUN_TEST_LOOP_sincos): New macro.
2357 (sincos_test_data): New variable.
2358 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2359
e6e49e59
RH
23602013-05-16 Richard Henderson <rth@redhat.com>
2361
2362 * math/atest-exp2.c (LIMB64): New macro.
2363 (CONSTSZ): New macro.
2364 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2365 (hexdig): Move ...
2366 (print_mpn_fp): ... to function scope.
2367 (read_mpn_hex): Remove.
2368 (get_log2): Remove.
2369 (exp2_mpn): Use mp_log2.
2370 (main): Use mp_exp1.
2371
15c7c18d
JM
23722013-05-16 Joseph Myers <joseph@codesourcery.com>
2373
105a07df
JM
2374 * math/libm-test.inc: Remove comment about not testing "inexact"
2375 exceptions.
2376 (INEXACT_EXCEPTION): New macro.
2377 (NO_INEXACT_EXCEPTION): Likewise.
2378 (INVALID_EXCEPTION_OK): Update value.
2379 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2380 (OVERFLOW_EXCEPTION_OK): Likewise.
2381 (UNDERFLOW_EXCEPTION_OK): Likewise.
2382 (IGNORE_ZERO_INF_SIGN): Likewise.
2383 (ERRNO_UNCHANGED): Likewise.
2384 (ERRNO_EDOM): Likewise.
2385 (ERRNO_ERANGE): Likewise.
2386 (test_exceptions): Handle testing "inexact" exceptions.
2387 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2388 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2389 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2390 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2391 INEXACT_EXCEPTION.
2392 (rint_towardzero_test_data): Likewise.
2393 (rint_downward_test_data): Likewise.
2394 (rint_upward_test_data): Likewise.
2395
e9eee333
JM
2396 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2397 with OVERFLOW_EXCEPTION.
2398 (exp10_test_data): Likewise.
2399 (exp2_test_data): Likewise.
2400 (expm1_test_data): Likewise.
2401 (lgamma_test_data): Likewise.
2402 (pow_test_data): Likewise.
2403 (tgamma_test_data): Likewise.
2404 (yn_test_data): Remove duplicate test of overflow.
2405
1c38ff73
JM
2406 * math/libm-test.inc (struct test_cc_c_data): New type.
2407 (RUN_TEST_LOOP_cc_c): New macro.
2408 (cpow_test_data): New variable.
2409 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2410
15c7c18d
JM
2411 * math/libm-test.inc (struct test_f_L_data): New type.
2412 (RUN_TEST_LOOP_f_L): New macro.
2413 (llrint_test_data): New variable.
2414 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2415 (llrint_tonearest_test_data): New variable.
2416 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2417 (llrint_towardzero_test_data): New variable.
2418 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2419 (llrint_downward_test_data): New variable.
2420 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2421 (llrint_upward_test_data): New variable.
2422 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2423 (llround_test_data): New variable.
2424 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2425
f137ff13
PC
24262013-05-13 Peter Collingbourne <pcc@google.com>
2427
2428 * math/atest-exp2.c (get_log2): Remove const attribute.
2429
3608cb24
JM
24302013-05-15 Joseph Myers <joseph@codesourcery.com>
2431
2432 * math/libm-test.inc (struct test_f_l_data): New type.
2433 (RUN_TEST_LOOP_f_l): New macro.
2434 (lrint_test_data): New variable.
2435 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2436 (lrint_tonearest_test_data): New variable.
2437 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2438 (lrint_towardzero_test_data): New variable.
2439 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2440 (lrint_downward_test_data): New variable.
2441 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2442 (lrint_upward_test_data): New variable.
2443 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2444 (lround_test_data): New variable.
2445 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2446
39b1f617
PC
24472013-05-15 Peter Collingbourne <pcc@google.com>
2448
1deff3dc
PC
2449 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2450 (EXTRACT_WORDS64) Use where appropriate.
2451 (INSERT_WORDS64) Likewise.
2452
791f3ba0
PC
2453 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2454 constraints with x constraints.
2455 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2456
39b1f617
PC
2457 * malloc/obstack.c (_obstack_compat): Add initializer.
2458
12fba011
EM
24592013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2460
2461 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2462 si_trapno and add si_addr_lsb to _sifields.sigfault.
2463 (si_trapno): Remove macro.
2464 (si_addr_lsb): Define new macro.
2465 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2466
d369f531
JM
24672013-05-15 Joseph Myers <joseph@codesourcery.com>
2468
b861c6c4
JM
2469 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2470 instead of TEST_f_l.
2471 (llrint_test_tonearest): Likewise.
2472 (llrint_test_towardzero): Likewise.
2473 (llrint_test_downward): Likewise.
2474 (llrint_test_upward): Likewise.
2475 (llround_test): Likewise.
2476
7abeee12
JM
2477 * math/libm-test.inc (struct test_f_i_data): Add comment.
2478 (RUN_TEST_LOOP_f_b): New macro.
2479 (RUN_TEST_LOOP_f_b_tg): Likewise.
2480 (finite_test_data): New variable.
2481 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2482 (isfinite_test_data): New variable.
2483 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2484 (isinf_test_data): New variable.
2485 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2486 (isnan_test_data): New variable.
2487 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2488 (isnormal_test_data): New variable.
2489 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2490 (issignaling_test_data): New variable.
2491 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2492 (signbit_test_data): New variable.
2493 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2494
cbe8c4d3
JM
2495 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2496 with INVALID_EXCEPTION.
2497 (acosh_test_data): Likewise.
2498 (asin_test_data): Likewise.
2499 (atanh_test_data): Likewise.
2500 (fmod_test_data): Likewise.
2501 (log_test_data): Likewise.
2502 (log10_test_data): Likewise.
2503 (log2_test_data): Likewise.
2504 (pow_test_data): Likewise.
2505 (sqrt_test_data): Likewise.
2506 (y0_test_data): Likewise.
2507 (y1_test_data): Likewise.
2508 (yn_test_data): Likewise.
2509
5575c0e5
JM
2510 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2511 function contents.
2512
d369f531
JM
2513 * math/libm-test.inc (struct test_ff_i_data): New type.
2514 (RUN_TEST_LOOP_ff_i_tg): New macro.
2515 (isgreater_test_data): New variable.
2516 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2517 (isgreaterequal_test_data): New variable.
2518 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2519 (isless_test_data): New variable.
2520 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2521 (islessequal_test_data): New variable.
2522 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2523 (islessgreater_test_data): New variable.
2524 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2525 (isunordered_test_data): New variable.
2526 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2527
781fd748
DM
25282013-05-14 David S. Miller <davem@davemloft.net>
2529
2530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2531
87aa21df
JM
25322013-05-14 Joseph Myers <joseph@codesourcery.com>
2533
5e908270
JM
2534 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2535
f71172e5
JM
2536 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2537 extra_test to int.
2538 (struct test_f_i_data): Change type of max_ulp to int.
2539
8cfa635a
JM
2540 * math/libm-test.inc (test_ffI_f1_data): New type.
2541 (RUN_TEST_LOOP_ffI_f1): New macro.
2542 (remquo_test_data): New variable.
2543 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2544
2bcb36b2
JM
2545 * setjmp/tst-setjmp-fp.c: New file.
2546 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2547 (link-libm): New variable.
2548 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2549
acbd839a
JM
2550 * math/libm-test.inc (struct test_f_i_data): New type.
2551 (RUN_TEST_LOOP_f_i): New macro.
2552 (RUN_TEST_LOOP_f_i_tg): Likewise.
2553 (fpclassify_test_data): New variable.
2554 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2555 (ilogb_test_data): New variable.
2556 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2557
e414d745
JM
2558 * math/libm-test.inc (scalbln_test): Correct function name in END
2559 call.
2560
d9c2a0fd
JM
2561 * math/libm-test.inc (struct test_f_f1_data): Add comment.
2562 (RUN_TEST_LOOP_fI_f1): New macro.
2563 (frexp_test_data): New variable.
2564 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2565
9dc9095d
JM
2566 * math/libm-test.inc (struct test_fF_f1_data): New type.
2567 (RUN_TEST_LOOP_fF_f1): New macro.
2568 (modf_test_data): New variable.
2569 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2570
87aa21df
JM
2571 * math/libm-test.inc (struct test_f_f1_data): New type.
2572 (RUN_TEST_LOOP_f_f1): New macro.
2573 (gamma_test_data): New variable.
2574 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2575 (lgamma_test_data): New variable.
2576 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2577
141af660
CD
25782013-05-13 Carlos O'Donell <carlos@redhat.com>
2579
2580 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2581 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2582 (main): Comment "tls" pseudo-hwcap.
2583
6d33265c
JM
25842013-05-13 Joseph Myers <joseph@codesourcery.com>
2585
68fc074c
JM
2586 * math/libm-test.inc (struct test_fl_f_data): New type.
2587 (RUN_TEST_LOOP_fl_f): New variable.
2588 (scalbln_test_data): New variable.
2589 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2590
243216e1
JM
2591 * math/libm-test.inc (struct test_fi_f_data): New type.
2592 (RUN_TEST_LOOP_fi_f): New macro.
2593 (ldexp_test_data): New variable.
2594 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2595 (scalbn_test_data): New variable.
2596 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2597
6a1992e2
JM
2598 * math/libm-test.inc (struct test_c_f_data): New type.
2599 (RUN_TEST_LOOP_c_f): New macro.
2600 (cabs_test_data): New variable.
2601 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2602 (carg_test_data): New variable.
2603 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2604 (cimag_test_data): New variable.
2605 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2606 (creal_test_data): New variable.
2607 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2608
0e400df5
JM
2609 * math/libm-test.inc (struct test_if_f_data): New type.
2610 (RUN_TEST_LOOP_if_f): New macro.
2611 (jn_test_data): New variable.
2612 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2613 (yn_test_data): New variable.
2614 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2615
6d33265c
JM
2616 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2617
f98ece5f
AZ
26182013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2619
2620 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2621 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2622
0f7d347b
SP
26232013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2624
43fe811b
SP
2625 * benchtests/Makefile (CPPFLAGS-nonlib): Add
2626 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2627 (bench-deps): Add bench-timing.h.
2628 * benchtests-bench-skeleton.c: Include bench-timing.h.
2629 (main): Use TIMING_* macros instead of clock_gettime.
2630 * benchtests/bench-timing.h: New file.
2631
0f7d347b
SP
2632 [BZ #14582]
2633 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2634 Renamed from _LIB_VERSION.
2635 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2636
601a3a5f
JM
26372013-05-12 Joseph Myers <joseph@codesourcery.com>
2638
4f184d30
JM
2639 * math/libm-test.inc (struct test_fff_f_data): New type.
2640 (RUN_TEST_LOOP_fff_f): New macro.
2641 (fma_test_data): New variable.
2642 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2643 (fma_towardzero_test_data): New variable.
2644 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2645 (fma_downward_test_data): New variable.
2646 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2647 (fma_upward_test_data): New variable.
2648 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2649
08198877
JM
2650 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2651 (struct test_c_c_data): New type.
2652 (RUN_TEST_LOOP_c_c): New macro.
2653 (cacos_test_data): New variable.
2654 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2655 (cacosh_test_data): New variable.
2656 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2657 (casin_test_data): New variable.
2658 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2659 (casinh_test_data): New variable.
2660 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2661 (catan_test_data): New variable.
2662 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2663 (catanh_test_data): New variable.
2664 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2665 (ccos_test_data): New variable.
2666 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2667 (ccosh_test_data): New variable.
2668 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2669 (cexp_test_data): New variable.
2670 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2671 (clog_test_data): New variable.
2672 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2673 (clog10_test_data): New variable.
2674 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2675 (conj_test_data): New variable.
2676 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2677 (cproj_test_data): New variable.
2678 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2679 (csin_test_data): New variable.
2680 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2681 (csinh_test_data): New variable.
2682 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2683 (csqrt_test_data): New variable.
2684 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2685 (ctan_test_data): New variable.
2686 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2687 (ctan_tonearest_test_data): New variable.
2688 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2689 (ctan_towardzero_test_data): New variable.
2690 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2691 (ctan_downward_test_data): New variable.
2692 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2693 (ctan_upward_test_data): New variable.
2694 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2695 (ctanh_test_data): New variable.
2696 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2697 (ctanh_tonearest_test_data): New variable.
2698 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2699 (ctanh_towardzero_test_data): New variable.
2700 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2701 (ctanh_downward_test_data): New variable.
2702 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2703 (ctanh_upward_test_data): New variable.
2704 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2705 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2706 of BUILD_COMPLEX.
2707
601a3a5f
JM
2708 * math/libm-test.inc (struct test_ff_f_data): New type.
2709 (struct test_ff_f_data_nexttoward): Likewise.
2710 (RUN_TEST_LOOP_2_f): New macro.
2711 (RUN_TEST_LOOP_ff_f): Likewise.
2712 (atan2_test_data): New variable.
2713 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2714 (copysign_test_data): New variable.
2715 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2716 (fdim_test_data): New variable.
2717 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2718 (fmax_test_data): New variable.
2719 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2720 (fmin_test_data): New variable.
2721 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2722 (fmod_test_data): New variable.
2723 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2724 (hypot_test_data): New variable.
2725 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2726 (nextafter_test_data): New variable.
2727 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2728 (nexttoward_test_data): New variable.
2729 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2730 (pow_test_data): New variable.
2731 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2732 (pow_tonearest_test_data): New variable.
2733 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2734 (pow_towardzero_test_data): New variable.
2735 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2736 (pow_downward_test_data): New variable.
2737 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2738 (pow_upward_test_data): New variable.
2739 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2740 (remainder_test_data): New variable.
2741 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2742 (scalb_test_data): New variable.
2743 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2744 * sysdeps/i386/fpu/libm-test-ulps: Update.
2745
74c57478
JM
27462013-05-11 Joseph Myers <joseph@codesourcery.com>
2747
8329e4da
JM
2748 * math/libm-test.inc (fma_test): Use max_value instead of local
2749 variable fltmax.
2750 (nextafter_test): Likewise.
2751
74c57478
JM
2752 * math/libm-test.inc (acos_towardzero_test_data): New variable.
2753 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2754 (acos_downward_test_data): New variable.
2755 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2756 (acos_upward_test_data): New variable.
2757 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2758 (acosh_test_data): New variable.
2759 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2760 (asin_test_data): New variable.
2761 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2762 (asin_tonearest_test_data): New variable.
2763 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2764 (asin_towardzero_test_data): New variable.
2765 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2766 (asin_downward_test_data): New variable.
2767 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2768 (asin_upward_test_data): New variable.
2769 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2770 (asinh_test_data): New variable.
2771 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2772 (atan_test_data): New variable.
2773 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2774 (atanh_test_data): New variable.
2775 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2776 (cbrt_test_data): New variable.
2777 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2778 (ceil_test_data): New variable.
2779 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2780 (cos_test_data): New variable.
2781 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2782 (cos_tonearest_test_data): New variable.
2783 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2784 (cos_towardzero_test_data): New variable.
2785 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2786 (cos_downward_test_data): New variable.
2787 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2788 (cos_upward_test_data): New variable.
2789 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2790 (cosh_test_data): New variable.
2791 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2792 (cosh_tonearest_test_data): New variable.
2793 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2794 (cosh_towardzero_test_data): New variable.
2795 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2796 (cosh_downward_test_data): New variable.
2797 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2798 (cosh_upward_test_data): New variable.
2799 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2800 (erf_test_data): New variable.
2801 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2802 (erfc_test_data): New variable.
2803 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2804 (exp_test_data): New variable.
2805 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2806 (exp_tonearest_test_data): New variable.
2807 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2808 (exp_towardzero_test_data): New variable.
2809 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2810 (exp_downward_test_data): New variable.
2811 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2812 (exp_upward_test_data): New variable.
2813 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2814 (exp10_test_data): New variable.
2815 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2816 (exp2_test_data): New variable.
2817 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2818 (expm1_test_data): New variable.
2819 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2820 (fabs_test_data): New variable.
2821 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2822 (floor_test_data): New variable.
2823 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2824 (j0_test_data): New variable.
2825 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2826 (j1_test_data): New variable.
2827 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
2828 (log_test_data): New variable.
2829 (log_test): Run tests with RUN_TEST_LOOP_f_f.
2830 (log10_test_data): New variable.
2831 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
2832 (log1p_test_data): New variable.
2833 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
2834 (log2_test_data): New variable.
2835 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
2836 (logb_test_data): New variable.
2837 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
2838 (logb_downward_test_data): New variable.
2839 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2840 (nearbyint_test_data): New variable.
2841 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
2842 (rint_test_data): New variable.
2843 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
2844 (rint_tonearest_test_data): New variable.
2845 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2846 (rint_towardzero_test_data): New variable.
2847 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2848 (rint_downward_test_data): New variable.
2849 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2850 (rint_upward_test_data): New variable.
2851 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2852 (round_test_data): New variable.
2853 (round_test): Run tests with RUN_TEST_LOOP_f_f.
2854 (sin_test_data): New variable.
2855 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
2856 (sin_tonearest_test_data): New variable.
2857 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2858 (sin_towardzero_test_data): New variable.
2859 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2860 (sin_downward_test_data): New variable.
2861 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2862 (sin_upward_test_data): New variable.
2863 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2864 (sinh_test_data): New variable.
2865 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
2866 (sinh_tonearest_test_data): New variable.
2867 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2868 (sinh_towardzero_test_data): New variable.
2869 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2870 (sinh_downward_test_data): New variable.
2871 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2872 (sinh_upward_test_data): New variable.
2873 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2874 (sqrt_test_data): New variable.
2875 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
2876 (tan_test_data): New variable.
2877 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
2878 (tan_tonearest_test_data): New variable.
2879 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2880 (tan_towardzero_test_data): New variable.
2881 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2882 (tan_downward_test_data): New variable.
2883 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2884 (tan_upward_test_data): New variable.
2885 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2886 (tanh_test_data): New variable.
2887 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
2888 (tgamma_test_data): New variable.
2889 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
2890 (trunc_test_data): New variable.
2891 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
2892 (y0_test_data): New variable.
2893 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
2894 (y1_test_data): New variable.
2895 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
2896 (significand_test_data): New variable.
2897 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
2898
7187d844
CG
28992013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
2900
2901 [BZ #12387]
2902 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
2903
f63fae73
PT
29042013-05-10 Pino Toscano <toscano.pino@tiscali.it>
2905
2906 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
2907
8a67a4b3
AJ
29082013-05-10 Andreas Jaeger <aj@suse.de>
2909
2910 [BZ #15448]
2911 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
2912 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
2913
51df539d
JM
29142013-05-10 Joseph Myers <joseph@codesourcery.com>
2915
2916 * math/gen-libm-test.pl (adjust_arg): New function.
2917 (special_functions): Handle generating output in both functions
2918 and arrays.
2919 (parse_args): Likewise.
2920 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
2921 $in_func argument to parse_args.
2922 * math/libm-test.inc (struct test_f_f_data): New type.
2923 (IF_ROUND_INIT_): New macro.
2924 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2925 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2926 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2927 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2928 (ROUND_RESTORE_): Likewise.
2929 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2930 (ROUND_RESTORE_FE_TONEAREST): Likewise.
2931 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2932 (ROUND_RESTORE_FE_UPWARD): Likewise.
2933 (RUN_TEST_LOOP_f_f): New macro.
2934 (acos_test_data): New variable.
2935 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
2936 (acos_tonearest_test_data): New variable.
2937 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2938
5c637fe5
SP
29392013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2940
2941 * benchtests/bench-skeleton.c (startup): Fix coding style.
2942
ab2b9461
JM
29432013-05-10 Joseph Myers <joseph@codesourcery.com>
2944
2945 [BZ #6809]
2946 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
2947 negative infinity argument.
2948 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
2949 negative infinity argument.
2950 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
2951 negative infinity argument.
2952 * math/libm-test.inc (tgamma_test): Expect errno to be set for
2953 domain errors.
2954
4c0fe6fe
FW
29552013-05-10 Florian Weimer <fweimer@redhat.com>
2956
2957 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
2958 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
2959 * iconv/iconv_prog.c (main): Likewise.
2960 * locale/programs/charmap-dir.c (charmap_readdir)
2961 (fopen_uncompressed): Likewise.
2962 * locale/programs/locfile.c (siblings_uncached)
2963 (write_locale_data): Use lstat64 instead of lstat.
2964 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
2965 stat.
2966
a3375d29
AJ
29672013-05-10 Andreas Jaeger <aj@suse.de>
2968
2969 [BZ #15395]
2970 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
2971 localization.
2972 Include <locale.h>.
2973
36129722
CD
29742013-05-09 Carlos O'Donell <carlos@redhat.com>
2975
2976 * elf/dl-close.c (_dl_close_worker): Add comments.
2977
faa7f811
JM
29782013-05-09 Joseph Myers <joseph@codesourcery.com>
2979
ed41ffef
JM
2980 [BZ #15359]
2981 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
2982 high part of pi/2.
2983 (__ieee754_rem_pio2l): Update comments.
2984
d0213cd0
JM
2985 [BZ #15429]
2986 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
2987 high part of pi/2.
2988 (__ieee754_rem_pio2l): Update comments.
2989
0d3e777a
JM
2990 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
2991 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
2992
24f56066
JM
2993 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
2994 M_PI_4l.
2995
faa7f811
JM
2996 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
2997 (M_PI_34_LOG10El): Likewise.
2998 (M_PI2_LOG10El): Likewise.
2999 (M_PI4_LOG10El): Likewise.
3000 (M_PI_LOG10El): Likewise.
3001
e9a5e0fd
AZ
30022013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3003
3004 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3005
d8cd06db
JM
30062013-05-08 Joseph Myers <joseph@codesourcery.com>
3007
a0d9f9d7
JM
3008 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3009 (MINUS_ZERO_INIT): Likewise.
3010 (PLUS_INFTY_INIT): Likewise.
3011 (MINUS_INFTY_INIT): Likewise.
3012 (QNAN_VALUE_INIT): Likewise.
3013 (MAX_VALUE_INIT): Likewise.
3014 (MIN_VALUE_INIT): Likewise.
3015 (MIN_SUBNORM_VALUE_INIT): Likewise.
3016 (plus_zero): Initialize with PLUS_ZERO_INIT.
3017 (minus_zero): Initialize with MINUS_ZERO_INIT.
3018 (plus_infty): Initialize with PLUS_INFTY_INIT.
3019 (minus_infty): Initialize with MINUS_INFTY_INIT.
3020 (qnan_value): Initialize with QNAN_VALUE_INIT.
3021 (max_value): Initialize with MAX_VALUE_INIT.
3022 (min_value): Initialize with MIN_VALUE_INIT.
3023 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3024
ae08db3b
JM
3025 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3026 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3027 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3028 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3029
f44bf14a
JM
3030 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3031 (RUN_TEST_2_f): Likewise.
3032 (RUN_TEST_ff_f): Likewise.
3033 (RUN_TEST_fi_f): Likewise.
3034 (RUN_TEST_fl_f): Likewise.
3035 (RUN_TEST_fff_f): Likewise.
3036 (RUN_TEST_c_f): Likewise.
3037 (RUN_TEST_f_f1): Likewise.
3038 (RUN_TEST_fF_f1): Likewise.
3039 (RUN_TEST_fI_f1): Likewise.
3040 (RUN_TEST_ffI_f1): Likewise.
3041 (RUN_TEST_c_c): Likewise.
3042 (RUN_TEST_cc_c): Likewise.
3043 (RUN_TEST_f_i): Likewise.
3044 (RUN_TEST_f_i_tg): Likewise.
3045 (RUN_TEST_ff_i_tg): Likewise.
3046 (RUN_TEST_f_b): Likewise.
3047 (RUN_TEST_f_b_tg): Likewise.
3048 (RUN_TEST_f_l): Likewise.
3049 (RUN_TEST_f_L): Likewise.
3050 (RUN_TEST_sincos): Likewise.
3051 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3052 whether to show exceptions. Do not include ");\n" in return
3053 value.
3054 (special_functions): Output call to RUN_TEST_sincos instead of
3055 check_float calls. Update calls to new_test.
3056 (parse_args): Output call to single RUN_TEST_* macro instead of
3057 check_* calls and other assignments. Update calls to new_test.
3058
d8cd06db
JM
3059 [BZ #2546]
3060 [BZ #2560]
3061 [BZ #5159]
3062 [BZ #15426]
3063 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3064 input to result for tgamma overflow.
3065 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3066 (gamma_coeff): New variable.
3067 (NCOEFF): New macro.
3068 (gamma_positive): New function.
3069 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3070 underflow here. Use gamma_positive instead of exp (lgamma) for
3071 other arguments.
3072 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3073 (gamma_coeff): New variable.
3074 (NCOEFF): New macro.
3075 (gammaf_positive): New function.
3076 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3077 underflow here. Use gamma_positive instead of exp (lgamma) for
3078 other arguments.
3079 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3080 (gamma_coeff): New variable.
3081 (NCOEFF): New macro.
3082 (gammal_positive): New function.
3083 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3084 underflow here. Use gamma_positive instead of exp (lgamma) for
3085 other arguments.
3086 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3087 (gamma_coeff): New variable.
3088 (NCOEFF): New macro.
3089 (gammal_positive): New function.
3090 (__ieee754_gammal_r): Handle positive infinity, overflow and
3091 underflow here. Handle NaN the same as positive infinity. Remove
3092 check x < 0xffffffff for negative integers. Use gamma_positive
3093 instead of exp (lgamma) for other arguments.
3094 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3095 (gamma_coeff): New variable.
3096 (NCOEFF): New macro.
3097 (gammal_positive): New function.
3098 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3099 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3100 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3101 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3102 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3103 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3104 * sysdeps/generic/math_private.h (__gamma_productf): New
3105 prototype.
3106 (__gamma_product): Likewise.
3107 (__gamma_productl): Likewise.
3108 * math/Makefile (libm-calls): Add gamma_product.
3109 * math/libm-test.inc (tgamma_test): Add more tests.
3110 * sysdeps/i386/fpu/libm-test-ulps: Update.
3111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3112
bb7cf681
OB
31132013-05-08 Ondřej Bílka <neleai@seznam.cz>
3114
3115 * benchtests/bench-skeleton.c (main): Preheat CPU.
3116
ba853947
AJ
31172013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3118
3119 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3120
8347c74c
RM
31212013-05-07 Roland McGrath <roland@hack.frob.com>
3122
3123 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3124 and _dl_skip_args_internal.
3125
e8dd4791
CD
31262013-05-07 Carlos O'Donell <carlos@redhat.com>
3127
3128 * manual/message.texi (Message Translation): Talk about users.
3129 Message to key mapping impacts design.
3130
c7405830
RM
31312013-05-06 Roland McGrath <roland@hack.frob.com>
3132
a9173057
RM
3133 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3134
976e2f03
RM
3135 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3136
9723ffc5
RM
3137 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3138 * sysdeps/wordsize-64/glob64.c: ... here.
3139
962e6658
RM
3140 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3141 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3142 New macros.
3143
ee586a6d
RM
3144 * debug/getlogin_r_chk.c: Moved to ...
3145 * login/getlogin_r_chk.c: ... here.
3146 * debug/Makefile (routines): Move getlogin_r_chk to ...
3147 * login/Makefile (routines): ... here.
3148 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3149 * login/Versions (libc: GLIBC_2.4): ... here.
3150
355f9165
RM
3151 * io/poll.c (__poll): Renamed from poll.
3152 Add libc_hidden_def.
3153 (poll): Define as weak alias.
3154
bd9ffde6
RM
3155 * debug/ptsname_r_chk.c: Moved to ...
3156 * login/ptsname_r_chk.c: ... here.
3157 * debug/Makefile (routines): Move ptsname_r_chk to ...
3158 * login/Makefile (routines): ... here.
3159 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3160 * login/Versions (libc: GLIBC_2.4): ... here.
3161
8fb16a04
RM
3162 * posix/getlogin.c: Moved to ...
3163 * login/getlogin.c: ... here.
3164 * posix/getlogin_r.c: Moved to ...
3165 * login/getlogin_r.c: ... here.
3166 * posix/getlogin_r.c: Moved to ...
3167 * login/getlogin_r.c: ... here.
3168 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3169 * login/Makefile (routines): ... here.
3170 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3171 * login/Versions (libc: GLIBC_2.0): ... here.
3172
b99b892f
RM
3173 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3174 (setrlimit): Define as weak alias.
3175
c7405830
RM
3176 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3177 Call __ names for open, ftruncate, and close.
3178 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3179 (truncate): Define as weak alias.
3180
5bf96de5
JM
31812013-05-06 Joseph Myers <joseph@codesourcery.com>
3182
9ea3513c
JM
3183 * math/gen-libm-test.pl (parse_args): Initialize x before each
3184 test of frexp, modf and remquo.
3185
5bf96de5
JM
3186 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3187 test signgam value.
3188
16e616a7
AZ
31892013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3190
3191 [BZ #15418]
3192 [BZ #15419]
3193 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3194 internal tests.
3195 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3196
d5e82754
RM
31972013-05-06 Roland McGrath <roland@hack.frob.com>
3198
3199 * elf/dl-writev.h: New file.
3200 * elf/dl-misc.c: Include it.
3201 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3202 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3203
a7548d41
JM
32042013-05-04 Joseph Myers <joseph@codesourcery.com>
3205
b7dab1e4
JM
3206 * math/libm-test.inc (noXFails): Remove variable.
3207 (noXPasses): Likewise.
3208 (BUILD_COMPLEX_INT): Remove macro.
3209 (print_screen): Remove xfail argument.
3210 (print_screen_max_error): Likewise.
3211 (update_stats): Likewise.
3212 (print_max_error): Likewise. Update calls to other affected
3213 functions.
3214 (print_complex_max_error): Likewise.
3215 (test_single_exception): Update calls to print_screen.
3216 (test_single_errno): Likewise.
3217 (check_float_internal): Remove xfail argument. Update calls to
3218 other affected functions.
3219 (check_float): Likewise.
3220 (check_complex): Likewise.
3221 (check_int): Likewise.
3222 (check_long): Likewise.
3223 (check_bool): Likewise.
3224 (check_longlong): Likewise.
3225 (main): Don't print noXFails and noXPasses.
3226 * math/gen-libm-test.pl (top level): Don't mention expected
3227 failure handling in comment.
3228 (new_test): Don't handle expected failures.
3229 (parse_args): Don't mention expected failure handling in comment.
3230 (generate_testfile): Don't handle expected failures.
3231 (parse_ulps): Likewise.
3232 (print_ulps_file): Likewise.
3233 (get_failure): Remove function.
3234 (output_test): Don't handle expected failures.
3235 * make/README.libm-test: Don't mention expected failure handling.
3236
a7548d41
JM
3237 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3238 (minus_zero): Likewise.
3239 (plus_infty): Likewise.
3240 (minus_infty): Likewise.
3241 (qnan_value): Likewise.
3242 (max_value): Likewise.
3243 (min_value): Likewise.
3244 (min_subnorm_value): Likewise.
3245 (initialize): Do not initialize those variables dynamically.
3246
60bfd54c
RM
32472013-05-03 Roland McGrath <roland@hack.frob.com>
3248
cc0e6ed8
RM
3249 * io/open.c (__open_2): Moved to ...
3250 * io/open_2.c: ... this new file.
3251 * io/open64.c (__open64_2): Moved to ...
3252 * io/open64_2.c: ... this new file.
3253 * io/openat.c (__openat_2): Moved to ...
3254 * io/openat_2.c: ... this new file.
3255 * io/openat64.c (__openat64_2): Moved to ...
3256 * io/openat64_2.c: ... this new file.
3257 * io/Makefile (routines): Add them.
3258 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3259 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3260 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3261 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3262 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3263 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3264 (__openat64): Add hidden_ver.
3265 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3266 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3267
60bfd54c
RM
3268 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3269 Separately conditionalize setting of GLRO(dl_sysinfo) so
3270 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3271 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3272
83e7640f
AZ
32732013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3274
3275 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3276 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3277 definition.
3278 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3279 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3280 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3281 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3282 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3283
d5dc2af3
JM
32842013-05-03 Joseph Myers <joseph@codesourcery.com>
3285
c31a5b1e
JM
3286 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3287 test signgam value.
3288
d5dc2af3
JM
3289 * math/libm-test.inc (hypot_test): Do not use
3290 IGNORE_ZERO_INF_SIGN.
3291
164fd39d
AJ
32922013-05-03 Andreas Jaeger <aj@suse.de>
3293
3294 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3295 Linux 3.9.
3296 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3297 (PF_MAX): Adjust for VSOCK change.
3298
8237f48c
AZ
32992013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3300
3301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3302
9df02941
CD
33032013-05-02 Carlos O'Donell <carlos@redhat.com>
3304
3305 [BZ #15264]
3306 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3307 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3308 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3309
d422395e
DM
33102013-05-02 David S. Miller <davem@davemloft.net>
3311
3312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3313
a07c5731
OB
33142013-05-01 Ondřej Bílka <neleai@seznam.cz>
3315
3316 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3317
1324e37f
RM
33182013-05-01 Roland McGrath <roland@hack.frob.com>
3319
3320 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3321
0695940b
RS
33222013-05-01 Richard Smith <richard@metafoo.co.uk>
3323
bb5f27ad 3324 [BZ #14952]
0695940b
RS
3325 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3326 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3327 Use __attribute__ ((__gnu_inline__)).
3328 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3329 Don't use __attribute__ ((__gnu_inline__)).
3330
10de07f5
JM
33312013-05-01 Joseph Myers <joseph@codesourcery.com>
3332
3333 [BZ #15423]
3334 * math/s_catan.c (__catan): Handle small real or imaginary part of
3335 input specially to avoid spurious underflow.
3336 * math/s_catanf.c (__catanf): Likewise.
3337 * math/s_catanh.c (__catanh): Likewise.
3338 * math/s_catanhf.c (__catanhf): Likewise.
3339 * math/s_catanhl.c (__catanhl): Likewise.
3340 * math/s_catanl.c (__catanl): Likewise.
3341 * math/libm-test.inc (catan_test): Add more tests.
3342 (catanh_test): Likewise.
3343 * sysdeps/i386/fpu/libm-test-ulps: Update.
3344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3345
cb4d5414
AZ
33462013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3347
3348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3349
caf84319
JM
33502013-04-30 Joseph Myers <joseph@codesourcery.com>
3351
3352 [BZ #15416]
3353 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3354 accurately for denominator in atan2.
3355 * math/s_catanf.c (__catanf): Likewise.
3356 * math/s_catanh.c (__catanh): Likewise.
3357 * math/s_catanhf.c (__catanhf): Likewise.
3358 * math/s_catanhl.c (__catanhl): Likewise.
3359 * math/s_catanl.c (__catanl): Likewise.
3360 * math/libm-test.inc (catan_test): Add more tests.
3361 (catanh_test): Likewise.
3362 * sysdeps/i386/fpu/libm-test-ulps: Update.
3363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3364
d569c6ee
SP
33652013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3366
6dbe713d
SP
3367 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3368
f0ee064b
SP
3369 * benchtests/Makefile (bench): Remove slow benchmarks.
3370 * benchtests/atan-inputs: Add slow benchmark inputs.
3371 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3372 (BENCH_FUNC): Accept variant offset.
3373 (VARIANT): Define.
3374 * benchtests/bench-skeleton.c (main): Run benchmark for each
3375 variant.
3376 * benchtests/cos-inputs: Add slow benchmark inputs.
3377 * benchtests/exp-inputs: Likewise.
3378 * benchtests/pow-inputs: Likewise.
3379 * benchtests/sin-inputs: Likewise.
3380 * benchtests/slowatan-inputs: Remove.
3381 * benchtests/slowatan.c: Remove.
3382 * benchtests/slowcos-inputs: Remove.
3383 * benchtests/slowcos.c: Remove.
3384 * benchtests/slowexp-inputs: Remove.
3385 * benchtests/slowexp.c: Remove.
3386 * benchtests/slowpow-inputs: Remove.
3387 * benchtests/slowpow.c: Remove.
3388 * benchtests/slowsin-inputs: Remove.
3389 * benchtests/slowsin.c: Remove.
3390 * benchtests/slowtan-inputs: Remove.
3391 * benchtests/slowtan.c: Remove.
3392 * benchtests/tan-inputs: Add slow benchmark inputs.
3393 * scripts/bench.pl: Parse comments and directives.
3394
d569c6ee
SP
3395 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3396 in CPPFLAGS.
3397 ($(objpfx)bench-%.c): Remove *-ITER.
3398 * benchtests/bench-modf.c: Remove definition of ITER.
3399 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3400 (main): Loop for DURATION seconds instead of fixed number of
3401 iterations.
3402 * scripts/bench.pl: Don't expect iterations in parameters.
3403
a6a242fe
RM
34042013-04-29 Roland McGrath <roland@hack.frob.com>
3405
3406 * io/fchdir.c (__fchdir): Renamed from fchdir.
3407 (fchdir): Define as weak alias.
3408
f2da7793
JM
34092013-04-29 Joseph Myers <joseph@codesourcery.com>
3410
3411 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3412 (ERRNO_EDOM): Likewise.
3413 (ERRNO_ERANGE): Likewise.
3414 (noErrnoTests): New variable.
3415 (init_max_error): Set errno to 0.
3416 (test_single_errno): New function.
3417 (test_errno): Likewise.
3418 (check_float_internal): Call test_errno. Set errno to 0.
3419 (check_complex): Refer to errno tests in comment.
3420 (check_int): Call test_errno. Set errno to 0.
3421 (check_long): Likewise.
3422 (check_bool): Likewise.
3423 (check_longlong): Likewise.
3424 (cos_test): Use ERRNO_* flags for errno tests instead of
3425 check_int.
3426 (expm1_test): Likewise.
3427 (fmod_test): Likewise.
3428 (ilogb_test): Likewise.
3429 (lgamma_test): Likewise.
3430 (pow_test): Likewise.
3431 (remainder_test): Likewise.
3432 (sin_test): Likewise.
3433 (tan_test): Likewise.
3434 (yn_test): Likewise.
3435 (initialize): Set errno to 0.
3436 (main): Print number of errno tests.
3437 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3438
b1a36ceb
AJ
34392013-04-29 Andreas Jaeger <aj@suse.de>
3440
c3ed8088
AJ
3441 [BZ #15084]
3442 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3443 and RES_USEVC.
3444
f1a24198
AJ
3445 [BZ #15085]
3446 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3447 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3448 unimplemented.
3449
9ce3b2cb
AJ
3450 [BZ #15380]
3451 * stdlib/random.c (__initstate): Return NULL if
3452 __initstate fails.
3453
f1a24198 3454 [BZ #15086]
b1a36ceb
AJ
3455 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3456 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3457 RES_SNGLKUPREOP.
3458
7e7b6f36
AZ
34592013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3460
3461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3462
4d14f449
JM
34632013-04-29 Joseph Myers <joseph@codesourcery.com>
3464
3465 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3466 of individual tests.
3467 (casin_test): Likewise.
3468 (casinh_test): Likewise.
3469
5b4217d7
JM
34702013-04-27 Joseph Myers <joseph@codesourcery.com>
3471
3472 [BZ #15409]
3473 * math/s_catan.c (__catan): Handle arguments with large real or
3474 imaginary part separately without squaring.
3475 * math/s_catanf.c (__catanf): Likewise.
3476 * math/s_catanh.c (__catanh): Likewise.
3477 * math/s_catanhf.c (__catanhf): Likewise.
3478 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3479 and redefine.
3480 (__catanhl): Handle arguments with large real or imaginary part
3481 separately without squaring.
3482 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3483 and redefine.
3484 (__catanl): Handle arguments with large real or imaginary part
3485 separately without squaring.
3486 * math/libm-test.inc (catan_test): Add more tests.
3487 (catanh_test): Likewise.
3488 * sysdeps/i386/fpu/libm-test-ulps: Update.
3489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3490
4220c3ef
AJ
34912013-04-27 Andreas Jaeger <aj@suse.de>
3492
3493 [BZ #15007]
3494 * stdlib/stdlib.h: Update guards for qecvt.
3495 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3496 <stdlib.h>.
3497
4721b2d1
AM
34982013-04-27 Allan McRae <allan@archlinux.org>
3499
3500 * sysdeps/i386/fpu/libm-test-ulps: Update.
3501
f0302940
JM
35022013-04-26 Joseph Myers <joseph@codesourcery.com>
3503
9457fd95
JM
3504 [BZ #15406]
3505 * math/s_catan.c: Include <float.h>.
3506 (__catan): Ensure underflow exception occurs for underflowed
3507 result.
3508 * math/s_catanf.c: Include <float.h>.
3509 (__catanf): Ensure underflow exception occurs for underflowed
3510 result.
3511 * math/s_catanh.c: Include <float.h>.
3512 (__catanh): Ensure underflow exception occurs for underflowed
3513 result.
3514 * math/s_catanhf.c: Include <float.h>.
3515 (__catanhf): Ensure underflow exception occurs for underflowed
3516 result.
3517 * math/s_catanhl.c: Include <float.h>.
3518 (__catanhl): Ensure underflow exception occurs for underflowed
3519 result.
3520 * math/s_catanl.c: Include <float.h>.
3521 (__catanl): Ensure underflow exception occurs for underflowed
3522 result.
3523 * math/libm-test.inc (catan_test): Add more tests.
3524 (catanh_test): Likewise.
3525
f0302940
JM
3526 [BZ #15405]
3527 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3528 underflowed result.
3529 * math/s_ccoshf.c (__ccoshf): Likewise.
3530 * math/s_ccoshl.c (__ccoshl): Likewise.
3531 * math/s_csin.c (__csin): Likewise.
3532 * math/s_csinf.c (__csinf): Likewise.
3533 * math/s_csinh.c (__csinh): Likewise.
3534 * math/s_csinhf.c (__csinhf): Likewise.
3535 * math/s_csinhl.c (__csinhl): Likewise.
3536 * math/s_csinl.c (__csinl): Likewise.
3537 * math/libm-test.inc (ccos_test): Add more tests.
3538 (ccosh_test): Likewise.
3539 (csin_test): Likewise.
3540 (csinh_test): Likewise.
3541
aa630f59
AZ
35422013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3543
3544 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3545 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3546 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3547 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3548 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3549 powerpc/power5+/fpu folders.
3550 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3551
3552
1b835983
MT
35532013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3554
3555 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3556
73709b26
JM
35572013-04-25 Joseph Myers <joseph@codesourcery.com>
3558
3559 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3560 additions to variable.
3561 [$(config-machine) = x86_64] (modules-names): Likewise.
3562 ($(objpfx)tst-audit3): Remove dependency.
3563 ($(objpfx)tst-audit3.out): Likewise.
3564 ($(objpfx)tst-audit4): Likewise.
3565 ($(objpfx)tst-audit4.out): Likewise.
3566 ($(objpfx)tst-audit5): Likewise.
3567 ($(objpfx)tst-audit5.out): Likewise.
3568 ($(objpfx)tst-audit6): Likewise.
3569 ($(objpfx)tst-audit6.out): Likewise.
3570 ($(objpfx)tst-audit7): Likewise.
3571 ($(objpfx)tst-audit7.out): Likewise.
3572 (tst-audit3-ENV): Remove variable.
3573 (tst-audit4-ENV): Likewise.
3574 (tst-audit5-ENV): Likewise.
3575 (tst-audit6-ENV): Likewise.
3576 (tst-audit7-ENV): Likewise.
3577 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3578 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3579 addition to variable.
3580 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3581 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3582 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3583 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3584 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3585 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3586 tst-audit3, tst-audit4 and tst-audit5.
3587 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3588 tst-audit6 and tst-audit7.
3589 [$(subdir) = elf] (modules-names): Add audit modules for those
3590 tests.
3591 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3592 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3593 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3594 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3595 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3596 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3597 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3598 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3599 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3600 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3601 [$(subdir) = elf] (tst-audit3-ENV): New variable.
3602 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3603 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3604 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3605 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3606 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3607 Likewise.
3608 [$(subdir) = elf && $(config-cflags-avx) = yes]
3609 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3610 [$(subdir) = elf && $(config-cflags-avx) = yes]
3611 (CFLAGS-tst-auditmod4a.c): Likewise.
3612 [$(subdir) = elf && $(config-cflags-avx) = yes]
3613 (CFLAGS-tst-auditmod4b.c): Likewise.
3614 [$(subdir) = elf && $(config-cflags-avx) = yes]
3615 (CFLAGS-tst-auditmod6b.c): Likewise.
3616 [$(subdir) = elf && $(config-cflags-avx) = yes]
3617 (CFLAGS-tst-auditmod6c.c): Likewise.
3618 [$(subdir) = elf && $(config-cflags-avx) = yes]
3619 (CFLAGS-tst-auditmod7b.c): Likewise.
3620 * elf/tst-audit3.c: Move to ...
3621 * sysdeps/x86_64/tst-audit3.c: ... here.
3622 * elf/tst-audit4.c: Move to ...
3623 * sysdeps/x86_64/tst-audit4.c: ... here.
3624 * elf/tst-audit5.c: Move to ...
3625 * sysdeps/x86_64/tst-audit5.c: ... here.
3626 * elf/tst-audit6.c: Move to ...
3627 * sysdeps/x86_64/tst-audit6.c: ... here.
3628 * elf/tst-audit7.c: Move to ...
3629 * sysdeps/x86_64/tst-audit7.c: ... here.
3630 * elf/tst-auditmod3a.c: Move to ...
3631 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3632 * elf/tst-auditmod3b.c: Move to ...
3633 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3634 * elf/tst-auditmod4a.c: Move to ...
3635 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3636 * elf/tst-auditmod4b.c: Move to ...
3637 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3638 * elf/tst-auditmod5a.c: Move to ...
3639 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3640 * elf/tst-auditmod5b.c: Move to ...
3641 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3642 * elf/tst-auditmod6a.c: Move to ...
3643 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3644 * elf/tst-auditmod6b.c: Move to ...
3645 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3646 * elf/tst-auditmod6c.c: Move to ...
3647 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3648 * elf/tst-auditmod7a.c: Move to ...
3649 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3650 * elf/tst-auditmod7b.c: Move to ...
3651 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3652
1ef74943
PP
36532013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3654
3655 [BZ #15366]
3656 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3657 define unconditionally.
3658 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3659 define unconditionally.
3660 (INT8_C, INT16_C, etc.): Likewise.
3661
93fd48c5
MR
36622013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
3663
ae9552cf
MR
3664 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3665 __ehdr_start with hidden visibility.
3666
93fd48c5
MR
3667 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3668
418601aa
CD
36692013-04-24 Carlos O'Donell <carlos@redhat.com>
3670
3671 * math/libm-test.inc (cos_test): Use accurate hex constants.
3672 (sincost_test): Likewise.
3673
2f38fbfe
JM
36742013-04-24 Joseph Myers <joseph@codesourcery.com>
3675
5e221800
JM
3676 * math/libm-test.inc (catan_test): Add more tests.
3677 (catanh_test): Likewise.
3678
77f143fd
JM
3679 * math/s_catanf.c (__catanf): Use suffixed floating-point
3680 constants.
3681 * math/s_catanhf.c (__catanhf): Likewise.
3682 * math/s_catanhl.c (__catanhl): Likewise.
3683 * math/s_catanl.c (__catanl): Likewise.
3684
2f38fbfe
JM
3685 [BZ #15394]
3686 * math/s_catan.c (__catan): Calculate imaginary part of result
3687 with log1p not log unless computing log of number close to 0.
3688 * math/s_catanf.c (__catanf): Likewise.
3689 * math/s_catanl.c (__catanl): Likewise.
3690 * math/s_catanh.c (__catanh): Calculate real part of result with
3691 log1p not log unless computing log of number close to 0.
3692 * math/s_catanhf.c (__catanhf): Likewise.
3693 * math/s_catanhl.c (__catanhl): Likewise.
3694 * math/libm-test.inc (catan_test): Add more tests.
3695 (catanh_test): Likewise.
3696 * sysdeps/i386/fpu/libm-test-ulps: Update.
3697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3698
45d69176
SP
36992013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3700
3701 * benchtests/Makefile: Mention files in which fast and slow
3702 paths of math functions are implemented.
3703
87f51853
RM
37042013-04-23 Roland McGrath <roland@hack.frob.com>
3705
3706 * sysdeps/posix/timespec_get.c: New file.
3707
3c026539
AZ
37082013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3709
3710 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3711 POWER.
3712 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3713 for POWER.
3714 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3715 powerpc/power5/fpu folders.
3716 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3717 * benchtests/Makefile: Add modf testcase.
3718 * benchtests/bench-modf.c: New file: Benchmark test for mo
3719
ff491d14
SP
37202013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3721
3722 [BZ #14888]
3723 * time/Makefile (tests): Add tst-strptime-whitespace.
3724 * time/strptime_l.c (get_number): Use ISSPACE.
3725 (__strptime_internal): Likewise.
3726 * time/tst-strptime-whitespace.c: New test case.
3727
7ed3f4e8
AS
37282013-04-23 Andreas Schwab <schwab@linux-m68k.org>
3729
3730 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3731 member.
3732 (_nss_files_init): Set it here.
3733
5c95f7b6
HC
37342013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
3735
3736 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3737 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3738 unsigned.
3739
d34c9158
JBG
37402013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
3741
3742 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3743
2169712d
SP
37442013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3745
3746 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3747 size just once.
3748
29c5de99
DM
37492013-04-21 David S. Miller <davem@davemloft.net>
3750
3751 * po/ru.po: Update Russion translation from translation project.
3752
ccdad15d
AC
37532013-04-17 Adam Conrad <adconrad@0c3.net>
3754
3755 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3756 and setfsgid.
3757
0f122b8d
CD
37582013-04-17 Carlos O'Donell <carlos@redhat.com>
3759
5c5b07da 3760 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 3761 * configure: Regenerate.
5c5b07da 3762 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
3763 Add example to error message.
3764 * sysdeps/i386/configure: Regenerate.
3765
037714dd
SP
37662013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3767
3768 * benchtests/Makefile (bench): Add cos, tan, slowcos and
3769 slowtan.
3770 * benchtests/cos-inputs: New file.
3771 * benchtests/slowcos-inputs: New file.
3772 * benchtests/slowcos.c: New file.
3773 * benchtests/slowtan-inputs: New file.
3774 * benchtests/slowtan.c: New file.
3775 * benchtests/tan-inputs: New file.
3776
e913141d
RM
37772013-04-16 Roland McGrath <roland@hack.frob.com>
3778
3779 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3780 considered kosher.
3781
a2964074
SP
37822013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3783
4856bcd2
SP
3784 * benchtests/Makefile: Include cppflags-iterator.mk to add
3785 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3786
a2964074
SP
3787 * Makefile.in (bench-clean): New target.
3788 * benchtests/Makefile (bench-clean): Likewise.
3789
9fbf9aca
DH
37902013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
3791
3792 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3793
207d1e2a
TS
37942013-04-15 Thomas Schwinge <thomas@codesourcery.com>
3795
3796 * stdio-common/tstdiomisc.c: Fix coding-style violation.
3797
306dfba9
AS
37982013-04-15 Andreas Schwab <schwab@suse.de>
3799
3800 * nscd/grpcache.c (cache_addgr): Properly check for short write.
3801 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3802 * nscd/pwdcache.c (cache_addpw): Likewise.
3803 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
3804 more than recsize.
3805
206a6699
SP
38062013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3807
3808 * benchtests/Makefile (bench): Write all output to
3809 bench-out.tmp together.
3810
0582f6b3
AS
38112013-04-15 Andreas Schwab <schwab@suse.de>
3812
3813 * nscd/nscd.c (main): Don't fork again after closing files.
3814
acb4325f
SP
38152013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3816
5cb26d0a
SP
3817 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3818
acb4325f
SP
3819 * benchtests/Rules (bench-deps): Collect dependencies into a
3820 single variable. Add Makefile to dependencies.
3821 ($(objpfx)bench-%.c): Depend on bench-deps.
3822
47792506
RM
38232013-04-12 Roland McGrath <roland@hack.frob.com>
3824 Xavier Roche <roche+kml2@exalead.com>
3825
3826 [BZ #15361]
3827 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
3828 just that it's a file descriptor.
3829 * manual/llio.texi (Synchronizing AIO Operations): Update description
3830 for EBADF error from aio_fsync.
3831
8fc1bee5
SP
38322013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3833
3834 * Rules (bench): Move target definition...
3835 * benchtests/Makefile: ... here.
3836
aba5e333
CD
38372013-04-11 Carlos O'Donell <carlos@redhat.com>
3838
3839 * math/libm-test.inc (cos_test): Fix PI/2 test.
3840 (sincos_test): Likewise.
3841 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3842 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3843
273cdee8
AS
38442013-04-11 Andreas Schwab <schwab@suse.de>
3845
6ecec3b6
AS
3846 [BZ #13988]
3847 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
3848 accept exponent character only when digits were seen.
3849 * stdio-common/Makefile (tests): Add bug26.
3850 * stdio-common/bug26.c: New file.
3851
273cdee8
AS
3852 [BZ #14293]
3853 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
3854 non-freeable.
3855
8da491f5
SP
38562013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3857
01dc6df9
SP
3858 * Makeconfig (rtld-prefix): Define built linker prefix.
3859 * Rules (run-bench): Use it.
3860 * math/Makefile (run-regen-ulps): Likewise.
3861
8da491f5
SP
3862 * Rules (bench): Remove eval.
3863
abe7f530
SP
38642013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3865 Roland McGrath <roland@hack.frob.com>
3866 Ondrej Bilka <neleai@seznam.cz>
3867
3868 [BZ #15346]
3869 * time/getdate.c: Include ctype.h and alloca.h.
3870 (__getdate_r): Trim leading and trailing spaces of input.
3871 * time/tst-getdate.c (tests): Add tests with leading and
3872 trailing spaces.
3873
61c23e62
RM
38742013-04-08 Roland McGrath <roland@hack.frob.com>
3875
3876 [BZ #14280]
3877 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
3878 when computing value.
3879
7208a313
CD
38802013-04-06 Carlos O'Donell <carlos@redhat.com>
3881
085b2d41
CD
3882 * math/README.libm-test (How can I generate "libm-test-ulps"?):
3883 Use testrun.sh to run libm tests.
3884
7208a313
CD
3885 [BZ #15309]
3886 * elf/dl-open.c (dl_open_worker): memset all of seen array.
3887
872c0acd
MM
38882013-04-06 Marko Myllynen <myllynen@redhat.com>
3889
3890 [BZ #15264]
3891 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
3892
26510bdd
CD
38932013-04-06 Carlos O'Donell <carlos@redhat.com>
3894
3895 * Makefile.in (regen-ulps): New target.
3896 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
3897 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
3898 [ifneq (no,$(PERL)] (regen-ulps): New target.
3899 [ifeq (no,$(PERL)] (regen-ulps): New target.
3900 * math/libm-test.inc (ulps_file_name): Define.
3901 (output_dir): New variable.
3902 (options): Add "output-dir" option.
3903 (parse_opt): Handle 'o' case.
3904 (main): If output_dir is non-NULL use it as a prefix
3905 otherwise use "".
3906 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
3907
a01f19c8
CD
39082013-04-06 Carlos O'Donell <carlos@redhat.com>
3909
3910 [BZ #10060, #10062]
3911 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
3912 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
3913 fail configure if __sync_val_compare_and_swap is not inlined.
3914 * sysdeps/i386/configure: Regenerate.
3915 * configure.in: Build for i686 when configured for i386.
3916 * configure: Regenerate.
3917 * README: Remove i386 reference.
3918
b7a329a5
CD
39192013-04-06 Carlos O'Donell <carlos@redhat.com>
3920
3921 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
3922 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3923
bf0f50df
TS
39242013-04-05 Thomas Schwinge <thomas@codesourcery.com>
3925
ee091edf
TS
3926 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
3927 (lmsnanval): New variables.
3928 (F): Add conversion tests.
3929 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
3930 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
3931
a8b792d6
TS
3932 * stdio-common/tstdiomisc.c (F): Properly collect individual
3933 tests' results.
3934
a1cbf437
TS
3935 [BZ #14686, #15336]
3936 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
3937 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3938 Instead, use input NaN values or generate a qNaN by arithmetic
3939 operation. Also fix bugs to comply with the standard.
3940 * math/libm-test.inc (remainder_test): Add more tests.
3941
8b43a0c9
TS
3942 [BZ #15335, #15342]
3943 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
3944 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
3945 input NaN values or generate a qNaN by arithmetic operation.
3946
d91da4ce
TS
3947 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
3948 unreachable code.
3949
bf0f50df
TS
3950 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
3951 definitions.
3952
05e166c8
JM
39532013-04-03 Joseph Myers <joseph@codesourcery.com>
3954
3955 [BZ #14478]
3956 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
3957 underflowed result.
3958 * math/s_cexpf.c (__cexpf): Likewise.
3959 * math/s_cexpl.c (__cexpl): Likewise.
3960 * math/libm-test.inc (cexp_test): Add more tests.
3961
1cef1b19
AS
39622013-04-03 Andreas Schwab <schwab@suse.de>
3963
3964 [BZ #15330]
3965 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
3966 order arrays from heap if bigger than alloca cutoff.
3967
74d87055
TS
39682013-04-03 Thomas Schwinge <thomas@codesourcery.com>
3969
3970 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
3971 (SNAN_TESTS_double): Refer to GCC PR56831.
3972 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
3973 GCC PR56828.
3974
d755bba4
SP
39752013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3976
90d5d5bb
SP
3977 * Rules (bench): Move bench.out after the run is complete.
3978
73e0cd5d
SP
3979 * Rules (bench): Echo currently running benchmark.
3980
64aabd4b
SP
3981 * benchtests/Makefile (bench): Add atan and slowatan.
3982 * benchtests/atan-inputs: New file.
3983 * benchtests/slowatan-inputs: New file.
3984 * benchtests/slowatan.c: New file.
3985
c871eccd
SP
3986 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
3987 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
3988 its value.
3989
d755bba4
SP
3990 [BZ #15305]
3991 * sysdeps/unix/sysv/linux/kernel-features.h
3992 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
3993 __ASSUME_XFS_RESTRICTED_CHOWN.
3994 * sysdeps/unix/sysv/linux/pathconf.c
3995 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3996 Save and restore errno.
3997
52ce4860
JM
39982013-04-02 Joseph Myers <joseph@codesourcery.com>
3999
4000 [BZ #15327]
4001 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4002 arguments using __kernel_casinh.
4003 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4004 arguments using __kernel_casinhf.
4005 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4006 arguments using __kernel_casinhl.
4007 * math/libm-test.inc (cacosh_test): Add more tests.
4008 * sysdeps/i386/fpu/libm-test-ulps: Update.
4009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4010
81f311c2
SP
40112013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4012
e7906a47
SP
4013 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4014 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4015
92e3664b
SP
4016 * bench/Makefile (bench): Add sin and slowsin.
4017 * benchtests/sin-inputs: New file.
4018 * benchtests/slowsin-inputs: New file.
4019 * benchtests/slowsin.c: New file.
4020
81f311c2
SP
4021 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4022 (bench): Add slowexp and slowpow.
4023 (exp-ITER): Increase iterations.
4024 (pow-ITER): Likewise.
4025 * benchtests/exp-inputs: Change input.
4026 * benchtests/pow-inputs: Likewise.
4027 * benchtests/slowexp-inputs: New file.
4028 * benchtests/slowexp.c: New file.
4029 * benchtests/slowpow-inputs: New file.
4030 * benchtests/slowpow.c: New file.
4031
ab0f1aa9
AZ
40322013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4033
4034 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4035 instructions.
4036 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4037 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4038 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4039 * benchtests/Makefile: Add rint benchtest.
4040 * benchtests/rint-inputs: Input for rint benchtest.
4041
57267616
TS
40422013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4043
4044 * Versions.def (libm): Add GLIBC_2.18.
4045 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4046 hidden libm prototypes.
4047 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4048 * math/Makefile (libm-calls): Add s_issignaling.
4049 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4050 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4051 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4052 declaration.
4053 * math/math.h [__USE_GNU] (issignaling): New macro.
4054 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4055 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4056 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4057 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4058 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4059 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4060 * manual/arith.texi (issignaling): New section.
4061 * manual/libm-err-tab.pl (@all_functions): Update comment.
4062 * math/gen-libm-test.pl (parse_args): Apply special handling for
4063 issignaling.
4064 * math/libm-test.inc (print_float, issignaling_test): New
4065 functions.
4066 (check_float_internal): Add issignaling checks.
4067 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4068 default definition.
4069 * sysdeps/powerpc/math-tests.h: New file.
4070 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4071 tests.
4072 * math/test-snan.c (TEST_FUNC): Likewise.
4073
6142896d
DM
40742013-03-30 David S. Miller <davem@davemloft.net>
4075
4076 * po/de.po: Update from translation team.
4077
ccc8cadf
JM
40782013-03-30 Joseph Myers <joseph@codesourcery.com>
4079
4080 [BZ #10357]
4081 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4082 imaginary part less than 1.0 and real part less than 0.5
4083 specially.
4084 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4085 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4086 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4087 (cacos_test): Add more tests.
4088 (casin_test): Likewise.
4089 (casinh_test): Likewise.
4090 * sysdeps/i386/fpu/libm-test-ulps: Update.
4091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4092
0f6a8d4b
SP
40932013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4094
0d1029de
SP
4095 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4096 ONE with its value.
4097
c2d94018
SP
4098 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4099 (__pow_mp): Replace ONE and MONE with their values.
4100 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4101 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4102 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4103 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4104 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4105 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4106
27ec37f1
SP
4107 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4108
a64d7e0e
SP
4109 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4110 (__pow_mp): Replace ZERO and MZERO with their values.
4111 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4112 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4113 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4114 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4115 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4116 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4117 (__sqr): Likewise.
4118
d26dd3eb
SP
4119 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4120
0f6a8d4b
SP
4121 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4122
e57b0c61
RM
41232013-03-28 Roland McGrath <roland@hack.frob.com>
4124
4125 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4126 Declare with __attribute__ ((weak)).
4127 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4128 Call __call_tls_dtors only if it's not NULL.
4129
356b3480
RM
41302013-03-28 Roland McGrath <roland@hack.frob.com>
4131
288f7d79
RM
4132 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4133 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4134 magic __ehdr_start linker symbol if it's defined.
4135 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4136 them up here if it was already done.
4137
dc0a0263
RM
4138 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4139 (_dl_aux_init): Use const in cast when setting it.
4140 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4141 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4142 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4143
3d3436ae
RM
4144 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4145 Declare them here.
4146 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4147 * csu/libc-tls.c: Nor here.
4148 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4149
356b3480
RM
4150 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4151 (__libc_message): Never call vsyslog.
4152
b0f1246a
AM
41532013-03-28 Alan Modra <amodra@gmail.com>
4154
4155 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4156 Define as empty.
4157 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4158 Likewise.
4159
fbbe2b9a
AZ
41602013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4161
4162 [BZ #15214]
4163 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4164 underflow.
4165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4166
1728ab37
SP
41672013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4168
7a86be6e
SP
4169 [BZ #15304]
4170 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4171 Don't add gid passed as argument.
4172
1728ab37
SP
4173 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4174
3a7182a1
JM
41752013-03-27 Joseph Myers <joseph@codesourcery.com>
4176
4177 [BZ #15307]
4178 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4179 imaginary part between 1.0 and 1.5 and real part less than 0.5
4180 specially.
4181 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4182 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4183 * math/libm-test.inc (cacos_test): Add more tests.
4184 (casin_test): Likewise.
4185 (casinh_test): Likewise.
4186 * sysdeps/i386/fpu/libm-test-ulps: Update.
4187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4188
6f2e90e7
SP
41892013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4190
5739f705
SP
4191 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4192 constants.
4193 (norm): Likewise.
4194 (denorm): Likewise.
4195 (__dbl_mp): Likewise.
4196 (add_magnitudes): Likewise.
4197 (sub_magnitudes): Likewise.
4198 (__add): Likewise.
4199 (__sub): Likewise.
4200 (__mul): Likewise.
4201 (__sqr): Likewise.
4202 (__inv): Likewise.
4203 (__dvd): Likewise.
4204
e375e83d
SP
4205 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4206 commented code.
4207 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4208 (__dubcos): Likewise.
4209 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4210 (__ieee754_acos): Likewise.
4211 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4212 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4213 (__exp1): Likewise.
4214 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4215 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4216 (log1): Likewise.
4217 (my_log2): Likewise.
4218 (checkint): Likewise.
4219 * sysdeps/ieee754/dbl-64/e_remainder.c
4220 (__ieee754_remainder): Likewise.
4221 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4222 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4223 (bsloww): Likewise.
4224 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4225
6f2e90e7
SP
4226 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4227 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4228 MANTISSA_STORE_T to store computations on mantissa. Use
4229 macros for rounding and division.
4230 (denorm): Likewise.
4231 (__dbl_mp): Likewise.
4232 (add_magnitudes): Likewise.
4233 (sub_magnitudes): Likewise.
4234 (__mul): Likewise.
4235 (__sqr): Likewise.
4236 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4237 powers of two in terms of TWOPOW macro.
4238 (mp_no): Make type of mantissa as MANTISSA_T.
4239 [!RADIXI]: Define RADIXI.
4240 [!TWO52]: Define TWO52.
4241 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4242
fce14d4e
AZ
42432013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4244
4245 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4246 llroundl symbol when building for PPC32.
4247
9ad027fb
MW
42482013-03-24 Mark H Weaver <mhw@netris.org>
4249
4250 * manual/arith.texi (Normalization Functions): Fix prototypes for
4251 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4252
e42a38dd
AZ
42532013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4254
4255 [BZ #13889]
4256 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4257 high value to check if expl overflow.
4258 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4259 to check for underflow and overflow.
4260 * math/libm-test.inc: Add exp test.
4261
2e0fb521
DL
42622013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4263
4264 [BZ #11120]
4265 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4266 with NOT_IN_libc.
4267
b5784d95
AZ
42682013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4269
4270 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4271 symbol.
4272
5aa4a1a1
TS
42732013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4274
bdef0be7
TS
4275 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4276 wrap blocks consisting of several statements.
4277
5aa4a1a1
TS
4278 * sysdeps/generic/math-tests.h: New file.
4279 * sysdeps/i386/fpu/math-tests.h: Likewise.
4280 * math/test-snan.c: Include it.
4281 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4282
98c48fe5
JM
42832013-03-21 Joseph Myers <joseph@codesourcery.com>
4284
4285 [BZ #15285]
4286 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4287 (__ieee754_j0l): Do not improve calculations using cos of twice
4288 input for inputs above LDBL_MAX / 2.0L.
4289 (__ieee754_y0l): Likewise.
4290 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4291 (__ieee754_j1l): Do not improve calculations using cos of twice
4292 input for inputs above LDBL_MAX / 2.0L.
4293 (__ieee754_y1l): Likewise.
4294 * math/libm-test.inc (j0_test): Add another test.
4295 (j1_test): Likewise.
4296 (y0_test): Likewise.
4297 (y1_test): Likewise.
4298 * sysdeps/i386/fpu/libm-test-ulps: Update.
4299
3775a8bc
SP
43002013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4301
4302 * Rules ($(objpfx)bench-%.c): Include code from a C source
4303 file.
4304
0a1b2ae6
JM
43052013-03-21 Joseph Myers <joseph@codesourcery.com>
4306
4307 [BZ #15287]
4308 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4309 imaginary part 1.0 and real part less than 0.5 specially.
4310 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4311 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4312 * math/libm-test.inc (cacos_test): Add more tests.
4313 (casin_test): Likewise.
4314 (casinh_test): Likewise.
4315 * sysdeps/i386/fpu/libm-test-ulps: Update.
4316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4317
b33d4ce4
SP
43182013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4319
4320 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4321 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4322
bef0b507
JM
43232013-03-20 Joseph Myers <joseph@codesourcery.com>
4324
4325 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4326 * config.make.in (config-cflags-sse4): Remove variable.
4327 (config-cflags-avx): Likewise.
4328 (config-cflags-sse2avx): Likewise.
4329 (config-cflags-novzeroupper): Likewise.
4330 (config-asflags-i686): Likewise.
4331 (have-mfma4): Likewise.
4332 (have-as-vis3): Likewise.
4333 (MIG): Likewise.
4334 * configure.in (MIG): Do not AC_SUBST.
4335 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4336 (libc_cv_cc_sse4): Do not AC_SUBST.
4337 (libc_cv_cc_avx): Likewise.
4338 (libc_cv_cc_sse2avx): Likewise.
4339 (libc_cv_cc_novzeroupper): Likewise.
4340 (libc_cv_cc_fma4): Likewise.
4341 (libc_cv_as_i686): Likewise.
4342 (libc_cv_sparc_as_vis3): Likewise.
4343 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4344 LIBC_CONFIG_VAR.
4345 (config-asflags-i686): Likewise.
4346 (config-cflags-avx): Likewise.
4347 (config-cflags-sse2avx): Likewise.
4348 (have-mfma4): Likewise.
4349 (config-cflags-novzeroupper): Likewise.
4350 * sysdeps/mach/configure.in (MIG): Likewise.
4351 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4352 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4353 LIBC_CONFIG_VAR.
4354 (config-cflags-avx): Likewise.
4355 (config-cflags-sse2avx): Likewise.
4356 (have-mfma4): Likewise.
4357 (config-cflags-novzeroupper): Likewise.
4358 * configure: Regenerated.
4359 * sysdeps/i386/configure: Likewise.
4360 * sysdeps/mach/configure: Likewise.
4361 * sysdeps/sparc/configure: Likewise.
4362 * sysdeps/x86_64/configure: Likewise.
4363
912cc4b3
RM
43642013-03-20 Roland McGrath <roland@hack.frob.com>
4365
4366 [BZ #14812]
4367 * locale/programs/localedef.c (options): Put N_ translation marker
4368 on argument names, not just descriptions.
4369
04eed2b0
MS
43702013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4371
4372 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4373
a065ceff
OB
43742013-03-20 Ondřej Bílka <neleai@seznam.cz>
4375
9bb2a810 4376 [BZ #14176]
a065ceff
OB
4377 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4378
a600e5ce
RM
43792013-03-19 Roland McGrath <roland@hack.frob.com>
4380
4381 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4382 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4383 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4384 [!BEFORE_ABORT] (before_abort): New function.
4385 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4386 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4387 (writev_for_fatal): New function.
4388 (WRITEV_FOR_FATAL): New macro; call that.
4389 (backtrace_and_maps): New function.
4390 (BEFORE_ABORT): New macro; call that.
4391 (struct str_list): Type removed.
4392 (__libc_message, __libc_fatal): Functions removed.
4393 Include <sysdeps/posix/libc_fatal.c> instead.
4394
6b18bea6
JM
43952013-03-19 Joseph Myers <joseph@codesourcery.com>
4396
4397 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4398 constants.
4399 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4400 double constants.
4401
aaa8cb4b
AS
44022013-03-19 Andreas Schwab <schwab@suse.de>
4403
44673770
AS
4404 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4405 * sysdeps/gnu/configure: Regenerate.
4406
aaa8cb4b
AS
4407 * configure.in: Substitute libc_cv_rtlddir.
4408 * configure: Regenerate.
4409 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4410 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4411 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4412 * elf/Makefile (install-others, CFLAGS-interp.c)
4413 (ldso_install, common-ldd-rewrite): Likewise.
4414 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4415 $(inst_slibdir)/$(rtld-installed-name).
4416 * scripts/rellns-sh: Add -p option.
4417 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4418 for source.
4419
d3cfc668
SP
44202013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4421
4422 * manual/nptl.texi: Renamed to ...
4423 * manual/threads.texi: ... this.
4424 * manual/Makefile (chapters): Update.
4425
0e2b9cdd
RM
44262013-03-18 Roland McGrath <roland@hack.frob.com>
4427
4428 [BZ #14812]
4429 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4430 on argument names, not just descriptions.
0e2b9cdd
RM
4431 * malloc/memusagestat.c (options): Likewise.
4432 * nss/getent.c (options): Likewise.
63270c24
RM
4433
44342013-03-18 Benno Schulenberg <bensberg@justemail.net>
4435
4436 [BZ #14812]
4437 * iconv/iconv_prog.c (options): Put N_ translation marker
4438 on argument names, not just descriptions.
4439 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 4440
b2e1393c
OB
44412013-03-18 Ondrej Bilka <neleai@seznam.cz>
4442
4443 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4444 implementation which is faster on all x86_64 architectures.
4445 Tested on AMD, Intel Nehalem, SNB, IVB.
4446 * sysdeps/x86_64/strnlen.S: Likewise.
4447
4448 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4449 Remove all multiarch strlen and strnlen versions.
4450 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4451 Remove strlen and strnlen related parts.
4452
4453 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4454 Inline strlen part.
4455 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4456
4457 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4458 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4459 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4460 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4461 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4462 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4463
ec4ff04d
CD
44642013-03-17 Carlos O'Donell <carlos@redhat.com>
4465
4466 * manual/memory.texi (Malloc Tunable Parameters):
4467 Sort parameters alphabetically. Add comments for missing entries.
4468
cd18e90a
DM
44692013-03-17 David S. Miller <davem@davemloft.net>
4470
4471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4472
2a185d32
JM
44732013-03-16 Joseph Myers <joseph@codesourcery.com>
4474
d2f9799e
JM
4475 [BZ #15283]
4476 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4477 for arguments at most half maximum finite value.
4478 * math/libm-test.inc (j0_test): Add more tests.
4479 (j1_test): Likewise.
4480 (y0_test): Likewise.
4481 (y1_test): Likewise.
4482 * sysdeps/i386/fpu/libm-test-ulps: Update.
4483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4484
2a185d32
JM
4485 [BZ #14155]
4486 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4487 1 / x and functions P and Q for arguments above 0x1p256L.
4488 (__ieee754_y0l): Likewise.
4489 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4490 (__ieee754_y1l): Likewise.
4491 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4492 (j1_test): Likewise.
4493 (y0_test): Likewise.
4494 (y1_test): Likewise.
4495
6cbec759
TS
44962013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4497
4498 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4499 variable.
4500
bc16e260
RM
45012013-03-15 Roland McGrath <roland@hack.frob.com>
4502
aefc9b8c
RM
4503 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4504 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4505 zero since it's initialized to EXEC_PAGESIZE.
4506
bc16e260
RM
4507 * sysdeps/unix/sysv/linux/ldsodefs.h
4508 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4509 * sysdeps/generic/ldsodefs.h: ... here.
4510
a57da955
TS
45112013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4512
af00a34d
TS
4513 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4514
495ded2c
TS
4515 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4516 math/test-snan.c.
4517 * math/test-snan.c: Renamed from
4518 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4519 * math/Makefile (tests): Add test-snan.
4520 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4521 test-powerpc-snan.
4522
777b0332
TS
4523 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4524 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4525 functions.
4526 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4527 __builtin_nan family of functions.
4528 * math/libm-test.inc (initialize): Initialize qnan_value with
4529 __builtin_nan family of functions.
4530 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4531 Remove variables.
4532 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4533 Remove functions.
4534 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4535 storage class. Initialize qNaN_var and sNaN_var with
4536 __builtin_nan and __builtin_nans families of functions,
4537 respectively.
4538
64d063b8
TS
4539 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4540 (sqrt_test): Remove duplicate test with qNaN input.
4541 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4542 (round_test, signbit_test, significand_test): Note missing +/-Inf
4543 as well as qNaN tests.
4544
67e971f1
TS
4545 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4546 qNaN_var. Fix a few strings, too.
4547 * math/libm-test.inc (nan_value): Rename to qnan_value.
4548 * math/gen-libm-test.pl (%beautify): Adjust to that.
4549 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4550 * math/test-misc.c (main): Likewise.
4551 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4552 to __qnan_bytes, and __qnan_union, respectively.
4553 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4554 Likewise.
4555 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4556 and lqnanval, respectively.
4557 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4558 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4559 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4560 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4561
64487e12
TS
4562 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4563 * math/test-misc.c (main) [__x86_64__]: Enable test for long
4564 doubles.
4565
e015e27b
TS
4566 * math/test-misc.c (main): Fix copy'n'pastos.
4567 * misc/tst-efgcvt.c (special): Likewise.
4568
a57da955
TS
4569 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4570 Remove declarations.
4571
1e380345
SP
45722013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4573
4574 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4575 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4576 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4577 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4578
ef26eece
AZ
45792013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4580
4581 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4582 macro to return vdso values correctly in IFUNC implementations.
4583 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4584 Optimization by using IFUNC.
4585
8cfdb7e0
SP
45862013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4587 Richard Henderson <rth@redhat.com>
4588 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4589
4590 * Makefile.in (bench): New target.
4591 * NEWS: Mention the benchmark framework.
4592 * Rules (bench): Likewise.
4593 (binaries-bench): Generate binaries for functions to
4594 benchmark.
4595 * benchtests/Makefile: New makefile for benchmark tests.
4596 * benchtests/bench-skeleton.c: New skeleton file for benchmark
4597 programs.
4598 * benchtests/exp-inputs: New input file for EXP function.
4599 * benchtests/pow-inputs: New input file for POW function.
4600 * scripts/bench.pl: New script to generate source files for
4601 benchmark programs.
4602
bcda9880
SP
46032013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4604
d22ca8cd
SP
4605 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4606 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4607 computations on mantissa. Use macros for rounding and
4608 division.
4609 (denorm): Likewise.
4610 (__dbl_mp): Likewise.
4611 (add_magnitudes): Likewise.
4612 (sub_magnitudes): Likewise.
4613 (__mul): Likewise.
4614 (__sqr): Likewise.
4615 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4616 powers of two in terms of TWOPOW macro.
4617 (mp_no): Make type of mantissa as MANTISSA_T.
4618 [!RADIXI]: Define RADIXI.
4619 [!TWO52]: Define TWO52.
4620 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4621
bcda9880
SP
4622 * manual/nptl.texi (cindex): Modify threads to pthreads.
4623
06d5adfb
JM
46242013-03-15 Joseph Myers <joseph@codesourcery.com>
4625
4626 * sysdeps/x86_64/preconfigure: Regenerated.
4627
41c7328e
JM
46282013-03-14 Joseph Myers <joseph@codesourcery.com>
4629
4630 [BZ #14155]
4631 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4632 0x1p28 and above.
4633 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4634 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4635 0x1p28 and above.
4636 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4637 * math/libm-test.inc (j0_test): Do not allow one spurious
4638 underflow exception.
4639 (y1_test): Likewise.
4640
e25cfa60
SP
46412013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4642
0409959c
SP
4643 * manual/Makefile (chapters): Add nptl.
4644 * manual/debug.texi (Debugging Support): Add link to Threads
4645 chapter.
4646 * manual/nptl.texi: New file.
4647
e25cfa60
SP
4648 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4649
58a1335e
PB
46502013-03-14 Petr Baudis <pasky@ucw.cz>
4651
4652 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4653 for non-NULL pointer before the memory validity test. Pointed
4654 out by Holger Brunck <holger.brunck@keymile.com>.
4655
9dc7c64f
AS
46562013-03-13 Andreas Schwab <schwab@suse.de>
4657
4658 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4659 instead of .os.
4660
54206aa6
JM
46612013-03-13 Joseph Myers <joseph@codesourcery.com>
4662
4663 * timezone/zic.c: Update from tzcode 2013b.
4664
e98cdb38
CD
46652013-03-12 Carlos O'Donell <carlos@redhat.com>
4666
4667 * manual/install.texi (Configuring and compiling):
4668 Mention i686 and i586.
4669 * INSTALL: Regenerate.
4670
9967e003
RM
46712013-03-12 Roland McGrath <roland@hack.frob.com>
4672
4673 * sysdeps/init_array/elf-init.c: New file.
4674 * csu/elf-init.c
4675 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4676 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4677
4678 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4679 __gmon_start__ as global, but as static with a .preinit_array pointer.
4680 * sysdeps/init_array/gmon-start.c: New file. Use that.
4681 * sysdeps/init_array/crti.S: New file, empty except for comments.
4682 * sysdeps/init_array/crtn.S: Likewise.
4683
e6b5a293 46842013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
4685
4686 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4687 definining bcopy.
80f844c9
OB
4688 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4689 Remove Prefer_SSE_for_memop.
4690 * sysdeps/x86_64/multiarch/init-arch.h: Remove
4691 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4692 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
4693 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4694 memset-x86-64.
80f844c9 4695 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 4696 Remove bzero, memset ifunc support.
80f844c9
OB
4697 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4698 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4699 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4700 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4701
fb6b0fcb
AS
47022013-03-11 Andreas Schwab <schwab@suse.de>
4703
4704 [BZ #15234]
4705 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4706 by SHLIB_COMPAT.
4707 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4708 (GLIBC_2.16): Remove pthread_atfork.
4709
3e6bd4b1
PP
47102013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4711
4712 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4713 (ptestcases.h): Likewise.
4714
222d7f00
RM
47152013-03-08 Roland McGrath <roland@hack.frob.com>
4716
4717 * Makeconfig ($(common-objpfx)config.status): Depend on
4718 sysdeps/*/preconfigure{,.in} too.
4719
1ba4f030
JM
47202013-03-08 Joseph Myers <joseph@codesourcery.com>
4721
a222d91a
JM
4722 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4723 (__free_hook): Use void * instead of __malloc_ptr_t.
4724 (__malloc_hook): Likewise.
4725 (__realloc_hook): Likewise.
4726 (__memalign_hook): Likewise.
4727 (__after_morecore_hook): Likewise.
4728 * malloc/arena.c (save_malloc_hook): Likewise.
4729 (save_free_hook): Likewise.
4730 * malloc/hooks.c (malloc_hook_ini): Likewise.
4731 (realloc_hook_ini): Likewise.
4732 (memalign_hook_ini): Likewise.
4733 * malloc/malloc.c (malloc_hook_ini): Likewise.
4734 (realloc_hook_ini): Likewise.
4735 (memalign_hook_ini): Likewise.
4736 (__free_hook): Likewise.
4737 (__malloc_hook): Likewise.
4738 (__realloc_hook): Likewise.
4739 (__memalign_hook): Likewise.
4740 (__libc_malloc): Likewise.
4741 (__libc_free): Likewise.
4742 (__libc_realloc): Likewise.
4743 (__libc_memalign): Likewise.
4744 (__libc_valloc): Likewise.
4745 (__libc_pvalloc): Likewise.
4746 (__libc_calloc): Likewise.
4747 (__posix_memalign): Likewise.
4748 * malloc/morecore.c (__sbrk): Likewise.
4749 (__default_morecore): Likewise.
4750
5cc45e10
JM
4751 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4752
dd54b864
JM
4753 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4754 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4755 __malloc_ptrdiff_t.
4756
1ba4f030
JM
4757 * malloc/malloc.h (__malloc_size_t): Remove macro.
4758 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4759 __malloc_size_t.
4760 (old_memalign_hook): Likewise.
4761 (old_realloc_hook): Likewise.
4762 (struct hdr): Likewise.
4763 (flood): Likewise.
4764 (mallochook): Likewise.
4765 (memalignhook): Likewise.
4766 (reallochook): Likewise.
4767 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4768 (tr_old_realloc_hook): Likewise.
4769 (tr_old_memalign_hook): Likewise.
4770 (tr_mallochook): Likewise.
4771 (tr_reallochook): Likewise.
4772 (tr_memalignhook): Likewise.
4773
edf66e57
AZ
47742013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4775
4776 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4777 default_ldbl_pack and using as default implementation.
4778 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4779 implementation.
4780 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4781 redundant definition.
4782 (ldbl_insert_mantissa): Likewise.
4783 (ldbl_canonicalize): Likewise.
4784 (ldbl_nearbyint): Likewise.
4785 (ldbl_pack): Rename to ldbl_pack_ppc.
4786 (ldbl_unpack): Rename to ldbl_unpack_ppc.
4787 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4788 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4789
6d9145d8
SP
47902013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4791
4792 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4793 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4794 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4795 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4796 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4797 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4798 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4799 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4800
4dd4e157
AJ
48012013-03-07 Andreas Jaeger <aj@suse.de>
4802
4803 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4804 bits/mman-linux.h.
4805
adbb8027
SP
48062013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4807
ce544b5b
SP
4808 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4809 Include mpa.h and declare __MPEXP.
4810 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4811 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4812 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4813 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4814 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4815 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4816 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4817
4cc149fd
SP
4818 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4819 (__slowpow): Use long double EXPL and LOGL functions to
4820 compute POW.
4821 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4822 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4823 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4824 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4825 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4826 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4827
e6ebd4a7
SP
4828 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
4829 intermediate variable to calculate exponent.
4830 (__sqr): Likewise.
4831 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4832 Likewise.
4833 (__sqr): Likewise.
4834
82a9811d
SP
4835 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
4836 [!NO__SQR]: Define __sqr.
4837 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
4838 and NO__SQR. Remove all code except __mul and __sqr. Include
4839 sysdeps/ieee754/dbl-64/mpa.c.
4840 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4841
adbb8027
SP
4842 [BZ #12723]
4843 * posix/Makefile (tests): Add tst-pathconf.
4844 * posix/tst-pathconf.c: New test case.
4845 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
4846 _PC_PIPE_BUF.
4847 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
4848
39120df9
PF
48492013-03-06 Patsy Franklin <pfrankli@redhat.com>
4850
4851 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
4852
67525cb8
AJ
48532013-03-06 Andreas Jaeger <aj@suse.de>
4854
664a9ce4
AJ
4855 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
4856 definition via __MAP_ANONYMOUS.
4857
8e39047d
AJ
4858 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
4859 it's not part of Linux headers.
4860
67525cb8
AJ
4861 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4862 (MAP_HUGE_MASK): Define.
4863
4864 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4865 Define.
4866 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4867 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4868 Define.
4869 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4870 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4871 Define.
4872 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4873 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
4874 Define.
4875 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4876
4877 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
4878 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
4879 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
4880 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
4881 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
4882 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
4883
4884 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4885 Handle f2fs.
4886
4887 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4888 Handle f2fs and efivarfs.
4889
4890 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
4891 f2fs.
4892
4893 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
4894 (EFIVARFS_MAGIC): Add.
4895 (F2FS_LINK_MAX): Add.
4896
e1b42695
PP
48972013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4898
4899 * stdio-common/vfprintf.c: Replace __builtin_expect with
4900 __glibc_unlikely.
4901
2d67d91a
JM
49022013-03-06 Joseph Myers <joseph@codesourcery.com>
4903
4904 [BZ #13550]
4905 * sysdeps/generic/bp-sym.h: Remove file.
4906 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
4907 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
4908 <bp-sym.h> and <bp-asm.h>.
4909 (__longjmp): Don't use BP_SYM.
4910 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
4911 and <bp-asm.h>.
4912 (memcpy): Don't use BP_SYM.
4913 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
4914 <bp-sym.h> and <bp-asm.h>.
4915 (memcpy): Don't use BP_SYM.
4916 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
4917 <bp-asm.h>.
4918 (memcpy): Don't use BP_SYM.
4919 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
4920 <bp-asm.h>.
4921 (memset): Don't use BP_SYM.
4922 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4923 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4924 (__bzero): Don't use BP_SYM.
4925 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4926 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4927 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
4928 <bp-sym.h> and <bp-asm.h>.
4929 (memcmp): Don't use BP_SYM. Remove comment about bounded
4930 pointers.
4931 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
4932 <bp-sym.h> and <bp-asm.h>.
4933 (memcpy): Don't use BP_SYM.
4934 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
4935 <bp-sym.h> and <bp-asm.h>.
4936 (memset): Don't use BP_SYM.
4937 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4938 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4939 (__bzero): Don't use BP_SYM.
4940 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4941 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4942 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
4943 <bp-sym.h> and <bp-asm.h>.
4944 (strncmp): Don't use BP_SYM. Remove comment about bounded
4945 pointers.
4946 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
4947 <bp-sym.h> and <bp-asm.h>.
4948 (memcpy): Don't use BP_SYM.
4949 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
4950 <bp-sym.h> and <bp-asm.h>.
4951 (memset): Don't use BP_SYM.
4952 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4953 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4954 (__bzero): Don't use BP_SYM.
4955 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4956 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4957 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
4958 <bp-sym.h> and <bp-asm.h>.
4959 (__memchr): Don't use BP_SYM.
4960 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
4961 <bp-sym.h> and <bp-asm.h>.
4962 (memcmp): Don't use BP_SYM. Remove comment about bounded
4963 pointers.
4964 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
4965 <bp-sym.h> and <bp-asm.h>.
4966 (memcpy): Don't use BP_SYM.
4967 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
4968 <bp-sym.h> and <bp-asm.h>.
4969 (__mempcpy): Don't use BP_SYM.
4970 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
4971 <bp-sym.h> and <bp-asm.h>.
4972 (__memrchr): Don't use BP_SYM.
4973 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
4974 <bp-sym.h> and <bp-asm.h>.
4975 (memset): Don't use BP_SYM.
4976 (__bzero): Likewise.
4977 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
4978 <bp-sym.h> and <bp-asm.h>.
4979 (__rawmemchr): Don't use BP_SYM.
4980 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
4981 <bp-sym.h> and <bp-asm.h>.
4982 (__STRCMP): Don't use BP_SYM.
4983 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
4984 <bp-sym.h> and <bp-asm.h>.
4985 (strchr): Don't use BP_SYM.
4986 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
4987 <bp-sym.h> and <bp-asm.h>.
4988 (__strchrnul): Don't use BP_SYM.
4989 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
4990 <bp-sym.h> and <bp-asm.h>.
4991 (strlen): Don't use BP_SYM.
4992 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
4993 <bp-sym.h> and <bp-asm.h>.
4994 (strncmp): Don't use BP_SYM. Remove comment about bounded
4995 pointers.
4996 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
4997 <bp-sym.h> and <bp-asm.h>.
4998 (__strnlen): Don't use BP_SYM.
4999 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5000 <bp-sym.h> and <bp-asm.h>.
5001 (__GI__setjmp): Don't use BP_SYM.
5002 (_setjmp): Likewise.
5003 (__sigsetjmp): Likewise.
5004 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5005 (L(start_addresses)): Don't use BP_SYM.
5006 (_start): Likewise.
5007 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5008 <bp-asm.h>.
5009 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5010 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5011 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5012 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5013 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5014 <bp-asm.h>.
5015 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5016 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5017 about bounded pointers.
5018 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5019 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5020 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5021 <bp-asm.h>.
5022 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5023 about bounded pointers. Remove GKM FIXME comments.
5024 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5025 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5026 <bp-asm.h>.
5027 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5028 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5029 Remove GKM FIXME comments.
5030 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5031 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5032 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5033 <bp-asm.h>.
5034 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5035 about bounded pointers. Remove GKM FIXME comment.
5036 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5037 and <bp-asm.h>.
5038 (strncmp): Don't use BP_SYM. Remove comment about bounded
5039 pointers.
5040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5041 <bp-sym.h> and <bp-asm.h>.
5042 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5044 <bp-sym.h> and <bp-asm.h>.
5045 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5046 comment.
5047
cdcf361f
PP
50482013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5049
5050 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5051 call free(NULL).
5052
3c4a2b15
DM
50532013-03-05 David S. Miller <davem@davemloft.net>
5054
5055 * po/es.po: Update from translation team.
5056
cdcf361f 50572013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5058
5059 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5060 <bits/mman-linux.h>.
5061 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5062 is fine.
5063 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5064 <bits/mman-linux.h> to end of file.
5065 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5066 is fine.
5067 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5068 <bits/mman-linux.h> to end of file.
5069 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5070 is fine.
5071 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5072 <bits/mman-linux.h> to end of file.
5073
5074 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5075 (MCL_CURRENT, MCL_FUTURE): Define here.
5076
5f67c04f
AK
50772013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5078
8a4473cc 5079 [BZ #15232]
5f67c04f
AK
5080 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5081 attribute_hidden.
5082 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5083
c3e94a95
AK
50842013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5085
5086 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5087 fourth parameter needed for rt_sigprocmask syscall.
5088 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5089 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5090 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5091 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5092 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5093 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5094
cfb6382a
JM
50952013-03-04 Joseph Myers <joseph@codesourcery.com>
5096
5097 [BZ #13550]
5098 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5099 comment about bounded pointers.
5100 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5101 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5102
539d8e01
AJ
51032013-03-04 Andreas Jaeger <aj@suse.de>
5104
5105 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5106 common definitions.
5107
5108 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5109 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5110 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5111 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5112 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5113 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5114
2e167a70 51152013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5116
5117 [BZ #15055]
5118 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5119 __ieee754_sqrl instead of __sqrl.
5120
68508633
JM
51212013-03-01 Joseph Myers <joseph@codesourcery.com>
5122
5123 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5124 * sysdeps/powerpc/fpu_control.h: ... here.
5125 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5126 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5127 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5128 * sysdeps/powerpc/bits/mathinline.h: ... here.
5129
7775448e
RM
51302013-03-01 Roland McGrath <roland@hack.frob.com>
5131
5132 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5133 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5134 to just [NEED_DL_SYSINFO_DSO].
5135 * elf/dl-support.c: Likewise.
5136 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5137 * elf/rtld.c (dl_main): Likewise.
5138 * elf/setup-vdso.h (setup_vdso): Likewise.
5139 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5140 * sysdeps/unix/sysv/linux/dl-sysdep.c
5141 (_dl_discover_osversion): Likewise.
5142
4e9b5995
CD
51432013-03-01 Carlos O'Donell <carlos@redhat.com>
5144
5145 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5146 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5147
e23872c8
SP
51482013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5149
e5c74c63
SP
5150 * NEWS: Mention libm performance improvements and non-x86 PI
5151 futex support.
5152
e23872c8
SP
5153 * csu/libc-start.c (__pthread_initialize_minimal): Change
5154 function arguments.
5155 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5156
b5510883
JM
51572013-02-28 Joseph Myers <joseph@codesourcery.com>
5158
5159 [BZ #13550]
5160 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5161 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5162 <bp-sym.h> and <bp-asm.h>.
5163 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5164 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5165 and <bp-asm.h>.
5166 (memcpy): Don't use BP_SYM.
5167 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5168 <bp-asm.h>.
5169 (__mpn_add_n): Don't use BP_SYM.
5170 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5171 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5172 and <bp-asm.h>.
5173 (__mpn_addmul_1): Don't use BP_SYM.
5174 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5175 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5176 <bp-sym.h>.
5177 (_setjmp): Don't use BP_SYM.
5178 (__novmx_setjmp): Likewise.
5179 (__GI__setjmp): Likewise.
5180 (__vmx_setjmp): Likewise.
5181 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5182 <bp-sym.h>.
5183 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5184 (__bzero): Don't use BP_SYM.
5185 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5186 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5187 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5188 <bp-sym.h> and <bp-asm.h>.
5189 (memcpy): Don't use BP_SYM.
5190 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5191 <bp-sym.h> and <bp-asm.h>.
5192 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5193 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5194 <bp-sym.h> and <bp-asm.h>.
5195 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5196 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5197 <bp-asm.h>.
5198 (__mpn_lshift): Don't use BP_SYM.
5199 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5200 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5201 <bp-asm.h>.
5202 (memset): Don't use BP_SYM.
5203 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5204 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5205 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5206 <bp-asm.h>.
5207 (__mpn_mul_1): Don't use BP_SYM.
5208 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5209 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5210 <bp-sym.h> and <bp-asm.h>.
5211 (memcmp): Don't use BP_SYM.
5212 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5213 <bp-sym.h> and <bp-asm.h>.
5214 (memcpy): Don't use BP_SYM.
5215 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5216 <bp-sym.h> and <bp-asm.h>.
5217 (memset): Don't use BP_SYM.
5218 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5219 <bp-sym.h> and <bp-asm.h>.
5220 (strncmp): Don't use BP_SYM.
5221 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5222 <bp-sym.h> and <bp-asm.h>.
5223 (memcpy): Don't use BP_SYM.
5224 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5225 <bp-sym.h> and <bp-asm.h>.
5226 (memset): Don't use BP_SYM.
5227 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5228 <bp-sym.h> and <bp-asm.h>.
5229 (__memchr): Don't use BP_SYM.
5230 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5231 <bp-sym.h> and <bp-asm.h>.
5232 (memcmp): Don't use BP_SYM.
5233 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5234 <bp-sym.h> and <bp-asm.h>.
5235 (memcpy): Don't use BP_SYM.
5236 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5237 <bp-sym.h> and <bp-asm.h>.
5238 (__mempcpy): Don't use BP_SYM.
5239 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5240 <bp-sym.h> and <bp-asm.h>.
5241 (__memrchr): Don't use BP_SYM.
5242 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5243 <bp-sym.h> and <bp-asm.h>.
5244 (memset): Don't use BP_SYM.
5245 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5246 <bp-sym.h> and <bp-asm.h>.
5247 (__rawmemchr): Don't use BP_SYM.
5248 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5249 <bp-sym.h> and <bp-asm.h>.
5250 (__STRCMP): Don't use BP_SYM.
5251 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5252 <bp-sym.h> and <bp-asm.h>.
5253 (strchr): Don't use BP_SYM.
5254 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5255 <bp-sym.h> and <bp-asm.h>.
5256 (__strchrnul): Don't use BP_SYM.
5257 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5258 <bp-sym.h> and <bp-asm.h>.
5259 (strlen): Don't use BP_SYM.
5260 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5261 <bp-sym.h> and <bp-asm.h>.
5262 (strncmp): Don't use BP_SYM.
5263 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5264 <bp-sym.h> and <bp-asm.h>.
5265 (__strnlen): Don't use BP_SYM.
5266 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5267 <bp-asm.h>.
5268 (__mpn_rshift): Don't use BP_SYM.
5269 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5270 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5271 <bp-sym.h> and <bp-asm.h>.
5272 (__sigsetjmp): Don't use BP_SYM.
5273 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5274 (L(start_addresses)): Don't use BP_SYM.
5275 (_start): Likewise.
5276 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5277 <bp-asm.h>.
5278 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5279 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5280 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5281 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5282 <bp-asm.h>.
5283 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5284 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5285 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5286 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5287 <bp-asm.h>.
5288 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5289 comments.
5290 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5291 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5292 <bp-asm.h>.
5293 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5294 FIXME comments.
5295 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5296 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5297 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5298 <bp-asm.h>.
5299 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5300 comment.
5301 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5302 and <bp-asm.h>.
5303 (strncmp): Don't use BP_SYM,
5304 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5305 <bp-asm.h>.
5306 (__mpn_sub_n): Don't use BP_SYM.
5307 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5308 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5309 and <bp-asm.h>.
5310 (__mpn_submul_1): Don't use BP_SYM.
5311 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5313 <bp-sym.h> and <bp-asm.h>.
5314 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5316 <bp-sym.h> and <bp-asm.h>.
5317 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5318 comment.
5319
8d19fe64
SP
53202013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5321
5322 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5323 Use ZK to minimize writes to Z.
5324 (sub_magnitudes): Simplify code a bit.
5325 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5326 Use ZK to minimize writes to Z.
5327 (sub_magnitudes): Simplify code a bit.
5328
85bd816a
RM
53292013-02-27 Roland McGrath <roland@hack.frob.com>
5330
5331 * csu/gmon-start.c: Add special exception to license text.
5332
b5977bf2
RH
53332013-02-27 Richard Henderson <rth@redhat.com>
5334
5335 * scripts/config.guess: Update from config.git.
5336 * scripts/config.sub: Likewise.
5337
11d6e2f2
SP
53382013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5339
09c14ed2
SP
5340 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5341
a688864e
SP
5342 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5343
6295157a
SP
5344 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5345
b8de2202
SP
5346 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5347
11d6e2f2
SP
5348 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5349
7e80ddb8
RM
53502013-02-26 Roland McGrath <roland@hack.frob.com>
5351
5352 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5353 [$(build-shared = yes].
7e80ddb8 5354
7da6d9ed
SP
53552013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5356
45f05884
SP
5357 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5358 (__mul): Reduce iterations for calculating mantissa.
5359
2236d359
SP
5360 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5361 MPTWO.
5362 (__mpranred): Likewise.
5363
7da6d9ed
SP
5364 [BZ #15160]
5365 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5366 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5367
b7688c42
PE
53682013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5369
5370 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5371 Define __attribute__.
5372
53a5c423
SP
53732013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5374
5375 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5376 unused.
5377 * posix/regex_internal.h (__attribute): Remove.
5378 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5379 (re_string_context_at): Likewise.
5380 (bitset_not): Use __attribute__ and mark function as possibly
5381 unused.
5382 (bitset_merge): Likewise.
5383 (bitset_mask): Likewise.
5384 (re_string_char_size_at): Likewise.
5385 (re_string_wchar_at): Likewise.
5386 (re_string_elem_size_at): Likewise.
5387
60f5a8b5
SP
53882013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5389
2a983a2e
SP
5390 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5391 code.
5392 (cc32): Likewise.
5393
e69804d1
SP
5394 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5395 (__acr): Likewise.
5396 (__cpy): Likewise.
5397 (norm): Likewise.
5398 (denorm): Likewise.
5399 (__dbl_mp): Likewise.
5400 (add_magnitudes): Likewise.
5401 (sub_magnitudes): Likewise.
5402 (__mul): Likewise.
5403 (__inv): Likewise.
5404
2f22a1e8
SP
5405 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5406 style.
5407
8930ddc7
SP
5408 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5409 style.
5410
dc60cb11
SP
5411 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5412 code.
5413
60f5a8b5
SP
5414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5415 up changes with default code.
5416 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5417 Likewise.
5418
b4d1fd33
AM
54192013-02-24 Allan McRae <allan@archlinux.org>
5420
faf6f8bc
AM
5421 * manual/socket.texi (The Internet Namespace): Order menu items
5422 to match that in the file.
5423
b4d1fd33
AM
5424 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5425 node listing of the info page menu.
5426
2366713d
JM
54272013-02-21 Joseph Myers <joseph@codesourcery.com>
5428
5429 [BZ #13550]
5430 * sysdeps/i386/bp-asm.h: Remove file.
5431 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5432 (PARMS): Do not use macros from bp-asm.h.
5433 (S1): Likewise.
5434 (S2): Likewise.
5435 (SIZE): Likewise.
5436 (__mpn_add_n): Do not use BP_SYM
5437 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5438 "bp-asm.h".
5439 (PARMS): Do not use macros from bp-asm.h.
5440 (S1): Likewise.
5441 (SIZE): Likewise.
5442 (__mpn_addmul_1): Do not use BP_SYM
5443 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5444 "bp-asm.h".
5445 (PARMS): Do not use macros from bp-asm.h.
5446 (SIGMSK): Likewise.
5447 (_setjmp): Likewise. Do not use BP_SYM.
5448 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5449 "bp-asm.h".
5450 (PARMS): Do not use macros from bp-asm.h.
5451 (SIGMSK): Likewise.
5452 (setjmp): Likewise. Do not use BP_SYM.
5453 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5454 "bp-asm.h".
5455 (PARMS): Do not use macros from bp-asm.h.
5456 (__frexp): Do not use BP_SYM.
5457 (frexp): Likewise.
5458 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5459 "bp-asm.h".
5460 (PARMS): Do not use macros from bp-asm.h.
5461 (__frexpf): Do not use BP_SYM.
5462 (frexpf): Likewise.
5463 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5464 "bp-asm.h".
5465 (PARMS): Do not use macros from bp-asm.h.
5466 (__frexpl): Do not use BP_SYM.
5467 (frexpl): Likewise.
5468 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5469 "bp-asm.h".
5470 (PARMS): Do not use macros from bp-asm.h.
5471 (__remquo): Do not use BP_SYM.
5472 (remquo): Likewise.
5473 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5474 "bp-asm.h".
5475 (PARMS): Do not use macros from bp-asm.h.
5476 (__remquof): Do not use BP_SYM.
5477 (remquof): Likewise.
5478 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5479 "bp-asm.h".
5480 (PARMS): Do not use macros from bp-asm.h.
5481 (__remquol): Do not use BP_SYM.
5482 (remquol): Likewise.
5483 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5484 "bp-asm.h".
5485 (PARMS): Do not use macros from bp-asm.h.
5486 (DEST): Likewise.
5487 (SRC): Likewise.
5488 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5489 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5490 "bp-asm.h".
5491 (PARMS): Do not use macros from bp-asm.h.
5492 (strlen): Do not use BP_SYM.
5493 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5494 "bp-asm.h".
5495 (PARMS): Do not use macros from bp-asm.h.
5496 (S1): Likewise.
5497 (S2): Likewise.
5498 (SIZE): Likewise.
5499 (__mpn_add_n): Do not use BP_SYM.
5500 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5501 "bp-asm.h".
5502 (PARMS): Do not use macros from bp-asm.h.
5503 (S1): Likewise.
5504 (SIZE): Likewise.
5505 (__mpn_addmul_1): Do not use BP_SYM.
5506 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5507 weak_alias.
5508 (bzero): Likewise.
5509 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5510 "bp-asm.h".
5511 (PARMS): Do not use macros from bp-asm.h.
5512 (S): Likewise.
5513 (SIZE): Likewise.
5514 (__mpn_lshift): Do not use BP_SYM.
5515 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5516 "bp-asm.h".
5517 (PARMS): Do not use macros from bp-asm.h.
5518 (DEST): Likewise.
5519 (SRC): Likewise.
5520 (LEN): Likewise.
5521 (memcpy): Likewise. Do not use BP_SYM.
5522 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5523 libc_hidden_def and weak_alias.
5524 (mempcpy): Do not use BP_SYM in weak_alias.
5525 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5526 "bp-asm.h".
5527 (PARMS): Do not use macros from bp-asm.h.
5528 (DEST): Likewise.
5529 (LEN): Likewise.
5530 [!BZERO_P] (CHR): Likewise.
5531 (memset): Likewise. Do not use BP_SYM.
5532 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5533 "bp-asm.h".
5534 (PARMS): Do not use macros from bp-asm.h.
5535 (S1): Likewise.
5536 (SIZE): Likewise.
5537 (__mpn_mul_1): Do not use BP_SYM.
5538 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5539 "bp-asm.h".
5540 (PARMS): Do not use macros from bp-asm.h.
5541 (S): Likewise.
5542 (SIZE): Likewise.
5543 (__mpn_rshift): Do not use BP_SYM.
5544 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5545 "bp-asm.h".
5546 (PARMS): Do not use macros from bp-asm.h.
5547 (STR): Likewise.
5548 (CHR): Likewise.
5549 (strchr): Likewise. Do not use BP_SYM.
5550 (index): Do not use BP_SYM in weak_alias.
5551 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5552 "bp-asm.h".
5553 (PARMS): Do not use macros from bp-asm.h.
5554 (DEST): Likewise.
5555 (SRC): Likewise.
5556 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
5557 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5558 "bp-asm.h".
5559 (PARMS): Do not use macros from bp-asm.h.
5560 (strlen): Do not use BP_SYM.
5561 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5562 "bp-asm.h".
5563 (PARMS): Do not use macros from bp-asm.h.
5564 (S1): Likewise.
5565 (S2): Likewise.
5566 (SIZE): Likewise.
5567 (__mpn_sub_n): Do not use BP_SYM.
5568 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5569 "bp-asm.h".
5570 (PARMS): Do not use macros from bp-asm.h.
5571 (S1): Likewise.
5572 (SIZE): Likewise.
5573 (__mpn_submul_1): Do not use BP_SYM.
5574 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5575 "bp-asm.h".
5576 (PARMS): Do not use macros from bp-asm.h.
5577 (S1): Likewise.
5578 (S2): Likewise.
5579 (SIZE): Likewise.
5580 (__mpn_add_n): Do not use BP_SYM.
5581 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5582 weak_alias.
5583 (bzero): Likewise.
5584 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5585 "bp-asm.h".
5586 (PARMS): Do not use macros from bp-asm.h.
5587 (BLK2): Likewise.
5588 (LEN): Likewise.
5589 (memcmp): Do not use BP_SYM.
5590 (bcmp): Do not use BP_SYM in weak_alias.
5591 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5592 "bp-asm.h".
5593 (PARMS): Do not use macros from bp-asm.h.
5594 (DEST): Likewise.
5595 (SRC): Likewise.
5596 (LEN): Likewise.
5597 (memcpy): Likewise. Do not use BP_SYM.
5598 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5599 "bp-asm.h".
5600 (PARMS): Do not use macros from bp-asm.h.
5601 (DEST): Likewise.
5602 (SRC): Likewise.
5603 (LEN): Likewise.
5604 (memmove): Likewise. Do not use BP_SYM.
5605 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5606 "bp-asm.h".
5607 (PARMS): Do not use macros from bp-asm.h.
5608 (DEST): Likewise.
5609 (SRC): Likewise.
5610 (LEN): Likewise.
5611 (__mempcpy): Likewise. Do not use BP_SYM.
5612 (mempcpy): Do not use BP_SYM in weak_alias.
5613 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5614 "bp-asm.h".
5615 (PARMS): Do not use macros from bp-asm.h.
5616 (DEST): Likewise.
5617 (LEN): Likewise.
5618 [!BZERO_P] (CHR): Likewise.
5619 (memset): Likewise. Do not use BP_SYM.
5620 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5621 "bp-asm.h".
5622 (PARMS): Do not use macros from bp-asm.h.
5623 (STR2): Likewise.
5624 (strcmp): Do not use BP_SYM.
5625 * sysdeps/i386/i686/strtok.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 (DELIM): Likewise.
5630 [USE_AS_STRTOK_R] (SAVE): Likewise.
5631 (FUNCTION): Likewise. Do not use BP_SYM.
5632 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5633 aliases.
5634 (strtok_r): Likewise.
5635 (__GI___strtok_r): Likewise.
5636 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5637 (PARMS): Do not use macros from bp-asm.h.
5638 (S): Likewise.
5639 (SIZE): Likewise.
5640 (__mpn_lshift): Do not use BP_SYM.
5641 * sysdeps/i386/memchr.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 (CHR): Likewise.
5645 (__memchr): Do not use BP_SYM.
5646 (memchr): Do not use BP_SYM in weak_alias.
5647 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5648 (PARMS): Do not use macros from bp-asm.h.
5649 (BLK2): Likewise.
5650 (LEN): Likewise.
5651 (memcmp): Do not use BP_SYM.
5652 (bcmp): Do not use BP_SYM in weak_alias.
5653 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5654 (PARMS): Do not use macros from bp-asm.h.
5655 (S1): Likewise.
5656 (SIZE): Likewise.
5657 (__mpn_mul_1): Do not use BP_SYM.
5658 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5659 "bp-asm.h".
5660 (PARMS): Do not use macros from bp-asm.h.
5661 (STR): Likewise.
5662 (CHR): Likewise.
5663 (__rawmemchr): Do not use BP_SYM.
5664 (rawmemchr): Do not use BP_SYM in weak_alias.
5665 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5666 (PARMS): Do not use macros from bp-asm.h.
5667 (S): Likewise.
5668 (SIZE): Likewise.
5669 (__mpn_rshift): Do not use BP_SYM.
5670 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5671 (PARMS): Do not use macros from bp-asm.h.
5672 (SIGMSK): Likewise.
5673 (__sigsetjmp): Likewise. Do not use BP_SYM.
5674 * sysdeps/i386/start.S: Do not include "bp-sym.h".
5675 (_start): Do not use BP_SYM.
5676 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5677 (PARMS): Do not use macros from bp-asm.h.
5678 (DEST): Likewise.
5679 (SRC): Likewise.
5680 (__stpcpy): Likewise. Do not use BP_SYM.
5681 (stpcpy): Do not use BP_SYM in weak_alias.
5682 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5683 "bp-asm.h".
5684 (PARMS): Do not use macros from bp-asm.h.
5685 (DEST): Likewise.
5686 (SRC): Likewise.
5687 (LEN): Likewise.
5688 (__stpncpy): Likewise. Do not use BP_SYM.
5689 (stpncpy): Do not use BP_SYM in weak_alias.
5690 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5691 (PARMS): Do not use macros from bp-asm.h.
5692 (STR): Likewise.
5693 (CHR): Likewise.
5694 (strchr): Likewise. Do not use BP_SYM.
5695 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5696 "bp-asm.h".
5697 (PARMS): Do not use macros from bp-asm.h.
5698 (STR): Likewise.
5699 (CHR): Likewise.
5700 (__strchrnul): Likewise. Do not use BP_SYM.
5701 (strchrnul): Do not use BP_SYM in weak_alias.
5702 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5703 "bp-asm.h".
5704 (PARMS): Do not use macros from bp-asm.h.
5705 (STOP): Likewise.
5706 (strcspn): Do not use BP_SYM.
5707 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5708 "bp-asm.h".
5709 (PARMS): Do not use macros from bp-asm.h.
5710 (STR): Likewise.
5711 (STOP): Likewise.
5712 (strpbrk): Likewise. Do not use BP_SYM.
5713 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5714 "bp-asm.h".
5715 (PARMS): Do not use macros from bp-asm.h.
5716 (STR): Likewise.
5717 (CHR): Likewise.
5718 (strrchr): Likewise. Do not use BP_SYM.
5719 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5720 (PARMS): Do not use macros from bp-asm.h.
5721 (SKIP): Likewise.
5722 (strspn): Do not use BP_SYM.
5723 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5724 (PARMS): Do not use macros from bp-asm.h.
5725 (STR): Likewise.
5726 (DELIM): Likewise.
5727 (SAVE): Likewise.
5728 (FUNCTION): Likewise. Do not use BP_SYM.
5729 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5730 aliases.
5731 (strtok_r): Likewise.
5732 (__GI___strtok_r): Likewise.
5733 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5734 (PARMS): Do not use macros from bp-asm.h.
5735 (S1): Likewise.
5736 (S2): Likewise.
5737 (SIZE): Likewise.
5738 (__mpn_sub_n): Do not use BP_SYM.
5739 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5740 "bp-asm.h".
5741 (PARMS): Do not use macros from bp-asm.h.
5742 (S1): Likewise.
5743 (SIZE): Likewise.
5744 (__mpn_submul_1): Do not use BP_SYM.
5745 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5746 <bp-sym.h>.
5747 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5748 and <bp-asm.h>.
5749 (PARMS): Do not use macros from bp-asm.h.
5750 (FLAGS): Likewise.
5751 (PTID): Likewise.
5752 (TLS): Likewise.
5753 (CTID): Likewise.
5754 (__clone): Do not use BP_SYM.
5755 (clone): Do not use BP_SYM in weak_alias.
5756 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5757 and <bp-asm.h>.
5758 (PARMS): Do not use macros from bp-asm.h.
5759 (LEN): Likewise.
5760 (__mmap64): Do not use BP_SYM.
5761 (mmap64): Do not use BP_SYM in weak_alias.
5762 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5763 <bp-sym.h> and <bp-asm.h>.
5764 (PARMS): Do not use macros from bp-asm.h.
5765 (__posix_fadvise64_l64): Do not use BP_SYM.
5766 * sysdeps/unix/sysv/linux/i386/semtimedop.S
5767 (PARMS): Do not use macros from bp-asm.h.
5768 (NSOPS): Likewise.
5769 (semtimedop): Do not use BP_SYM.
5770 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5771 and <bp-asm.h>.
5772
582a3cff
AM
57732013-02-21 Allan McRae <allan@archlinux.org>
5774
5775 * manual/message.texi (Charset conversion in gettext):
5776 Move @end statement to beginning of line.
5777
bab8a695
SP
57782013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5779
80945231
SP
5780 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5781 static.
5782 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5783 Likewise.
5784
bab8a695
SP
5785 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5786 (denorm): Likewise.
5787 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5788 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5789
e21d7aa7
AK
57902013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5791
5792 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5793 tail-call to the resolved function if pltexit isn't needed.
5794
4c7a4263
SP
57952013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5796
5797 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5798 or Y being zero as being unlikely.
5799 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5800 Likewise.
5801
41f49342
CD
58022013-02-20 Carlos O'Donell <carlos@redhat.com>
5803
5804 * manual/nss.texi (System Databases and Name Service Switch):
5805 Remove frobnicate @pxref.
5806
50022a93
TS
58072013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5808
5809 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5810 __attribute__ ((unused)) to __attribute__ ((__unused__)).
5811
08cbd996
PM
58122013-02-20 Petr Machata <pmachata@redhat.com>
5813
5814 * elf/elf.h (R_ARM_TARGET1): New macro.
5815 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5816 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5817 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5818 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5819 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5820 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5821 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5822 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5823 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5824 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5825 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5826 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5827 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
5828 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
5829 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
5830 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
5831 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
5832 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
5833 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
5834 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
5835 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
5836 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
5837 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
5838 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
5839 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
5840 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
5841 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
5842 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
5843 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
5844 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
5845 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
5846 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
5847 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
5848 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
5849 (R_ARM_THM_GOT_BREL12): Likewise.
5850 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
5851 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
5852 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
5853 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
5854 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
5855 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
5856 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
5857 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
5858 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
5859
c7b275d6
TS
58602013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5861
5862 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5863 __attribute_used__ to __attribute__ ((unused)).
5864
20cd7fb3
SP
58652013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5866
5867 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
5868 powerpc mpa.c.
5869 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
5870 comment formatting.
5871 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
5872
92945b52
JM
58732013-02-19 Joseph Myers <joseph@codesourcery.com>
5874
5875 [BZ #13550]
5876 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
5877 Remove macro.
5878 (ENTER): Remove both macro definitions.
5879 (LEAVE): Likewise.
5880 (CHECK_BOUNDS_LOW): Likewise.
5881 (CHECK_BOUNDS_HIGH): Likewise.
5882 (CHECK_BOUNDS_BOTH): Likewise.
5883 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
5884 (RETURN_BOUNDED_POINTER): Likewise.
5885 (RETURN_NULL_BOUNDED_POINTER): Likewise.
5886 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
5887 (POP_ERRNO_LOCATION_RETURN): Likewise.
5888 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
5889 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5890 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
5891 macros.
5892 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5893 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
5894 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
5895 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
5896 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
5897 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
5898 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
5899 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
5900 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
5901 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
5902 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
5903 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
5904 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5905 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
5906 removed macros.
5907 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5908 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
5909 macros.
5910 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5911 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
5912 * sysdeps/i386/i586/memset.S (memset): Likewise.
5913 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
5914 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5915 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
5916 macros.
5917 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5918 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
5919 Change uses of L(2) to L(out).
5920 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
5921 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
5922 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
5923 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5924 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
5925 removed macros.
5926 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5927 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
5928 macros.
5929 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5930 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
5931 (RETURN): Do not use macro LEAVE.
5932 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
5933 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
5934 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
5935 * sysdeps/i386/i686/memset.S (memset): Likewise.
5936 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
5937 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
5938 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5939 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
5940 Likewise.
5941 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5942 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
5943 L(1_2) and L(1_3) into L(1).
5944 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5945 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
5946 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5947 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
5948 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5949 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
5950 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
5951 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5952 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
5953 macros.
5954 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
5955 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5956 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
5957 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
5958 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
5959 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5960 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
5961 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
5962 * sysdeps/i386/strcspn.S (strcspn): Likewise.
5963 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
5964 * sysdeps/i386/strrchr.S (strrchr): Likewise.
5965 * sysdeps/i386/strspn.S (strspn): Likewise.
5966 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
5967 conditional code.
5968 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5969 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
5970 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5971 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
5972 L(1_3) into L(1_1).
5973 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
5974 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5975 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
5976 macros.
5977 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5978
2389741a
JJ
59792013-02-19 Jakub Jelinek <jakub@redhat.com>
5980
5981 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
5982 macro.
5983
2016b3cd
SP
59842013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5985
e4f22324
SP
5986 * math/atest-exp.c (exp_mpn): Remove ROUND.
5987 * math/atest-exp2.c (exp_mpn): Likewise.
5988 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
5989
2016b3cd
SP
5990 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
5991 * stdlib/tst-tls-atexit-lib.c: Likewise.
5992 * stdlib/tst-tls-atexit.c: Likewise.
5993
4be9b544
MF
59942013-02-18 Mike Frysinger <vapier@gentoo.org>
5995
5996 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
5997 and __attribute_alloc_size__.
5998
2f62b9ee
MF
59992013-02-18 Mike Frysinger <vapier@gentoo.org>
6000
6001 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6002 __attribute_alloc_size__.
6003 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6004 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6005
6ff444c4
MF
60062013-02-18 Mike Frysinger <vapier@gentoo.org>
6007
6008 * include/programs/xmalloc.h: New file.
6009 * catgets/gencat.c: Include it.
6010 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6011 * elf/pldd.c: Likewise.
6012 * iconv/iconv_charmap.c: Likewise.
6013 * iconv/iconvconfig.c: Likewise.
6014 * iconv/strtab.c: Likewise.
6015 * locale/programs/locale.c: Likewise.
6016 * locale/programs/localedef.h: Likewise.
6017 * locale/programs/simple-hash.c: Likewise.
6018 * nscd/nscd.h: Likewise.
6019 * nss/makedb.c: Likewise.
6020 * sysdeps/generic/ldconfig.h: Likewise.
6021
be179c8a
SP
60222013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6023
ba384f6e
SP
6024 * Versions.def: Add GLIBC_2.18.
6025 * include/link.h (struct link_map): New member l_tls_dtor_count.
6026 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6027 (__call_tls_dtors): Likewise.
6028 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6029 __cxa_thread_atexit_impl.
6030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6031 Likewise.
6032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6033 Likewise.
6034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6035 Likewise.
6036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6037 Likewise.
6038 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6040 Likewise.
6041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6042 Likewise.
6043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6045 Likewise.
6046 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6047 (tests): Add test case tst-tls-atexit.
6048 (modules-names): Add shared library for tst-tls-atexit.
6049 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
6050 (GLIBC_PRIVATE): Add __call_tls_dtors.
6051 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6052 for libstdc++.
6053 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6054 * stdlib/tst-tls-atexit.c: New test case.
6055 * stdlib/tst-tls-atexit-lib.c: New test case.
6056
ffaa74cf 6057 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6058
be179c8a
SP
6059 * elf/Versions (ld): Add _dl_find_dso_for_object.
6060 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6061 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6062 (dl_open_worker): Use _dl_find_dso_for_object.
6063 * elf/dl-sym.c (do_sym): Likewise.
6064 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6065
f78b5caa
AK
60662013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6067
6068 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6069 Syntactic changes only.
6070 (_dl_runtime_profile): Do a tail-call to the resolved function.
6071
29691210
JM
60722013-02-17 Joseph Myers <joseph@codesourcery.com>
6073
6074 [BZ #13550]
6075 * sysdeps/x86_64/bp-asm.h: Remove file.
6076 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6077 <bp-sym.h> and <bp-asm.h>.
6078 (__clone): Do not use BP_SYM.
6079 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6080 <bp-sym.h> and <bp-asm.h>.
6081 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6082 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6083 "bp-asm.h".
6084 (_setjmp): Do not use BP_SYM.
6085 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6086 "bp-asm.h".
6087 (setjmp): Do not use BP_SYM.
6088 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6089 libc_hidden_def.
6090 (mempcpy): Do not use BP_SYM in weak_alias.
6091 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6092 "bp-asm.h".
6093 (strchr): Do not use BP_SYM.
6094 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6095 "bp-asm.h".
6096 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6097 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6098 (_start): Do not use BP_SYM.
6099 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6100 "bp-asm.h".
6101 (strcat): Do not use BP_SYM.
6102 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6103 "bp-asm.h".
6104 (STRCMP): Do not use BP_SYM.
6105 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6106 "bp-asm.h".
6107 (STRCPY): Do not use BP_SYM.
6108 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6109 "bp-asm.h".
6110 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6111 "bp-asm.h".
6112 (FUNCTION): Do not use BP_SYM.
6113 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6114 weak_alias.
6115 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6116
f238fd19
AJ
61172013-02-17 Andreas Jaeger <aj@suse.de>
6118
6119 * time/Versions: Sort entries.
6120 * string/Versions: Likewise.
6121 * resolv/Versions: Likewise.
6122 * posix/Versions: Likewise.
6123 * iconv/Versions: Likewise.
6124 * elf/Versions: Likewise.
6125 * wcsmbs/Versions: Likewise.
6126
bd07f23c 61272013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6128
22af19f9
SP
6129 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6130 loop termination condition.
6131
4709fe76
SP
6132 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6133 variable to calculate EZ.
6134 (__sqr): Likewise.
2d0e0f29
SP
6135
6136 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6137 the lower precision input.
6138
daaa7713
JM
61392013-02-15 Joseph Myers <joseph@codesourcery.com>
6140
6141 [BZ #13550]
6142 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6143 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6144 (run-via-rtld-prefix): Do not handle %-bp tests.
6145 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6146 (all-object-suffixes): Remove .ob.
6147 (bppfx): Remove variable.
6148 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6149 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6150 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6151 [$(build-bounded) = yes] (libtype.ob): Likewise.
6152 * Makerules (elide-routines.ob): Remove variable.
6153 (do-tests-clean): Do not handle *-bp.out.
6154 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6155 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6156 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6157 (tests): Do not include $(tests-bp.out).
6158 (xtests): Do not include $(xtests-bp.out).
6159 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6160 [$(build-bounded) = yes] ($(addprefix
6161 $(objpfx),$(binaries-bounded))): Remove rule.
6162 ($(objpfx)%-bp.out): Remove rule.
6163 * config.make.in (build-bounded): Remove variable.
6164 * crypt/Makefile [$(build-bounded) = yes]
6165 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6166 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6167 append to variable.
6168 [$(build-bounded) = yes] (install-lib): Likewise.
6169 [$(build-bounded) = yes] (generated): Likewise.
6170 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6171 Remove rule.
6172 * intl/Makefile [$(build-bounded) = yes]
6173 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6174 * math/Makefile [$(build-bounded) = yes]
6175 ($(tests:%=$(objpfx)%-bp): Likewise.
6176 * misc/Makefile [$(build-bounded) = yes]
6177 ($(objpfx)tst-tsearch-bp): Likewise.
6178 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6179 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6180 Remove dependency.
6181 * string/Makefile (o-objects.ob): Remove variable.
6182 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6183 (CFLAGS-.ob): Remove variable.
6184 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6185 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6186 both definitions of variable.
6187 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6188 (ASFLAGS-.ob): Remove variable.
6189
e97ed6dd
JM
61902013-02-14 Joseph Myers <joseph@codesourcery.com>
6191
2bdd4ca6
JM
6192 [BZ #13550]
6193 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6194 Remove __BOUNDED_POINTERS__ from condition.
6195 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6196 * string/bits/string2.h [!__NO_STRING_INLINES &&
6197 !__BOUNDED_POINTERS__]: Likewise.
6198 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6199 Likewise.
6200 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6201 Remove conditional code.
6202 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6203 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6204 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6205 condition.
6206
e97ed6dd
JM
6207 [BZ #13550]
6208 * csu/libc-start.c: Do not include <bp-sym.h>.
6209 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6210 * elf/dl-open.c: Do not include <bp-sym.h>.
6211 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6212 * math/fegetenv.c: Do not include <bp-sym.h>.
6213 (fegetenv): Do not use BP_SYM in versioned symbols.
6214 * nptl/sysdeps/pthread/bits/libc-lockP.h
6215 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6216 <bp-sym.h>.
6217 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6218 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6219 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6220 (__pthread_mutex_destroy): Likewise.
6221 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6222 (__pthread_mutex_lock): Likewise.
6223 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6224 (__pthread_mutex_trylock): Likewise.
6225 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6226 (__pthread_mutex_unlock): Likewise.
6227 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6228 (__pthread_mutexattr_init): Likewise.
6229 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6230 (__pthread_mutexattr_destroy): Likewise.
6231 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6232 (__pthread_mutexattr_settype): Likewise.
6233 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6234 (__pthread_rwlock_init): Likewise.
6235 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6236 (__pthread_rwlock_destroy): Likewise.
6237 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6238 (__pthread_rwlock_rdlock): Likewise.
6239 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6240 (__pthread_rwlock_tryrdlock): Likewise.
6241 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6242 (__pthread_rwlock_wrlock): Likewise.
6243 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6244 (__pthread_rwlock_trywrlock): Likewise.
6245 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6246 (__pthread_rwlock_unlock): Likewise.
6247 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6248 (__pthread_key_create): Likewise.
6249 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6250 (__pthread_setspecific): Likewise.
6251 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6252 (__pthread_getspecific): Likewise.
6253 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6254 Likewise.
6255 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6256 (_pthread_cleanup_push_defer): Likewise.
6257 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6258 (_pthread_cleanup_pop_restore): Likewise.
6259 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6260 (pthread_setcancelstate): Likewise.
6261 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6262 <bp-sym.h>.
6263 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6264 (memchr): Do not use BP_SYM in weak_alias.
6265 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6266 (fegetenv): Do not use BP_SYM in versioned symbols.
6267 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6268 (fesetenv): Do not use BP_SYM in versioned symbols.
6269 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6270 (feupdateenv): Do not use BP_SYM in versioned symbols.
6271 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6272 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6273 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6274 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6275 (open64): Do not use BP_SYM in weak_alias.
6276 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6277 (fegetenv): Do not use BP_SYM in versioned symbols.
6278 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6279 (fesetenv): Do not use BP_SYM in versioned symbols.
6280 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6281 (feupdateenv): Do not use BP_SYM in versioned symbols.
6282 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6283 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6284 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6285 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6286 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6287 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6288 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6289 <bp-sym.h>.
6290 (__libc_start_main): Do not use BP_SYM.
6291
d6752ccd
SP
62922013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6293
cb57ce60
SP
6294 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6295 redundant return line.
6296 (norm): Likewise.
6297 (denorm): Likewise.
6298 (dbl_mp): Likewise.
6299 (sub_magnitudes): Likewise.
6300 (__add): Likewise.
6301 (__sub): Likewise.
6302 (__mul): Likewise.
6303 (__inv): Likewise.
6304 (__dvd): Likewise.
6305 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6306 (norm): Likewise.
6307 (denorm): Likewise.
6308 (dbl_mp): Likewise.
6309 (sub_magnitudes): Likewise.
6310 (__add): Likewise.
6311 (__sub): Likewise.
6312 (__mul): Likewise.
6313 (__inv): Likewise.
6314 (__dvd): Likewise.
6315
f414520d
SP
6316 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6317 instead of __mul.
6318 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6319 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6320 (cc32): Likewise.
6321
d6752ccd
SP
6322 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6323 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6324 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6325 of __mul for squares.
6326 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6327 function
6328 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6329 Likewise.
6330 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6331 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6332
70d9946a
JM
63332013-02-13 Joseph Myers <joseph@codesourcery.com>
6334
6335 [BZ #13550]
6336 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6337 code.
6338 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6339 prototype or function definition. Rename ubp_* variables and
6340 parameters. Remove argv definitions conditional on
6341 [__BOUNDED_POINTERS__].
6342 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6343 * elf/dl-runtime.c (_dl_fixup): Likewise.
6344 * include/set-hooks.h (RUN_HOOK): Likewise.
6345 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6346 definition.
6347 * string/strcpy.c (strcpy): Do not use __unbounded.
6348 * sysdeps/generic/frame.h (struct layout): Likewise.
6349 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6350 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6351 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6352 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6353 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6354 (__backtrace): Likewise.
6355 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6356 use __ptrvalue.
6357 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6358 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6359 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6360 Likewise.
6361 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6362 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6363 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6364 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6365 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6366 Do not use __unbounded.
6367 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6368 Rename __unboundedrlimits parameter to rlimits in prototype.
6369 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6370 Do not use __unbounded.
6371 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6372 not use __ptrvalue.
6373 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6374 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6375 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6376 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6377 __ptrvalue or __unbounded.
6378 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6379 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6380 use __unbounded.
6381 (__new_msgctl): Do not use __ptrvalue.
6382 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6383 __unbounded.
6384 (__libc_msgrcv): Do not use __ptrvalue.
6385 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6386 startup_info): Do not use __unbounded.
6387 (__libc_start_main): Likewise. Rename ubp_* variables and
6388 parameters. Remove argv definitions conditional on
6389 [__BOUNDED_POINTERS__].
6390 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6391 __ptrvalue.
6392 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6393 use __unbounded.
6394 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6395 or __ptrvalue.
6396 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6397 use __unbounded.
6398 (__new_shmctl): Do not use __ptrvalue.
6399 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6400 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6401 Likewise.
6402 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6403 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6404 (__libc_sigaction): Likewise.
6405 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6406 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6407 Likewise.
6408 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6409
cc7834d6
OB
64102013-02-13 Ondřej Bílka <neleai@seznam.cz>
6411
ffb1ec7b 6412 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
6413
6414 * string/mempcpy.c: Implement by calling memcpy.
6415
bdf02814
SP
64162013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6417
c2af38aa
SP
6418 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6419
4e92d59e
SP
6420 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6421 evaluation.
6422
909279a5
SP
6423 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6424 values in the mantissa.
6425
bdf02814
SP
6426 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6427 minimize writes to Z.
6428 (sub_magnitudes): Simplify code a bit.
6429
cd525923
RM
64302013-02-12 Roland McGrath <roland@hack.frob.com>
6431
6432 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6433 from the message. The linker prefixes all warnings with that already.
6434
7e2f0d2d
AS
64352013-02-12 Andreas Schwab <schwab@suse.de>
6436
a445af0b
AS
6437 [BZ #15078]
6438 * posix/regexec.c (extend_buffers): Add parameter min_len.
6439 (check_matching): Pass minimum needed length.
6440 (clean_state_log_if_needed): Likewise.
6441 (get_subexp): Likewise.
6442 * posix/Makefile (tests): Add bug-regex34.
6443 (bug-regex34-ENV): Define.
6444 * posix/bug-regex34.c: New file.
6445
7e2f0d2d
AS
6446 [BZ #11561]
6447 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6448 elements compare against the byte sequence of it, not its name.
6449 * posix/Makefile (tests): Add bug-regex35.
6450 (bug-regex35-ENV): Define.
6451 * posix/bug-regex35.c: New file.
6452
a175b684
TV
64532013-02-11 Tom de Vries <tom@codesourcery.com>
6454
6455 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6456 comment.
6457 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6458 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6459 (CHECK_EOL): Add undef.
6460
310998fe 64612013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
6462
6463 * bits/stdlib-bsearch.h: New file.
6464 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 6465 * stdlib/stdlib.h: Likewise.
41eda41d 6466
8ded91fb
RM
64672013-02-11 Roland McGrath <roland@hack.frob.com>
6468
6469 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6470 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6471 declaration.
6472 * manual/search.texi (Array Search Function): Add missing const in
6473 lfind prototype.
6474 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6475 declaration to use rlim_t.
6476 (Basic Scheduling Functions): Remove erroneous const from
6477 sched_getparam prototype. Remove erroneous * from
6478 sched_get_priority_max and sched_get_priority_min prototypes.
6479 (Resource Usage): Fix summary @comment on vtimes to refer to
6480 sys/vtimes.h rather than vtimes.h.
6481 Add missing *s in vtimes prototype.
6482 (Limits on Resources): Fix ulimit prototype to return long int.
6483 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6484 prototypes to use long int rather than double.
6485 (BSD Random): Fix initstate and setstate to use char *, not void *.
6486 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6487 prototype to make second argument 'struct aiocb64 *const[]'.
6488 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6489 (Status of AIO Operations): Remove erroneous const in aio_return and
6490 aio_return64 prototypes.
6491 (Synchronizing I/O): Fix sync prototype to return void.
6492 * manual/startup.texi (Suboptions): Remove an erroneous const in
6493 getsubopt prototype.
6494 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6495 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6496 use size_t rather than int.
6497 (Scanning All Users): Likewise for getpwent_r.
6498 (Setting Groups): Add missing const to setgroups prototype.
6499 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6500 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6501 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6502 'const void *' rather than 'const char *'.
6503 (Host Address Functions): Likewise for inet_ntop.
6504 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6505 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6506 ssize_t for return value.
6507 (Sending Data): Likewise for send, sendto, sendmsg.
6508 (Socket Option Functions): Add a missing const in setsockopt prototype.
6509 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6510 use wchar_t for the argument.
6511 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6512 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6513 take no arguments.
6514 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6515 double/float/long double for second argument.
6516 Fix return types of significand, significandf, significandl.
6517 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6518 argument in fchmod prototype.
6519 (File Owner): Use uid_t and gid_t in fchown prototype.
6520 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6521 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6522 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6523 use 'const struct dirent **' as argument types to CMP function pointer
6524 argument.
6525 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6526 (File Times): Fix summary magic @comment for struct utimbuf and utime
6527 to refer to utime.h, not time.h.
6528 * manual/string.texi (Argz Functions): Add missing const in
6529 argz_extract and argz_next prototypes.
6530 (Finding Tokens in a String): Likewise for basename.
6531 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6532 (Copying and Concatenation): Fix typo in wmemmove prototype.
6533 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6534 (Signal Stack): Remove erroneous const in sigstack prototype.
6535 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6536 prototype.
6537 (Simple Calendar Time): Likewise for stime.
6538 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6539 prototype.
6540 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6541 say sys/sysctl.h instead.
6542 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6543 and vsyslog prototypes.
6544
fe77fe6d
TV
65452013-02-11 Tom de Vries <tom@codesourcery.com>
6546
6547 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6548 Remove.
6549
3a09b620
RM
65502013-02-11 Roland McGrath <roland@hack.frob.com>
6551
6552 * misc/sys/mman.h: Fix typo in mremap comment.
6553
550a0b89
RM
65542013-02-08 Roland McGrath <roland@hack.frob.com>
6555
6556 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6557 the '\0' terminator.
6558
a2da1673
JM
65592013-02-08 Joseph Myers <joseph@codesourcery.com>
6560
6561 [BZ #13550]
6562 * debug/segfault.c: Don't include <bp-checks.h>.
6563 * sysdeps/generic/bp-checks.h: Remove file.
6564 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6565 (__GETDENTS): Don't use CHECK_N.
6566 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6567 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6568 (__getgroups): Don't use CHECK_N.
6569 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6570 (setgroups): Don't use CHECK_N.
6571 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6572 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6573 (__libc_msgrcv): Don't use CHECK_N.
6574 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6575 (__libc_msgsnd): Don't use CHECK_N.
6576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6577 <bp-checks.h>.
6578 (__libc_pread): Don't use CHECK_N.
6579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6580 include <bp-checks.h>.
6581 (__libc_pread64): Don't use CHECK_N.
6582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6583 include <bp-checks.h>.
6584 (__libc_pwrite): Don't use CHECK_N.
6585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6586 include <bp-checks.h>.
6587 (__libc_pwrite64): Don't use CHECK_N.
6588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6589 <bp-checks.h>.
6590 (__libc_pread): Don't use CHECK_N.
6591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6592 include <bp-checks.h>.
6593 (__libc_pread64): Don't use CHECK_N.
6594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6595 include <bp-checks.h>.
6596 (__libc_pwrite): Don't use CHECK_N.
6597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6598 include <bp-checks.h>.
6599 (__libc_pwrite64): Don't use CHECK_N.
6600 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6601 (do_pread): Don't use CHECK_N.
6602 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6603 (do_pread64): Don't use CHECK_N.
6604 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6605 (do_pwrite): Don't use CHECK_N.
6606 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6607 (do_pwrite64): Don't use CHECK_N.
6608 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6609 (__libc_readv): Don't use CHECK_N.
6610 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6611 (semop): Don't use CHECK_N.
6612 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6613 <bp-checks.h>.
6614 (semtimedop): Don't use CHECK_N.
6615 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6616 (__libc_pread): Don't use CHECK_N.
6617 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6618 <bp-checks.h>.
6619 (__libc_pread64): Don't use CHECK_N.
6620 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6621 <bp-checks.h>.
6622 (__libc_pwrite): Don't use CHECK_N.
6623 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6624 <bp-checks.h>.
6625 (__libc_pwrite64): Don't use CHECK_N.
6626 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6627 <bp-checks.h>.
6628 (__libc_msgrcv): Don't use CHECK_N.
6629 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6630 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
6631 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6632 (__libc_writev): Don't use CHECK_N.
6633
b84660a8
RM
66342013-02-08 Roland McGrath <roland@hack.frob.com>
6635
7f3e75f8
RM
6636 * string/strcpy.c: Removed unused variable.
6637
b84660a8
RM
6638 * Makeconfig (+sysdep-includes): Define with := rather than =.
6639 Use an existing include/ subdir of each sysdeps dir before it.
6640
471514d3
CD
66412013-02-08 Carlos O'Donell <carlos@redhat.com>
6642
6643 * nscd/connection.c (register_traced_file): Comment function.
6644 [HAVE_INOTIFY] (union __inev): Define.
6645 [HAVE_INOTIFY] (inotify_check_files): New function.
6646 [HAVE_INOTIFY] (clear_db_cache): Likewise.
6647 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6648 clear_db_cache.
6649 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6650
b2d3c3be
CD
66512013-02-08 Carlos O'Donell <carlos@redhat.com>
6652
6653 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6654 loaded if not already and that a failure is permanent.
6655
b39949d2
CD
66562013-02-08 Carlos O'Donell <carlos@redhat.com>
6657
ddacd1db 6658 [BZ #15006]
b39949d2
CD
6659 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6660 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6661
b2c9eff4
JM
66622013-02-08 Joseph Myers <joseph@codesourcery.com>
6663
f3aae3f3
JM
6664 [BZ #13550]
6665 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6666 (CHECK_1_NULL_OK): Likewise.
6667 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6668 (__fxstat): Do not use CHECK_1.
6669 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6670 <bp-checks.h>.
6671 (___fxstat64): Do not use CHECK_1.
6672 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6673 <bp-checks.h>.
6674 (__fxstatat): Do not use CHECK_1.
6675 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6676 <bp-checks.h>.
6677 (__fxstatat64): Do not use CHECK_1.
6678 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6679 <bp-checks.h>.
6680 (__fxstat): Do not use CHECK_1.
6681 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6682 <bp-checks.h>.
6683 (__fxstatat): Do not use CHECK_1.
6684 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6685 <bp-checks.h>.
6686 (__getresgid): Do not use CHECK_1.
6687 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6688 <bp-checks.h>.
6689 (__getresuid): Do not use CHECK_1.
6690 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6691 <bp-checks.h>.
6692 (__lxstat): Do not use CHECK_1.
6693 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6694 <bp-checks.h>.
6695 (__old_msgctl): Do not use CHECK_1.
6696 (__new_msgctl): Likewise.
6697 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6698 <bp-checks.h>.
6699 (__new_setrlimit): Do not use CHECK_1.
6700 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6701 <bp-checks.h>.
6702 (__old_shmctl): Do not use CHECK_1.
6703 (__new_shmctl): Likewise.
6704 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6705 <bp-checks.h>.
6706 (__xstat): Do not use CHECK_1.
6707 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6708 (__lxstat): Do not use CHECK_1.
6709 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6710 <bp-checks.h>.
6711 (___lxstat64): Do not use CHECK_1.
6712 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6713 (__old_msgctl): Do not use CHECK_1.
6714 (__new_msgctl): Likewise.
6715 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6716 <bp-checks.h>.
6717 (__gettimeofday): Do not use CHECK_1.
6718 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6719 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6720 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6721 <bp-checks.h>.
6722 (__gettimeofday): Do not use CHECK_1.
6723 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6724 (__old_shmctl): Do not use CHECK_1_NULL_OK.
6725 (__new_shmctl): Do not use CHECK_1.
6726 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6727 <bp-checks.h>.
6728 (do_sigtimedwait): Do not use CHECK_1.
6729 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6730 <bp-checks.h>.
6731 (do_sigwaitinfo): Do not use CHECK_1.
6732 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6733 <bp-checks.h>.
6734 (msgctl): Do not use CHECK_1.
6735 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6736 <bp-checks.h>.
6737 (shmctl): Do not use CHECK_1.
6738 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6739 (ustat): Do not use CHECK_1.
6740 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6741 <bp-checks.h>.
6742 (__fxstat): Do not use CHECK_1.
6743 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6744 <bp-checks.h>.
6745 (__fxstatat): Do not use CHECK_1.
6746 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6747 <bp-checks.h>.
6748 (__lxstat): Do not use CHECK_1.
6749 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6750 <bp-checks.h>.
6751 (__xstat): Do not use CHECK_1.
6752 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6753 (__xstat): Do not use CHECK_1.
6754 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6755 (___xstat64): Do not use CHECK_1.
6756
b2c9eff4
JM
6757 [BZ #13550]
6758 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6759 definitions.
6760 (CHECK_BOUNDS_HIGH): Likewise.
6761 * string/strcpy.c: Do not include <bp-checks.h>.
6762 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6763
f1d70dad
RM
67642013-02-07 Roland McGrath <roland@hack.frob.com>
6765
6766 * nscd/nscd-client.h (__nscd_drop_map_ref):
6767 Add __attribute__ ((unused)).
6768 * nis/nss-nisplus.h (niserr2nss): Likewise.
6769
6770 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6771 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6772
6773 * csu/libc-tls.c (init_static_tls, init_slotinfo):
6774 Remove inline keyword.
6775 * include/rounding-mode.h (round_away): Likewise.
6776 * libio/wfileops.c (adjust_wide_data): Likewise.
6777 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6778 (__m128i_strloadu_tolower): Likewise.
6779 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6780 (__m128i_strloadu_tolower): Likewise.
6781 * time/mktime.c (ydhms_diff): Likewise.
6782 * locale/elem-hash.h (elem_hash): Likewise.
6783 * locale/setlocale.c (setdata): Likewise.
6784 * posix/regex_internal.h (re_string_char_size_at): Likewise.
6785 (re_string_wchar_at): Likewise.
6786 (bitset_not, bitset_merge, bitset_mask): Likewise.
6787 [!(__GNUC__ > 3)] (inline): Remove macro.
6788 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6789 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6790 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6791 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6792 * string/memcmp.c (memcmp_bytes): Likewise.
6793 * locale/programs/locarchive.c (compute_hashval): Likewise.
6794 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6795 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6796 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6797 * nss/getent.c (print_rpc, print_protocols): Likewise.
6798 (print_passwd, print_group, print_aliases): Likewise.
6799 * nis/nss-nisplus.h (niserr2nss): Likewise.
6800 * nscd/connections.c (restart_p): Likewise.
6801 Change return type to bool.
6802
eab55bfb
RM
68032013-02-05 Roland McGrath <roland@hack.frob.com>
6804
7bd642f5
RM
6805 * Makeconfig (all-Depend-files): Add existing
6806 $(sorted-subdirs:=/Depend) files.
6807 (all-subdirs): Remove nss.
6808 * sysdeps/unix/inet/Subdirs: Add it here instead.
6809 * hesiod/Depend: New file.
6810
573c29b2
RM
6811 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6812 instead of calling alloca.
6813
b2e25af0
RM
6814 * io/lseek.c (__lseek): Rename to __libc_lseek.
6815 Define __lseek as an alias.
6816
eab55bfb
RM
6817 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6818
9a0d1941
CD
68192013-02-04 Carlos O'Donell <carlos@redhat.com>
6820
6821 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6822 else clause and remove check for non-standard endianness.
6823
b83bbec4
DM
68242013-02-04 David S. Miller <davem@davemloft.net>
6825
6826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6827
6277fdab
JM
68282013-02-04 Joseph Myers <joseph@codesourcery.com>
6829
6830 [BZ #13550]
6831 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
6832 (__ubp_memchr): Remove prototype.
6833 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
6834 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6835 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
6836 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6837 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
6838 Remove alias.
6839 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
6840 (__ubp_memchr): Likewise.
6841 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
6842 (__ubp_memchr): Likewise.
6843 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
6844 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
6845 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
6846 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
6847 CHECK_STRING.
6848 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6849 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
6850 (__getcwd): Do not use CHECK_STRING.
6851 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6852 <bp-checks.h>.
6853 (__real_chown): Do not use CHECK_STRING.
6854 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
6855 <bp-checks.h>.
6856 (fchownat): Do not use CHECK_STRING.
6857 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
6858 CHECK_STRING.
6859 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6860 <bp-checks.h>.
6861 (__lchown): Do not use CHECK_STRING.
6862 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6863 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6864 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6865 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6867 include <bp-checks.h>.
6868 (truncate64): Do not use CHECK_STRING.
6869 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6870 <bp-checks.h>.
6871 (__real_chown): Do not use CHECK_STRING.
6872 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6873 <bp-checks.h>.
6874 (__lchown): Do not use CHECK_STRING.
6875 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6876 <bp-checks.h>.
6877 (__chown): Do not use CHECK_STRING.
6878 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
6879 <bp-checks.h>.
6880 (truncate64): Do not use CHECK_STRING.
6881 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
6882 Likewise.
6883 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
6884 (__xmknod): Do not use CHECK_STRING.
6885 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6886 <bp-checks.h>.
6887 (__xmknodat): Do not use CHECK_STRING.
6888 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6889 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6890
903ae060
AS
68912013-02-04 Andreas Schwab <schwab@suse.de>
6892
6893 [BZ #14142]
6894 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
6895 * include/netdb.h: Likewise for h_errno.
6896 * elf/tst-stackguard1.c: Include <tls.h>.
6897
542f9466
JK
68982013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6899
6900 * elf/link.h (struct link_map): Extend the l_addr comment.
6901 * include/link.h (struct link_map): Likewise.
6902
e782a927
JM
69032013-02-01 Joseph Myers <joseph@codesourcery.com>
6904
6905 [BZ #13550]
6906 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
6907 (BOUNDED_1): Remove macro.
6908 * debug/backtrace.c: Don't include <bp-checks.h>.
6909 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
6910 (__backtrace): Likewise.
6911 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
6912 <bp-checks.h>.
6913 (__backtrace): Don't use BOUNDED_1.
6914 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
6915 <bp-checks.h>.
6916 (__backtrace): Don't use BOUNDED_1.
6917 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
6918 (__backtrace): Don't use BOUNDED_1.
6919 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
6920 (shmat): Don't use BOUNDED_N.
6921
8cf28c5e
JM
69222013-01-31 Joseph Myers <joseph@codesourcery.com>
6923
3a7ac8a0
JM
6924 [BZ #13550]
6925 * sysdeps/generic/bp-start.h: Remove file.
6926 * csu/libc-start.c: Don't include <bp-start.h>.
6927 (LIBC_START_MAIN): Set up __environ directly instead of using
6928 INIT_ARGV_and_ENVIRON.
6929 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
6930 <bp-start.h>.
6931
f3499f95
JM
6932 [BZ #13550]
6933 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
6934 definitions.
6935 (CHECK_FCNTL): Likewise.
6936 (CHECK_N_PAGES): Likewise.
6937
32a45bea
JM
6938 [BZ #13550]
6939 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
6940 definitions.
6941 (CHECK_SIGSET_NULL_OK): Likewise.
6942 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
6943 <bp-checks.h>.
6944 (sigpending): Don't use CHECK_SIGSET.
6945 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
6946 <bp-checks.h>.
6947 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6948 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
6949 <bp-checks.h>.
6950 (do_sigsuspend): Don't use CHECK_SIGSET.
6951 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
6952 use CHECK_SIGSET.
6953 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
6954 (do_sigwait): Don't use CHECK_SIGSET.
6955 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
6956 use CHECK_SIGSET.
6957 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
6958 include <bp-checks.h>.
6959 (sigpending): Don't use CHECK_SIGSET.
6960 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
6961 include <bp-checks.h>.
6962 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6963 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
6964 <bp-checks.h>.
6965 (sigpending): Don't use CHECK_SIGSET.
6966 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
6967 <bp-checks.h>.
6968 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6969
2e8a5c8c
JM
6970 [BZ #13550]
6971 * sysdeps/generic/bp-semctl.h: Remove file.
6972 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
6973 <bp-checks.h> and <bp-semctl.h>.
6974 (__old_semctl): Don't use CHECK_SEMCTL.
6975 (__new_semctl): Likewise.
6976 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
6977 and <bp-semctl.h>.
6978 (__old_semctl): Don't use CHECK_SEMCTL.
6979 (__new_semctl): Likewise.
6980 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
6981 <bp-checks.h> and <bp-semctl.h>.
6982 (__old_semctl): Don't use CHECK_SEMCTL.
6983 (__new_semctl): Likewise.
6984 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
6985 <bp-checks.h> and <bp-semctl.h>.
6986 (semctl): Don't use CHECK_SEMCTL.
6987
c2d54929
JM
6988 [BZ #13550]
6989 * Makerules (elide-bp-thunks): Remove variable.
6990 (elide-routines.oS): Don't use $(elide-bp-thunks).
6991 (elide-routines.os): Likewise.
6992 (elide-routines.o): Likewise.
6993 (elide-routines.op): Likewise.
6994 (elide-routines.og): Likewise.
6995 (objects): Don't use $(bp-thunks).
6996 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
6997 include.
6998 (common-generated): Do not add s-proto-bp.d.
6999 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7000 (int): Likewise.
7001 (typ): Likewise.
7002 Do not generate makefile rules for bounded-pointer thunks.
7003 * sysdeps/generic/bp-thunks.h: Remove file.
7004 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7005 * sysdeps/unix/s-proto-bp.S: Likewise.
7006
8cf28c5e
JM
7007 [BZ #15062]
7008 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7009 parts of result separately when argument is not close to line from
7010 -i to i and one part of argument is small.
7011 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7012 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7013 * math/libm-test.inc (cacos_test): Add more tests.
7014 (casin_test): Likewise.
7015 (casinh_test): Likewise.
7016 * sysdeps/i386/fpu/libm-test-ulps: Update.
7017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7018
c4e33b8d
DM
70192013-01-31 David S. Miller <davem@davemloft.net>
7020
7021 * po/de.po: Update from translation team.
7022
3b60b421
MK
70232013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7024
7025 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7026
bb931195
TS
70272013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7028
b5a5da23
TS
7029 * configure.in (_AC_PROG_CC_C89): New definition.
7030 * configure: Regenerate.
7031
bb931195
TS
7032 * configure.in (AC_PROG_CPP): New definition.
7033 * configure: Regenerate.
7034
8c53a12c
JM
70352013-01-23 Joseph Myers <joseph@codesourcery.com>
7036
7037 * debug/tst-backtrace.h: New file.
7038 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7039 (ret): Remove variable.
7040 (x): Likewise.
7041 (FAIL): Remove macro.
7042 (NO_INLINE): Likewise.
7043 (fn1): Use match function instead of strstr.
7044 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7045 (ret): Remove variable.
7046 (x): Likewise.
7047 (FAIL): Remove macro.
7048 (NO_INLINE): Likewise.
7049 (fn): Use match function instead of strstr.
7050 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7051 (ret): Remove variable.
7052 (x): Likewise.
7053 (FAIL): Remove macro.
7054 (NO_INLINE): Likewise.
7055 (handle_signal): Use match function instead of strstr.
7056 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7057 (ret): Remove variable.
7058 (x): Likewise.
7059 (FAIL): Remove macro.
7060 (NO_INLINE): Likewise.
7061 (handle_signal): Use match function instead of strstr.
7062
4858fa2a
RM
70632013-01-23 Roland McGrath <roland@hack.frob.com>
7064
7065 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7066
bae8e7f5
DM
70672013-01-23 David S. Miller <davem@davemloft.net>
7068
7069 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7070 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7071 argument of CAS if possible.
7072 * sysdeps/sparc/sparc64/bits/atomic.h
7073 (__arch_compare_and_exchange_val_32_acq): Likewise.
7074 (__arch_compare_and_exchange_val_64_acq): Likewise.
7075
9cbbc4ae
PT
70762013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7077
7078 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7079 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7080 Include <limits.h>.
67b3f58c 7081 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7082
5655a0b5
AC
70832013-01-23 Adam Conrad <adconrad@0c3.net>
7084
7085 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7086 (LDFLAGS-tst-array5): Likewise.
7087
052aff95
JM
70882013-01-23 Joseph Myers <joseph@codesourcery.com>
7089
7090 [BZ #15036]
7091 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7092 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7093 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7094 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7095
7c1e01aa
DM
70962013-01-21 David S. Miller <davem@davemloft.net>
7097
7098 * sysdeps/sparc/backtrace.c: New file.
7099 * sysdeps/sparc/sparc32/backtrace.h: New file.
7100 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7101 * sysdeps/sparc/sparc64/backtrace.h: New file.
7102 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7103 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7104 -funwind-tables.
7105
ab087e0a
AS
71062013-01-21 Andreas Schwab <schwab@suse.de>
7107
7108 [BZ #15020]
7109 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7110 closed its stdout.
7111
ed689c2f
AS
71122013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7113
7114 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7115 "mpa2.h".
7116 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7117
31d470ac
JM
71182013-01-18 Joseph Myers <joseph@codesourcery.com>
7119 Mark Mitchell <mark@codesourcery.com>
7120 Tom de Vries <tom@codesourcery.com>
7121 Paul Pluzhnikov <ppluzhnikov@google.com>
7122
7123 * debug/tst-backtrace2.c: New file.
7124 * debug/tst-backtrace3.c: Likewise.
7125 * debug/tst-backtrace4.c: Likewise.
7126 * debug/tst-backtrace5.c: Likewise.
7127 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7128 (CFLAGS-tst-backtrace3.c): Likewise.
7129 (CFLAGS-tst-backtrace4.c): Likewise.
7130 (CFLAGS-tst-backtrace5.c): Likewise.
7131 (LDFLAGS-tst-backtrace2): Likewise.
7132 (LDFLAGS-tst-backtrace3): Likewise.
7133 (LDFLAGS-tst-backtrace4): Likewise.
7134 (LDFLAGS-tst-backtrace5): Likewise.
7135 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7136 tst-backtrace4 and tst-backtrace5.
7137
90567f30 71382013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7139 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7140
7141 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7142 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7143 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7144 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7146 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7147 "+r" and remove output regs list as redundant. Add explicit inline
7148 asm to specify register of return val to work around compiler codegen
7149 bug. Remove (int) cast on return value. Add return type parameter to
7150 use in macro so that this macro does not truncate return value for
7151 64-bit values.
7152 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7153 pass to INTERNAL_VSYSCALL_NCS.
7154 (INLINE_VSYSCALL): Add 'long int' as return type to
7155 INTERNAL_VSYSCALL_NCS macro invocation.
7156 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7157 INTERNAL_VSYSCALL_NCS macro invocation.
7158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7159
d3b9ea61
SP
71602013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7161
0b57daeb
SP
7162 [BZ #14496]
7163 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7164 Fix application of SIMD FP exception mask.
7165
caa99d06
SP
7166 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7167 mp_no from a power of two.
7168 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7169 __mpexp_twomm1. Use __pow_mp.
7170
d3b9ea61
SP
7171 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7172 multiplication.
7173
1dbaee3c
DM
71742013-01-17 David S. Miller <davem@davemloft.net>
7175
7176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7177
728d7b43
JM
71782013-01-17 Joseph Myers <joseph@codesourcery.com>
7179
7180 [BZ #15023]
7181 * include/complex.h: Condition contents on [!_COMPLEX_H].
7182 (__kernel_casinhf): New prototype.
7183 (__kernel_casinh): Likewise.
7184 (__kernel_casinhl): Likewise.
7185 * math/Makefile (libm_calls): Add k_casinh.
7186 * math/k_casinh.c: New file.
7187 * math/k_casinhf.c: Likewise.
7188 * math/k_casinhl.c: Likewise.
7189 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7190 finite nonzero arguments.
7191 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7192 finite nonzero arguments.
7193 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7194 finite nonzero arguments.
7195 * math/s_casinh.c: Do not include <float.h>.
7196 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7197 * math/s_casinhf.c: Do not include <float.h>.
7198 (__casinhf): Move code for finite nonzero arguments to
7199 k_casinhf.c.
7200 * math/s_casinhl.c: Do not include <float.h>.
7201 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7202 redefine.
7203 (__casinhl): Move code for finite nonzero arguments to
7204 k_casinhl.c.
7205 * math/libm-test.inc (cacos_test): Add more tests.
7206 * sysdeps/i386/fpu/libm-test-ulps: Update.
7207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7208
2a26ef3a
PT
72092013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7210
7211 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7212 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7213 [!HAVE_MREMAP]: Remove [defined linux] case.
7214 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7215
a897655d
SP
72162013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7217
7218 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7219
881ebe89 72202013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7221
7222 * elf/elf.h (R_386_SIZE32): New relocation.
7223 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7224 R_386_SIZE32.
7225 (elf_machine_rela): Likewise.
7226 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7227 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7228
59981e9b
JM
72292013-01-17 Joseph Myers <joseph@codesourcery.com>
7230
7231 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7232 (FP_FAST_FMA): Do not define.
7233 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7234 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7235 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7236 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7237 !_SOFT_FLOAT]: Likewise.
7238 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7239 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7240 value.
7241 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7242 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7243 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7244 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7245 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7246 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7247 file.
7248
cfa8054f
AS
72492013-01-16 Andreas Schwab <schwab@suse.de>
7250
7251 [BZ #14327]
7252 * include/stdlib.h (__mktemp): Add declaration.
7253 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7254 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7255
dd930cc5
SP
72562013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7257
881ebe89
SP
7258 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7259 definitions.
7260 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7261 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7262 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7263 definitions here.
7264 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7265 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7266 definitions.
7267 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7268 and ONE.
7269 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7270 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7271 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7272 definitions.
7273 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7274 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7275 definitions.
7276 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7277
dd930cc5
SP
7278 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7279
c19a9f89
DM
72802013-01-15 David S. Miller <davem@davemloft.net>
7281
1aa61767
DM
7282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7283 trunc{,f} to libm-sysdep_routes.
7284 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7286 file.
7287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7289 file.
7290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7291 file.
7292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7294 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7295 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7296 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7297 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7298 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7299 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7300
c42d5e98
DM
7301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7302 nearbyint{,f} to libm-sysdep_routes.
7303 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7305 New file.
7306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7307 file.
7308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7309 New file.
7310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7311 file.
7312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7314 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7315 file.
7316 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7317 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7318 file.
7319 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7320 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7321 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7322
c19a9f89
DM
7323 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7324 libc_feholdexcept and libc_fesetenv.
7325
357679d2
MF
73262013-01-15 Mike Frysinger <vapier@gentoo.org>
7327
7328 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7329
65a82e3d
DM
73302013-01-14 David S. Miller <davem@davemloft.net>
7331
8b954ab9
DM
7332 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7333 (SPARC_ASM_VIS2_IFUNC): Likewise.
7334 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7336 use of 'siam' instruction.
7337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7338 Likewise.
7339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7340 Likewise.
7341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7342 Likewise.
7343 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7344 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7345 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7346 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7348 file.
7349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7350 file.
7351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7352 file.
7353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7354 file.
7355 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7356 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7357 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7358 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7360 new VIS2 routines.
7361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7364 Likewise.
7365 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7366 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7367 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7368 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7370 routines to libm-sysdep_routines.
7371 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7372
65a82e3d
DM
7373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7374 fdim/fdimf to libm-sysdep_routines.
7375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7376 file.
7377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7379 file.
7380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7383 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7384 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7385 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7386 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7387
e34ab705
SP
73882013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7389
2a91b573
SP
7390 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7391 to optimize copies.
7392
1066a534
SP
7393 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7394 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7395 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7396
e34ab705
SP
7397 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7398 local variable MPTWO.
7399 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7400 Likewise.
7401
aba5e596
MF
74022013-01-13 Mike Frysinger <vapier@gentoo.org>
7403
7404 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7405 GLOB_NOESCAPE.
7406
e557e9e5
MF
74072013-01-13 Mike Frysinger <vapier@gentoo.org>
7408
7409 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7410
0428cec9
MF
74112013-01-13 Mike Frysinger <vapier@gentoo.org>
7412
7413 * manual/pattern.texi (glob_t): Document gl_flags.
7414 (glob64_t): Likewise.
7415
8794a964
DM
74162013-01-11 David S. Miller <davem@davemloft.net>
7417
66438c3f
RM
7418 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7419 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7420 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
7421 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7422 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7423 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7424 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7425 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7426 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7427 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7428 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7429 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7430 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7431
4ae4244d
DM
7432 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7433 sparc V9 rather than using V8 code.
7434 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7435 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7436
8794a964
DM
7437 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7438 Move to...
7439 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7440 Here.
7441
6270516e
RM
74422013-01-11 Roland McGrath <roland@hack.frob.com>
7443
7444 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7445 not in the main loop.
7446 * configure: Regenerated.
7447
6a57d931
JM
74482013-01-11 Joseph Myers <joseph@codesourcery.com>
7449
7450 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7451 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7452 to just #else.
7453 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7454 [!__GLIBC_HAVE_LONG_LONG] case.
7455 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7456 condition to just #else.
7457 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7458 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7459 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7460 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7461 unconditional.
7462 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7463 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7464 #elif condition to just #else.
7465 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7466 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7467 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7468 #elif condition to just #else.
7469
0e8529e9
SE
74702013-01-11 Steve Ellcey <sellcey@mips.com>
7471
7472 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7473 (EF_MIPS_ARCH_64): Fix value.
7474 (EF_MIPS_ARCH_32R2): New.
7475 (EF_MIPS_ARCH_64R2): New.
7476
740b3dbe
L
74772013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7478
7479 * Makeconfig (+link-pie-before-libc): New.
7480 (+link-pie-after-libc): Likewise.
7481 (+link-pie-tests): Likewise.
7482 (+link-pie): Rewritten.
7483 (link-before-libc): Remove $(config-LDFLAGS).
7484 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7485 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7486 (config-LDFLAGS): Renamed to ...
7487 (rtld-LDFLAGS): This.
7488 (rtld-tests-LDFLAGS): New macro.
7489 (link-libc-rpath-link): Likewise.
7490 (link-libc-tests-rpath-link): Likewise.
7491 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7492 (link-libc): Prepand $(link-libc-rpath-link).
7493 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7494 (test-program-prefix): New macro.
7495 (test-via-rtld-prefix): Likewise.
7496 (test-program-cmd): Likewise.
7497 (host-test-program-cmd): Likewise.
7498 * Makefile ($(common-objpfx)testrun.sh): Replace
7499 $(run-program-prefix) with $(test-program-prefix).
7500 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7501 $(rtld-LDFLAGS).
7502 ($(common-objpfx)shlib.lds): Likewise.
7503 (build-module-helper): Likewise.
7504 ($(common-objpfx)format.lds): Likewise.
7505 * Rules (binaries-pie-tests): New.
7506 (binaries-pie-notests): Likewise.
7507 (binaries-pie): Rewritten.
7508 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7509 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7510 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7511 (make-test-out): Replace $(host-built-program-cmd) with
7512 $(host-test-program-cmd).
7513 * config.make.in (build-hardcoded-path-in-tests): New variable.
7514 * configure.in (--enable-hardcoded-path-in-tests): New configure
7515 option.
7516 (hardcoded_path_in_tests): New AC_SUBST.
7517 * configure: Regenerated.
7518 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7519 $(built-program-cmd) with $(test-program-cmd).
7520 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7521 (test_program_cmd): This.
7522 * elf/Makefile ($(objpfx)order.out): Run test with
7523 $(test-program-prefix).
7524 ($(objpfx)order2.out): Likewise.
7525 ($(objpfx)tst-initorder.out): Likewise.
7526 ($(objpfx)tst-initorder2.out): Likewise.
7527 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7528 $(test-program-cmd).
7529 ($(objpfx)tst-array1-static.out): Likewise.
7530 ($(objpfx)tst-array2.out): Likewise.
7531 ($(objpfx)tst-array3.out): Likewise.
7532 ($(objpfx)tst-array4.out): Likewise.
7533 ($(objpfx)tst-array5.out): Likewise.
7534 ($(objpfx)tst-array5-static.out): Likewise.
7535 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7536 $(test-program-cmd).
7537 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7538 $(run-program-prefix) with $(test-program-prefix).
7539 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7540 (test_program_prefix): This.
7541 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7542 $(run-program-prefix) with $(test-program-prefix).
7543 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7544 (test_program_prefix): This.
7545 * iconvdata/tst-tables.sh: Likewise.
7546 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7547 $(run-program-prefix) with $(test-program-prefix).
7548 ($(objpfx)tst-translit.out): Likewise.
7549 ($(objpfx)tst-gettext2.out): Likewise.
7550 ($(objpfx)tst-gettext4.out): Likewise.
7551 ($(objpfx)tst-gettext6.out): Likewise.
7552 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7553 (test_program_prefix): This.
7554 * intl/tst-gettext2.sh: Likewise.
7555 * intl/tst-gettext4.sh Likewise.
7556 * intl/tst-gettext6.sh: Likewise.
7557 * intl/tst-translit.sh: Likewise.
7558 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7559 with $(test-program-cmd).
7560 * libio/Makefile ($(objpfx)test-freopen.out): Replace
7561 $(run-program-prefix) with $(test-program-prefix).
7562 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7563 (test_program_prefix): This.
7564 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7565 $(run-program-prefix) with $(test-program-prefix).
7566 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7567 (test_program_prefix): This.
7568 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7569 * posix/Makefile ($(objpfx)globtest.out): Replace
7570 $(run-via-rtld-prefix) and $(test-wrapper) with
7571 $(test-program-prefix) and $(test-via-rtld-prefix).
7572 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7573 $(test-program-prefix).
7574 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7575 $(host-test-program-cmd).
7576 (tst-spawn-ARGS): Likewise.
7577 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7578 $(test-program-prefix).
7579 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7580 (test_via_rtld_prefix): This.
7581 (test_wrapper): Renamed to ...
7582 (test_program_prefix): This.
7583 (run_program_prefix): Replaced by test_program_prefix.
7584 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7585 (test_program_prefix): This.
7586 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7587 with $(host-test-program-cmd).
7588 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7589 $(run-program-prefix) with $(test-program-prefix).
7590 ($(objpfx)tst-printf.out): Likewise.
7591 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7592 $(test-program-cmd).
7593 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7594 (test_program_prefix): This.
7595 * stdio-common/tst-unbputc.sh: Likewise.
7596 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7597 $(run-program-prefix) with $(test-program-prefix).
7598 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7599 (test_program_prefix): This.
7600 * string/Makefile ($(objpfx)tst-svc.out): Replace
7601 $(built-program-cmd) with $(test-program-cmd).
7602
c6fe55cf
AJ
76032013-01-11 Andreas Jaeger <aj@suse.de>
7604
7605 [BZ #15003]
7606 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7607 value. Sync with Linux 3.7.
7608
9e6919c8
DM
76092013-01-10 David S. Miller <davem@davemloft.net>
7610
7611 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7612 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7613 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7614
1c9f1a02
RM
76152013-01-10 Roland McGrath <roland@hack.frob.com>
7616
7617 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7618 never set.
7619 * configure: Regenerated.
7620
b9de2dde
DM
76212013-01-10 David S. Miller <davem@davemloft.net>
7622
7623 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7624 sparc V9 rather than using V8 code.
7625 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7626 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7627
e7f68ef4
RM
76282013-01-10 Roland McGrath <roland@hack.frob.com>
7629
7630 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7631 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7632 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7633 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7634 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7635 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7636 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7637 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7638 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7639 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7640 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7641 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7642 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7643 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7644 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7645 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7646 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7647 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7648 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7649 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7650 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7651 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7652 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7653 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7654 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7655 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7656 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7657
5a47cc9c
DM
76582013-01-10 David S. Miller <davem@davemloft.net>
7659
7660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7661
4cf8f209
L
76622013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7663
7664 * posix/Makefile (tests-static): New variable.
7665 (tests): Add $(tests-static).
7666 (tst-exec-static-ARGS): New variable.
7667 (tst-spawn-static-ARGS): Likewise.
7668 * posix/tst-exec-static.c: New file.
7669 * posix/tst-spawn-static.c: Likewise.
7670 * posix/tst-exec.c: Support run directly.
7671 * posix/tst-spawn.c: Likewise.
7672
fed0faa1
JM
76732013-01-10 Joseph Myers <joseph@codesourcery.com>
7674
828beb13
JM
7675 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7676 long.
7677 * math/bits/mathcalls.h (llrint): Likewise.
7678 (llround): Likewise.
7679 * stdlib/stdlib.h (struct drand48_data): Likewise.
7680 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7681 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7682 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7683 Likewise.
7684 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7685 Likewise.
7686 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7687 (elf_greg_t): Likewise.
7688 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7689 (__jmp_buf): Likewise.
7690 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7691 definitions.
7692 (llrint): Likewise, for all definitions.
7693 (llrintl): Likewise.
7694
fed0faa1
JM
7695 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7696 Remove [__GNUC__] condition.
7697 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7698 condition to just [__USE_ISOC99].
7699 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7700
1a20cb20
L
77012013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7702
7703 [BZ #14200]
7704 * sysdeps/unix/sysv/linux/x86/bits/environments.h
7705 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7706 defined.
7707 (_POSIX_V6_ILP32_OFF32): Likewise.
7708 (_XBS5_ILP32_OFF32): Likewise.
7709 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7710 (__ILP32_OFFBIG_LDFLAGS): Likewise.
7711
751b85f7
SP
77122013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7713
7490eb81
SP
7714 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7715
751b85f7
SP
7716 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7717 doubles __mpexp_twomm1. Adjust usage.
7718 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7719 Remove.
7720
988197f0
AS
77212013-01-10 Andreas Schwab <schwab@suse.de>
7722
7723 [BZ #14964]
7724 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7725 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7726
e83d7298
DM
77272013-01-09 David S. Miller <davem@davemloft.net>
7728
034ed64b 7729 [BZ #15003]
e83d7298
DM
7730 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7731 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7732 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7733 TCP_FASTOPEN): Define.
7734 (tcp_repair_opt): New structure.
7735 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7736 enum values.
7737 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7738 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7739 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7740 (tcp_cookie_transactions): New structure.
7741
d5e0b9bd
AB
77422013-01-09 Anton Blanchard <anton@samba.org>
7743
7744 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7745 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7746 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7747 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7748
0c07e3ea
JM
77492013-01-09 Joseph Myers <joseph@codesourcery.com>
7750
7751 * include/features.h (__USE_ANSI): Remove.
7752
232f7002
RM
77532013-01-09 Roland McGrath <roland@hack.frob.com>
7754
ad98e30c
RM
7755 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7756
232f7002
RM
7757 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7758
950c99ca
SP
77592013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7760
b5792741
SP
7761 * sysdeps/s390/fpu/libm-test-ulps: Update.
7762
47cf2278
SP
7763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7764
950c99ca
SP
7765 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7766 (__acr): Likewise.
7767 (__cpy): Likewise.
7768 (norm): Likewise.
7769 (denorm): Likewise.
7770 (__mp_dbl): Likewise.
7771 (__dbl_mp): Likewise.
7772 (add_magnitudes): Likewise.
7773 (sub_magnitudes): Likewise.
7774 (__add): Likewise.
7775 (__sub): Likewise.
7776 (__mul): Likewise.
7777 (__inv): Likewise.
7778 (__dvd): Likewise.
7779 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7780 (__acr): Likewise.
7781 (__cpy): Likewise.
7782 (norm): Likewise.
7783 (denorm): Likewise.
7784 (__mp_dbl): Likewise.
7785 (__dbl_mp): Likewise.
7786 (add_magnitudes): Likewise.
7787 (sub_magnitudes): Likewise.
7788 (__add): Likewise.
7789 (__sub): Likewise.
7790 (__mul): Likewise.
7791 (__inv): Likewise.
7792 (__dvd): Likewise.
7793 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7794 (__acr): Likewise.
7795 (__cpy): Likewise.
7796 (norm): Likewise.
7797 (denorm): Likewise.
7798 (__mp_dbl): Likewise.
7799 (__dbl_mp): Likewise.
7800 (add_magnitudes): Likewise.
7801 (sub_magnitudes): Likewise.
7802 (__add): Likewise.
7803 (__sub): Likewise.
7804 (__mul): Likewise.
7805 (__inv): Likewise.
7806 (__dvd): Likewise.
7807
eede9df9
JM
78082013-01-08 Joseph Myers <joseph@codesourcery.com>
7809
7810 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7811 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7812 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7813 2 && __USE_EXTERN_INLINES]: Likewise.
7814
c40ea3d9
AJ
78152013-01-08 Andreas Jaeger <aj@suse.de>
7816
7817 [BZ# 14985]
7818 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7819 Remove.
7820 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7821 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7822
2ccdea26
AB
78232013-01-07 Anton Blanchard <anton@samba.org>
7824
7825 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7826 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7827 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
7828 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7829 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7830 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7831 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
7832 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7833 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7834 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7835 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7836 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7837 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7838 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7839 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7840 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7841 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7842 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7843 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7844 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7845 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7846 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
7847 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7848 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7849 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
7850 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7851 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7852 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7853 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
7854 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7855 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7857 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7858 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7859 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7860 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7861 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7862 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7863 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
7864 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7865 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
7866 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7867 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7868
a9708fed
JM
78692013-01-07 Joseph Myers <joseph@codesourcery.com>
7870
375607b9
JM
7871 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
7872 (__MALLOC_PMT): Likewise.
7873 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
7874 [__GNUC__], only on [_LIBC].
7875 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7876 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
7877 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7878 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
7879 forward declaration.
7880 (realloc_hook_ini): Likewise.
7881 (memalign_hook_ini): Likewise.
7882 (__libc_memalign): Do not use __MALLOC_PMT in variable
7883 declaration.
7884 (__libc_valloc): Likewise.
7885 (__libc_pvalloc): Likewise.
7886 (__libc_calloc): Likewise.
7887 (__posix_memalign): Likewise.
7888
a9708fed
JM
7889 [BZ #14996]
7890 * math/s_casinh.c: Include <float.h>.
7891 (__casinh): Do not do computation with squaring and square root
7892 for large arguments.
7893 * math/s_casinhf.c: Include <float.h>.
7894 (__casinhf): Do not do computation with squaring and square root
7895 for large arguments.
7896 * math/s_casinhl.c: Include <float.h>.
7897 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
7898 (__casinhl): Do not do computation with squaring and square root
7899 for large arguments.
7900 * math/libm-test.inc (casin_test): Add more tests.
7901 (casinh_test): Likewise.
7902 * sysdeps/i386/fpu/libm-test-ulps: Update.
7903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7904
afec409a
L
79052013-01-04 H.J. Lu <hongjiu.lu@intel.com>
7906
7907 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
7908 (__x86_64_raw_data_cache_size): Likewise.
7909 (__x86_64_data_cache_size_half): Likewise.
7910 (__x86_64_raw_data_cache_size_half): Likewise.
7911 (__x86_64_shared_cache_size): Likewise.
7912 (__x86_64_raw_shared_cache_size): Likewise.
7913 (__x86_64_shared_cache_size_half): Likewise.
7914 (__x86_64_raw_shared_cache_size_half): Likewise.
7915 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
7916 to ...
7917 (__x86_data_cache_size): This.
7918 (__x86_64_raw_data_cache_size): Renamed to ...
7919 (__x86_raw_data_cache_size): This.
7920 (__x86_64_data_cache_size_half): Renamed to ...
7921 (__x86_data_cache_size_half): This.
7922 (__x86_64_raw_data_cache_size_half): Renamed to ...
7923 (__x86_raw_data_cache_size_half): This.
7924 (__x86_64_shared_cache_size): Renamed to ...
7925 (__x86_shared_cache_size): This.
7926 (__x86_64_raw_shared_cache_size): Renamed to ...
7927 (__x86_raw_shared_cache_size): This.
7928 (__x86_64_shared_cache_size_half): Renamed to ...
7929 (__x86_shared_cache_size_half): This.
7930 (__x86_64_raw_shared_cache_size_half): Renamed to ...
7931 (__x86_raw_shared_cache_size_half): This.
7932 * sysdeps/x86_64/memcpy.S: Updated.
7933 * sysdeps/x86_64/memset.S: Likewise.
7934 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7935 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7936 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7937
0b3986d0
DM
79382013-01-04 David S. Miller <davem@davemloft.net>
7939
7940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7941
e47686e9
AS
79422013-01-04 Andreas Schwab <schwab@linux-m68k.org>
7943
d643bac1
AS
7944 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
7945 1 to avoid redefinition warning.
7946 (__USE_GNU): Don't define.
7947 (init_signaling_nan): Protoize.
7948
e47686e9
AS
7949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7950
b18decba
SP
79512013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7952
fffb407f
SP
7953 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
7954 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
7955 (__cpymn): Likewise.
7956 (norm): Remove commented code.
7957 (denorm): Likewise.
7958 (__mp_dbl): Likewise.
7959 (__inv): Likewise.
7960 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
7961 (__cpymn): Likewise.
7962 (norm): Remove commented code.
7963 (denorm): Likewise.
7964 (__mp_dbl): Likewise.
7965 (__inv): Likewise.
7966
b18decba
SP
7967 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
7968 mp_no value for 1.0 and 2.0.
7969 (norm): Use RADIXI instead of radixi.d.
7970 (denorm): Likewise.
7971 (__mul): Use 0.0 instead of zero.d.
7972 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
7973 mp_no value for 1.0 and 2.0.
7974 (norm): Use RADIXI instead of radixi.d.
7975 (denorm): Likewise.
7976 (__mul): Use 0.0 instead of zero.d.
7977
cdc1c96f
JM
79782013-01-04 Joseph Myers <joseph@codesourcery.com>
7979
7980 [BZ #14994]
7981 * math/s_casinh.c (__casinh): Reduce finite argument to first
7982 quadrant then set signs of results at the end.
7983 * math/s_casinhf.c (__casinhf): Likewise.
7984 * math/s_casinhl.c (__casinhl): Likewise.
7985 * math/libm-test.inc (casin_test): Add more tests.
7986 (casinh_test): Likewise.
7987 * sysdeps/i386/fpu/libm-test-ulps: Update.
7988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7989
302913e1
SP
79902013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7991
6420d207
SP
7992 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
7993
a9e48ab4
SP
7994 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
7995
b7837264
SP
7996 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
7997 declarations.
7998 (denorm): Likewise.
7999 (__mp_dbl): Likewise.
8000 (__inv): Likewise.
8001
f8af25d2
SP
8002 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8003 and adjust the header comment.
8004
302913e1
SP
8005 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8006 variable name from declaration.
8007
5d7dd1ca
L
80082013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8009
8010 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8011 Initialize COMMON_CPUID_INDEX_7 element.
8012 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8013 (CPUID_RTM): Likewise.
8014 (HAS_RTM): Likewise.
8015 (COMMON_CPUID_INDEX_7): New enum.
8016
2f5f40f4
AS
80172013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8018
8019 [BZ #14981]
8020 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8021 size is zero, record memory as freed.
8022
4056f4a0
AJ
80232013-01-03 Andreas Jaeger <aj@suse.de>
8024
8025 * po/ia.po: Add new Interlingua translation.
8026
ab15736f 80272012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8028
8029 * locale/programs/localedef.c: Fix description of '--posix' flag.
8030
568035b7
JM
80312013-01-02 Joseph Myers <joseph@codesourcery.com>
8032
e6898b8d
JM
8033 * NEWS: Update dates in second copyright notice.
8034 * README: Update copyright dates in example.
8035 * manual/libc.texinfo: Update copyright dates.
8036 * scripts/test-installation.pl: Update copyright date in --version
8037 output.
8038
0e2f9562
JM
8039 * hurd/ctty-input.c: Fix copyright notice formatting.
8040 * hurd/ctty-output.c: Likewise.
8041 * hurd/dtable.c: Likewise.
8042 * hurd/hurd-raise.c: Likewise.
8043 * hurd/hurdprio.c: Likewise.
8044 * hurd/msgportdemux.c: Likewise.
8045 * misc/sys/file.h: Likewise.
8046 * misc/sys/ioctl.h: Likewise.
8047 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8048 * sysdeps/mach/hurd/chdir.c: Likewise.
8049 * sysdeps/mach/hurd/fchdir.c: Likewise.
8050 * sysdeps/mach/hurd/rename.c: Likewise.
8051 * sysdeps/mach/hurd/rmdir.c: Likewise.
8052 * sysdeps/mach/hurd/seekdir.c: Likewise.
8053 * sysdeps/mach/hurd/setsid.c: Likewise.
8054 * sysdeps/posix/wait3.c: Likewise.
8055
568035b7
JM
8056 * All files with FSF copyright notices: Update copyright dates
8057 using scripts/update-copyrights.
8058 * intl/plural.c: Regenerated.
8059 * locale/programs/charmap-kw.h: Likewise.
8060 * locale/programs/locfile-kw.h: Likewise.
8061
da08f647
SP
80622013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8063
0f5477af
SP
8064 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8065 four values.
8066
44e0d4c2
SP
8067 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8068 calculation loop and add branch prediction.
8069
4d55b4e5
SP
8070 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8071 check access beyond bounds of m1np.
8072
da08f647
SP
8073 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8074 MPTWO.
8075 (__inv): Remove local variable MPTWO to use the global
8076 constant.
8077 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8078 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8079 variable MPTWO.
8080 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8081 MP3HALFS static const.
8082
8e051029
DM
80832013-01-01 David S. Miller <davem@davemloft.net>
8084
8085 * po/ca.po: Update from translation team.
8086
f4cf5f2d
JM
80872013-01-01 Joseph Myers <joseph@codesourcery.com>
8088
8089 * scripts/update-copyrights: New file.
8090 * Makeconfig: Reformat copyright notice.
8091 * ctype/ctype.h: Likewise.
8092 * debug/swprintf_chk.c: Likewise.
8093 * elf/dl-cache.c: Likewise.
8094 * elf/dl-debug.c: Likewise.
8095 * elf/dl-object.c: Likewise.
8096 * grp/initgroups.c: Likewise.
8097 * hurd/Makefile: Likewise.
8098 * hurd/hurd/signal.h: Likewise.
8099 * hurd/hurdfault.c: Likewise.
8100 * hurd/hurdioctl.c: Likewise.
8101 * hurd/hurdlookup.c: Likewise.
8102 * hurd/intr-msg.c: Likewise.
8103 * iconv/gconv_open.c: Likewise.
8104 * libio/swprintf.c: Likewise.
8105 * locale/lc-ctype.c: Likewise.
8106 * locale/nl_langinfo.c: Likewise.
8107 * mach/Machrules: Likewise.
8108 * mach/Makefile: Likewise.
8109 * malloc/obstack.h: Likewise.
8110 * manual/Makefile: Likewise.
8111 * manual/tsort.awk: Likewise.
8112 * misc/bits/stab.def: Likewise.
8113 * nis/nis_print_group_entry.c: Likewise.
8114 * nis/nis_table.c: Likewise.
8115 * nis/nss_compat/compat-pwd.c: Likewise.
8116 * nis/nss_compat/compat-spwd.c: Likewise.
8117 * po/Makefile: Likewise.
8118 * posix/fnmatch.c: Likewise.
8119 * posix/regex.h: Likewise.
8120 * resolv/Makefile: Likewise.
8121 * resolv/nss_dns/dns-network.c: Likewise.
8122 * resolv/res_hconf.c: Likewise.
8123 * scripts/gen-sorted.awk: Likewise.
8124 * soft-fp/soft-fp.h: Likewise.
8125 * stdio-common/printf.h: Likewise.
8126 * stdlib/monetary.h: Likewise.
8127 * stdlib/random.c: Likewise.
8128 * stdlib/random_r.c: Likewise.
8129 * sysdeps/generic/Makefile: Likewise.
8130 * sysdeps/gnu/Makefile: Likewise.
8131 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8132 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8133 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8134 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8135 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8136 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8137 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8138 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8139 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8140 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8141 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8142 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8143 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8144 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8145 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8146 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8147 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8148 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8149 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8150 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8151 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8152 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8153 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8154 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8155 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8156 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8157 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8158 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8159 * sysdeps/mach/hurd/errnos.awk: Likewise.
8160 * sysdeps/mach/hurd/fork.c: Likewise.
8161 * sysdeps/mach/hurd/getcwd.c: Likewise.
8162 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8163 * sysdeps/mach/hurd/mmap.c: Likewise.
8164 * sysdeps/mach/hurd/utimes.c: Likewise.
8165 * sysdeps/mach/hurd/xmknod.c: Likewise.
8166 * sysdeps/posix/profil.c: Likewise.
8167 * sysdeps/posix/readdir_r.c: Likewise.
8168 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8169 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8170 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8171 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8172 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8173 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8174 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8175 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8176 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8177 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8178 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8179 * sysdeps/pthread/lio_listio.c: Likewise.
8180 * sysdeps/sparc/dl-procinfo.h: Likewise.
8181 * sysdeps/unix/i386/sysdep.S: Likewise.
8182 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8183 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8184 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8185 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8187 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8188 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8189 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8190 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8191 * sysdeps/wordsize-32/divdi3.c: Likewise.
8192 * time/sys/time.h: Likewise.
8193 * wcsmbs/Makefile: Likewise.
8194
0549fbba
DM
81952013-01-01 David S. Miller <davem@davemloft.net>
8196
a141f1a7
DM
8197 * po/fr.po: Update from translation team.
8198
0549fbba
DM
8199 * catgets/gencat.c: Update copyright year.
8200 * csu/version.c: Likewise.
8201 * debug/catchsegv.sh: Likewise.
8202 * debug/pcprofiledump.c: Likewise.
8203 * debug/xtrace.sh: Likewise.
8204 * elf/ldconfig.c: Likewise.
8205 * elf/ldd.bash.in: Likewise.
8206 * elf/pldd.c: Likewise.
8207 * elf/sotruss.ksh: Likewise.
8208 * elf/sprof.c: Likewise.
8209 * iconv/iconv_prog.c: Likewise.
8210 * iconv/iconvconfig.c: Likewise.
8211 * locale/programs/locale.c: Likewise.
8212 * locale/programs/localedef.c: Likewise.
8213 * login/programs/pt_chown.c: Likewise.
8214 * malloc/memusage.sh: Likewise.
8215 * malloc/memusagestat.c: Likewise.
8216 * malloc/mtrace.pl: Likewise.
8217 * nscd/nscd.c: Likewise.
8218 * nss/getent.c: Likewise.
8219 * nss/makedb.c: Likewise.
8220 * posix/getconf.c: Likewise.
8221
18ea052c
SP
82222012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8223
8224 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8225 numbers.
8226
9c89fca6
MF
82272012-12-30 Mike Frysinger <vapier@gentoo.org>
8228
8229 * math/bits/mathcalls.h (modf): Use __nonnull.
8230
085ec079
SP
82312012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8232
8233 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8234 (split): Use macro CN instead of the bare value.
8235 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8236 could be used.
8237 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8238 instead of the bare value.
8239 (power1): Likewise.
8240
6d9f97e1
SP
82412012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8242
d63f73be
SP
8243 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8244 __ATAN_TWOM.
8245 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8246
6d9f97e1
SP
8247 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8248 their values.
8249 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8250 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8251 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8252 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8253
4c4febf5
AJ
82542012-12-28 Andreas Jaeger <aj@suse.de>
8255
af5843ef
AJ
8256 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8257 values are from Linux 3.7.
8258
4c4febf5
AJ
8259 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8260 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8261
99136f82
SP
82622012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8263
2f216c3c 8264 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8265 TRUE case.
8266
99136f82
SP
8267 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8268 (norm): Likewise.
8269 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8270 variables with preprocessor constants.
8271 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8272 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8273 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8274
7fffbdff
BH
82752012-12-27 Bruno Haible <bruno@clisp.org>
8276
8277 [BZ #14317]
8278 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8279 only if needed.
8280
b76eb5f0
SP
82812012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8282
31a7fe5c
SP
8283 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8284 and use variable directly.
8285 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8286
b76eb5f0
SP
8287 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8288 MPONE.
8289 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8290 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8291 variable MPONE.
8292 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8293 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8294 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8295 include directive. Remove local variable MPONE.
8296 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8297 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8298 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8299
2c8bfe7d
DM
83002012-12-25 David S. Miller <davem@davemloft.net>
8301
8302 * version.h (RELEASE): Set to "development".
8303 (VERSION): Set to "2.17.90".
8304 * NEWS: Add 2.18 section.
8305
147d03b0
DM
83062012-12-21 David S. Miller <davem@davemloft.net>
8307
8308 * po/hr.po: Update from translation team.
8309
a8ebb2b9
AK
83102012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8311
8312 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8313
95b4f1b6
SE
83142012-12-19 Steve Ellcey <sellcey@mips.com>
8315
b2d94007 8316 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 8317
cedb2a90
MS
83182012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8319
8320 * manual/contrib.texi (Contributors): Spelling correction.
8321
bbf527d6
DM
83222012-12-15 David S. Miller <davem@davemloft.net>
8323
8324 * po/ru.po: Update from translation team.
8325
bc38c906
DM
83262012-12-13 David S. Miller <davem@davemloft.net>
8327
85429b1a
DM
8328 * NEWS: Mention IFUNC testsuite enhancements.
8329
d283e353
DM
8330 * po/pl.po: Update from translation team.
8331 * po/bg.po: Likewise.
8332
bc38c906
DM
8333 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8334 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8335
a181b0d7
DM
83362012-12-11 David S. Miller <davem@davemloft.net>
8337
4641d57e
DM
8338 * po/sv.po: Update from translation team.
8339
f7bc6495
DM
8340 * po/vi.po: Update from translation team.
8341
6fc9048f
DM
8342 * po/cs.po: Update from translation team.
8343
a181b0d7
DM
8344 * po/de.po: Update from translation team.
8345 * po/eo.po: Likewise.
8346 * po/nl.po: Likewise.
8347
f70bfe80
SP
83482012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8349
3c8b4190
SP
8350 [BZ #14246]
8351 * manual/argp.texi (Argp Helper Functions): Move node to follow
8352 Argp Parsing State.
8353
f70bfe80
SP
8354 [BZ #14872]
8355 * manual/conf.texi (Limits on File System Capacity): Mention if
8356 terminating null is included in the max size.
8357
188f0adf
AJ
83582012-12-10 Andreas Jaeger <aj@suse.de>
8359
8360 * po/cs.po: Update from translation team.
8361
56e7d3ad
SP
83622012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8363
8364 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8365 void pointer and cast to uintptr_t.
8366 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8367 path.
8368 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8369 * sysdeps/s390/s390-64/memset.S: Likewise.
8370
76f2d2ea 83712012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
8372
8373 [BZ #14833]
8374 * menual/message.texi (Message Translation): Fix typos.
8375 (Helper programs for gettext): Likewise.
8376
67cbf9a2
AS
83772012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8378
8379 [BZ #14898]
8380 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8381 Change to -1.
8382
682d0e9a
DM
83832012-12-07 David S. Miller <davem@davemloft.net>
8384
8385 * po/libc.pot: Update.
8386
573cd484
RH
83872012-12-07 Richard Henderson <rth@redhat.com>
8388
7e9da188 8389 [BZ #10114]
573cd484
RH
8390 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8391 normal/normal case to before the switch.
8392 (_FP_DIV): Likewise.
8393
e933a943
MF
83942012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8395 Mike Frysinger <vapier@gentoo.org>
8396
8397 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8398 check for __NR_fadvise64_64.
8399
82123268
CM
84002012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8401
8402 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8403 0, not just to plain "0" as a statement.
8404 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8405 with cw.
8406
d9814526
JM
84072012-12-06 Joseph Myers <joseph@codesourcery.com>
8408
8409 * NEWS: Use sourceware.org in Bugzilla URL.
8410
7728c574
SP
84112012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8412
f16946dd
SP
8413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8414 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8415
5704bbcb
SP
8416 * stdio-common/tst-put-error.c (do_test): Add newline to the
8417 padded test to ensure flush.
8418
17aa0516
JL
84192012-12-05 Jeff Law <law@redhat.com>
8420
8421 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8422
363313b5
JM
84232012-12-05 Joseph Myers <joseph@codesourcery.com>
8424
effbd42a
JM
8425 * README: Don't refer to ports add-on as distributed separately.
8426 Mention AArch64 in list of systems supported in the ports add-on.
8427
87600365
JM
8428 * LICENSES: Add more non-FSF copyright and license notices.
8429
a0d7066a
JM
8430 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8431 ((unused)).
8432
66ca5a5b
JM
8433 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8434
363313b5
JM
8435 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8436 10000 as width of padded output.
8437
b37984ad
JM
84382012-12-04 Joseph Myers <joseph@codesourcery.com>
8439
9003570a
JM
8440 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8441
b37984ad
JM
8442 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8443 variable LX with __attribute__ ((unused)).
8444 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8445 Likewise.
8446 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8447 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8448 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8449 with __attribute__ ((unused)).
8450
c8df52ec
DM
84512012-12-04 David S. Miller <davem@abraco.davemloft.net>
8452
8453 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8454
b3b099af
JM
84552012-12-04 Joseph Myers <joseph@codesourcery.com>
8456
c33aa6e3
JM
8457 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8458 (CFLAGS-nldbl-acos.c): New variable.
8459 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8460 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8461 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8462 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8463 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8464 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8465 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8466 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8467 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8468 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8469 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8470 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8471 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8472 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8473 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8474 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8475 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8476 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8477 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8478 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8479 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8480 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8481 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8482 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8483 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8484 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8485 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8486 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8487 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8488 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8489 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8490 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8491 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8492 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8493 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8494 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8495 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8496 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8497 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8498 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8499 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8500 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8501 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8502 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8503 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8504 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8505 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8506 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8507 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8508 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8509 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8510 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8511 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8512 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8513 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8514 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8515 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8516 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8517 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8518 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8519 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8520 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8521 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8522 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8523 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8524 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8525 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8526 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8527 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8528 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8529 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8530 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8531 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8532 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8533 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8534 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8535 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8536 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8537 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8538 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8539 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8540 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8541 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8542 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8543 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8544 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8545 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8546 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8547 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8548 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8549 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8550 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8551 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8552 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8553 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8554 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8555 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8556
20f0018d
JM
8557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8558 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8559
b3b099af
JM
8560 [BZ #14914]
8561 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8562 whole low double instead of just low 47 bits when splitting values
8563 into two parts.
8564
029264d1
AM
85652012-12-03 Allan McRae <allan@archlinux.org>
8566
8567 * manual/stdio.texi (Predefined Printf Handlers): Remove
8568 @hsep and @vsep usage.
8569
c9d6789e
MF
85702012-12-03 Mike Frysinger <vapier@gentoo.org>
8571
8572 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8573 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8574
4b7634a5
JL
85752012-12-03 Jeff Law <law@redhat.com>
8576
8577 * time/sys/time.h (settimeofday): Do not mark TV argument
8578 as __nonnull.
8579
eb6cbd24
MF
85802012-12-01 Mike Frysinger <vapier@gentoo.org>
8581
8582 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8583 when currently writing and seek to current position when not.
8584 * libio/Makefile (tests): Remove bug-fclose1.
8585 * libio/bug-fclose1.c: Delete.
8586
f638872a
JM
85872012-12-01 Joseph Myers <joseph@codesourcery.com>
8588
8589 * manual/arith.texi (feenableexcept): Fix typo.
8590 (fedisableexcept): Likewise.
8591
48085d14
RM
85922012-11-30 Roland McGrath <roland@hack.frob.com>
8593
8594 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8595 second, differently-typed declaration, rather than a cast.
8596
1a538b9f
SP
85972012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8598
8599 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8600 * include/rpc/svc.h: ... here.
8601
d07f2ff1 86022012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
8603
8604 [BZ #13013]
8605 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8606 depending n and resplen2 to catch cases where answer
8607 equals answerp2.
8608
c93ec1f0
CD
86092012-11-29 Carlos O'Donell <carlos@systemhalted.org>
8610
8611 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8612 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8613
37db69de
MF
86142012-11-29 Mike Frysinger <vapier@gentoo.org>
8615
8616 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8617
e10c4e4f
RM
86182012-11-29 Roland McGrath <roland@hack.frob.com>
8619
8620 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8621
2af1b328
JL
86222012-11-28 Jeff Law <law@redhat.com>
8623
8624 [BZ #13761]
8625 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8626 dataset_temporary. Track alloca usage into alloca_used.
8627 If dataset is large allocate and release it via malloc/free.
8628
111db5b1
FW
86292012-06-04 Florian Weimer <fweimer@redhat.com>
8630
f06cc227 8631 [BZ #14197]
111db5b1
FW
8632 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8633
dd694abd
DM
86342012-11-28 David S. Miller <davem@davemloft.net>
8635
8636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8637
9984dd01
JM
86382012-11-28 Joseph Myers <joseph@codesourcery.com>
8639
8640 [BZ #14803]
8641 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8642 of pi/2 rounded to nearest to 64 bits.
8643 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8644 nearest to 64 bits.
8645 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8646 bits.
8647
14bc93a9
JL
86482012-11-28 Jeff Law <law@redhat.com>
8649 Martin Osvald <mosvald@redhat.com>
8650
8651 [BZ #14889]
8652 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8653 * sunrpc/svc.c: Include time.h.
8654 (__svc_accept_failed): New function.
8655 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8656 any reason other than EINTR, call __svc_accept_failed.
8657 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8658 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8659
e3c6aa3a
AS
86602012-11-28 Andreas Schwab <schwab@suse.de>
8661
8662 * scripts/abilist.awk: Also handle indirect functions in .opd
8663 section.
8664
1bead169
JM
86652012-11-28 Joseph Myers <joseph@codesourcery.com>
8666
8667 [BZ #13881]
8668 * sysdeps/x86/fpu/powl_helper.c: New file.
8669 * sysdeps/x86/fpu/Makefile: Likewise.
8670 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8671 (p3): New object.
8672 (__ieee754_powl): Use __powl_helper for finite arguments except
8673 integer exponents below 8.
8674 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8675 (p3): New object.
8676 (__ieee754_powl): Use __powl_helper for finite arguments except
8677 integer exponents below 8.
8678 * math/libm-test.inc (pow_test): Add more tests and enable some
8679 previously disabled tests.
8680 * sysdeps/i386/fpu/libm-test-ulps: Update.
8681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8682
0817d63d
SP
86832012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8684 Carlos O'Donell <carlos_odonell@mentor.com>
8685
8686 * nss/makedb.c (is_prime): Assert that input is odd and greater
8687 than 4. Note that fact in a comment too.
8688 (next_prime): Add 4 to input.
8689
de2fd463
SP
86902012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8691
8692 [BZ #11741]
8693 * libio/Makefile (tests): Add test case tst-fwrite-error.
8694 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8695 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8696 * libio/tst-fwrite-error.c: New test case.
8697
c515fb51
L
86982012-11-26 H.J. Lu <hongjiu.lu@intel.com>
8699
8700 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8701 before casting to void *.
8702 * include/libc-internal.h (__pointer_type): New macro.
8703 (__integer_if_pointer_type_sub): Likewise.
8704 (__integer_if_pointer_type): Likewise.
8705 (cast_to_integer): Likewise.
8706 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8707 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8708 before casting to atomic64_t.
8709 (atomic_exchange_acq): Likewise.
8710 (__arch_exchange_and_add_body): Likewise.
8711 (__arch_add_body): Likewise.
8712 (atomic_add_negative): Likewise.
8713 (atomic_add_zero): Likewise.
8714
4cf77aa9
JM
87152012-11-26 Joseph Myers <joseph@codesourcery.com>
8716
8717 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8718 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8719 (add_fdes): Likewise.
8720 (linear_search_fdes): Likewise.
8721 (binary_search_unencoded_fdes): Likewise.
8722
d260b3b4
AS
87232012-11-26 Andreas Schwab <schwab@linux-m68k.org>
8724
8725 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8726
67060746
AC
87272012-11-24 Adam Conrad <adconrad@0c3.net>
8728
8729 * configure.in: Autodetect C++ header directories.
8730 * configure: Regenerated.
8731
800938a1
MF
87322012-11-23 Mike Frysinger <vapier@gentoo.org>
8733
8734 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8735
4e6e34e6
AS
87362012-11-23 Andreas Schwab <schwab@linux-m68k.org>
8737
8738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8739
7c7feb47
JM
87402012-11-22 Joseph Myers <joseph@codesourcery.com>
8741
7184dcdf
JM
8742 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8743 LDBL_MANT_DIG == 106]: Disable some tests.
8744 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8745 Likewise.
8746 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8747 Likewise.
8748
0a42601f
JM
8749 [BZ #14871]
8750 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8751 input for small inputs. Return +/- pi/2 for large inputs.
8752 * math/libm-test.inc (atan_test): Add more tests.
8753
79c9b9fe
JM
8754 * sysdeps/generic/unwind-dw2-fde-glibc.c
8755 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8756 __attribute__ ((unused)).
8757
c60d3bf2
JM
8758 [BZ #14645]
8759 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8760 x * y if x and y are nonzero and z is zero.
8761
ef1e0867
JM
8762 [BZ #14811]
8763 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8764 nonzero exponents with absolute value below 0x1p-117 to +/-
8765 0x1p-117.
8766
1468ded3
JM
8767 [BZ #14869]
8768 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8769 up arguments below 2**-450, not just those below 2**-500.
8770 * math/libm-test.inc (hypot_test): Add another test.
8771
8e27e3cc
JM
8772 [BZ #14868]
8773 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8774 Return a+b for ratio over 2**120, not 2**60.
8775 * math/libm-test.inc (hypot_test): Add another test.
8776
c9c0279b
JM
8777 * math/libm-test.inc (clog_test): Use
8778 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8779 (clog10_test): Likewise.
8780
7c7feb47
JM
8781 [BZ #6778]
8782 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8783
fff1530e
AS
87842012-11-22 Andreas Schwab <schwab@suse.de>
8785
8786 * sysdeps/i386/fpu/libm-test-ulps: Update.
8787
94558d30
PT
87882012-11-22 Pino Toscano <toscano.pino@tiscali.it>
8789
8790 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8791 printf output with newline.
8792
7e1be741
L
87932012-11-21 H.J. Lu <hongjiu.lu@intel.com>
8794
6bfea974
L
8795 [BZ #14865]
8796 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8797 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8798 -z nodlopen, -z initfirst and -z execstack support.
8799 * configure: Regenerated.
8800
7e1be741
L
8801 * elf/elf.h (DF_1_NODIRECT): New macro.
8802 (DF_1_IGNMULDEF): Likewise.
8803 (DF_1_NOKSYMS): Likewise.
8804 (DF_1_NOHDR): Likewise.
8805 (DF_1_EDITED): Likewise.
8806 (DF_1_NORELOC): Likewise.
8807 (DF_1_SYMINTPOSE): Likewise.
8808 (DF_1_GLOBAUDIT): Likewise.
8809 (DF_1_SINGLETON): Likewise.
8810 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8811 DT_1_SUPPORTED_MASK bits.
8812 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8813
105ce2ce
CD
88142012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
8815
8816 * sysdeps/unix/make-syscalls.sh: Document prefixes.
8817
123be9de
TS
88182012-11-20 Thomas Schwinge <thomas@codesourcery.com>
8819
d072f3f7
TS
8820 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8821 macro.
8822
123be9de
TS
8823 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8824 (sendmmsg): Move declarations...
8825 * socket/sys/socket.h: ... here.
8826 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8827 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
8828 include it from...
8829 * socket/recvmmsg.c: ... this new file.
8830 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
8831 (sendmmsg): Rename to __sendmmsg, create weak alias and make
8832 definition of __sendmmsg hidden.
8833 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8834 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
8835 Move ENOSYS stub into and include it from...
8836 * socket/sendmmsg.c: ... this new file.
8837 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
8838 (sysdep_routines): Move recvmmsg and sendmmsg...
8839 * socket/Makefile (routines): ... here.
8840 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
8841 (GLIBC_PRIVATE): Add __sendmmsg.
8842 * include/sys/socket.h (__sendmmsg): Add declarations.
8843 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
8844 sendmmsg.
8845
cf9a5d18
JM
88462012-11-20 Joseph Myers <joseph@codesourcery.com>
8847
8848 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
8849 variable I1 with __attribute__ ((unused)).
8850 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8851
ecd4caf9
JM
88522012-11-19 Joseph Myers <joseph@codesourcery.com>
8853
be14d48f
JM
8854 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
8855 DUMMY variables with __attribute__ ((unused)).
8856
ecd4caf9
JM
8857 * bits/byteswap.h: Include <bits/types.h>.
8858 (__bswap_64): Use __uint64_t instead of unsigned long long int.
8859
986cab95
PT
88602012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8861
8862 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
8863 string_t. Do not manually set errno.
8864 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
8865 length with __strnlen. Make sure to both set errno and return it on
8866 failure.
8867
6d33cc9d
DM
88682012-11-19 David S. Miller <davem@davemloft.net>
8869
8870 With help from Joseph Myers.
8871 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
8872 very large arguments properly.
8873 * math/libm-test.inc (atan_test): New tests.
8874 (atan2_test): New tests.
8875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8876 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8877
ee663277
JM
88782012-11-19 Joseph Myers <joseph@codesourcery.com>
8879
877f2d8e
JM
8880 [BZ #14856]
8881 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
8882 Define to 3.
8883
116fc08a
JM
8884 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
8885 [POSIX] (EADDRNOTAVAIL): Likewise.
8886 [POSIX] (EAFNOSUPPORT): Likewise.
8887 [POSIX] (EALREADY): Likewise.
8888 [POSIX] (ECONNABORTED): Likewise.
8889 [POSIX] (ECONNREFUSED): Likewise.
8890 [POSIX] (ECONNRESET): Likewise.
8891 [POSIX] (EDESTADDRREQ): Likewise.
8892 [POSIX] (EDQUOT): Likewise.
8893 [POSIX] (EHOSTUNREACH): Likewise.
8894 [POSIX] (EIDRM): Likewise.
8895 [POSIX] (EISCONN): Likewise.
8896 [POSIX] (ELOOP): Likewise.
8897 [POSIX] (EMULTIHOP): Likewise.
8898 [POSIX] (ENETDOWN): Likewise.
8899 [POSIX] (ENETUNREACH): Likewise.
8900 [POSIX] (ENOBUFS): Likewise.
8901 [POSIX] (ENODATA): Likewise.
8902 [POSIX] (ENOLINK): Likewise.
8903 [POSIX] (ENOMSG): Likewise.
8904 [POSIX] (ENOPROTOOPT): Likewise.
8905 [POSIX] (ENOSR): Likewise.
8906 [POSIX] (ENOSTR): Likewise.
8907 [POSIX] (ENOTCONN): Likewise.
8908 [POSIX] (ENOTSOCK): Likewise.
8909 [POSIX] (EOPNOTSUPP): Likewise.
8910 [POSIX] (EOVERFLOW): Likewise.
8911 [POSIX] (EPROTO): Likewise.
8912 [POSIX] (EPROTONOSUPPORT): Likewise.
8913 [POSIX] (EPROTOTYPE): Likewise.
8914 [POSIX] (ESTALE): Likewise.
8915 [POSIX] (ETIME): Likewise.
8916 [POSIX] (ETXTBSY): Likewise.
8917 [POSIX] (EWOULDBLOCK): Likewise.
8918 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
8919 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
8920 [POSIX] (SEEK_CUR): Likewise.
8921 [POSIX] (SEEK_END): Likewise.
8922 [POSIX || UNIX98] (mode_t): Do not require.
8923 [POSIX] (off_t): Likewise.
8924 [POSIX] (pid_t): Likewise.
8925 [POSIX] (sys/stat.h): Do not allow header.
8926 [POSIX] (unistd.h): Likewise.
8927 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
8928 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
8929 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
8930 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
8931 require.
8932 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
8933 sigevent): Specify elements.
8934 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
8935 entry.
8936 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
8937 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
8938
a483863f
JM
8939 * conform/data/cpio.h-data [POSIX]: Disable whole file.
8940 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
8941 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
8942 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
8943 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
8944 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
8945 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
8946 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
8947 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
8948 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
8949 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
8950 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
8951 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
8952 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
8953 Likewise.
8954 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
8955 Likewise.
8956 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
8957 Likewise.
8958 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
8959 Likewise.
8960 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
8961 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
8962 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
8963 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
8964 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
8965 Specify lower bound on value.
8966 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
8967 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
8968 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
8969 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
8970 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
8971 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
8972 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
8973 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
8974 value.
8975 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
8976 as optional.
8977 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
8978 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
8979 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
8980 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
8981 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
8982 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
8983 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
8984 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
8985 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
8986 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
8987 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
8988 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
8989 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
8990 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
8991 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
8992 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
8993 entry.
8994 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
8995 optional.
8996 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
8997 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
8998 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
8999 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9000 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9001 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9002 Likewise.
9003 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9004 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9005 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9006 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9007 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9008 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9009 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9010 as optional.
9011 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9012 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9013 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9014 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9015 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9016 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9017 specify as optional.
9018 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9019 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9020 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9021 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9022 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9023 [XPG3] (NL_LANGMAX): Likewise.
9024 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9025 [POSIX || XPG3] (NL_NMAX): Likewise.
9026 [POSIX || XPG3] (NL_SETMAX): Likewise.
9027 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9028 [XPG3] (NZERO): Likewise.
9029 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9030 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9031 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9032 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9033 (REG_ERANGE): Expect.
9034 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9035 optional-constant.
9036 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9037 Use (void) in prototype.
9038 [POSIX] (*_t): Allow.
9039 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9040 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9041 (WRDE_BADVAL): Expect.
9042
5ba924e3
JM
9043 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9044 expect.
9045 [XPG3 || XPG4] (O_RSYNC): Likewise.
9046 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9047 Likewise.
9048 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9049 [XPG3 || XPG4] (sigqueue): Likewise.
9050 [XPG3 || XPG4] (sigtimedwait): Likewise.
9051 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9052 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9053 [XPG3 || XPG4] (vsnprintf): Likewise.
9054 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9055 Likewise.
9056 [XPG3 || XPG4] (blksize_t): Likewise.
9057 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9058 Likewise.
9059 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9060 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9061 [XPG3 || XPG4] (struct itimerspec): Likewise.
9062 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9063 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9064 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9065 [XPG3 || XPG4] (clockid_t): Likewise.
9066 [XPG3 || XPG4] (timer_t): Likewise.
9067 [XPG3 || XPG4] (clock_getres): Likewise.
9068 [XPG3 || XPG4] (clock_gettime): Likewise.
9069 [XPG3 || XPG4] (clock_settime): Likewise.
9070 [XPG3 || XPG4] (nanosleep): Likewise.
9071 [XPG3 || XPG4] (timer_create): Likewise.
9072 [XPG3 || XPG4] (timer_delete): Likewise.
9073 [XPG3 || XPG4] (timer_gettime): Likewise.
9074 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9075 [XPG3 || XPG4] (timer_settime): Likewise.
9076 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9077 [XPG3 || XPG4] (getlogin_r): Likewise.
9078 [XPG3 || XPG4] (pread): Likewise.
9079 [XPG3 || XPG4] (pthread_atfork): Likewise.
9080 [XPG3 || XPG4] (pwrite): Likewise.
9081
ee663277
JM
9082 [BZ #14835]
9083 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9084 <bits/siginfo.h>.
9085
942caa16
PT
90862012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9087
e19af380
PT
9088 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9089 finalizing MALLSTREAM.
9090
942caa16
PT
9091 * sysdeps/mach/hurd/syncfs.c: New file.
9092
cfde9b46
SP
90932012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9094
9095 [BZ #14719]
9096 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9097 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9098 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9099 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9100 (_nss_dns_gethostbyname4_r): Likewise.
9101 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9102 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9103
f6da27e5
PH
91042012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9105
9106 [BZ #13763]
9107 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9108
6665d4a2
SM
91092012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9110
1f51ee92
SM
9111 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9112 * elf/cache.c (print_entry): Print ",AArch64" for
9113 FLAG_AARCH64_LIB64
9114
6665d4a2
SM
9115 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9116 * elf/cache.c (print_entry): Print ",hard-float" for
9117 FLAG_ARM_LIBHF.
9118
05b227bd
DM
91192012-11-18 David S. Miller <davem@davemloft.net>
9120
9121 With help from Joseph Myers.
9122 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9123 cutoff to 2**-13.
9124 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9125 cutoff to 2**-25.
9126 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9127 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9128 small.
9129 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9130 * math/libm-test.inc (y0_test): New tests.
9131 (y1_test): New tests.
9132 * sysdeps/i386/fpu/libm-test-ulps: Update.
9133 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9135
786b0b67
AS
91362012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9137
9138 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9139 64-bit targets.
9140 * configure: Regenerated.
9141
8e18b86d
DM
91422012-11-17 David S. Miller <davem@davemloft.net>
9143
9144 [BZ #14811]
9145 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9146 nonzero exponents with absolute value below 0x1p-128 to +/-
9147 0x1p-128.
9148
531f1ae0
JM
91492012-11-17 Joseph Myers <joseph@codesourcery.com>
9150
12df29e2
JM
9151 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9152
150dc1a0
JM
9153 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9154
531f1ae0
JM
9155 * posix/getconf-speclist.c: New file.
9156 * posix/posix-envs.def: Likewise.
9157 * posix/confstr.c (START_ENV_GROUP): New macro.
9158 (END_ENV_GROUP): Likewise.
9159 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9160 (KNOWN_PRESENT_ENV_STRING): Likewise.
9161 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9162 (UNKNOWN_ENVIRONMENT): Likewise.
9163 (confstr): Include posix-envs.def instead of handling
9164 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9165 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9166 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9167 (END_ENV_GROUP): Likewise.
9168 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9169 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9170 (UNKNOWN_ENVIRONMENT): Likewise.
9171 (__sysconf): Include posix-envs.def instead of handling associated
9172 cases directly here.
9173 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9174 preprocessing getconf-speclist.c rather than running getconf or
9175 generating empty file.
9176
a93f9cbc
PT
91772012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9178
9179 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9180
d64d9f87
AL
91812012-11-16 Andrej Lajovic <natrij@gmail.com>
9182
9183 [BZ #14672]
9184 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9185
447885eb
DM
91862012-11-16 David S. Miller <davem@davemloft.net>
9187
9188 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9189 smaller than LDBL_EPSILON/2.0L, just return xm1.
9190
bcbf9830
L
91912012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9192
9193 * elf/tst-array1.c (init): Set constructor priority to 1000.
9194 (fini): Set destructor priority to 1000.
9195 * elf/tst-array2dep.c: Likewise.
9196
2b766585
SP
91972012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9198
9199 [BZ #11741]
9200 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9201 (_IO_new_file_xsputn): Also return EOF if none of the input
9202 data was written when overflow failed.
9203 * libio/iopadn.c (_IO_padn): Likewise.
9204 * libio/iowpadn.c (_IO_wpadn): Likewise.
9205 * stdio-common/tst-put-error.c: Add copyright notice.
9206 (do_test): Add case for printing padded string.
9207 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9208 _IO_padn returned error.
9209 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9210 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9211 return EOF.
9212
b1848fde
SP
92132012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9214
9215 * libio/libioP.h: Add comment note that the references to C++
9216 bits are now obsolete.
9217
2fd89785
MS
92182012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9219
9220 * math/libm-test.inc (check_complex): Use asprintf.
9221
e3ea5409
JM
92222012-11-14 Joseph Myers <joseph@codesourcery.com>
9223
9224 * debug/pcprofiledump.c (print_version): Update copyright year.
9225 * malloc/memusagestat.c (print_version): Likewise.
9226
2e64d265
L
92272012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9228
9229 [BZ #14831]
9230 * elf/Makefile (tests): Add tst-audit8.
9231 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9232 ($(objpfx)tst-audit8.out): New target.
9233 (tst-audit8-ENV): New variable.
9234 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9235 audit if l_reloc_result is NULL.
9236 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9237 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9238 * elf/tst-audit8.c: New file.
9239
c485e4d2
MS
92402012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9241
9242 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9243 * misc/Makefile (CFLAGS-select.c): Define.
9244 * posix/Makefile (CFLAGS-pause.c): Define.
9245
3a0d900a
DM
92462012-11-13 David S. Miller <davem@davemloft.net>
9247
9248 * crypt/Makefile: Move test targets after toplevel Rules
9249 inclusion. Grab any necessary sysdep routines when linking.
9250 * crypt/md5.c (md5_process_block): Remove define, we will always
9251 name it __md5_process_block.
9252 (md5_finish_ctx): Update md5_process_block call.
9253 (md5_stream): Likewise.
9254 (md5_process_bytes): Likewise.
9255 (md5_process_block): Rename to __md5_process_block and move to ...
9256 * crypt/md5-block.c: ... here.
9257 * crypt/sha256.c (sha256_process_block): Move to ...
9258 * crypt/sha256-block.c: ... here.
9259 * crypt/sha512.c (sha512_process_block): Move to ...
9260 * crypt/sha512-block.c: ... here.
9261 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9262 path.
9263 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9264 * sysdeps/sparc/sparc64/multiarch/Makefile
9265 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9266 crypt subdir.
9267 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9268 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9269 multiarch changes.
9270 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9271 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9272 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9273 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9274 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9275 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9276 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9277 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9278 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9279 file.
9280 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9281 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9282 file.
9283 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9284
8ca89318
JM
92852012-11-13 Joseph Myers <joseph@codesourcery.com>
9286
e27d476a
JM
9287 * timezone/tzselect.ksh: Update from tzcode git revision
9288 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9289 * timezone/zdump.c: Likewise.
9290 * timezone/zic.c: Likewise.
9291 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9292 in TZVERSION setting, not $(PKGVERSION).
9293 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9294 REPORT_BUGS_TO settings.
9295
8ca89318
JM
9296 [BZ #14838]
9297 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9298 macro.
9299
47594329
MS
93002012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9301
9302 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9303 detection to immediately after _FP_ROUND().
9304 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9305 bits are 0.
9306
640ac3f1
DM
93072012-11-11 David S. Miller <davem@davemloft.net>
9308
9309 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9310 inttypes.h
9311 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9312 __close rather than their public counterparts.
9313
3d2577bb
JM
93142012-11-10 Joseph Myers <joseph@codesourcery.com>
9315
9316 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9317 file.
9318 [UNIX98] (sem_timedwait): Do not expect.
9319 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9320 [XPG4 || UNIX98] (sockatmark): Do not expect.
9321 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9322 (clock_getcpuclockid): Do not expect.
9323 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9324 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9325 Do not expect.
9326 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9327 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9328 [UNIX98] (vwscanf): Likewise.
9329 [UNIX98] (vswscanf): Likewise.
9330
fb1ae1ee
JM
93312012-11-09 Joseph Myers <joseph@codesourcery.com>
9332
9ec6f8bd
JM
9333 * timezone/version.h: Remove file.
9334 * timezone/README: Do not refer to version.h.
9335 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9336 $(objpfx)version.h.
9337 ($(objpfx)zdump.o): Likewise.
c3f81911 9338 ($(objpfx)version.h): New target.
9ec6f8bd 9339
0aa8f8a1
JM
9340 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9341 2012i.
9342 * timezone/README: Don't mention modification to tzselect.ksh.
9343 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9344 work on unmodified tzselect.ksh. Substitute version numbers in
9345 tzselect.ksh.
9346
4e87147f
JM
9347 * Makefile (format-me): Remove.
9348 (INSTALL): Adjust indentation. Use commands directly instead of
9349 using $(format-me).
9350
8b748aed
JM
9351 * aclocal.m4 (ACX_PKGVERSION): New macro.
9352 (ACX_BUGURL): Likewise.
9353 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9354 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9355 (REPORT_BUGS_TO): Likewise.
9356 * configure: Regenerated.
9357 * config.h.in (PKGVERSION): New macro.
9358 (REPORT_BUGS_TO): Likewise.
9359 * config.make.in (PKGVERSION): New variable.
9360 (PKGVERSION_TEXI): Likewise.
9361 (REPORT_BUGS_TO): Likewise.
9362 (REPORT_BUGS_TEXI): Likewise.
9363 * Makefile (format-me): Use -I$(common-objpfx)manual.
9364 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9365 ($(common-objpfx)manual/%): New target.
9366 (manual/%): Remove target.
9367 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9368 (print_version): Use PKGVERSION.
9369 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9370 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9371 and REPORT_BUGS_TO.
9372 ($(objpfx)xtrace): Likewise.
9373 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9374 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9375 (print_version): Use PKGVERSION.
9376 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9377 (do_version): Use PKGVERSION.
9378 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9379 REPORT_BUGS_TO.
9380 (common-ldd-rewrite): Likewise.
9381 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9382 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9383 (print_version): Use PKGVERSION.
9384 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9385 * elf/pldd.c (argp_program_bug_address): Remove variable.
9386 (more_help): New function.
9387 (argp): Use more_help.
9388 (print_version): Use PKGVERSION.
9389 * elf/sln.c (main): Use PKGVERSION.
9390 (usage): Use REPORT_BUGS_TO.
9391 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9392 (top level): Use PKGVERSION.
9393 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9394 (print_version): Use PKGVERSION.
9395 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9396 (print_version): Use PKGVERSION.
9397 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9398 (print_version): Use PKGVERSION.
9399 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9400 (print_version): Use PKGVERSION.
9401 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9402 (print_version): Use PKGVERSION.
9403 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9404 (print_version): Use PKGVERSION.
9405 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9406 and BUGURL.
9407 ($(objpfx)memusage): Likewise.
9408 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9409 (do_version): Use PKGVERSION.
9410 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9411 (print_version): Use PKGVERSION.
9412 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9413 ($PKGVERSION): New variable.
9414 ($REPORT_BUGS_TO): Likewise.
9415 (usage): Use $REPORT_BUGS_TO.
9416 (top level): Use $PKGVERSION.
9417 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9418 ($(objpfx)pkgvers.texi): New rule.
9419 ($(objpfx)stamp-pkgvers): Likewise.
9420 * manual/install.texi: Include pkgvers.texi.
9421 (--with-pkgversion): Document new configure option.
9422 (--with-bugurl): Likewise.
9423 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9424 than necessarily for this particular distribution. Use
9425 REPORT_BUGS_TO for where to report bugs.
9426 * INSTALL: Regenerated.
9427 * manual/libc.texinfo: Include pkgvers.texi.
9428 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9429 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9430 (print_version): Use PKGVERSION.
9431 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9432 (print_version): Use PKGVERSION.
9433 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9434 (print_version): Use PKGVERSION.
9435 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9436 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9437 macro.
9438 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9439 (print_version): Use PKGVERSION.
9440 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9441 (print_version): Use PKGVERSION.
9442 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9443 and PKGVERSION.
9444
92e4b6a9
JM
9445 * timezone/checktab.awk: Update from tzcode 2012i.
9446 * timezone/ialloc.c: Likewise.
9447 * timezone/private.h: Likewise.
9448 * timezone/scheck.c: Likewise.
9449 * timezone/tzfile.h: Likewise.
9450 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9451 (TZVERSION): Hardcode tzcode version number.
9452 * timezone/zdump.c: Update from tzcode 2012i.
9453 * timezone/zic.c: Likewise.
9454 * timezone/version.h: New file.
9455 * timezone/README: Describe version.h. Update upstream location.
9456
9bde902c
JM
9457 [BZ #14824]
9458 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9459 (mktemp): Enable declaration.
9460 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9461 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9462 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9463 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9464 Likewise.
9465 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9466 Likewise.
9467 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9468 Likewise.
9469 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9470 Likewise.
9471 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9472 Likewise.
9473 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9474 Likewise.
9475
fb1ae1ee
JM
9476 [BZ #14821]
9477 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9478 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9479 for copies of such integer values.
9480 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9481 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9482
2c1adbcb
AJ
94832012-11-09 Andreas Jaeger <aj@suse.de>
9484
9485 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9486 definitions and declarations that are provided by
9487 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9488
d0f8457e
AK
94892012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9490
3a235abb 9491 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
9492 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9493 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9494 definition.
9495
57241e26
MS
94962012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9497
9498 * elf/elf.h: Update comment before AArch64 relocations.
9499
60e8270d
DM
95002012-11-07 David S. Miller <davem@davemloft.net>
9501
9502 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9503 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9504 (__start_context): Declare.
9505 (__makecontext_ret): Delete.
9506 (__makecontext): Hook up __start_context instead of
9507 __makecontext_ret.
9508 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9509 (sysdep_routines): Add __start_context when in stdlib.
9510
0fbb0fbc
JM
95112012-11-07 Joseph Myers <joseph@codesourcery.com>
9512
9513 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9514 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9515 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9516 hardcoded "nm".
9517 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9518 (READELF): New variable. Use it instead of hardcoded "readelf".
9519
eb48db7e
L
95202012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9521
9522 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9523 * sysdeps/x86/Makefile: Here.
9524 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9525 * sysdeps/x86/tst-xmmymm.sh: This.
9526
05bcf62a
JM
95272012-11-07 Joseph Myers <joseph@codesourcery.com>
9528
c4b6cf53
JM
9529 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9530 expectations.
9531 [UNIX98] (pthread_barrier_t): Do not expect.
9532 [UNIX98] (pthread_barrierattr_t): Likewise.
9533 [UNIX98] (pthread_spinlock_t): Likewise.
9534 [UNIX98] (pthread_barrier_destroy): Likewise.
9535 [UNIX98] (pthread_barrier_init): Likewise.
9536 [UNIX98] (pthread_barrier_wait): Likewise.
9537 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9538 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9539 [UNIX98] (pthread_barrierattr_init): Likewise.
9540 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9541 [UNIX98] (pthread_getcpuclockid): Likewise.
9542 [UNIX98] (pthread_mutex_timedlock): Likewise.
9543 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9544 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9545 [UNIX98] (pthread_sigmask): Likewise.
9546 [UNIX98] (pthread_spin_destroy): Likewise.
9547 [UNIX98] (pthread_spin_init): Likewise.
9548 [UNIX98] (pthread_spin_lock): Likewise.
9549 [UNIX98] (pthread_spin_trylock): Likewise.
9550 [UNIX98] (pthread_spin_unlock): Likewise.
9551 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9552 Do not expect.
9553 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9554 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9555 [XPG3 || XPG4] (pthread_cond_t): Likewise.
9556 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9557 [XPG3 || XPG4] (pthread_key_t): Likewise.
9558 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9559 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9560 [XPG3 || XPG4] (pthread_once_t): Likewise.
9561 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9562 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9563 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9564 [XPG3 || XPG4] (pthread_t): Likewise.
9565
cbe6e120
JM
9566 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9567 not expect.
9568 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9569
1b126443
JM
9570 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9571 Change function return type to int.
9572
b961a573
JM
9573 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9574 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9575 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9576 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9577 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9578 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9579 [!POSIX] (posix_madvise): Likewise.
9580 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9581 && !UNIX98].
9582 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9583 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9584 (mode_t): Likewise.
9585 (posix_mem_offset): Likewise.
9586 (posix_typed_mem_get_info): Likewise.
9587 (posix_typed_mem_open): Likewise.
9588
9e188909
JM
9589 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9590 Change condition to [XOPEN2K8].
9591
05bcf62a
JM
9592 * conform/conformtest.pl: Preprocess allow-header data with -x c
9593 instead of from stdin.
9594 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9595 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9596 [C99-based standards] (cerfc): Likewise.
9597 [C99-based standards] (cexp2): Likewise.
9598 [C99-based standards] (cexpm1): Likewise.
9599 [C99-based standards] (clog10): Likewise.
9600 [C99-based standards] (clog1p): Likewise.
9601 [C99-based standards] (clog2): Likewise.
9602 [C99-based standards] (clgamma): Likewise.
9603 [C99-based standards] (ctgamma): Likewise.
9604 [C99-based standards] (cerff): Likewise.
9605 [C99-based standards] (cerfcf): Likewise.
9606 [C99-based standards] (cexp2f): Likewise.
9607 [C99-based standards] (cexpm1f): Likewise.
9608 [C99-based standards] (clog10f): Likewise.
9609 [C99-based standards] (clog1pf): Likewise.
9610 [C99-based standards] (clog2f): Likewise.
9611 [C99-based standards] (clgammaf): Likewise.
9612 [C99-based standards] (ctgammaf): Likewise.
9613 [C99-based standards] (cerfl): Likewise.
9614 [C99-based standards] (cerfcl): Likewise.
9615 [C99-based standards] (cexp2l): Likewise.
9616 [C99-based standards] (cexpm1l): Likewise.
9617 [C99-based standards] (clog10l): Likewise.
9618 [C99-based standards] (clog1pl): Likewise.
9619 [C99-based standards] (clog2l): Likewise.
9620 [C99-based standards] (clgammal): Likewise.
9621 [C99-based standards] (ctgammal): Likewise.
9622 * conform/data/inttypes.h-data [C99-based standards]: Include
9623 stdint.h-data. Remove all expectations for stdint.h contents.
9624 [C99-based standards] (PRI*): Do not allow.
9625 [C99-based standards] (SCN*): Likewise.
9626 [C99-based standards] (*_t): Likewise.
9627 [C99-based-standards] (PRId8): Expect macro.
9628 [C99-based-standards] (PRIi8): Likewise.
9629 [C99-based-standards] (PRIo8): Likewise.
9630 [C99-based-standards] (PRIu8): Likewise.
9631 [C99-based-standards] (PRIx8): Likewise.
9632 [C99-based-standards] (PRIX8): Likewise.
9633 [C99-based-standards] (SCNd8): Likewise.
9634 [C99-based-standards] (SCNi8): Likewise.
9635 [C99-based-standards] (SCNo8): Likewise.
9636 [C99-based-standards] (SCNu8): Likewise.
9637 [C99-based-standards] (SCNx8): Likewise.
9638 [C99-based-standards] (PRIdLEAST8): Likewise.
9639 [C99-based-standards] (PRIiLEAST8): Likewise.
9640 [C99-based-standards] (PRIoLEAST8): Likewise.
9641 [C99-based-standards] (PRIuLEAST8): Likewise.
9642 [C99-based-standards] (PRIxLEAST8): Likewise.
9643 [C99-based-standards] (PRIXLEAST8): Likewise.
9644 [C99-based-standards] (SCNdLEAST8): Likewise.
9645 [C99-based-standards] (SCNiLEAST8): Likewise.
9646 [C99-based-standards] (SCNoLEAST8): Likewise.
9647 [C99-based-standards] (SCNuLEAST8): Likewise.
9648 [C99-based-standards] (SCNxLEAST8): Likewise.
9649 [C99-based-standards] (PRIdFAST8): Likewise.
9650 [C99-based-standards] (PRIiFAST8): Likewise.
9651 [C99-based-standards] (PRIoFAST8): Likewise.
9652 [C99-based-standards] (PRIuFAST8): Likewise.
9653 [C99-based-standards] (PRIxFAST8): Likewise.
9654 [C99-based-standards] (PRIXFAST8): Likewise.
9655 [C99-based-standards] (SCNdFAST8): Likewise.
9656 [C99-based-standards] (SCNiFAST8): Likewise.
9657 [C99-based-standards] (SCNoFAST8): Likewise.
9658 [C99-based-standards] (SCNuFAST8): Likewise.
9659 [C99-based-standards] (SCNxFAST8): Likewise.
9660 [C99-based-standards] (PRId16): Likewise.
9661 [C99-based-standards] (PRIi16): Likewise.
9662 [C99-based-standards] (PRIo16): Likewise.
9663 [C99-based-standards] (PRIu16): Likewise.
9664 [C99-based-standards] (PRIx16): Likewise.
9665 [C99-based-standards] (PRIX16): Likewise.
9666 [C99-based-standards] (SCNd16): Likewise.
9667 [C99-based-standards] (SCNi16): Likewise.
9668 [C99-based-standards] (SCNo16): Likewise.
9669 [C99-based-standards] (SCNu16): Likewise.
9670 [C99-based-standards] (SCNx16): Likewise.
9671 [C99-based-standards] (PRIdLEAST16): Likewise.
9672 [C99-based-standards] (PRIiLEAST16): Likewise.
9673 [C99-based-standards] (PRIoLEAST16): Likewise.
9674 [C99-based-standards] (PRIuLEAST16): Likewise.
9675 [C99-based-standards] (PRIxLEAST16): Likewise.
9676 [C99-based-standards] (PRIXLEAST16): Likewise.
9677 [C99-based-standards] (SCNdLEAST16): Likewise.
9678 [C99-based-standards] (SCNiLEAST16): Likewise.
9679 [C99-based-standards] (SCNoLEAST16): Likewise.
9680 [C99-based-standards] (SCNuLEAST16): Likewise.
9681 [C99-based-standards] (SCNxLEAST16): Likewise.
9682 [C99-based-standards] (PRIdFAST16): Likewise.
9683 [C99-based-standards] (PRIiFAST16): Likewise.
9684 [C99-based-standards] (PRIoFAST16): Likewise.
9685 [C99-based-standards] (PRIuFAST16): Likewise.
9686 [C99-based-standards] (PRIxFAST16): Likewise.
9687 [C99-based-standards] (PRIXFAST16): Likewise.
9688 [C99-based-standards] (SCNdFAST16): Likewise.
9689 [C99-based-standards] (SCNiFAST16): Likewise.
9690 [C99-based-standards] (SCNoFAST16): Likewise.
9691 [C99-based-standards] (SCNuFAST16): Likewise.
9692 [C99-based-standards] (SCNxFAST16): Likewise.
9693 [C99-based-standards] (PRId32): Likewise.
9694 [C99-based-standards] (PRIi32): Likewise.
9695 [C99-based-standards] (PRIo32): Likewise.
9696 [C99-based-standards] (PRIu32): Likewise.
9697 [C99-based-standards] (PRIx32): Likewise.
9698 [C99-based-standards] (PRIX32): Likewise.
9699 [C99-based-standards] (SCNd32): Likewise.
9700 [C99-based-standards] (SCNi32): Likewise.
9701 [C99-based-standards] (SCNo32): Likewise.
9702 [C99-based-standards] (SCNu32): Likewise.
9703 [C99-based-standards] (SCNx32): Likewise.
9704 [C99-based-standards] (PRIdLEAST32): Likewise.
9705 [C99-based-standards] (PRIiLEAST32): Likewise.
9706 [C99-based-standards] (PRIoLEAST32): Likewise.
9707 [C99-based-standards] (PRIuLEAST32): Likewise.
9708 [C99-based-standards] (PRIxLEAST32): Likewise.
9709 [C99-based-standards] (PRIXLEAST32): Likewise.
9710 [C99-based-standards] (SCNdLEAST32): Likewise.
9711 [C99-based-standards] (SCNiLEAST32): Likewise.
9712 [C99-based-standards] (SCNoLEAST32): Likewise.
9713 [C99-based-standards] (SCNuLEAST32): Likewise.
9714 [C99-based-standards] (SCNxLEAST32): Likewise.
9715 [C99-based-standards] (PRIdFAST32): Likewise.
9716 [C99-based-standards] (PRIiFAST32): Likewise.
9717 [C99-based-standards] (PRIoFAST32): Likewise.
9718 [C99-based-standards] (PRIuFAST32): Likewise.
9719 [C99-based-standards] (PRIxFAST32): Likewise.
9720 [C99-based-standards] (PRIXFAST32): Likewise.
9721 [C99-based-standards] (SCNdFAST32): Likewise.
9722 [C99-based-standards] (SCNiFAST32): Likewise.
9723 [C99-based-standards] (SCNoFAST32): Likewise.
9724 [C99-based-standards] (SCNuFAST32): Likewise.
9725 [C99-based-standards] (SCNxFAST32): Likewise.
9726 [C99-based-standards] (PRId64): Likewise.
9727 [C99-based-standards] (PRIi64): Likewise.
9728 [C99-based-standards] (PRIo64): Likewise.
9729 [C99-based-standards] (PRIu64): Likewise.
9730 [C99-based-standards] (PRIx64): Likewise.
9731 [C99-based-standards] (PRIX64): Likewise.
9732 [C99-based-standards] (SCNd64): Likewise.
9733 [C99-based-standards] (SCNi64): Likewise.
9734 [C99-based-standards] (SCNo64): Likewise.
9735 [C99-based-standards] (SCNu64): Likewise.
9736 [C99-based-standards] (SCNx64): Likewise.
9737 [C99-based-standards] (PRIdLEAST64): Likewise.
9738 [C99-based-standards] (PRIiLEAST64): Likewise.
9739 [C99-based-standards] (PRIoLEAST64): Likewise.
9740 [C99-based-standards] (PRIuLEAST64): Likewise.
9741 [C99-based-standards] (PRIxLEAST64): Likewise.
9742 [C99-based-standards] (PRIXLEAST64): Likewise.
9743 [C99-based-standards] (SCNdLEAST64): Likewise.
9744 [C99-based-standards] (SCNiLEAST64): Likewise.
9745 [C99-based-standards] (SCNoLEAST64): Likewise.
9746 [C99-based-standards] (SCNuLEAST64): Likewise.
9747 [C99-based-standards] (SCNxLEAST64): Likewise.
9748 [C99-based-standards] (PRIdFAST64): Likewise.
9749 [C99-based-standards] (PRIiFAST64): Likewise.
9750 [C99-based-standards] (PRIoFAST64): Likewise.
9751 [C99-based-standards] (PRIuFAST64): Likewise.
9752 [C99-based-standards] (PRIxFAST64): Likewise.
9753 [C99-based-standards] (PRIXFAST64): Likewise.
9754 [C99-based-standards] (SCNdFAST64): Likewise.
9755 [C99-based-standards] (SCNiFAST64): Likewise.
9756 [C99-based-standards] (SCNoFAST64): Likewise.
9757 [C99-based-standards] (SCNuFAST64): Likewise.
9758 [C99-based-standards] (SCNxFAST64): Likewise.
9759 [C99-based-standards] (PRIdMAX): Likewise.
9760 [C99-based-standards] (PRIiMAX): Likewise.
9761 [C99-based-standards] (PRIoMAX): Likewise.
9762 [C99-based-standards] (PRIuMAX): Likewise.
9763 [C99-based-standards] (PRIxMAX): Likewise.
9764 [C99-based-standards] (PRIXMAX): Likewise.
9765 [C99-based-standards] (SCNdMAX): Likewise.
9766 [C99-based-standards] (SCNiMAX): Likewise.
9767 [C99-based-standards] (SCNoMAX): Likewise.
9768 [C99-based-standards] (SCNuMAX): Likewise.
9769 [C99-based-standards] (SCNxMAX): Likewise.
9770 [C99-based-standards] (PRIdPTR): Likewise.
9771 [C99-based-standards] (PRIiPTR): Likewise.
9772 [C99-based-standards] (PRIoPTR): Likewise.
9773 [C99-based-standards] (PRIuPTR): Likewise.
9774 [C99-based-standards] (PRIxPTR): Likewise.
9775 [C99-based-standards] (PRIXPTR): Likewise.
9776 [C99-based-standards] (SCNdPTR): Likewise.
9777 [C99-based-standards] (SCNiPTR): Likewise.
9778 [C99-based-standards] (SCNoPTR): Likewise.
9779 [C99-based-standards] (SCNuPTR): Likewise.
9780 [C99-based-standards] (SCNxPTR): Likewise.
9781 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9782 allow.
9783 * conform/data/stdint.h-data: Update comments to clarify
9784 requirements.
9785 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
9786 type.
9787 [C99-based standards] (INT8_MAX): Likewise.
9788 [C99-based standards] (INT16_MIN): Likewise.
9789 [C99-based standards] (INT16_MAX): Likewise.
9790 [C99-based standards] (INT32_MIN): Likewise.
9791 [C99-based standards] (INT32_MAX): Likewise.
9792 [C99-based standards] (INT64_MIN): Likewise.
9793 [C99-based standards] (INT64_MAX): Likewise.
9794 [C99-based standards] (UINT8_MAX): Likewise.
9795 [C99-based standards] (UINT16_MAX): Likewise.
9796 [C99-based standards] (UINT32_MAX): Likewise.
9797 [C99-based standards] (UINT64_MAX): Likewise.
9798 [C99-based standards] (INT_LEAST8_MIN): Likewise.
9799 [C99-based standards] (INT_LEAST8_MAX): Likewise.
9800 [C99-based standards] (INT_LEAST16_MIN): Likewise.
9801 [C99-based standards] (INT_LEAST16_MAX): Likewise.
9802 [C99-based standards] (INT_LEAST32_MIN): Likewise.
9803 [C99-based standards] (INT_LEAST32_MAX): Likewise.
9804 [C99-based standards] (INT_LEAST64_MIN): Likewise.
9805 [C99-based standards] (INT_LEAST64_MAX): Likewise.
9806 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9807 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9808 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9809 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9810 [C99-based standards] (INT_FAST8_MIN): Likewise.
9811 [C99-based standards] (INT_FAST8_MAX): Likewise.
9812 [C99-based standards] (INT_FAST16_MIN): Likewise.
9813 [C99-based standards] (INT_FAST16_MAX): Likewise.
9814 [C99-based standards] (INT_FAST32_MIN): Likewise.
9815 [C99-based standards] (INT_FAST32_MAX): Likewise.
9816 [C99-based standards] (INT_FAST64_MIN): Likewise.
9817 [C99-based standards] (INT_FAST64_MAX): Likewise.
9818 [C99-based standards] (UINT_FAST8_MAX): Likewise.
9819 [C99-based standards] (UINT_FAST16_MAX): Likewise.
9820 [C99-based standards] (UINT_FAST32_MAX): Likewise.
9821 [C99-based standards] (UINT_FAST64_MAX): Likewise.
9822 [C99-based standards] (INTPTR_MIN): Likewise.
9823 [C99-based standards] (INTPTR_MAX): Likewise.
9824 [C99-based standards] (UINTPTR_MAX): Likewise.
9825 [C99-based standards] (INTMAX_MIN): Likewise.
9826 [C99-based standards] (INTMAX_MAX): Likewise.
9827 [C99-based standards] (UINTMAX_MAX): Likewise.
9828 [C99-based standards] (PTRDIFF_MIN): Likewise.
9829 [C99-based standards] (PTRDIFF_MAX): Likewise.
9830 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
9831 [C99-based standards] (SIZE_MAX): Likewise.
9832 [C99-based standards] (WCHAR_MAX): Likewise.
9833 [C99-based standards] (WINT_MAX): Likewise.
9834 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
9835 constraint on value.
9836 [C99-based standards] (WCHAR_MIN): Likewise.
9837 [C99-based standards] (WINT_MIN): Likewise.
9838 [C99-based standards] (*_t): Allow.
9839 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
9840 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
9841 Include math.h-data and complex.h-data. Remove all expectations
9842 of math.h and complex.h contents.
9843 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
9844 at end of line.
9845 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
9846 (struct tm): Expect tag.
9847 [C99-based-standards] (wcstof): Expect function.
9848 [C99-based-standards] (wcstold): Likewise.
9849 [C99-based-standards] (wcstoll): Likewise.
9850 [C99-based-standards] (wcstoull): Likewise.
9851 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
9852 macro-int-constant. Specify type.
9853 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
9854 constraint on value.
9855 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9856 Specify type.
9857 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
9858 Specify value.
9859 [ISO C standards]: Do not allow headers.
9860 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
9861 wcs[abcdefghijklmnopqrstuvwxyz]*.
9862 [ISO C standards] (*_t): Do not allow.
9863 * conform/data/wctype.h-data [C99-based standards] (iswblank):
9864 Expect function.
9865 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
9866 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9867 Specify type.
9868 [ISO C standards]: Do not allow headers.
9869 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
9870 is[abcdefghijklmnopqrstuvwxyz]*.
9871 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
9872 to[abcdefghijklmnopqrstuvwxyz]*.
9873 [ISO C standards] (*_t): Do not allow.
9874 * conform/data/stdalign.h-data: New file.
9875 * conform/data/stdbool.h-data: Likewise.
9876 * conform/data/stdnoreturn.h-data: Likewise.
9877
7514feb8
RM
98782012-11-07 Roland McGrath <roland@hack.frob.com>
9879
9880 [BZ #14815]
9881 * manual/filesys.texi (Directory Entries): Typo fix.
9882 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
9883
19b2ecfc
MS
98842012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9885
9886 * elf/elf.h (EM_AARCH64): New macro.
9887 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
9888 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
9889 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
9890 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
9891 (R_AARCH64_TLSDESC): Likewise.
9892 (NT_ARM_TLS): Likewise.
9893 (NT_ARM_HW_BREAK): Likewise.
9894 (NT_ARM_HW_WATCH): Likewise.
9895
60e235ee
JM
98962012-11-07 Joseph Myers <joseph@codesourcery.com>
9897
9898 [BZ #14811]
9899 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
9900 (__ieee754_powl): Saturate nonzero exponents with absolute value
9901 below 0x1p-79 to +/- 0x1p-79.
9902 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
9903 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
9904 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
9905 nonzero exponents with absolute value below 0x1p-32 to +/-
9906 0x1p-32.
9907 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
9908 (__ieee754_powl): Saturate nonzero exponents with absolute value
9909 below 0x1p-79 to +/- 0x1p-79.
9910 * math/libm-test.inc (pow_test): Add more tests.
9911
0ab234b7
AK
99122012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9913
9914 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
9915 _dl_s390_cap_flags with kernel. Increase string length.
9916 (_dl_s390_platforms): Add z196 and zEC12.
9917
45832f74
JM
99182012-11-07 Joseph Myers <joseph@codesourcery.com>
9919
9920 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
9921 Change XOPEN21K to XOPEN2K.
9922
19218757
MK
99232012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
9924
9925 * string/memmove.c: Use memcpy when possible.
9926
c5f45721
AJ
99272012-11-06 Andreas Jaeger <aj@suse.de>
9928
9929 * po/eo.po: Update from translation team.
9930
82477c28
JM
99312012-11-06 Joseph Myers <joseph@codesourcery.com>
9932
9933 [BZ #14793]
9934 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
9935 exponent and small x and y exponents, scale x or y up. Increase
9936 by 2 the exponent used in scaling up.
9937 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9938 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9939 * math/libm-test.inc (fma_test): Add more tests.
9940 (fma_test_towardzero): Likewise.
9941 (fma_test_downward): Likewise.
9942 (fma_test_upward): Likewise.
9943
99252c8c
JM
99442012-11-05 Joseph Myers <joseph@codesourcery.com>
9945
acfa885f
JM
9946 [BZ #14805]
9947 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
9948 fenv_t *.
9949
99252c8c
JM
9950 [BZ #14801]
9951 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
9952 namespace for names of struct fields.
9953 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
9954 fenv_t fields.
9955 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9956 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
9957
d6d98dea
ST
99582012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9959
9960 [BZ #3665]
9961 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
9962
e10bb107
TS
99632012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9964
9965 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
9966 PTR_DEMANGLE.
9967
9968 [BZ #5246]
9969 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
9970 PTR_DEMANGLE.
9971
a0c2940d
JM
99722012-11-04 Joseph Myers <joseph@codesourcery.com>
9973
9974 [BZ #14797]
9975 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
9976 definitely overflow as x * y not x * y + z.
9977 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9978 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9979 * math/libm-test.inc (fma_test): Add more tests.
9980 (fma_test_towardzero): Likewise.
9981 (fma_test_downward): Likewise.
9982 (fma_test_upward): Likewise.
9983
b830319d
TS
99842012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9985
9986 [BZ #157]
9987
9988 * include/stub-tag.h: Remove file.
9989 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
9990 '#include' of it.
9991 * manual/maint.texi (Porting): Don't reference it.
9992 * Makerules ($(objpfx)stubs): Likewise.
9993 * dirent/closedir.c: Don't include <stub-tag.h>.
9994 * dirent/dirfd.c: Likewise.
9995 * dirent/fdopendir.c: Likewise.
9996 * dirent/getdents.c: Likewise.
9997 * dirent/getdents64.c: Likewise.
9998 * dirent/opendir.c: Likewise.
9999 * dirent/readdir.c: Likewise.
10000 * dirent/readdir64.c: Likewise.
10001 * dirent/readdir64_r.c: Likewise.
10002 * dirent/readdir_r.c: Likewise.
10003 * dirent/rewinddir.c: Likewise.
10004 * dirent/seekdir.c: Likewise.
10005 * dirent/telldir.c: Likewise.
10006 * gmon/profil.c: Likewise.
10007 * grp/setgroups.c: Likewise.
10008 * inet/if_index.c: Likewise.
10009 * io/access.c: Likewise.
10010 * io/chdir.c: Likewise.
10011 * io/chmod.c: Likewise.
10012 * io/chown.c: Likewise.
10013 * io/close.c: Likewise.
10014 * io/dup.c: Likewise.
10015 * io/dup2.c: Likewise.
10016 * io/dup3.c: Likewise.
10017 * io/euidaccess.c: Likewise.
10018 * io/faccessat.c: Likewise.
10019 * io/fchdir.c: Likewise.
10020 * io/fchmod.c: Likewise.
10021 * io/fchmodat.c: Likewise.
10022 * io/fchown.c: Likewise.
10023 * io/fchownat.c: Likewise.
10024 * io/fcntl.c: Likewise.
10025 * io/flock.c: Likewise.
10026 * io/fstatfs.c: Likewise.
10027 * io/fstatfs64.c: Likewise.
10028 * io/fstatvfs.c: Likewise.
10029 * io/fstatvfs64.c: Likewise.
10030 * io/futimens.c: Likewise.
10031 * io/fxstat.c: Likewise.
10032 * io/fxstat64.c: Likewise.
10033 * io/fxstatat.c: Likewise.
10034 * io/fxstatat64.c: Likewise.
10035 * io/getcwd.c: Likewise.
10036 * io/isatty.c: Likewise.
10037 * io/lchmod.c: Likewise.
10038 * io/lchown.c: Likewise.
10039 * io/link.c: Likewise.
10040 * io/linkat.c: Likewise.
10041 * io/lseek.c: Likewise.
10042 * io/lseek64.c: Likewise.
10043 * io/lxstat64.c: Likewise.
10044 * io/mkdir.c: Likewise.
10045 * io/mkdirat.c: Likewise.
10046 * io/mkfifo.c: Likewise.
10047 * io/mkfifoat.c: Likewise.
10048 * io/open.c: Likewise.
10049 * io/open64.c: Likewise.
10050 * io/openat.c: Likewise.
10051 * io/openat64.c: Likewise.
10052 * io/pipe.c: Likewise.
10053 * io/pipe2.c: Likewise.
10054 * io/poll.c: Likewise.
10055 * io/posix_fadvise.c: Likewise.
10056 * io/posix_fadvise64.c: Likewise.
10057 * io/posix_fallocate.c: Likewise.
10058 * io/posix_fallocate64.c: Likewise.
10059 * io/read.c: Likewise.
10060 * io/readlink.c: Likewise.
10061 * io/readlinkat.c: Likewise.
10062 * io/rmdir.c: Likewise.
10063 * io/sendfile.c: Likewise.
10064 * io/sendfile64.c: Likewise.
10065 * io/statfs.c: Likewise.
10066 * io/statfs64.c: Likewise.
10067 * io/statvfs.c: Likewise.
10068 * io/statvfs64.c: Likewise.
10069 * io/symlink.c: Likewise.
10070 * io/symlinkat.c: Likewise.
10071 * io/ttyname.c: Likewise.
10072 * io/ttyname_r.c: Likewise.
10073 * io/umask.c: Likewise.
10074 * io/unlink.c: Likewise.
10075 * io/unlinkat.c: Likewise.
10076 * io/utime.c: Likewise.
10077 * io/utimensat.c: Likewise.
10078 * io/write.c: Likewise.
10079 * io/xmknod.c: Likewise.
10080 * io/xmknodat.c: Likewise.
10081 * io/xstat.c: Likewise.
10082 * io/xstat64.c: Likewise.
10083 * login/getpt.c: Likewise.
10084 * login/grantpt.c: Likewise.
10085 * login/unlockpt.c: Likewise.
10086 * math/e_acoshl.c: Likewise.
10087 * math/e_acosl.c: Likewise.
10088 * math/e_asinl.c: Likewise.
10089 * math/e_atan2l.c: Likewise.
10090 * math/e_atanhl.c: Likewise.
10091 * math/e_coshl.c: Likewise.
10092 * math/e_expl.c: Likewise.
10093 * math/e_fmodl.c: Likewise.
10094 * math/e_gammal_r.c: Likewise.
10095 * math/e_hypotl.c: Likewise.
10096 * math/e_j0l.c: Likewise.
10097 * math/e_j1l.c: Likewise.
10098 * math/e_jnl.c: Likewise.
10099 * math/e_lgammal_r.c: Likewise.
10100 * math/e_log10l.c: Likewise.
10101 * math/e_log2l.c: Likewise.
10102 * math/e_logl.c: Likewise.
10103 * math/e_powl.c: Likewise.
10104 * math/e_rem_pio2l.c: Likewise.
10105 * math/e_sinhl.c: Likewise.
10106 * math/e_sqrtl.c: Likewise.
10107 * math/fclrexcpt.c: Likewise.
10108 * math/fedisblxcpt.c: Likewise.
10109 * math/feenablxcpt.c: Likewise.
10110 * math/fegetenv.c: Likewise.
10111 * math/fegetexcept.c: Likewise.
10112 * math/fegetround.c: Likewise.
10113 * math/feholdexcpt.c: Likewise.
10114 * math/fesetenv.c: Likewise.
10115 * math/fesetround.c: Likewise.
10116 * math/feupdateenv.c: Likewise.
10117 * math/fgetexcptflg.c: Likewise.
10118 * math/fraiseexcpt.c: Likewise.
10119 * math/fsetexcptflg.c: Likewise.
10120 * math/ftestexcept.c: Likewise.
10121 * math/k_cosl.c: Likewise.
10122 * math/k_rem_pio2l.c: Likewise.
10123 * math/k_sinl.c: Likewise.
10124 * math/k_tanl.c: Likewise.
10125 * math/s_asinhl.c: Likewise.
10126 * math/s_atanl.c: Likewise.
10127 * math/s_cbrtl.c: Likewise.
10128 * math/s_erfl.c: Likewise.
10129 * math/s_expm1l.c: Likewise.
10130 * math/s_log1pl.c: Likewise.
10131 * math/s_tanhl.c: Likewise.
10132 * misc/acct.c: Likewise.
10133 * misc/brk.c: Likewise.
10134 * misc/chflags.c: Likewise.
10135 * misc/chroot.c: Likewise.
10136 * misc/fchflags.c: Likewise.
10137 * misc/fgetxattr.c: Likewise.
10138 * misc/flistxattr.c: Likewise.
10139 * misc/fremovexattr.c: Likewise.
10140 * misc/fsetxattr.c: Likewise.
10141 * misc/fsync.c: Likewise.
10142 * misc/ftruncate.c: Likewise.
10143 * misc/futimes.c: Likewise.
10144 * misc/futimesat.c: Likewise.
10145 * misc/getdomain.c: Likewise.
10146 * misc/getdtsz.c: Likewise.
10147 * misc/gethostid.c: Likewise.
10148 * misc/gethostname.c: Likewise.
10149 * misc/getloadavg.c: Likewise.
10150 * misc/getpagesize.c: Likewise.
10151 * misc/getsysstats.c: Likewise.
10152 * misc/getxattr.c: Likewise.
10153 * misc/gtty.c: Likewise.
10154 * misc/ioctl.c: Likewise.
10155 * misc/lgetxattr.c: Likewise.
10156 * misc/listxattr.c: Likewise.
10157 * misc/llistxattr.c: Likewise.
10158 * misc/lremovexattr.c: Likewise.
10159 * misc/lsetxattr.c: Likewise.
10160 * misc/lutimes.c: Likewise.
10161 * misc/madvise.c: Likewise.
10162 * misc/mincore.c: Likewise.
10163 * misc/mlock.c: Likewise.
10164 * misc/mlockall.c: Likewise.
10165 * misc/mmap.c: Likewise.
10166 * misc/mprotect.c: Likewise.
10167 * misc/msync.c: Likewise.
10168 * misc/munlock.c: Likewise.
10169 * misc/munlockall.c: Likewise.
10170 * misc/munmap.c: Likewise.
10171 * misc/preadv.c: Likewise.
10172 * misc/preadv64.c: Likewise.
10173 * misc/ptrace.c: Likewise.
10174 * misc/pwritev.c: Likewise.
10175 * misc/pwritev64.c: Likewise.
10176 * misc/readv.c: Likewise.
10177 * misc/reboot.c: Likewise.
10178 * misc/remap_file_pages.c: Likewise.
10179 * misc/removexattr.c: Likewise.
10180 * misc/revoke.c: Likewise.
10181 * misc/select.c: Likewise.
10182 * misc/setdomain.c: Likewise.
10183 * misc/setegid.c: Likewise.
10184 * misc/seteuid.c: Likewise.
10185 * misc/sethostid.c: Likewise.
10186 * misc/sethostname.c: Likewise.
10187 * misc/setregid.c: Likewise.
10188 * misc/setreuid.c: Likewise.
10189 * misc/setxattr.c: Likewise.
10190 * misc/sstk.c: Likewise.
10191 * misc/stty.c: Likewise.
10192 * misc/swapoff.c: Likewise.
10193 * misc/swapon.c: Likewise.
10194 * misc/sync.c: Likewise.
10195 * misc/syncfs.c: Likewise.
10196 * misc/syscall.c: Likewise.
10197 * misc/truncate.c: Likewise.
10198 * misc/ualarm.c: Likewise.
10199 * misc/usleep.c: Likewise.
10200 * misc/ustat.c: Likewise.
10201 * misc/utimes.c: Likewise.
10202 * misc/vhangup.c: Likewise.
10203 * misc/writev.c: Likewise.
10204 * posix/_exit.c: Likewise.
10205 * posix/alarm.c: Likewise.
10206 * posix/execve.c: Likewise.
10207 * posix/fexecve.c: Likewise.
10208 * posix/fork.c: Likewise.
10209 * posix/fpathconf.c: Likewise.
10210 * posix/getaddrinfo.c: Likewise.
10211 * posix/getegid.c: Likewise.
10212 * posix/geteuid.c: Likewise.
10213 * posix/getgid.c: Likewise.
10214 * posix/getgroups.c: Likewise.
10215 * posix/getlogin.c: Likewise.
10216 * posix/getlogin_r.c: Likewise.
10217 * posix/getpgid.c: Likewise.
10218 * posix/getpid.c: Likewise.
10219 * posix/getppid.c: Likewise.
10220 * posix/getresgid.c: Likewise.
10221 * posix/getresuid.c: Likewise.
10222 * posix/getsid.c: Likewise.
10223 * posix/getuid.c: Likewise.
10224 * posix/glob64.c: Likewise.
10225 * posix/nanosleep.c: Likewise.
10226 * posix/pathconf.c: Likewise.
10227 * posix/pause.c: Likewise.
10228 * posix/posix_madvise.c: Likewise.
10229 * posix/pread.c: Likewise.
10230 * posix/pread64.c: Likewise.
10231 * posix/pwrite.c: Likewise.
10232 * posix/pwrite64.c: Likewise.
10233 * posix/sched_getaffinity.c: Likewise.
10234 * posix/sched_getp.c: Likewise.
10235 * posix/sched_gets.c: Likewise.
10236 * posix/sched_primax.c: Likewise.
10237 * posix/sched_primin.c: Likewise.
10238 * posix/sched_rr_gi.c: Likewise.
10239 * posix/sched_setaffinity.c: Likewise.
10240 * posix/sched_setp.c: Likewise.
10241 * posix/sched_sets.c: Likewise.
10242 * posix/sched_yield.c: Likewise.
10243 * posix/setgid.c: Likewise.
10244 * posix/setlogin.c: Likewise.
10245 * posix/setpgid.c: Likewise.
10246 * posix/setresgid.c: Likewise.
10247 * posix/setresuid.c: Likewise.
10248 * posix/setsid.c: Likewise.
10249 * posix/setuid.c: Likewise.
10250 * posix/sleep.c: Likewise.
10251 * posix/spawni.c: Likewise.
10252 * posix/sysconf.c: Likewise.
10253 * posix/times.c: Likewise.
10254 * posix/wait.c: Likewise.
10255 * posix/wait3.c: Likewise.
10256 * posix/wait4.c: Likewise.
10257 * posix/waitpid.c: Likewise.
10258 * resolv/gai_sigqueue.c: Likewise.
10259 * resource/getpriority.c: Likewise.
10260 * resource/getrlimit.c: Likewise.
10261 * resource/getrusage.c: Likewise.
10262 * resource/nice.c: Likewise.
10263 * resource/setpriority.c: Likewise.
10264 * resource/setrlimit.c: Likewise.
10265 * resource/ulimit.c: Likewise.
10266 * rt/aio_cancel.c: Likewise.
10267 * rt/aio_fsync.c: Likewise.
10268 * rt/aio_read.c: Likewise.
10269 * rt/aio_sigqueue.c: Likewise.
10270 * rt/aio_suspend.c: Likewise.
10271 * rt/aio_write.c: Likewise.
10272 * rt/clock_getres.c: Likewise.
10273 * rt/clock_gettime.c: Likewise.
10274 * rt/clock_nanosleep.c: Likewise.
10275 * rt/clock_settime.c: Likewise.
10276 * rt/lio_listio.c: Likewise.
10277 * rt/mq_close.c: Likewise.
10278 * rt/mq_getattr.c: Likewise.
10279 * rt/mq_notify.c: Likewise.
10280 * rt/mq_open.c: Likewise.
10281 * rt/mq_receive.c: Likewise.
10282 * rt/mq_send.c: Likewise.
10283 * rt/mq_setattr.c: Likewise.
10284 * rt/mq_timedreceive.c: Likewise.
10285 * rt/mq_timedsend.c: Likewise.
10286 * rt/mq_unlink.c: Likewise.
10287 * rt/shm_open.c: Likewise.
10288 * rt/shm_unlink.c: Likewise.
10289 * rt/timer_create.c: Likewise.
10290 * rt/timer_delete.c: Likewise.
10291 * rt/timer_getoverr.c: Likewise.
10292 * rt/timer_gettime.c: Likewise.
10293 * rt/timer_settime.c: Likewise.
10294 * setjmp/__longjmp.c: Likewise.
10295 * setjmp/setjmp.c: Likewise.
10296 * signal/kill.c: Likewise.
10297 * signal/killpg.c: Likewise.
10298 * signal/raise.c: Likewise.
10299 * signal/sigaction.c: Likewise.
10300 * signal/sigaltstack.c: Likewise.
10301 * signal/sigblock.c: Likewise.
10302 * signal/sigignore.c: Likewise.
10303 * signal/sigintr.c: Likewise.
10304 * signal/signal.c: Likewise.
10305 * signal/sigpause.c: Likewise.
10306 * signal/sigpending.c: Likewise.
10307 * signal/sigqueue.c: Likewise.
10308 * signal/sigreturn.c: Likewise.
10309 * signal/sigset.c: Likewise.
10310 * signal/sigsetmask.c: Likewise.
10311 * signal/sigstack.c: Likewise.
10312 * signal/sigsuspend.c: Likewise.
10313 * signal/sigtimedwait.c: Likewise.
10314 * signal/sigvec.c: Likewise.
10315 * signal/sigwait.c: Likewise.
10316 * signal/sigwaitinfo.c: Likewise.
10317 * signal/sysv_signal.c: Likewise.
10318 * socket/accept.c: Likewise.
10319 * socket/accept4.c: Likewise.
10320 * socket/bind.c: Likewise.
10321 * socket/connect.c: Likewise.
10322 * socket/getpeername.c: Likewise.
10323 * socket/getsockname.c: Likewise.
10324 * socket/getsockopt.c: Likewise.
10325 * socket/isfdtype.c: Likewise.
10326 * socket/listen.c: Likewise.
10327 * socket/recv.c: Likewise.
10328 * socket/recvfrom.c: Likewise.
10329 * socket/recvmsg.c: Likewise.
10330 * socket/send.c: Likewise.
10331 * socket/sendmsg.c: Likewise.
10332 * socket/sendto.c: Likewise.
10333 * socket/setsockopt.c: Likewise.
10334 * socket/shutdown.c: Likewise.
10335 * socket/sockatmark.c: Likewise.
10336 * socket/socket.c: Likewise.
10337 * socket/socketpair.c: Likewise.
10338 * stdio-common/ctermid.c: Likewise.
10339 * stdio-common/cuserid.c: Likewise.
10340 * stdio-common/remove.c: Likewise.
10341 * stdio-common/rename.c: Likewise.
10342 * stdio-common/renameat.c: Likewise.
10343 * stdio-common/tempname.c: Likewise.
10344 * stdlib/getcontext.c: Likewise.
10345 * stdlib/makecontext.c: Likewise.
10346 * stdlib/setcontext.c: Likewise.
10347 * stdlib/swapcontext.c: Likewise.
10348 * stdlib/system.c: Likewise.
10349 * streams/fattach.c: Likewise.
10350 * streams/fdetach.c: Likewise.
10351 * streams/getmsg.c: Likewise.
10352 * streams/getpmsg.c: Likewise.
10353 * streams/putmsg.c: Likewise.
10354 * streams/putpmsg.c: Likewise.
10355 * sysdeps/unix/bsd/getpt.c: Likewise.
10356 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10357 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10358 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10360 Likewise.
10361 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10362 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10363 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10364 * sysvipc/msgctl.c: Likewise.
10365 * sysvipc/msgget.c: Likewise.
10366 * sysvipc/msgrcv.c: Likewise.
10367 * sysvipc/msgsnd.c: Likewise.
10368 * sysvipc/semctl.c: Likewise.
10369 * sysvipc/semget.c: Likewise.
10370 * sysvipc/semop.c: Likewise.
10371 * sysvipc/semtimedop.c: Likewise.
10372 * sysvipc/shmat.c: Likewise.
10373 * sysvipc/shmctl.c: Likewise.
10374 * sysvipc/shmdt.c: Likewise.
10375 * sysvipc/shmget.c: Likewise.
10376 * termios/tcdrain.c: Likewise.
10377 * termios/tcflow.c: Likewise.
10378 * termios/tcflush.c: Likewise.
10379 * termios/tcgetattr.c: Likewise.
10380 * termios/tcgetpgrp.c: Likewise.
10381 * termios/tcsendbrk.c: Likewise.
10382 * termios/tcsetattr.c: Likewise.
10383 * termios/tcsetpgrp.c: Likewise.
10384 * time/adjtime.c: Likewise.
10385 * time/clock.c: Likewise.
10386 * time/getitimer.c: Likewise.
10387 * time/gettimeofday.c: Likewise.
10388 * time/setitimer.c: Likewise.
10389 * time/settimeofday.c: Likewise.
10390 * time/stime.c: Likewise.
10391 * time/time.c: Likewise.
10392
103932012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 10394
a20492cf
PT
10395 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10396 /usr/old/bin.
10397
72e182e3
PT
10398 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10399 instead of spaces.
10400 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10401
fbeafede
JM
104022012-11-03 Joseph Myers <joseph@codesourcery.com>
10403
5b5b04d6
JM
10404 [BZ #14796]
10405 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10406 FE_TONEAREST before applying Dekker multiplication and Knuth
10407 addition. Clear inexact exceptions and check for exact zero
10408 results afterwards.
10409 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10410 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10411 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10412 * math/libm-test.inc (fma_test): Add more tests.
10413 (fma_test_towardzero): Likewise.
10414 (fma_test_downward): Likewise.
10415 (fma_test_upward): Likewise.
10416 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10417 function.
10418 (libc_fesetround): New macro.
10419 (libc_fesetroundf): Likewise.
10420 (libc_fesetroundl): Likewise.
10421 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10422 function.
10423 (libc_fesetround_387): Likewise.
10424 (libc_fesetroundf): New macro.
10425 (libc_fesetround): Likewise.
10426 (libc_fesetroundl): Likewise.
10427 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10428 function.
10429 (libc_fesetroundf): New macro.
10430 (libc_fesetround): Likewise.
10431 (libc_fesetroundl): Likewise.
10432 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10433 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10434 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10435 libm_hidden_ver.
10436 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10437 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10438 libm_hidden_def.
10439 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10440 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10441 libm_hidden_ver.
10442 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10443 libm_hidden_def.
10444
fbeafede
JM
10445 [BZ #3439]
10446 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10447 integer constant usable in #if and use that to give value to enum
10448 constant.
10449 (FE_DIVBYZERO): Likewise.
10450 (FE_UNDERFLOW): Likewise.
10451 (FE_OVERFLOW): Likewise.
10452 (FE_INVALID): Likewise.
10453 (FE_INVALID_SNAN): Likewise.
10454 (FE_INVALID_ISI): Likewise.
10455 (FE_INVALID_IDI): Likewise.
10456 (FE_INVALID_ZDZ): Likewise.
10457 (FE_INVALID_IMZ): Likewise.
10458 (FE_INVALID_COMPARE): Likewise.
10459 (FE_INVALID_SOFTWARE): Likewise.
10460 (FE_INVALID_SQRT): Likewise.
10461 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10462 (FE_TONEAREST): Likewise.
10463 (FE_TOWARDZERO): Likewise.
10464 (FE_UPWARD): Likewise.
10465 (FE_DOWNWARD): Likewise.
10466 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10467 (FE_DIVBYZERO): Likewise.
10468 (FE_OVERFLOW): Likewise.
10469 (FE_UNDERFLOW): Likewise.
10470 (FE_INEXACT): Likewise.
10471 (FE_TONEAREST): Likewise.
10472 (FE_DOWNWARD): Likewise.
10473 (FE_UPWARD): Likewise.
10474 (FE_TOWARDZERO): Likewise.
10475 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10476 (FE_UNDERFLOW): Likewise.
10477 (FE_OVERFLOW): Likewise.
10478 (FE_DIVBYZERO): Likewise.
10479 (FE_INVALID): Likewise.
10480 (FE_TONEAREST): Likewise.
10481 (FE_TOWARDZERO): Likewise.
10482 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10483 (FE_OVERFLOW): Likewise.
10484 (FE_UNDERFLOW): Likewise.
10485 (FE_DIVBYZERO): Likewise.
10486 (FE_INEXACT): Likewise.
10487 (FE_TONEAREST): Likewise.
10488 (FE_TOWARDZERO): Likewise.
10489 (FE_UPWARD): Likewise.
10490 (FE_DOWNWARD): Likewise.
10491 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10492 (FE_DIVBYZERO): Likewise.
10493 (FE_OVERFLOW): Likewise.
10494 (FE_UNDERFLOW): Likewise.
10495 (FE_INEXACT): Likewise.
10496 (FE_TONEAREST): Likewise.
10497 (FE_DOWNWARD): Likewise.
10498 (FE_UPWARD): Likewise.
10499 (FE_TOWARDZERO): Likewise.
10500
105ca950
CM
105012012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10502
10503 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10504
a542b389
AS
105052012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10506
10507 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10508 commands. Quote $PWD.
10509 (blacklist_exports): Don't use remove_newlines. Replace "declare
10510 -x" by "export".
10511 (remove_newlines): Remove.
10512
f62c8abc
L
105132012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10514
10515 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10516 * stdlib/stdlib.h (atof): Moved to ...
10517 * include/bits/stdlib-float.h: Here. New file.
10518 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10519 * stdlib/bits/stdlib-float.h: New file.
10520 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10521 -mno-sse -mno-mmx.
10522 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10523 <xmmintrin.h>.
10524
0155d5b2
JM
105252012-11-02 Joseph Myers <joseph@codesourcery.com>
10526
a68d0680
JM
10527 * conform/conformtest.pl (@headers): Add fenv.h.
10528 * conform/data/fenv.h-data: New file.
10529 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10530 include of <math/fenv.h>.
10531
caf7f573
JM
10532 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10533 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10534 && !UNIX98]. Enables tests for XOPEN2K8.
10535 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10536 POSIX2008]: Likewise.
10537
6c073ad6
JM
10538 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10539 (struct rusage): Do not expect type or its members.
10540
0155d5b2
JM
10541 [BZ #3439]
10542 * math/math.h (FP_NAN): Define macro to integer constant usable in
10543 #if and use that to give value to enum constant.
10544 (FP_INFINITE): Likewise.
10545 (FP_ZERO): Likewise.
10546 (FP_SUBNORMAL): Likewise.
10547 (FP_NORMAL): Likewise.
10548
b5dcacb4
AS
105492012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10550
10551 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10552 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10553 arguments.
10554
f7934be8
RM
105552012-11-02 Roland McGrath <roland@hack.frob.com>
10556
10557 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10558 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10559 autoconf-time if not.
10560 * configure.in: Remove AC_PREREQ.
10561
d7d08bde
TMQMF
105622012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10563
10564 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10565 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10566 of the internal implementation.
10567
dcdae19a
JM
105682012-11-02 Joseph Myers <joseph@codesourcery.com>
10569
10570 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10571 except include of <misc/sys/syslog.h>.
10572
d6cffd3e
AS
105732012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10574
10575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10576 function returns with a NULL context exit with zero.
10577
b3563932
TMQMF
105782012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10579
10580 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10581
b288a93d
L
105822012-11-01 H.J. Lu <hongjiu.lu@intel.com>
10583
10584 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10585 (run_program_cmd): This.
10586 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10587 (tst_langinfo): New variable. Use it.
10588
a2421a68
SAS
105892012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
10590
10591 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10592 floating point opcodes.
10593
6f796e1b
TS
105942012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10595
7402596b
TS
10596 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10597 variable.
10598
d0d4f868
TS
10599 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10600
6f796e1b
TS
10601 * sysdeps/mach/hurd/powerpc: Remove directory.
10602 * sysdeps/mach/powerpc: Likewise.
10603
4da224a2
AS
106042012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10605
10606 * scripts/check-local-headers.sh: Ignore c++ headers.
10607
341dd673
TS
106082012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10609
10610 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10611 __libc_cleanup_region_start argument.
10612
473611b2
JM
106132012-11-01 Joseph Myers <joseph@codesourcery.com>
10614
10615 [BZ #14784]
10616 [BZ #14785]
10617 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10618 x * y using scaling, not as x * y + z.
10619 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10620 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10621 * math/libm-test.inc (fma_test): Add more tests.
10622 (fma_test_towardzero): Likewise.
10623 (fma_test_downward): Likewise.
10624 (fma_test_upward): Likewise.
10625
4078da3d
TS
106262012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10627
10628 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10629
903252aa
JM
106302012-10-31 Joseph Myers <joseph@codesourcery.com>
10631
10632 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10633 New variable.
10634
cbc818d0
TS
106352012-10-31 Thomas Schwinge <thomas@codesourcery.com>
10636
10637 * rt/tst-shm.c (worker): Correct checking for mmap failure.
10638
5a03cb1e
AS
106392012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10640
10641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10642 Fix sort order.
10643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10644 Likewise.
10645
90aff2ff
TMQMF
106462012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10647
10648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10649 Fix the order of the list for glibc 2.17.
10650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10651 Likewise.
10652
1818fcb7
AS
106532012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10654
10655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10656
ef82f4da
JM
106572012-10-31 Joseph Myers <joseph@codesourcery.com>
10658
16a0e2ec
JM
10659 [BZ #14610]
10660 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10661 for low part of x being zero before using __atanl (y).
10662 * math/libm-test.inc (atan2_test): Add another test.
10663
0eb69512
JM
10664 * manual/install.texi (Configuring and compiling): Document
10665 general use of test-wrapper and test-wrapper-env.
10666 * INSTALL: Regenerated.
10667
ef82f4da
JM
10668 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10669 (__fma): Do not extract and scale down low bits on after-rounding
10670 systems when result rounded to normal precision would have normal
10671 exponent.
10672 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10673 (__fmal): Do not extract and scale down low bits on after-rounding
10674 systems when result rounded to normal precision would have normal
10675 exponent.
10676 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10677 (__fmal): Do not extract and scale down low bits on after-rounding
10678 systems when result rounded to normal precision would have normal
10679 exponent.
10680 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10681 macro.
10682 (fma_test): Add more tests.
10683 (fma_test_towardzero): Likewise.
10684 (fma_test_downward): Likewise.
10685 (fma_test_upward): Likewise.
10686
954ef0d9
L
106872012-10-30 H.J. Lu <hongjiu.lu@intel.com>
10688
10689 * sysdeps/i386/tininess.h: Renamed to ...
10690 * sysdeps/x86/tininess.h: This.
10691 * sysdeps/x86_64/tininess.h: Removed.
10692
df61ffb2
JM
106932012-10-30 Joseph Myers <joseph@codesourcery.com>
10694
10695 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10696 input. Use $(build-program-cmd).
10697 ($(objpfx)tst-array1-static.out): Likewise.
10698 ($(objpfx)tst-array2.out): Likewise.
10699 ($(objpfx)tst-array3.out): Likewise.
10700 ($(objpfx)tst-array4.out): Likewise.
10701 ($(objpfx)tst-array5.out): Likewise.
10702 ($(objpfx)tst-array5-static.out): Likewise.
10703
01767843
CM
107042012-10-30 Chris Metcalf <cmetcalf@tilera.com>
10705
47cc1490
CM
10706 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10707 if defined.
10708
01767843
CM
10709 * nss/nsswitch.h (nss_interface_function): Provide new
10710 macro for use with NSS functions.
10711 * grp/initgroups.c: Use new macro.
10712 * nss/getXXbyYY.c: Likewise.
10713 * nss/getXXbyYY_r.c: Likewise.
10714 * nss/getXXent.c: Likewise.
10715 * nss/getXXent_r.c: Likewise.
10716 * sysdeps/posix/getaddrinfo.c: Likewise.
10717
8321aa97
AJ
107182012-10-30 Andreas Jaeger <aj@suse.de>
10719
10720 * po/ru.po: Update Russion translation from translation project.
10721
2a27fd6d
JM
107222012-10-30 Joseph Myers <joseph@codesourcery.com>
10723
8627a232
JM
10724 [BZ #14152]
10725 [BZ #14783]
10726 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10727 result and shift together with sticky bit instead of replicating
10728 round-to-nearest rounding.
10729 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10730 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10731 * math/libm-test.inc (fma_test): Add more tests. Do not permit
10732 missing underflow exceptions.
10733 (fma_test_towardzero): Add more tests.
10734 (fma_test_downward): Likewise.
10735 (fma_test_upward): Likewise.
10736
2a27fd6d
JM
10737 [BZ #14047]
10738 * sysdeps/generic/tininess.h: New file.
10739 * sysdeps/i386/tininess.h: Likewise.
10740 * sysdeps/sh/tininess.h: Likewise.
10741 * sysdeps/x86_64/tininess.h: Likewise.
10742 * stdlib/tst-strtod-underflow.c: Likewise.
10743 * stdlib/tst-tininess.c: Likewise.
10744 * stdlib/strtod_l.c: Include <tininess.h>.
10745 (round_and_return): Do not set errno for exact underflow cases.
10746 Force an underflow exception when setting errno for underflow.
10747 Determine underflow based on rounding to normal precision if
10748 TININESS_AFTER_ROUNDING.
10749 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10750 ERANGE for exact underflow cases.
10751 * stdlib/Makefile (tests): Add tst-tininess and
10752 tst-strtod-underflow.
10753 ($(objpfx)tst-tininess): Use $(link-libm).
10754 ($(objpfx)tst-strtod-underflow): Likewise.
10755
e7170363
AJ
107562012-10-30 Andreas Jaeger <aj@suse.de>
10757
e5088dc6
AJ
10758 [BZ#14767]
10759 * elf/Makefile (tests): Remove conditional for have-initfini-array
10760 since this is now always required and the variable does not exist
10761 anymore.
10762 (tests-static): Likewise.
10763 (modules-names): Likewise.
10764
e7170363 10765 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
10766
10767 * elf/tst-array1.c (fini_array): Make writeable so that it can be
10768 merged with constructor/destructor.
10769 (init_array): Likewise.
10770 * elf/tst-array2dep.c (fini_array): Likewise.
10771 (init_array): Likewise.
10772
60457d8a
MF
107732012-10-29 Mike Frysinger <vapier@gentoo.org>
10774
10775 * manual/message.texi: Delete @cartouche tags.
10776
8bece752
PT
107772012-10-29 Pino Toscano <toscano.pino@tiscali.it>
10778
94ce799f
PT
10779 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10780 EOPNOTSUPP.
10781 * sysdeps/mach/hurd/fsync.c: Likewise.
10782
8bece752
PT
10783 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10784 [_POSIX_REALTIME_SIGNALS]: Change condition to
10785 [_POSIX_REALTIME_SIGNALS > 0].
10786
86ebe6b1
AJ
107872012-10-27 Andreas Jaeger <aj@suse.de>
10788
10789 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10790 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10791 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10792 [__WORDSIZE != 64]: Likewise.
10793
54399c08
L
107942012-10-26 H.J. Lu <hongjiu.lu@intel.com>
10795
10796 * iconvdata/tst-table.sh: Remove ${SHELL}.
10797 * iconvdata/tst-tables.sh: Likewise.
10798
e2211bed
DM
107992012-10-25 David S. Miller <davem@davemloft.net>
10800
10801 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10802 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10803 of strtoull.
10804
f303f97c
DM
10805 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10806 ifunc-impl-list.c
10807 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10808 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10809 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10810 file.
10811
1e9d84cd
RM
108122012-10-25 Roland McGrath <roland@hack.frob.com>
10813
10814 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10815 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10816 __getdirentries.
10817
df381762
JM
108182012-10-25 Joseph Myers <joseph@codesourcery.com>
10819 Jim Blandy <jimb@codesourcery.com>
10820
10821 * scripts/cross-test-ssh.sh: New file.
10822 * manual/install.texi (Configuring and compiling): Document use of
10823 cross-test-ssh.sh.
10824 * INSTALL: Regenerated.
10825
bff64913
PT
108262012-10-25 Pino Toscano <toscano.pino@tiscali.it>
10827
10828 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
10829 EOPNOTSUPP.
10830
25fe8932
JM
108312012-10-25 Joseph Myers <joseph@codesourcery.com>
10832
10833 * Makeconfig (run-program-prefix): Fix comment.
10834
cc1290d0
JM
108352012-10-24 Joseph Myers <joseph@codesourcery.com>
10836 Jim Blandy <jimb@codesourcery.com>
10837
10838 * Makeconfig (test-wrapper): New variable,
10839 (test-wrapper-env): Likewise.
10840 [$(cross-compiling) = yes && $(test-wrapper) != ""]
10841 (run-built-tests): Define to yes.
10842 (run-program-prefix): Use $(test-wrapper).
10843 (built-program-cmd): Likewise.
10844 * Rules (make-test-out): Use $(test-wrapper-env) and
10845 $(host-built-program-cmd).
10846 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
10847 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
10848 tst-pathopt.sh.
10849 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
10850 $(test-wrapper-env) to tst-rtld-load-self.sh.
10851 ($(objpfx)order2.out): Use $(test-wrapper).
10852 ($(objpfx)tst-initorder.out): Likewise.
10853 ($(objpfx)tst-initorder2.out): Likewise.
10854 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
10855 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
10856 (test_wrapper_env): New variable. Use it to run ld.so.
10857 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
10858 Use it to run ld.so.
10859 (test_wrapper_env): Likewise.
10860 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
10861 $(test-wrapper) to run-iconv-test.sh.
10862 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
10863 (ICONV): Use $test_wrapper.
10864 * posix/Makefile ($(objpfx)globtest.out): Pass
10865 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
10866 globtest.sh, not $(run-program-prefix).
10867 * posix/globtest.sh (run_via_rtld_prefix): New variable.
10868 (test_wrapper): Likewise.
10869 (test_wrapper_env): Likewise. Use it to run globtest with HOME
10870 set together with run_via_rtld_prefix.
10871 (run_program_prefix): Define in terms of test_wrapper and
10872 run_via_rtld_prefix.
10873
6e6249d0
RM
108742012-10-24 Roland McGrath <roland@hack.frob.com>
10875
10876 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
10877 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
10878 Targets removed.
10879
10880 [BZ #14743]
10881 * include/time.h: Remove librt_hidden_proto (clock_gettime).
10882 Declare __clock_getres, __clock_gettime, __clock_settime,
10883 __clock_nanosleep, and __clock_getcpuclockid.
10884 * rt/clock_gettime.c: Define __clock_gettime as an alias.
10885 Remove librt_hidden_def (clock_gettime).
10886 * sysdeps/unix/clock_gettime.c: Likewise.
10887 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
10888 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10889 * rt/clock_getres.c: Define __clock_getres as an alias.
10890 * sysdeps/posix/clock_getres.c: Likewise.
10891 * rt/clock_settime.c: Define __clock_settime as an alias.
10892 * sysdeps/unix/clock_settime.c: Likewise.
10893 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
10894 * sysdeps/unix/clock_nanosleep.c: Likewise.
10895 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10896 * rt/clock-compat.c: New file.
10897 * rt/Makefile (librt-routines): Add clock-compat and move
10898 $(clock-routines) to ...
10899 (routines): ... here, new variable.
10900 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
10901 Don't add get_clockfreq here.
10902 * rt/Versions (libc: GLIBC_2.17): New version set.
10903 Add clock_* symbols here.
10904 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
10905 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
10906 (GLIBC_2.17): Add clock_* symbols.
10907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10908 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10909 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10911 Likewise.
10912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10913 Likewise.
10914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10918 * NEWS: Mention the move.
10919
10920 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10921 Use __open, __read, __close rather than their public counterparts.
10922 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10923 (__get_clockfreq_via_cpuinfo): Likewise.
10924 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
10925 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
10926
10927 * config.h.in (HAVE_IFUNC): New #undef.
10928 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
10929 was successful.
10930 * configure: Regenerated.
10931
0cae3f4b
MF
109322012-10-24 Mike Frysinger <vapier@gentoo.org>
10933
10934 * configure.in: Move READELF check to start of file.
10935 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
10936 libc_cv_asm_gnu_indirect_function in the process.
10937 * configure: Regenerated.
10938
8175a253
MF
109392012-10-24 Mike Frysinger <vapier@gentoo.org>
10940
10941 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
10942 send the output to /dev/null.
10943 (libc_cv_cc_with_libunwind): Likewise.
10944 (libc_cv_as_noexecstack): Likewise.
10945 * configure: Regenerate.
10946
0708a7d1
JM
109472012-10-24 Joseph Myers <joseph@codesourcery.com>
10948
10b40d85
JM
10949 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
10950
0708a7d1
JM
10951 * posix/globtest.sh (TMPDIR): Do not set.
10952 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
10953 (testout): Likewise.
10954
9fddec1a
AJ
109552012-10-24 Andreas Jaeger <aj@suse.de>
10956
3a8db22f
AJ
10957 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
10958 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
10959 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
10960 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
10961 posix_fadvise64, posix_fallocate64.
10962
9fddec1a
AJ
10963 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
10964 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
10965 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
10966 Likewise.
10967 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
10968 Likewise.
10969 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
10970
10971 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
10972 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
10973 <bits/fcntl-linux.h>.
10974 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
10975
10976 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
10977 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
10978 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
10979 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
10980 [__WORDSIZE != 64]: Likewise.
10981
ebfd1bbd
JM
109822012-10-23 Joseph Myers <joseph@codesourcery.com>
10983
03ac099f
JM
10984 * Makeconfig (run-built-tests): New variable.
10985 * Rules [$(cross-compiling) = yes]: Change condition to
10986 [$(run-built-tests) = no].
10987 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
10988 to [$(run-built-tests) = yes].
10989 * elf/Makefile [$(cross-compiling) = no]: Likewise
10990 * grp/Makefile [$(cross-compiling) = no]: Likewise.
10991 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
10992 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
10993 * intl/Makefile [$(cross-compiling) = no]: Likewise.
10994 * io/Makefile [$(cross-compiling) = no]: Likewise.
10995 * libio/Makefile [$(cross-compiling) = no]: Likewise.
10996 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
10997 * misc/Makefile [$(cross-compiling) = no]: Likewise.
10998 * posix/Makefile [$(cross-compiling) = no]: Likewise.
10999 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11000 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11001 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11002 * string/Makefile [$(cross-compiling) = no]: Likewise.
11003
ebfd1bbd
JM
11004 * posix/Makefile ($(objpfx)globtest.out): Pass
11005 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11006 $(rtld-installed-name).
11007 * posix/globtest.sh (elf_objpfx): Remove variable.
11008 (rtld_installed_name): Likewise.
11009 (library_path): Likewise.
11010 (run_program_prefix): New variable. Use for running globtest
11011 binary.
11012
166bca24
JB
110132012-10-23 Jim Blandy <jimb@codesourcery.com>
11014 Joseph Myers <joseph@codesourcery.com>
11015
11016 * Makeconfig (host-built-program-cmd): New variable.
11017 * elf/Makefile (tst-stackguard1-ARGS): Use
11018 $(host-built-program-cmd).
11019 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11020 (tst-spawn-ARGS): Likewise.
11021 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11022
88866099
JM
110232012-10-23 Joseph Myers <joseph@codesourcery.com>
11024 Jim Blandy <jimb@codesourcery.com>
11025
11026 * Makeconfig (run-via-rtld-prefix): New variable.
11027 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11028 (built-program-cmd): Likewise.
11029
b4b4c296
AJ
110302012-10-22 Andreas Jaeger <aj@suse.de>
11031
11032 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11033 __O_RSYNC if it exists, otherwise to O_SYNC.
11034
6fb54a22
JB
110352012-10-22 Jim Blandy <jimb@codesourcery.com>
11036 Joseph Myers <joseph@codesourcery.com>
11037
11038 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11039 /dev/null.
11040 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11041 from /dev/null
11042 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11043 /dev/null.
11044
481b90b9
AJ
110452012-10-22 Andreas Jaeger <aj@suse.de>
11046
2a0e2669
AJ
11047 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11048 Define always.
11049 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11050
76e38f9a
AJ
11051 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11052 bits/fcntl-linux.h.
11053
7cd37b43
AJ
11054 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11055 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11056
481b90b9
AJ
11057 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11058 to __O_LARGEFILE.
11059 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11060 to __O_LARGEFILE.
11061
aba75984
JB
110622012-10-21 Jim Blandy <jimb@codesourcery.com>
11063 Joseph Myers <joseph@codesourcery.com>
11064
11065 * config.make.in (NM): New variable.
11066
88d4247f
AJ
110672012-10-21 Andreas Jaeger <aj@suse.de>
11068
11069 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11070 definitions and declarations that are provided by
11071 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11072
f2eed205
L
110732012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11074
11075 [BZ #14683]
11076 * elf/Makefile (tests-static): Add tst-leaks1-static.
11077 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11078 ($(objpfx)tst-leaks1-static): New rule.
11079 ($(objpfx)tst-leaks1-static-mem): Likewise.
11080 (tst-leaks1-static-ENV): New macro.
11081 * elf/dl-open.c (dl_open_worker): Check the main application
11082 only if SHARED is defined.
11083 * elf/tst-leaks1-static.c: New file.
11084
335e6931
AJ
110852012-10-20 Andreas Jaeger <aj@suse.de>
11086
11087 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11088 generic values for Linux.
11089 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11090 and declarations that are provided by <bits/fcntl-linux.h> and
11091 include <bits/fcntl-linux.h>.
11092 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11093 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11094
ac5c94d3
RM
110952012-10-20 Roland McGrath <roland@hack.frob.com>
11096
11097 * io/fcntl.h: Move include of <bits/types.h> to the top and
11098 include it unconditionally.
11099
de54b33a
L
111002012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11101
228cfb01
L
11102 * wcsmbs/Makefile (tests-ifunc): New variable.
11103 (tests): Add $(tests-ifunc).
11104 * wcsmbs/test-wcschr-ifunc.c: New file.
11105 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11106 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11107 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11108 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11109 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11110
69f07e5f
L
11111 * string/Makefile (tests-ifunc): New variable.
11112 (tests): Add $(tests-ifunc).
11113 * string/test-memccpy.c (TEST_NAME): New macro.
11114 * string/test-memchr.c (TEST_NAME): Likewise.
11115 * string/test-memcmp.c (TEST_NAME): Likewise.
11116 * string/test-memcpy.c (TEST_NAME): Likewise.
11117 * string/test-memmem.c (TEST_NAME): Likewise.
11118 * string/test-memmove.c (TEST_NAME): Likewise.
11119 * string/test-memset.c (TEST_NAME): Likewise.
11120 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11121 * string/test-stpcpy.c (TEST_NAME): Likewise.
11122 * string/test-stpncpy.c (TEST_NAME): Likewise.
11123 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11124 * string/test-strcasestr.c (TEST_NAME): Likewise.
11125 * string/test-strcat.c (TEST_NAME): Likewise.
11126 * string/test-strchr.c (TEST_NAME): Likewise.
11127 * string/test-strcmp.c(TEST_NAME): Likewise.
11128 * string/test-strcpy.c (TEST_NAME): Likewise.
11129 * string/test-strcspn.c (TEST_NAME): Likewise.
11130 * string/test-strlen.c (TEST_NAME): Likewise.
11131 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11132 * string/test-strncmp.c (TEST_NAME): Likewise.
11133 * string/test-strncpy.c (TEST_NAME): Likewise.
11134 * string/test-strnlen.c (TEST_NAME): Likewise.
11135 * string/test-strpbrk.c (TEST_NAME): Likewise.
11136 * string/test-strrchr.c (TEST_NAME): Likewise.
11137 * string/test-strspn.c (TEST_NAME): Likewise.
11138 * string/test-strstr.c (TEST_NAME): Likewise.
11139 * string/test-bcopy-ifunc.c: New file.
11140 * string/test-bzero-ifunc.c: Likewise.
11141 * string/test-memccpy-ifunc.c: Likewise.
11142 * string/test-memchr-ifunc.c: Likewise.
11143 * string/test-memcmp-ifunc.c: Likewise.
11144 * string/test-memcpy-ifunc.c: Likewise.
11145 * string/test-memmem-ifunc.c: Likewise.
11146 * string/test-memmove-ifunc.c: Likewise.
11147 * string/test-mempcpy-ifunc.c: Likewise.
11148 * string/test-memset-ifunc.c: Likewise.
11149 * string/test-rawmemchr-ifunc.c: Likewise.
11150 * string/test-stpcpy-ifunc.c: Likewise.
11151 * string/test-stpncpy-ifunc.c: Likewise.
11152 * string/test-strcasecmp-ifunc.c: Likewise.
11153 * string/test-strcasestr-ifunc.c: Likewise.
11154 * string/test-strcat-ifunc.c: Likewise.
11155 * string/test-strchr-ifunc.c: Likewise.
11156 * string/test-strchrnul-ifunc.c: Likewise.
11157 * string/test-strcmp-ifunc.c: Likewise.
11158 * string/test-strcpy-ifunc.c: Likewise.
11159 * string/test-strcspn-ifunc.c: Likewise.
11160 * string/test-strlen-ifunc.c: Likewise.
11161 * string/test-strncasecmp-ifunc.c: Likewise.
11162 * string/test-strncat-ifunc.c: Likewise.
11163 * string/test-strncmp-ifunc.c: Likewise.
11164 * string/test-strncpy-ifunc.c: Likewise.
11165 * string/test-strnlen-ifunc.c: Likewise.
11166 * string/test-strpbrk-ifunc.c: Likewise.
11167 * string/test-strrchr-ifunc.c: Likewise.
11168 * string/test-strspn-ifunc.c: Likewise.
11169 * string/test-strstr-ifunc.c: Likewise.
11170
de54b33a
L
11171 * debug/Makefile (tests-ifunc): New variable.
11172 (tests): Add $(tests-ifunc).
11173 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11174 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11175 * debug/test-stpcpy_chk-ifunc.c: New file.
11176 * debug/test-strcpy_chk-ifunc.c: Likewise.
11177
88481c16
SP
111782012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11179
11180 [BZ #13601]
11181 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11182 header is not read in.
11183
135948bd
JM
111842012-10-19 Joseph Myers <joseph@codesourcery.com>
11185
89f1c388
JM
11186 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11187 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11188 directly. Pass built executable to script as
11189 $(built-program-cmd).
11190 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11191 $testprogram without using LD_LIBRARY_PATH and $ldso.
11192
e40a0d21
JM
11193 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11194 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11195 $(rtld-installed-name).
11196 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11197 (rtld_installed_name): Likewise.
11198 (library_path): Likewise.
11199 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11200 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11201 $(run-program-prefix) to tst-tables.sh.
11202 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11203 it to run tst-table-from and tst-table-to.
11204 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11205 Pass it to tst-table.sh.
11206 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11207 $(run-program-prefix) to tst-gettext.sh.
11208 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11209 tst-translit.sh.
11210 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11211 tst-gettext2.sh.
11212 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11213 to run tst-gettext.
11214 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11215 to run tst-gettext2.
11216 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11217 to run tst-translit.
11218 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11219 $(run-program-prefix) to tst-mtrace.sh.
11220 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11221 to run tst-mtrace.
11222 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11223 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11224 $(rtld-installed-name).
11225 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11226 (rtld_installed_name): Likewise.
11227 (run_program_prefix): New variable. Use it to run wordexp-test.
11228
728e272a
JM
11229 * Makeconfig (ARCH): Remove all definitions.
11230 (machine): Likewise.
11231 [ARCH]: Remove conditional code.
11232 [!objdir]: Give error.
11233 [!objdir] (objpfx): Remove.
11234 [!objdir] (common-objpfx): Likewise.
11235 [!objdir] (common-objdir): Likewise.
11236 * configure.in (config_makefile): Remove. Hardcode Makefile in
11237 AC_CONFIG_FILES call.
11238 * configure: Regenerated.
11239
d528cdcf
JM
11240 [BZ #13888]
11241 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11242 or TMPDIR.
11243 (testout): Likewise.
11244
135948bd
JM
11245 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11246 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11247 $(rtld-installed-name).
11248 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11249 (rtld_installed_name): Likwise.
11250 (runit): Remove function.
11251 (run_getconf): New variable, Use it for running getconf binary.
11252
38c78296
L
112532012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11254
11255 [BZ #14716]
11256 * string/test-memmem.c (check_result): New function.
11257 (do_one_test): Use it.
11258 (check1): New function.
11259 (test_main): Use it.
11260
d077f65f
MT
112612012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11262
11263 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11264
ced52c71
JM
112652012-10-18 Joseph Myers <joseph@codesourcery.com>
11266
11267 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11268 (_G_LSEEK64): Likewise.
11269 (_G_MMAP64): Likewise.
11270 (_G_FSTAT64): Likewise.
11271 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11272 (_G_LSEEK64): Likewise.
11273 (_G_MMAP64): Likewise.
11274 (_G_FSTAT64): Likewise.
11275 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11276 unconditional. Call __mmap64 directly.
11277 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11278 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11279 __lseek64 directly.
11280 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11281 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11282 __mmap64 directly.
11283 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11284 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11285 __lseek64 directly.
11286 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11287 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11288 __lseek64 directly.
11289 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11290 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11291 __lseek64 directly.
11292 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11293 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11294 __fxstat64 directly.
11295 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11296 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11297 unconditional.
11298 (freopen64) [!_G_OPEN64]: Remove conditional code.
11299 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11300 unconditional.
11301 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11302 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11303 unconditional.
11304 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11305 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11306 unconditional.
11307 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11308 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11309 unconditional.
11310 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11311 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11312 unconditional.
11313 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11314 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11315 unconditional.
11316 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11317 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11318 unconditional.
11319 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11320
b741de23
SP
113212012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11322
11323 [BZ #12140]
11324 * manual/memory.texi (Malloc Tunable Parameters): Add note
11325 about free list pointers overwriting some perturb bytes.
11326 Wording suggested by Roland McGrath.
11327
f9b9d9c9
JM
113282012-10-17 Joseph Myers <joseph@codesourcery.com>
11329
11330 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11331 (lgamma_test): Likewise.
11332 (tgamma_test): Likewise.
11333
172a631a
FW
113342012-10-16 Florian Weimer <fweimer@redhat.com>
11335
11336 [BZ #14700]
11337 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11338 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11339
e9f37252
MK
113402012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11341
11342 * NEWS: Mention BZ #14716.
11343 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11344 when removing AVAILABLE1_USES_J macro.
11345
d394eb74
L
113462012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11347
11348 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11349 (__bswap_64): __uint64_t for unsigned 64-bit int.
11350
ca38dc17
AS
113512012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11352
11353 * include/string.h (memmem): Declare libc hidden alias.
11354 * string/memmem.c (memmem): Define libc hidden alias.
11355 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11356 __read, __close instead of open, read, close.
11357
9a387d1f
L
113582012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11359
ac49ecaf
L
11360 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11361 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11362 global and hidden.
11363 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11364 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11365 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11366 Likewise.
11367 (__rawmemchr_sse2): Likewise.
11368 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11369 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11370 (__strchr_sse2): Likewise.
11371 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11372 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11373 (__strcasecmp_sse2): Likewise.
11374 (__strncasecmp_sse2): Likewise.
11375 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11376 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11377 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11378 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11379 (__strrchr_sse2): Likewise.
11380 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11381 ifunc-impl-list.c.
11382 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11383 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11384 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11385 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11386 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11387 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11388 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11389 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11390 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11391 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11392 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11393 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11394 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11395 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11396 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11397 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11398 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11399 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11400 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11401 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11402 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11403 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11404 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11405 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11406 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11407 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11408 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11409 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11410 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11411 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11412
b090e8ea
L
11413 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11414 global and hidden.
11415 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11416 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11417 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11418 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11419 Likewise.
11420 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11421 Likewise.
11422 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11423 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11424 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11425 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11426 ifunc-impl-list.c.
11427 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11428 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11429 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11430 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11431 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11432 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11433 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11434 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11435 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11436 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11437 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11438 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11439 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11440 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11441 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11442 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11443 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11444 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11445 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11446 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11447 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11448 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11449 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11450 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11451 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11452 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11453 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11454 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11455 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11456 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11457 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11458 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11459 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11460 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11461 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11462 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11463 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11464 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11465 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11466 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11467 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11468
11dd4af6
L
11469 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11470 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11471 * include/ifunc-impl-list.h: New file.
11472 * misc/ifunc-impl-list.c: Likewise.
11473 * misc/Makefile (routines): Add ifunc-impl-list.
11474 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11475 * string/test-string.h: Include <ifunc-impl-list.h>.
11476 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11477 impl_array): New variables.
11478 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11479 are defined.
11480 (test_init): Call __libc_ifunc_impl_list to initialize
11481 func_list if TEST_IFUNC and TEST_NAME are defined.
11482
9a387d1f
L
11483 * string/Makefile (strop-tests): Add bcopy and bzero.
11484 * string/test-bcopy.c: New file.
11485 * string/test-bzero.c: Likewise.
11486 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11487 defined.
11488 * string/test-memset.c: Support bzero test if TEST_BZERO is
11489 defined.
11490 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11491 __libc_memmove.
11492 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11493 __libc_memset.
11494 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11495 of memset.
11496
472371b9
JM
114972012-10-10 Joseph Myers <joseph@codesourcery.com>
11498
1e4a9536
JM
11499 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11500 * configure: Regenerated.
11501
d173d12e
JM
11502 * Makeconfig (+link-static-before-libc): Don't include
11503 $(link-static-libc).
11504
472371b9
JM
11505 * libio/libio.h (_IO_pos_t): Remove.
11506
89a3ad0b
AO
115072012-10-10 Alexandre Oliva <aoliva@redhat.com>
11508
11509 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11510 McGrath.
11511
e7451425
AO
115122012-10-10 Alexandre Oliva <aoliva@redhat.com>
11513
11514 * crypt/crypt-entry.c: Include fips-private.h.
11515 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11516 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11517 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11518 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11519
4ba74a35
AO
115202012-10-10 Alexandre Oliva <aoliva@redhat.com>
11521
11522 * crypt/crypt-private.h: Include stdbool.h.
11523 (_ufc_setup_salt_r): Return bool.
11524 * crypt/crypt-entry.c: Include errno.h.
11525 (__crypt_r): Return NULL with EINVAL for bad salt.
11526 * crypt/crypt_util.c (bad_for_salt): New.
11527 (_ufc_setup_salt_r): Check that salt is long enough and within
11528 the specified alphabet.
11529 * crypt/badsalttest.c: New file.
11530 * crypt/Makefile (tests): Add it.
11531 ($(objpfx)badsalttest): New.
11532
f96f1242
MK
115332012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11534
11535 * NEWS: Add entry for BZ #14602.
11536
0e8e0c1c
JM
115372012-10-09 Joseph Myers <joseph@codesourcery.com>
11538
11539 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11540 type-generic.
11541 * math/libm-test.inc: Update comment listing what functions and
11542 macros are tested.
11543 (isgreater_test): New function.
11544 (isgreaterequal_test): Likewise.
11545 (isless_test): Likewise.
11546 (islessequal_test): Likewise.
11547 (islessgreater_test): Likewise.
11548 (isunordered_test): Likewise.
11549 (main): Call the new functions.
11550
273edc5e
RM
115512012-10-09 Roland McGrath <roland@hack.frob.com>
11552
b8493de0
RM
11553 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11554 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11555 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11556 * sysdeps/i386/configure: Regenerated.
11557 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11558 * sysdeps/mach/configure: Regenerated.
11559 * sysdeps/mach/hurd/configure: Regenerated.
11560 * sysdeps/powerpc/configure: Regenerated.
11561 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11562 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11563 * sysdeps/s390/s390-32/configure: Regenerated.
11564 * sysdeps/s390/s390-64/configure: Regenerated.
11565 * sysdeps/sh/configure: Regenerated.
11566 * sysdeps/sparc/configure: Regenerated.
11567 * sysdeps/unix/sysv/linux/configure: Regenerated.
11568 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11569 * sysdeps/x86_64/configure: Regenerated.
11570
273edc5e
RM
11571 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11572 defined. Don't check if MAP is NULL.
11573
c8450f70
JM
115742012-10-09 Joseph Myers <joseph@codesourcery.com>
11575
11576 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11577 (_G_stat64): Likewise.
11578 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11579 (_G_stat64): Likewise.
11580 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11581 instead of struct _G_stat64.
11582 * libio/fileops.c (mmap_remap_check): Likewise.
11583 (decide_maybe_mmap): Likewise.
11584 (_IO_new_file_seekoff): Likewise.
11585 (_IO_file_stat): Likewise.
11586 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11587 _G_off64_t.
11588 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11589 instead of struct _G_stat64.
11590 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11591
57e605ba
MK
115922012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
11593
11594 [BZ #14602]
11595 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11596 Replace with ...
11597 (CHECK_EOL): New macro.
11598 (two_way_short_needle): Check beginning of haystack for EOL. Use
11599 CHECK_EOL.
11600 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11601 Replace with CHECK_EOL.
11602 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11603 Replace with CHECK_EOL.
11604
ef1bb361
JM
116052012-10-08 Joseph Myers <joseph@codesourcery.com>
11606
11607 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11608 type-generic.
11609 * math/libm-test.inc: Update comment listing what functions and
11610 macros are tested.
11611 (finite_test): New function.
11612 (isinf_test): Likewise.
11613 (isnan_test): Likewise.
11614 (fpclassify_test): Test subnormal input.
11615 (isfinite_test): Likewise.
11616 (isnormal_test): Likewise.
11617 (main): Call the new functions.
11618
55f11534
JN
116192012-10-08 Jonathan Nieder <jrnieder@gmail.com>
11620
11621 [BZ #14660]
11622 * Makerules (%.dynsym): Force C locale when running
11623 $(OBJDUMP) --dynamic-syms.
11624
1ab29350
AS
116252012-10-08 Andreas Schwab <schwab@linux-m68k.org>
11626
11627 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11628 <stdint.h>.
11629
f1ecb7ef
DM
116302012-10-06 David S. Miller <davem@davemloft.net>
11631
11632 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11633 upper 32-bits of the length value in %o2 since we use branch-on-register
11634 tests which consider the entire 64-bit register.
11635
5d41d91a
L
116362012-10-06 H.J. Lu <hongjiu.lu@intel.com>
11637
11638 * string/test-strstr.c (check2): Add a test for page boundary.
11639
3baddb72
DM
116402012-10-05 David S. Miller <davem@davemloft.net>
11641
11642 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11643 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11644 file.
11645 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11646 sysdep_routines.
11647 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11648 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11649 and bzero when HWCAP_SPARC_CRYPTO is present.
11650
9cee5585
L
116512012-10-05 H.J. Lu <hongjiu.lu@intel.com>
11652
d7e0dab9
L
11653 [BZ #14602]
11654 * string/test-strstr.c (check2): New function.
11655 (test_main): Call check2.
11656
03759f47
L
11657 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11658 and bug-strchr1.
11659 * string/bug-strcasestr1.c (do_test): Moved to ...
11660 * string/test-strcasestr.c (check1): Here. New function.
11661 (do_one_test): Break out result checking code into ...
11662 (check_result): This. New function.
11663 (do_one_test): Call check_result.
11664 (test_main): Call check1.
11665 * string/bug-strchr1.c (do_test): Moved to ...
11666 * string/test-strchr.c (check1): Here. New function.
11667 (do_one_test): Break out result checking code into ...
11668 (check_result): This. New function.
11669 (do_one_test): Call check_result.
11670 (test_main): Call check1.
11671 * string/bug-strstr1.c (main): Moved to ...
046f153e 11672 * string/test-strstr.c (check1): Here. New function.
03759f47
L
11673 (do_one_test): Break out result checking code into ...
11674 (check_result): This. New function.
11675 (do_one_test): Call check_result.
11676 (test_main): Call check1.
11677 * string/bug-strcasestr1.c: Removed.
11678 * string/bug-strchr1.c: Likewise.
11679 * string/bug-strstr1.c: Likewise.
11680
53cea63e
L
11681 * elf/Makefile (dl-routines): Add hwcaps.
11682 * elf/dl-support.c (_dl_important_hwcaps): Removed.
11683 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11684 (_dl_important_hwcaps): Moved to ...
11685 * elf/dl-hwcaps.c: Here. New file.
11686 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11687
9cee5585 11688 [BZ #14557]
bb859b06
L
11689 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11690 if IS_IN_rtld isn't defined.
11691
9cee5585
L
11692 * elf/dl-support.c (_dl_sysinfo_map): New.
11693 Include "get-dynamic-info.h" and "setup-vdso.h".
11694 (_dl_non_dynamic_init): Call setup_vdso.
11695 * elf/dynamic-link.h: Don't include <assert.h>.
11696 (elf_get_dynamic_info): Moved to ...
11697 * elf/get-dynamic-info.h: Here. New file.
11698 * elf/dynamic-link.h: Include "get-dynamic-info.h".
11699 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11700 * elf/setup-vdso.h: Here. New file.
11701 * elf/rtld.c: Include "setup-vdso.h".
11702 (dl_main): Call setup_vdso.
11703
23c31b76
JM
117042012-10-05 Joseph Myers <joseph@codesourcery.com>
11705
28234b07
JM
11706 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11707 creal in comment listing functions tested. List finite, isinf,
11708 isnan, isless, islessequal, isgreater, isgreaterequal,
11709 islessgreater, isunordered, lgamma_r and pow10 as functions and
11710 macros not tested. Mention which functions not tested are aliases
11711 for other functions. Fix typo. Note that signs of NaNs are not
11712 tested.
11713
23c31b76
JM
11714 * scripts/config.guess: Update from config.git.
11715 * scripts/config.sub: Likewise.
11716
9043e228
RM
117172012-10-04 Roland McGrath <roland@hack.frob.com>
11718
11719 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11720 * misc/madvise.c (madvise): Renamed to __madvise.
11721 Make madvise a weak alias.
11722 * include/sys/mman.h: Declare __madvise.
11723 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11724 * sysdeps/unix/syscalls.list
11725 (madvise): Make __madvise the strong name, and madvise a weak alias.
11726 * sysdeps/unix/sysv/linux/syscalls.list
11727 (madvise, mmap): Remove redundant entries.
11728 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11729 * malloc/malloc.c (mtrim): Likewise.
11730 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11731
f57f8055
RM
117322012-10-03 Roland McGrath <roland@hack.frob.com>
11733
11734 * sysdeps/mach/hurd/dl-cache.c: File removed.
11735 * config.h.in (USE_LDCONFIG): New #undef.
11736 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11737 * configure: Regenerated.
11738 * elf/Makefile (dl-routines): Add dl-cache only under
11739 [$(use-ldconfig) = yes].
11740 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11741 cache on [USE_LDCONFIG].
11742 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11743 [USE_LDCONFIG].
11744 * elf/rtld.c (dl_main): Likewise.
11745
5bb0c10a
PT
117462012-10-03 Pino Toscano <toscano.pino@tiscali.it>
11747
11748 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11749 _SC_LEVEL4_CACHE_LINESIZE.
11750
010188c6
RM
117512012-10-03 Roland McGrath <roland@hack.frob.com>
11752
11753 * sysdeps/unix/bsd/confstr.h: File removed.
11754
b6c5ec07
AO
117552012-10-02 Alexandre Oliva <aoliva@redhat.com>
11756
11757 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11758 sys/sdt-config.h.
11759
408223d4
RM
117602012-10-02 Roland McGrath <roland@hack.frob.com>
11761
11762 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11763 Make 'mapoff' field ElfW(Off) rather than off_t.
11764
bb9510dc
DL
117652012-10-02 Dmitry V. Levin <ldv@altlinux.org>
11766
fc997c6e
DL
11767 * nscd/Makefile: Remove nscd-cflags and all its users.
11768 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11769 (CFLAGS-nonlib): Add compiler flags for nscd modules.
11770
bb9510dc
DL
11771 [BZ #10631]
11772 * malloc.c (malloc_printerr): Clarify error message.
11773
05699367
L
117742012-10-02 H.J. Lu <hongjiu.lu@intel.com>
11775
11776 [BZ #14648]
11777 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11778 Set bit_FMA_Usable if FMA is supported.
11779 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11780 macro.
11781 (bit_FMA4_Usable): Updated.
11782 (index_FMA_Usable): New macro.
11783 (CPUID_FMA): Likewise
11784 (HAS_FMA): Defined with bit_FMA_Usable.
11785
51367701
RM
117862012-10-01 Roland McGrath <roland@hack.frob.com>
11787
11788 * bits/types.h (__swblk_t): Type removed.
11789 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11790 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11791 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11792 (__SWBLK_T_TYPE): Likewise.
11793 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11794 (__SWBLK_T_TYPE): Likewise.
11795 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11796 (__SWBLK_T_TYPE): Likewise.
11797 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11798 (__SWBLK_T_TYPE): Likewise.
11799
4d57bf63 118002012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 11801 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
11802
11803 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11804 (xdr_mapname): Use YPMAXMAP as maxsize.
11805 (xdr_peername): Use YPMAXPEER as maxsize.
11806 (xdr_keydat): Use YPAXRECORD as maxsize.
11807 (xdr_valdat): Use YPMAXRECORD as maxsize.
11808
93c65d43
RM
118092012-10-01 Roland McGrath <roland@hack.frob.com>
11810
497a03d6
RM
11811 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11812
93c65d43
RM
11813 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11814 * csu/init-first.c: ... here.
11815 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11816 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11817 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11818 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11819 * sysdeps/i386/init-first.c: File removed.
11820 * sysdeps/sh/init-first.c: File removed.
11821
bec749fd
JM
118222012-10-01 Joseph Myers <joseph@codesourcery.com>
11823
11824 [BZ #14645]
11825 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11826 if x * y might underflow to zero and z is zero.
11827 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11828 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11829 * math/libm-test.inc (min_subnorm_value): New variable.
11830 (fma_test): Add more tests.
11831 (fma_test_towardzero): Likewise.
11832 (fma_test_downward): Likewise
11833 (fma_test_upward): Likewise.
11834 (initialize): Set min_subnorm_value.
11835
8ec5b013
JM
118362012-09-29 Joseph Myers <joseph@codesourcery.com>
11837
11838 [BZ #14638]
11839 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
11840 0 + 0.
11841 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
11842 mode for addition resulting in exact zero.
11843 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
11844 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
11845 exact 0 + 0.
11846 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11847 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11848 * math/libm-test.inc (fma_test): Add more tests.
11849 (fma_test_towardzero): New function.
11850 (fma_test_downward): Likewise.
11851 (fma_test_upward): Likewise.
11852 (main): Call the new functions.
11853
b1fa802e
DM
118542012-09-28 David S. Miller <davem@davemloft.net>
11855
11856 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
11857
d3b9fd9e
RM
118582012-09-28 Roland McGrath <roland@hack.frob.com>
11859
ea4d37b3
RM
11860 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
11861 instead of SIGALRM.
11862
ac51c949
RM
11863 * sysdeps/gnu/_G_config.h: Moved to ...
11864 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
11865 * sysdeps/mach/hurd/_G_config.h: Moved to ...
11866 * sysdeps/generic/_G_config.h: ... here.
11867
28c195f7
RM
11868 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
11869
848917f9
RM
11870 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
11871
6bacf05b
RM
11872 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
11873 Conditionalize target on [libnss_test1.so-version].
11874
91363dbb
RM
11875 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
11876
cc87f7d8
RM
11877 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
11878 (elfobjdir): Move out of conditionals.
11879
b1c608fe
RM
11880 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
11881 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
11882 (__nss_lookup_function): Conditionalize label remove_from_tree on
11883 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 11884
1d9a6d96
DM
118852012-09-28 David S. Miller <davem@davemloft.net>
11886
11887 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
11888 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
11889 file.
11890 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11891 sysdep_routines.
11892 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11893 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
11894 when HWCAP_SPARC_CRYPTO is present.
11895
72581615
PT
118962012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11897
11898 * io/tst-mknodat.c: Create a FIFO instead of a socket.
11899
715a900c
JL
119002012-09-28 Andreas Schwab <schwab@linux-m68k.org>
11901
11902 [BZ #6530]
11903 * stdio-common/vfprintf.c (process_string_arg): Revert
11904 2000-07-22 change.
11905
119062011-09-28 Jonathan Nieder <jrnieder@gmail.com>
11907
11908 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
11909 for testcase.
11910 * stdio-common/tst-sprintf.c: Include <locale.h>
11911 (main): Test sprintf's handling of incomplete multibyte
11912 characters.
11913
9bac1d86
L
119142012-09-28 H.J. Lu <hongjiu.lu@intel.com>
11915
11916 * elf/dl-runtime.c (VERSYMIDX): Removed.
11917 * elf/dl-version.c (VERSYMIDX): Likewise.
11918 * elf/do-rel.h (VERSYMIDX): Likewise.
11919 (VALIDX): Likewise.
11920 * elf/dynamic-link.h (VERSYMIDX): Likewise.
11921 * elf/rtld.c (VALIDX): Likewise.
11922 (ADDRIDX): Likewise.
9bac1d86
L
11923 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
11924 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
11925 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
11926 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
11927 (VALIDX): Likewise.
11928 (ADDRIDX): Likewise.
9bac1d86 11929
b31606c0
PT
119302012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11931
11932 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
11933
11541177
JL
119342012-09-28 Dmitry V. Levin <ldv@altlinux.org>
11935
11936 [BZ #11438]
11937 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
11938 to global scope.
11939 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
11940 addresses are in the same scope as 192.0.2/24.
11941 * posix/gai.conf: Document new scope table defaults.
11942
adb26fae
SP
119432012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11944
11945 [BZ #5298]
11946 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
11947 for ftell. Compute offsets from write pointers instead.
11948 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11949
4573c6b0
SP
119502012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11951
11952 [BZ #14543]
11953 * libio/Makefile (tests): New test case tst-fseek.
11954 * libio/tst-fseek.c: New test case to verify that fseek/ftell
11955 combination works in wide mode.
11956 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
11957 state when the external buffer state changes.
11958
aa9bbfe6
DM
119592012-09-27 David S. Miller <davem@davemloft.net>
11960
11961 [BZ #14376]
11962 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
11963 pass reloc->r_addend in as the 'high' argument to
11964 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
11965
784421e7
DM
11966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11967
c39bc8b8
PT
119682012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11969
11970 * rt/tst-aio2.c: Include <pthread.h>.
11971 * rt/tst-aio3.c: Likewise.
11972
1ccc2399
SE
119732012-09-27 Steve Ellcey <sellcey@mips.com>
11974
11975 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
11976
31ed4153
L
119772012-09-27 H.J. Lu <hongjiu.lu@intel.com>
11978
25f5f885
L
11979 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
11980 contents on [SHARED].
31ed4153 11981
b7bfe116
MP
119822012-09-26 Marek Polacek <polacek@redhat.com>
11983
11984 [BZ #14530]
11985 [BZ #13741]
11986 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
11987 for C++ and GCC <4.3 as well as for non GCC compilers.
11988
43c4edba
MT
119892012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11990
11991 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11992
6a1bf82f
RM
119932012-09-25 Roland McGrath <roland@hack.frob.com>
11994
11995 * Makefile.in (all, install): Declare with .PHONY.
11996 Reported by Michael Hope <michael.hope@linaro.org>.
11997
8ad11b9a
TMQMF
119982012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11999
12000 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12001 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12002 system header.
12003 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12004 Likewise.
12005 (sydep_routines): Add the new and the internal functions.
12006 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12007 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12009 (GLIBC_2.17): Add the new function.
12010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12011 (GLIBC_2.17): Likewise.
12012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12013 (GLIBC_2.17): Likewise.
12014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12015 (GLIBC_2.17): Likewise.
12016 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12017
7e2fca8d
AM
120182012-09-25 Alan Modra <amodra@gmail.com>
12019
12020 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12021 Add release barrier before setting once_control to say
12022 initialisation is done. Add hints on lwarx. Use macro in
12023 place of isync.
12024 (clear_once_control): Add release barrier.
12025
b87c4b24
JM
120262012-09-25 Joseph Myers <joseph@codesourcery.com>
12027
d032e0d2
JM
12028 [BZ #13629]
12029 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12030 specially.
12031 * math/s_clog10.c (__clog10): Likewise.
12032 * math/s_clog10f.c (__clog10f): Likewise.
12033 * math/s_clog10l.c (__clog10l): Likewise.
12034 * math/s_clogf.c (__clogf): Likewise.
12035 * math/s_clogl.c (__clogl): Likewise.
12036 * math/Makefile (libm-calls): Add x2y2m1.
12037 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12038 (__x2y2m1): Likewise.
12039 (__x2y2m1l): Likewise.
12040 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12041 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12042 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12043 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12044 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12045 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12046 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12047 * sysdeps/i386/fpu/libm-test-ulps: Update.
12048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12049
b87c4b24
JM
12050 [BZ #14621]
12051 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12052 int as type of variable DEPTH.
12053 (glob): Use size_t instead of int as type of variables NEWCOUNT
12054 and OLD_PATHC.
12055
6d3bf199
LD
120562012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12057
22bf5c17
LD
12058 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12059 Add s_sincosf-sse2.
12060 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12061 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12062 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12063 macros for using routine as __sincosf_ia32.
12064 Use macro for function declaration and weak_alias.
12065 * sysdeps/i386/fpu/libm-test-ulps: Update.
12066
12067 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12068 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12069
12070 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12071 subnormal argument.
12072 * math/s_cexpf.c (__cexpf): Likewise.
12073 * math/s_csinf.c (__csinf): Likewise.
12074 * math/s_csinhf.c (__csinhf): Likewise.
12075 * math/s_ctanf.c (__ctanf): Likewise.
12076 * math/s_ctanhf.c (__ctanhf): Likewise.
12077 * math/s_ccosh.c (__ccoshf): Likewise.
12078 * math/s_cexp.c (__cexpl): Likewise.
12079 * math/s_csin.c (__csin): Likewise.
12080 * math/s_csinh.c (__csinh): Likewise.
12081 * math/s_ctan.c (__ctan): Likewise.
12082 * math/s_ctanh.c (ctanh): Likewise.
12083 * math/s_ccoshl.c (__ccoshl): Likewise.
12084 * math/s_cexpl.c (__cexpl): Likewise.
12085 * math/s_csinl.c (__csinl): Likewise.
12086 * math/s_csinhl.c (__csinhl): Likewise.
12087 * math/s_ctanl.c (__ctanl): Likewise.
12088 * math/s_ctanhl.c (__ctanhl): Likewise.
12089
203e5603
JM
120902012-09-25 Joseph Myers <joseph@codesourcery.com>
12091
12092 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12093 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12094 (_IO_off_t): Define to __off_t, not _G_off_t.
12095 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12096 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12097 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12098 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12099 type of __dummy and __dummy2 fields.
12100 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12101 (_G_ssize_t): Likewise.
12102 (_G_off_t): Likewise.
12103 (_G_pid_t): Likewise.
12104 (_G_uid_t): Likewise.
12105 (_G_wchar_t): Likewise.
12106 (_G_wint_t): Likewise.
12107 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12108 (_G_ssize_t): Likewise.
12109 (_G_off_t): Likewise.
12110 (_G_pid_t): Likewise.
12111 (_G_uid_t): Likewise.
12112 (_G_wchar_t): Likewise.
12113 (_G_wint_t): Likewise.
12114 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12115 (_G_ssize_t): Likewise.
12116 (_G_off_t): Likewise.
12117 (_G_pid_t): Likewise.
12118 (_G_uid_t): Likewise.
12119 (_G_wchar_t): Likewise.
12120 (_G_wint_t): Likewise.
12121
9fab36eb
SP
121222012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12123
12124 * malloc/arena.c: Include malloc-sysdep.h.
12125 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12126 is sufficient to shrink the heap or an unmap is needed.
12127 * sysdeps/generic/malloc-sysdep.h: New file. Define
12128 new function check_may_shrink_heap.
12129 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12130 new function check_may_shrink_heap.
12131
2b4f00d1
SP
121322012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12133
12134 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12135 comments.
12136
9a9028b1
DL
121372012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12138
57c69bef
DL
12139 * catgets/test-gencat.sh: Add "set -e".
12140 * elf/tst-pathopt.sh: Likewise.
12141 * grp/tst_fgetgrent.sh: Likewise.
12142 * iconvdata/run-iconv-test.sh: Likewise.
12143 * intl/tst-gettext.sh: Likewise.
12144 * intl/tst-gettext2.sh: Likewise.
12145 * intl/tst-gettext4.sh: Likewise.
12146 * intl/tst-gettext6.sh: Likewise.
12147 * intl/tst-translit.sh: Likewise.
12148 * io/ftwtest-sh: Likewise.
12149 * libio/test-freopen.sh: Likewise.
12150 * malloc/tst-mtrace.sh: Likewise.
12151 * posix/globtest.sh: Likewise.
12152 * posix/tst-getconf.sh: Likewise.
12153 * posix/wordexp-tst.sh: Likewise.
12154 * stdio-common/tst-printf.sh: Likewise.
12155 * stdio-common/tst-unbputc.sh: Likewise.
12156 * stdlib/tst-fmtmsg.sh: Likewise.
12157 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12158 * catgets/Makefile: Do not specify -e option when running
12159 testsuite shell scripts.
12160 * elf/Makefile: Likewise.
12161 * grp/Makefile: Likewise.
12162 * iconvdata/Makefile: Likewise.
12163 * intl/Makefile: Likewise.
12164 * io/Makefile: Likewise.
12165 * libio/Makefile: Likewise.
12166 * malloc/Makefile: Likewise.
12167 * posix/Makefile: Likewise.
12168 * stdio-common/Makefile: Likewise.
12169 * stdlib/Makefile: Likewise.
12170 * sysdeps/x86_64/Makefile: Likewise.
12171
9a9028b1
DL
12172 * io/ftwtest-sh: Add copyright header.
12173 * posix/globtest.sh: Likewise.
12174 * posix/tst-getconf.sh: Likewise.
12175 * posix/wordexp-tst.sh: Likewise.
12176 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12177
ced6f16e
L
121782012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12179
94b32c39
L
12180 [BZ #13679]
12181 * Makeconfig (+link): Defined as $(+link-static) if
12182 $(build-shared) isn't yes.
12183 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12184 isn't yes.
12185 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12186
189e935b
L
12187 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12188
ced6f16e
L
12189 [BZ #14562]
12190 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12191 new chunk size with MALLOC_ALIGN_MASK.
12192
a9f8e53a
JM
121932012-09-24 Joseph Myers <joseph@codesourcery.com>
12194
12195 [BZ #5044]
12196 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12197 <rounding-mode.h>.
12198 (__printf_fphex): Determine rounding using get_rounding_mode and
12199 round_away.
12200 * stdio-common/tst-printf-round.c (struct hex_test): New
12201 structure.
12202 (hex_tests): New variable.
12203 (test_hex_in_one_mode): New function.
12204 (do_test): Also run tests for hex float output.
12205
43153109
JM
122062012-09-21 Joseph Myers <joseph@codesourcery.com>
12207
12208 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12209 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12210 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12211 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12212 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12213 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12214 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12215 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12216
8a26625d
JM
122172012-09-20 Joseph Myers <joseph@codesourcery.com>
12218
12219 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12220 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12221 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12222 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12223
f3fd569c
DL
122242012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12225
12226 [BZ #14579]
12227 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12228 mode only.
12229 * elf/tst-rtld-load-self.sh: New test.
12230 * elf/Makefile: Run it.
12231
63bbedd4
JM
122322012-09-18 Joseph Myers <joseph@codesourcery.com>
12233
12234 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12235 (tst-writev-ENV): Remove.
12236 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12237
626f8b6a
CM
122382012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12239
12240 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12241
b7aaa4d6
JM
122422012-09-17 Joseph Myers <joseph@codesourcery.com>
12243
12244 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12245 unconditional.
12246 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12247 Likewise.
12248 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12249 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12250 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12251 Likewise.
12252
65513990
L
122532012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12254
12255 [BZ #14587]
12256 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12257 * config.make.in (have-cpp-asm-debuginfo): Removed.
12258 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12259 * configure: Regenerated.
12260
784761be
JM
122612012-09-14 Joseph Myers <joseph@codesourcery.com>
12262
12263 [BZ #5044]
12264 * stdio-common/printf_fp.c: Include <stdbool.h> and
12265 <rounding-mode.h>.
12266 (___printf_fp): Determine rounding using get_rounding_mode and
12267 round_away.
12268 * stdio-common/tst-printf-round.c: New file.
12269 * stdio-common/Makefile (tests): Add tst-printf-round.
12270 (link-libm): New variable.
12271 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12272
9503345f
L
122732012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12274
12275 [BZ #14576]
12276 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12277 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12278 Likewise.
12279 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12280 Likewise.
12281
ad35fc00
JM
122822012-09-13 Joseph Myers <joseph@codesourcery.com>
12283
12284 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12285 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12286 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12287 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12288
6c9b0f68
JM
122892012-09-12 Joseph Myers <joseph@codesourcery.com>
12290
12291 [BZ #14518]
12292 * include/rounding-mode.h: New file.
12293 * sysdeps/generic/get-rounding-mode.h: Likewise.
12294 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12295 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12296 (MAX_VALUE): New macro.
12297 (MIN_VALUE): Likewise.
12298 (overflow_value): New function.
12299 (underflow_value): Likewise.
12300 (round_and_return): Use overflow_value and underflow_value to
12301 determine return values in overflow and underflow cases. Use
12302 round_away to determine rounding depending on rounding mode.
12303 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12304 determine return values in overflow and underflow cases.
12305 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12306 (struct test_results): New structure.
12307 (struct test): Use struct test_results to store expected results
12308 for all rounding modes.
12309 (TEST): Include expected results for all rounding modes.
12310 (test_in_one_mode): New function.
12311 (do_test): Use test_in_one_mode to compute and check results.
12312 Check results for all rounding modes.
12313 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12314 $(link-libm).
12315
19fcedd5
AM
123162012-12-09 Allan McRae <allan@archlinux.org>
12317
1e9d84cd 12318 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 12319
8bbfd2f1
JM
123202012-09-11 Joseph Myers <joseph@codesourcery.com>
12321
12322 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12323 (_G_int32_t): Likewise.
12324 (_G_uint16_t): Likewise.
12325 (_G_uint32_t): Likewise.
12326 (_G_HAVE_BOOL): Likewise.
12327 (_G_HAVE_ATEXIT): Likewise.
12328 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12329 (_G_HAVE_IO_FILE_OPEN): Likewise.
12330 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12331 (_G_int32_t): Likewise.
12332 (_G_uint16_t): Likewise.
12333 (_G_uint32_t): Likewise.
12334 (_G_HAVE_BOOL): Likewise.
12335 (_G_HAVE_ATEXIT): Likewise.
12336 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12337 (_G_HAVE_IO_FILE_OPEN): Likewise.
12338 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12339 (_G_int32_t): Likewise.
12340 (_G_uint16_t): Likewise.
12341 (_G_uint32_t): Likewise.
12342 (_G_HAVE_BOOL): Likewise.
12343 (_G_HAVE_ATEXIT): Likewise.
12344 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12345 (_G_HAVE_IO_FILE_OPEN): Likewise.
12346
b1dc5912
L
123472012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12348
12349 * csu/libc-tls.c: Update copyright years.
12350
0e886ef9
JM
123512012-09-10 Joseph Myers <joseph@codesourcery.com>
12352
28361c5e
JM
12353 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12354 [!_G_USING_THUNKS]: Remove conditional code.
12355 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12356 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12357
0e886ef9
JM
12358 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12359 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12360 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12361 (_G_VTABLE_LABEL_PREFIX): Likewise.
12362 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12363 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12364 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12365 (_G_VTABLE_LABEL_PREFIX): Likewise.
12366 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12367 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12368 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12369 (_G_VTABLE_LABEL_PREFIX): Likewise.
12370 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12371
bcba7aa2
L
123722012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12373
12374 * libio/Makefile: Include ../Makeconfig before tests.
12375 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12376 only if $(build-shared) is yes.
12377
06585ee8
L
12378 * iconv/gconv_db.c: Update copyright years.
12379
80ccd52c
LD
123802012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12381
12382 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12383 unwind info if defined PIC. Fix special cases description.
12384 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12385
12386 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12387 DP_HI_MASK entry.
12388 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12389
691bc9c1
L
123902012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12391
3d9b46b3
L
12392 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12393
de2139a9
L
12394 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12395 is NULL.
12396
5ca78dd0
L
12397 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12398 (LDLIBS-tst-chk4): This.
12399 (LDFLAGS-tst-chk5): Renamed to ...
12400 (LDLIBS-tst-chk5): This.
12401 (LDFLAGS-tst-chk6): Renamed to ...
12402 (LDLIBS-tst-chk6): This.
12403 (LDFLAGS-tst-lfschk4): Renamed to ...
12404 (LDLIBS-tst-lfschk4): This.
12405 (LDFLAGS-tst-lfschk5): Renamed to ...
12406 (LDLIBS-tst-lfschk5): This.
12407 (LDFLAGS-tst-lfschk6): Renamed to ...
12408 (LDLIBS-tst-lfschk6): This.
12409
691bc9c1
L
12410 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12411 on $(common-objpfx)soversions.mk.
12412
65cafb1c
JM
124132012-09-07 Joseph Myers <joseph@codesourcery.com>
12414
12415 [BZ #10014]
12416 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12417 example host name.
12418
c78ab094
SP
124192012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12420
12421 * malloc/arena.c (arena_get_retry): New function that gets
12422 another arena for the caller to try its request on.
12423 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12424 current arena cannot fulfill the request.
12425 (__libc_memalign): Likewise.
12426 (__libc_memalign): Likewise.
12427 (__libc_pvalloc): Likewise.
12428 (__libc_calloc): Likewise.
12429
01f49f59
JT
124302012-09-05 John Tobey <john.tobey@gmail.com>
12431
12432 [BZ #13542]
12433 * manual/arith.texi (Operations on Complex): Fix description
12434 of carg branch cut.
12435
4c23fed5
JM
124362012-09-06 Joseph Myers <joseph@codesourcery.com>
12437
1d3c8572
JM
12438 [BZ #10014]
12439 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12440 host name.
12441
4c23fed5
JM
12442 [BZ #10038]
12443 * manual/memory.texi (Memory): Make order of menu items match
12444 order of sections.
12445
04570aaa
L
124462012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12447
12448 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12449 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12450 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12451
b80af2f4
L
124522012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12453
12454 * csu/libc-tls.c (static_dtv): Renamed to ...
12455 (_dl_static_dtv): This. Make it global.
12456 (_dl_initial_dtv): Removed.
12457 (__libc_setup_tls): Updated.
12458 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12459 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12460 DL_INITIAL_DTV.
12461
2abe9f15
PM
124622012-09-06 Petr Machata <pmachata@redhat.com>
12463
12464 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12465 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12466 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12467 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12468
0948c3af
L
124692012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12470
12471 [BZ #14545]
12472 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12473 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12474 freeing dtv[-1].
12475
a5055ad1
L
124762012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12477
12478 [BZ #14544]
12479 * Makeconfig (link-static-before-libc): Replace $(+prector)
12480 with $(+prectorT).
12481 (link-static-after-libc): Replace $(+postctor) with
12482 $(+postctorT).
12483 (link-bounded): Replace $(+prector)/$(+postctor) with
12484 $(+prectorT)/$(+postctorT).
12485 (+prectorT): New macro.
12486 (+postctorT): Likewise.
12487
ed8c2ecd
JM
124882012-09-06 Joseph Myers <joseph@codesourcery.com>
12489
12490 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12491 (round_str): Handle values above the maximum for IBM long double
12492 as inexact.
12493 * stdlib/tst-strtod-round.c (tests): Regenerated.
12494
14c996c8
AK
124952012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12496
12497 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12498 assembler flag.
12499 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12500 zarch_nohighgprs around the zarch optimized routines.
12501 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12502 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12503 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12504 for zarch.
12505
430d6ce6
DM
125062012-09-05 David S. Miller <davem@davemloft.net>
12507
12508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12509
ff04dda4
DM
12510 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12511 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12512 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12513 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12514 entries.
12515
24d4e01b
AO
125162012-09-05 Alexandre Oliva <aoliva@redhat.com>
12517
12518 * malloc/arena.c: Fold copyright years.
12519 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12520
61d58174
AO
125212012-09-05 Alexandre Oliva <aoliva@redhat.com>
12522
12523 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12524
20196a5e
AO
125252012-09-05 Alexandre Oliva <aoliva@redhat.com>
12526
12527 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12528
5c447383
AO
125292012-09-05 Alexandre Oliva <aoliva@redhat.com>
12530
12531 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12532 change internal state upon failure.
12533
fad64255
AO
125342012-09-05 Alexandre Oliva <aoliva@redhat.com>
12535
12536 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12537 * malloc/memusage.c (mmap): Likewise.
12538 (mmap64, mremap): Likewise. Adjust name in comment.
12539
1ffb8c90
SP
125402012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12541
12542 * libio/fileops.c: Fix typos in comments.
12543 * libio/oldfileops.c: Likewise.
12544 * libio/wfileops.c: Likewise.
12545
6ef9cc37
SP
125462012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12547
12548 [BZ #1349]
12549 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12550 (tst-malloc-usable-ENV): Set environment for test case.
12551 * malloc/hooks.c (malloc_check_get_size): New function to get
12552 requested size.
12553 * malloc/malloc.c (musable): Use malloc_check_get_size.
12554 * malloc/tst-malloc-usable.c: New test case.
12555
4d038ae3
AS
125562012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12557
12558 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12559
c4e85184
AM
125602012-09-05 Allan McRae <allan@archlinux.org>
12561
b9dafc56 12562 [BZ #13966]
c4e85184
AM
12563 * configure.in (CXX_SYSINCLUDES): Use compiler output to
12564 determine header location.
12565 * configure: Regenerated.
12566
e1343020
AS
125672012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12568
12569 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12570 float format.
12571 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
12572 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12573 format.
e1343020
AS
12574 (test): Regenerate.
12575
0a9f1987
DM
125762012-09-04 David S. Miller <davem@davemloft.net>
12577
12578 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12579 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12580 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12581
29237804
FW
125822012-09-04 Florian Weimer <fweimer@redhat.com>
12583
12584 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12585 failures.
12586
edb3cb88
FW
12587 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12588
60160d83
JM
125892012-09-04 Joseph Myers <joseph@codesourcery.com>
12590
12591 [BZ #9914]
12592 * libio/iogetdelim.c: Include <limits.h>.
12593 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12594 + len + 1 would overflow.
12595
bcd6c8dc
AJ
125962012-09-03 Andreas Jaeger <aj@suse.de>
12597
12598 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12599 * sysdeps/i386/fpu/libm-test-ulps: Update.
12600
4ffffbd2
LD
126012012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12602
12603 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12604 Add s_sinf-sse2, s_conf-sse2.
12605
12606 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12607 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12608 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12609 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12610
12611 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12612 for using routine as __sinf_ia32.
12613 Use macro for function declaration and weak_alias.
12614 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12615 for using routine as __cosf_ia32.
12616 Use macro for function declaration and weak_alias.
12617
12618 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12619 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12620
12621 * sysdeps/x86_64/fpu/s_sinf.S: New file.
12622 * sysdeps/x86_64/fpu/s_cosf.S: New file.
12623 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12624
12625 * math/libm-test.inc (cos_test): Add more test cases.
12626 (sin_test): Likewise.
12627 (sincos_test): Likewise.
12628
511fa286
AK
126292012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12630
12631 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12632 (IFUNC_RESOLVE): Make pointers to the specialized implementations
12633 hidden.
12634 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12635
5f30cfec
L
126362012-09-02 H.J. Lu <hongjiu.lu@intel.com>
12637
12638 [BZ #14538]
12639 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12640 first element of the GOT.
12641 (elf_machine_load_address): Return the difference between
12642 the runtime address of _DYNAMIC and elf_machine_dynamic ().
12643
0786794f
AM
126442012-09-01 Allan McRae <allan@archlinux.org>
12645
5f30cfec
L
12646 [BZ #13412]
12647 * configure.in (AWK): Require gawk version 3.0 or later.
12648 * configure: Regenerated.
0786794f 12649
26889eac
JM
126502012-09-01 Joseph Myers <joseph@codesourcery.com>
12651
12652 * sysdeps/unix/sysv/linux/kernel-features.h
12653 (__ASSUME_POSIX_CPU_TIMERS): Remove.
12654 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12655 [__NR_clock_getres]: Make code unconditional.
12656 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12657 (clock_getcpuclockid): Remove code left unreachable by removal of
12658 conditionals.
12659 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12660 code unconditional.
12661 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12662 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12663 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12664 Make code unconditional.
12665 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12666 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12667 * sysdeps/unix/sysv/linux/clock_settime.c
12668 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12669 conditional code.
12670 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12671 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12672
d22e28b0
L
126732012-08-29 H.J. Lu <hongjiu.lu@intel.com>
12674
12675 [BZ #14476]
12676 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12677 scripts/test-installation.pl.
12678
12679 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12680 and $ld_so_version if it is set.
12681
050af9c4
SP
126822012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12683
12684 [BZ #14516]
12685 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12686 failure if reading from procfs failed.
12687 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12688
ad845c0b
JM
126892012-08-27 Joseph Myers <joseph@codesourcery.com>
12690
12691 * sysdeps/unix/sysv/linux/kernel-features.h
12692 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12693 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12694 Remove conditional code.
12695 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12696 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12697 Remove conditional code.
12698 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12699 * sysdeps/unix/sysv/linux/i386/fxstat.c
12700 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12701 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12702 * sysdeps/unix/sysv/linux/i386/fxstatat.c
12703 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12704 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12705 * sysdeps/unix/sysv/linux/i386/lxstat.c
12706 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12707 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12708 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12709 Remove conditional code.
12710 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12711 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12712 Remove conditional code.
12713 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12714 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12715 <kernel-features.h>.
12716 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12717 Remove.
12718 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12719 Remove conditional code.
12720 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12721 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12722 Remove conditional.
12723
5dbf56af
MF
127242012-08-27 Mike Frysinger <vapier@gentoo.org>
12725
12726 [BZ #5400]
12727 * NEWS: Add fixed bug number.
12728
d6e70f43
JM
127292012-08-27 Joseph Myers <joseph@codesourcery.com>
12730
7efb4737
JM
12731 [BZ #14519]
12732 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12733 underflowing exponent in case of negative sign.
12734 * stdlib/tst-strtod-round-data: Add more tests.
12735 * stdlib/tst-strtod-round.c (tests): Regenerated.
12736
af92131a
JM
12737 [BZ #3479]
12738 * stdlib/strtod_l.c (NDIG): Remove.
12739 (HEXNDIG): Likewise.
12740 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12741 smallest representable value.
12742 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12743 lie within an exact representation of 1/2 ulp of the result.
12744 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12745 unconditionally.
12746 (TENS_P9_IDX): Define unconditionally.
12747 (TENS_P9_SIZE): Likewise.
12748 (TENS_P10_IDX): Likewise.
12749 (TENS_P10_SIZE): Likewise.
12750 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12751 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12752 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12753 entries for 10^2^13 and 10^2^14.
12754 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12755 (TENS_P13_IDX): Define.
12756 (TENS_P13_SIZE): Likewise.
12757 (TENS_P14_IDX): Likewise.
12758 (TENS_P14_SIZE): Likewise.
12759 (_fpioconst_pow10): Change array size to
12760 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
12761 unconditional.
12762 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12763 1024]: Add entries for 10^2^13 and 10^2^14.
12764 [LAST_POW10 > _LAST_POW10]: Remove #error.
12765 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12766 (_fpioconst_pow10): Change array size to
12767 FPIOCONST_POW10_ARRAY_SIZE.
12768 * stdlib/gen-fpioconst.c: New file.
12769 * stdlib/gen-tst-strtod-round.c: Likewise.
12770 * stdlib/tst-strtod-round-data: Likewise.
12771 * stdlib/tst-strtod-round.c: Likewise.
12772 * stdlib/Makefile (tests): Add tst-strtod-round.
12773
d6e70f43
JM
12774 [BZ #14459]
12775 * stdlib/strtod_l.c: Include <stdint.h>.
12776 (NDEBUG): Do not define.
12777 (round_and_return): Change EXPONENT parameter to type intmax_t.
12778 Rearrange calculations to avoid internal overflow possibilities.
12779 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12780 Rearrange calculations to avoid internal overflow possibilities.
12781 Assert that number fits inside MPNSIZE limbs.
12782 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12783 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
12784 calculations and add assertions to avoid internal overflow
12785 possibilities. Add casts to avoid signed/unsigned operations.
12786 * stdlib/tst-strtod-overflow.c: New file.
12787 * stdlib/Makefile (tests): Add tst-strtod-overflow.
12788
1f529f7d
MP
127892012-08-25 Marek Polacek <polacek@redhat.com>
12790
12791 * time/time.h: Fix some typos in comments.
12792
59a629f1
RM
127932012-08-23 Roland McGrath <roland@hack.frob.com>
12794
12795 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12796 * posix/tst-rfc3484-2.c: Likewise.
12797 * posix/tst-rfc3484-3.c: Likewise.
12798
d3bafbc9
SM
127992012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
12800
12801 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12802 (EF_ARM_ABI_FLOAT_HARD): Likewise.
12803
4efcc022
JM
128042012-08-23 Joseph Myers <joseph@codesourcery.com>
12805
12806 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12807 #include of fxstatat64.c.
12808
3cc3ef96
RM
128092012-08-22 Roland McGrath <roland@hack.frob.com>
12810
f04e2132
RM
12811 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12812 * shadow/getspent_r.c: Likewise.
12813 * shadow/getspnam.c: Likewise.
12814 * shadow/getspnam_r.c: Likewise.
12815 * gshadow/getsgent.c: Likewise.
12816 * gshadow/getsgent_r.c: Likewise.
12817 * gshadow/getsgnam.c: Likewise.
12818 * gshadow/getsgnam_r.c: Likewise.
12819 * inet/getnetbyad.c: Likewise.
12820 * inet/getnetbyad_r.c: Likewise.
12821 * inet/getnetbynm.c: Likewise.
12822 * inet/getnetbynm_r.c: Likewise.
12823 * inet/getnetent.c: Likewise.
12824 * inet/getnetent_r.c: Likewise.
12825 * inet/getproto.c: Likewise.
12826 * inet/getproto_r.c: Likewise.
12827 * inet/getprtent.c: Likewise.
12828 * inet/getprtent_r.c: Likewise.
12829 * inet/getprtname.c: Likewise.
12830 * inet/getprtname_r.c: Likewise.
12831 * inet/getrpcbyname.c: Likewise.
12832 * inet/getrpcbyname_r.c: Likewise.
12833 * inet/getrpcbynumber.c: Likewise.
12834 * inet/getrpcbynumber_r.c: Likewise.
12835 * inet/getrpcent.c: Likewise.
12836 * inet/getrpcent_r.c: Likewise.
12837 * inet/getaliasent.c: Likewise.
12838 * inet/getaliasent_r.c: Likewise.
12839 * inet/getaliasname.c: Likewise.
12840 * inet/getaliasname_r.c: Likewise.
12841 * nscd/getgrgid_r.c: Likewise.
12842 * nscd/getgrnam_r.c: Likewise.
12843 * nscd/gethstbyad_r.c: Likewise.
12844 * nscd/gethstbynm3_r.c: Likewise.
12845 * nscd/getpwnam_r.c: Likewise.
12846 * nscd/getpwuid_r.c: Likewise.
12847 * nscd/getsrvbynm_r.c: Likewise.
12848 * nscd/getsrvbypt_r.c: Likewise.
12849 * nscd/gai.c: Likewise.
12850
c53d909c
RM
12851 * configure.in (build_nscd): New substituted variable, set
12852 by --disable-build-nscd and defaults to $use_nscd.
12853 * configure: Regenerated.
12854 * config.make.in (build-nscd): New substituted variable.
12855 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
12856 Change conditional to require [$(build-nscd) = yes] as well.
12857 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
12858
3cc3ef96
RM
12859 [BZ# 13696]
12860 * configure.in (use_nscd): New substituted variable, set by
12861 --disable-nscd. If enabled, define USE_NSCD.
12862 * configure: Regenerated.
12863 * config.h.in: Add USE_NSCD.
12864 * config.make.in (use-nscd): New substituted variable.
12865 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
12866 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
12867 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
12868 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
12869 (CFLAGS-getgrnam_r.c): Likewise.
12870 (CFLAGS-initgroups.c): Likewise.
12871 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
12872 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
12873 Variables removed.
12874 * inet/getnetgrent_r.c
12875 (nscd_setnetgrent): New function, broken out of ...
12876 (setnetgrent): ... here. Call it.
12877 (innetgr): Conditionalize nscd bits on [USE_NSCD].
12878 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
12879 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
12880 * nscd/Makefile (routines, aux): Move definitions after include of
12881 Makeconfig. Conditionalize on [$(use-nscd) != no].
12882 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
12883 Conditionalize on [USE_NSCD].
12884 (is_nscd, nscd_init_cb): Likewise.
12885 (nss_load_library): Conditionalize init callback on [USE_NSCD].
12886 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
12887 * nss/nss_db/db-init.c: Likewise.
12888 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
12889 [USE_NSCD].
12890 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
12891 (make_request): Use it.
12892 (cache_valid_p): New function.
12893 (__check_pf): Use it.
12894 * NEWS: Add item for --disable-nscd.
12895
07e51550
DL
128962012-08-22 Dmitry V. Levin <ldv@altlinux.org>
12897
12898 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
12899 to support sed >= 4.2.1-20-ga9bf076.
12900 * configure: Regenerated.
12901
35a5b08b
RM
129022012-08-22 Roland McGrath <roland@hack.frob.com>
12903
12904 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
12905 Conditionalize whole body on [IREL].
12906
8479f23a
JL
129072012-08-22 Jeff Law <law@redhat.com>
12908
12909 [BZ #14505]
12910 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
12911 if the family is PF_UNSPEC.
12912
48da0b21
MF
129132012-08-22 Mike Frysinger <vapier@gentoo.org>
12914
12915 * Makerules (lib-version): Rename from V.
12916 (install-lib-nosubdir): Change V to lib-version.
12917
15d0da8c
WS
129182012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
12919
12920 [BZ #14252]
12921 * powerpc32/power6/wcschr.c: New file.
12922 * powerpc32/power6/wcscpy.c: New file.
12923 * powerpc32/power6/wcsrchr.c: New file.
12924 * powerpc64/power6/wcschr.c: New file.
12925 * powerpc64/power6/wcscpy.c: New file.
12926 * powerpc64/power6/wcsrchr.c: New file.
12927
bcca0895
MK
129282012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12929
12930 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
12931 (two_way_short_needle): Use it.
5a4aaa33
RM
12932 * string/strstr.c (AVAILABLE1_USES_J): Define.
12933 * string/strcasestr.c: Likewise.
99677e57
MK
12934
12935 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
12936 array references.
12937 * string/strcasestr.c (TOLOWER): Make side-effect safe.
12938
400726de
MK
12939 [BZ #11607]
12940 * NEWS: Add an entry.
12941 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
12942 define their defaults.
12943 (two_way_short_needle): Detect end-of-string on-the-fly.
12944 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
12945 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
12946 * string/bug-strcasestr1.c: New test.
12947 * string/Makefile: Run it.
12948
20a71f2c
MK
129492012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12950
12951 [BZ #11607]
12952 * string/str-two-way.h (two_way_short_needle): Optimize matching of
12953 the first character.
12954
21ad0558
RM
129552012-08-21 Roland McGrath <roland@hack.frob.com>
12956
12957 * csu/elf-init.c (__libc_csu_irel): Function removed.
12958 * csu/libc-start.c (apply_irel): New function.
12959 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
12960
0e1d9911
JM
129612012-08-21 Joseph Myers <joseph@codesourcery.com>
12962
12963 * sysdeps/unix/sysv/linux/kernel-features.h
12964 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
12965 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12966 <kernel-features.h>.
12967 [__NR_fadvise64_64]: Make code unconditional.
12968 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
12969 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12970 !__NR_fadvise64_64)]: Likewise.
12971 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12972 !__NR_fadvise64_64))]: Likewise.
12973 [__NR_fadvise64]: Make code unconditional.
12974 [!__NR_fadvise64]: Remove conditional code.
12975 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
12976 <kernel-features.h>.
12977 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12978 unconditional.
12979 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12980 conditional code.
12981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
12982 not include <kernel-features.h>.
12983 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12984 unconditional.
12985 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12986 conditional code.
12987 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
12988 include <kernel-features.h>.
12989 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12990 unconditional.
12991 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12992 conditional code.
12993
14a50c9d
WS
129942012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12995
12996 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
12997 slight instruction rearrangements per scrollpipe analysis.
12998 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12999
c0f4faf0
RM
130002012-08-20 Roland McGrath <roland@hack.frob.com>
13001
696da859
RM
13002 * manual/syslog.texi (syslog; vsyslog, closelog):
13003 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13004 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13005
c0f4faf0
RM
13006 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13007 DSOCAPS to match condition on defining it.
13008
348363b2
JM
130092012-08-20 Joseph Myers <joseph@codesourcery.com>
13010
a35cbf28
JM
13011 * sysdeps/unix/sysv/linux/kernel-features.h
13012 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13014 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13015 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13017 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13018 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13020 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13021 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13022
445f7ecd
JM
13023 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13024 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13025
348363b2
JM
13026 * sysdeps/unix/sysv/linux/kernel-features.h
13027 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13028 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13029 unconditional.
13030 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13031 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13032 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13033 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13034 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13035 Make code unconditional.
13036 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13037 (__mmap64) [!__NR_mmap2]: Likewise.
13038 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13039 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13040 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13041 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13042 [__NR_mmap2]: Make code unconditional.
13043 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13044 (__mmap64) [!__NR_mmap2]: Likewise.
13045
bc5bc0e5
AK
130462012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13047
13048 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13049
88d506de
AJ
130502012-08-18 Andreas Jaeger <aj@suse.de>
13051
13052 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13053
493387d2
MF
130542012-08-18 Mike Frysinger <vapier@gentoo.org>
13055
13056 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13057 * include/unistd.h (__have_sock_cloexec): Likewise.
13058 (__have_pipe2): Likewise.
13059 (__have_dup3): Likewise.
13060
a277af22
MF
130612012-08-18 Mike Frysinger <vapier@gentoo.org>
13062
13063 [BZ #9685]
13064 * include/unistd.h (__have_pipe2): Change define into an extern int.
13065 (__have_dup3): Likewise.
13066 * socket/have_sock_cloexec.c: Include fcntl.h.
13067 (__have_pipe2): New variable.
13068 (__have_dup3): Likewise.
13069
fdab8fd3
MF
130702012-08-17 Mike Frysinger <vapier@gentoo.org>
13071
13072 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13073
31035e80
MP
130742012-08-17 Marek Polacek <polacek@redhat.com>
13075
13076 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13077 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13078
3bd9e993
RM
130792012-08-17 Roland McGrath <roland@hack.frob.com>
13080
c91c505f
RM
13081 * configure.in: Add AC_SUBST for sysheaders.
13082 * configure: Regenerated.
13083 * config.make.in (sysheaders): New substituted variable.
13084
7c6f9d53
RM
13085 * sysdeps/unix/mkfifo.c: Moved ...
13086 * sysdeps/posix/mkfifo.c: ... here.
13087 * sysdeps/unix/mkfifoat.c: Moved ...
13088 * sysdeps/posix/mkfifoat.c: ... here.
13089
13090 * sysdeps/unix/utime.c: Moved ...
13091 * sysdeps/posix/utime.c: ... here.
13092
13093 * sysdeps/unix/time.c: Moved ...
13094 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13095 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13096 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13097
13098 * sysdeps/unix/nice.c: Moved ...
13099 * sysdeps/posix/nice.c: ... here.
13100
13101 * sysdeps/unix/alarm.c: Moved ...
13102 * sysdeps/posix/alarm.c: ... here.
13103
3bd9e993
RM
13104 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13105
d1f09384
JL
131062012-08-17 Jeff Law <law@redhat.com>
13107
13108 * intl/Makefile (codeset_mo): New variable.
13109 ($(codeset_mo)): New target.
13110 (tst-codeset.out): Depend on that. Remove explicit rule.
13111 (tst-gettext3.out, tst-gettext5.out): Likewise.
13112 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13113 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13114 * intl/tst-codeset.sh: Remove.
13115 * intl/tst-gettext3.sh: Likewise.
13116 * intl/tst-gettext5.sh: Likewise.
13117
2ae1ae5c
RM
131182012-08-17 Roland McGrath <roland@hack.frob.com>
13119
c31fdb83
RM
13120 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13121 * sysdeps/unix/syscalls.list: ... here.
13122
a0844057
RM
13123 * sysdeps/posix/getaddrinfo.c
13124 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13125 (gaiconf_init, gaiconf_reload): Use them.
13126 [!_STATBUF_ST_NSEC]
13127 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13128 Define using time_t rather than struct timespec.
13129
750c1f2a
RM
13130 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13131 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13132 Macros removed.
13133 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13134 [!NO_THREADS].
13135 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13136 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13137 Likewise.
13138
2ae1ae5c
RM
13139 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13140 __libc_cleanup_push argument.
13141
e66a42f5
RM
13142 * bits/param.h: New file.
13143 * misc/sys/param.h: New file.
13144 * include/sys/param.h: New file.
13145 * misc/Makefile (headers): Add bits/param.h.
13146 * sysdeps/generic/sys/param.h: File removed.
13147 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13148 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13149 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13150 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13151
b7c08a66
RM
13152 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13153 last change.
13154
b2e1c562
RM
13155 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13156 [_IO_MTSAFE_IO].
13157 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13158 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13159 New macros.
13160
c75ccd4c
RM
13161 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13162 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13163 rather than -D_IO_MTSAFE_IO conditionally.
13164 * stdio-common/Makefile (CPPFLAGS): Likewise.
13165 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13166 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13167 Use $(libio-mtsafe).
13168 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13169 of -D_IO_MTSAFE_IO.
13170 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13171 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13172 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13173 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13174 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13175 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13176 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13177 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13178 (CFLAGS-fread_u_chk.c): Likewise.
13179 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13180 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13181 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13182 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13183 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13184 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13185 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13186 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13187 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13188
13189 * libio/Makefile: Test [$(libc-reentrant) = yes]
13190 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13191
13192 * Makeconfig
13193 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13194 * sysdeps/pthread/configure: File removed.
13195 * sysdeps/pthread/Makeconfig: New file.
13196 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13197 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13198
d9195db8
GB
131992012-08-16 Gary Benson <gbenson@redhat.com>
13200
13201 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13202 unmapping the first object in a namespace.
13203
86466cd9
RM
132042012-08-16 Roland McGrath <roland@hack.frob.com>
13205
13206 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13207 (__internal_setnetgrent): ... this. Add internal_function to
13208 definition. Add libc_hidden_def.
13209 (setnetgrent): Update caller.
13210 (internal_endnetgrent): Renamed to ...
13211 (__internal_endnetgrent): ... this. Add internal_function to
13212 definition. Add libc_hidden_def.
13213 (endnetgrent): Update caller.
13214 (internal_getnetgrent_r): Renamed to ...
13215 (__internal_getnetgrent_r): ... this. Add internal_function to
13216 definition. Add libc_hidden_def.
13217 (__getnetgrent_r): Update caller.
13218 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13219
c3c8283c
JM
132202012-08-16 Joseph Myers <joseph@codesourcery.com>
13221
13222 * stdlib/longlong.h: Update from GCC.
13223
db1ee0a8
RM
132242012-08-16 Roland McGrath <roland@hack.frob.com>
13225
13226 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13227 on _QL, which is set by umul_ppmm but never used.
13228 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13229 variables, which are set by GMP macros but never used.
13230 * stdio-common/_itowa.c (_itowa): Likewise.
13231 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13232 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13233
30f69637
CD
132342012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13235
13236 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13237 struct La_sh_regs is not constant.
13238 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13239 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13240 and struct La_sparc64_regs are not constant.
13241
93a78ac4
JM
132422012-08-16 Joseph Myers <joseph@codesourcery.com>
13243
13244 * sysdeps/unix/sysv/linux/kernel-features.h
13245 (__ASSUME_POSIX_TIMERS): Remove.
13246 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13247 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13248 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13249 Make code unconditional.
13250 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13251 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13252 Make code unconditional.
13253 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13254 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13255 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13256 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13257 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13258 Make code unconditional.
13259 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13260 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13261 (__libc_missing_posix_timers): Remove.
13262
dd924cd7
RM
132632012-08-15 Roland McGrath <roland@hack.frob.com>
13264
4b4f2771
RM
13265 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13266 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13267
601c888b
RM
13268 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13269
176790a7
RM
13270 * elf/dl-sym.c: Include <stdlib.h>.
13271
329bc018
RM
13272 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13273 constants, which avoids warnings in 32-bit builds.
13274
e04e272d
RM
13275 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13276 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13277
952bf94a
RM
13278 * misc/lseek.c: File moved to ...
13279 * io/lseek.c: ... here.
13280
7c99b50a
RM
13281 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13282
dd924cd7
RM
13283 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13284 shifting LEN more than 31 bits at once.
13285
b3f479a8
LD
132862012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13287
13288 [BZ #14195]
8c4ae0d4
RM
13289 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13290 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13291 * string/test-strncasecmp.c (check1): Renamed to...
13292 (bz12205): ...this.
13293 (bz14195): Add new testcase for two empty input strings and N > 0.
13294 (test_main): Call new testcase, adapt for renamed function.
13295
9c55864e
AJ
132962012-08-15 Andreas Jaeger <aj@suse.de>
13297
13298 [BZ #14090]
13299 * crypt/md5test2.c: New test, based on test supplied by Serge
13300 Belyshev <belyshev@depni.sinp.msu.ru>.
13301 * crypt/Makefile (xtests): Add md5test-giant..
13302 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13303
02dcb6c5
PE
133042012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13305
13306 [BZ #14090]
13307 * crypt/md5.c (md5_process_block): Don't assume the buffer
13308 length is less than 2**32.
13309 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13310 length is less than 2**64.
13311
a3f95dcc
RM
133122012-08-15 Roland McGrath <roland@hack.frob.com>
13313
be75d758
RM
13314 * string/str-two-way.h: Include <sys/param.h>.
13315 (MAX): Macro removed.
13316
7312ca90
RM
13317 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13318 Move #define and #undef of memmove to just before and after
13319 including <string.h>.
13320
9a0a5486
RM
13321 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13322 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13323 and after including <string.h>. Move declarations of
13324 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13325 to before #include "string/memmove.c".
13326
67cc348d
RM
13327 * include/dirent.h: Declare __getdirentries.
13328
a3f95dcc
RM
13329 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13330 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13331
ca98e171
MF
133322012-08-14 Mike Frysinger <vapier@gentoo.org>
13333
13334 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13335 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13336 * sysdeps/i386/configure: Regenerated.
13337 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13338 STABS_CURRENT_FILE, and STABS_FUN.
13339 (END): Remove call to STABS_FUN_END.
13340 (STABS_CURRENT_FILE1): Delete.
13341 (STABS_CURRENT_FILE): Likewise.
13342 (STABS_FUN): Likewise.
13343 (STABS_FUN_END): Likewise.
13344 (STABS_FUN2): Likewise.
13345 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13346 * sysdeps/x86_64/configure: Regenerated.
13347
5908bf46
RM
133482012-08-14 Roland McGrath <roland@hack.frob.com>
13349
13350 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 13351 * elf/dl-lookup.c: Likewise.
5908bf46 13352
f2c05b9e
JM
133532012-08-14 Joseph Myers <joseph@codesourcery.com>
13354
13355 * sysdeps/unix/sysv/linux/kernel-features.h
13356 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13357 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13358 unconditionally.
13359 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13360 unconditionally.
13361 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13362 condition on __ASSUME_CLONE_THREAD_FLAGS.
13363
e11f5155
AJ
133642012-08-14 Andreas Jaeger <aj@suse.de>
13365
13366 * sysdeps/i386/fpu/libm-test-ulps: Update.
13367
51a9ba86
MK
133682012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13369
2fdd4f78
AJ
13370 * include/atomic.h (atomic_exchange_and_add): Split into ...
13371 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13372 New atomic macros.
51a9ba86 13373
ba6cba9e
MT
133742012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13375
13376 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13377
42443a47
JL
133782012-08-13 Jeff Law <law@redhat.com>
13379
13380 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13381 null byte in the output string.
13382
121dce05
JM
133832012-08-10 Joseph Myers <joseph@codesourcery.com>
13384
13385 * sysdeps/unix/sysv/linux/kernel-features.h
13386 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13387 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13388 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13389 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13390 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13391 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13392 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13393
bf51f568
JL
133942012-08-09 Jeff Law <law@redhat.com>
13395
13396 [BZ #13939]
13397 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13398 When avoid_arena is set, don't retry in the that arena. Pick the
13399 next one, whatever it might be.
13400 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13401 (arena_lock): Pass in new parameter to arena_get2.
13402 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13403 arena_get2.
13404 (__libc_malloc): Unify retrying after main arena failure with
13405 __libc_memalign version.
13406 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13407
f85fa270
L
134082012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13409
13410 [BZ #14166]
13411 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13412 to __redirect_strstr.
13413 (__strstr_sse42): Use typeof __redirect_strstr.
13414 (__strstr_ia32): Likewise.
13415 (__libc_strstr): New prototype.
13416 (strstr): Renamed to ...
13417 (__libc_strstr): This.
13418 (strstr): New strong alias of __libc_strstr.
13419 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13420 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13421 __redirect_time.
13422 Include <time.h>.
13423 (__libc_time): New prototype.
13424 (time_ifunc): Replace time with __libc_time.
13425 (time): New strong alias and hidden definition of __libc_time.
13426 (__GI_time): Remove strong alias.
13427 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13428 Include <stddef.h>.
13429 (memmove): Redefined to __redirect_memmove.
13430 (__memmove_sse2): Use typeof __redirect_memmove.
13431 (__memmove_ssse3): Likewise.
13432 (__memmove_ssse3_back): Likewise.
13433 (__libc_memmove): New prototype.
13434 (memmove): Renamed to ...
13435 (__libc_memmove): This.
13436 (memmove): New strong alias of __libc_memmove.
13437
33b4a91e
MS
134382012-08-08 Mark Salter <msalter@redhat.com>
13439
13440 * elf/elf.h
13441 (R_MN10300_TLS_GD): Define.
13442 (R_MN10300_TLS_LD): Likewise.
13443 (R_MN10300_TLS_LDO): Likewise.
13444 (R_MN10300_TLS_GOTIE): Likewise.
13445 (R_MN10300_TLS_IE): Likewise.
13446 (R_MN10300_TLS_LE): Likewise.
13447 (R_MN10300_TLS_DTPMOD): Likewise.
13448 (R_MN10300_TLS_DTPOFF): Likewise.
13449 (R_MN10300_TLS_TPOFF): Likewise.
13450 (R_MN10300_SYM_DIFF): Likewise.
13451 (R_MN10300_ALIGN): Likewise.
13452 (R_MN10300_NUM): Update.
13453
b36137f1
JM
134542012-08-08 Joseph Myers <joseph@codesourcery.com>
13455
13456 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13457 Remove.
13458
cdd915fd
RM
134592012-08-08 Roland McGrath <roland@hack.frob.com>
13460
a2433aac
RM
13461 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13462
cdd915fd
RM
13463 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13464 sysdeps/unix -> sysdeps/posix move.
13465 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13466
bf9b740a
AM
134672012-08-07 Allan McRae <allan@archlinux.org>
13468
13469 [BZ #14303]
13470 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13471 (SUNOS_CPP): Likewise.
13472 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13473 not found.
13474 (open_input): Call CPP using execvp.
13475
93df14ee
JM
134762012-08-07 Joseph Myers <joseph@codesourcery.com>
13477
13478 * sysdeps/unix/sysv/linux/kernel-features.h
13479 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13480 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13481 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13482 (__ASSUME_WAITID_SYSCALL): Likewise.
13483 * sysdeps/unix/sysv/linux/dl-execstack.c
13484 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13485 code unconditional.
13486 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13487 conditional code.
13488 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13489 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13490 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13491 code.
13492 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13493 unconditional.
13494 [__ASSUME_WAITID_SYSCALL]: Likewise.
13495 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13496
d34689de
RM
134972012-08-07 Roland McGrath <roland@hack.frob.com>
13498
a281decc
RM
13499 * sysdeps/unix/closedir.c: Renamed to ...
13500 * sysdeps/posix/closedir.c: ... here.
13501 * sysdeps/unix/dirfd.c: Renamed to ...
13502 * sysdeps/posix/dirfd.c: ... here.
13503 * sysdeps/unix/dirstream.h: Renamed to ...
13504 * sysdeps/posix/dirstream.h: ... here.
13505 * sysdeps/unix/fdopendir.c: Renamed to ...
13506 * sysdeps/posix/fdopendir.c: ... here.
13507 * sysdeps/unix/opendir.c: Renamed to ...
13508 * sysdeps/posix/opendir.c: ... here.
13509 * sysdeps/unix/readdir.c: Renamed to ...
13510 * sysdeps/posix/readdir.c: ... here.
13511 * sysdeps/unix/readdir_r.c: Renamed to ...
13512 * sysdeps/posix/readdir_r.c: ... here.
13513 * sysdeps/unix/rewinddir.c: Renamed to ...
13514 * sysdeps/posix/rewinddir.c: ... here.
13515 * sysdeps/unix/seekdir.c: Renamed to ...
13516 * sysdeps/posix/seekdir.c: ... here.
13517 * sysdeps/unix/telldir.c: Renamed to ...
13518 * sysdeps/posix/telldir.c: ... here.
13519 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13520 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13521 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13522 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13523
22895b47
RM
13524 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13525 * bits/fcntl.h: ... here.
13526
707a53b6
RM
13527 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13528 not 0.
13529 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13530 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13531 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13532 (struct flock): Move l_start, l_len to the beginning.
13533 Use __pid_t for l_pid.
13534 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13535 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13536 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13537 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13538 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13539 [__USE_LARGEFILE64] (struct flock64): New type.
13540 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13541
f0bd3e25
RM
13542 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13543 * bits/dirent.h: ... here.
13544
d34689de
RM
13545 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13546 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13547
6dad2c06
JM
135482012-08-07 Joseph Myers <joseph@codesourcery.com>
13549
13550 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13551 Change from 2.6.0 to 2.6.16.
13552 * sysdeps/unix/sysv/linux/configure: Regenerated.
13553 * sysdeps/unix/sysv/linux/kernel-features.h
13554 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13555 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13556 version.
13557 (__ASSUME_UTIMES): Likewise.
13558 (__ASSUME_CLONE_STOPPED): Remove.
13559 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13560 architectures, not kernel version.
13561 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13562 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13563 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13564 (__ASSUME_WAITID_SYSCALL): Likewise.
13565 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13566 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13567 * README: State 2.6.16 as minimum Linux kernel version. Do not
13568 refer to older versions.
13569
03af9520
RM
135702012-08-06 Roland McGrath <roland@hack.frob.com>
13571
8e49df1d
RM
13572 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13573 Define alphasort64 as an alias.
13574 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13575 Define versionsort64 as an alias.
13576 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13577 Define scandir64 as an alias.
13578 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13579 Define scandirat64 as an alias.
13580 * dirent/alphasort64.c (alphasort64):
13581 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13582 * dirent/versionsort64.c: Likewise.
13583 * dirent/scandir64.c: Likewise.
13584 * dirent/scandirat64.c: Likewise.
13585 * sysdeps/wordsize-64/alphasort.c: File removed.
13586 * sysdeps/wordsize-64/alphasort64.c: File removed.
13587 * sysdeps/wordsize-64/scandir.c: File removed.
13588 * sysdeps/wordsize-64/scandir64.c: File removed.
13589 * sysdeps/wordsize-64/scandirat.c: File removed.
13590 * sysdeps/wordsize-64/scandirat64.c: File removed.
13591 * sysdeps/wordsize-64/versionsort.c: File removed.
13592 * sysdeps/wordsize-64/versionsort64.c: File removed.
13593 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13594 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13595 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13596 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13597 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13598 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13599 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13600 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13601
13602 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13603 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13604 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13605 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13606 [defined __arch64__ || defined __sparcv9]
13607 (__INO_T_MATCHES_INO64_T): New macro.
13608 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13609 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13610 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13611 * sysdeps/unix/sysv/linux/bits/dirent.h
13612 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13613 (_DIRENT_MATCHES_DIRENT64): New macro.
13614
03af9520
RM
13615 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13616 Define lockf64 as an alias.
13617 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13618 Define fseeko64 as an alias.
13619 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13620 Define ftello64 as an alias.
13621 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13622 Define _IO_fgetpos64 and fgetpos64 as aliases.
13623 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13624 Define _IO_fsetpos64 and fsetpos64 as aliases.
13625 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13626 Conditionalize body on this.
13627 * libio/fseeko64.c: Likewise.
13628 * libio/ftello64.c: Likewise.
13629 * libio/iofgetpos64.c: Likewise.
13630 * libio/iofsetpos64.c: Likewise.
13631 * sysdeps/wordsize-64/lockf.c: File removed.
13632 * sysdeps/wordsize-64/lockf64.c: File removed.
13633 * sysdeps/wordsize-64/fseeko.c: File removed.
13634 * sysdeps/wordsize-64/fseeko64.c: File removed.
13635 * sysdeps/wordsize-64/ftello.c: File removed.
13636 * sysdeps/wordsize-64/ftello64.c: File removed.
13637 * sysdeps/wordsize-64/iofgetpos.c: File removed.
13638 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13639 * sysdeps/wordsize-64/iofsetpos.c: File removed.
13640 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13641 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13642 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13643 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13644 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13645 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13646 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13647 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13648 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13649 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13650 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13651
13652 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13653 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13654 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13655 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13656 [defined __arch64__ || defined __sparcv9]
13657 (__OFF_T_MATCHES_OFF64_T): New macro.
13658 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13659 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13660 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13661 (__OFF_T_MATCHES_OFF64_T): New macro.
13662
c5757acd
L
136632012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13664
13665 * stdlib/secure-getenv.c (__secure_getenv): Replace
13666 GLIBC_2_16 with GLIBC_2_17.
13667
3a31811e
L
136682012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13669
13670 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13671 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13672
faa2bccb
DM
136732012-08-03 David S. Miller <davem@davemloft.net>
13674
13675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13676
85fe1997
JM
136772012-08-03 Joseph Myers <joseph@codesourcery.com>
13678
13679 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13680 Remove.
13681 (__ASSUME_CORRECT_SI_PID): Likewise.
13682 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13683 (__ASSUME_TMPFS_NAME): Likewise.
13684 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13685 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13686 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13687 (HAVE_AUX_SECURE): Make definition unconditional.
13688 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13689 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13690
4f75b7a0
RM
136912012-08-03 Roland McGrath <roland@hack.frob.com>
13692
13693 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13694 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13695 * sysdeps/mach/hurd/eloop-threshold.h: New file.
13696 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13697 __eloop_threshold instead of SYMLOOP_MAX.
13698
13699 * sysdeps/generic/eloop-threshold.h: New file.
13700 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13701 of MAXSYMLINKS.
13702 * elf/chroot_canon.c (chroot_canon): Likewise.
13703
7aab07e4
JM
137042012-08-03 Joseph Myers <joseph@codesourcery.com>
13705
13706 [BZ #13717]
13707 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13708 Change to 2.6.0 everywhere.
13709 * sysdeps/unix/sysv/linux/configure: Regenerated.
13710 * sysdeps/unix/sysv/linux/kernel-features.h
13711 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13712 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13713 kernel versions.
13714 (__ASSUME_POSIX_TIMERS): Define unconditionally.
13715 (__ASSUME_FUTEX_REQUEUE): Remove.
13716 (__ASSUME_STATFS64): Define unconditionally.
13717 (__ASSUME_AT_SECURE): Likewise.
13718 (__ASSUME_CORRECT_SI_PID): Likewise.
13719 (__ASSUME_TGKILL): Define without depending on kernel version for
13720 i386.
13721 (__ASSUME_UTIMES): Likewise.
13722 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13723 kernel version.
13724 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13725 (__ASSUME_TMPFS_NAME): Likewise.
13726 * README: Update reference to Linux kernel versions.
13727
b67e9372
MP
137282012-08-02 Marek Polacek <polacek@redhat.com>
13729
1f529f7d 13730 [BZ# 14150]
b67e9372
MP
13731 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
13732 libc_cv_asm_type_prefix with %.
13733 * configure: Regenerated.
d2441631
RM
13734 * include/libc-symbols.h: Remove comment about
13735 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
13736 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13737 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13738 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13739 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13740 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13741 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13742 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13743 * elf/tst-unique2mod1.c: Likewise.
13744 * elf/tst-unique1mod2.c: Likewise.
13745 * elf/tst-unique1mod1.c: Likewise.
13746 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13747 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13748 Replace ASM_TYPE_DIRECTIVE with .type.
13749 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13750 * sysdeps/i386/sysdep.h: Likewise.
13751 * sysdeps/x86_64/sysdep.h: Likewise.
13752 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
13753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13754 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 13755 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
13756 * sysdeps/powerpc/powerpc32/sysdep.h:
13757 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
13758 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13759 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13760 * sysdeps/i386/fpu/e_powf.S: Likewise.
13761 * sysdeps/i386/fpu/e_expl.S: Likewise.
13762 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13763 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13764 * sysdeps/i386/fpu/e_pow.S: Likewise.
13765 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13766 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13767 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13768 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13769 * sysdeps/i386/fpu/e_log2.S: Likewise.
13770 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13771 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13772 * sysdeps/i386/fpu/e_powl.S: Likewise.
13773 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13774 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13775 * sysdeps/i386/fpu/e_logl.S: Likewise.
13776 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13777 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13778 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13779 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13780 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13781 * sysdeps/i386/fpu/e_log.S: Likewise.
13782 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13783 * sysdeps/i386/fpu/e_logf.S: Likewise.
13784 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13785 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13786 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13787 * sysdeps/i386/fpu/e_log10.S: Likewise.
13788 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13789 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13790 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13791 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13792 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13793 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13794 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13795 * sysdeps/i386/i686/strtok.S: Likewise.
13796 * sysdeps/i386/i386-mcount.S: Likewise.
13797 * sysdeps/i386/strtok.S: Likewise.
13798 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13799 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13800 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13801 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13802 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13803 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13804 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13805 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13806 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13807 * sysdeps/x86_64/_mcount.S: Likewise.
13808 * sysdeps/x86_64/strtok.S: Likewise.
13809 * sysdeps/sh/_mcount.S: Likewise.
13810
2747bf9a
RM
138112012-08-01 Roland McGrath <roland@hack.frob.com>
13812
13813 * libio/iofopen.c: Include <fcntl.h>.
13814 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13815 (_IO_fopen64, fopen64): Define as aliases.
13816 * libio/iofopen64.c: Include <fcntl.h>.
13817 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13818 Conditionalize body on this.
13819 * sysdeps/wordsize-64/iofopen.c: File removed.
13820 * sysdeps/wordsize-64/iofopen64.c: File removed.
13821
3fb791b8
MP
138222012-08-01 Marek Polacek <polacek@redhat.com>
13823
13824 * libc/Makeconfig: Use elf in place of binfmt-subdir.
13825 Use dlfcn directly instead of a variable.
13826 (binfmt-subdir): Do not define.
13827 (dlfcn): Likewise.
13828
a9f1039f
JM
138292012-08-01 Joseph Myers <joseph@codesourcery.com>
13830
23bddc06
JM
13831 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
13832 Remove all definitions.
13833 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
13834 <kernel-features.h>.
13835 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13836 (miss_F_GETOWN_EX): Remove all definitions.
13837 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
13838 macro definition.
13839 [!__ASSUME_FCNTL64]: Remove conditional code.
13840 [__ASSUME_FCNTL64]: Make code unconditional.
13841 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
13842 <kernel-features.h>.
13843 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13844 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
13845 (lockf64) [__NR_fcntl64]: Make code unconditional.
13846 (lockf64) [__ASSUME_FCNTL64]: Likewise.
13847
a9f1039f
JM
13848 * sysdeps/unix/sysv/linux/kernel-features.h
13849 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
13850 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
13851 Make code unconditional.
13852 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13853 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
13855 [__NR_vfork]: Make code unconditional.
13856 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13857 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
13859 [__NR_vfork]: Make code unconditional.
13860 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13861 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13862
09c0ee5f
RM
138632012-08-01 Roland McGrath <roland@hack.frob.com>
13864
48aec5b9
RM
13865 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
13866 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
13867
cd97c966
RM
13868 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13869 Define mkstemp64 as an alias.
3f55550c
RM
13870 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13871 Define mkstemps64 as an alias.
cd97c966
RM
13872 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13873 Define mkostemp64 as an alias.
b8625cfc
RM
13874 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13875 Define mkostemps64 as an alias.
cd97c966
RM
13876 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
13877 Conditionalize body on this.
13878 * misc/mkostemp64.c: Likewise.
b8625cfc 13879 * misc/mkostemps64.c: Likewise.
3f55550c 13880 * misc/mkstemps64.c: Likewise.
cd97c966
RM
13881 * sysdeps/wordsize-64/mkstemp64.c: File removed.
13882 * sysdeps/wordsize-64/mkostemp64.c: File removed.
13883 * sysdeps/wordsize-64/mkostemp.c: File removed.
13884 * sysdeps/wordsize-64/mkstemp.c: File removed.
13885 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
13886 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
13887 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
13888 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
13889
09c0ee5f
RM
13890 [BZ #14138]
13891 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
13892 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
13893 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
13894 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
13895
13896 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
13897 compat_symbol macros from <shlib-compat.h> rather than the underlying
13898 default_symbol_version and symbol_version macros, so that DEFAULT
13899 lines in shlib-versions are respected.
13900 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
13901
7e66ee51
FW
139022012-08-01 Florian Weimer <fweimer@redhat.com>
13903
13904 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
13905 Declare with warn_unused_result.
13906 (setgid, setregid, setegid, setresgid): Likewise.
13907 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
13908 Likewise.
13909 * WUR-REPORT: Remove set*id functions.
13910
d2a54255
PT
139112012-07-31 Pino Toscano <toscano.pino@tiscali.it>
13912
13913 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
13914
7ecdb005
RM
139152012-07-31 Roland McGrath <roland@hack.frob.com>
13916
b4180a5e 13917 [BZ #10191]
789bd351
RM
13918 * include/sys/socket.h (__libc_accept, __libc_accept4):
13919 Add attribute_hidden.
13920 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
13921
40ce302d
RM
13922 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
13923 use of PTR_MANGLE.
13924 * inet/getnetgrent_r.c (setup): Likewise.
13925
7ecdb005
RM
13926 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
13927
e2eabb2c
DM
139282012-07-31 David S. Miller <davem@davemloft.net>
13929
13930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13931
d0419dbf
JM
139322012-07-31 Joseph Myers <joseph@codesourcery.com>
13933
13934 [BZ #13629]
13935 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
13936 value between 1.0 and 2.0 and smaller part has absolute value less
13937 than 1.0.
13938 * math/s_clog10.c (__clog10): Likewise.
13939 * math/s_clog10f.c (__clog10f): Likewise.
13940 * math/s_clog10l.c (__clog10l): Likewise.
13941 * math/s_clogf.c (__clogf): Likewise.
13942 * math/s_clogl.c (__clogl): Likewise.
13943 * math/libm-test.inc (clog_test): Add more tests.
13944 (clog10_test): Likewise.
13945 * sysdeps/i386/fpu/libm-test-ulps: Update.
13946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13947
2bc13872
FW
139482012-07-31 Florian Weimer <fweimer@redhat.com>
13949
13950 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
13951 Exit with zero in case no suitable GID is found, and write a
13952 message to standard error.
13953
bea9b193
RM
139542012-07-30 Roland McGrath <roland@hack.frob.com>
13955
13956 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
13957 rather than to 1.
13958 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
13959 (MAXPATHLEN): Removed.
13960 (NOGROUP, NODEV): New macros.
13961 (setbit, clrbit, isset, isclr): New macros.
13962 (howmany, roundup, powerof2): New macros.
13963 (DEV_BSIZE): New macro.
13964
13965 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
13966 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
13967
13968 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
13969 definition on [!__NO_LONG_DOUBLE_MATH].
13970
13971 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
13972 PTR_MANGLE and PTR_DEMANGLE.
13973
13974 * socket/accept4.c (accept4): Rename to __libc_accept4.
13975 Define accept4 as a weak alias.
13976
13977 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
13978 on [_DIRENT_HAVE_D_TYPE].
13979 * io/ftw.c (ftw_dir): Likewise.
13980
13981 * io/xmknod.c (__xmknod): Don't check PATH for being null.
13982
13983 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
13984
13985 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
13986 Use the BSD numbers rather than the arbitrary ones we had.
13987 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
13988 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
13989 (SIGXCPU, SIGXFSZ): New macros.
13990 (_NSIG): Now 32.
13991
13992 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
13993 initializer on [_LIBC_REENTRANT].
13994
13995 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
13996 definitions inside [_POSIX_MAPPED_FILES].
13997
13998 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
13999
14000 * dirent/opendir.c: Include <fcntl.h>.
14001
14002 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14003 (__libc_getspecific): Likewise.
14004 (__libc_key_create): Likewise.
14005
14006 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14007 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14008 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14009 (tmpfile64): Define as alias.
14010 * sysdeps/wordsize-64/tmpfile.c: File removed.
14011 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14012 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14013 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14014
14015 * stdio-common/vfscanf.c: Include <stdbool.h>.
14016 * nss/makedb.c: Likewise.
14017 * stdio-common/_i18n_number.h: Likewise.
14018 * argp/argp-help.c: Likewise.
14019 * posix/wordexp.c: Likewise.
14020 * sysdeps/posix/spawni.c: Likewise.
14021 * nss/nss_files/files-initgroups.c: Likewise.
14022 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14023 * nss/nss_files/files-initgroups.c: Likewise.
14024 * nss/nss_db/db-netgrp.c: Likewise.
14025 * nss/nss_db/db-initgroups.c: Likewise.
14026 * io/fchmodat.c: Include <sys/stat.h>.
14027
14028 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14029 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14030
14031 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14032 [HAVE_MMAP].
14033
14034 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14035 Add multiple inclusion protection.
14036
e5abc686
DM
140372012-07-27 David S. Miller <davem@davemloft.net>
14038
14039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14040
815e6fa3
GB
140412012-07-27 Gary Benson <gbenson@redhat.com>
14042
14043 [BZ #14298]
14044 * elf/rtld.c: Include <stap-probe.h>.
14045 (dl_main): Added static probes "init_start" and "init_complete".
14046 * elf/dl-load.c: Include <stap-probe.h>.
14047 (lose): Take new parameter "nsid".
14048 Added static probe "map_failed".
14049 (_dl_map_object_from_fd): Pass namespace id to lose.
14050 Added static probe "map_start".
14051 (open_verify): Pass namespace id to lose.
14052 * elf/dl-open.c: Include <stap-probe.h>.
14053 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14054 and "reloc_complete".
14055 * elf/dl-close.c: Include <stap-probe.h>.
14056 (_dl_close_worker): Added static probes "unmap_start" and
14057 "unmap_complete".
14058 * elf/rtld-debugger-interface.txt: New file documenting the above.
14059
9f98c16c
RM
140602012-07-26 Roland McGrath <roland@hack.frob.com>
14061
14062 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14063 rather than a string variable.
14064 * sunrpc/rpc_main.c (h_output): Likewise.
14065 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14066
f3c22df3
PT
140672012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14068
14069 * inet/check_native.c: New file.
14070
3129cfc6
JM
140712012-07-26 Joseph Myers <joseph@codesourcery.com>
14072
da865e95
JM
14073 [BZ #13629]
14074 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14075 if larger part has absolute value 1.0.
14076 * math/s_clog10.c (__clog10): Likewise.
14077 * math/s_clog10f.c (__clog10f): Likewise.
14078 * math/s_clog10l.c (__clog10l): Likewise.
14079 * math/s_clogf.c (__clogf): Likewise.
14080 * math/s_clogl.c (__clogl): Likewise.
14081 * math/libm-test.inc (clog_test): Add more tests.
14082 (clog10_test): Likewise.
14083 * sysdeps/i386/fpu/libm-test-ulps: Update.
14084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14085
3129cfc6
JM
14086 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14087 (pltexit): Likewise.
14088 (La_regs): Likewise.
14089 (La_retval): Likewise.
14090 (int_retval): Likewise.
14091 Update #error for removed macros to refer only to definitions in
14092 tst-audit.h.
14093 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14094 macro.
14095 (pltexit): Likewise.
14096 (La_regs): Likewise.
14097 (La_retval): Likewise.
14098 (int_retval): Likewise.
14099 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14100 macro.
14101 (pltexit): Likewise.
14102 (La_regs): Likewise.
14103 (La_retval): Likewise.
14104 (int_retval): Likewise.
14105 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14106 macro.
14107 (pltexit): Likewise.
14108 (La_regs): Likewise.
14109 (La_retval): Likewise.
14110 (int_retval): Likewise.
14111 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14112 macro.
14113 (pltexit): Likewise.
14114 (La_regs): Likewise.
14115 (La_retval): Likewise.
14116 (int_retval): Likewise.
14117 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14118 macro.
14119 (pltexit): Likewise.
14120 (La_regs): Likewise.
14121 (La_retval): Likewise.
14122 (int_retval): Likewise.
14123 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14124 macro.
14125 (pltexit): Likewise.
14126 (La_regs): Likewise.
14127 (La_retval): Likewise.
14128 (int_retval): Likewise.
14129 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14130 macro definitions in tst-audit.h.
14131 * sysdeps/i386/tst-audit.h: New file.
14132 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14133 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14134 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14135 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14136 * sysdeps/sh/tst-audit.h: Likewise.
14137 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14138 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14139 * sysdeps/x86_64/tst-audit.h: Likewise.
14140
bfc07087
AJ
141412012-07-26 Andreas Jaeger <aj@suse.de>
14142
b1b2aaf8
AJ
14143 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14144 ptrace.
14145
14146 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14147 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14148 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14149 PTRACE_O_MASK.
14150 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14151 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14152 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14153
bfc07087
AJ
14154 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14155 value.
14156
14157 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14158 _sigsys.
14159 (si_call_addr, si_syscall, si_arch): Define new macro.
14160 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14161 _sigsys.
14162 (si_call_addr, si_syscall, si_arch): Define new marcro.
14163 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14164 _sigsys.
14165 (si_call_addr, si_syscall, si_arch): Define new macro.
14166 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14167 _sigsys.
14168 (si_call_addr, si_syscall, si_arch): Define new macro.
14169
89b4b02f
JM
141702012-07-25 Joseph Myers <joseph@codesourcery.com>
14171
14172 [BZ #13717]
14173 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14174 Change to 2.4.21 where previously 2.4.1.
14175 * sysdeps/unix/sysv/linux/configure: Regenerated.
14176 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14177 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14178 Linux kernel version.
14179 (__ASSUME_STD_AUXV): Remove.
14180 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14181 kernel version.
14182 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14183 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14184 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14185 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14186 (__ASSUME_NETLINK_SUPPORT): Likewise.
14187 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14188 (__no_netlink_support): Remove conditional definition.
14189 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14190 Remove.
14191 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14192 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14193 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14194 (if_nameindex_ioctl): Remove.
14195 (if_nameindex_netlink): Do not handle __no_netlink_support.
14196 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14197 code.
14198 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14199 Remove conditional code.
14200 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14201 code.
14202 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14203 unconditional.
14204 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14205 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14206 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14207 Remove.
14208 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14209 [!__ASSUME_STD_AUXV]: Remove conditional code.
14210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14211 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14212 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14214 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14215 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14216 code.
14217 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14219 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14220 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14221 conditional code.
14222 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14224 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14225 code.
14226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14227 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14228 conditional code.
14229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14230 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14231 code unconditional.
14232 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14233 conditional code.
14234 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14235 unconditional.
14236 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14237 conditional code.
14238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14239 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14240 unconditional.
14241 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14242 conditional code.
14243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14244 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14245 code unconditional.
14246 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14247 conditional code.
14248 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14249 unconditional.
14250 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14251 conditional code.
14252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14253 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14254 code unconditional.
14255 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14256 conditional code.
14257 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14258 unconditional.
14259 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14260 conditional code.
14261
842a39cd
AS
142622012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14263
14264 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14265 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14266 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14267 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14268 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14269 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14270 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14271 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14272 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14273 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14274 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14275 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14276 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14277 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14278 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14279 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14280 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14281 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14282 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14283 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14284 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14285 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14286 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14287
84b3fd84
FW
142882012-07-25 Florian Weimer <fweimer@redhat.com>
14289
14290 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14291 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14292 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14293 Introduce __libc_secure_getenv.
0c7936d5
FW
14294 * stdlib/Versions (2.17): Add secure_getenv
14295 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14296 * stdlib/secure-getenv.c: Rename __secure_getenv to
14297 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14298 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14299 * stdlib/tst-secure-getenv.c: New.
14300 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14301 * manual/startup.texi (Environment Access): Document
14302 secure_getenv.
84b3fd84
FW
14303 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14304 __libc_secure_getenv.
14305 * inet/ruserpass.c (ruserpass): Likewise.
14306 * malloc/mtrace.c (mtrace): Likewise.
14307 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14308 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14309 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14310 * sysdeps/posix/tempname.c: Likewise. Evaluate
14311 HAVE_SECURE_GETENV.
14312 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 14313 __secure_getenv to __libc_secure_getenv.
84b3fd84 14314 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
14315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14316 Likewise.
14317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14318 Likewise.
14319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14320 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14321 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14323 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 14326
56e49b71
JM
143272012-07-25 Joseph Myers <joseph@codesourcery.com>
14328
14329 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14330 (struct La_i86_retval): Likewise.
14331 (struct La_x86_64_regs): Likewise.
14332 (struct La_x86_64_retval): Likewise.
14333 (struct La_x32_regs): Likewise.
14334 (struct La_x32_retval): Likewise.
14335 (struct La_ppc32_regs): Likewise.
14336 (struct La_ppc32_retval): Likewise.
14337 (struct La_ppc64_regs): Likewise.
14338 (struct La_ppc64_retval): Likewise.
14339 (struct La_sh_regs): Likewise.
14340 (struct La_sh_retval): Likewise.
14341 (struct La_s390_32_regs): Likewise.
14342 (struct La_s390_32_retval): Likewise.
14343 (struct La_s390_64_regs): Likewise.
14344 (struct La_s390_64_retval): Likewise.
14345 (struct La_sparc32_regs): Likewise.
14346 (struct La_sparc32_retval): Likewise.
14347 (struct La_sparc64_regs): Likewise.
14348 (struct La_sparc64_retval): Likewise.
14349 (struct audit_ifaces): Remove architecture-specific pltenter and
14350 pltexit members.
14351 * sysdeps/i386/ldsodefs.h: New file.
14352 * sysdeps/powerpc/ldsodefs.h: Likewise.
14353 * sysdeps/s390/ldsodefs.h: Likewise.
14354 * sysdeps/sh/ldsodefs.h: Likewise.
14355 * sysdeps/sparc/ldsodefs.h: Likewise.
14356 * sysdeps/x86_64/ldsodefs.h: Likewise.
14357
354691b7
MP
143582012-07-25 Marek Polacek <polacek@redhat.com>
14359
14360 [BZ #6808]
14361 * math/libm-test.inc (yn_test): Add another test.
14362 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14363 to ERANGE when the result is +-Inf.
14364 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14365 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14366 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14367 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14368
bf9e2071
JM
143692012-07-24 Joseph Myers <joseph@codesourcery.com>
14370
14371 * conform/data/time.h-data (NULL): Use macro-constant. Require
14372 equal to 0.
14373 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14374 clock_t.
14375 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14376
57633811
TS
143772012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14378
14379 * configure.in <sysdeps resolving>: Correct printing
14380 Implies_before.
14381 * configure: Regenerate.
14382
c23c33b0
TS
143832012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14384
14385 * math/w_ilogb.c: Include <limits.h>.
14386 * math/w_ilogbl.c: Likewise.
14387
b5982523
JM
143882012-07-20 Joseph Myers <joseph@codesourcery.com>
14389
14390 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14391 va_copy. Document allowing for unavailable va_copy only as
14392 pre-C99 compatibility.
14393 * manual/string.texi (Copying and Concatenation): Use va_copy
14394 instead of __va_copy in concat example.
14395
ac4ea442
PT
143962012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14397
14398 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14399 (__sendto): Use create_address_port. Initialize APORT and deallocate
14400 it if not null.
14401
f98eafbd
PT
14402 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14403 with O_NOLINK passed to __file_name_lookup.
14404
898c7aab
PT
14405 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14406 with O_NOLINK passed to __file_name_lookup.
14407
0ced335a
PT
14408 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14409 negative N or less than NGIDS.
14410
b3404dbd
PT
14411 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14412 type to string_t. Set ERANGE as errno and return it if NAME is not big
14413 enough. Use memcpy instead of strncpy.
14414
0f48659e
JM
144152012-07-20 Joseph Myers <joseph@codesourcery.com>
14416
14417 * elf/Makefile (check-data): Remove.
14418 (localplt.data): New vpath directive.
14419 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14420 instead of $(check-data).
14421 * scripts/data/localplt-generic.data: Move to ...
14422 * sysdeps/generic/localplt.data: ... here.
14423 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14424 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14425 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14427 ... here.
14428 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14430 ... here.
14431 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14433 ... here.
14434 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14436 ... here.
14437 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14439 ... here.
14440 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14442 ... here.
14443
d37cbdaa
AZ
144442012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14445
14446 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14447 PPC32 and PPC64 files.
14448 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14449 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14450
46f85fc2
AK
144512012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14452
14453 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14454 __makecontext_ret to ...
14455 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14456 ... here and call exit if uc_link is NULL. New file.
14457 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14458 __makecontext_ret.S.
14459 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14460 __makecontext_ret to ...
14461 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14462 ... here and call exit if uc_link is NULL. New file.
14463 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14464 __makecontext_ret.S.
14465
08f43f9b
AK
144662012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14467
14468 * elf/elf.h (R_390_IRELATIVE): New definition.
14469 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14470 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14471 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14472 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14473 (elf_machine_lazy_rel): Likewise.
14474 * sysdeps/s390/dl-irel.h: New file.
14475 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14476 * sysdeps/s390/s390-64/memset.S: New asm code.
14477 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14478 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14479 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14480 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14481 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14482 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14483 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14484 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14485 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14486 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14487 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14488 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14489 * sysdeps/s390/s390-32/memset.S: New asm code.
14490 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14491
3b05db33
MP
144922012-07-17 Marek Polacek <polacek@redhat.com>
14493
14494 [BZ #14349]
14495 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14496 * sysdeps/s390/s390-64/configure.in: Likewise.
14497 * sysdeps/sparc/configure.in: Likewise.
14498 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14499 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14500 * sysdeps/i386/configure.in: Likewise.
14501 * sysdeps/x86_64/configure.in: Likewise.
14502 * sysdeps/sh/configure.in: Likewise.
14503 * sysdeps/s390/s390-32/configure: Regenerated.
14504 * sysdeps/s390/s390-64/configure: Likewise.
14505 * sysdeps/x86_64/configure: Likewise.
14506 * sysdeps/sh/configure: Likewise.
14507 * sysdeps/powerpc/powerpc64/configure: Likewise.
14508 * sysdeps/powerpc/powerpc32/configure: Likewise.
14509 * sysdeps/sparc/configure: Likwise.
14510 * sysdeps/i386/configure: Likewise.
14511
a66877c6
MP
14512 * elf/dl-open.c: Comment fixes.
14513
cfc82fd8
JM
145142012-07-17 Joseph Myers <joseph@codesourcery.com>
14515
bd29910a
JM
14516 * Makefile [CXX] (check-data): Remove.
14517 [CXX] (c++-types.data): New vpath directive.
14518 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14519 vpath. Do not allow for C++ type data being missing.
14520 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14521 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14522 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14523 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14524 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14525 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14526 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14528 ... here.
14529 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14531 ... here.
14532 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14534 ... here.
14535 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14537 ... here.
14538 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14540 ... here.
14541 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14542 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14543 ... here.
14544 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14545 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14546 ... here.
14547 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14549
cfc82fd8
JM
14550 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14551 definitions to architecture-specific files.
14552 (TLS_IE): Likewise.
14553 (TLS_LD): Likewise.
14554 (TLS_GD): Likewise.
14555 * sysdeps/i386/tls-macros.h: New file.
14556 * sysdeps/powerpc/tls-macros.h: Likewise.
14557 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14558 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14559 * sysdeps/sh/tls-macros.h: Likewise.
14560 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14561 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14562 * sysdeps/x86_64/tls-macros.h: Likewise.
14563
f7db3170
TS
145642012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14565
07cbfc23
TS
14566 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14567 zero value for regular exit case.
14568
f7db3170
TS
14569 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14570 (__start_context): Preserve zero value for regular exit case.
14571
dc97c227
TS
145722012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14573 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14574
14575 * manual/setjmp.texi (setcontext): Clarify normal process
14576 termination when uc_link is the null pointer.
14577 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14578 exit call.
14579
d0cd7d02
AS
145802012-07-16 Andreas Schwab <schwab@linux-m68k.org>
14581
14582 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14583 preprocessor. Test for each exception mask separately.
14584
dd318934
AJ
145852012-07-16 Andreas Jaeger <aj@suse.de>
14586
14587 * po/ru.po: Update from translation team.
14588
8048311a
JM
145892012-07-15 Joseph Myers <joseph@codesourcery.com>
14590
14591 * conform/data/string.h-data (NULL): Use macro-constant. Require
14592 equal to 0.
14593 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14594 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14595 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14596 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14597 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14598
b637d46e
AJ
145992012-07-13 Andreas Jaeger <aj@suse.de>
14600
14601 * po/fr.po: Update from translation team.
14602
541428fe
MP
146032012-07-12 Marek Polacek <polacek@redhat.com>
14604
14605 [BZ #14173]
14606 * math/libm-test.inc (yn_test): Add test for BZ #14173.
14607 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14608 loop condition.
14609
ec332e94
JM
146102012-07-12 Joseph Myers <joseph@codesourcery.com>
14611
14612 [BZ #13717]
14613 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14614 Change to 2.4.1 where previously 2.4.0.
14615 * sysdeps/unix/sysv/linux/configure: Regenerated.
14616 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14617 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14618 version.
14619 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14620 (__ASSUME_AT_CLKTCK): Remove.
14621 (__ASSUME_AT_PAGESIZE): Likewise.
14622 (__ASSUME_AT_XID): Likewise.
14623 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14624 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14625 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14626 unconditionally.
14627 (HAVE_AUX_PAGESIZE): Likewise.
14628 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14629 [__ASSUME_AT_CLKTCK]: Make code unconditional.
14630 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14631
7b6e99be
JB
146322012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
14633
14634 [BZ #14307]
14635 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14636 the temporary buffer used to invoke __gethostbyname2_r,
14637 __gethostbyaddr_r and gethostbyname4_r to make room for struct
14638 host_data / struct gaih_addrtuple.
14639 * resolv/nss_dns/dns-host.c (global scope): Move definition of
14640 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14641 header file nss/nsswitch.h.
14642 * nss/nsswitch.h (global scope): Add definition of implementation
14643 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14644 resolv/nss_dns/dns-host.c).
14645
608404eb
AJ
146462012-07-11 Andreas Jaeger <aj@suse.de>
14647
14648 * po/fr.po: Update from translation team.
14649
71220aca
AJ
14650 * po/sv.po: Update from translation team
14651 * po/fr.po: Another update from translation team.
14652
28cfe843
AZ
146532012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14654
14655 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14656 for subnormals or multiply small sinh result by itself.
14657 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14659
6b90f981
DM
146602012-07-11 David S. Miller <davem@davemloft.net>
14661
14662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14663
c6825772
AS
146642012-07-10 Andreas Schwab <schwab@linux-m68k.org>
14665
14666 [BZ #14347]
14667 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14668 (INTERNAL_MARK): Shift it here.
14669
7b8e0d49
MP
146702012-07-10 Marek Polacek <polacek@redhat.com>
14671
14672 [BZ #14151]
14673 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
14674 libc_cv_asm_global_directive with .globl.
14675 * configure: Regenerated.
14676 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14677 with .globl.
14678 * sysdeps/i386/configure: Regenerated.
14679 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14680 with .globl.
14681 * sysdeps/x86_64/configure: Regenerated.
14682 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14683 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14684 * elf/tst-unique2mod2.c: Likewise.
14685 * elf/tst-unique2mod1.c: Likewise.
14686 * elf/tst-unique1mod2.c: Likewise.
14687 * elf/tst-unique1mod1.c: Likewise.
14688 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14689 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14690 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14691 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14692 * sysdeps/mach/sysdep.h: Likewise.
14693 * sysdeps/i386/sysdep.h: Likewise.
14694 * sysdeps/i386/i386-mcount.S: Likewise.
14695 * sysdeps/x86_64/_mcount.S: Likewise.
14696 * sysdeps/x86_64/sysdep.h: Likewise.
14697 * sysdeps/sh/_mcount.S: Likewise.
14698 * sysdeps/sh/sysdep.h: Likewise.
14699 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14700 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14701 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14702 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14703 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14704 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14705 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14706 * locale/localeinfo.h: Likewise.
14707 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14708 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14709
6c55cda3
RM
147102012-07-09 Roland McGrath <roland@hack.frob.com>
14711
14712 [BZ #14336]
14713 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14714 system".
14715 * manual/message.texi (The Uniforum approach): Likewise.
14716 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14717 (glibc iconv Implementation): Likewise.
14718
638a572e
JM
147192012-07-09 Joseph Myers <joseph@codesourcery.com>
14720
14721 [BZ #14337]
14722 * math/s_clog.c (__clog): Avoid scaling a value down where that
14723 could result in underflow.
14724 * math/s_clog10.c (__clog10): Likewise.
14725 * math/s_clog10f.c (__clog10f): Likewise.
14726 * math/s_clog10l.c (__clog10l): Likewise.
14727 * math/s_clogf.c (__clogf): Likewise.
14728 * math/s_clogl.c (__clogl): Likewise.
14729 * math/libm-test.inc (clog_test): Add more tests.
14730 (clog10_test): Likewise.
14731 * sysdeps/i386/fpu/libm-test-ulps: Update.
14732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14733
261f4859
AS
147342012-07-06 Andreas Schwab <schwab@linux-m68k.org>
14735
0abaf3e4
AS
14736 [BZ #14283]
14737 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14738 by 7 not 8 to examine high bit of fractional part.
14739
261f4859
AS
14740 [BZ #14042]
14741 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14742 for call to __mcount_internal.
14743 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14744 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14745 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14746
f17ac40d
JM
147472012-07-06 Joseph Myers <joseph@codesourcery.com>
14748
9ad63c23
JM
14749 [BZ #14154]
14750 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14751 approximation for values within 0x1p-13f of an odd multiple of
14752 pi/4.
14753 * math/libm-test.inc (tan_test): Do not allow spurious underflow
14754 exception. Add more tests.
14755 * sysdeps/i386/fpu/libm-test-ulps: Update.
14756
f17ac40d
JM
14757 [BZ #6778]
14758 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14759 inputs and return -1 for them. Do not check for +Inf in case not
14760 reachable for +Inf.
14761 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14762 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14763 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14764 and return -1 for them. Do not check for +Inf in case not
14765 reachable for +Inf.
14766 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14767 define.
14768 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14769 and return -1 for them. Do not check for +Inf in case not
14770 reachable for +Inf.
14771 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
14772 spurious underflow.
14773 * sysdeps/i386/fpu/libm-test-ulps: Update.
14774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14775
fb21f89b
MF
147762012-07-06 Mike Frysinger <vapier@gentoo.org>
14777
14778 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14779
cdfe2c5e
JM
147802012-07-05 Joseph Myers <joseph@codesourcery.com>
14781
14782 [BZ #14157]
14783 [BZ #14331]
14784 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14785 could result in spurious underflow. Scale down values above
14786 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14787 * math/s_csqrtf.c (__csqrtf): Likewise.
14788 * math/s_csqrtl.c (__csqrtl): Likewise.
14789 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
14790 spurious underflow.
14791 * sysdeps/i386/fpu/libm-test-ulps: Update.
14792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14793
70d35b67
AS
147942012-07-04 Andreas Schwab <schwab@linux-m68k.org>
14795
704bc459
AS
14796 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14797 xopen-msg.sed.
14798 * catgets/xopen-msg.awk: New file.
14799 * catgets/xopen-msg.sed: Removed.
14800
70d35b67
AS
14801 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14802 po2text.sed.
14803 * intl/po2test.awk: New file.
14804 * intl/po2test.sed: Removed.
14805
ca61cf32
JM
148062012-07-04 Joseph Myers <joseph@codesourcery.com>
14807
14808 [BZ #14328]
14809 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14810 or multiply small sinh result by itself.
14811 * math/s_ctanf.c (__ctanf): Likewise.
14812 * math/s_ctanh.c (__ctanh): Likewise.
14813 * math/s_ctanhf.c (__ctanhf): Likewise.
14814 * math/s_ctanhl.c (__ctanhl): Likewise.
14815 * math/s_ctanl.c (__ctanl): Likewise.
14816 * math/libm-test.inc (ctan_test_tonearest): New function.
14817 (ctan_test_towardzero): Likewise.
14818 (ctan_test_downward): Likewise.
14819 (ctan_test_upward): Likewise.
14820 (ctanh_test_tonearest): Likewise.
14821 (ctanh_test_towardzero): Likewise.
14822 (ctanh_test_downward): Likewise.
14823 (ctanh_test_upward): Likewise.
14824 (main): Call these new functions.
14825 * sysdeps/i386/fpu/libm-test-ulps: Update.
14826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14827
ca48a46a
MF
148282012-07-03 Mike Frysinger <vapier@gentoo.org>
14829
14830 * .gitignore: Delete /ports entry.
14831
9d63d37d
AJ
148322012-07-03 Andreas Jaeger <aj@suse.de>
14833
14834 * po/bg.po: Update from translation team.
14835 * po/cs.po: Likewise.
14836 * po/de.po: Likewise.
14837 * po/hr.po: Likewise.
14838 * po/nl.pl: Likewise.
14839 * po/pl.po: Likewise.
14840 * po/vi.po: Likewise.
14841
370ca3d2
JM
148422012-07-03 Joseph Myers <joseph@codesourcery.com>
14843
95f5a9a8
JM
14844 * Makeconfig [!+link] (+link-before-libc): New variable.
14845 [!+link] (+link-after-libc): Likewise.
14846 [!+link] (+link-tests): Likewise.
14847 [!+link] (+link): Define in terms of $(+link-before-libc) and
14848 $(+link-after-libc).
14849 [!+link-static] (+link-static-before-libc): New variable.
14850 [!+link-static] (+link-static-after-libc): Likewise.
14851 [!+link-static] (+link-static-tests): Likewise.
14852 [!+link-static] (+link-static): Define in terms of
14853 $(+link-static-before-libc) and $(+link-static-after-libc).
14854 [build-shared] (link-libc-before-gnulib): New variable.
14855 [build-shared] (link-libc-tests): Likewise.
14856 [build-shared] (link-libc): Define in terms of
14857 $(link-libc-before-gnulib).
14858 [!build-shared] (link-libc-tests): New variable.
14859 (link-libc-static-tests): New variable.
14860 [!gnulib] (gnulib-arch): New variable.
14861 [!gnulib] (gnulib-tests): Likewise.
14862 [!gnulib] (static-gnulib-arch): Likewise.
14863 [!gnulib] (static-gnulib-tests): Likewise.
14864 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
14865 Define with "=" instead of ":=".
14866 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
14867 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
14868 * Rules (binaries-all-notests): New variable.
14869 (binaries-all-tests): Likewise.
14870 (binaries-static-notests): Likewise.
14871 (binaries-static-tests): Likewise.
14872 (binaries-all): Define using $(binaries-all-notests) and
14873 $(binaries-all-tests).
14874 (binaries-static): Define using $(binaries-static-notests) and
14875 $(binaries-static-tests).
14876 (binaries-shared-tests): New variable.
14877 (binaries-shared-notests): Likewise.
14878 (binaries-shared): Remove variable.
14879 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
14880 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
14881 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
14882 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
14883 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
14884 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
14885 * elf/Makefile (sln-modules): New variable.
14886 (extra-objs): Add $(sln-modules:=.o).
14887 (ldconfig-modules): Add static-stubs.
14888 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
14889 * elf/static-stubs.c: New file.
14890
7a845b2c
JM
14891 [BZ #14283]
14892 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
14893 by 7 not 8 to examine high bit of fractional part. Use volatile
14894 variables when splitting into final array of floats if
14895 __FLT_EVAL_METHOD__ != 0.
14896 * math/libm-test.inc (cos_test): Add another test.
14897 (sin_test): Likewise.
14898 * sysdeps/i386/fpu/libm-test-ulps: Update.
14899
e2283f38
JM
14900 [BZ #14273]
14901 * math/libm-test.inc (cosh_test): Add more tests.
14902
370ca3d2
JM
14903 * version.h (RELEASE): Set to "development".
14904 (VERSION): Set to "2.16.90".
14905
ee9247c3
CD
149062012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
14907
14908 * NEWS: Update copyright. Remove last-updated date.
14909 Mention math library bug fixes and timezone data changes.
14910 * README: Mention GNU/Hurd, x32, and HPPA support status.
14911
4648c381
TS
149122012-06-28 Thomas Schwinge <thomas@codesourcery.com>
14913
14914 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
14915
aac78a43
AJ
149162012-06-27 Andreas Jaeger <aj@suse.de>
14917
14918 * manual/contrib.texi (Contributors): Add Samuel Thibault.
14919
ed3dbfad
AJ
149202012-06-25 Andreas Jaeger <aj@suse.de>
14921
14922 * sysdeps/s390/fpu/libm-test-ulps: Update.
14923
4d0ee855
AS
149242012-06-23 Andreas Schwab <schwab@linux-m68k.org>
14925 Thomas Schwinge <thomas@codesourcery.com>
14926
14927 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
14928 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
14929 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
14930 fanotify_mark.
14931
af1bce34
TS
149322012-06-23 Thomas Schwinge <thomas@codesourcery.com>
14933
a9fa33ba
TS
14934 * sysdeps/mach/start.c: Remove file.
14935 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
14936 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
14937 * sysdeps/sh/init-first.c: Likewise.
14938
58f902b8
TS
14939 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
14940 registers for frame unwinding purposes, add CFI directives.
14941 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14942 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
14943 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
14944 Likewise.
14945
1518f58b
TS
14946 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
14947 __fortify_fail returning.
14948 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14949
db9b5059
TS
14950 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
14951 sysdeps/sh/____longjmp_chk.S.
14952 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
14953 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
14954 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
14955 (gen-as-const-headers): Append sigaltstack-offsets.sym.
14956
967705fe
TS
14957 * sysdeps/sh/abort-instr.h: New file.
14958 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
14959 process in case exit returns.
14960
a9def8c4
TS
14961 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
14962 initialize the GOT register before use.
14963
2a649725
TS
14964 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
14965 calculation of ARGC > 4.
14966
af1bce34
TS
14967 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
14968 meaningful names to some local labels.
14969
d230f50a
KK
149702012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14971 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14972
14973 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
14974 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
14975 (__arch_compare_and_exchange_val_16_acq): Likewise.
14976 (__arch_compare_and_exchange_val_32_acq): Likewise.
14977 (atomic_exchange_and_add): Fix gUSA sequence.
14978 (atomic_add): Likewise.
14979 (atomic_add_negative): Likewise.
14980 (atomic_add_zero): Likewise.
14981 (atomic_bit_test_set): Likewise.
14982
0479b305
AS
149832012-06-22 Andreas Schwab <schwab@redhat.com>
14984
14985 [BZ #13579]
14986 * include/link.h (struct link_map): Add l_free_initfini.
14987 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
14988 l_initfini.
14989 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
14990 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
14991 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
14992 set.
14993
0e3933b9
CD
149942012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
14995
14996 * configure.in: Use AC_LANG_SOURCE.
14997 * configure: Regenerate.
14998
4248b1b1
RM
149992012-06-22 Roland McGrath <roland@hack.frob.com>
15000
15001 * configure.in (libc_cv_localstatedir): New substituted variable.
15002 * configure: Regenerated.
15003 * config.make.in (localstatedir): New variable, substituted from
15004 libc_cv_localstatedir.
15005 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15006 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15007 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15008 * sysdeps/gnu/configure: Regenerated.
15009
006dd861
JL
150102012-06-21 Jeff Law <law@redhat.com>
15011
15012 [BZ #14277]
15013 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15014 free. Simplify list management for _LIBC case.
15015
79662d42
JM
150162012-06-21 Joseph Myers <joseph@codesourcery.com>
15017
b7abb4bf
JM
15018 [BZ #14273]
15019 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15020 Clear sign bit of 64-bit integer value before comparing against
15021 overflow value.
15022
79662d42
JM
15023 * sysdeps/mach/configure: Regenerated.
15024
1f150908
L
150252012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15026
15027 [BZ #14278]
15028 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15029
28363bbf
JL
150302012-06-21 Jeff Law <law@redhat.com>
15031
15032 [BZ #13882]
15033 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15034 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15035 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15036 * elf/dl-open.c (dl_open_worker): Likewise.
15037
09615db4
CD
150382012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15039
15040 * scripts/list-sources.sh: Scan PORTS for translations.
15041 * po/libc.pot: Regenerated.
15042
2174c6dd
AJ
150432012-06-21 Andreas Jaeger <aj@suse.de>
15044
15045 [BZ #12194]
15046 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15047 warning.
15048 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15049 * bits/byteswap-16.h (__bswap_16): Likewise.
15050 * bits/byteswap.h (__bswap_constant_16): Likewise.
15051
3ee947b1
L
150522012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15053
15054 [BZ #14117]
a2f34833
L
15055 * sysdeps/i386/fpu_control.h: Removed.
15056 * sysdeps/x86_64/fpu_control.h: Moved to ...
15057 * sysdeps/x86/fpu_control.h: Here.
15058
3ee947b1
L
15059 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15060 (_FPU_SETCW): Likewise.
15061
ed1825f8
L
150622012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15063
25f1282a
L
15064 [BZ #14117]
15065 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15066 * sysdeps/x86/fpu/bits/mathinline.h: This.
15067 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15068
ed1825f8
L
15069 [BZ #14050]
15070 [BZ #14117]
15071 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15072 functions if __x86_64__ is defined.
15073
36d54b74
CLT
150742012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15075
15076 * string/endian.h: Add !__ASSEMBLER__ condition for including
15077 conversion interfaces.
15078
10285c21
JM
150792012-06-15 Joseph Myers <joseph@codesourcery.com>
15080
15081 [BZ #14241]
15082 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15083 of ABS(x) in calculating zero to negative powers other than odd
15084 integers.
15085 * math/libm-test.inc (pow_test): Add more tests.
15086
06c5abbd
AJ
150872012-06-15 Andreas Jaeger <aj@suse.de>
15088
15089 * manual/contrib.texi (Contributors): Update entry of Liubov
15090 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15091 Machado Filho.
15092
a3aeac40
CH
150932012-06-15 Cyril Hrubis <metan@ucw.cz>
15094
15095 * string/string.h: Add __wur to GNU version of strerror_r.
15096
49bdf4c1
L
150972012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15098
15099 [BZ #14229]
15100 * string/Makefile (tests): Add tst-strtok_r.
15101 * string/tst-strtok_r.c: New file.
15102 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15103 RAX_LP/RDX_LP on SAVE_PTR.
15104
834f9b8d
RM
151052012-06-14 Roland McGrath <roland@hack.frob.com>
15106
15107 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15108
75fa1921
JM
151092012-06-14 Joseph Myers <joseph@codesourcery.com>
15110
15111 * libm_test.inc (csqrt_test): Allow more spurious underflow
15112 exceptions.
15113 (j0_test): Likewise.
15114 (j1_test): Likewise.
15115 (y0_test): Likewise.
15116 (y1_test): Likewise.
15117
771766df
CD
151182012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15119
15120 * po/Makefile (libc.pot): Use UTF-8 charset.
15121
ceb9e56b
PP
151222012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15123
15124 [BZ #14210]
15125 Suppress sign-conversion warning from FD_SET.
15126 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15127 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15128 not unsigned long int.
15129 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15130
ddb28975
L
151312012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15132
15133 [BZ #14050]
15134 [BZ #14117]
15135 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15136 __extern_always_inline instead of __extern_inline.
15137 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15138 (__signbit): Likewise.
15139 (__signbitl): Support C++ namespace.
15140 (lrintf): New inline function.
15141 (lrint): Likewise.
15142 (llrintf): Likewise.
15143 (llrint): Likewise.
15144 (fmaxf): Likewise.
15145 (fmax): Likewise.
15146 (fminf): Likewise.
15147 (fmin): Likewise.
15148 (rint): Likewise.
15149 (rintf): Likewise.
15150 (ceil): Likewise.
15151 (ceilf): Likewise.
15152 (floor): Likewise.
15153 (floorf): Likewise.
15154 (nearbyint): Likewise.
15155 (nearbyintf): Likewise.
15156
d7b4fb26
TS
151572012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15158
15159 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15160 non-default versions.
15161
eb55f5c2
RM
151622012-06-11 Roland McGrath <roland@hack.frob.com>
15163
15164 [BZ #14218]
15165 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15166
366af02c
TS
151672012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15168
99ff6e5c
TS
15169 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15170 (FE_UPWARD, FE_DOWNWARD): Don't define.
15171 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15172 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15173
366af02c
TS
15174 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15175 reading it.
15176 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15177 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15178
793ea851
KK
151792012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15180
15181 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15182 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15183 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15184 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15185
a728a38f
L
151862012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15187
15188 [BZ #14117]
c08010c7
L
15189 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15190 * sysdeps/i386/fpu/Implies: New file.
15191 * sysdeps/x86_64/fpu/Implies: Likewise.
15192 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15193 * sysdeps/x86/fpu/bits/fenv.h: This.
15194
a728a38f
L
15195 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15196 __SSE_MATH__.
15197
6e230d11
SP
151982012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15199
15200 [BZ #14134]
15201 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15202 character 0xffff that matches the last element of the
15203 conversion table.
15204
1b671feb
AZ
152052012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15206
15207 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15208 fmodl commit.
15209
6043738b
AZ
152102012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15211
15212 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15213 values higher than 25.6283.
15214
34ae0b32
AZ
152152012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15216
15217 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15218 subnormal exponent extraction and add some __builtin_expect.
15219 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15220 Fix for subnormal mantissa calculation.
15221
1214ec8f
MF
152222012-06-04 Mike Frysinger <vapier@gentoo.org>
15223
15224 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15225 cpu2 is -1 and errno is not ENOSYS.
15226
f3d1f93c
L
152272012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15228
15229 [BZ #14117]
0e4a3cd7
L
15230 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15231 * sysdeps/x86/bits/string.h: This.
15232 * sysdeps/x86_64/bits/string.h: Removed.
15233
6704c645
L
15234 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15235 if not compiling for x86-64, but compiling for >= i486.
15236
48495318
L
15237 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15238 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15239
14adcbfc
L
15240 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15241 New macro from Linux kernel 3.4.0.
15242 (FP_XSTATE_MAGIC2): Likewise.
15243 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15244 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15245 (struct _fpx_sw_bytes): New struct.
15246 (struct _xsave_hdr): Likewise.
15247 (struct _ymmh_state): Likewise.
15248 (struct _xstate): Likewise.
15249
68e408ab
L
15250 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15251 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15252 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15253 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15254 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15255 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15256
f3d1f93c
L
15257 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15258 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15259 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15260 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15261 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15262 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15263
d9dc34cd
TMQMF
152642012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15265
15266 [BZ #13743]
15267 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15268 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15269 (sysdep_headers): Include sys/platform/ppc.h.
15270 * sysdeps/powerpc/test-gettimebase.c: Test for
15271 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15272 * manual/Makefile (appendices): Include platform.texi.
15273 * manual/contrib.texi (Contributors): Update @node pointers.
15274 * manual/maint.texi (Maintenance): Likewise.
15275 (Platform): New node.
15276 * manual/platform.texi: New file. Document the new features.
15277
4af3879c
SP
152782012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15279 Jakub Jelinek <jakub@redhat.com>
15280
15281 [BZ #14188]
15282 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15283 where __builtin_expect is unavailable.
15284
2fd6ff13
DM
152852012-06-03 David S. Miller <davem@davemloft.net>
15286
15287 * stdlib/longlong.h: Updated from GCC.
15288
173f7220
AS
152892012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15290
15291 [BZ #14042]
15292 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15293 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15294 __mcount_internal.
15295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15296 (GLIBC_2.16): Likewise.
15297
f34a1c6f
L
152982012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15299
15300 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15301
88a4576f
JM
153022012-06-01 Joseph Myers <joseph@codesourcery.com>
15303
ea32bcdd
JM
15304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15305 (default-abi): New variable.
15306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15307 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15308 variable.
15309 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15310 Likewise.
15311 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15312 Likewise.
15313 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15314 Likewise.
15315
88a4576f
JM
15316 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15317 definition. Document in comment.
15318
402fe938
DM
153192012-06-01 David S. Miller <davem@davemloft.net>
15320
15321 * stdlib/longlong.h: Updated from GCC.
15322
3553723f
L
153232012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15324
15325 [BZ #14117]
3bd872c4
L
15326 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15327 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15328 sys/debugreg.h sys/io.h here.
15329 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15330 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15331 sys/io.h.
15332 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15333 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15334 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15335 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15336 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15337 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15338
3553723f
L
15339 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15340 Define only if __x86_64__ is defined.
15341
4842e4fe
JM
153422012-06-01 Joseph Myers <joseph@codesourcery.com>
15343
c5bfe3d5
JM
15344 [BZ #14048]
15345 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15346 Use int64_t for variable i.
15347 * math/libm-test.inc (fmod_test): Add more tests.
15348
4842e4fe
JM
15349 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15350 z computation is not scheduled after fetestexcept.
15351 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15352 Use math_force_eval instead of asm to ensure calculation scheduled
15353 before exception test.
15354 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15355 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15356
efb73488
AJ
153572012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15358
15359 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15360 computation is not scheduled after fetestexcept.
15361
29bcce7c
L
153622012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15363
15364 [BZ #14117]
15365 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15366 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15367
73a68f94
AZ
153682012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15369
15370 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15371 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15372
67b6df78
L
153732012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15374
edf2933a 15375 [BZ #14117]
ebc64a18
L
15376 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15377 <bits/wordsize.h>.
15378 (__WCHAR_MIN): Support __WORDSIZE == 64.
15379 (__WCHAR_MAX): Likewise.
15380
edf2933a
L
15381 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15382 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15383
57c6cf40
L
15384 [BZ #14183]
15385 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15386 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15387
67b6df78 15388 [BZ #14117]
8eb6281e
L
15389 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15390 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15391
aac639f4
L
15392 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15393 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15394
67b6df78
L
15395 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15396 Defined to 1 if __x86_64__ isn't defined.
15397 (_STAT_VER_LINUX_OLD): New.
15398 (st_atime): Remove duplicate.
15399 (st_mtime): Likewise.
15400 (st_ctime): Likewise.
15401
1c2cfe81
DM
154022012-05-31 David S. Miller <davem@davemloft.net>
15403
15404 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15405 entries.
15406
5be8418c
AS
154072012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15408
e7725326
AS
15409 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15410 gen-libm-test.pl.
15411
5be8418c
AS
15412 [BZ #14132]
15413 * elf/dl-reloc.c: Include <_itoa.h>.
15414 (_dl_reloc_bad_type): Remove use of INTUSE.
15415 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15416 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15417 * stdio-common/psiginfo.c (psiginfo): Likewise.
15418 * stdio-common/psignal.c (psignal): Likewise.
15419 * string/strsignal.c (strsignal): Likewise.
15420 * include/signal.h (_sys_siglist): Declare hidden proto.
15421 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15422 INTVARDEF with libc_hidden_data_def.
15423 * stdio-common/itoa-udigits.c: Likewise.
15424 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15425 (_itoa_lower_digits_internal): Remove declaration.
15426 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15427 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15428 (_sys_sigabbrev_internal): Remove aliases.
15429 (_sys_siglist): Define hidden alias.
15430
507352f1
MT
154312012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15432
15433 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15434 bits/sysctl.h.
15435
42bbb1c3
L
154362012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15437
15438 [BZ #14117]
6bd784b6
L
15439 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15440 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15441
8bca20f0
L
15442 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15443 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15444 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15445 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15446 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15447 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15448
f9e890a9
L
15449 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15450 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15451 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15452
471101a1
L
15453 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15454 with __addr.
15455 (insw): Likewise.
15456 (insl): Likewise.
15457 (outsb): Likewise.
15458 (outsw): Likewise.
15459 (outsl): Likewise.
15460
6451c862
L
15461 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15462 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15463 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15464
a254b8c9
L
15465 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15466 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15467 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15468 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15469 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15470 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15471
b8dfdd92
L
15472 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15473 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15474
578cd270
L
15475 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15476 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15477
de662f5f
L
15478 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15479 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15480 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15481
25653439
L
15482 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15483 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15484 to ...
15485 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15486
6bad24a0
L
15487 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15488 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15489 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15490
42bbb1c3
L
15491 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15492 for x86-64.
15493 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15494
2d10d547
JM
154952012-05-31 Joseph Myers <joseph@codesourcery.com>
15496
15497 * math/math.h (M_El): Use two more decimal places.
15498 (M_LOG2El): Likewise.
15499 (M_LOG10El): Likewise.
15500 (M_LN2l): Likewise.
15501 (M_LN10l): Likewise.
15502 (M_PIl): Likewise.
15503 (M_PI_2l): Likewise.
15504 (M_PI_4l): Likewise.
15505 (M_1_PIl): Likewise.
15506 (M_2_PIl): Likewise.
15507 (M_2_SQRTPIl): Likewise.
15508 (M_SQRT2l): Likewise.
15509 (M_SQRT1_2l): Likewise.
15510
f230c29b
DM
155112012-05-31 David S. Miller <davem@davemloft.net>
15512
15513 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15514 values between float registers.
15515 * sysdeps/sparc/sparc64/memset.S: Likewise.
15516 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15517
fed806c3
MF
155182012-05-31 Mike Frysinger <vapier@gentoo.org>
15519
15520 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15521 -D_FORTIFY_SOURCE=1.
15522 (CPPFLAGS-tst-longjmp_chk.c): Define.
15523 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15524 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15525 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15526 CFLAGS-tst-wchar-h.c.
15527
30917259
MP
155282012-05-31 Marek Polacek <polacek@redhat.com>
15529
15530 [BZ #14132]
15531 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15532 __endmntent_internal): Remove declaration.
15533 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15534 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15535 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15536
1c58d5dc
DM
155372012-05-30 David S. Miller <davem@davemloft.net>
15538
15539 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15540 (___Q_simulate_exceptions): Use real FP ops rather than writing
15541 into the %fsr.
15542 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15543 Likewise.
15544
7dc00e0d
L
155452012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15546
15547 [BZ #14117]
0bd53985
L
15548 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15549 * sysdeps/x86/bits/xtitypes.h: This.
15550
3a257e66
L
15551 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15552 * sysdeps/x86/bits/wordsize.h: This.
15553
62f62904
L
15554 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15555 * sysdeps/x86/bits/huge_vall.h: This.
15556
404fe9d9
L
15557 * sysdeps/i386/bits/select.h: Removed.
15558 * sysdeps/x86_64/bits/select.h: Renamed to ...
15559 * sysdeps/x86/bits/select.h: This.
15560
d48d0446
L
15561 * sysdeps/i386/bits/setjmp.h: Removed.
15562 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15563 * sysdeps/x86/bits/setjmp.h: This.
15564
7dc00e0d
L
15565 * sysdeps/i386/bits/mathdef.h: Removed.
15566 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15567 * sysdeps/x86/bits/mathdef.h: This.
15568
03277f8f
AS
155692012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15570
15571 [BZ #14132]
15572 * include/sys/socket.h (__connect_internal)
15573 (__libc_sa_len_internal): Remove declaration.
15574 (__connect, __libc_sa_len): Declare hidden_proto.
15575 (SA_LEN): Remove use of INTUSE.
15576 * socket/connect.c: Add libc_hidden_def.
15577 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15578 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15579 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15580 alias.
15581 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15582 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15583 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15584 of adding _internal alias.
15585
13764867
L
155862012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15587
15588 [BZ #14117]
6bd97696
L
15589 * sysdeps/i386/bits/link.h: Removed.
15590 * sysdeps/i386/bits/linkmap.h: Likewise.
15591 * sysdeps/x86_64/bits/link.h: Renamed to ...
15592 * sysdeps/x86/bits/link.h: This.
15593 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15594 * sysdeps/x86/bits/linkmap.h: This.
15595
f726f0bb
L
15596 * sysdeps/i386/bits/endian.h: Removed.
15597 * sysdeps/x86_64/bits/endian.h: Renamed to ...
15598 * sysdeps/x86/bits/endian.h: This.
15599
13764867
L
15600 * sysdeps/i386/bits/byteswap.h: Removed.
15601 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15602 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15603 * sysdeps/x86/bits/byteswap.h: This.
15604 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15605 * sysdeps/x86/bits/byteswap-16.h: This.
15606 * sysdeps/i386/Implies: Add x86.
15607 * sysdeps/x86_64/Implies: Likewise.
15608
ae251b0b
DM
156092012-05-30 David S. Miller <davem@davemloft.net>
15610
15611 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15612 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15613 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15614 (FP_TRAPPING_EXCEPTIONS): Define.
15615 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15616 (FP_TRAPPING_EXCEPTIONS): Define.
15617 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15618 subnormals only when inexact has been signalled or underflow
15619 exceptions are enabled.
15620 (_FP_PACK_CANONICAL): Likewise.
15621
d5c90867
L
156222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15623
15624 [BZ #14183]
15625 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15626 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15627
63f1549e
RH
156282012-05-30 Richard Henderson <rth@twiddle.net>
15629
8d8f2279
RH
15630 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15631 with #ifndef NOT_IN_libc.
15632
63f1549e
RH
15633 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
15634 marked to avoid plt entry.
15635
0ab0291b
L
156362012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15637
15638 [BZ #14112]
15639 * Makeconfig (default-abi): New macro.
15640 (abi-includes): Likewise.
15641 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
15642 $(abi-$(default-abi)-lib-soname) for soname if defined.
15643 ($(common-objpfx)gnu/lib-names.stmp): Generate from
15644 abi-variants.
15645 * Makefile (installed-stubs): Likewise.
15646 * include/stubs-biarch.h: Removed.
15647 * scripts/lib-names.awk: Only handle one library at a time.
15648 * scripts/soversions.awk: Remove WORDSIZE support.
15649 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15650 entries.
15651 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15652 Removed.
15653 (syscall-list-default-condition): Likewise.
15654 (syscall-list-default-condition): Likewise.
15655 (syscall-list-includes): Likewise.
15656 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15657 syscall-list-* with abi-*. Handle undefined abi-variants.
15658 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15659 * sysdeps/unix/sysv/linux/i386/Implies: New file.
15660 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15661 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15662 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15663 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15664 Removed.
15665 (syscall-list-32-options): Likewise.
15666 (syscall-list-32-condition): Likewise.
15667 (syscall-list-64-options): Likewise.
15668 (syscall-list-64-condition): Likewise.
15669 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15670 macro.
15671 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15672 Renamed to ...
15673 (abi-*): This.
15674 (abi-64-ld-soname): New macro.
15675 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15676 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15677 Renamed to ...
15678 (abi-*): This.
15679 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15680 * sysdeps/x86_64/x32/shlib-versions: Likewise.
15681
4da0431d
JM
156822012-05-30 Joseph Myers <joseph@codesourcery.com>
15683
3a85279c
JM
15684 * sysdeps/unix/sysv/linux/kernel-features.h
15685 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15686 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15687 include <kernel-features.h>.
15688 [!__NR_ftruncate64]: Remove conditional code.
15689 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15690 [__NR_ftruncate64]: Make code unconditional.
15691 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15692 * sysdeps/unix/sysv/linux/truncate64.c: Do not
15693 include <kernel-features.h>.
15694 [!__NR_ftruncate64]: Remove conditional code.
15695 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15696 [__NR_ftruncate64]: Make code unconditional.
15697 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15699 include <kernel-features.h>.
15700 [!__NR_ftruncate64]: Remove conditional code.
15701 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15702 [__NR_ftruncate64]: Make code unconditional.
15703 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15705 include <kernel-features.h>.
15706 [!__NR_ftruncate64]: Remove conditional code.
15707 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15708 [__NR_ftruncate64]: Make code unconditional.
15709 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15710
4da0431d
JM
15711 * configure.in (libc_cv_fpie): Weaken to a compile test using
15712 LIBC_TRY_CC_OPTION.
15713 * configure: Regenerated.
15714
11ef492c
AK
157152012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15716
15717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15721 Refreshed.
15722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15728 Refreshed.
15729
d66ef399
DM
157302012-05-27 David S. Miller <davem@davemloft.net>
15731
15732 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15733 (___Q_zero): New.
15734 (__Q_simulate_exceptions): Return void. Change to simulate
15735 exceptions by writing into the %fsr.
15736 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15737 (__Qp_handle_exceptions): Likewise.
15738 (numbers): Delete.
15739 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15740 __Qp_handle_exceptions.
15741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15742 __Qp_handle_exceptions.
15743 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15744 as unused and give dummy FP_RND_NEAREST initializer.
15745 (FP_INHIBIT_RESULTS): Define.
15746 (___Q_simulate_exceptions): Update declaration.
15747 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15748 formatting.
15749 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15750 as unused and give dummy FP_RND_NEAREST initializer.
15751 (__Qp_handle_exceptions): Update declaration.
15752 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15753 formatting.
15754
04fb54b5
TS
157552012-05-27 Thomas Schwinge <thomas@codesourcery.com>
15756
15757 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15758 the temporary FPU control word.
15759 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15760 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15761 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15762 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15763 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15764 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15765 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15766 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15767 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15768 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15769 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15770
3f99608f
KK
157712012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15772
15773 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15774 fields.
15775
65a4de4e
CLT
157762012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
15777
15778 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15779 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15780 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15781 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15782 Likewise.
15783 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15784 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15785 Likewise.
15786
15749d40
UD
157872012-05-27 Ulrich Drepper <drepper@gmail.com>
15788
15789 * po/h.po: Update from translation team.
15790
25dbcb27
AS
157912012-05-26 Andreas Schwab <schwab@linux-m68k.org>
15792
3d3f8e55
AS
15793 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15794
25dbcb27
AS
15795 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15796 handling of denormals.
15797 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15798 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15799 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15800 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15801 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15802 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15803 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15804 Likewise.
15805
7ad47a80 158062012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
15807
15808 [BZ #14152]
15809 * math/libm-test.inc (fma_test): Don't always expect underflow
15810 exception.
15811
9c6ea9fa
SP
158122012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15813
15814 [BZ #12416]
15815 * elf/tst-execstack.c: Include stackinfo.h.
15816 (do_test): Adjust test case to ensure that pthread_getattr_np
15817 behaviour remains the same after marking stack executable.
15818
a8239222
JM
158192012-05-25 Joseph Myers <joseph@codesourcery.com>
15820
15821 * sysdeps/unix/sysv/linux/kernel-features.h
15822 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15823 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15824 kernel-features.h.
15825 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15826 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15827 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
15828 kernel-features.h.
15829 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15830 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15831
918b5606
L
158322012-05-25 H.J. Lu <hongjiu.lu@intel.com>
15833
15834 * configure.in: Define the default includes to being none.
15835 * configure: Regenerated.
15836
3a097cc7
RM
158372012-05-25 Roland McGrath <roland@hack.frob.com>
15838
8422c9a5
RM
15839 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
15840 * sysdeps/x86_64/setjmp.S: Likewise.
15841 * sysdeps/i386/bsd-setjmp.S: Likewise.
15842 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15843 * sysdeps/i386/setjmp.S: Likewise.
15844 * sysdeps/i386/__longjmp.S: Likewise.
15845 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15846 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
15847
3a097cc7
RM
15848 * include/stap-probe.h: New file.
15849 * configure.in: Handle --enable-systemtap.
15850 * configure: Regenerated.
15851 * config.h.in (USE_STAP_PROBE): New #undef.
15852 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
15853 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
15854 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15855
21708942
JM
158562012-05-25 Joseph Myers <joseph@codesourcery.com>
15857
15858 [BZ #13717]
15859 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15860 to 2.4.0 where earlier.
15861 * sysdeps/unix/sysv/linux/configure: Regenerated.
15862 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15863 <kernel-features.h>.
15864 [__ASSUME_32BITUIDS]: Make code unconditional.
15865 [!__ASSUME_32BITUIDS]: Remove conditional code.
15866 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
15867 <kernel-features.h>.
15868 [__ASSUME_32BITUIDS]: Make code unconditional.
15869 [!__ASSUME_32BITUIDS]: Remove conditional code.
15870 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
15871 [__ASSUME_32BITUIDS]: Make code unconditional.
15872 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
15873 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.c: Do not include
15878 <kernel-features.h>.
15879 [__ASSUME_32BITUIDS]: Make code unconditional.
15880 [!__ASSUME_32BITUIDS]: Remove conditional code.
15881 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
15882 <kernel-features.h>.
15883 [__ASSUME_32BITUIDS]: Make code unconditional.
15884 [!__ASSUME_32BITUIDS]: Remove conditional code.
15885 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
15886 <kernel-features.h>.
15887 [__ASSUME_32BITUIDS]: Make code unconditional.
15888 [!__ASSUME_32BITUIDS]: Remove conditional code.
15889 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15890 <kernel-features.h>.
15891 [__ASSUME_32BITUIDS]: Make code unconditional.
15892 [!__ASSUME_32BITUIDS]: Remove conditional code.
15893 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15894 <kernel-features.h>.
15895 [__ASSUME_32BITUIDS]: Make code unconditional.
15896 [!__ASSUME_32BITUIDS]: Remove conditional code.
15897 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
15898 <kernel-features.h>.
15899 [__ASSUME_32BITUIDS]: Make code unconditional.
15900 [!__ASSUME_32BITUIDS]: Remove conditional code.
15901 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15902 <kernel-features.h>.
15903 [__ASSUME_32BITUIDS]: Make code unconditional.
15904 [!__ASSUME_32BITUIDS]: Remove conditional code.
15905 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15906 <kernel-features.h>.
15907 [__ASSUME_32BITUIDS]: Make code unconditional.
15908 [!__ASSUME_32BITUIDS]: Remove conditional code.
15909 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
15910 <kernel-features.h>.
15911 [__ASSUME_32BITUIDS]: Make code unconditional.
15912 [!__ASSUME_32BITUIDS]: Remove conditional code.
15913 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
15914 <kernel-features.h>.
15915 [__NR_setresgid] (__setresgid): Do not declare.
15916 [__ASSUME_32BITUIDS]: Make code unconditional.
15917 [!__ASSUME_32BITUIDS]: Remove conditional code.
15918 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
15919 <kernel-features.h>.
15920 [__NR_setresuid] (__setresuid): Do not declare.
15921 [__ASSUME_32BITUIDS]: Make code unconditional.
15922 [!__ASSUME_32BITUIDS]: Remove conditional code.
15923 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
15924 <kernel-features.h>.
15925 [__ASSUME_32BITUIDS]: Make code unconditional.
15926 [!__ASSUME_32BITUIDS]: Remove conditional code.
15927 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
15928 <kernel-features.h>.
15929 [__ASSUME_32BITUIDS]: Make code unconditional.
15930 [!__ASSUME_32BITUIDS]: Remove conditional code.
15931 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
15932 <kernel-features.h>.
15933 [__ASSUME_32BITUIDS]: Make code unconditional.
15934 [!__ASSUME_32BITUIDS]: Remove conditional code.
15935 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
15936 <kernel-features.h>.
15937 [__ASSUME_32BITUIDS]: Make code unconditional.
15938 [!__ASSUME_32BITUIDS]: Remove conditional code.
15939 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
15940 <kernel-features.h>.
15941 [__ASSUME_32BITUIDS]: Make code unconditional.
15942 [!__ASSUME_32BITUIDS]: Remove conditional code.
15943 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
15944 <kernel-features.h>.
15945 [__ASSUME_32BITUIDS]: Make code unconditional.
15946 [!__ASSUME_32BITUIDS]: Remove conditional code.
15947 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
15948 <kernel-features.h>.
15949 [__ASSUME_32BITUIDS]: Make code unconditional.
15950 [!__ASSUME_32BITUIDS]: Remove conditional code.
15951 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
15952 <kernel-features.h>.
15953 [__ASSUME_32BITUIDS]: Make code unconditional.
15954 [!__ASSUME_32BITUIDS]: Remove conditional code.
15955 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
15956 <kernel-features.h>.
15957 [__ASSUME_32BITUIDS]: Make code unconditional.
15958 [!__ASSUME_32BITUIDS]: Remove conditional code.
15959 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15960 <kernel-features.h>.
15961 [__ASSUME_32BITUIDS]: Make code unconditional.
15962 [!__ASSUME_32BITUIDS]: Remove conditional code.
15963 * sysdeps/unix/sysv/linux/kernel-features.h
15964 (__ASSUME_SETRESUID_SYSCALL): Remove.
15965 (__ASSUME_SETRESGID_SYSCALL): Likewise.
15966 (__ASSUME_32BITUIDS): Likewise.
15967 (__ASSUME_LDT_WORKS): Likewise.
15968 (__ASSUME_O_DIRECTORY): Likewise.
15969 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
15970 architecture but not kernel version.
15971 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15972 (__ASSUME_MMAP2_SYSCALL): Likewise.
15973 (__ASSUME_STAT64_SYSCALL): Likewise.
15974 (__ASSUME_IPC64): Likewise.
15975 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
15976 <kernel-features.h>.
15977 [__ASSUME_32BITUIDS]: Make code unconditional.
15978 [!__ASSUME_32BITUIDS]: Remove conditional code.
15979 * sysdeps/unix/sysv/linux/opendir.c: Do not include
15980 <kernel-features.h>.
15981 [__ASSUME_O_DIRECTORY]: Make code unconditional.
15982 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
15983 132096]: Remove conditional code.
15984 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
15985 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15986 <kernel-features.h>.
15987 [__ASSUME_32BITUIDS]: Make code unconditional.
15988 [!__ASSUME_32BITUIDS]: Remove conditional code.
15989 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15990 <kernel-features.h>.
15991 [__ASSUME_32BITUIDS]: Make code unconditional.
15992 [!__ASSUME_32BITUIDS]: Remove conditional code.
15993 * sysdeps/unix/sysv/linux/setegid.c: Do not include
15994 <kernel-features.h>.
15995 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
15996 unconditional.
15997 (__setresgid): Do not declare.
15998 [__ASSUME_32BITUIDS]: Make code unconditional.
15999 [!__ASSUME_32BITUIDS]: Remove conditional code.
16000 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16001 <kernel-features.h>.
16002 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16003 unconditional.
16004 (__setresuid): Do not declare.
16005 [__ASSUME_32BITUIDS]: Make code unconditional.
16006 [!__ASSUME_32BITUIDS]: Remove conditional code.
16007 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16008 <kernel-features.h>.
16009 [__ASSUME_32BITUIDS]: Make code unconditional.
16010 [!__ASSUME_32BITUIDS]: Remove conditional code.
16011 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16012 <kernel-features.h>.
16013 [__ASSUME_32BITUIDS]: Make code unconditional.
16014 [!__ASSUME_32BITUIDS]: Remove conditional code.
16015
a386f1cc
RH
160162012-05-25 Richard Henderson <rth@twiddle.net>
16017
16018 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16019 dl_hwcap to ifunc resolver.
16020 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16021 elf_ifunc_invoke.
16022 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16023 dl_hwcap to ifunc resolver.
16024 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16025
b6550497
JM
160262012-05-24 Joseph Myers <joseph@codesourcery.com>
16027
16028 [BZ #14153]
16029 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16030 for |x| <= 2**-26, not 2**-57.
16031 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16032 exception.
16033
b0bc23a1
JL
160342012-05-24 Jeff Law <law@redhat.com>
16035
16036 * stdio-common/Makefile (tests): Add bug25.
16037 * stdio-common/bug25.c: New test.
16038
347c92e9
L
160392012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16040
16041 [BZ #13576]
16042 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16043 multiple of MALLOC_ALIGNMENT in size.
16044 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16045
6bcc8b3f
JM
160462012-05-24 Joseph Myers <joseph@codesourcery.com>
16047
16048 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16049 Require >= 256.
16050 (FILENAME_MAX): Use macro-int-constant.
16051 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16052 (_IOFBF): Use macro-int-constant.
16053 (_IOLBF): Likewise.
16054 (_IONBF): Likewise.
16055 (SEEK_CUR): Likewise.
16056 (SEEK_END): Likewise.
16057 (SEEK_SET): Likewise.
16058 (TMP_MAX): Likewise.
16059 (EOF): Use macro-int-constant. Require < 0.
16060 (NULL): Use macro-constant. Require == 0.
16061 (stdin): Require type to be FILE *.
16062 (stdout): Likewise.
16063 (stderr): Likewise.
16064 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16065 macro-int-constant.
16066 (EXIT_SUCCESS): Likewise.
16067 (NULL): Use macro-constant. Require == 0.
16068 (RAND_MAX): Use macro-int-constant.
16069 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16070 [C99-based standards] (strtof): Require function.
16071 [C99-based standards] (strtold): Likewise.
16072 [C99-based standards] (strtoll): Likewise.
16073 [C99-based standards] (strtoull): Likewise.
16074 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16075 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16076 [ISO || ISO99 || ISO11] (math.h): Likewise.
16077 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16078 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16079 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16080
d18ea0c5
AS
160812012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16082
16083 [BZ #14132]
56d25bb8
AS
16084 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16085 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16086 * intl/dgettext.c (DCGETTEXT): Likewise.
16087 * intl/gettext.c (DCGETTEXT): Likewise.
16088 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16089 * posix/regex_internal.h (gettext): Likewise.
16090 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16091 Remove declaration.
16092 * include/argz.h (__argz_count_internal)
16093 (__argz_stringify_internal): Remove declaration.
16094 (__argz_count, __argz_stringify): Declare hidden proto.
16095 * intl/dcgettext.c: Remove use of INTDEF.
16096 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16097 * string/argz-stringify.c: Likewise.
16098 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16099 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16100 Declare hidden proto.
d18ea0c5
AS
16101 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16102 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16103 Declare hidden proto.
16104 * include/stdio.h (__asprintf_internal): Don't declare.
16105 (__asprintf): Don't define as macro. Declare hidden proto.
16106 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16107 (__fsetlocking): Declare hidden proto.
16108 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16109 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16110 hidden proto.
16111 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16112 (_IO_setlinebuf): Remove use of INTUSE.
16113 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16114 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16115 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16116 Remove declaration.
16117 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16118 (_IO_do_flush): Remove use of INTUSE.
16119 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16120 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16121 (_IO_adjust_column, _IO_least_wmarker)
16122 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16123 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16124 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16125 (_IO_default_doallocate, _IO_wdefault_doallocate)
16126 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16127 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16128 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16129 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16130 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16131 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16132 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16133 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16134 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16135 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16136 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16137 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16138 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16139 proto.
16140 (_IO_flush_all_internal, _IO_adjust_column_internal)
16141 (_IO_default_uflow_internal, _IO_default_finish_internal)
16142 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16143 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16144 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16145 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16146 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16147 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16148 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16149 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16150 (_IO_file_close_internal, _IO_file_close_it_internal)
16151 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16152 (_IO_file_init_internal, _IO_file_attach_internal)
16153 (_IO_file_fopen_internal, _IO_file_read_internal)
16154 (_IO_file_sync_internal, _IO_file_seek_internal)
16155 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16156 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16157 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16158 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16159 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16160 (_IO_list_all_internal, _IO_link_in_internal)
16161 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16162 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16163 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16164 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16165 (_IO_do_write_internal, _IO_padn_internal)
16166 (_IO_getline_info_internal, _IO_getline_internal)
16167 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16168 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16169 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16170 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16171 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16172 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16173 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16174 with libc_hidden_ver, remove use of INTUSE.
16175 * libio/genops.c: Likewise.
16176 * libio/freopen.c: Likewise.
16177 * libio/freopen64.c: Likewise.
16178 * libio/iofclose.c: Likewise.
16179 * libio/iofdopen.c: Likewise.
16180 * libio/iofflush.c: Likewise.
16181 * libio/iofflush_u.c: Likewise.
16182 * libio/iofgets.c: Likewise.
16183 * libio/iofgets_u.c: Likewise.
16184 * libio/iofopen.c: Likewise.
16185 * libio/iofopncook.c: Likewise.
16186 * libio/iofread.c: Likewise.
16187 * libio/iofread_u.c: Likewise.
16188 * libio/ioftell.c: Likewise.
16189 * libio/iofwrite.c: Likewise.
16190 * libio/iogetline.c: Likewise.
16191 * libio/iogets.c: Likewise.
16192 * libio/iogetwline.c: Likewise.
16193 * libio/iopadn.c: Likewise.
16194 * libio/iopopen.c: Likewise.
16195 * libio/ioseekoff.c: Likewise.
16196 * libio/ioseekpos.c: Likewise.
16197 * libio/iosetbuffer.c: Likewise.
16198 * libio/iosetvbuf.c: Likewise.
16199 * libio/ioungetc.c: Likewise.
16200 * libio/ioungetwc.c: Likewise.
16201 * libio/iovdprintf.c: Likewise.
16202 * libio/iovsprintf.c: Likewise.
16203 * libio/iovsscanf.c: Likewise.
16204 * libio/memstream.c: Likewise.
16205 * libio/obprintf.c: Likewise.
16206 * libio/oldfileops.c: Likewise.
16207 * libio/oldiofclose.c: Likewise.
16208 * libio/oldiofdopen.c: Likewise.
16209 * libio/oldiofopen.c: Likewise.
16210 * libio/oldiopopen.c: Likewise.
16211 * libio/oldstdfiles.c: Likewise.
16212 * libio/putc.c: Likewise.
16213 * libio/setbuf.c: Likewise.
16214 * libio/setlinebuf.c: Likewise.
16215 * libio/stdfiles.c: Likewise.
16216 * libio/strops.c: Likewise.
16217 * libio/vasprintf.c: Likewise.
16218 * libio/vscanf.c: Likewise.
16219 * libio/vsnprintf.c: Likewise.
16220 * libio/vswprintf.c: Likewise.
16221 * libio/wfiledoalloc.c: Likewise.
16222 * libio/wfileops.c: Likewise.
16223 * libio/wgenops.c: Likewise.
16224 * libio/wmemstream.c: Likewise.
16225 * libio/wstrops.c: Likewise.
16226 * libio/__fpurge.c: Likewise.
16227 * libio/__fsetlocking.c: Likewise.
16228 * assert/assert.c: Likewise.
16229 * debug/fgets_chk.c: Likewise.
16230 * debug/fgets_u_chk.c: Likewise.
16231 * debug/fread_chk.c: Likewise.
16232 * debug/fread_u_chk.c: Likewise.
16233 * debug/gets_chk.c: Likewise.
16234 * debug/obprintf_chk.c: Likewise.
16235 * debug/vasprintf_chk.c: Likewise.
16236 * debug/vdprintf_chk.c: Likewise.
16237 * debug/vsnprintf_chk.c: Likewise.
16238 * debug/vsprintf_chk.c: Likewise.
16239 * malloc/mtrace.c: Likewise.
16240 * misc/error.c: Likewise.
16241 * misc/syslog.c: Likewise.
16242 * stdio-common/asprintf.c: Likewise.
16243 * stdio-common/fxprintf.c: Likewise.
16244 * stdio-common/getw.c: Likewise.
16245 * stdio-common/isoc99_fscanf.c: Likewise.
16246 * stdio-common/isoc99_scanf.c: Likewise.
16247 * stdio-common/isoc99_vfscanf.c: Likewise.
16248 * stdio-common/isoc99_vscanf.c: Likewise.
16249 * stdio-common/isoc99_vsscanf.c: Likewise.
16250 * stdio-common/printf-prs.c: Likewise.
16251 * stdio-common/printf_fp.c: Likewise.
16252 * stdio-common/printf_fphex.c: Likewise.
16253 * stdio-common/printf_size.c: Likewise.
16254 * stdio-common/putw.c: Likewise.
16255 * stdio-common/scanf.c: Likewise.
16256 * stdio-common/sprintf.c: Likewise.
16257 * stdio-common/tmpfile.c: Likewise.
16258 * stdio-common/vfprintf.c: Likewise.
16259 * stdio-common/vfscanf.c: Likewise.
16260 * stdlib/strfmon_l.c: Likewise.
16261 * sunrpc/openchild.c: Likewise.
16262 * sunrpc/xdr_stdio.c: Likewise.
16263 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16264 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16265
d6c33fda
RM
162662012-05-24 Roland McGrath <roland@hack.frob.com>
16267
c1487492
RM
16268 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16269
16270 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16271 in the third column, to generate for the shared library an IFUNC
16272 that uses _dl_vdso_vsym.
16273 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16274 * Makeconfig (object-suffixes-noshared): New variable.
16275
16276 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16277 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16278 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16279 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16280
d6c33fda
RM
16281 [BZ #14132]
16282 * include/sys/time.h (__gettimeofday): Remove macro.
16283 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16284 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16285 Remove INTDEF.
16286 (__gettimeofday): Add libc_hidden_def.
16287 (gettimeofday): Add libc_hidden_weak.
16288 * sysdeps/mach/gettimeofday.c: Likewise.
16289 * sysdeps/posix/gettimeofday.c: Likewise.
16290 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16291 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16292 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16293 (__gettimeofday_internal): Remove strong_alias.
16294 (__gettimeofday): Add libc_hidden_def.
16295 (gettimeofday): Add libc_hidden_weak.
16296 * sysdeps/unix/syscalls.list (gettimeofday):
16297 Remove __gettimeofday_internal alias.
16298
b5a2bbe6
L
162992012-05-24 Daniel Jacobowitz <drow@false.org>
16300 H.J. Lu <hongjiu.lu@intel.com>
16301
16302 [BZ #12495]
16303 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16304 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16305 (largebin_index_32_big): New.
16306 (largebin_index): Use it for 16-byte alignment.
16307 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16308 correction with front_misalign.
16309
cfba4fda
L
163102012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16311
7f907421
L
16312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16313 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16314 Likewise.
16315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16316 Likewise.
16317 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16318 Likewise.
16319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16320 Likewise.
16321 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16322 Likewise.
16323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16324 Likewise.
16325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16326 Likewise.
16327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16328 Likewise.
16329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16330 Likewise.
16331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16332 Likewise.
16333 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16334 Likewise.
16335 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16336 Likewise.
16337
cfba4fda
L
16338 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16339 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16340
80bad0cc
JM
163412012-05-24 Joseph Myers <joseph@codesourcery.com>
16342
7a25eb06
JM
16343 [BZ #10846]
16344 [BZ #14036]
16345 * math/libm-test.inc (exp_test): Add test from bug 14036.
16346 (pow_test): Add test from bug 10846.
16347
795405f9
JM
16348 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16349 and other flags.
16350 (special_function): Do not include flags in test name.
16351 (parse_args): Likewise.
16352 * sysdeps/i386/fpu/libm-test-ulps: Update.
16353 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16354 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16355 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16357
80bad0cc
JM
16358 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16359 exceptions.
16360 * math/libm-test.inc ("Philosophy"): Update comment about
16361 exception testing.
16362 (UNDERFLOW_EXCEPTION): New macro.
16363 (UNDERFLOW_EXCEPTION_OK): Likewise.
16364 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16365 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16366 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16367 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16368 (INVALID_EXCEPTION_OK): Update value.
16369 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16370 (OVERFLOW_EXCEPTION_OK): Likewise.
16371 (IGNORE_ZERO_INF_SIGN): Likewise.
16372 (test_exceptions): Handle underflow exceptions.
16373 (acos_test): Update for underflow exception expectations.
16374 (cexp_test): Likewise.
16375 (clog_test): Likewise.
16376 (clog10_test): Likewise.
16377 (csqrt_test): Likewise.
16378 (ctan_test): Likewise.
16379 (ctanh_test): Likewise.
16380 (exp_test): Likewise.
16381 (exp10_test): Likewise.
16382 (exp2_test): Likewise.
16383 (expm1_test): Likewise.
16384 (fma_test): Likewise.
16385 (j0_test): Likewise.
16386 (jn_test): Likewise.
16387 (nexttoward_test): Likewise.
16388 (pow_test): Likewise.
16389 (scalbn_test): Likewise.
16390 (scalbln_test): Likewise.
16391 (tan_test): Likewise.
16392 (y1_test): Likewise.
16393 * sysdeps/i386/fpu/libm-test-ulps: Update.
16394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16395
9e0e3d0b
DM
163962012-05-23 David S. Miller <davem@davemloft.net>
16397
16398 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16399 (__libc_sigaction): Remove unused local variables.
16400
ccd0a08f
L
164012012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16402
16403 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16404
62bdf9a6
PE
164052012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16406
f8591f80
PE
16407 mktime: avoid signed integer overflow
16408 * time/mktime.c (__mktime_internal): Do not mishandle the case
16409 where diff == INT_MIN.
16410
94c7d826
PE
16411 mktime: simplify computation of average
16412 * time/mktime.c (ranged_convert): Use new time_t_avg function
16413 instead of rolling our own (probably-slower) code.
16414
ce73d683
PE
16415 mktime: do not assume signed right shift propagates sign bit
16416 * time/mktime.c (isdst_differ): New static function.
16417 (__mktime_internal): No need to normalize tm_isdst now.
16418 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16419 tm_isdst values.
16420
72a22e59
PE
16421 mktime: merge another wrapv change from gnulib
16422 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16423 from some compilers.
16424
68605433
PE
16425 mktime: remove incorrect attempt at unusual arithmetics
16426 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16427 The code didn't really work on such machines anyway.
16428 (TYPE_MINIMUM): Assume two's complement.
16429 (twos_complement_arithmetic): Verify that long_int and time_t
16430 are two's complement (or unsigned, in the latter case).
16431
03cf7fe3
PE
16432 mktime: check signed shifts on long_int and time_t, too
16433 * time/mktime.c (SHR): Check that shifts work as desired
16434 on the types long_int and time_t too, as SHR is used on
16435 such types.
16436
f04dfbc2
PE
16437 mktime: do not assume 'long' is wide enough
16438 * time/mktime.c (verify): Move decl up.
16439 (long_int): New type.
16440 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16441 to remove assumption in the code that 'long' is wide enough to
16442 store year values. This assumption is not true on x32 and on
16443 some non-glibc platforms.
16444
62bdf9a6
PE
16445 mktime: merge wrapv change from gnulib
16446 * time/mktime.c (WRAPV): New macro.
16447 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16448 (guess_time_tm, __mktime_internal): Do not assume that signed
16449 integer overflow wraps around; modern compilers generate code
16450 where this assumption is no longer valid.
16451
5e292e4f
L
164522012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16453
16454 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16455 Replace "jmp L(pseudo_end)" with "ret".
16456 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16457 Likewise.
16458
8caf8c87
AJ
164592012-05-23 Andreas Jaeger <aj@suse.de>
16460
16461 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16462 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16463
1a09dc56
AJ
164642012-05-23 Andreas Jaeger <aj@suse.de>
16465 Maximilian Attems <max@stro.at>
16466
16467 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16468 New macros.
16469
1c87aba0
L
164702012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16471
16472 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16473 code so that pseudo_end is just ret and the stack pointer is
16474 correct also for static library in error case.
16475
40e45bd5
JM
164762012-05-23 Joseph Myers <joseph@codesourcery.com>
16477
c2670533
JM
16478 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16479 move to syscalls.list.
16480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16484
40e45bd5
JM
16485 * manual/install.texi (Running make install): Do not mention Linux
16486 kernel version for which pt_chown is not needed.
16487 (Linux): Do not mention problems with nscd with 2.0 kernels.
16488 * INSTALL: Regenerated.
16489
be08eda5
AJ
164902012-05-23 Andreas Jaeger <aj@suse.de>
16491
16492 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16493 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16494 macro.
16495 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16496 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16497 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16498 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16499 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16500 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16501 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16502 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16503 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16504 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16505 * sysdeps/unix/sysv/linux/bits/in.h
16506 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16507
a6a056bb
RM
165082012-05-22 Roland McGrath <roland@hack.frob.com>
16509
16510 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16511 (PREPARE_VERSION): Just use assert instead, it will be elided
16512 under [NDEBUG] anyway.
16513
c9009328
L
165142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16515
16516 * sysdeps/unix/sysv/linux/Makefile: Include
16517 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 16518 (sysdep_routines): Remove sysctl.
c9009328
L
16519 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16520 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16521 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16522 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16523 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16524
73338355
AJ
165252012-05-22 Andreas Jaeger <aj@suse.de>
16526
16527 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16528 that pseudo_end is just ret and the stack pointer is correct also
16529 for static library in error case.
16530
d44638b0
PP
165312012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16532
16533 [BZ #14122]
16534 * nss/nsswitch.c (defconfig_entries): New variable.
16535 (__nss_database_lookup): Don't leak defconfig entries.
16536 (nss_parse_service_list): Don't leak on error paths.
16537 (free_database_entries): New function.
16538 (free_defconfig): New function.
16539 (free_mem): Move common code to free_database_entries.
16540
31a39bd8
L
165412012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16542
da0331a8
L
16543 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16544 Add arch_prctl.
16545 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16546
31a39bd8
L
16547 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16548 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16549 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16550 New macro.
16551 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16552 (INTERNAL_SYSCALL_TYPES): Likewise.
16553 (LOAD_ARGS_TYPES_[1-6]): Likewise.
16554 (LOAD_REGS_TYPES_[1-6]): Likewise.
16555 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16556 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16557
45470df3
AZ
165582012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16559
16560 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16561 copysignl for GLIBC_2_0.
16562 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16563 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16564 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16565 logbl for GLIBC_2_0.
16566 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16567 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16568
98a61bcb
L
165692012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16570
a4f6e481
L
16571 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16572 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16573
f63d5db6
L
16574 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16575 Use "neg %eax".
16576
98a61bcb
L
16577 * time/mktime.c: Update copyright years.
16578
95770f14
PE
165792012-05-22 Paul Eggert <eggert@cs.ucla.edu>
16580
6226efbd
PE
16581 mktime: merge comment-quoting-style change from gnulib
16582 * time/mktime.c: Quote 'like this' in comments.
16583 The GNU coding standards suggest that we no longer quote `like this',
16584 as "`" and "'" are typically rendered asymmetrically nowadays.
16585 The typical gnulib style is to quote 'like this' when quoting
16586 code, and "like this" when quoting English.
16587
b99e4f78
PE
16588 * time/mktime.c (compile-command): Add "-I.".
16589
643e01e6
PE
16590 mktime: merge mktime-internal.h change from gnulib
16591 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16592
2554247d
PE
16593 mktime: merge time_r change from gnulib
16594 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16595
826dd0ab
PE
16596 mktime: merge DEBUG change from gnulib
16597 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16598 case system <time.h> has a #define.
16599
bd83aabe
PE
16600 mktime: merge <sys/types.h> change from gnulib
16601 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16602 since <time.t> is now guaranteed to define time_t.
16603
95770f14
PE
16604 mktime: merge HAVE_CONFIG_H change from gnulib
16605 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16606
5e1a27a9
L
166072012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16608
0e44a77e
L
16609 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16610 Use "neg %eax".
16611
5e1a27a9
L
16612 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16613 __rlim_t cast.
16614 (struct rusage): Use anonymous union to pad each field to
16615 __syscall_slong_t.
16616
46259bec
DM
166172012-05-21 David S. Miller <davem@davemloft.net>
16618
16619 * Makefules (o-iterator): Remove .s cases.
16620 (compile-command.s): Delete.
16621 (COMPILE.s): Delete.
16622 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16623
59f0c22e
JM
166242012-05-21 Joseph Myers <joseph@codesourcery.com>
16625
16626 * configure.in (libc_cv_predef_stack_protector): Only consider
16627 "foobar" and "__stack_chk_fail" lines in libc_undefs.
16628 * configure: Regenerated.
16629
20c07380
L
166302012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16631
bbb3154b
L
16632 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16633 New macro. Use R*LP on int and pointer.
16634 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
16635 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16636 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
16637 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16638
20c07380
L
16639 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16640 [__WORDSIZE_TIME64_COMPAT32] instead of
16641 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16642 (struct utmp): Likewise.
16643 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16644 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16645 Renamed to ...
16646 (__WORDSIZE_TIME64_COMPAT32): This.
16647 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16648 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16649 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16650 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16651 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16652 (__WORDSIZE_TIME64_COMPAT32): New macro.
16653
d8d1017e
AJ
166542012-05-21 Andreas Jaeger <aj@suse.de>
16655
16656 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16657 only if [SHARED]. Add prototype for __wcschr_ia32.
16658
6c7fb145
RM
166592012-05-21 Roland McGrath <roland@hack.frob.com>
16660
16661 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16662 of %rbp unmolested in the jmp_buf while mangling the low bits.
16663 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16664 unmolested high bits of %rbp while demangling the low bits.
16665 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16666
66274218
AJ
166672012-05-21 Andreas Jaeger <aj@suse.de>
16668
07c58f8f
AJ
16669 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16670 * sunrpc/svc_simple.c: Use it for registerrpc.
16671 * sunrpc/xcrypt.c: Use it for passwd2des.
16672
66274218
AJ
16673 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16674
61f65140
L
166752012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16676
16677 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16678 Don't define if [__SYSCALL_WORDSIZE != 32].
16679 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16680 New macro.
16681
5fefb436
AJ
166822012-05-21 Bruno Haible <bruno@clisp.org>
16683 Andreas Jaeger <aj@suse.de>
16684
16685 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16686 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16687 inptr and inend for must_buffer_ch.
16688 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16689 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16690 * stdio-common/Makefile (tests): Remove bug15.
16691 (bug15-ENV): Remove macro.
16692 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16693 anymore.
16694
d8e272ab
AJ
166952012-05-19 Andreas Jaeger <aj@suse.de>
16696 Roland McGrath <roland@hack.frob.com>
16697
16698 * manual/contrib.texi: Completely rewritten. It contains now an
16699 alphabetical list of contributors and their contributions.
16700
4a56a162
RH
167012012-05-21 Richard Henderson <rth@twiddle.net>
16702
16703 * misc/getauxval.c (__getauxval): Use unsigned long int.
16704 * misc/sys/auxv.h: Include <sys/cdefs.h>.
16705 (getauxval): Use unsigned long int.
16706
d024d23c
L
167072012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16708
16709 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16710
cbc00a03
RM
167112012-05-21 Roland McGrath <roland@hack.frob.com>
16712
16713 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16714 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16715 __alignof__ (long double).
16716
478143fa
AZ
167172012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16718
16719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16720
c7683a6d
RH
167212012-05-20 Richard Henderson <rth@twiddle.net>
16722
16723 * misc/getauxval.c: New file.
16724 * misc/sys/auxv.h: New file.
16725 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16726 (routines): Add getauxval.
16727 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16728 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16729 * elf/dl-sysdep.c (_dl_auxv): Remove.
16730 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16731 * elf/dl-support.c (_dl_auxv): New variable.
16732 (_dl_aux_init): Initialize it.
16733 * manual/startup.texi (Auxiliary Vector): New node.
16734 * sysdeps/generic/bits/hwcap.h: New file.
16735 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16736 * sysdeps/powerpc/sysdep.h: ... here. Include it.
16737 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16738 * sysdeps/sparc/sysdep.h: ... here. Include it.
16739 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16740 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
16741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16742 Update.
c7683a6d
RH
16743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16746 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16748 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16750 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16751
a6f1845d
AZ
167522012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16753
16754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16755
cbcbe830
DM
167562012-05-19 David S. Miller <davem@davemloft.net>
16757
16758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16759
e0b16cc2
JM
167602012-05-19 Joseph Myers <joseph@codesourcery.com>
16761
16762 [BZ #14123]
16763 * math/s_ccosh.c: Include <float.h>
16764 (__ccosh): Avoid internal overflow calculating sinh and cosh
16765 values before multiplying by sin and cos values.
16766 * math/s_ccoshf.c: Likewise.
16767 * math/s_ccoshl.c: Likewise.
16768 * math/s_csin.c: Likewise.
16769 * math/s_csinf.c: Likewise.
16770 * math/s_csinl.c: Likewise.
16771 * math/s_csinh.c: Likewise.
16772 * math/s_csinhf.c: Likewise.
16773 * math/s_csinhl.c: Likewise.
16774 * math/libm-test.inc (ccos_test): Add more tests.
16775 (ccosh_test): Likewise.
16776 (csin_test): Likewise.
16777 (csinh_test): Likewise.
16778 * sysdeps/i386/fpu/libm-test-ulps: Update.
16779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16780
6ad13e08
L
167812012-05-19 H.J. Lu <hongjiu.lu@intel.com>
16782
f66f0ce8
L
16783 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16784 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16785
6ad13e08
L
16786 * sysdeps/x86_64/x32/_itoa.h: Add comment.
16787
b1d072a7
JM
167882012-05-19 Joseph Myers <joseph@codesourcery.com>
16789
16790 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16791 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16792 * sysdeps/powerpc/soft-fp/Versions: Likewise.
16793 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16794 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16795 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16796 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16797 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16798 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16799 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16800 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16801 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16802 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16803 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16804 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16805 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16806 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16807 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16808 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16809 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16810 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16811 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16812 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16813 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16814 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16815 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16816 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16817 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16818 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16819 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16820 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16821
9eae47cb
AJ
168222012-05-18 Andreas Jaeger <aj@suse.de>
16823
16824 * csu/.gitignore: Delete.
16825
bb07f69f
L
168262012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16827
16828 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
16829 (timex): Use __syscall_slong_t.
16830
e6bdb741
AJ
168312012-05-18 Andreas Jaeger <aj@suse.de>
16832 Carlos O'Donell <carlos_odonell@mentor.com>
16833
16834 * manual/install.texi (Configuring and compiling): Update
16835 description about files modified in the source directory.
d6c33fda 16836 * INSTALL: Regenerated.
e6bdb741 16837
1b74487e
L
168382012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16839
16840 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
16841 value. Use "or" to set return value to -1.
16842 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
16843 negate return value.
16844
a88b64b9
TMQMF
168452012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16846
16847 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
16848 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
16849 failure if the compiler has Graphite support disabled.
16850 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
16851 Likewise.
16852 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
16853 CFLAGS-memmove.c): Likewise.
16854 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
16855 Likewise.
16856
3707636e
L
168572012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16858
610b8622
L
16859 * sysdeps/x86_64/x32/_itoa.h: New file.
16860
7cd195df
L
16861 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
16862 getdents system call only if kernel and user dirents have the
16863 same d_ino and d_off.
16864
94b07d20
L
16865 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16866 LLONG_MAX != LONG_MAX.
16867 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16868 (_fitoa_word): Likewise.
16869
18298070
L
16870 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
16871 years.
16872 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
16873 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
16874 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
16875
553c7ea4
L
16876 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
16877 include <bits/wordsize.h>. Check __x86_64__ instead of
16878 __WORDSIZE.
16879 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
16880 if __x86_64__ is defined. Use anonymous union on fpstate.
16881
3707636e
L
16882 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
16883 anonymous union.
16884
b53ef01a
AS
168852012-05-18 Andreas Schwab <schwab@linux-m68k.org>
16886
37fb1dc0
AS
16887 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16888 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
16889 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
16890 Refer to _rtld_local_ro instead of _rtld_global_ro.
16891 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
16892 Likewise.
16893 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
16894 Likewise.
16895 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
16896 Likewise.
16897 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
16898 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
16899 of _rtld_global, and rtld_progname instead of _dl_argv[0].
16900
b53ef01a
AS
16901 * sysdeps/powerpc/powerpc32/dl-machine.c
16902 (__elf_machine_runtime_setup) [PROF]: Don't reference
16903 _dl_prof_resolve.
16904
7a185db2
AJ
169052012-05-18 Andreas Jaeger <aj@suse.de>
16906
16907 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
16908 function only available for GCCs before 3.4 since GCC 3.4
16909 introduced a builtin.
16910 (lrint): Likewise.
16911 (llrintf): Likewise.
16912 (llrint): Likewise.
16913 (fmaxf): Likewise.
16914 (fmax): Likewise.
16915 (fminf): Likewise.
16916 (fmin): Likewise.
16917 (rint): Likewise.
16918 (rintf): Likewise.
16919 (nearbyint): Likewise.
16920 (nearbyintf): Likewise.
16921 (ceil): Likewise.
16922 (ceilf): Likewise.
16923 (floor): Likewise.
16924 (floorf): Likewise.
16925
3e5aef87
L
169262012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16927
428bd707
L
16928 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
16929 on both fields and cast pointer to __syscall_ulong_t.
16930
3e5aef87
L
16931 * bits/types.h (__fsword_t): New type.
16932 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
16933 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
16934 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16935 (__FSWORD_T_TYPE): Likewise.
16936 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16937 (__FSWORD_T_TYPE): Likewise.
16938 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16939 (__FSWORD_T_TYPE): Likewise.
16940 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
16941 (__FSWORD_T_TYPE): Likewise.
16942 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
16943 __SWORD_TYPE with __fsword_t.
16944 (statfs64): Likewise.
16945
1ba7c3dc
DM
169462012-05-17 David S. Miller <davem@davemloft.net>
16947
16948 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
16949
59910343
AJ
169502012-05-17 Andreas Jaeger <aj@suse.de>
16951
16952 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
16953 warning.
16954
2e4c1e9e
L
169552012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16956
16957 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
16958
de7f5ce7
AJ
169592012-05-17 Andreas Jaeger <aj@suse.de>
16960
16961 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
16962 when it is used.
16963
286abc3d
CM
169642012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16965
16966 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
16967
477cc68e
L
169682012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16969
16970 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
16971 * sysdeps/x86_64/tst-mallocalign1.c: New file.
16972
1a0994f5
CD
169732012-05-17 Andreas Jaeger <aj@suse.de>
16974 Carlos O'Donell <carlos_odonell@mentor.com>
16975
16976 [BZ #14059]
16977 * sysdeps/x86_64/multiarch/init-arch.h
16978 (bit_YMM_Usable): Rename to...
16979 (bit_AVX_Usable): ... this.
16980 (bit_FMA4_Usable): New macro.
16981 (bit_XMM_state): New macro.
16982 (bit_YMM_state): New macro.
16983 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
16984 [__ASSEMBLER__] (index_AVX_Usable): ... this.
16985 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
16986 (CPUID_OSXSAVE): New macro.
16987 (CPUID_AVX): New macro.
16988 (CPUID_FMA4): New macro.
16989 (index_YMM_Usable): Rename to...
16990 (index_AVX_Usable): ... this.
16991 (HAS_AVX): Use HAS_ARCH_FEATURE.
16992 (HAS_FMA4): Likewise.
16993 (HAS_YMM_USABLE): Remove.
16994 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16995 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
16996 are present.
16997 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
16998 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
16999 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17000 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17001 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17002
0af797de
CM
170032012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17004
17005 * math/libm-test.c: Support platforms without multiple rounding modes.
17006 * math/bug-nextafter.c: Support platforms without FP exceptions.
17007 * math/bug-nexttoward.c: Likewise.
17008 * math/test-fenv.c: Likewise.
17009 * math/test-misc.c: Likewise.
17010 * stdlib/bug-getcontext.c: Likewise.
17011
e39745ff
AJ
170122012-05-17 Andreas Jaeger <aj@suse.de>
17013
17014 * manual/examples/search.c (critter_cmp): Change signature to
17015 avoid warnings.
17016 * manual/string.texi (Collation Functions): Likewise.
17017
48970aba
L
170182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17019
17020 * bits/types.h: Fold copyright years.
17021 * bits/typesizes.h: Likewise.
17022 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17023 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17024 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17025 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17026 * time/time.h: Likewise.
17027
bedee953
PP
170282012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17029
17030 [BZ #208]
17031 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17032 in instead of returning them. Return void.
17033 (__libc_mallinfo): Accumulate over all arenas.
17034 (__malloc_stats): Adjust for change in int_mallinfo interface.
17035
61653dfb
RM
170362012-05-16 Roland McGrath <roland@hack.frob.com>
17037
30b99d79
RM
17038 [BZ #10375]
17039 * configure.in (NM): Add AC_CHECK_TOOL for it.
17040 (libc_extra_cflags): New substituted variable.
17041 Check for -fstack-protector being used implicitly.
17042 * configure: Regenerated.
17043 * config.make.in (config-extra-cflags): New variable,
17044 gets @libc_extra_cflags@.
17045 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17046
61653dfb
RM
17047 [BZ #10375]
17048 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17049 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17050 * configure: Regenerated.
17051 * config.make.in (CPPUNDEFS): New substituted variable.
17052 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17053 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17054 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17055
661768bb
L
170562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17057
17058 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17059 (mq_attr): Use __syscall_slong_t.
17060
d4261567
L
170612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17062
17063 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17064 Check __x86_64__ instead of __WORDSIZE.
17065 (_STAT_VER_LINUX): Likewise.
17066 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17067 __syscall_ulong_t and __syscall_slong_t.
17068 (stat64): Likewise.
17069
cf3ff365
L
170702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17071
17072 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17073
76cf3e4d
L
170742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17075
17076 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17077
a637753a
L
170782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17079
17080 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17081 __syscall_ulong_t.
17082
d5e05119
L
17083 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17084 include <bits/wordsize.h>. Check __x86_64__ instead of
17085 __WORDSIZE.
17086 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17087 defined.
17088 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17089
f62ee380
L
17090 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17091 include <bits/wordsize.h>. Check __x86_64__ instead of
17092 __WORDSIZE.
17093 (user_regs_struct): Use "__extension__ unsigned long long"
17094 instead of "unsigned long" if __x86_64__ is defined.
17095 (user): Likewise. Pad after pointer field if __ILP32__ is
17096 defined.
17097
4e124ced
JM
170982012-05-16 Joseph Myers <joseph@codesourcery.com>
17099
6a3951a0
JM
17100 * configure.in (makeinfo): Require version 4.5 or later. Allow
17101 versions 5 to 9.
17102 * configure: Regenerated.
17103 * manual/install.texi (texinfo): Increase version requirement to
17104 4.5 or later.
17105 * INSTALL: Regenerated.
17106
4e124ced
JM
17107 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17108
953ca31a
L
171092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17110
17111 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17112
617aca05
L
17113 * sysdeps/x86_64/x32/ffs.c: New file.
17114
5762f7ae
L
17115 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17116 __syscall_ulong_t.
17117 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17118 defined. Use __syscall_ulong_t.
17119 (shminfo): Use __syscall_ulong_t.
17120 (shm_info): Likewise.
17121
a26b6856
L
17122 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17123 __syscall_ulong_t.
17124
cb2b9ef7
L
17125 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17126 <bits/wordsize.h>.
17127 (msgqnum_t): Use __syscall_ulong_t.
17128 (msglen_t): Likewise.
17129 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17130 __syscall_ulong_t.
17131
34683bb0
L
17132 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17133 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17134
84a68786
L
17135 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17136
48baa5f1
L
17137 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17138 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17139
180be88b
L
17140 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17141 __syscall_slong_t.
17142
5e90c8ad
L
17143 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17144 include <bits/wordsize.h>. Check __x86_64__ instead of
17145 __WORDSIZE.
17146
23dfb58b
L
17147 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17148 "unsigned long long int" if __x86_64__ is defined.
17149 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17150
ce5d54b0
L
17151 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17152 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17153 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17154
13dc9eac
L
17155 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17156 <stdint.h>.
17157 (GET_PC): Cast to uintptr_t first.
17158 (GET_FRAME): Likewise.
17159 (GET_STACK): Likewise.
17160
a7895d15
L
17161 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17162 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17163 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17164 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17165 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17166 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17167 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17168 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17169 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17170 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17171 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17172 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17173 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17174 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17175 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17176 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17177 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17178 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17179 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17180 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17181 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17182 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17183 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17184 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17185 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17186 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17187 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17188 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17189 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17190
656416c9
AS
171912012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17192
5bd66283
AS
17193 * Makerules (+depfiles): Also collect depfiles from .oS in
17194 $(extra-objs).
17195 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17196 .oS, $(libnldbl-routines)).
17197
656416c9
AS
17198 * Makerules (native-compile-mkdep-flags): Define.
17199 * sunrpc/Makefile (extra-objs): Add $(addprefix
17200 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17201 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17202 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17203 calling $(make-target-directory).
17204
a46f2169
L
172052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17206
17207 * bits/types.h (__snseconds_t): Removed.
17208 * time/time.h (struct timespec): Replace __snseconds_t with
17209 __syscall_slong_t.
17210 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17211 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17212 Likewise.
17213 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17214 (__SNSECONDS_T_TYPE): Likewise.
17215 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17216 (__SNSECONDS_T_TYPE): Likewise.
17217 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17218 (__SNSECONDS_T_TYPE): Likewise.
17219
6af6528b
L
172202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17221
17222 * sysdeps/mach/hurd/bits/typesizes.h
17223 (__SYSCALL_SLONG_TYPE): New macro.
17224 (__SYSCALL_ULONG_TYPE): Likewise.
17225
de986b56
L
172262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17227
17228 * bits/types.h (__syscall_slong_t): New type.
17229 (__syscall_ulong_t): Likewise.
17230
17231 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17232 (__SYSCALL_ULONG_TYPE): Likewise.
17233 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17234 (__SYSCALL_SLONG_TYPE): Likewise.
17235 (__SYSCALL_ULONG_TYPE): Likewise.
17236 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17237 (__SYSCALL_SLONG_TYPE): Likewise.
17238 (__SYSCALL_ULONG_TYPE): Likewise.
17239 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17240 (__SYSCALL_SLONG_TYPE): Likewise.
17241 (__SYSCALL_ULONG_TYPE): Likewise.
17242
85736dc7
L
172432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17244
17245 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17246 Add sigaltstack-offsets.sym.
17247 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17248 <sigaltstack-offsets.h>.
17249 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17250 longjmp_msg pointer.
17251 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17252 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17253 signal stack.
17254 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17255
cc03b296
JM
172562012-05-15 Joseph Myers <joseph@codesourcery.com>
17257
a9538892
JM
17258 * elf/stackguard-macros.h: Remove file.
17259 * sysdeps/generic/stackguard-macros.h: New file.
17260 * sysdeps/i386/stackguard-macros.h: Likewise.
17261 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17262 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17263 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17264 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17265 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17266 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17267 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17268 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17269 <elf/stackguard-macros.h>.
17270
cc03b296
JM
17271 [BZ #14109]
17272 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17273 __aligned__ in attribute.
17274 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17275 (gregset_t): Likewise.
17276
93171016
L
172772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17278
17279 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17280 * sysdeps/x86_64/64/Implies-after: Here. New file.
17281 * sysdeps/x86_64/x32/Implies-after: New file.
17282
d86813a0
L
172832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17284
17285 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17286 and access return value for _dl_profile_fixup. Use R10_LP to
17287 load frame size.
17288
2953ec75
L
172892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17290
17291 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17292
3b550e9e
L
172932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17294
17295 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17296 * sysdeps/x86_64/x32/sysdep.h: New file.
17297
eda41706
L
172982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17299
17300 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17301 * sysdeps/x86_64/setjmp.S: Likewise.
17302
9ea01d93
AZ
173032012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17304
17305 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17306 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17307 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17308 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17309 remove unused global constant.
17310
02a91938
CM
173112012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17312
17313 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17314 include of <not-cancel.h>.
17315
6540185f
RM
173162012-05-15 Roland McGrath <roland@hack.frob.com>
17317
17318 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17319
509072a0
AJ
173202012-05-15 Jeff Law <law@redhat.com>
17321 Andreas Jaeger <aj@suse.de>
17322
17323 [BZ #13594]
17324 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17325 out from...
17326 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17327 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17328 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17329 code changing __hst_map_handle.map.
17330
ba75122d
RM
173312012-05-15 Roland McGrath <roland@hack.frob.com>
17332
17333 * configure.in (sysnames): Look for Implies-before and Implies-after
17334 files.
17335 * configure: Regenerated.
17336
890d8bd8
L
173372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17338
17339 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17340 8-byte data alignment with LP_SIZE alignment.
17341
f6ee6623
L
173422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17343
17344 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17345 into R10_LP.
17346
ea2626f6
L
173472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17348
17349 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17350
085f715e
L
173512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17352
17353 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17354 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17355 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17356 Likewise.
17357 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17358
be8498fc
L
173592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17360
17361 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17362 (stackinfo_sub_sp): Likewise.
17363
70bc83b9
L
173642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17365
17366 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17367 RAX_LP.
17368
9bc0b730
L
173692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17370
17371 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17372 into R*_LP.
17373
6d2850e7
L
173742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17375
17376 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17377 sizes into R*_LP.
17378
3cb84561
L
173792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17380
17381 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17382
54e2ed81
L
173832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17384
17385 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17386 into R11_LP and load __x86_64_shared_cache_size_half into
17387 R8_LP.
17388
8a17f349
L
173892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17390
17391 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17392 R8_LP.
17393
777b1eea
AZ
173942012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17395
17396 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17397 logb for POWER7.
17398 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17399 logbf for POWER7.
17400 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17401 logbl for POWER7.
17402 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17403 powerpc32/power7/fpu/s_logb.c via #include.
17404 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17405 powerpc32/power7/fpu/s_logbf.c via #include.
17406 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17407 powerpc32/power7/fpu/s_logbl.c via #include.
17408
d20d4ac2
JM
174092012-05-15 Joseph Myers <joseph@codesourcery.com>
17410
17411 * README.libm: Remove file.
17412
6cdef1ab
L
174132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17414
17415 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17416 count for x32. Use R*_LP and omit operand-size suffix.
17417
0b254d8f
L
174182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17419
17420 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17421 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17422 * sysdeps/x86_64/x32/shlib-versions: New file.
17423
ceb809dc
RM
174242012-05-14 Roland McGrath <roland@hack.frob.com>
17425
17426 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17427 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17428 Use _dl_fatal_printf instead.
17429
37f1abd4
JM
174302012-05-14 Joseph Myers <joseph@codesourcery.com>
17431
17432 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17433 set if not set by the user. Do not allow for being unset.
17434 * sysdeps/unix/sysv/linux/configure: Regenerated.
17435
11de3a33
L
174362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17437
17438 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17439 the `q' suffix from lea and replace .quad with ASM_ADDR.
17440
e02f153a
L
174412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17442
17443 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17444 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17445 instead of $17.
17446 (PTR_DEMANGLE): Likewise.
17447
520ae0fd
L
174482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17449
17450 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17451 (LP_OP): Likewise.
17452 (ASM_ADDR): Likewise.
17453 (RAX_LP): Likewise.
17454 (RBP_LP): Likewise.
17455 (RBX_LP): Likewise.
17456 (RCX_LP): Likewise.
17457 (RDI_LP): Likewise.
17458 (RSI_LP): Likewise.
17459 (RSP_LP): Likewise.
17460 (R8_LP): Likewise.
17461 (R9_LP): Likewise.
17462 (R10_LP): Likewise.
17463 (R10_LP): Likewise.
17464 (R11_LP): Likewise.
17465 (R12_LP): Likewise.
17466 (R13_LP): Likewise.
17467 (R14_LP): Likewise.
17468 (R15_LP): Likewise.
17469
b985be81
L
174702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17471
17472 * sysdeps/x86_64/x32/dl-machine.h: New file.
17473
6a4888ff
AJ
174742012-05-14 Andreas Jaeger <aj@suse.de>
17475
17476 * manual/Makefile (subdir): Remove export of subdir.
17477 (all): Remove target.
17478 (.PHONY): Remove all from list.
17479 (mkinstalldirs): Remove.
17480 (.PHONY): Remove installdirs from list.
17481 ($(inst_infodir)/libc.info): Use make-target-directory.
17482 (installdirs): Remove.
17483 (subdir_%): Remove.
17484 (glibc-targets): Remove.
17485 (lib): Remove.
17486 (stubs): Remove.
17487 ($(objpfx)stubs ../po/manual.pot): Remove.
17488 ($(objpfx)stamp%): Remove.
17489 (make-target-directory): Remove.
17490 (subdir_install): Remove.
17491 (routines): Remove.
17492 (aux): Remove.
17493 (sources): Remove.
17494 (objects): Remove.
17495 (headers): Remove.
17496
17497 [BZ #13750]
17498 * manual/.gitignore: Remove, it's not needed anymore.
17499 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17500 all files in it.
17501 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17502 directory.
17503 (texis): Renamed to $(objpfx)texis.
17504 (texis-path): New, contains path to generated files.
17505 (chapters.%): Use texis-path for complete path, add extra argument
17506 libc-texinfo.sh.
17507 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17508 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17509 (summary,texi, stamp-summary): Use complete path of
17510 files. Generate files in build dir.
17511 (dir-add.texi): Build in build dir.
17512 (libm-err.texi,stamp-libm-err): Likewise.
17513 (version.texi, stamp-version): Likewise.
17514 (.%c.texi): Likewise.
17515 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17516 (mostlyclean): Remove target.
17517 (realclean): Remove target.
17518 (generated): Add new variable with contents from mostlyclean and
17519 realclean, remove entries duplicated in common-mostlyclean, add
17520 stamp-libm-err and stamp-version.
17521 (generated-dirs): Add libc directory.
17522 ($(inst_infodir)/libc.info): Install files from build dir.
17523
17524 * manual/install.texi (Configuring and compiling): Adjust since
17525 the info files are not part of the tar ball anymore.
17526
7ac77294
AJ
175272012-05-14 Andreas Jaeger <aj@suse.de>
17528
17529 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17530 variable.
17531
ffb7875d
JM
175322012-05-14 Joseph Myers <joseph@codesourcery.com>
17533
17534 [BZ #13717]
17535 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17536 to 2.2.0 where earlier.
17537 * sysdeps/unix/sysv/linux/configure: Regenerated.
17538 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17539 Remove conditional code.
17540 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17541 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17542 Remove conditional code.
17543 [!__NR_lchown]: Likewise.
17544 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17545 [__NR_lchown]: Likewise.
17546 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17547 comment referencing __ASSUME_LCHOWN_SYSCALL.
17548 * sysdeps/unix/sysv/linux/i386/sigaction.c
17549 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17550 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17551 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17552 Remove conditional code.
17553 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17554 (__protocol_available): Remove #if 0 code.
17555 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17556 conditional code.
17557 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17558 * sysdeps/unix/sysv/linux/kernel-features.h
17559 (__ASSUME_GETCWD_SYSCALL): Don't define.
17560 (__ASSUME_REALTIME_SIGNALS): Likewise.
17561 (__ASSUME_PREAD_SYSCALL): Likewise.
17562 (__ASSUME_PWRITE_SYSCALL): Likewise.
17563 (__ASSUME_POLL_SYSCALL): Likewise.
17564 (__ASSUME_LCHOWN_SYSCALL): Likewise.
17565 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17566 non-SPARC.
17567 (__ASSUME_SIOCGIFNAME): Don't define.
17568 (__ASSUME_MSG_NOSIGNAL): Likewise.
17569 (__ASSUME_SENDFILE): Define unconditionally.
17570 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17571 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17572 conditional code.
17573 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17574 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17575 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17576 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17577 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17578 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17579 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17581 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17582 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17584 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17585 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17587 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17588 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17590 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17591 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17593 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17594 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17596 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17597 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17599 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17600 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17602 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17603 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17604 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17605 Remove conditional code.
17606 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17607 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17608 Remove conditional code.
17609 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17610 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17611 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17612 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17613 Remove conditional code.
17614 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17615 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17616 Remove conditional code.
17617 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17618 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17619 Remove conditional code.
17620 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17621 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17622 Remove conditional code.
17623 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17624 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17625 Remove conditional code.
17626 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17627 * sysdeps/unix/sysv/linux/sh/pwrite64.c
17628 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17629 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17630 * sysdeps/unix/sysv/linux/sigaction.c
17631 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17632 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17633 * sysdeps/unix/sysv/linux/sigpending.c
17634 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17635 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17636 * sysdeps/unix/sysv/linux/sigprocmask.c
17637 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17638 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17639 * sysdeps/unix/sysv/linux/sigsuspend.c
17640 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17641 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17642 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17643 (__libc_missing_rt_sigs): Remove.
17644 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17645 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17646 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17647 Remove conditional code.
17648 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17649 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17650 return 1.
17651 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17652 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17653 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17654 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17655
1bfb7291
AJ
176562012-05-14 Andreas Jaeger <aj@suse.de>
17657
caae5a81
AJ
17658 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17659 it's not used in glibc.
17660 (__coshm1): Likewise.
17661 (__acosh1p): Likewise.
17662 (__sgn): Likewise.
17663
1bfb7291
AJ
17664 * manual/string.texi (Copying and Concatenation): Add missing
17665 variable in concat example.
17666 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17667
c044d724
L
176682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17669
144c5467 17670 [BZ #14103]
c044d724
L
17671 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17672 __builtin_clzl with __builtin_clzll.
17673
2523c62b
L
176742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17675
17676 [BZ #14104]
17677 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17678 libc_freeres_ptr.
17679
d7bb4c42
LD
176802012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17681
17682 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17683 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17684 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17685 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17686
9dc4e1fb
MF
176872012-05-14 Mike Frysinger <vapier@gentoo.org>
17688
17689 * NEWS: Update ia64 info.
17690
c7df0112
AS
176912012-05-12 Andreas Schwab <schwab@linux-m68k.org>
17692
17693 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17694 used as bcopy.
17695
dc70356c
TS
176962012-05-12 Thomas Schwinge <thomas@codesourcery.com>
17697
17698 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17699 * sysdeps/unix/syscalls.list (dup3): Likewise.
17700 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17701 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17702
9fb1a21f
L
177032012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17704
17705 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17706 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17707
4822a2a5
L
177082012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17709
17710 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17711 thread pointer.
17712 (TLS_IE): Use mov/add instead of movq/addq to load thread
17713 pointer.
17714 (TLS_GD_PREFIX): New.
17715 (TLS_GD): Use it.
17716
842b81d6
DM
177172012-05-11 David S. Miller <davem@davemloft.net>
17718
17719 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17720 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17721 (_FPU_SETCW): Likewise.
17722
1cf463cd
L
177232012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17724
17725 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17726 is 32-byte aligned.
17727
60cc4a18
AS
177282012-05-11 Andreas Schwab <schwab@linux-m68k.org>
17729
17730 [BZ #11837]
17731 * iconvdata/gb18030.c: Update tables.
17732 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
17733 characters specially.
17734 (BODY for TO_LOOP): Add encoding of missing ranges.
17735
febb44a4
TS
177362012-05-11 Thomas Schwinge <thomas@codesourcery.com>
17737
17738 [BZ #13673]
17739 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17740 * sysdeps/mach/hurd/dup3.c: Likewise.
17741 * sysdeps/mach/hurd/readlinkat.c: Likewise.
17742 * sysdeps/powerpc/memmove.c:: Likewise.
17743
0a10fb9e
L
177442012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17745
17746 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17747 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17748
df8a552f
L
177492012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17750
17751 * elf/elf.h (R_X86_64_RELATIVE64): New.
17752 (R_X86_64_NUM): Updated.
17753 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17754 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
17755 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17756 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17757 tst-quad1pie tst-quad2pie
17758 (modules-names): Add tst-quadmod1 tst-quadmod2.
17759 ($(objpfx)tst-quad1): New dependency.
17760 ($(objpfx)tst-quad2): Likewise.
17761 ($(objpfx)tst-quad1pie): Likewise.
17762 ($(objpfx)tst-quad2pie): Likewise.
17763 * sysdeps/x86_64/tst-quad1.c: New file.
17764 * sysdeps/x86_64/tst-quad1pie.c: New file.
17765 * sysdeps/x86_64/tst-quad2.c: Likewise.
17766 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17767 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17768 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17769 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17770 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17771
f34d6f84
ST
177722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17773
f42d41d1
ST
17774 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17775 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17776 * streams/stropts.h (t_scalar_t): Define type.
17777
3c3571fc
ST
17778 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17779 (_PATH_PRESERVE): Set to "/var/lib".
17780 (_PATH_RWHODIR): Set to "/var/spool/rwho".
17781
61f06bd3
ST
17782 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17783 instead of int.
17784
918d4d71
ST
17785 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17786 if __dir_mkfile succeeded.
17787
f34d6f84
ST
17788 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17789 checking for _hurd_dtablesize. Unlock it right after having
17790 finished _hurd_dtable allocation.
17791
10589b4a
TS
177922012-05-10 Thomas Schwinge <thomas@schwinge.name>
17793
674cdbc7
TS
17794 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17795 * sysdeps/mach/hurd/configure: Regenerated.
17796 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17797 special-casing to...
17798 * sysdeps/gnu/configure.in: ... this new file.
17799 * sysdeps/unix/sysv/linux/configure: Regenerated.
17800 * sysdeps/gnu/configure: New generated file.
17801
8e41b99f
TS
17802 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17803 for Linux: use nsec instead of usec, as well as:
17804 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17805 members of type struct timespec.
17806 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17807 New macros.
17808 (struct stat64): Likewise.
17809 (_STATBUF_ST_NSEC): New macro.
17810 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17811
10589b4a
TS
17812 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17813 __strtoul_internal rather than strtoul.
17814
63643c85
PT
178152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17816
17817 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17818 and reject them.
17819
3faebe6a
ST
178202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17821
17822 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17823 which preserves existing values.
17824 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17825
c6474b07
PT
178262012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17827
17828 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
17829 TIMEOUT values. Return EINVAL for NFDS values either negative or
17830 greater than FD_SETSIZE.
17831
1043890b
ST
178322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17833
17834 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
17835 allocated, call __vm_protect to finish enabling the existing space, and
17836 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
17837 allocate the remainder.
17838
37ed8b9b
PT
178392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17840
17841 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
17842 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
17843
db653660
ST
178442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17845
37ed8b9b
PT
17846 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
17847 sysdeps/mach/hurd/readlink.c.
b29d4053 17848
db653660
ST
17849 * posix/tst-sysconf.c (posix_options): Only use
17850 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
17851 _POSIX_SYNCHRONIZED_IO when they are defined
17852 * sysdeps/mach/hurd/bits/posix_opt.h:
17853 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
17854 (_XOPEN_REALTIME): Undefine macro.
17855 (_XOPEN_REALTIME_THREADS): Undefine macro.
17856 (_XOPEN_SHM): Undefine macro.
17857 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
17858 macro to -1.
17859 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
17860 macro to -1.
17861 (_POSIX_ASYNC_IO): Undefine macro.
17862 (_POSIX_PRIORITIZED_IO): Undefine macro.
17863 (_POSIX_SPIN_LOCKS): Define macro to -1.
17864
ee16e894
ST
17865 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
17866 SA_NODEFER, SA_RESETHAND.
17867 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
17868 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
17869 F_DUPFD_CLOEXEC.
17870
6103ae3b
TS
178712012-05-10 Thomas Schwinge <thomas@schwinge.name>
17872
17873 * elf/Makefile (pldd-modules): Define unconditionally.
17874
80b4e5f3
TS
178752012-05-10 Thomas Schwinge <thomas@schwinge.name>
17876
17877 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
17878
edadcbd6
ST
178792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17880
17881 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
17882 Return ENOENT when name is empty.
17883 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
17884
80694780
TS
178852012-05-10 Thomas Schwinge <thomas@schwinge.name>
17886
1792c087
TS
17887 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
17888
80694780
TS
17889 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
17890
6b645f0d
ST
178912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17892
80694780
TS
17893 Fix mlock in all cases except non-readable pages.
17894 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
17895 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 17896
6b645f0d
ST
17897 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
17898 (__mkdir): When path is `/', just fail with EEXIST.
17899 * sysdeps/mach/hurd/mkdirat.c: Likewise.
17900
e468f8a3
TS
179012012-05-10 Thomas Schwinge <thomas@schwinge.name>
17902
17903 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
17904 <sys/uio.h> (for writev).
17905 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
17906 and <sys/param.h> (for MIN).
17907
a4186cff
PT
179082012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17909
17910 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
17911 REQUESTED_TIME. Properly set the remaining time and return EINTR
17912 if interrupted.
17913
510bbf14
TS
179142012-05-10 Thomas Schwinge <thomas@schwinge.name>
17915
17916 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
17917 Depend on against $(link-rpcuserlibs).
17918
5d5722e8
ST
179192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17920
a4186cff
PT
17921 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
17922 (__libc_stack_end): Do not use attribute_relro.
17923 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
17924 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 17925 to libthread-provided value.
a4186cff
PT
17926 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
17927 attribute_relro.
5d5722e8 17928
37233df9
TS
179292012-05-10 Thomas Schwinge <thomas@schwinge.name>
17930
be971a2b
TS
17931 [BZ #3748]
17932 * bits/libc-lock.h (__libc_once_get): New macro.
17933 * sysdeps/mach/bits/libc-lock.h: Likewise.
17934 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
17935 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
17936 instead of using implementation details.
17937
37233df9
TS
17938 * libio/fileops.c: Unconditionally include <kernel-features.h>.
17939 * libio/freopen.c: Likewise.
17940 * libio/freopen64.c: Likewise.
17941 * misc/syslog.c: Likewise.
17942 * nscd/connections.c: Likewise.
17943 * nscd/netgroupcache.c: Likewise.
17944 * sysdeps/posix/getcwd.c: Likewise.
17945
38de94a5
RM
179462012-05-10 Roland McGrath <roland@hack.frob.com>
17947
17948 * math/w_ilogbf.c: Add #include <limits.h>.
17949
67530489
ST
179502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17951
a4186cff 17952 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
17953 path instead of returning without unlocking.
17954
67530489
ST
17955 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
17956 immediate-write ioctls.
17957 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
17958
5aa3a74a
TS
179592012-05-10 Thomas Schwinge <thomas@schwinge.name>
17960
18bad2ae
TS
17961 * sysdeps/mach/hurd/i386/init-first.c (init): Use
17962 __builtin_frame_address instead of making assumptions about the
17963 location of the return address relative to DATA. Force early load of
17964 the return address.
17965 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
17966 __builtin_frame_address.
17967
5aa3a74a
TS
17968 dup3 for GNU Hurd.
17969 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
17970 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
17971 implement dup3 and do some further code clean-ups.
17972 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
17973 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
17974
ecd0de9a
ST
179752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17976
cd9fa985
ST
17977 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
17978
a4186cff
PT
17979 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
17980 HURD_CRITICAL_END around holding _hurd_dtable_lock.
17981 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
17982 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
17983 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
17984 d->port.lock.
802ca5a5 17985
a4186cff
PT
17986 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
17987 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
17988 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 17989
bcf55240
TS
179902012-05-10 Thomas Schwinge <thomas@schwinge.name>
17991
6960eb42
TS
17992 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
17993 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
17994 definitions.
17995
eb43375f
TS
17996 accept4 for GNU Hurd.
17997 * include/sys/socket.h (__libc_accept4): New prototype.
17998 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
17999 to implement __libc_accept4.
18000 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18001 __libc_accept4.
18002 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18003
bcf55240
TS
18004 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18005 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18006 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18007 signal-defines.sym.
18008
6178c55b
ST
180092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18010
a4186cff 18011 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18012
6f080c2f
TS
180132012-05-10 Thomas Schwinge <thomas@schwinge.name>
18014
18015 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18016 assertion on O_CLOEXEC flag.
18017 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18018 * hurd/intern-fd.c: Likewise.
18019 * hurd/port2fd.c: Likewise.
18020
bcfe3a54
ST
180212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18022
18023 [BZ #3906]
18024 * bits/in.h (IPV6_PKTINFO): Define new macro.
18025 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18026
89c9aa49
AZ
180272012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18028
18029 [BZ #13954]
18030 [BZ #13955]
18031 [BZ #13956]
18032 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18033 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18034 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18035 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18036 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18037 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18038 * math/libm-test.inc (logb_test) : Additional logb tests.
18039
021db4be
AJ
180402012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18041 Andreas Jaeger <aj@suse.de>
18042
18043 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18044 * configure: Regenerated.
18045 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18046 * config.make.in (link-obsolete-rpc): New substituted variable.
18047 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18048 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18049 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18050 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18051 so that libc.a contains the symbols.
18052 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18053 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18054 * sunrpc/auth_none.c: Likewise.
18055 * sunrpc/auth_unix.c: Likewise.
18056 * sunrpc/authdes_prot.c: Likewise.
18057 * sunrpc/authuxprot.c: Likewise.
18058 * sunrpc/clnt_gen.c: Likewise.
18059 * sunrpc/clnt_perr.c: Likewise.
18060 * sunrpc/clnt_raw.c: Likewise.
18061 * sunrpc/clnt_simp.c: Likewise.
18062 * sunrpc/clnt_tcp.c: Likewise.
18063 * sunrpc/clnt_udp.c: Likewise.
18064 * sunrpc/clnt_unix.c: Likewise.
18065 * sunrpc/des_crypt.c: Likewise.
18066 * sunrpc/des_soft.c: Likewise.
18067 * sunrpc/get_myaddr.c: Likewise.
18068 * sunrpc/key_call.c: Likewise.
18069 * sunrpc/key_prot.c: Likewise.
18070 * sunrpc/netname.c: Likewise.
18071 * sunrpc/pm_getmaps.c: Likewise.
18072 * sunrpc/pm_getport.c: Likewise.
18073 * sunrpc/pmap_clnt.c: Likewise.
18074 * sunrpc/pmap_prot.c: Likewise.
18075 * sunrpc/pmap_prot2.c: Likewise.
18076 * sunrpc/pmap_rmt.c: Likewise.
18077 * sunrpc/publickey.c: Likewise.
18078 * sunrpc/rpc_cmsg.c: Likewise.
18079 * sunrpc/rpc_common.c: Likewise.
18080 * sunrpc/rpc_dtable.c: Likewise.
18081 * sunrpc/rpc_prot.c: Likewise.
18082 * sunrpc/rpc_thread.c: Likewise.
18083 * sunrpc/rtime.c: Likewise.
18084 * sunrpc/svc.c: Likewise.
18085 * sunrpc/svc_auth.c: Likewise.
18086 * sunrpc/svc_raw.c: Likewise.
18087 * sunrpc/svc_run.c: Likewise.
18088 * sunrpc/svc_tcp.c: Likewise.
18089 * sunrpc/svc_udp.c: Likewise.
18090 * sunrpc/svc_unix.c: Likewise.
18091 * sunrpc/svcauth_des.c: Likewise.
18092 * sunrpc/xcrypt.c: Likewise.
18093 * sunrpc/xdr.c: Likewise.
18094 * sunrpc/xdr_array.c: Likewise.
18095 * sunrpc/xdr_float.c: Likewise.
18096 * sunrpc/xdr_intXX_t.c: Likewise.
18097 * sunrpc/xdr_mem.c: Likewise.
18098 * sunrpc/xdr_rec.c: Likewise.
18099 * sunrpc/xdr_ref.c: Likewise.
18100 * sunrpc/xdr_sizeof.c: Likewise.
18101 * sunrpc/xdr_stdio.c: Likewise.
18102
b5c086a2
RM
181032012-05-10 Roland McGrath <roland@hack.frob.com>
18104
18105 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18106 change. Update copyright years.
18107
6d74dd09
JM
181082012-05-10 Joseph Myers <joseph@codesourcery.com>
18109
18110 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18111
28e72501
MK
181122012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18113 Joseph Myers <joseph@codesourcery.com>
18114 Paul Pluzhnikov <ppluzhnikov@google.com>
18115
18116 [BZ #14012]
18117 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18118 requiring rpcgen.
18119 [cross-compiling] (extra-libs): Likewise.
18120 [cross-compiling] (extra-libs-others): Likewise.
18121 [cross-compiling] (librpcsvc-routines): Likewise.
18122 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18123 [cross-compiling] (omit-deps): Likewise.
18124 (sunrpc-CPPFLAGS): New variable.
18125 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18126 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18127 (cross-rpcgen-objs): New variable.
18128 (extra-objs): Append $(cross-rpcgen-objs).
18129 ($(cross-rpcgen-objs)): New rule.
18130 ($(objpfx)cross-rpcgen): Likewise.
18131 (rpcgen-cmd): Define to use $(built-program-file). Expand
18132 comment.
18133 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18134 ($(objpfx)x%.stmp): Likewise.
18135 * sunrpc/proto.h [IS_IN_build] (_): Define.
18136 [IS_IN_build] (_libc_intl_domainname): Likewise.
18137
c8c59454
L
181382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18139
18140 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18141 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18142 and R_X86_64_TPOFF64.
18143
6f27cd16
JM
181442012-05-10 Joseph Myers <joseph@codesourcery.com>
18145
18146 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18147 sysdeps/unix/sysv/syscalls.list.
18148 (stime): Likewise.
18149 (utime): Likewise.
18150 * sysdeps/unix/sysv/syscalls.list: Remove file.
18151
02467e1c
PE
181522012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18153
18154 [BZ #3440]
18155 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18156 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18157 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18158 (__LC_IDENTIFICATION): Make these macros useful in #if
18159 expressions, as required by C99.
18160
da392631
AS
181612012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18162
18163 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18164 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18165 after this.
18166
8115f29b
L
181672012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18168
18169 * stdlib/longlong.h: Updated from GCC.
18170
bdd74070
AJ
181712012-05-09 Andreas Jaeger <aj@suse.de>
18172
edfe0dbe
AJ
18173 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18174 default is first entry.
18175 (run_mode): Set type.
18176 (main): Remove informal message about syslog.
18177 (options): Fix typo.
18178
bcfe3a54
ST
18179 [BZ #14053]
18180 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18181 to asm.
bcfe3a54
ST
18182 (lrint): Likewise.
18183 (llrintf): Likewise.
18184 (llrint): Likewise.
18185 (rint): Likewise.
18186 (rintf): Likewise.
18187 (nearbyint): Likewise.
18188 (nearbyintf): Likewise.
bdd74070 18189
91d8d69e
AJ
181902012-05-09 Andreas Jaeger <aj@suse.de>
18191 Pedro Alves <palves@redhat.com>
18192
18193 * nscd/nscd.c (run_mode): Use enum.
18194 (main): Cleanup coding style issue.
18195
bb90b80b
AJ
181962012-05-09 Alexandre Oliva <aoliva@redhat.com>
18197 Andreas Jaeger <aj@suse.de>
18198
bcfe3a54
ST
18199 * nscd/nscd.c (go_background): Replaced with...
18200 (run_mode): ... this.
bb90b80b 18201 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18202 (options): Add -F --foreground.
18203 (main): Implement it.
18204 (parse_opt): Parse it.
bb90b80b 18205
1a4b75a1
AJ
182062012-05-09 Andreas Jaeger <aj@suse.de>
18207
18208 [BZ #14083]
18209 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18210 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18211 -Wconversion warning.
18212 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18213 Likewise.
18214
b1cc2472
JM
182152012-05-09 Joseph Myers <joseph@codesourcery.com>
18216
18217 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18218 == 0.
18219 (LC_ALL): Use macro-int-constant.
18220 (LC_COLLATE): Likewise.
18221 (LC_CTYPE): Likewise.
18222 (LC_MESSAGES): Likewise.
18223 (LC_MONETARY): Likewise.
18224 (LC_NUMERIC): Likewise.
18225 (LC_TIME): Likewise.
18226 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18227 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18228 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18229 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18230 Specify type.
18231 [C99-based standards] (float_t): Expect type.
18232 [C99-based standards] (double_t): Expect type.
18233 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18234 type.
18235 [C99-based standards] (HUGE_VALL): Likewise.
18236 [C99-based standards] (INFINITY): Likewise.
18237 [C99-based standards] (NAN): Likewise.
18238 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18239 [C99-based standards] (FP_NAN): Likewise.
18240 [C99-based standards] (FP_NORMAL): Likewise.
18241 [C99-based standards] (FP_SUBNORMAL): Likewise.
18242 [C99-based standards] (FP_ZERO): Likewise.
18243 [C99-based standards] (FP_FAST_FMA): Use
18244 optional-macro-int-constant. Specify type. Require == 1.
18245 [C99-based standards] (FP_FAST_FMAF): Likewise.
18246 [C99-based standards] (FP_FAST_FMAL): Likewise.
18247 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18248 [C99-based standards] (FP_ILOGBNAN): Likewise.
18249 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18250 Specify type.
18251 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18252 [C99-based standards] (math_errhandling): Specify type.
18253 [ISO99 || ISO11] (signgam): Do not allow.
18254 [non-C99-based standards] (copysignf): Do not allow.
18255 [non-C99-based standards] (exp2f): Likewise.
18256 [non-C99-based standards] (log2f): Likewise.
18257 [non-C99-based standards] (modff): Allow.
18258 [non-C99-based standards] (erff): Do not allow.
18259 [non-C99-based standards] (erfcf): Likewise.
18260 [non-C99-based standards] (gammaf): Likewise.
18261 [non-C99-based standards] (hypotf): Likewise.
18262 [non-C99-based standards] (j0f): Likewise.
18263 [non-C99-based standards] (j1f): Likewise.
18264 [non-C99-based standards] (jnf): Likewise.
18265 [non-C99-based standards] (lgammaf): Likewise.
18266 [non-C99-based standards] (tgammaf): Likewise.
18267 [non-C99-based standards] (y0f): Likewise.
18268 [non-C99-based standards] (y1f): Likewise.
18269 [non-C99-based standards] (ynf): Likewise.
18270 [non-C99-based standards] (isnanf): Likewise.
18271 [non-C99-based standards] (acoshf): Likewise.
18272 [non-C99-based standards] (asinhf): Likewise.
18273 [non-C99-based standards] (atanhf): Likewise.
18274 [non-C99-based standards] (cbrtf): Likewise.
18275 [non-C99-based standards] (expm1f): Likewise.
18276 [non-C99-based standards] (ilogbf): Likewise.
18277 [non-C99-based standards] (log1pf): Likewise.
18278 [non-C99-based standards] (logbf): Likewise.
18279 [non-C99-based standards] (nextafterf): Likewise.
18280 [non-C99-based standards] (remainderf): Likewise.
18281 [non-C99-based standards] (rintf): Likewise.
18282 [non-C99-based standards] (scalbf): Likewise.
18283 [non-C99-based standards] (copysignl): Likewise.
18284 [non-C99-based standards] (exp2l): Likewise.
18285 [non-C99-based standards] (log2l): Likewise.
18286 [non-C99-based standards] (modfl): Allow.
18287 [non-C99-based standards] (erfl): Do not allow.
18288 [non-C99-based standards] (erfcl): Likewise.
18289 [non-C99-based standards] (gammal): Likewise.
18290 [non-C99-based standards] (hypotl): Likewise.
18291 [non-C99-based standards] (j0l): Likewise.
18292 [non-C99-based standards] (j1l): Likewise.
18293 [non-C99-based standards] (jnl): Likewise.
18294 [non-C99-based standards] (lgammal): Likewise.
18295 [non-C99-based standards] (tgammal): Likewise.
18296 [non-C99-based standards] (y0l): Likewise.
18297 [non-C99-based standards] (y1l): Likewise.
18298 [non-C99-based standards] (ynl): Likewise.
18299 [non-C99-based standards] (isnanl): Likewise.
18300 [non-C99-based standards] (acoshl): Likewise.
18301 [non-C99-based standards] (asinhl): Likewise.
18302 [non-C99-based standards] (atanhl): Likewise.
18303 [non-C99-based standards] (cbrtl): Likewise.
18304 [non-C99-based standards] (expm1l): Likewise.
18305 [non-C99-based standards] (ilogbl): Likewise.
18306 [non-C99-based standards] (log1pl): Likewise.
18307 [non-C99-based standards] (logbl): Likewise.
18308 [non-C99-based standards] (nextafterl): Likewise.
18309 [non-C99-based standards] (remainderl): Likewise.
18310 [non-C99-based standards] (rintl): Likewise.
18311 [non-C99-based standards] (scalbl): Likewise.
18312 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18313 [non-C99-based standards] (FP_*): Do not allow.
18314 [C99-based standards] (FP_*): Change to
18315 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18316 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18317 allow.
18318 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18319 (SIG_ERR): Likewise.
18320 [X/Open-based standards] (SIG_HOLD): Likewise.
18321 (SIG_IGN): Likewise.
18322 (SIGABRT): Use macro-int-constant. Specify type. Require
18323 positive value.
18324 (SIGFPE): Likewise.
18325 (SIGILL): Likewise.
18326 (SIGINT): Likewise.
18327 (SIGSEGV): Likewise.
18328 (SIGTER): Likewise.
18329 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18330 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18331 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18332 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18333 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18334 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18335 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18336 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18337 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18338 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18339 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18340 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18341 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18342 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18343 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18344 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18345 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18346 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18347 [X/Open-based standards] (SIGTRAP): Likewise.
18348 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18349 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18350 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18351 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18352 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18353 allow.
18354
b9f1922d
IW
183552012-05-08 Ian Wienand <ianw@vmware.com>
18356
18357 [BZ #14080]
18358 * time/tzset.c (__tzset_parse_tz): Update default rules for
18359 daylight time changes in the Energy Policy Act of 2005.
18360
1db86e88
AJ
183612012-05-09 Andreas Jaeger <aj@suse.de>
18362
18363 [BZ #13983]
18364 * elf/ldconfig.c (parse_conf): Change string to make clear that
18365 ldconfig only issued a warning if ld.so.conf does not exist.
18366
dee4a4e3
DM
183672012-05-08 David S. Miller <davem@davemloft.net>
18368
ee0db190
DM
18369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18370 movxtod instead of popping the value on the stack.
18371
dee4a4e3
DM
18372 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18373
6a43ec98
CD
183742012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18375
18376 * config.h.in: Add HAVE_ARM_PCS_VFP.
18377
05c2c961
RMG
183782012-05-08 Roland Mc Grath <roland@hack.frob.com>
18379
bcfe3a54
ST
18380 [BZ #13979]
18381 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18382 checking but the checks are disabled for any reason.
05c2c961 18383
4b30f61a
L
183842012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18385
18386 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18387 and ELF64_R_TYPE with ELFW(R_TYPE).
18388
eee2bc67
JM
183892012-05-08 Joseph Myers <joseph@codesourcery.com>
18390
7ea5391a
JM
18391 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18392 (ulimit): Likewise.
18393
eee2bc67
JM
18394 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18395 (settimeofday): Likewise.
18396
abb66a67
MF
183972012-05-08 Mike Frysinger <vapier@gentoo.org>
18398
18399 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18400 a struct th_u2 inside the union, and move tu_block/tu_code into
18401 a new th_u3 union of tu_block/tu_code inside of that. Move
18402 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18403 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18404 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18405 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18406 (th_stuff): Change to th_u1.tu_stuff.
18407 (th_data): Define.
18408 (th_msg): Change to th_u1.th_u2.tu_data.
18409
7f18b530
DM
184102012-05-07 David S. Miller <davem@davemloft.net>
18411
05760585
DM
18412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18413
7f18b530
DM
18414 [BZ #14074]
18415 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18416 (SETUP_PIC_REG): Use it.
18417 (SETUP_PIC_REG_LEAF): Use it.
18418
495fd99f
JM
184192012-05-07 Joseph Myers <joseph@codesourcery.com>
18420
18421 [BZ #13885]
18422 [BZ #13923]
18423 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18424 USE_AS_EXPM1L.
18425 (EXPL_FINITE): Likewise.
18426 (FLDLOG): Likewise.
18427 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18428 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18429 e_expl.S.
18430 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18431 USE_AS_EXPM1L.
18432 (EXPL_FINITE): Likewise.
18433 (FLDLOG): Likewise.
18434 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18435 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18436 e_expl.S.
18437 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18438 test of -max_value argument for long double.
18439 * sysdeps/i386/fpu/libm-test-ulps: Update.
18440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18441
6693d694
DM
184422012-05-06 David S. Miller <davem@davemloft.net>
18443
18444 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18445 quad soft-float symbols whose references which are compiler
18446 generated.
18447 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18448
6c23e11c
JM
184492012-05-06 Joseph Myers <joseph@codesourcery.com>
18450
d8b82cad
JM
18451 [BZ #13884]
18452 [BZ #13914]
18453 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18454 USE_AS_EXP10L.
18455 (EXPL_FINITE): Likewise.
18456 (FLDLOG): Likewise.
18457 (c0): Likewise.
18458 (c1): Likewise.
18459 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18460 Adjust comments for base varying.
18461 (__expl_finite): Change alias to EXPL_FINITE.
18462 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18463 e_expl.S.
18464 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18465 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18466 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18467 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18468 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18469 USE_AS_EXP10L.
18470 (EXPL_FINITE): Likewise.
18471 (FLDLOG): Likewise.
18472 (c0): Likewise.
18473 (c1): Likewise.
18474 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18475 Adjust comments for base varying.
18476 (__expl_finite): Change alias to EXPL_FINITE.
18477 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18478 tests for bugs.
18479 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18480
6c23e11c
JM
18481 [BZ #14064]
18482 * math/libm-test.inc (check_float_internal): Correct ulp
18483 calculation for subnormal expected results.
18484
29ba805c
AJ
184852012-05-06 Andreas Jaeger <aj@suse.de>
18486
18487 * Makeconfig (+math-flags): New, set to -frounding-math.
18488 (+cflags): Add +math-flags so that all of glibc gets compiled with
18489 it.
18490
18491 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18492
7b17aeda
JM
184932012-05-05 Joseph Myers <joseph@codesourcery.com>
18494
5779f134
JM
18495 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18496 Disable one test.
18497
41498f4d
JM
18498 [BZ #13787]
18499 [BZ #13922]
18500 [BZ #14036]
18501 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18502 (__ieee754_expl): Allow for and saturate large arguments.
18503 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18504 (u_threshold): Likewise.
18505 (__exp): Call __ieee754_exp before checking for overflow and
18506 underflow.
18507 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18508 (u_threshold): Likewise.
18509 (__expf): Call __ieee754_expf before checking for overflow and
18510 underflow.
18511 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18512 (u_threshold): Likewise.
18513 (__expl): Call __ieee754_expl before checking for overflow and
18514 underflow.
18515 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18516 (__ieee754_expl): Allow for and saturate large arguments.
18517 * math/libm-test.inc (exp_test): Add another test. Do not allow
18518 missing overflow exception on overflow.
18519 (expm1_test): Do not allow missing overflow exception on overflow.
18520
6698b8bf
JM
18521 * sysdeps/i386/fpu/e_expl.c: Move to ...
18522 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18523 rather than using inline asm.
18524 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18525 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18526 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18527
7b17aeda
JM
18528 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18529 (nice): Likewise.
18530 (poll): Likewise.
18531 (signal): Likewise.
18532 (time): Likewise.
18533 (times): Likewise.
18534
f7c85819
JM
185352012-05-04 Joseph Myers <joseph@codesourcery.com>
18536
18537 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18538 sysdeps/unix/common/syscalls.list.
18539 (fchmod): Likewise.
18540 (fchown): Likewise.
18541 (ftruncate): Likewise.
18542 (getrusage): Likewise.
18543 (gettimeofday): Likewise.
18544 (setpgid): Likewise.
18545 (setregid): Likewise.
18546 (setreuid): Likewise.
18547 (sigaction): Likewise.
18548 (truncate): Likewise.
18549 (vhangup): Likewise.
18550 * sysdeps/unix/common/syscalls.list: Remove file.
18551 * sysdeps/unix/bsd/Implies: Don't include unix/common.
18552 * sysdeps/unix/sysv/linux/Implies: Likewise.
18553
336270d0
L
185542012-05-04 H.J. Lu <hongjiu.lu@intel.com>
18555
18556 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18557 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18558 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18559 Moved to ...
18560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18561 Here.
18562 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18563 to ...
18564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18565 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18566 to ...
18567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18568 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18569 to ...
18570 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18571 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18572 to ...
18573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18574 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18575 to ...
18576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18577 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18578 to ...
18579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18580 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18581 to ...
18582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18583 Here.
18584 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18585 to ...
18586 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18587 Here.
18588 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18589 to ...
18590 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18591 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18592 Moved to ...
18593 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18594 Here.
18595 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18596 to ...
18597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18598
d128e450
JM
185992012-05-04 Joseph Myers <joseph@codesourcery.com>
18600
fa8ee516
JM
18601 * sysdeps/unix/common/bits/dirent.h: Remove file.
18602 * sysdeps/unix/common/bits/fcntl.h: Likewise.
18603
d128e450
JM
18604 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18605 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18606 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18607 * sysdeps/unix/bsd/isatty.c: Likewise.
18608 * sysdeps/unix/bsd/tcdrain.c: Likewise.
18609 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18610 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18611
ff8faaf0 186122012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 18613
62881be4 18614 [BZ #13563]
31dc8730
AZ
18615 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18616 long double comparison inaccuracies.
18617 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18619
6fef930c
AS
186202012-05-04 Andreas Schwab <schwab@linux-m68k.org>
18621
18622 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18623 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18624
8f203e6c
JM
186252012-05-04 Joseph Myers <joseph@codesourcery.com>
18626
18627 [BZ #14049]
18628 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18629 nonzero digits before rounding a hex value.
18630 * stdlib/tst-strtod.c (tests): Add another test.
18631
5197d9c2
AK
186322012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18633
18634 * sysdeps/s390/fpu/libm-test-ulps: Update.
18635
f0c1dedf
AJ
186362012-05-03 Andreas Jaeger <aj@suse.de>
18637
18638 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18639 does not get optimized out.
18640 (malloc_opt_barrier): New.
18641
a65ef2ae 186422012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 18643 Roland McGrath <roland@hack.frob.com>
a65ef2ae 18644
2b942cb7 18645 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 18646 intermediate file deletion.
2b942cb7 18647 (generated): Add .symlist files.
a65ef2ae 18648
54b71e02
JM
186492012-05-03 Joseph Myers <joseph@codesourcery.com>
18650
18651 [BZ #13775]
18652 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18653 Redirect under this condition.
18654 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18655 [__USE_GNU] (__dprintf_chk): Not under this condition.
18656 [__USE_GNU] (__vdprintf_chk): Likewise.
18657 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18658 under this condition.
18659 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18660 [__USE_XOPEN2K8] (dprintf): Define under this condition.
18661 [__USE_XOPEN2K8] (vdprintf): Likewise.
18662 [__USE_GNU] (__dprintf_chk): Not under this condition.
18663 [__USE_GNU] (__vdprintf_chk): Likewise.
18664 [__USE_GNU] (dprintf): Likewise.
18665 [__USE_GNU] (vdprintf): Likewise.
18666
d3dfcc41
RM
186672012-05-03 Roland McGrath <roland@hack.frob.com>
18668
18669 * elf/Makefile (common-generated): Set this instead of generated for
18670 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
18671 $(all-built-dso)-derived lists.
18672
7ac30cc5
AJ
186732012-05-03 Andreas Jaeger <aj@suse.de>
18674
0c51e550
AJ
18675 * sysdeps/i386/fpu/libm-test-ulps: Update.
18676
7ac30cc5
AJ
18677 * FAQ: Removed.
18678 * FAQ.in: Likewise.
18679 * scripts/gen-FAQ.pl: Likewise.
18680 * manual/install.texi (Installation): Point to online location of
18681 FAQ.
18682 * Makefile (files-for-dist): Remove FAQ.
18683 (FAQ): Remove.
18684
d4c2917f
AM
186852012-05-02 Allan McRae <allan@archlinux.org>
18686
18687 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18688 (LDFLAGS-reldepmod5.so): Likewise.
18689 (LDFLAGS-reldep6mod1.so): Likewise.
18690 (LDFLAGS-reldep6mod4.so): Likewise.
18691 (LDFLAGS-reldep8mod3.so): Likewise.
18692 (LDFLAGS-unload4mod1.so): Likewise.
18693 (LDFLAGS-unload4mod2.so): Likewise.
18694 (LDFLAGS-tst-initorder): Likewise.
18695 (LDFLAGS-tst-initordera2.so): Likewise.
18696 (LDFLAGS-tst-initordera3.so): Likewise.
18697 (LDFLAGS-tst-initordera4.so): Likewise.
18698 (LDFLAGS-tst-initorderb2.so): Likewise.
18699 (LDFLAGS-noload): Likewise.
18700 (LDFLAGS-next): Likewise.
18701 (LDFLAGS-order2mod1.so): Likewise.
18702 (LDFLAGS-order2mod2.so): Likewise.
18703 (LDFLAGS-tst-initorder2): Likewise.
18704 (LDFLAGS-tst-initorder2a.so): Likewise.
18705 (LDFLAGS-tst-initorder2b.so): Likewise.
18706 (LDFLAGS-tst-initorder2c.so): Likewise.
18707 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18708
d77f993f
DM
187092012-05-02 David S. Miller <davem@davemloft.net>
18710
18711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18712
171a70b4
PP
187132012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
18714
18715 [BZ #14055]
18716 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18717
0be196ad
AJ
187182012-05-02 Andreas Jaeger <aj@suse.de>
18719
18720 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18721 since we manipulate rounding mode.
18722 (CPPFLAGS-test-idouble.c): Likewise.
18723 (CPPFLAGS-test-ifloat.c): Likewise.
18724 (CFLAGS-test-ldouble.c): Likewise.
18725 (CFLAGS-test-double.c): Likewise.
18726 (CFLAGS-test-float.c): Likewise.
18727 (CFLAGS-test-misc.c): Likewise.
18728 (CFLAGS-test-test-fenv.c): Likewise.
18729
4f9d04aa
AZ
187302012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18731
2b942cb7
RM
18732 [BZ #2550]
18733 [BZ #2570]
18734 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18735 comparisons to determine direction to adjust input.
4f9d04aa 18736
82a79e7d
RM
187372012-05-01 Roland McGrath <roland@hack.frob.com>
18738
f5a01ca9
RM
18739 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18740 output to the target.
18741
90fe4186
RM
18742 * scripts/localplt.awk: New file.
18743 * elf/Makefile ($(objpfx)check-localplt): Target removed.
18744 (check-localplt-CFLAGS): Variable removed.
18745 ($(all-built-dso:=.jmprel)): New static pattern rule.
18746 (generated): Add those targets.
18747 (localplt-built-dso): New variable.
18748 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18749
18750 * elf/check-localplt.c: File removed.
18751
82397ed6
RM
18752 * scripts/check-execstack.awk: New file.
18753 * elf/Makefile ($(objpfx)check-execstack): Target removed.
18754 (check-execstack-CFLAGS): Variable removed.
18755 ($(objpfx)check-execstack.h): Target removed.
18756 ($(objpfx)execstack-default): New target.
18757 (generated): Add that instead of check-execstack.h.
18758 ($(all-built-dso:=.phdr)): New static pattern rule.
18759 (generated): Add those targets.
18760 * elf/check-execstack.c: File removed.
18761
82a79e7d
RM
18762 * scripts/check-textrel.awk: New file.
18763 * elf/Makefile ($(objpfx)check-textrel): Target removed.
18764 (check-textrel-CFLAGS): Variable removed.
18765 (all-built-dso): Use := to define.o
18766 ($(all-built-dso:=.dyn)): New static pattern rule.
18767 (generated): Add those targets.
18768 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18769 * config.make.in (READELF): New substituted variable.
18770 * elf/check-textrel.c: File removed.
18771
62fde54f 187722012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 18773
615605c9
JM
18774 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18775 allow.
18776 * conform/data/ctype.h-data [C99-based standards] (isblank):
18777 Expect function.
18778 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18779 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18780 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18781 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18782 Specify type. Require positive value.
18783 (EILSEQ): Likewise.
18784 (ERANGE): Likewise.
18785 [ISO || POSIX] (EILSEQ): Do not expect.
18786 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18787 Specify type. Require positive value.
18788 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18789 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18790 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18791 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18792 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18793 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18794 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18795 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18796 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18797 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18798 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18799 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18800 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18801 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18802 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18803 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18804 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18805 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18806 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18807 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18808 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18809 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18810 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18811 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18812 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18813 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18814 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18815 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18816 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18817 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18818 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18819 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18820 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18821 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18822 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18823 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18824 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18825 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18826 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18827 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
18828 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
18829 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
18830 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
18831 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
18832 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
18833 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
18834 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
18835 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
18836 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
18837 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
18838 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
18839 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
18840 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
18841 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
18842 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
18843 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
18844 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
18845 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
18846 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
18847 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
18848 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
18849 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
18850 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
18851 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
18852 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
18853 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
18854 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
18855 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
18856 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
18857 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
18858 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
18859 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
18860 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
18861 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
18862 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
18863 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
18864 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
18865 Require >= 2.
18866 (FLT_ROUNDS): Expect as macro, not constant.
18867 (FLT_MANT_DIG): Use macro-int-constant.
18868 (DBL_MANT_DIG): Likewise.
18869 (LDBL_MANT_DIG): Likewise.
18870 (FLT_DIG): Likewise.
18871 (DBL_DIG): Likewise.
18872 (LDBL_DIG): Likewise.
18873 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
18874 (DBL_MIN_EXP): Likewise.
18875 (LDBL_MIN_EXP): Likewise.
18876 (FLT_MAX_EXP): Use macro-int-constant.
18877 (DBL_MAX_EXP): Likewise.
18878 (LDBL_MAX_EXP): Likewise.
18879 (FLT_MAX_10_EXP): Likewise.
18880 (DBL_MAX_10_EXP): Likewise.
18881 (LDBL_MAX_10_EXP): Likewise.
18882 (FLT_MAX): Use macro-constant.
18883 (DBL_MAX): Likewise.
18884 (LDBL_MAX): Likewise.
18885 (FLT_EPSILON): Use macro-constant. Give upper bound.
18886 (DBL_EPSILON): Likewise.
18887 (LDBL_EPSILON): Likewise.
18888 (FLT_MIN): Likewise.
18889 (DBL_MIN): Likewise.
18890 (LDBL_MIN): Likewise.
18891 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
18892 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
18893 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
18894 [ISO11] (FLT_HAS_SUBNORM): Likewise.
18895 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
18896 [ISO11] (DBL_DECIMAL_DIG): Likewise.
18897 [ISO11] (FLT_DECIMAL_DIG): Likewise.
18898 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
18899 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
18900 [ISO11] (FLT_TRUE_MIN): Likewise.
18901 [ISO11] (LDBL_TRUE_MIN): Likewise.
18902 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18903 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
18904 (SCHAR_MIN): Use macro-int-constant. Specify type.
18905 (SCHAR_MAX): Likewise.
18906 (UCHAR_MAX): Likewise.
18907 (CHAR_MIN): Likewise.
18908 (CHAR_MAX): Likewise.
18909 (MB_LEN_MAX): Use macro-int-constant.
18910 (SHRT_MIN): Use macro-int-constant. Specify type.
18911 (SHRT_MAX): Likewise.
18912 (USHRT_MAX): Likewise.
18913 (INT_MAX): Likewise.
18914 (INT_MIN): Use macro-int-constant. Specify type. Make upper
18915 bound negative.
18916 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
18917 bound with "U".
18918 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18919 bound with "L".
18920 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
18921 bound negative. Suffix upper bound with "L".
18922 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18923 bound with "UL".
18924 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
18925 Specify type.
18926 [C99-based standards] (LLONG_MAX): Likewise.
18927 [C99-based standards] (ULLONG_MAX): Likewise.
18928 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
18929 == 0.
18930 [ISO11] (max_align_t): Require type.
18931 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18932
c9140a62
JM
18933 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
18934 from $CFLAGS, without defining away __attribute__ calls.
18935 (checknamespace): Use $CFLAGS_namespace.
18936
9af0bf29
JM
18937 * conform/conformtest.pl (@keywords): Only include C99 keywords
18938 for standards based on C99 or C11.
18939
343222a2
JM
18940 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
18941 Disable tests.
18942 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
18943 UNIX98]: Likewise.
18944
661f8cf0
JM
18945 * conform/conformtest.pl: Handle "macro-int-constant" and test for
18946 usability of symbols in #if.
18947
ee74b9cb
JM
18948 * conform/conformtest.pl: If macro or constant types start
18949 "promoted:", expect the symbol to be of the following type
18950 promoted by the integer promotions.
62fde54f 18951
aafc49b3
JM
18952 * conform/conformtest.pl: Parse all "constant" and "macro" lines
18953 in one place. Also handle "macro-constant".
18954
fefdf574
JM
18955 * conform/conformtest.pl: Only accept expected macro values with
18956 "==". Parse all "macro" lines in one place.
18957 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
18958
f2d922fe
JM
18959 * conform/conformtest.pl: Handle braced types on "constant" lines
18960 instead of handling "typed-constant".
18961 * conform/data/signal.h-data: Use "constant" instead of
18962 "typed-constant".
18963
d22956c9
JM
18964 * conform/conformtest.pl: Handle "optional-" at start of lines in
18965 one place rather than duplicating several cases. Handle each
18966 format of "macro" line with initial "optional-".
18967
028e2e38
JM
18968 * conform/conformtest.pl: Only accept expected constant or
18969 optional-constant values with "==". Parse all "constant" lines in
18970 one place. Parse all "optional-constant" lines in one place.
18971 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
18972 * conform/data/fmtmsg.h-data: Likewise.
18973 * conform/data/netinet/in.h-data: Likewise.
18974 * conform/data/tar.h-data: Likewise.
18975 * conform/data/limits.h-data: Use "==" form on "constant" and
18976 "optional-constant" lines.
18977
1b8f2850
JM
18978 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
18979 Use -std=c99 for XOPEN2K.
18980 (@knownproblems): Remove.
18981 (newtoken): Don't check %isknown.
18982
a05a144b
JM
18983 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
18984 Do not expect macro.
18985 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
18986 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
18987 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
18988 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
18989 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
18990 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
18991 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
18992 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
18993 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
18994 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
18995 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
18996 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
18997 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
18998 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
18999 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19000 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19001 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19002 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19003 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19004 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19005 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19006 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19007 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19008 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19009 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19010 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19011 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19012 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19013 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19014 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19015 [XPG3] (acosh): Likewise.
19016 [XPG3] (asinh): Likewise.
19017 [XPG3] (atanh): Likewise.
19018 [XPG3] (cbrt): Likewise.
19019 [XPG3] (expm1): Likewise.
19020 [XPG3] (ilogb): Likewise.
19021 [XPG3] (log1p): Likewise.
19022 [XPG3] (logb): Likewise.
19023 [XPG3] (nextafter): Likewise.
19024 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19025 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19026 [XPG3] (remainder): Likewise.
19027 [XPG3] (rint): Likewise.
19028 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19029 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19030 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19031 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19032 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19033 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19034 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19035 [UNIX98 || XOPEN2K] (scalb): Expect.
19036 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19037 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19038 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19039 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19040 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19041 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19042 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19043 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19044 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19045 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19046 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19047 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19048 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19049 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19050 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19051 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19052 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19053 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19054 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19055 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19056 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19057 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19058 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19059 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19060 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19061 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19062 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19063 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19064 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19065 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19066 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19067 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19068 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19069 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19070 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19071 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19072 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19073 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19074 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19075 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19076 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19077 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19078 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19079 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19080 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19081 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19082 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19083 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19084 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19085 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19086 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19087 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19088 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19089 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19090 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19091 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19092 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19093 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19094 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19095 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19096 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19097 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19098 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19099 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19100 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19101 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19102 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19103 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19104 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19105 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19106 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19107 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19108 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19109 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19110 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19111 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19112 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19113 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19114 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19115 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19116 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19117 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19118 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19119 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19120 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19121 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19122 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19123 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19124 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19125 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19126 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19127 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19128 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19129 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19130 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19131 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19132 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19133 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19134 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19135 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19136 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19137 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19138 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19139 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19140 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19141 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19142 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19143 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19144 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19145 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19146 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19147 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19148 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19149 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19150 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19151 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19152 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19153 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19154 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19155 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19156 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19157 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19158 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19159 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19160 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19161 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19162 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19163 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19164 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19165 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19166 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19167 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19168 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19169 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19170 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19171 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19172 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19173
73c5ebe3
JM
19174 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19175 _XOPEN_SOURCE_EXTENDED for XPG4.
19176
39c33b6c
JM
19177 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19178
62fde54f
JM
19179 * Makeconfig (localtime): Remove variable.
19180 (inst_localtime-file): Likewise.
19181
0741d64c
AS
191822012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19183
19184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19185 Update.
19186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19187 Update.
19188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19189 Update.
19190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19191 Update.
19192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19193 Update.
19194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19195 Update.
19196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19197 Update.
19198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19199 Update.
19200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19201 Update.
19202
7cb029ee
JM
192032012-05-01 Joseph Myers <joseph@codesourcery.com>
19204
19205 [BZ #2550]
19206 [BZ #2570]
19207 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19208 comparisons to determine direction to adjust input.
19209 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19210 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19211 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19212 Likewise.
19213 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19214 Likewise.
19215 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19216 Likewise.
19217 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19218 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19219 Likewise.
19220 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19221 Likewise.
19222 * math/libm-test.inc (nexttoward_test): Add more tests.
19223
412bd966
AS
192242012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19225
19226 [BZ #14040]
19227 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19228 in version GLIBC_2.1, not GLIBC_2.0.
19229 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19230 Likewise.
19231
9568c0c2
JM
192322012-04-30 Joseph Myers <joseph@codesourcery.com>
19233
adfbc8ac
JM
19234 [BZ #13942]
19235 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19236 (1 - x) * (1 + x).
19237 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19238 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19239 * math/libm-test.inc (acos_test): Add more tests.
19240 (asin_test): Likewise.
19241 * sysdeps/i386/fpu/libm-test-ulps: Update.
19242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19243
5ba3cc69
JM
19244 [BZ #14034]
19245 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19246 of square root.
19247 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19248 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19249 * math/libm-test.inc (acos_test_tonearest): New function.
19250 (acos_test_towardzero): Likewise.
19251 (acos_test_downward): Likewise.
19252 (acos_test_upward): Likewise.
19253 (asin_test_tonearest): Likewise.
19254 (asin_test_towardzero): Likewise.
19255 (asin_test_downward): Likewise.
19256 (asin_test_upward): Likewise.
19257 (main): Call the new functions.
19258 * sysdeps/i386/fpu/libm-test-ulps: Update.
19259 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19260
9568c0c2
JM
19261 [BZ #13884]
19262 [BZ #13924]
19263 * math/e_exp10.c: Include <float.h>.
19264 (__ieee754_exp10): Handle underflow here rather than multiplying
19265 large negative argument by M_LN10.
19266 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19267 of __ieee754_expf.
19268 * math/e_exp10l.c: Include <float.h>.
19269 (__ieee754_exp10l): Handle underflow here rather than multiplying
19270 large negative argument by M_LN10l.
19271 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19272 spurious overflow exception on underflow.
19273
5ac3ea17
MP
192742012-04-29 Marek Polacek <polacek@redhat.com>
19275
19276 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19277 (__fortify_function): New macro.
19278 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19279 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19280 __extern_always_inline.
19281 * libio/bits/stdio2.h: Likewise.
19282 * libio/bits/stdio.h: Likewise.
19283 * string/string.h: Likewise.
19284 * string/bits/string3.h: Likewise.
19285 * include/stdio.h: Likewise.
19286 * stdlib/bits/stdlib.h: Likewise.
19287 * stdlib/stdlib.h: Likewise.
19288 * rt/bits/mqueue2.h: Likewise.
19289 * rt/mqueue.h: Likewise.
19290 * posix/bits/unistd.h: Likewise.
19291 * posix/unistd.h: Likewise.
19292 * io/bits/poll2.h: Likewise.
19293 * io/bits/fcntl2.h: Likewise.
19294 * io/fcntl.h: Likewise.
19295 * io/sys/poll.h: Likewise.
19296 * misc/bits/syslog.h: Likewise.
19297 * misc/bits/syslog-ldbl.h: Likewise.
19298 * misc/sys/syslog.h: Likewise.
19299 * socket/bits/socket2.h: Likewise.
19300 * socket/sys/socket.h: Likewise.
19301 * debug/tst-chk1.c: Likewise.
19302 * wcsmbs/bits/wchar2.h: Likewise.
19303 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19304 * wcsmbs/wchar.h: Likewise.
19305
ecf0ebfb
AJ
193062012-04-29 Andreas Jaeger <aj@suse.de>
19307
19308 * Makerules (tests): Remove enable-check-abi protection.
19309 (check-abi-warn): Remove.
19310 (check-abi-%): Remove check-abi-warn usage.
19311
19312 * configure.in: Remove check-abi configure option.
19313 * configure: Regenerated.
19314 * config.make.in (enable-check-abi): Remove.
19315
6d5c57fa
AS
193162012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19317
24c5d07e 19318 [BZ #14033]
ded5180a
AS
19319 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19320 double functions to double *_finite functions.
19321
7e0d315d
AS
19322 [BZ #13941]
19323 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19324 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19325 LDBL_MIN_EXP.
19326 * stdio-common/Makefile (tests): Add tst-sprintf3.
19327 * stdio-common/tst-sprintf3.c: New file.
19328
6d5c57fa
AS
19329 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19330 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19331
0749ff8b
JM
193322012-04-28 Joseph Myers <joseph@codesourcery.com>
19333
19334 * conform/conformtest.pl: Remove duplicate typed-constant
19335 handling.
19336
8dbd5d7b
DM
193372012-04-28 David S. Miller <davem@davemloft.net>
19338
19339 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19340 (check-abi-%): Remove AWK script prerequisite and explicit
19341 abilist directory.
19342 (check-abi): Rewrite to just diff the symlist with the abilist.
19343 (config-tls, config-abi-config): Delete, no longer used.
19344 (update-abi-%): Remove AWK script and explicit abilist directory.
19345 (update-abi): Rewrite to simply compare and conditionally copy the
19346 symlist and the sysdep abilist file. Remove update-abi-config
19347 checks.
19348 * abilist/ld.abilist: Remove.
19349 * abilist/libBrokenLocale.abilist: Remove.
19350 * abilist/libanl.abilist: Remove.
19351 * abilist/libcrypt.abilist: Remove.
19352 * abilist/libdl.abilist: Remove.
19353 * abilist/librt.abilist: Remove.
19354 * abilist/libthread_db.abilist: Remove.
19355 * abilist/libutil.abilist: Remove.
19356 * scripts/extract-abilist.awk: Remove.
19357 * scripts/merge-abilist.awk: Remove.
19358 * sysdeps/generic/libcidn.abilist: New file.
19359 * sysdeps/generic/libnss_compat.abilist: New file.
19360 * sysdeps/generic/libnss_db.abilist: New file.
19361 * sysdeps/generic/libnss_dns.abilist: New file.
19362 * sysdeps/generic/libnss_files.abilist: New file.
19363 * sysdeps/generic/libnss_hesiod.abilist: New file.
19364 * sysdeps/generic/libnss_nis.abilist: New file.
19365 * sysdeps/generic/libnss_nisplus.abilist: New file.
19366 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19367 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19368 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19369 file.
19370 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19371 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19372 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19373 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19374 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19375 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19376 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19377 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19378 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19379 file.
19380 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19381 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19382 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19383 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19384 file.
19385 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19386 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19387 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19388 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19389 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19390 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19391 file.
19392 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19393 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19394 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19395 file.
19396 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19397 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19398 New file.
19399 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19400 New file.
19401 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19402 New file.
19403 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19404 New file.
19405 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19406 New file.
19407 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19408 New file.
19409 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19410 New file.
19411 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19412 New file.
19413 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19414 New file.
19415 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19416 New file.
19417 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19418 New file.
19419 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19420 New file.
19421 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19422 New file.
19423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19424 file.
19425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19426 New file.
19427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19428 New file.
19429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19430 file.
19431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19432 New file.
19433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19434 New file.
19435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19436 file.
19437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19438 New file.
19439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19440 New file.
19441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19442 New file.
19443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19444 New file.
19445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19446 New file.
19447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19448 New file.
19449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19451 file.
19452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19453 New file.
19454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19455 file.
19456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19457 file.
19458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19459 file.
19460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19461 file.
19462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19463 file.
19464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19465 New file.
19466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19467 file.
19468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19469 file.
19470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19471 New file.
19472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19473 file.
19474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19476 file.
19477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19478 New file.
19479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19480 file.
19481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19482 file.
19483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19484 file.
19485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19486 file.
19487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19488 file.
19489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19490 New file.
19491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19492 file.
19493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19494 file.
19495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19496 New file.
19497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19498 file.
19499 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19500 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19501 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19502 file.
19503 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19504 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19505 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19506 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19507 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19508 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19509 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19510 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19511 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19512 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19515 file.
19516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19517 New file.
19518 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19519 file.
19520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19521 file.
19522 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19523 file.
19524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19525 file.
19526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19527 file.
19528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19529 New file.
19530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19531 New file.
19532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19533 file.
19534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19535 New file.
19536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19537 file.
19538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19539 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19540 file.
19541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19542 New file.
19543 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19544 file.
19545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19546 file.
19547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19548 file.
19549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19550 file.
19551 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19552 file.
19553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19554 New file.
19555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19556 New file.
19557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19558 file.
19559 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19560 New file.
19561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19562 file.
19563
41d73a1b
JM
195642012-04-28 Joseph Myers <joseph@codesourcery.com>
19565
19566 * conform/conformtest.pl: Fix typo in handling typed-constant from
19567 allow-header.
19568
28aeeda4
JM
195692012-04-27 Joseph Myers <joseph@codesourcery.com>
19570
adae8f5e
JM
19571 * README: Cut down references to pre-2.6 Linux kernels and
19572 Linuxthreads. Update lists of configurations in libc and ports
19573 and sort alphabetically. Say "or newer" with Linux kernel version
19574 requirements.
19575
28aeeda4
JM
19576 * config.h.in [IS_IN_build]: Allow compiling without optimization.
19577
a462cb63
RA
195782012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19579
19580 [BZ #887]
19581 * math/libm-test.inc (logb_test_downward): New test to expose
19582 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19583 rounding mode.
19584
6ad3493e
JM
195852012-04-27 Joseph Myers <joseph@codesourcery.com>
19586
19587 [BZ #14027]
19588 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19589 to be done.
19590 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19591 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19592
2ce4f015
JM
195932012-04-26 Joseph Myers <joseph@codesourcery.com>
19594
5aeb141a
JM
19595 * sysdeps/unix/i386/brk.S: Remove file.
19596 * sysdeps/unix/i386/dl-brk.S: Likewise.
19597 * sysdeps/unix/i386/pipe.S: Likewise.
19598 * sysdeps/unix/i386/sigreturn.S: Likewise.
19599 * sysdeps/unix/i386/syscall.S: Likewise.
19600 * sysdeps/unix/i386/vfork.S: Likewise.
19601 * sysdeps/unix/i386/wait.S: Likewise.
19602
7143acae
JM
19603 * sysdeps/unix/common/tcsendbrk.c: Move to ...
19604 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19605
2ce4f015
JM
19606 * configure.in (arm*-none*): Do not allow without
19607 --enable-hacker-mode.
19608 (netbsd*): Remove case setting base_os.
19609 (386bsd*): Likewise.
19610 (freebsd*): Likewise.
19611 (bsdi*): Likewise.
19612 (osf*): Likewise.
19613 (sunos*): Likewise.
19614 (ultrix*): Likewise.
19615 (newsos*): Likewise.
19616 (dynix*): Likewise.
19617 (*bsd*): Likewise.
19618 (sysv*): Likewise.
19619 (isc*): Likewise.
19620 (esix*): Likewise.
19621 (sco*): Likewise.
19622 (minix*): Likewise.
19623 (irix4*): Likewise.
19624 (irix6*): Likewise.
19625 (solaris[2-9]*): Likewise.
19626 (none): Likewise.
19627 * configure: Regenerated.
19628
0ac229c8
AZ
196292012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19630
19631 [BZ #11521]
19632 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19633 overflow or cancellation in calculating denominator.
19634 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19635 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19636 down expression to avoid unexpected rounding in newer GCCs.
19637 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19638
33f244f4
DM
196392012-04-26 David S. Miller <davem@davemloft.net>
19640
19641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19642 long-double compat symbols.
19643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19656
cfa1f3e8
DM
196572012-04-25 David S. Miller <davem@davemloft.net>
19658
19659 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19660 HWCAP_* values only after the memory barriers have been defined.
19661 (atomic_full_barrier): Define.
19662 (atomic_read_barrier): Define.
19663 (atomic_write_barrier): Define.
19664
6e236b92
SP
196652012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19666
19667 * shlib-versions: Add libgcc_s version information.
19668 * sysdeps/generic/libgcc_s.h: Remove.
19669 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19670 libgcc_s.h.
19671 * sysdeps/gnu/unwind-resume.c: Likewise.
19672 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19673
aab39a09
DM
196742012-04-25 David S. Miller <davem@davemloft.net>
19675
19676 * sysdeps/unix/sparc/brk.S: Delete.
19677 * sysdeps/unix/sparc/dl-brk.S: Delete.
19678 * sysdeps/unix/sparc/pipe.S: Delete.
19679 * sysdeps/unix/sparc/sysdep.S: Delete.
19680 * sysdeps/unix/sparc/sysdep.h: Delete.
19681 * sysdeps/unix/sparc/vfork.S: Delete.
19682 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19683 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19684 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19685 ret_ERRVAL, r0, r1, MOVE): Define.
19686 (JUMPTARGET): Remove.
19687 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19688 sysdeps/unix/sparc/sysdep.h
19689 (ENTRY, END): Remove.
19690 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19691
a3cc4f48
JM
196922012-04-25 Joseph Myers <joseph@codesourcery.com>
19693
2ed8cda2
JM
19694 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19695 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19696 -DIS_IN_build.
19697
35d76d59
JM
19698 * timezone/README: Update upstream location and email address for
19699 tzcode and tzdata.
19700 * timezone/zdump.c: Update from tzcode 2012b.
19701 * timezone/zic.c: Likewise.
19702
a3cc4f48
JM
19703 * configure.in (libc_cv_as_needed): Remove test.
19704 * configure: Regenerated.
19705 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19706 conditional definition.
19707 [$(have-as-needed) != yes] (no-as-needed): Likewise.
19708 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19709 * config.make.in (have-as-needed): Remove variable.
19710
ceab42c3
SP
197112012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19712 Paul Pluzhnikov <ppluzhnikov@google.com>
19713
19714 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19715 strings correctly.
19716
3ce2865f
CLT
197172012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
19718
19719 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19720 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19721 * sysdeps/sh/strlen.S: Likewise.
19722
f37e0d68
JM
197232012-04-24 Joseph Myers <joseph@codesourcery.com>
19724
ae186e9a
JM
19725 * sysdeps/unix/fork.S: Remove file.
19726 * sysdeps/unix/i386/fork.S: Likewise.
19727 * sysdeps/unix/sparc/fork.S: Likewise.
19728
b96914af
JM
19729 * sysdeps/unix/system.c: Remove file.
19730 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19731
f37e0d68
JM
19732 * sysdeps/unix/getegid.S: Remove file.
19733 * sysdeps/unix/geteuid.S: Likewise.
19734
87ef29ca
RM
197352012-04-24 Roland McGrath <roland@hack.frob.com>
19736
83bcd236
RM
19737 * scripts/check-localplt.awk: New file.
19738 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19739 of diff.
19740 * scripts/data/localplt-generic.data: Add a comment.
19741
87ef29ca
RM
19742 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19743 NODE when __dir_mkfile failed.
19744 * sysdeps/mach/hurd/symlinkat.c: Likewise.
19745 Reported by Ludovic Courtès <ludo@gnu.org>.
19746
e5a6e567
AJ
197472012-04-24 Andreas Jaeger <aj@suse.de>
19748
19749 * Makerules (common-clean): Also remove gen-as-const-headers
19750 files.
19751
c1820385
JM
197522012-04-24 Joseph Myers <joseph@codesourcery.com>
19753
19754 * Makerules (native-compile): Do not change working directory for
19755 build. Use $(OUTPUT_OPTION) in command.
19756 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19757
94e02fc4
AZ
197582012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19759
19760 [BZ #13886]
19761 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19762 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19763 * math/libm-test.inc (floor_test): Add more tests.
19764 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19765
3a533ca3
JM
197662012-04-24 Joseph Myers <joseph@codesourcery.com>
19767
940ab4b3
JM
19768 * sysdeps/unix/getdents.c: Remove file.
19769 * sysdeps/unix/sysv/getdents.c: Likewise.
19770 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19771
90e037bd
JM
19772 * sysdeps/unix/syscalls.list (madvise): Add syscall from
19773 sysdeps/unix/mman/syscalls.list.
19774 (mmap): Likewise.
19775 (mprotect): Likewise.
19776 (msync): Likewise.
19777 (munmap): Likewise.
19778 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19779 * sysdeps/unix/mman/syscalls.list: Remove.
19780 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19781
3a533ca3
JM
19782 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19783 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19784 * configure: Regenerated.
19785 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19786 $(libgcc_s_suffix).
19787 * config.make.in (libgcc_s_suffix): Remove variable.
19788
1ad743de
JM
197892012-04-23 Joseph Myers <joseph@codesourcery.com>
19790
4ad451e2
JM
19791 * sysdeps/unix/sysv/gethostname.c: Move to ...
19792 * sysdeps/posix/gethostname.c: ... here.
19793
5e37ce39
JM
19794 * sysdeps/unix/execve.S: Remove file.
19795
1ad743de
JM
19796 * sysdeps/unix/_exit.S: Remove file.
19797
4e681b5b
AJ
197982012-04-23 Andreas Jaeger <aj@suse.de>
19799
19800 [BZ #13739]
19801 * manual/Makefile: Remove make dist support, there's no
19802 need for a stand-alone documentation tar ball.
19803 (TEXI2DVI): Define always, it's not in Makeconfig.
19804 (dist): Removed.
19805 (tar-it): Removed.
19806 (edition): Removed.
19807 (glibc-doc-$(edition).tar): Removed
19808 (%.Z): Removed.
19809 (%.gz): Removed.
19810 (%.uu): Removed.
19811 (ETAGS): Remove, it's in Makeconfig.
19812 (move-if-change): Remove, it's in Makeconfig.
19813
38686a03 198142012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
19815
19816 [BZ #13970]
19817 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19818 (strtod, strtof, strtold, strtol, strtoul, strtoq)
19819 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19820 (strtod_l, strtof_l, strtold_l): Remove __wur.
19821 It is not necessarily an error to ignore strtol's return value.
19822 One can reliably look at the stored endptr to decide whether
19823 the number had valid syntax.
19824
7c0616fa
AJ
198252012-04-21 Andreas Jaeger <aj@suse.de>
19826
803cb6b7 19827 [BZ #13739]
7c0616fa
AJ
19828 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
19829
b0fe253f
JM
198302012-04-21 Joseph Myers <joseph@codesourcery.com>
19831
19832 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
19833 * sysdeps/unix/sysv/Versions: Remove file.
19834
8280f22d
MT
198352012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
19836
19837 [BZ #13927]
19838 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19839
75ce411f 198402012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
19841
19842 [BZ #7064]
19843 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
19844 version from __vm86.
19845
097d59fa
JM
198462012-04-20 Joseph Myers <joseph@codesourcery.com>
19847
a90f3bcb
JM
19848 * sysdeps/unix/common/lxstat.c: Remove file.
19849 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
19850
edc7ea78
JM
19851 * sysdeps/unix/sysv/Makefile: Remove file.
19852
cb78c221
JM
19853 * sysdeps/unix/sysv/direct.h: Remove file.
19854
efa6a45f
JM
19855 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
19856 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
19857 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
19858 * sysdeps/unix/sysv/bits/signum.h: Likewise.
19859 * sysdeps/unix/sysv/bits/stat.h: Likewise.
19860 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
19861 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
19862
9c9f2d0c
JM
19863 * sysdeps/unix/sysv/setrlimit.c: Remove file.
19864
4541c83b
JM
19865 * sysdeps/unix/xmknod.c: Remove file.
19866 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
19867
f5d153a0
JM
19868 * sysdeps/unix/sysv/settimeofday.c: Remove file.
19869
aa746595
JM
19870 * sysdeps/unix/sysv/i386/time.S: Remove file.
19871
cce5905e
JM
19872 * sysdeps/unix/fxstat.c: Remove file.
19873 * sysdeps/unix/xstat.c: Likewise.
19874 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
19875
37fa3841
JM
19876 * sysdeps/unix/sysv/sigaction.c: Remove file.
19877
ff1962a3
JM
19878 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
19879 (sysdep_headers): Remove variable.
19880 [termio.h not in sysdep_headers] (generated): Likewise.
19881 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
19882 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
19883 * sysdeps/unix/sysv/tcdrain.c: Likewise.
19884 * sysdeps/unix/sysv/tcflow.c: Likewise.
19885 * sysdeps/unix/sysv/tcflush.c: Likewise.
19886 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
19887 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
19888 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
19889 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
19890 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
19891
e7740d31
JM
19892 * sysdeps/unix/siglist.c: Remove file.
19893
ee06f18b
JM
19894 * sysdeps/unix/getppid.S: Remove file.
19895
097d59fa
JM
19896 * sysdeps/unix/mkdir.c: Remove file.
19897 * sysdeps/unix/rmdir.c: Likewise.
19898
ff3d51ec
AS
198992012-04-19 Andreas Schwab <schwab@linux-m68k.org>
19900
19901 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
19902 ERR_MAX value.
19903 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
19904 errlist-compat value.
19905
50f81fd7
DM
199062012-04-18 David S. Miller <davem@davemloft.net>
19907
19908 * sysdeps/generic/memcopy.h (reg_char): Delete.
19909 * debug/strcat_chk.c: Use char, not reg_char.
19910 * debug/strcpy_chk.c: Likewise.
19911 * debug/strncat_chk.c: Likewise.
19912 * debug/strncpy_chk.c: Likewise.
19913 * string/memchr.c: Likewise.
19914 * string/memrchr.c: Likewise.
19915 * string/rawmemchr.c: Likewise.
19916 * string/strcat.c: Likewise.
19917 * string/strchr.c: Likewise.
19918 * string/strchrnul.c: Likewise.
19919 * string/strcmp.c: Likewise.
19920 * string/strcpy.c: Likewise.
19921 * string/strncat.c: Likewise.
19922 * string/strncmp.c: Likewise.
19923 * string/strncpy.c: Likewise.
19924
8ff41c46
WS
199252012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19926
19927 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
19928 __builtin_memcopy is called when src and dest ranges are known to not
19929 overlap.
19930
6b652f46
WS
199312012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19932
19933 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
19934 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
19935 fwd_align_merge macro call.
19936 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
19937 bwd_align_merge macro call.
19938 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19939
b282631e
WS
199402012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19941
19942 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
19943 bwd_align_merge macros.
19944 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
19945 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
19946 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19947
95aa737c
DM
199482012-04-18 David S. Miller <davem@davemloft.net>
19949
19950 * sysdeps/sparc/sparc64/memcopy.h: Delete.
19951
7a99a614
AJ
199522012-04-18 Andreas Jaeger <aj@suse.de>
19953
19954 [BZ# 6794]
19955 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
19956 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
19957 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19958
19959 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
19960 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
19961 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19962
19963 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
19964 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
19965 Adjust for changed ldbl-128 files.
19966
19967 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
19968 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
19969 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19970
e5270c23
DM
199712012-04-17 David S. Miller <davem@davemloft.net>
19972
19973 * sysdeps/sparc/sparc32/memcopy.h: Delete.
19974
fb5e92c9
AS
199752012-04-17 Andreas Schwab <schwab@linux-m68k.org>
19976
19977 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
19978 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
19979 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
19980 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
19981 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19982 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
19983
76da7265
AZ
199842012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19985
19986 [BZ #6794]
19987 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
19988 * math/libm-test.inc: Add ilogb errno and exception tests.
19989 * math/w_ilogb.c: New file: ilogb wrapper.
19990 * math/w_ilogbf.c: New file: ilogbf wrapper.
19991 * math/w_ilogbl.c: New file: ilogbl wrapper.
19992 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
19993 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
19994 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
19995 exception being thrown with 0.0 as argument.
19996 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
19997 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
19998 exception being thrown with 0.0 as argument.
19999 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20000 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20001 exception being thrown with 0.0 as argument.
20002 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20003 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20004 exception being thrown with 0.0 as argument.
20005 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20006 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20007 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20008 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20009 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20010 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20011 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20012 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20013 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20014
0396e69d
PB
200152012-04-17 Petr Baudis <pasky@ucw.cz>
20016
20017 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20018 with altivec.
20019
750b5926
MP
200202012-04-16 Marek Polacek <polacek@redhat.com>
20021
20022 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20023
751728a1
MP
200242012-04-16 Marek Polacek <polacek@redhat.com>
20025
20026 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20027 operands of fdivp instruction.
20028
34a27407
L
200292012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20030
20031 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20032 * elf/tst-auditmod3b.c: Likewise.
20033 * elf/tst-auditmod4b.c: Likewise.
20034 * elf/tst-auditmod5b.c: Likewise.
20035 * elf/tst-auditmod6b.c: Likewise.
20036 * elf/tst-auditmod6c.c: Likewise.
20037 * elf/tst-auditmod7b.c: Likewise.
20038 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20039 * sysdeps/x86_64/preconfigure.in: Likewise.
20040 * sysdeps/x86_64/preconfigure: Regenerated.
20041
7e73e17d
L
200422012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20043
20044 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20045 __ILP32__.
20046
c7a6ab72
AB
200472012-04-13 Antoine Balestrat <merkil33@gmail.com>
20048
20049 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20050 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20051
a9e8e0e0
CL
200522012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20053
20054 [BZ #13973]
20055 * locale/iso-639.def: Fix gl language name. Spotted by
20056 Yaron Shahrabani.
20057
ec98af7d
RM
200582012-04-12 Roland McGrath <roland@hack.frob.com>
20059
20060 [BZ #2074]
20061 * libio/libio.h (__io_write_fn): Update comment.
20062
247c3ede
PB
200632012-04-12 Petr Baudis <pasky@ucw.cz>
20064
20065 [BZ #2074]
20066 * stdio.texi (Hook Functions): The user provided writer function
20067 is not allowed to return -1.
20068
55939d6d
DM
200692012-04-11 David S. Miller <davem@davemloft.net>
20070
20071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20072
90020f5a
MF
200732012-04-11 Mike Frysinger <vapier@gentoo.org>
20074
20075 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20076 Add a leading slash to rtkaio.
20077
288f9098
JM
200782012-04-11 Jim Meyering <meyering@redhat.com>
20079
90020f5a
MF
20080 [BZ #11959]
20081 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20082 It is not necessarily an error to ignore fwrite's return
20083 value. One can reliably use ferror to test for errors after
20084 the fact.
288f9098 20085
4be2b570
L
200862012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20087
20088 * bits/types.h (__snseconds_t): New type.
20089 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20090
20091 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20092 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20093 (__SNSECONDS_T_TYPE): Likewise.
20094 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20095 (__SNSECONDS_T_TYPE): Likewise.
20096 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20097 (__SNSECONDS_T_TYPE): Likewise.
20098
288f9098 200992012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20100
20101 [BZ #2636]
20102 * manual/time.texi (Processor Time): Return type of times is
20103 elapsed real time since an arbitrary point in the past.
20104 (CPU Time): Move CLK_TCK from here...
20105 (Processor Time): ...to here. Correct description.
20106 * manual/conf.texi (Constants for Sysconf): Correct description of
20107 _SC_CLK_TCK.
20108
d7dd4413
DM
201092012-04-10 David S. Miller <davem@davemloft.net>
20110
20111 [BZ #13967]
20112 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20113 where the is a gap between DT_REL(A) and DT_JMPREL.
20114
b46068fc
L
201152012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20116
20117 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20118 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20119 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20120
73d65cc3
SP
201212012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20122
20123 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20124 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20125 (dl_main): Handle --inhibit-cache.
20126 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20127 _dl_inhibit_cache.
20128 * elf/dl-load.c (_dl_map_object): Use it.
20129 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20130
bcc8d661
JM
201312012-04-09 Joseph Myers <joseph@codesourcery.com>
20132
8f9a2fae
JM
20133 [BZ #13872]
20134 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20135 (__ieee754_powl): Saturate large exponents rather than testing for
20136 overflow of y*log2(x).
20137 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20138 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20139 exceptions.
20140
bcc8d661
JM
20141 [BZ #11521]
20142 * math/s_ctan.c: Include <float.h>.
20143 (__ctan): Avoid internal overflow or cancellation in calculating
20144 denominator.
20145 * math/s_ctanf.c: Likewise.
20146 * math/s_ctanl.c: Likewise.
20147 * math/s_ctanh.c: Likewise.
20148 * math/s_ctanhf.c: Likewise.
20149 * math/s_ctanhl.c: Likewise.
20150 * math/libm-test.inc (ctan_test): Add more tests.
20151 (ctanh_test): Likewise.
20152 * sysdeps/i386/fpu/libm-test-ulps: Update.
20153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20154
823fbbb4
AJ
201552012-04-09 Andreas Jaeger <aj@suse.de>
20156
03879793
AJ
20157 [BZ #6894]
20158 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20159 is an optional BSD extension.
20160
823fbbb4
AJ
20161 [BZ #10254]
20162 * manual/stdio.texi (Opening Streams): Document additional fopen
20163 parameters.
20164
8de131cb
RM
201652012-04-09 Roland McGrath <roland@hack.frob.com>
20166
20167 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20168 %eax without telling the compiler.
20169
c0ed9d7d
CD
201702012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20171
20172 [BZ # 13963]
20173 * manual/install.texi: Use sourceware.org.
20174
c483f6b4
JM
201752012-04-09 Joseph Myers <joseph@codesourcery.com>
20176
d7dd9453
JM
20177 [BZ #13873]
20178 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20179 (__ieee754_pow): Generate overflow and underflow using huge*huge
20180 and tiny*tiny rather than just returning constant infinity or zero
20181 for large exponents.
20182 * math/libm-test.inc (pow_test): Require overflow exceptions for
20183 applicable cases of large exponents.
20184
c483f6b4
JM
20185 [BZ #706]
20186 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20187 (__ieee754_pow): Use iterative multiplication algorithm only for
20188 integer exponents with absolute value below 1024. Check for odd
20189 integer exponents when using algorithm for real exponents.
20190 * math/libm-test.inc (pow_test): Add more tests.
20191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20192
d2de7579
JM
201932012-04-08 Joseph Myers <joseph@codesourcery.com>
20194
20195 [BZ #13705]
20196 * math/libm-test.inc (exp_test): Do not allow overflow exception
20197 on underflow test.
20198
f77f1232
AJ
201992012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20200
20201 [BZ #13705]
20202 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20203 instead of __kernel_standard_f.
20204
3884932b
MF
202052012-04-08 Mike Frysinger <vapier@gentoo.org>
20206
20207 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20208 * sysdeps/x86_64/memset_chk.S: Likewise.
20209
54472e9c
AJ
202102012-04-08 Andreas Jaeger <aj@suse.de>
20211
6ab0fbfc
AJ
20212 [BZ #10153]
20213 * manual/startup.texi (Environment Access): Describe return value
20214 for putenv and setenv.
20215
61efba8c
AJ
20216 [BZ #6895]
20217 * manual/filesys.texi (Directory Entries): Add description for
20218 DT_LNK.
20219
95c3f29a
AJ
20220 [BZ #6890]
20221 * manual/filesys.texi (Directory Entries): Clarify that it's file
20222 system not operating system in the description of DT_UNKNOWN.
20223
54472e9c
AJ
20224 [BZ #6578]
20225 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20226
624254b1
SC
202272012-04-08 Stephen Compall <s11@member.fsf.org>
20228
20229 [BZ #6649]
20230 * manual/llio.texi (Opening and Closing Files): Add cross
20231 reference to explain mode argument.
20232
1e4920e0
MF
202332012-04-07 Mike Frysinger <vapier@gentoo.org>
20234
20235 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20236 * sysdeps/x86_64/memset_chk.S: Likewise.
20237
5ed848f3
DM
202382012-04-07 David S. Miller <davem@davemloft.net>
20239
20240 * elf/elf.h (R_SPARC_WDISP10): Define.
20241 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20242 R_SPARC_SIZE32.
20243 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20244 R_SPARC_SIZE64 and R_SPARC_H34.
20245
96154cd8
CD
202462012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20247
20248 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20249 conditions and remove no longer applicable assertion.
20250
9904dc47
L
202512012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20252
20253 * bits/byteswap.h: Include <features.h>.
20254 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20255 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20256
f8887d0a
L
202572012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20258
20259 * bits/byteswap.h (__bswap_16): Removed.
20260 Include <bits/byteswap-16.h> to get __bswap_16.
20261 * sysdeps/i386/bits/byteswap.h: Likewise.
20262 * sysdeps/s390/bits/byteswap.h: Likewise.
20263 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20264 * bits/byteswap-16.h: New file.
20265 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20266 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20267 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20268 * string/Makefile (headers): Add bits/byteswap-16.h.
20269
62470f60
PP
202702012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20271
20272 [BZ #13895]
20273 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20274 extra indirection.
20275 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20276 * nss/tst-nss-static.c: New.
20277
4dad7bab
RM
202782012-04-06 Robert Millan <rmh@gnu.org>
20279
20280 [BZ #6486]
20281 * manual/llio.texi (File Position Primitive): lseek
20282 refers to WHENCE when it really means OFFSET.
20283
e9142a17
AJ
202842012-04-06 Andreas Jaeger <aj@suse.de>
20285
2c040eff
AJ
20286 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20287 strncmp declarations.
20288
e9142a17
AJ
20289 * abilist/libc.abilist: Add __poll and __ppoll.
20290
ff9f1c5f
DM
202912012-04-05 David S. Miller <davem@davemloft.net>
20292
dcd2ae90
DM
20293 * scripts/check-local-headers.sh: Accept a host triplet in the
20294 path matched by the exclude regexp.
20295
993eb054
DM
20296 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20297 definition.
20298 * sysdeps/powerpc/powerpc32/dl-machine.h
20299 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20300 * sysdeps/s390/s390-32/dl-machine.h
20301 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20302 * sysdeps/sparc/sparc32/dl-machine.h
20303 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20304 * sysdeps/sparc/sparc64/dl-machine.h
20305 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20306
ff9f1c5f
DM
20307 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20308 lazy binding.
48e2e132 20309 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20310 undefined symbol errors.
20311
48e2e132 20312 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
20313 DT_NEEDED entries.
20314
e80d6f94
MM
203152012-04-05 Michael Matz <matz@suse.de>
20316
20317 [BZ #13592]
20318 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20319
349fa79f
AJ
203202012-04-05 Andreas Jaeger <aj@suse.de>
20321
20322 [BZ #13908]
20323 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20324 comment.
20325
f402708f
KK
203262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20327
20328 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20329 which ROUND is no valid rounding mode.
20330
2ecccfc9
KK
203312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20332
20333 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20334 read again.
20335 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20336
8a53f50f
KK
203372012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20338
20339 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20340 an exception using FPU order intentionally.
20341
203422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20343
20344 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20345 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20346 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20347 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20348
d653abb7
SJ
203492012-04-05 Simon Josefsson <simon@josefsson.org>
20350
20351 [BZ #12340]
20352 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20353 EINVAL when BUFLEN is too smal.
20354
c3b1bf7d
TS
203552012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20356
20357 [BZ #13553]
20358 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20359 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20360
b1aa60f3
AJ
203612012-04-03 Andreas Jaeger <aj@suse.de>
20362
c3b1bf7d 20363 [BZ #13938]
67f60a26
AJ
20364 * manual/setjmp.texi (System V contexts): Fix sentence.
20365
b1aa60f3
AJ
20366 [BZ #13926]
20367 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20368 New macro for this case.
20369 [!__GNUC__] (__bswap_64): New inline function for this case.
20370 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20371 * bits/byteswap.h: Likewise.
20372 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20373 ull, guard with __GLIBC_HAVE_LONG_LONG.
20374
20375 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20376 __GLIBC_HAVE_LONG_LONG.
20377
20378 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20379 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20380
39c59c35
TMQMF
203812012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20382
20383 [BZ #13691]
20384 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20385 inptr and inend, rather than using last_ch.
20386
135ffda8
DM
203872012-04-02 David S. Miller <davem@davemloft.net>
20388
20389 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20390 * stdio-common/printf-parse.h (read_int): Change return type to
20391 'int', return -1 on INT_MAX overflow.
20392 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20393 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20394 overflows INT_MAX. Check for overflow of in-format-string precision
20395 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20396 SIZE_MAX not INT_MAX for integer overflow test.
20397 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20398 skip the construct in the format string but do not record anything.
20399 * stdio-common/bug22.c: Adjust to test both width/prevision
20400 INT_MAX overflow as well as total length INT_MAX overflow. Check
20401 explicitly for proper errno values.
20402
228c019e
TS
204032012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20404
302cadd3
TS
20405 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20406 CHAR_MAX.
20407 * string/test-strcmp.c [! WIDE]: Likewise.
20408 * time/tst-mktime2.c: Likewise for INT_MAX.
20409 * string/test-string.h: #include <sys/param.h> for MIN.
20410
228c019e
TS
20411 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20412 * sysdeps/i386/init-first.c (init): Likewise.
20413 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20414 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20415 * sysdeps/sh/init-first.c (init): Likewise.
20416
cfa633f5
UD
204172012-04-01 Ulrich Drepper <drepper@gmail.com>
20418
20419 * po/ru.po: Update from translation team.
d1635ef8 20420 * po/vi.po: Likewise.
cfa633f5 20421
6cd0a5ea
SP
204222012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20423
20424 * resolv/nss_dns/dns-host.c: Merge copyright years.
20425
4b43400f
LD
204262012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20427
20428 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20429 Optimize memcpy with prefetch if
20430 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20431 src, dst pointers have unequal 16 byte alignments.
20432
48c41d04
SP
204332012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20434
20435 [BZ #13928]
20436 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20437 from a CNAME entry and return the minimum ttl for the query.
20438 (gaih_getanswer_slice): Likewise.
20439
b8dc394d
JL
204402012-03-30 Jeff Law <law@redhat.com>
20441
20442 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20443 due to long keys.
20444 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20445 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20446
2f5a5ed0
JL
20447 * resolv/nss_dns/dns-host.c: Update copyright year.
20448
1d39e359
UD
204492012-03-30 Ulrich Drepper <drepper@gmail.com>
20450
c030f70c 20451 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 20452 requests to save a system call. Fix check that all bytes are sent.
c030f70c 20453
1d39e359
UD
20454 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20455 comments for sendmmsg.
20456
204572012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
20458
20459 [BZ #13691]
20460 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20461 with only 1 character between 0x0041 and 0x01b0.
20462 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20463 * wcsmbs/tst-mbsnrtowcs.c: New file.
20464
20fde227
DM
204652012-03-29 David S. Miller <davem@davemloft.net>
20466
20467 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20468 small copies by hand.
20469
984a4237
JL
204702012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20471
20472 [BZ #13761]
20473 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20474 _nss_compat_initgroups_dyn): Fall back to malloc/free
20475 for large group memberships.
20476
18c9d62b
DM
204772012-03-28 David S. Miller <davem@davemloft.net>
20478
88d85d4f
DM
20479 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20480 that branches into memcpy.
20481 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20482 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20483 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20484 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20485 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20486 bits.
20487 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20488 implementation too.
20489 * sysdeps/sparc/mempcpy.S: New file.
20490
e5aa83e1
DM
20491 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20492 the IFUNC routine in the libc case.
20493 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20494
88570753
DM
20495 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20496 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20497 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20498 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20499 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20500 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20501 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20502 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20503
249d7567
DM
20504 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20505 loop to 256 bytes instead of 64 bytes and fix test signedness.
20506
18c9d62b
DM
20507 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20508 * sysdeps/sparc/sparc32/Makefile: rather than here...
20509 * sysdeps/sparc/sparc64/Makefile: and here.
20510
05f3d1f6
UD
205112012-03-28 Ulrich Drepper <drepper@gmail.com>
20512
20513 * malloc/mallocbug.c: Avoid warnings about unused variables.
20514
86ae07a8
JL
205152012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20516
20517 [BZ #13760]
20518 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20519 in the right place. Discard and retry query if response is
20520 larger than input buffer size.
20521
41bf21a1
JM
205222012-03-28 Joseph Myers <joseph@codesourcery.com>
20523
d6270972
JM
20524 [BZ #369]
20525 [BZ #2678]
20526 [BZ #3866]
20527 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20528 x for large integer exponent.
20529 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20530 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20531 sign of result as needed afterwards.
20532 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20533 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20534 result for underflowing pow the same as for overflow.
20535 (__kernel_standard_l): Handle powl overflow and underflow here
20536 rather than calling __kernel_standard.
20537 * math/libm-test.inc (pow_test): Add more tests.
20538
414fca03 20539 [BZ #3868]
41bf21a1
JM
20540 [BZ #13879]
20541 [BZ #13910]
20542 [BZ #13911]
20543 [BZ #13912]
20544 [BZ #13913]
20545 [BZ #13915]
20546 [BZ #13916]
20547 [BZ #13917]
20548 [BZ #13918]
20549 [BZ #13919]
20550 [BZ #13920]
20551 [BZ #13921]
20552 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20553 * sysdeps/ieee754/k_standard.c: Include <float.h>.
20554 (__kernel_standard_l): New function.
20555 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20556 __kernel_standard.
20557 * math/w_acosl.c (__acosl): Likewise.
20558 * math/w_asinl.c (__asinl): Likewise.
20559 * math/w_atan2l.c (__atan2l): Likewise.
20560 * math/w_atanhl.c (__atanhl): Likewise.
20561 * math/w_coshl.c (__coshl): Likewise.
20562 * math/w_exp10l.c (__exp10l): Likewise.
20563 * math/w_exp2l.c (__exp2l): Likewise.
20564 * math/w_fmodl.c (__fmodl): Likewise.
20565 * math/w_hypotl.c (__hypotl): Likewise.
20566 * math/w_j0l.c (__j0l, __y0l): Likewise.
20567 * math/w_j1l.c (__j1l, __y1l): Likewise.
20568 * math/w_jnl.c (__jnl, __ynl): Likewise.
20569 * math/w_lgammal.c (__lgammal): Likewise.
20570 * math/w_log10l.c (__log10l): Likewise.
20571 * math/w_log2l.c (__log2l): Likewise.
20572 * math/w_logl.c (__logl): Likewise.
20573 * math/w_powl.c (__powl): Likewise.
20574 * math/w_remainderl.c (__remainderl): Likewise.
20575 * math/w_scalbl.c (sysv_scalbl): Likewise.
20576 * math/w_sinhl.c (__sinhl): Likewise.
20577 * math/w_sqrtl.c (__sqrtl): Likewise.
20578 * math/w_tgammal.c (__tgammal): Likewise.
20579 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20580 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20581 * math/libm-test.inc (acos_test): Add more tests.
20582 (acosh_test): Likewise.
20583 (asin_test): Likewise.
20584 (atanh_test): Likewise.
20585 (exp_test): Likewise.
20586 (exp10_test): Likewise.
20587 (exp2_test): Likewise.
20588 (expm1_test): Likewise.
20589 (lgamma_test): Likewise.
20590 (log_test): Likewise.
20591 (log10_test): Likewise.
20592 (log1p_test): Likewise.
20593 (log2_test): Likewise.
20594 (pow_test): Do not allow some spurious overflow exceptions.
20595 (sqrt_test): Add more tests.
20596 (tgamma_test): Likewise.
20597 (y0_test): Likewise.
20598 (y1_test): Likewise.
20599 (yn_test): Likewise.
20600
dd62fda6
AB
206012012-03-27 Anton Blanchard <anton@samba.org>
20602
20603 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20604 MAP_HUGETLB.
20605 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20606 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20607 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20608
1e3cdfda
AJ
206092012-03-27 David S. Miller <davem@davemloft.net>
20610
b855ab85
DM
20611 * conform/Makefile: Run run-conformtest.sh using $(BASH).
20612
1e3cdfda
AJ
20613 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20614 have-as-vis3 check.
20615
206162012-03-27 Andreas Jaeger <aj@suse.de>
20617
20618 * sysdeps/x86_64/elf/configure.in: Moved to ...
20619 * sysdeps/x86_64/configure.in: ... here.
20620 * sysdeps/x86_64/elf/start.S: Moved to ...
20621 * sysdeps/x86_64/start.S: ... here.
20622 * sysdeps/x86_64/elf/configure: Delete.
20623
20624 * sysdeps/x86_64/configure.in: Merge contents from
20625 sysdeps/i386/configure.in (without i686 check).
20626
20627 * sysdeps/i386/elf/Versions: Merge into ...
20628 * sysdeps/i386/Versions: ... this.
20629 * sysdeps/i386/elf/Versions: Delete file.
20630 * sysdeps/i386/elf/start.S: Moved to ...
20631 * sysdeps/i386/start.S: ...here.
20632 * sysdeps/i386/elf/configure.in: Merge into...
20633 * sysdeps/i386/configure.in: ...here.
20634 * sysdeps/i386/elf/configure.in: Delete file.
20635 * sysdeps/i386/elf/configure: Delete file.
20636
20637 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20638 * debug/backtracesyms.c: ... here.
20639 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20640 * debug/backtracesymsfd.c: ... here.
20641 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20642 * sysdeps/generic/ifunc-sel.h: ... here.
20643
20644 * sysdeps/unix/i386/start.c: Delete file.
20645 * sysdeps/unix/sparc/start.c: Delete file.
20646 * sysdeps/unix/start.c: Delete file.
20647
20648 * sysdeps/sh/elf/configure.in: Moved to ...
20649 * sysdeps/sh/configure.in: ... here.
20650 * sysdeps/sh/elf/start.S: Moved to ...
20651 * sysdeps/sh/start.S: ... here.
20652 * sysdeps/sh/elf/configure: Delete file.
20653
20654 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20655 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20656 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20657 * sysdeps/powerpc/powerpc64/entry.h: ... here.
20658 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20659 * sysdeps/powerpc/powerpc64/start.S: here.
20660 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20661 * sysdeps/powerpc/powerpc64/Makefile: ... this.
20662 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20663 * sysdeps/powerpc/powerpc64/configure.in: ... this.
20664 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20665
20666 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20667 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20668 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20669 * sysdeps/powerpc/powerpc32/start.S: ... here.
20670 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20671 * sysdeps/powerpc/powerpc32/configure.in: ... this.
20672 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20673
20674 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20675 * sysdeps/powerpc/ifunc-sel.h: ... here.
20676 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20677 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20678
20679 * sysdeps/sparc/elf/configure.in: Moved to ...
20680 * sysdeps/sparc/configure.in: ... here.
20681 * sysdeps/sparc/elf/configure: Delete file.
20682 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20683 * sysdeps/sparc/sparc32/start.S: ... here.
20684 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20685 * sysdeps/sparc/sparc64/start.S: ... here.
20686 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20687 * sysdeps/sparc/sparc32/Makefile: ... this.
20688 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20689 * sysdeps/sparc/sparc64/Makefile: ... this.
20690
20691 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20692 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20693 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20694 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20695 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20696 * sysdeps/s390/s390-32/setjmp.S: ... here.
20697 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20698 * sysdeps/s390/s390-32/configure.in: ... here.
20699 * sysdeps/s390/s390-32/elf/configure: Delete file.
20700 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20701 * sysdeps/s390/s390-32/start.S: ... here.
20702
20703 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20704 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20705 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20706 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20707 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20708 * sysdeps/s390/s390-64/setjmp.S: ... here.
20709 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20710 * sysdeps/s390/s390-64/configure.in: ... here
20711 * sysdeps/s390/s390-64/elf/configure: Delete file.
20712 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20713 * sysdeps/s390/s390-64/start.S: ... here.
20714 * sysdeps/s390/s390-64/elf/configure: Delete.
20715
20716 * configure.in: Remove support for elf directories in sysdeps.
20717
20718 * configure: Regenerated.
20719 * sysdeps/i386/configure: Regenerated.
20720 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20721 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20722 * sysdeps/s390/s390-32/configure: Regenerated.
20723 * sysdeps/s390/s390-64/configure: Regenerated.
20724 * sysdeps/sh/configure: Regenerated.
20725 * sysdeps/sparc/configure: Regenerated.
20726 * sysdeps/x86_64/configure: Regenerated.
20727
a3f61311
AS
207282012-03-26 Andreas Schwab <schwab@linux-m68k.org>
20729
c876e002
AS
20730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20731
a3f61311
AS
20732 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20733 denormal result into account.
20734
ac4c54f0
RM
207352012-03-25 Roland McGrath <roland@hack.frob.com>
20736
20737 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20738 Reported by Allan McRae <allan@archlinux.org>.
20739
6a9b9c02
JL
207402012-03-23 Jeff Law <law@redhat.com>
20741
20742 * nss/getnssent.c (__nss_getent): Fix typo.
20743
4c42a0c1
DM
207442012-03-23 David S. Miller <davem@davemloft.net>
20745
20746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20747
1532c7ac
L
207482012-03-23 H.J. Lu <hongjiu.lu@intel.com>
20749
20750 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20751 to pad to uint64_t for each field.
20752 (dl_tls_index): Replace unsigned long with uint64_t.
20753
3ff42526
PP
207542012-03-23 Daniel Jacobowitz <dmj@google.com>
20755 Paul Pluzhnikov <ppluzhnikov@google.com>
20756
20757 [BZ #6528]
20758 * grp/Makefile (otherlibs): Don't set it.
20759 * inet/Makefile (otherlibs): Likewise.
20760 * login/Makefile (otherlibs): Likewise.
20761 * nscd/Makefile (otherlibs): Likewise.
20762 * posix/Makefile (otherlibs): Likewise.
20763 * pwd/Makefile (otherlibs): Likewise.
20764 * rt/Makefile (otherlibs): Likewise.
20765 * sunrpc/Makefile (otherlibs): Likewise.
20766 * nss/Makefile (otherlibs): Likewise.
20767 Add libnss_files to routines and static-only-routines.
20768 ($(objpfx)getent): Remove rule.
20769 * resolv/Makefile: Add libnss_dns and libresolv to routines and
20770 static-only-routines.
20771
7c69cd14
JM
207722012-03-22 Joseph Myers <joseph@codesourcery.com>
20773
20774 [BZ #13892]
20775 * math/s_cexp.c: Include <float.h>.
20776 (__cexp): Handle exp result overflowing not necessarily
20777 overflowing both real and imaginary parts of result.
20778 * math/s_cexpf.c: Likewise.
20779 * math/s_cexpl.c: Likewise.
20780 * math/libm-test.inc (cexp_test): Add more tests.
20781 * sysdeps/i386/fpu/libm-test-ulps: Update.
20782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20783
81b035fe
L
207842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20785
20786 * include/link.h (ELFW): New macro.
20787 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20788 Replace ELF64_R_TYPE with ELFW(R_TYPE).
20789
1da7940c
L
207902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20791
20792 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20793 with uint64_t.
20794
b749dbb9
L
207952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20796
20797 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20798 declaration.
20799 (struct La_x32_retval): Likewise.
20800
2ff87f3f
L
208012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20802
20803 * sysdeps/x86_64/preconfigure.in: New file.
20804 * sysdeps/x86_64/preconfigure: New generated file.
20805
c0df8e69
JM
208062012-03-22 Joseph Myers <joseph@codesourcery.com>
20807
48e44791
JM
20808 [BZ #13824]
20809 * math/e_exp2l.c: Include <float.h>.
20810 (__ieee754_exp2l): Handle overflow and underflow cases
20811 separately. Only pass fractional part of argument to
20812 __ieee754_expl.
20813 * math/libm-test.inc (exp2_test): Add more tests.
20814
c0df8e69
JM
20815 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20816 negating x to take absolute value.
20817 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20818 Likewise.
20819 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20820 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20821 Likewise.
20822 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20823 computing low part if x was negated.
20824 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20825
c8e43ba7
L
208262012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20827
20828 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
20829 la_x32_gnu_pltexit.
20830 (pltexit): Cast int_retval to ptrdiff_t.
20831 * elf/tst-auditmod3b.c: Likewise.
20832 * elf/tst-auditmod4b.c: Likewise.
20833 * elf/tst-auditmod5b.c: Likewise.
20834 * elf/tst-auditmod6b.c: Likewise.
20835 * elf/tst-auditmod6c.c: Likewise.
20836 * elf/tst-auditmod7b.c: Likewise.
20837
20838 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
20839 and x32_gnu_pltexit.
20840
20841 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
20842 __ELF_NATIVE_CLASS.
20843 (La_x32_regs): New macro.
20844 (La_x32_retval): Likewise.
20845 (la_x32_gnu_pltenter): New function prototype.
20846 (la_x32_gnu_pltexit): Likewise.
20847
7998fa78
AS
208482012-03-21 Andreas Schwab <schwab@linux-m68k.org>
20849
dcb33988
AS
20850 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
20851 exponent.
20852
233fc563
AS
20853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20854
7998fa78
AS
20855 * configure.in (libc_cv_cc_nofma): Check for option to disable
20856 generation of FMA instructions.
20857 * configure: Regenerate.
20858 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
20859 * sysdeps/ieee754/dbl-64/Makefile: New file.
20860 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20861 Remove brandred-fma4.
20862 (CFLAGS-brandred-fma4.c): Remove.
20863 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
20864 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
20865 define.
20866 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
20867 define.
20868
8e95c99a
L
208692012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20870
20871 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20872 LLONG_MAX != LONG_MAX.
20873 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20874 (_fitoa_word): Likewise.
20875 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
20876 LLONG_MAX != LONG_MAX.
20877 * stdio-common/_itowa.h: Include <_itoa.h>.
20878 (_itowa_word): Use _ITOA_WORD_TYPE on value.
20879 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
20880 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
20881 only if not defined.
20882 (_ITOA_WORD_TYPE): Likewise.
20883 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20884 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
20885
6f4db457
DM
208862012-03-21 David S. Miller <davem@davemloft.net>
20887
20888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20889
7785fe5a
L
208902012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20891
20892 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
20893 of x86_64 when setting libc_cv_slibdir, libdir and
20894 libc_cv_localedir.
20895 * sysdeps/unix/sysv/linux/configure: Regenerated.
20896
4535cd55
JM
208972012-03-21 Joseph Myers <joseph@codesourcery.com>
20898
20899 * manual/lang.texi (Old Varargs): Remove section.
20900 (How Variadic): Update menu.
20901 (va_start): Do not mention varargs.h.
20902
17228132
TS
209032012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20904 Joseph Myers <joseph@codesourcery.com>
20905
20906 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
20907 link test.
20908 * configure: Regenerated.
20909
8149f976
TS
209102012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20911
05f3d1f6
UD
20912 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
20913 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
20914 conformtest.pl
8149f976 20915
1a4ac776
JM
209162012-03-21 Joseph Myers <joseph@codesourcery.com>
20917
be22ce65
JM
20918 * NOTES: Remove.
20919 * Makefile (files-for-dist): Remove NOTES.
20920 (NOTES): Remove rule.
20921 * README: Don't refer to NOTES.
20922 * manual/creature.texi: Don't include macros.texi.
20923 * manual/intro.texi (creature.texi): Remove comment referring to
20924 NOTES.
20925
40b601fb
JM
20926 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
20927 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
20928 * configure: Regenerated.
20929 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
20930 LIBC_TRY_CC_OPTION.
20931 (libc_cv_as_i686): Likewise.
20932 (libc_cv_cc_avx): Likewise.
20933 (libc_cv_cc_sse2avx): Likewise.
20934 (libc_cv_cc_fma4): Likewise.
20935 (libc_cv_cc_novzeroupper): Likewise.
20936 * sysdeps/i386/configure: Regenerated.
20937
1a4ac776
JM
20938 [BZ #13883]
20939 * sysdeps/i386/fpu/s_cexp.S: Remove.
20940 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20941 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20942 * math/libm-test.inc (cexp_test): Add more tests.
20943 * sysdeps/i386/fpu/libm-test-ulps: Update.
20944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20945
a458e7fe
AM
209462012-03-21 Allan McRae <allan@archlinux.org>
20947
20948 * timezone/Makefile: Do not install iso3166.tab and zone.tab
20949
0cb7efc5
JM
209502012-03-21 Joseph Myers <joseph@codesourcery.com>
20951
20952 [BZ #13871]
20953 * math/w_exp2.c: Do not include <float.h>.
20954 (o_threshold, u_threshold): Remove.
20955 (__exp2): Calculate result before checking finiteness and calling
20956 __kernel_standard.
20957 * math/w_exp2f.c: Likewise.
20958 * math/w_exp2l.c: Likewise.
20959 * math/libm-test.inc (exp2_test): Require overflow exception for
20960 1e6 input.
2460d3aa
JM
20961
20962 [BZ #3866]
20963 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
20964 range of signed 64-bit integers before using fistpll. Remove
20965 checks for whether integers fit in mantissa bits.
20966 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
20967 the range of signed 32-bit integers before using fistpl. Remove
20968 checks for whether integers fit in mantissa bits.
20969 * sysdeps/i386/fpu/e_powl.S (p64): New object.
20970 (__ieee754_powl): Test for y outside the range of signed 64-bit
20971 integers before using fistpll. Reduce 64-bit values to 63-bit
20972 ones as needed.
20973 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
20974 divide-by-zero is raised for zero to large negative powers.
20975 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
20976 (__ieee754_powl): Test for y outside the range of signed 64-bit
20977 integers before using fistpll. Reduce 64-bit values to 63-bit
20978 ones as needed.
20979 * math/libm-test.inc (pow_test): Add more tests.
20980
eb96ffb0
L
209812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20982
20983 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
20984 <stdio-common/_itoa.h>.
20985 * debug/segfault.c: Likewise.
20986 * elf/dl-cache.c: Likewise.
20987 * elf/dl-minimal.c: Likewise.
20988 * elf/dl-misc.c: Likewise.
20989 * elf/dl-sysdep.c: Likewise.
20990 * elf/dl-version.c: Likewise.
20991 * elf/rtld.c: Likewise.
20992 * hurd/hurdsock.c: Likewise.
20993 * hurd/lookup-retry.c: Likewise.
20994 * malloc/malloc.c: Likewise.
20995 * malloc/mtrace.c: Likewise.
20996 * nscd/nscd_getgr_r.c: Likewise.
20997 * nscd/nscd_getpw_r.c: Likewise.
20998 * nscd/nscd_getserv_r.c: Likewise.
20999 * posix/getopt_init.c: Likewise.
21000 * posix/wordexp.c: Likewise.
21001 * stdio-common/_itoa.c: Likewise.
21002 * stdio-common/printf_fphex.c: Likewise.
21003 * stdio-common/vfprintf.c: Likewise.
21004 * string/_strerror.c: Likewise.
21005 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21006 * sysdeps/i386/i686/hp-timing.h: Likewise.
21007 * sysdeps/mach/_strerror.c: Likewise.
21008 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21009 * sysdeps/mach/hurd/sethostid.c: Likewise.
21010 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21011 * sysdeps/mach/xpg-strerror.c: Likewise.
21012 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21013 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21014 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21015 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21016 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21017 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21018 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21019 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21020 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21021 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21022 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21023 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21024 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21025 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21026 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21027 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21028 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21029 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21030 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21031 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21032 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21033
21034 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21035
21036 * stdio-common/_itoa.h: Moved to ...
21037 * sysdeps/generic/_itoa.h: Here.
21038
21039 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21040
21041 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21042 instead of "_itoa.h" and "_itowa.h".
21043 * stdio-common/vfprintf.: Likewise.
21044
d1af992d
L
210452012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21046
21047 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21048 <bits/wordsize.h>.
21049 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21050 (__signbit): Likwise.
21051 (llrintf): Likwise.
21052 (llrint): Likwise.
21053
114883e0
L
210542012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21055
21056 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21057 __WORDSIZE != 64.
21058
c135cc1b
JM
210592012-03-20 Joseph Myers <joseph@codesourcery.com>
21060
21061 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21062 OVERFLOW_EXCEPTION_OK.
21063 * math/libm-test.inc ("Philosophy"): Update comment about
21064 exception testing.
21065 (OVERFLOW_EXCEPTION): Define.
21066 (OVERFLOW_EXCEPTION_OK): Likewise.
21067 (INVALID_EXCEPTION_OK): Renumber.
21068 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21069 (IGNORE_ZERO_INF_SIGN): Likewise.
21070 (test_exceptions): Handle FE_OVERFLOW.
21071 (exp10_test): Expect overflow exceptions.
21072 (exp2_test): Likewise.
21073 (expm1_test): Likewise.
21074 (nextafter_test): Likewise.
21075 (pow_test): Likewise.
21076 (scalbn_test): Likewise.
21077 (scalbln_test): Likewise.
21078
95443d88
L
210792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21080
21081 * sysdeps/x86_64/bits/atomic.h
21082 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21083 64bit integer.
21084 (atomic_exchange_acq): Likewise.
21085 (__arch_exchange_and_add_body): Likewise.
21086 (__arch_add_body): Likewise.
21087 (atomic_add_negative): Likewise.
21088 (atomic_add_zero): Likewise.
21089
490df6c4
L
210902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21091
c2722551 21092 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21093 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21094
5e52b189
L
210952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21096
21097 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21098 Check __x86_64__ instead of __WORDSIZE.
21099
a9879d4c
L
211002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21101
21102 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21103
5df98260
DM
211042012-03-19 David S. Miller <davem@davemloft.net>
21105
e1497744
DM
21106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21107
5df98260
DM
21108 * sysdeps/sparc/fpu/fenv_private.h: New file.
21109 * sysdeps/sparc/fpu/math_private.h: Use it.
21110 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21111 Remove.
21112 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21113 (libc_feholdexcept_setroundl): Remove.
21114 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21115 Remove.
21116 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21117 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21118
b4c35121
L
211192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21120
21121 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21122 int64_t instead of long int.
21123 (INSERT_WORDS64): Likwise.
21124
56965fd7
L
211252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21126
21127 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21128 _Unwind_GetCFA return to _Unwind_Ptr first.
21129
83d1aec8
JM
211302012-03-19 Joseph Myers <joseph@codesourcery.com>
21131
1897ad44
JM
21132 [BZ #13629]
21133 * math/s_clog.c: Include <float.h>.
21134 (__clog): Scale large or subnormal inputs.
21135 * math/s_clogf.c: Likewise.
21136 * math/s_clogl.c: Likewise.
21137 * math/s_clog10.c: Include <float.h>.
21138 (M_LOG10_2): Define.
21139 (__clog10): Scale large or subnormal inputs.
21140 * math/s_clog10f.c: Likewise.
21141 * math/s_clog10l.c: Likewise.
21142 * math/libm-test.inc (clog_test): Add more tests.
21143 (clog10_test): Likewise.
21144 * sysdeps/i386/fpu/libm-test-ulps: Update.
21145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21146
7726d6a9
JM
21147 [BZ #11451]
21148 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21149 x and y.
21150 * math/libm-test.inc (atan2_test): Add another test.
21151
83d1aec8
JM
21152 * Makerules (common-objdir-compile): Remove.
21153 * sysdeps/unix/Makefile (config-generated): Do not add
21154 $(unix-generated) to variable.
21155 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21156 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21157 Remove rule.
21158 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21159 Likewise.
21160 [generic bits/local_lim.h] (before-compile): Do not append to
21161 variable.
21162 [generic bits/local_lim.h] (common-generated): Likewise.
21163 [generic sys/param.h] (before-compile): Do not append to variable.
21164 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21165 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21166 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21167 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21168 include.
21169 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21170 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21171 [generic sys/param.h] ($(addprefix
21172 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21173 [generic sys/param.h] (common-generated): Do not append to
21174 variable.
21175 [generic sys/param.h] (sysdep_headers): Likewise.
21176 [generic bits/errno.h] (before-compile): Do not append to
21177 variable.
21178 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21179 rule.
21180 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21181 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21182 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21183 [generic bits/errno.h] (common-generated): Do not append to
21184 variable.
21185 [generic bits/ioctls.h] (before-compile): Do not append to
21186 variable.
21187 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21188 rule.
21189 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21190 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21191 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21192 rule.
21193 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21194 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21195 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21196 [generic bits/ioctls.h] (common-generated): Do not append to
21197 variable.
21198 [generic sys/syscall.h] (syscall.h): Remove variable.
21199 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21200 rule.
21201 [generic sys/syscall.h] (before-compile): Do not append to
21202 variable.
21203 [generic sys/syscall.h] (common-generated): Likewise.
21204 * sysdeps/unix/errnos-tmpl.c: Remove file.
21205 * sysdeps/unix/errnos.awk: Likewise.
21206 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21207 * sysdeps/unix/ioctls.awk: Likewise.
21208 * sysdeps/unix/mk-local_lim.c: Likewise.
21209 * sysdeps/unix/snarf-ioctls: Likewise.
21210
4851a949
RH
212112012-03-19 Richard Henderson <rth@twiddle.net>
21212
bd37f2ee
RH
21213 * sysdeps/i386/fpu/fenv_private.h: New file.
21214 * sysdeps/i386/fpu/math_private.h: Use it.
21215 (math_opt_barrier, math_force_eval): Remove.
21216 (libc_feholdexcept_setround_53bit): Remove.
21217 (libc_feupdateenv_53bit): Remove.
21218 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21219 (math_opt_barrier, math_force_eval): Remove.
21220 (libc_feholdexcept): Remove.
21221 (libc_feholdexcept_setround): Remove.
21222 (libc_fetestexcept, libc_fesetenv): Remove.
21223 (libc_feupdateenv_test): Remove.
21224 (libc_feupdateenv, libc_feholdsetround): Remove.
21225 (libc_feresetround): Remove.
21226
d0adc922
RH
21227 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21228 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21229
0fe0f1f8
RH
21230 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21231 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21232 (libc_feupdateenv_testl): New.
21233 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21234 (libc_feupdateenv_testf): New.
21235 (libc_feupdateenv): Use libc_feupdateenv_test.
21236 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21237 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21238
eb92c487
RH
21239 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21240 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21241 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21242 (libc_feresetround_noex): New.
21243 (libc_feresetround_noexf): New.
21244 (libc_feresetround_noexl): New.
21245 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21246 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21247 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21248 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21249 SET_RESTORE_ROUND.
21250 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21251 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21252 (__cos): Likewise.
21253 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21254 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21255 SET_RESTORE_ROUND_NOEX.
21256 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21257 SET_RESTORE_ROUND_NOEXF.
21258 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21259 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21260 (libc_feholdsetroundf): New.
21261 (libc_feresetround, libc_feresetroundf): New.
21262
7d2e8012
RH
21263 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21264 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21265 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21266
b4dabbb4
RH
21267 * sysdeps/generic/math_private.h: Include <fenv.h>.
21268 (default_libc_feholdexcept): New.
21269 (default_libc_feholdexcept_setround): New.
21270 (default_libc_fesetenv, default_libc_feupdateenv): New.
21271 (libc_feholdexcept): Only define if undefined.
21272 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21273 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21274 (libc_feholdexcept_setroundl): Likewise.
21275 (libc_feholdexcept_setround_53bit): Likewise.
21276 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21277 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21278 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21279 (libc_feupdateenv_53bit): Likewise.
21280 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21281 (libc_feholdexcept): Convert from macro to inline function.
21282 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21283 (libc_fesetenv, libc_feupdateenv): Likewise.
21284
4851a949
RH
21285 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21286 not previously defined.
21287 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21288 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21289 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21290 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21291 * sysdeps/ieee754/flt-32/math_private.h: New file.
21292 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21293 math_private.h below SET_FLOAT_WORD.
21294 (__isnan, __isinf_ns, __finite): Remove.
21295 (__isnanf, __isinf_nsf, __finitef): Remove.
21296
e79d442e
AS
212972012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21298
21299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21300
90b80344
DM
213012012-03-17 David S. Miller <davem@davemloft.net>
21302
21303 [BZ #6471]
21304 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21305 for 2.16.
21306
edc21804
DM
213072012-03-16 David S. Miller <davem@davemloft.net>
21308
77e927af
DM
21309 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21310 warnings.
21311
374976dd
DM
21312 [BZ #6471]
21313 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21314 properly.
21315 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21316 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21317 sysdep_routines when subdir is sysvipc.
21318 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21319 __getshmlba helper.
21320
edc21804
DM
21321 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21322
473c3ef3
L
213232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21324
21325 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21326 [__LP64__].
21327
eb0f39b6
L
213282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21329
21330 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21331 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21332 (__lround): Renamed to ...
21333 (__llround): This. Replace long int with long long int.
21334 Define lround functions as aliases of llround functions.
21335 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21336
6b6cd74b
L
213372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21338
21339 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21340 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21341 adresses to uintptr_t. Replace "long int" and "unsigned long
21342 int" with "greg_t" on va_arg.
21343
f1a77b01
L
213442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21345
21346 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21347 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21348
21349 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21350 Move e_machine check before EI_CLASS check. Handle x32
21351 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21352 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21353 SKIP_EM_IA_64 and include
21354 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21355
21356 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21357 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21358 (add_system_dir): New macro.
21359
21360 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21361 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21362
11b90b9f
JM
213632012-03-16 Joseph Myers <joseph@codesourcery.com>
21364
c36e1d23
JM
21365 [BZ #2551]
21366 [BZ #2552]
21367 [BZ #2553]
21368 [BZ #2554]
21369 [BZ #2562]
21370 [BZ #2563]
21371 [BZ #2565]
21372 [BZ #2566]
21373 [BZ #2576]
21374 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21375 (y0): Likewise.
21376 * math/w_j0f.c (j0f): Likewise.
21377 (y0f): Likewise.
21378 * math/w_j0l.c (__j0l): Likewise.
21379 (__y0l): Likewise.
21380 * math/w_j1.c (j1): Likewise.
21381 (y1): Likewise.
21382 * math/w_j1f.c (j1f): Likewise.
21383 (y1f): Likewise.
21384 * math/w_j1l.c (__j1l): Likewise.
21385 (__y1l): Likewise.
21386 * math/w_jn.c (jn): Likewise.
21387 (yn): Likewise.
21388 * math/w_jnf.c (jnf): Likewise.
21389 (ynf): Likewise.
21390 * math/w_jnl.c (__jnl): Likewise.
21391 (__ynl): Likewise.
21392 * math/libm-test.inc (j0_test): Add more tests.
21393 (j1_test): Likewise.
21394 (jn_test): Likewise. Add trailing semicolon to existing test.
21395 (y0_test): Likewise.
21396 (y1_test): Likewise.
21397 * sysdeps/i386/fpu/libm-test-ulps: Update.
21398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21399
11b90b9f
JM
21400 [BZ #13851]
21401 [BZ #13854]
21402 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21403 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21404 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21405 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21406 (__tanl): Set errno for infinite argument.
21407 * sysdeps/i386/fpu/mptan.c: Remove.
21408 * sysdeps/i386/fpu/s_tan.S: Likewise.
21409 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21410 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21411 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21412 * math/libm-test.inc (tan_test): Add more tests and enable more
21413 tests for double and long double.
21414 * sysdeps/i386/fpu/libm-test-ulps: Update.
21415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21416
6a1bd2a1
JK
214172012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21418
21419 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21420 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21421
10a803e0
RM
214222012-03-16 Roland McGrath <roland@hack.frob.com>
21423
21424 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21425 * configure.in: Use it for both main tree and add-ons.
21426 * configure: Regenerated.
21427
f196c7f7
L
214282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21429
21430 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21431
8848d99d
JM
214322012-03-16 Joseph Myers <joseph@codesourcery.com>
21433
96cbe7f4
JM
21434 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21435 in comment.
21436
8848d99d
JM
21437 [BZ #13851]
21438 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21439 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21440 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21441 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21442 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21443 infinite argument.
21444 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21445 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21446 != 0 for prec == 2.
21447 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21448 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21449 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21450 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21451 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21452 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21453 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21454 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21455 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21456 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21457 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21458 * math/libm-test.inc (cos_test): Add more tests and enable more
21459 tests for long double.
21460 (sin_test): Likewise.
21461 (sincos_test): Likewise.
21462 * sysdeps/i386/fpu/libm-test-ulps: Update.
21463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21464
dd7f4703
DM
214652012-03-16 David S. Miller <davem@davemloft.net>
21466
21467 * sysdeps/sparc/fpu/math_private.h: New file.
21468
006f1daa
DM
214692012-03-15 David S. Miller <davem@davemloft.net>
21470
c0c83bc8
DM
21471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21472 file.
e6a62e18 21473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
21474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21475 file.
e6a62e18
DM
21476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21477 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21478 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21479 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21480 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21481 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21482 sysdep routines.
21483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21484
88cb87d9
DM
21485 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21486 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21487
006f1daa 21488 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
21489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21490 sparc-ifunc.h
006f1daa 21491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
21492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21493 Likewise.
21494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21495 Likewise.
006f1daa
DM
21496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
21499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21500 Likewise.
006f1daa
DM
21501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
21505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21506 Likewise.
21507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21508 Likewise.
006f1daa
DM
21509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21513 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21514 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21515 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21516 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21517 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21518 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21519 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21520 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21521 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21522 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21523 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21524 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21525 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21526 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21527 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21528 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21529 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21530 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21531 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21532 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21533
11e0098e
AS
215342012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21535
21536 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21537 scaling.
21538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21539
e85b09d0
AJ
215402012-03-15 Andreas Jaeger <aj@suse.de>
21541
21542 [BZ #13852]
21543 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21544 ieee754/flt-32 implementation for sin, cos and sincos.
21545 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21546 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21547 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21548 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21549 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21550 ieee754/flt-32 implementation for tan.
21551
21552 * math/libm-test.inc (cos_test): Enable some large input tests for
21553 float as well
21554 (sin_test): Likewise.
21555 (sincos_test): Likewise.
21556 (tan_test): Add tests for large input.
21557
21558 * sysdeps/i386/fpu/libm-test-ulps: Update.
21559
81c64153
AJ
215602012-03-15 Andreas Jaeger <aj@suse.de>
21561
21562 [BZ #13658]
21563 * math/libm-test.inc (cos_test): Add more test cases.
21564 (sin_test): Likewise.
21565 (sincos_test): Likewise.
21566
7bbfa5c6
AJ
215672012-03-15 Andreas Jaeger <aj@suse.de>
21568
21569 [BZ #13837]
21570 * math/libm-test.inc (cos_test): Add a test case for large input
21571 value.
21572 (sin_test): Likewise.
21573 (sincos_test): Likewise.
21574
215752012-03-15 Andreas Jaeger <aj@suse.de>,
21576 Joseph Myers <joseph@codesourcery.com>
21577
21578 [BZ #13658]
0671f479 21579 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
21580 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21581 * sysdeps/i386/fpu/branred.c: Likewise.
21582 * sysdeps/i386/fpu/dosincos.c: Likewise.
21583 * sysdeps/i386/fpu/mpa.c: Likewise.
21584 * sysdeps/i386/fpu/s_cos.S: Likewise.
21585 * sysdeps/i386/fpu/s_sin.S: Likewise.
21586 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21587 * sysdeps/i386/fpu/sincos32.c: Likewise.
21588
21589 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21590 Define.
21591 (libc_feupdateenv_53bit): Define.
21592 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21593 Define.
21594 (libc_feupdateenv_53bit): Define.
21595
21596 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21597 53 bit (without extend i386 double precision).
21598
21599 * math/libm-test.inc (sincos_test): Add tests for large input.
21600 (sin): Likewise.
21601 (cos): Likewise.
21602
21603 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21604
9cad04ea
AS
216052012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21606
21607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21608
f7062b9a
DM
216092012-03-15 David S. Miller <davem@davemloft.net>
21610
21611 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21612 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21613 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21614 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21619 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21620 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21621 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21622 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21623 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21624 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21625 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
21626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21627 file.
f7062b9a 21628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
21629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21630 file.
f7062b9a 21631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
21632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21633 file.
f7062b9a 21634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
21635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21636 file.
f7062b9a
DM
21637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21638 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21639 fmin/fmax sysdep routines.
21640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21641
7bd951ff
DM
216422012-03-14 David S. Miller <davem@davemloft.net>
21643
559398ab
DM
21644 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21645 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21646 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21647 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21648 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21649 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21650 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21651 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21652 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21653 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21654 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21655 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21656 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21657 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21658 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21659 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21660 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21661 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21662 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21663 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21664 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21665 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21666 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21667 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21668 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21669 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21670 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21671 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21672 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21673 routines.
21674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21675 file.
559398ab 21676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
21677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21678 file.
559398ab 21679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
21680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21681 file.
559398ab 21682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
21683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21684 file.
559398ab 21685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
21686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21687 file.
559398ab 21688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
21689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21690 file.
21691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21692 file.
21693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21694 file.
21695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21696 file.
21697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21698 New file.
21699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21700 file.
21701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21702 file.
559398ab 21703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
21704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21705 file.
559398ab 21706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21708 file.
559398ab 21709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
21710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21711 file.
559398ab 21712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
21713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21714 VIS3 routines.
559398ab
DM
21715
21716 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21717 New file.
21718
5a1c1e32
DM
21719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21720
eae47a36
DM
21721 * sysdeps/sparc/configure.in: New file.
21722 * sysdeps/sparc/configure: Generate.
21723 * configure.in (libc_cv_sparc_as_vis3): Substitute.
21724 * configure: Regenerate.
21725 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21726 * config.make.in (have-as-vis3): New.
21727 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21728 available use -Av9d instead of -Av9a.
21729 * sysdeps/sparc/sparc64/Makefile: Likewise.
21730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
21731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21732 New file.
21733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21734 file.
21735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21736 New file.
21737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21738 file.
eae47a36
DM
21739 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21740 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21741 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21742 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21743 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21744
c0c83bc8
DM
21745 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21746 fzeros/fnegs to load 0x80000000 into a float register instead of
21747 using the stack.
7bd951ff
DM
21748 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21749
bd951ccb
JM
217502012-03-14 Joseph Myers <joseph@codesourcery.com>
21751
21752 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21753 bits/syscall.h.
21754 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21755 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21756 ($(inst_includedir)/bits/syscall.h): Remove rule.
21757 ($(objpfx)bits/syscall.d): Include instead of
21758 $(objpfx)syscall-list.d.
21759 (generated): Change syscall-list.h and syscall-list.d to
21760 bits/syscall.h and bits/syscall.d.
21761
bb4e6db2
RM
217622012-03-14 Roland McGrath <roland@hack.frob.com>
21763
21764 [BZ #13846]
21765 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21766
aa4a2ae1
JM
217672012-03-14 Joseph Myers <joseph@codesourcery.com>
21768
e456826d
JM
21769 [BZ #13841]
21770 * math/s_csqrt.c: Include <float.h>.
21771 (__csqrt): Scale large or subnormal inputs.
21772 * math/s_csqrtf.c: Likewise.
21773 * math/s_csqrtl.c: Likewise.
21774 * math/libm-test.inc (csqrt_test): Add more tests.
21775 * sysdeps/i386/fpu/libm-test-ulps: Update.
21776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21777
aa4a2ae1
JM
21778 [BZ #13840]
21779 * math/libm-test.inc (hypot_test): Add more tests.
21780
7c10fd35
DM
217812012-03-13 David S. Miller <davem@davemloft.net>
21782
21783 [BZ #13840]
21784 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21785 double-precision for the calculation instead of scaling.
21786
f453b98b
JM
217872012-03-13 Joseph Myers <joseph@codesourcery.com>
21788
21789 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21790 manipulate bits before adding and subtracting TWO52[sx].
21791 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21792 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21793 Likewise.
21794 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21795
09a3453f
DM
217962012-03-13 David S. Miller <davem@davemloft.net>
21797
8e59da90
DM
21798 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21799 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21800 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21801 rtld-global-offsets.h
21802 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21803
2a8ab7f2
DM
21804 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21805 large parameters.
21806
10f62770
DM
21807 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21808
5f0bdb18
DM
21809 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21810 'err' in the ifdef scope in which it is actually used.
21811
09a3453f
DM
21812 * nss/nss_db/db-init.c: Include string.h
21813
b4b2eb5e
DM
218142012-03-12 David S. Miller <davem@davemloft.net>
21815
98bb2f1c
DM
21816 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21817 masking out of the most significant byte of random value used.
21818 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21819 Fix coding style in previous change.
21820
b4b2eb5e
DM
21821 * sysdeps/unix/sysv/linux/kernel-features.h
21822 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21823 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21824 expression.
21825 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21826 later.
21827
6e226b09
DM
218282012-03-11 David S. Miller <davem@davemloft.net>
21829
a1bcbd40
DM
21830 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21831 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
21832 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
21833 for 'resultvar' otherwise things get truncated on 64-bit.
21834
cb9d6174
DM
21835 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21836 Fix masking out of the most significant byte of random value used.
21837
6e226b09
DM
21838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21839
058c132d
AS
218402012-03-10 Andreas Schwab <schwab@linux-m68k.org>
21841
21842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21843
2d2cd515
DM
218442012-03-09 David S. Miller <davem@davemloft.net>
21845
21846 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
21847 variables with appropriate CPP guards.
21848 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
21849 frame pointer, not the stack pointer. Correct layout comments. Fix test
21850 on resulting framesize and the management of the outregs buffer for pltexit.
21851 Preserve floating point return values across _dl_call_pltexit call.
21852 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
21853 framesize and the management of the outregs buffer for pltexit.
21854 Preserve floating point return values across _dl_call_pltexit
21855 call.
21856 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
21857 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
21858 (print_exit): Fix format string for return register value.
21859
9a07f9d0
JM
218602012-03-10 Joseph Myers <joseph@codesourcery.com>
21861
21862 * sunrpc/Makefile (others): Add rpcgen.
21863 ($(objpfx)rpcgen): Remove special build rule and dependency on
21864 libc.
21865 * sunrpc/rpcgen.c: New file.
21866
547b5e30
PE
218672012-03-09 Paul Eggert <eggert@cs.ucla.edu>
21868
c524201a
PE
21869 [BZ #13673]
21870 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
21871 * stdio-common/bug-vfprintf-nargs.c: Likewise.
21872 * sysdeps/i386/crti.S: Likewise.
21873 * sysdeps/i386/crtn.S: Likewise.
21874 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
21875 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
21876 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
21877 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
21878 * sysdeps/sh/crti.S: Likewise.
21879 * sysdeps/sh/crtn.S: Likewise.
21880 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21881
7b6235f2
PE
21882 [BZ #13673]
21883 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
21884 with URL.
21885 * locale/programs/locfile-kw.gperf: Likewise.
21886 * locale/programs/charmap-kw.h: Regenerated.
21887 * locale/programs/locfile-kw.h: Likewise.
21888
547b5e30
PE
21889 [BZ #13673]
21890 * intl/plural.y: Replace FSF snail mail address with URL.
21891 * intl/plural.c: Regenerated.
21892
5f0a5dae
RH
218932012-03-09 Richard Henderson <rth@twiddle.net>
21894
21895 * include/math_private.h: Remove file.
21896 * math/math_private.h: Move file ...
21897 * sysdeps/generic/math_private.h: ... here.
21898
b8c03620
RH
21899 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
21900 * sysdeps/powerpc/fpu/math_private.h: Likewise.
21901 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21902
4e234f5d 21903 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
21904 and <math_private.h>.
21905 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21906 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21907 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21908 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21909 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21910 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
21911 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21912 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21913 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21914 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21915 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21916 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21917 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21918 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21919 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21920 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21921 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21922 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21923 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21924 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21925 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21926 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21927 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21928 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21929 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21930 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21931 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21932 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21933 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21934 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21935 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21936 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21937 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21938 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21939 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21940 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21941 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21942 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21943 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21944 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21945 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
21946 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21947 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21948 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21949 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21950 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21951 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
21952 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21953 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21954 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21955 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21956 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
21957 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21958 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21959 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21960 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21961 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21962 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21963 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21964 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
21965 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21966 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21967 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21968 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21969 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
21970 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21971 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21972 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21973 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
21974 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
21975 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21976 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21977 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21978 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21979 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
21980 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
21981 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
21982 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21983 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
21984 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
21985 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21986 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
21987 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21988 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21989 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21990 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
21991 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
21992 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
21993 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21994 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21995 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21996 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21997 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21998 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21999 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22000 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22001 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22002 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22003 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22004 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22005 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22006 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22007 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22008 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22009 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22010 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22011 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22012 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22013 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22014 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22015 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22016 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22017 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22018 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22019 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22020 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22021 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22022 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22023 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22024 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22025 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22026 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22027 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22028 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22029 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22030 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22031 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22032 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22033 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22034 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22035 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22036 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22037 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22038 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22039 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22040 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22041 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22042 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22043 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22044 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22045 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22046 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22047 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22048 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22049 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22050 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22051 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22052 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22053 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22054 * sysdeps/ieee754/k_standard.c: Likewise.
22055 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22056 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22057 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22058 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22059 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22060 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22061 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22062 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22063 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22064 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22065 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22066 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22067 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22068 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22069 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22070 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22071 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22072 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22073 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22074 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22075 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22076 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22077 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22078 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22079 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22080 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22081 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22082 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22083 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22084 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22085 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22086 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22087 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22088 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22089 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22090 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22091 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22092 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22093 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22094 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22095 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22096 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22097 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22098 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22099 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22100 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22101 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22102 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22103 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22104 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22105 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22106 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22107 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22108 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22109 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22110 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22111 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22112 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22113 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22114 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22115 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22116 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22117 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22118 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22119 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22120 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22121 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22122 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22123 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22124 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22125 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22126 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22127 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22128 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22129 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22130 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22131 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22132 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22133 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22134 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22135 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22136 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22137 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22138 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22139 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22140 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22141 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22142 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22143 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22144 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22145 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22146 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22147 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22148 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22149 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22150 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22151 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22152 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22153 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22154 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22155 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22156 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22157 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22158 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22159 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22160 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22161 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22162 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22163 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22164 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22165 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22166 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22167 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22168 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22169 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22170 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22171 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22172 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22173 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22174 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22175 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22176 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22177 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22178 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22179 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22180 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22181 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22182 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22183 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22184 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22185 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22186 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22187 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22188 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22189 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22190 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22191 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22192 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22193 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22194 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22195 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22196 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22197 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22198 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22199 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22200 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22201 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22202 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22203 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22204 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22205 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22206 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22207 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22208 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22209 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22210 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22211 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22212 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22213 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22214 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22215 * sysdeps/ieee754/s_lib_version.c: Likewise.
22216 * sysdeps/ieee754/s_matherr.c: Likewise.
22217 * sysdeps/ieee754/s_signgam.c: Likewise.
22218 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22219 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22220 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22221 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22222 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22223 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22224 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22225 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22226 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22227 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22228 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22229 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22230 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22231 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22232 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22233 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22234 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22235 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22236 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22237 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22238 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22239
1991fa03
JM
222402012-03-09 Joseph Myers <joseph@codesourcery.com>
22241
22242 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22243 * sunrpc/rpc_main.c: Likewise.
22244 * sunrpc/rpc_svcout.c: Likewise.
22245
60d6f5a6
DM
222462012-03-09 David S. Miller <davem@davemloft.net>
22247
22248 * include/math_private.h: New file.
22249
4962050e
JM
222502012-03-09 Joseph Myers <joseph@codesourcery.com>
22251
02a6f887
JM
22252 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22253 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22254 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22255 from <bits/socket_type.h>.
22256 (enum __socket_type): Don't define here.
22257 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22258 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22259 bits/socket_type.h.
22260
c6e013c1
JM
22261 [BZ #13566]
22262 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22263 checking __USE_GNU.
22264
4962050e
JM
22265 * Makerules ($(inst_includedir)/%.h): New rule.
22266 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22267 (install-others): Remove variable setting.
22268 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22269
38842f45
RH
222702012-03-08 Richard Henderson <rth@twiddle.net>
22271
67bb6da6
RH
22272 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22273 from macro to inline function; merge with the
22274 !__LIBC_INTERNAL_MATH_INLINES version.
22275 (__ieee754_sqrtf): Likewise.
22276
15194b4b
RH
22277 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22278 to inline function.
22279 (__rintf, __floor, __floorf): Likewise.
22280
64e21ede
RH
22281 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22282 macro to inline function.
22283 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22284
38842f45
RH
22285 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22286 not <math/math_private.h>.
22287
c64bf5fe
DM
222882012-03-08 David S. Miller <davem@davemloft.net>
22289
22290 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22291 copyright year.
22292 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22293
82d86f28
TS
222942012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22295
22296 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22297 normalization.
22298 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22299 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22300
aea5d727
UD
223012012-03-08 Ulrich Drepper <drepper@gmail.com>
22302
22303 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22304 be defined individually, they must be defined as a block. Define
22305 S for printing a string instead of hidint the different by using a
22306 macro for adding the 'l'.
22307 * stdio-common/tst-fphex-wide.c: Adjust.
22308
70bca0a3
MP
223092012-03-07 Marek Polacek <polacek@redhat.com>
22310
22311 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22312
65b81130
MP
223132012-03-08 Marek Polacek <polacek@redhat.com>
22314
22315 [BZ #13806]
22316 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22317 * stdio-common/tst-fphex.c: Define a few macros to make the
22318 test reusable. Use them.
22319 * stdio-common/tst-fphex-wide.c: New file.
22320
07037eeb
JM
223212012-03-08 Joseph Myers <joseph@codesourcery.com>
22322
a7a93d50
JM
22323 [BZ #6911]
22324 * manual/macros.texi (gnusystems): New macro.
22325 (nongnusystems): Likewise.
22326 (gnulinuxhurdsystems): Likewise.
22327 (gnuhurdsystems): Likewise..
22328 (gnulinuxsystems): Likewise.
22329 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22330 variants of the GNU system, not "GNU system".
22331 * manual/conf.texi: Likewise.
22332 * manual/errno.texi: Likewise. Update example of errno macro
22333 expansion.
22334 * manual/filesys.texi: Likewise.
22335 (getumask): Document as specific to GNU/Hurd.
22336 * manual/install.texi: Likewise. Reword some references to
22337 GNU/Linux.
22338 * manual/intro.texi: Likewise.
22339 * manual/io.texi: Likewise.
22340 (File Name Portability): Detail which constraints are inapplicable
22341 to all GNU systems and which are only inapplicable to GNU/Hurd.
22342 * manual/job.texi: Likewise.
22343 * manual/llio.texi: Likewise.
22344 (O_NOCTTY): Document as present on GNU/Linux.
22345 * manual/maint.texi: Likewise.
22346 * manual/memory.texi: Likewise.
22347 * manual/pattern.texi: Likewise.
22348 * manual/pipe.texi: Likewise.
22349 * manual/process.texi: Likewise.
22350 * manual/resource.texi: Likewise.
22351 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22352 child on GNU/Hurd.
22353 * manual/setjmp.texi: Likewise.
22354 * manual/signal.texi: Likewise.
22355 * manual/startup.texi: Likewise.
22356 * manual/stdio.texi: Likewise.
22357 * manual/terminal.texi: Likewise.
22358 (ONLCR): Document as POSIX.
22359 (OXTABS): Document availability on GNU/Linux as XTABS.
22360 (ONOEOT): Document availability separately from other bits.
22361 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22362 * manual/time.texi: Likewise.
22363 * manual/users.texi: Likewise.
22364 * INSTALL: Regenerated.
22365 * sysdeps/gnu/errlist.c: Regenerated.
22366
07037eeb
JM
22367 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22368 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22369 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22370 puts.
22371 * configure: Regenerated.
22372
d1d3431a
JM
223732012-03-07 Joseph Myers <joseph@codesourcery.com>
22374
af6a1e37
JM
22375 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22376 default includes instead of AC_HEADER_CHECK.
22377 * sysdeps/i386/configure: Regenerated.
22378
d1d3431a
JM
22379 [BZ #10716]
22380 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22381 * math/s_cacoshf.c (__cacoshf): Likewise.
22382 * math/s_cacoshl.c (__cacoshl): Likewise.
22383 * math/s_casinh.c (__casinh): Set signs of result from argument.
22384 * math/s_casinhf.c (__casinhf): Likewise.
22385 * math/s_casinhl.c (__casinhl): Likewise.
22386 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22387 (casinh_test): Add more tests.
22388 * sysdeps/i386/fpu/libm-test-ulps: Update.
22389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22390
482ff4da
UD
223912012-03-07 Ulrich Drepper <drepper@gmail.com>
22392
872fda05
UD
22393 * po/zh_TW.po: Update from translation team.
22394
a4300c7a
UD
22395 * login/Makefile (distribute): Remove variable.
22396 * catgets/Makefile: Likewise.
22397 * mach/Makefile: Likewise.
22398 * malloc/Makefile: Likewise.
22399 * misc/Makefile: Likewise.
22400 * iconv/Makefile: Likewise.
22401 * nscd/Makefile: Likewise.
22402 * hurd/Makefile: Likewise.
22403 * manual/Makefile: Likewise.
22404 * locale/Makefile: Likewise.
22405 * intl/Makefile: Likewise.
22406 * conform/Makefile: Likewise.
22407 * nss/Makefile: Likewise.
22408 * time/Makefile: Likewise.
22409 * soft-fp/Makefile: Likewise.
22410 * dirent/Makefile: Likewise.
22411 * gmon/Makefile: Likewise.
22412 * po/Makefile: Likewise.
22413 * rt/Makefile: Likewise.
22414 * socket/Makefile: Likewise.
22415 * math/Makefile: Likewise.
22416 * signal/Makefile: Likewise.
22417 * debug/Makefile: Likewise.
22418 * elf/Makefile: Likewise.
22419 * timezone/Makefile: Likewise.
22420 * stdlib/Makefile: Likewise.
22421 * iconvdata/Makefile: Likewise.
22422 * sunrpc/Makefile: Likewise.
22423 * io/Makefile: Likewise.
22424 * argp/Makefile: Likewise.
22425 * inet/Makefile: Likewise.
22426 * hesiod/Makefile: Likewise.
22427 * grp/Makefile: Likewise.
22428 * csu/Makefile: Likewise.
22429 * wctype/Makefile: Likewise.
22430 * crypt/Makefile: Likewise.
22431 * libio/Makefile: Likewise.
22432 * string/Makefile: Likewise.
22433 * nis/Makefile: Likewise.
22434 * resolv/Makefile: Likewise.
22435 * stdio-common/Makefile: Likewise.
22436 * wcsmbs/Makefile: Likewise.
22437 * dlfcn/Makefile: Likewise.
22438 * posix/Makefile: Likewise.
22439
3b7c4e74 22440 [BZ #6959]
482ff4da
UD
22441 * timezone/Makefile: Don't install timezone files, just the programs
22442 and scripts.
22443
f72ed77d
UD
224442012-03-06 Ulrich Drepper <drepper@gmail.com>
22445
a000466f
UD
22446 * nss/databases.def: Add missing gshadow entry.
22447
f72ed77d
UD
22448 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22449
a53b7a4e
MP
224502012-03-06 Marek Polacek <polacek@redhat.com>
22451
22452 [BZ #13726]
22453 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22454 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22455 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22456 * stdio-common/tst-long-dbl-fphex.c: New file.
22457
e9258400
DM
224582012-03-06 David S. Miller <davem@davemloft.net>
22459
22460 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22461 (set_obp_int): New function.
22462 (get_obp_int): New function.
22463 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
22464 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22465 Avoid unused variable warnings on 'val' and use builtin_expect.
22466 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22467 __builtin_expect.
e9258400
DM
22468 (INLINE_CLONE_SYSCALL): Likewise.
22469
3bd2c723
DM
224702012-03-05 David S. Miller <davem@davemloft.net>
22471
22472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22473
bbb78d03
AS
224742012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22475
884c5db4
AS
22476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22477
bbb78d03
AS
22478 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22479 only for |x| >= 40.
22480 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22481
1c9f702a 224822012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
22483
22484 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22485 Replace gettimeofday with __vdso_gettimeofday.
22486
7be16f82
RM
22487 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22488 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22489 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
22490
22491 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22492 time with __vdso_time.
22493
ed58a00f
JM
224942012-03-05 Joseph Myers <joseph@codesourcery.com>
22495
22496 * manual/lang.texi (size_t): Note types to which size_t may be
22497 equivalent with the GNU C Library, but do not describe when
22498 differences between them are significant.
22499
30ee4ced
AJ
225002012-03-05 Andreas Jaeger <aj@suse.de>
22501
22502 * sysdeps/i386/fpu/libm-test-ulps: Update.
22503
b7cd39e8
JM
225042012-03-05 Joseph Myers <joseph@codesourcery.com>
22505
22506 [BZ #3976]
22507 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22508 (__ieee754_pow): Save and restore rounding mode and use
22509 round-to-nearest for main computations.
22510 * math/libm-test.inc (pow_test_tonearest): New function.
22511 (pow_test_towardzero): Likewise.
22512 (pow_test_downward): Likewise.
22513 (pow_test_upward): Likewise.
22514 (main): Call the new functions.
22515 * sysdeps/i386/fpu/libm-test-ulps: Update.
22516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
22517
22518 [BZ #3976]
22519 * math/libm-test.inc (cosh_test_tonearest): New function.
22520 (cosh_test_towardzero): Likewise.
22521 (cosh_test_downward): Likewise.
22522 (cosh_test_upward): Likewise.
22523 (sinh_test_tonearest): Likewise.
22524 (sinh_test_towardzero): Likewise.
22525 (sinh_test_downward): Likewise.
22526 (sinh_test_upward): Likewise.
22527 (main): Call the new functions.
22528 * sysdeps/i386/fpu/libm-test-ulps: Update.
22529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22530
6c6a98c9
TV
225312012-03-05 Tom de Vries <tom@codesourcery.com>
22532
22533 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22534 default stack guard is set in last bytes.
22535 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22536
21bb2d2e 225372012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 22538
21bb2d2e 22539 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 22540
21bb2d2e
AJ
22541 [BZ #13656]
22542 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22543 possibly allocate from heap instead of stack.
22544 * stdio-common/bug-vfprintf-nargs.c: New file.
22545 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 22546
c6922934
AS
225472012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22548
22549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22550
bc957d53
MP
225512012-03-03 Marek Polacek <polacek@redhat.com>
22552
22553 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22554 * math/math_private.h: Likewise.
22555 * stdlib/tst-strtod.c: Likewise.
22556 * sysdeps/i386/i486/bits/atomic.h: Likewise.
22557 * sysdeps/x86_64/bits/atomic.h: Likewise.
22558
6358490d
DM
225592012-03-02 David S. Miller <davem@davemloft.net>
22560
22561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22565 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22566 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22567 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22568 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22569
01ae168d
RM
225702012-03-02 Roland McGrath <roland@hack.frob.com>
22571
d9a17c07
RM
22572 [BZ #13792]
22573 * manual/examples/README: New file, says the example source files
22574 can be used under GPL>=2.
22575 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22576 line containing just "*/".
22577 * manual/examples/add.c: Add copyright header (GPL>=2).
22578 * manual/examples/argp-ex1.c: Likewise.
22579 * manual/examples/argp-ex2.c: Likewise.
22580 * manual/examples/argp-ex3.c: Likewise.
22581 * manual/examples/argp-ex4.c: Likewise.
22582 * manual/examples/atexit.c: Likewise.
22583 * manual/examples/db.c: Likewise.
22584 * manual/examples/dir.c: Likewise.
22585 * manual/examples/dir2.c: Likewise.
22586 * manual/examples/execinfo.c: Likewise.
22587 * manual/examples/filecli.c: Likewise.
22588 * manual/examples/filesrv.c: Likewise.
22589 * manual/examples/fmtmsgexpl.c: Likewise.
22590 * manual/examples/genpass.c: Likewise.
22591 * manual/examples/inetcli.c: Likewise.
22592 * manual/examples/inetsrv.c: Likewise.
22593 * manual/examples/isockad.c: Likewise.
22594 * manual/examples/longopt.c: Likewise.
22595 * manual/examples/memopen.c: Likewise.
22596 * manual/examples/memstrm.c: Likewise.
22597 * manual/examples/mkfsock.c: Likewise.
22598 * manual/examples/mkisock.c: Likewise.
22599 * manual/examples/mygetpass.c: Likewise.
22600 * manual/examples/pipe.c: Likewise.
22601 * manual/examples/popen.c: Likewise.
22602 * manual/examples/rprintf.c: Likewise.
22603 * manual/examples/search.c: Likewise.
22604 * manual/examples/select.c: Likewise.
22605 * manual/examples/setjmp.c: Likewise.
22606 * manual/examples/sigh1.c: Likewise.
22607 * manual/examples/sigusr.c: Likewise.
22608 * manual/examples/stpcpy.c: Likewise.
22609 * manual/examples/strdupa.c: Likewise.
22610 * manual/examples/strftim.c: Likewise.
22611 * manual/examples/strncat.c: Likewise.
22612 * manual/examples/subopt.c: Likewise.
22613 * manual/examples/swapcontext.c: Likewise.
22614 * manual/examples/termios.c: Likewise.
22615 * manual/examples/testopt.c: Likewise.
22616 * manual/examples/testpass.c: Likewise.
22617 * manual/examples/timeval_subtract.c: Likewise.
22618
01ae168d
RM
22619 [BZ #13792]
22620 * manual/time.texi (Elapsed Time): Move timeval_subtract example
22621 function to ...
22622 * manual/timeval_subtract.c.texi: ... here, new file.
22623
49efa33d
DM
226242012-03-02 David S. Miller <davem@davemloft.net>
22625
22626 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22627
28afd92d
JM
226282012-03-02 Joseph Myers <joseph@codesourcery.com>
22629
804360ed
JM
22630 [BZ #3976]
22631 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22632 (__sin): Save and restore rounding mode and use round-to-nearest
22633 for all computations.
22634 (__cos): Save and restore rounding mode and use round-to-nearest
22635 for all computations.
22636 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22637 <fenv.h>.
22638 (tan): Save and restore rounding mode and use round-to-nearest for
22639 all computations.
22640 * math/libm-test.inc (cos_test_tonearest): New function.
22641 (cos_test_towardzero): Likewise.
22642 (cos_test_downward): Likewise.
22643 (cos_test_upward): Likewise.
22644 (sin_test_tonearest): Likewise.
22645 (sin_test_towardzero): Likewise.
22646 (sin_test_downward): Likewise.
22647 (sin_test_upward): Likewise.
22648 (tan_test_tonearest): Likewise.
22649 (tan_test_towardzero): Likewise.
22650 (tan_test_downward): Likewise.
22651 (tan_test_upward): Likewise.
22652 (main): Call the new functions.
22653 * sysdeps/i386/fpu/libm-test-ulps: Update.
22654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22655
a6d06d7b
JM
22656 [BZ #10135]
22657 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22658 small n, then large n, before computing and testing k+n.
22659 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22660 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22661 Likewise.
22662 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22663 Likewise.
22664 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22665 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22666 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22667 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22668 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22669 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22670 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22671 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22672 * math/libm-test.inc (scalbn_test): Add more tests.
22673 (scalbln_test): Likewise.
22674
07e12bb3
JM
22675 * manual/filesys.texi (mode_t): Describe constraints on size and
22676 signedness, not exact equivalence to a particular type.
22677 (ino_t): Likewise.
22678 (ino64_t): Likewise.
22679 (dev_t): Likewise.
22680 (nlink_t): Likewise.
22681 (blkcnt_t): Likewise.
22682 (blkcnt64_t): Likewise.
22683 * manual/llio.texi (off_t): Likewise.
22684
28afd92d
JM
22685 [BZ #3976]
22686 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22687 (__ieee754_exp): Save and restore rounding mode and use
22688 round-to-nearest for all computations.
22689 * math/libm-test.inc (exp_test_tonearest): New function.
22690 (exp_test_towardzero): Likewise.
22691 (exp_test_downward): Likewise.
22692 (exp_test_upward): Likewise.
22693 (main): Call the new functions.
22694 * sysdeps/i386/fpu/libm-test-ulps: Update.
22695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22696
b1eeb65d
CD
226972012-03-01 Chris Demetriou <cgd@google.com>
22698
22699 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22700 have predictable order.
22701
53362a4b
DM
227022012-03-01 David S. Miller <davem@davemloft.net>
22703
3c969083
DM
22704 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22705
759707de
DM
22706 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22707 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22708 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22709 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22710
dfdb8ff2
DM
22711 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22712 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22713 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22715 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22716 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22717 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22718 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22719 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22720
ead89f96
DM
22721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22722
7f66bd07
DM
22723 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22724 * sysdeps/sparc/fpu/libm-test-ulps: to here.
22725 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22726
53362a4b
DM
22727 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22728 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22729 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22730 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22731 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22732 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22733 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22734 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22735 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22736 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22737 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22738 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22739 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22740 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22741 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22742 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22743 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22744 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22745 * sysdeps/sparc/elf/configure: Regenerated.
22746
7b1902cb
JM
227472012-03-01 Joseph Myers <joseph@codesourcery.com>
22748
bec039bc
JM
22749 * configure.in (AS, LD): Require binutils 2.20 or later.
22750 * configure: Regenerated.
22751 * manual/install.texi (Tools for Compilation): Give binutils 2.20
22752 as required minimum version.
22753 * INSTALL: Regenerated.
22754
7b1902cb
JM
22755 [BZ #2541]
22756 [BZ #4108]
22757 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22758 before squaring exponent.
22759 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22760 bottom long double and 27 bits of top long double before squaring
22761 exponent.
22762 * math/libm-test.inc (erfc_test): Add more tests.
22763 * sysdeps/i386/fpu/libm-test-ulps: Update.
22764 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22766
f775c276
KT
227672012-03-01 Kai Tietz <ktietz@redhat.com>
22768
22769 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22770 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22771 containing bit-fields.
22772 * soft-fp/extended.h (_FP_UNION_E): Likewise.
22773 * soft-fp/single.h (_FP_UNION_S): Likewise.
22774 * soft-fp/double.h (_FP_UNION_D): Likewise.
22775
5b8a4d4a
JM
227762012-02-29 Joseph Myers <joseph@codesourcery.com>
22777
0bab47b6
JM
22778 [BZ #13786]
22779 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22780 not include ../strcmp.S.
22781 [USE_AS_STRNCASECMP_L]: Likewise.
22782 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22783 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22784 * sysdeps/i386/i686/multiarch/strncase_l-c.c
22785 (__strncasecmp_l_ia32): Define as alias to
22786 __strncasecmp_l_nonascii.
22787
0fcad3e2
JM
22788 [BZ #5794]
22789 * math/libm-test.inc (expm1_test): Add test for bug 5794.
22790 * sysdeps/i386/fpu/libm-test-ulps: Update.
22791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22792
5b8a4d4a
JM
22793 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22795
8fdceb2e
JL
227962012-02-29 Jeff Law <law@redhat.com>
22797
22798 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22799 out of bounds read.
22800
1f393a11
MP
228012012-02-29 Marek Polacek <polacek@redhat.com>
22802
22803 [BZ #13706]
22804 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22805 * elf/Makefile: Add rules to run tst-unused-dep.out.
22806
8847f037
DM
228072012-02-28 David S. Miller <davem@davemloft.net>
22808
22809 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22810 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22811 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22812 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22813 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22814 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22815
169d7f11
JM
228162012-02-29 Joseph Myers <joseph@codesourcery.com>
22817
22818 * math/libm-test.inc (llround_test): Move one test from
22819 lround_test. Use TEST_f_L in moved test.
22820 (lround_test): Move misplaced test to llround_test. Add testcase
22821 from bug 2561.
22822
39adf059
UD
228232012-02-28 Ulrich Drepper <drepper@gmail.com>
22824
22825 * sysdeps/x86_64/fpu/e_expf.S: New file.
22826 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22827
71b5d1c5
SB
228282012-02-28 Stanislav Brabec <sbrabec@suse.cz>
22829
22830 [BZ #13637]
22831 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
22832 of remain_len that may cause incomplete multi-byte character and
22833 false match.
22834 * posix/bug-regex33.c: New file.
22835 * posix/Makefile (tests): Add bug-regex33.
22836
1f77f049
JM
228372012-02-28 Joseph Myers <joseph@codesourcery.com>
22838
22839 * manual/macros.texi: New file.
22840 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
22841 * manual/libc.texinfo: Include macros.texi.
22842 * manual/creatute.texi: Likewise.
22843 * manual/install.texi: Likewise.
22844 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
22845 @glibcadj{} in references to the GNU C Library.
22846 * manual/charset.texi: Likewise.
22847 * manual/conf.texi: Likewise.
22848 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
22849 when not using those macros.
22850 * manual/creature.texi: Likewise.
22851 * manual/crypt.texi: Likewise.
22852 * manual/errno.texi: Likewise.
22853 * manual/filesys.texi: Likewise.
22854 * manual/header.texi: Likewise.
22855 * manual/install.texi: Likewise.
22856 * manual/intro.texi: Likewise.
22857 * manual/io.texi: Likewise.
22858 * manual/job.texi: Likewise.
22859 * manual/lang.texi: Likewise.
22860 * manual/libc.texiinfo: Likewise.
22861 * manual/llio.texi: Likewise.
22862 * manual/locale.texi: Likewise.
22863 * manual/maint.texi: Likewise.
22864 * manual/math.texi: Likewise.
22865 * manual/memory.texi: Likewise.
22866 * manual/message.texi: Likewise.
22867 * manual/nss.texi: Likewise.
22868 * manual/pattern.texi: Likewise.
22869 * manual/process.texi: Likewise.
22870 * manual/resource.texi: Likewise.
22871 * manual/search.texi: Likewise.
22872 * manual/setjmp.texi: Likewise.
22873 * manual/signal.texi: Likewise.
22874 * manual/socket.texi: Likewise.
22875 * manual/startup.texi: Likewise.
22876 * manual/stdio.texi: Likewise.
22877 * manual/string.texi: Likewise.
22878 * manual/sysinfo.texi: Likewise.
22879 * manual/syslog.texi: Likewise.
22880 * manual/terminal.texi: Likewise.
22881 * manual/time.texi: Likewise.
22882 * manual/users.texi: Likewise.
22883 * INSTALL: Regenerated.
22884 * NOTES: Regenerated.
d40c5d54 22885 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 22886
450bf206
AS
228872012-02-28 Andreas Schwab <schwab@linux-m68k.org>
22888
22889 * include/dirent.h: Include <dirstream.h> before
22890 <dirent/dirent.h>.
22891
741a235b
DM
228922012-02-28 David S. Miller <davem@davemloft.net>
22893
22894 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
22895 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
22896 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
22897 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
22898
d6b5aa58
DM
228992012-02-27 David S. Miller <davem@davemloft.net>
22900
1aff59a3
DM
22901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
22902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
22903 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
22904 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
22905
d6b5aa58
DM
22906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
22907 frame pointer instead of stack pointer relative arg slot.
22908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22909 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22910 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22911
433f48bf
CD
229122012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
22913
22914 [BZ #3992]
22915 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
22916
d674b76d
DM
229172012-02-27 David S. Miller <davem@davemloft.net>
22918
22919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
22920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
22923 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22924 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22925 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
22926 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
22927
0e7727f7
JM
229282012-02-27 Joseph Myers <joseph@codesourcery.com>
22929
22930 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
22931 later. Allow versions 5-9.
43be4ca2 22932 * configure: Regenerated.
0e7727f7
JM
22933 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
22934 required minimum version and 4.6 as recommended version. Do not
22935 mention bugs in GCC 2.7 and 2.8.
43be4ca2 22936 * INSTALL: Regenerated.
0e7727f7 22937
a78bc654
DM
229382012-02-27 David S. Miller <davem@davemloft.net>
22939
428d5830
DM
22940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
22941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
22942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
22943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
22944 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
22945 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
22946 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
22947 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
22948
a78bc654
DM
22949 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
22950 manipulate bits before adding and subtracting TWO112[sx].
22951 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22952
4579f81c
RM
229532012-02-27 Roland McGrath <roland@hack.frob.com>
22954
36c8acb4
RM
22955 [BZ #13775]
22956 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
22957 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
22958 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
22959 being in POSIX, because they are in 1003.1-2008.
22960
84ad622b
RM
22961 * rt/tst-aio.c: Include <fcntl.h>.
22962 * rt/tst-aio7.c: Likewise.
22963 * rt/tst-aio64.c: Likewise.
22964
4579f81c
RM
22965 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
22966
abd923db
JM
229672012-02-27 Joseph Myers <joseph@codesourcery.com>
22968
22969 * manual/install.texi (--with-headers): Describe headers as
22970 interface headers, not private headers.
22971 (Specific advice for GNU/Linux systems): Describe use of headers
22972 from "make headers_install", not private headers from older
22973 kernels.
43be4ca2 22974 * INSTALL: Regenerated.
abd923db
JM
22975 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
22976 Change to 2.6.19.
22977 * sysdeps/unix/sysv/linux/configure: Regenerated.
22978
6664049b
JM
22979 * manual/llio.texi (fclean): Remove documentation.
22980
bb8b6697
JM
22981 * manual/Makefile (libc-texi-generated): New variable. Include
22982 version.texi.
22983 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
22984 $(libc-texi-generated), not duplicated list of files.
22985 (version.texi, stamp-version): New rules.
22986 (realclean): Remove $(libc-texi-generated), not individual files
22987 from that list. Do not remove dir-add.texinfo.
22988 * manual/libc.texinfo: Comment out uses of edition numbers and
22989 references to printed manual. Remove last-updated dates.
22990 (EDITION): Comment out.
22991 (ISBN): Likewise.
22992 (VERSION, UPDATED): Remove.
22993 (version.texi): Include.
22994
12e5c3b9
AS
229952012-02-27 Andreas Schwab <schwab@linux-m68k.org>
22996
22997 * sysdeps/posix/spawni.c: Include <signal.h>.
22998 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
22999 * sysdeps/pthread/aio_fsync.c: Likewise.
23000
4efeffc1 230012012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23002
ba63ba08
UD
23003 * conform/Makefile (tests): Run only when not cross-compiling and
23004 when fast-check is not defined.
23005
d94a4670
UD
23006 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23007 * conform/data/limits.h-data: Fixes for POSIX2008.
23008 * conform/run-conformtest.sh: Run all tests.
23009 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23010 headers.
23011 * include/bits/dlfcn.h: Likewise.
23012 * include/langinfo.h: Likewise.
23013 * include/monetary.h: Likewise.
23014 * include/sys/poll.h: Likewise.
23015
23016 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23017 for __USE_GNU.
23018 * posix/spawn.h: Define __need_sigset_t.
23019 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23020 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23021 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23022 to get sigevent_t only.
23023 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23024 only for __USE_GNU.
23025 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23026 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23027 process_vm_writev only for __USE_GNU.
23028 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23029
23030 * conform/Makefile: For now ignore errors from run-conformtest.
23031 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23032 POSIX to avoid namespace pollution. Don't prepend headers.
23033 * conform/data/aio.h-data: Fixes for POSIX testing.
23034 * conform/data/fcntl.h-data: Likewise.
23035 * conform/data/glob.h-data: Likewise.
23036 * conform/data/grp.h-data: Likewise.
23037 * conform/data/pthread.h-data: Likewise.
23038 * conform/data/pwd.h-data: Likewise.
23039 * conform/data/signal.h-data: Likewise.
23040 * conform/data/spawn.h-data: Likewise.
23041 * conform/data/stdio.h-data: Likewise.
23042 * conform/data/stdlib.h-data: Likewise.
23043 * conform/data/stropts.h-data: Likewise.
23044 * conform/data/sys/mman.h-data: Likewise.
23045 * conform/data/sys/stat.h-data: Likewise.
23046 * conform/data/sys/types.h-data: Likewise.
23047 * conform/data/sys/wait.h-data: Likewise.
23048 * conform/data/time.h-data: Likewise.
23049 * conform/data/unistd.h-data: Likewise.
23050 * conform/data/utime.h-data: Likewise.
23051
23052 * io/sys/stat.h: fchmod was always in POSIX.
23053 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23054 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23055 * rt/aio.h: Define __need_timespec before including <time.h>.
23056 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23057 struct. Add forward declaration of pthread_attr_t and use it in
23058 sigevent.
23059 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23060 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23061 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23062 always remove CLK_TCK definition.
23063
c20105c3
AS
230642012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23065
23066 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23067
7a270350
UD
230682012-02-25 Ulrich Drepper <drepper@gmail.com>
23069
31341567
UD
23070 * conform/run-conformtest.sh: New file.
23071 * conform/Makefile: Run run-conformtest for tests.
23072 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23073 support.
23074
23075 * conform/data/uchar.h-data: New file.
23076 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23077 * conform/data/arpa/inet.h-data: Likewise.
23078 * conform/data/assert.h-data: Likewise.
23079 * conform/data/complex.h-data: Likewise.
23080 * conform/data/cpio.h-data: Likewise.
23081 * conform/data/ctype.h-data: Likewise.
23082 * conform/data/dirent.h-data: Likewise.
23083 * conform/data/dlfcn.h-data: Likewise.
23084 * conform/data/errno.h-data: Likewise.
23085 * conform/data/fcntl.h-data: Likewise.
23086 * conform/data/float.h-data: Likewise.
23087 * conform/data/fmtmsg.h-data: Likewise.
23088 * conform/data/fnmatch.h-data: Likewise.
23089 * conform/data/ftw.h-data: Likewise.
23090 * conform/data/glob.h-data: Likewise.
23091 * conform/data/grp.h-data: Likewise.
23092 * conform/data/iconv.h-data: Likewise.
23093 * conform/data/inttypes.h-data: Likewise.
23094 * conform/data/langinfo.h-data: Likewise.
23095 * conform/data/libgen.h-data: Likewise.
23096 * conform/data/limits.h-data: Likewise.
23097 * conform/data/locale.h-data: Likewise.
23098 * conform/data/math.h-data: Likewise.
23099 * conform/data/monetary.h-data: Likewise.
23100 * conform/data/mqueue.h-data: Likewise.
23101 * conform/data/ndbm.h-data: Likewise.
23102 * conform/data/net/if.h-data: Likewise.
23103 * conform/data/netdb.h-data: Likewise.
23104 * conform/data/netinet/in.h-data: Likewise.
23105 * conform/data/nl_types.h-data: Likewise.
23106 * conform/data/poll.h-data: Likewise.
23107 * conform/data/pthread.h-data: Likewise.
23108 * conform/data/pwd.h-data: Likewise.
23109 * conform/data/regex.h-data: Likewise.
23110 * conform/data/sched.h-data: Likewise.
23111 * conform/data/search.h-data: Likewise.
23112 * conform/data/semaphore.h-data: Likewise.
23113 * conform/data/setjmp.h-data: Likewise.
23114 * conform/data/signal.h-data: Likewise.
23115 * conform/data/spawn.h-data: Likewise.
23116 * conform/data/stdarg.h-data: Likewise.
23117 * conform/data/stdio.h-data: Likewise.
23118 * conform/data/stdlib.h-data: Likewise.
23119 * conform/data/string.h-data: Likewise.
23120 * conform/data/strings.h-data: Likewise.
23121 * conform/data/stropts.h-data: Likewise.
23122 * conform/data/sys/ipc.h-data: Likewise.
23123 * conform/data/sys/mman.h-data: Likewise.
23124 * conform/data/sys/msg.h-data: Likewise.
23125 * conform/data/sys/resource.h-data: Likewise.
23126 * conform/data/sys/select.h-data: Likewise.
23127 * conform/data/sys/sem.h-data: Likewise.
23128 * conform/data/sys/shm.h-data: Likewise.
23129 * conform/data/sys/socket.h-data: Likewise.
23130 * conform/data/sys/stat.h-data: Likewise.
23131 * conform/data/sys/statvfs.h-data: Likewise.
23132 * conform/data/sys/time.h-data: Likewise.
23133 * conform/data/sys/timeb.h-data: Likewise.
23134 * conform/data/sys/times.h-data: Likewise.
23135 * conform/data/sys/types.h-data: Likewise.
23136 * conform/data/sys/uio.h-data: Likewise.
23137 * conform/data/sys/un.h-data: Likewise.
23138 * conform/data/sys/utsname.h-data: Likewise.
23139 * conform/data/sys/wait.h-data: Likewise.
23140 * conform/data/syslog.h-data: Likewise.
23141 * conform/data/tar.h-data: Likewise.
23142 * conform/data/termios.h-data: Likewise.
23143 * conform/data/utime.h-data: Likewise.
23144 * conform/data/utmpx.h-data: Likewise.
23145 * conform/data/varargs.h-data: Likewise.
23146 * conform/data/wchar.h-data: Likewise.
23147 * conform/data/wctype.h-data: Likewise.
23148 * conform/data/wordexp.h-data: Likewise.
23149
23150 * include/stropts.h: New file.
23151 * include/uchar.h: New file.
23152 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23153 * include/assert.h: Likewise.
23154 * include/ctype.h: Likewise.
23155 * include/dirent.h: Likewise.
23156 * include/dlfcn.h: Likewise.
23157 * include/fcntl.h: Likewise.
23158 * include/fnmatch.h: Likewise.
23159 * include/glob.h: Likewise.
23160 * include/grp.h: Likewise.
23161 * include/libio.h: Likewise.
23162 * include/locale.h: Likewise.
23163 * include/math.h: Likewise.
23164 * include/net/if.h: Likewise.
23165 * include/netdb.h: Likewise.
23166 * include/netinet/in.h: Likewise.
23167 * include/pthread.h: Likewise.
23168 * include/pwd.h: Likewise.
23169 * include/regex.h: Likewise.
23170 * include/sched.h: Likewise.
23171 * include/search.h: Likewise.
23172 * include/setjmp.h: Likewise.
23173 * include/signal.h: Likewise.
23174 * include/stdio.h: Likewise.
23175 * include/stdlib.h: Likewise.
23176 * include/string.h: Likewise.
23177 * include/sys/cdefs.h: Likewise.
23178 * include/sys/mman.h: Likewise.
23179 * include/sys/msg.h: Likewise.
23180 * include/sys/resource.h: Likewise.
23181 * include/sys/select.h: Likewise.
23182 * include/sys/socket.h: Likewise.
23183 * include/sys/stat.h: Likewise.
23184 * include/sys/statvfs.h: Likewise.
23185 * include/sys/time.h: Likewise.
23186 * include/sys/times.h: Likewise.
23187 * include/sys/uio.h: Likewise.
23188 * include/sys/utsname.h: Likewise.
23189 * include/sys/wait.h: Likewise.
23190 * include/termios.h: Likewise.
23191 * include/time.h: Likewise.
23192 * include/ulimit.h: Likewise.
23193 * include/unistd.h: Likewise.
23194 * include/utime.h: Likewise.
23195 * include/wchar.h: Likewise.
23196 * include/wctype.h: Likewise.
23197 * include/wordexp.h: Likewise.
23198
23199 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23200
7a270350
UD
23201 * time/time.h: TIME_UTC must be a macro.
23202 Make timespec_get available for ISO C11 only as well.
23203
7724defc
UD
232042012-02-24 Ulrich Drepper <drepper@gmail.com>
23205
23206 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23207 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23208
6b1d1d46
JM
232092012-02-24 Joseph Myers <joseph@codesourcery.com>
23210
23211 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23212
0f8bbd69
JM
232132012-02-24 Joseph Myers <joseph@codesourcery.com>
23214
23215 * manual/texinfo.tex: Update to version 2012-01-19.16.
23216
66ab80bc
JM
232172012-02-24 Joseph Myers <joseph@codesourcery.com>
23218
23219 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23220
74981cc5
RM
232212012-02-24 Roland McGrath <roland@hack.frob.com>
23222
ee968201
RM
23223 [BZ #13738]
23224 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23225 * manual/fdl-1.3.texi: New file.
23226 * manual/fdl-1.1.texi: File removed.
23227
74981cc5
RM
23228 [BZ #13738]
23229 * manual/libc.texinfo (FDL_VERSION): New @set.
23230 Use it for mention of FDL in cover text.
23231 (Documentation License): Use it in @include file name.
23232
7bb764bc
JM
232332012-02-22 Joseph Myers <joseph@codesourcery.com>
23234 Roland McGrath <roland@hack.frob.com>
23235
23236 [BZ #5461]
23237 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23238 not LONG_LONG_MAX and LONG_LONG_MIN.
23239 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23240 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23241 name.
23242 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23243
6cbeae47
JM
232442012-02-22 Joseph Myers <joseph@codesourcery.com>
23245
23246 [BZ #2547]
23247 [BZ #11365]
23248 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23249 manipulate bits before adding and subtracting TWO23[sx].
23250 * math/libm-test.inc (nearbyint_test): Add more tests.
23251
fe45ce09
JM
232522012-02-22 Joseph Myers <joseph@codesourcery.com>
23253
23254 [BZ #2548]
23255 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23256 bits before adding and subtracting TWO23[sx].
23257 * math/libm-test.inc (rint_test): Add more tests.
23258 (rint_test_tonearest): Likewise.
23259 (rint_test_towardzero): Likewise.
23260 (rint_test_downward): Likewise.
23261 (rint_test_upward: Likewise.
23262
ff3b3d82
JM
232632012-02-22 Joseph Myers <joseph@codesourcery.com>
23264
23265 [BZ #10110]
23266 * include/stdc-predef.h: New file. Extracted from features.h.
23267 * include/features.h: Include stdc-predef.h.
23268 * Makefile (headers): Add stdc-predef.h.
23269 * CONFORMANCE (Compiler limitations): Update.
23270
ef0aab35
JM
232712012-02-22 Joseph Myers <joseph@codesourcery.com>
23272
23273 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23274
58639409
DM
232752012-02-21 David S. Miller <davem@davemloft.net>
23276
23277 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23278 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23279
c0e70b25
DM
232802012-02-20 David S. Miller <davem@davemloft.net>
23281
23282 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23283 using a normal save/restore sequence, rather than allocating a
23284 dummy stack frame just to store a frame pointer and restore.
23285 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23286
fb06851d
JM
232872012-02-21 Joseph Myers <joseph@codesourcery.com>
23288
23289 * manual/install.texi: Fix stray word in line-wrapped comment.
23290
7a8b71c3
DM
232912012-02-20 David S. Miller <davem@davemloft.net>
23292
d510c123
DM
23293 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23294 both binutils and gcc support GOTDATA.
23295
0722d7c2
DM
23296 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23297 "rd %pc" in the PIC register setup sequences.
23298
3d2b3019
DM
23299 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23300 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23301 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23302 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23303 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23304 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23305 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23306 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23307 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23308 (SYSCALL_ERROR_HANDLER): Likewise.
23309 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23310 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23311 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23312 (SYSCALL_ERROR_HANDLER): Likewise.
23313
c80098a9
DM
23314 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23315 (HAVE_GCC_GOTDATA): New.
23316 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23317 relocation support in both binutils and gcc.
23318 * sysdeps/sparc/elf/configure: Regenerate.
23319
3a2545a0
DM
23320 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23321 * sysdeps/sparc/sparc32/elf/configure: Delete.
23322 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23323 * sysdeps/sparc/sparc64/elf/configure: Delete.
23324 * sysdeps/sparc/elf/configure.in: New file.
23325 * sysdeps/sparc/elf/configure: Generate.
23326
7a8b71c3
DM
23327 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23328 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23329 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23330 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23331 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23332
f1e86fca
JM
233332012-02-21 Joseph Myers <joseph@codesourcery.com>
23334
23335 * manual/install.texi: Do not mention specific glibc version
23336 numbers.
23337 * manual/libc.texinfo (VERSION, UPDATED): Update.
23338 (@copying): Use @copyright{} and range of years.
23339
0e7dfaef
JM
233402012-02-21 Joseph Myers <joseph@codesourcery.com>
23341
23342 [BZ #13695]
23343 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23344 [crti.S not in sysdirs] (generated): Do not append.
23345 [crti.S not in sysdirs] (omit-deps): Likewise.
23346 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23347 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23348 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23349 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23350 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23351 Likewise.
23352 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23353 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23354 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23355 * csu/defs.awk: Remove file.
23356 * sysdeps/generic/initfini.c: Likewise.
23357 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23358 variable.
23359 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23360 Likewise.
23361
599af3ca
JM
233622012-02-20 Joseph Myers <joseph@codesourcery.com>
23363
23364 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23365 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23366 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23367 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23368 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23369 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23370 <bits/epoll.h>.
23371 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23372 (__EPOLL_PACKED): Define to empty if not defined by
23373 <bits/epoll.h>.
23374 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23375 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23376 bits/epoll.h.
23377
0e499750
JM
233782012-02-20 Joseph Myers <joseph@codesourcery.com>
23379
23380 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23381 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23382 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23383 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23384 <bits/timerfd.h>.
23385 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23386 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23387 bits/timerfd.h.
23388
5ad91f6e
JM
233892012-02-20 Joseph Myers <joseph@codesourcery.com>
23390
23391 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23392 in C locale.
23393 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23394 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23395 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23397
06b99b02
AJ
233982012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23399
23400 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23401 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23402
7638c0fd
AS
234032012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23404
23405 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23406 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23407 defined.
23408 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23409 Likewise.
23410 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23411 entry for 2.16.
23412
92221550
AJ
234132012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23414
23415 * math/w_acos.c: Use non-signaling floating-point comparisons.
23416 * math/w_acosf.c: Likewise.
23417 * math/w_acosh.c: Likewise.
23418 * math/w_acoshf.c: Likewise.
23419 * math/w_acoshl.c: Likewise.
23420 * math/w_acosl.c: Likewise.
23421 * math/w_asin.c: Likewise.
23422 * math/w_asinf.c: Likewise.
23423 * math/w_asinl.c: Likewise.
23424 * math/w_atanh.c: Likewise.
23425 * math/w_atanhf.c: Likewise.
23426 * math/w_atanhl.c: Likewise.
23427 * math/w_exp2.c: Likewise.
23428 * math/w_exp2f.c: Likewise.
23429 * math/w_exp2l.c: Likewise.
23430 * math/w_j0.c: Likewise.
23431 * math/w_j0f.c: Likewise.
23432 * math/w_j0l.c: Likewise.
23433 * math/w_j1.c: Likewise.
23434 * math/w_j1f.c: Likewise.
23435 * math/w_j1l.c: Likewise.
23436 * math/w_jn.c: Likewise.
23437 * math/w_jnf.c: Likewise.
23438 * math/w_log.c: Likewise.
23439 * math/w_log10.c: Likewise.
23440 * math/w_log10f.c: Likewise.
23441 * math/w_log10l.c: Likewise.
23442 * math/w_log2.c: Likewise.
23443 * math/w_log2f.c: Likewise.
23444 * math/w_log2l.c: Likewise.
23445 * math/w_logf.c: Likewise.
23446 * math/w_logl.c: Likewise.
23447 * math/w_sqrt.c: Likewise.
23448 * math/w_sqrtf.c: Likewise.
23449 * math/w_sqrtl.c: Likewise.
23450 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23451 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23452 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23453 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23454 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23455
ebaf36eb
JM
234562012-02-19 Joseph Myers <joseph@codesourcery.com>
23457
23458 [BZ #9739]
23459 * manual/string.texi (strnlen): Use correct parameter name in
23460 equivalent expression.
23461
71c254a6
JM
234622012-02-19 Joseph Myers <joseph@codesourcery.com>
23463
23464 [BZ #11174]
23465 * manual/users.texi (seteuid): Consistently use neweuid for
23466 argument name.
23467
16d2c631
JM
234682012-02-19 Joseph Myers <joseph@codesourcery.com>
23469
23470 [BZ #13704]
23471 * manual/nss.texi (Services in the NSS configuration): Correct
23472 list of services in example configuration file.
23473
cd837b09
NB
234742012-02-19 Nick Bowler <nbowler@draconx.ca>
23475
23476 [BZ #11322]
23477 * manual/arith.texi: Remove statements about negative zero
23478 behaving identically to zero.
23479
02c4bbad
JM
234802012-02-18 Joseph Myers <joseph@codesourcery.com>
23481
23482 [BZ #5993]
23483 * manual/install.texi: Do not document upgrading from libc5.
23484
366842e7
JM
234852012-02-18 Joseph Myers <joseph@codesourcery.com>
23486
23487 [BZ #4596]
23488 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23489
dd54084d
DM
234902012-02-18 David S. Miller <davem@davemloft.net>
23491
23492 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23493 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23494 %o7 across the call.
23495 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23496 instead.
23497 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23498 SETUP_PIC_REG_LEAF.
23499 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23500 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23501 * sysdeps/sparc/crtn.S: Likewise.
23502
2bcc53a3
UD
235032012-02-17 Ulrich Drepper <drepper@gmail.com>
23504
23505 * aout/Makefile: Remove.
23506
09c093b5
RK
235072012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23508
23509 [BZ #13058]
23510 * manual/examples/argp-ex1.c (main): Format definition in GNU
23511 style.
23512 * manual/examples/argp-ex2.c (main): Likewise.
23513 * manual/examples/argp-ex3.c (main): Likewise.
23514 * manual/examples/argp-ex4.c (main): Likewise.
23515 * manual/examples/longopt.c (main): Use new-style prototype
23516 definition.
23517 * manual/examples/strncat.c (main): Specify return type and use
23518 (void) for arguments.
23519 * manual/examples/subopt.c (main): Use char **argv argument.
23520
2ee633a2
JM
235212012-02-17 Joseph Myers <joseph@codesourcery.com>
23522
23523 [BZ #5077]
23524 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23525 rounding modes.
23526
0520adde
FB
235272012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23528
23529 [BZ #6907]
23530 * manual/string.texi (strchr): Change when strchrnul is
23531 recommended.
23532
3f4081cd
DGM
235332012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23534
23535 [BZ #174]
23536 * manual/locale.texi (setlocale): Document LOCPATH.
23537
d1b10e78
JM
235382012-02-17 Joseph Myers <joseph@codesourcery.com>
23539
23540 [BZ #10210]
23541 * manual/process.texi (execle): Move @dots{} before last argument.
23542
79c6869c
PB
235432012-02-17 Paul Bolle <pebolle@tiscali.nl>
23544
23545 [BZ #12047]
23546 * manual/charset.texi (Generic Charset Conversion): Fix typo
23547 (LC_TYPE -> LC_CTYPE).
23548
cc6e48bc
NB
235492012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23550
23551 [BZ #5805]
23552 * manual/arith.texi (scalbn): Use @var{} on parameter names.
23553 (scalbnf): Likewise.
23554 (scalbnl): Likewise.
23555 (scalbln): Likewise.
23556 (scalblnf): Likewise.
23557 (scalblnl): Likewise.
23558 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23559 (vwarnx): Likewise.
23560 (verr): Likewise.
23561 (verrx): Likewise.
23562 * manual/filesys.texi (telldir): Use braces around return type.
23563 * manual/llio.texi (mmap): Add space after comma.
23564 (mmap64): Likewise.
23565 * manual/math.texi (jn): Use @var{} on parameter names.
23566 (jnf): Likewise.
23567 (jnl): Likewise.
23568 (yn): Likewise.
23569 (ynf): Likewise.
23570 (ynl): Likewise.
23571 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23572 line.
23573 * manual/resource.texi (ulimit): Use @dots{} instead of literal
23574 "...".
23575 (sched_get_priority_min): Remove semicolon on @deftypefun line.
23576 (sched_get_priority_max): Likewise.
23577 * manual/signal.texi (sigvec): Add space after comma.
23578 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23579 names.
23580 (if_indextoname): Likewise.
23581 (if_freenameindex): Likewise.
23582 (sendto): Use ',' instead of '.' in prototype.
23583 * manual/startup.texi (syscall): Use @dots{} instead of literal
23584 "...".
23585 * manual/stdio.texi (__fpending): Separate initial words of
23586 paragraph from @deftypefun line.
23587 * manual/syslog.texi (syslog): Use @dots{} instead of literal
23588 "...".
23589 (vsyslog): Use @var{} on parameter names.
23590 * manual/terminal.texi (stty): Use @var{} on parameter names.
23591 * manual/users.texi (getutmp): Use @var{} on parameter names.
23592 (getutmpx): Likewise.
23593
5b23062f
JM
235942012-02-17 Joseph Myers <joseph@codesourcery.com>
23595
23596 [BZ #6884]
23597 * manual/stdio.texi (fopen): Fix typos in description of
23598 ",ccs=STRING".
23599
8dee4833
AJ
236002012-02-17 Aurelien Jarno <aurelien@aurel32.net>
23601
23602 [BZ #4026]
23603 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23604 get clock_id definition.
23605
9078ce93
TS
236062012-02-17 Thomas Schwinge <thomas@schwinge.name>
23607
23608 [BZ #4822]
23609 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23610 (madvise): Cast every argument to void on its own.
23611
3835c55f
JM
236122012-02-17 Joseph Myers <joseph@codesourcery.com>
23613
23614 [BZ #9902]
23615 * manual/startup.texi (Exit Status): Fix typo.
23616
35c47e37
JM
236172012-02-17 Joseph Myers <joseph@codesourcery.com>
23618
23619 [BZ #10140]
23620 * manual/examples/argp-ex1.c: Include <stdlib.h>.
23621 * manual/examples/argp-ex2.c: Likewise.
23622 * manual/examples/argp-ex3.c: Likewise.
23623
e3b69ca7
RH
236242012-02-16 Richard Henderson <rth@redhat.com>
23625
23626 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23627 * sysdeps/s390/s390-32/initfini.c: Remove.
23628 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23629 * sysdeps/s390/s390-64/initfini.c: Remove.
23630
df83af67
KK
236312012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23632
23633 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23634 compiler output for sysdeps/generic/initfini.c.
23635 * sysdeps/sh/elf/initfini.c: Remove file.
23636
f63f3380
DM
236372012-02-16 David S. Miller <davem@davemloft.net>
23638
fb59b3a4
DM
23639 [BZ #11494]
23640 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23641
f63f3380
DM
23642 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23643 * sysdeps/sparc/crti.S: New file.
23644 * sysdeps/sparc/crtn.S: New file.
23645 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23646 * sysdeps/sparc/sparc64/Makefile: Likewise.
23647
df6a4a4a
MF
236482012-02-15 Mike Frysinger <vapier@gentoo.org>
23649
6dd8f3dc 23650 [BZ #3335]
df6a4a4a
MF
23651 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23652
1cac7236
RM
236532012-02-15 Roland McGrath <roland@hack.frob.com>
23654
d2c736f8
RM
23655 [BZ #4822]
23656 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23657
1cac7236
RM
23658 * mach/devstream.c (cookie_io_functions_t): Macro removed.
23659 (write, read, close): Likewise.
23660 Patch by Aurelien Jarno <aurelien@aurel32.net>.
23661
8e475601
JM
236622012-02-15 Joseph Myers <joseph@codesourcery.com>
23663
23664 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23665 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23666 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23667 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23668 <bits/signalfd.h>.
23669 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23670 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23671 bits/signalfd.h.
23672
ed656b40
MP
236732012-02-14 Marek Polacek <polacek@redhat.com>
23674
23675 * sysdeps/x86_64/crti.S: New file.
23676 * sysdeps/x86_64/crtn.S: New file.
23677 * sysdeps/x86_64/elf/initfini.c: Remove file.
23678
2a979d3a
JM
236792012-02-13 Joseph Myers <joseph@codesourcery.com>
23680
23681 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23682 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23683 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23684 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23685 <bits/inotify.h>.
23686 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23687 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23688 bits/inotify.h.
23689
2a418ac3
JM
236902012-02-13 Joseph Myers <joseph@codesourcery.com>
23691
23692 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23693 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23694 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23695 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23696 <bits/eventfd.h>.
23697 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23698 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23699 bits/eventfd.h.
23700
fb779be7
TS
237012012-02-10 Thomas Schwinge <thomas@codesourcery.com>
23702
e19e83c5
RM
23703 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23704 __feraiseexcept instead of feraiseexcept.
7c35ffed 23705
fb779be7
TS
23706 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23707 nanosleep invocations.
23708 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23709 strings, and add error checking for a nanosleep invocations.
23710
59ba27a6
PE
237112012-02-09 Paul Eggert <eggert@cs.ucla.edu>
23712
23713 Replace FSF snail mail address with URLs, as per GNU coding standards.
23714 Most of the snail mail addresses were wrong anyway, and omitting
23715 them makes the source code easier to maintain. Almost all of the
23716 changes are to license notices and to locale LC_IDENTIFICATION
23717 addresses, except for this one:
23718 * manual/libc.texinfo: In "Published by", give the FSF's URL,
23719 not its snail mail address.
23720
57b957eb
RH
237212012-02-09 Richard Henderson <rth@twiddle.net>
23722
af850b1c
RH
23723 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23724 of kernel-features.h.
23725
57b957eb
RH
23726 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23727
6b73181a
MP
237282012-02-08 Marek Polacek <polacek@redhat.com>
23729
23730 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23731 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23732 * sysdeps/gnu/_G_config.h: Likewise.
23733 * sysdeps/generic/_G_config.h: Likewise.
23734
26ecc33a
AS
237352012-02-08 Andreas Schwab <schwab@linux-m68k.org>
23736
6c6dbc63
AS
23737 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23738 tests.
23739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23740
e216c012
AS
23741 * sysdeps/powerpc/powerpc32/crti.S: New file.
23742 * sysdeps/powerpc/powerpc32/crtn.S: New file.
23743 * sysdeps/powerpc/powerpc64/crti.S: New file.
23744 * sysdeps/powerpc/powerpc64/crtn.S: New file.
23745
26ecc33a
AS
23746 * Makeconfig (have-initfini): Don't set.
23747 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23748 * configure.in (nopic_initfini): Don't substitute.
23749 * config.h.in (HAVE_INITFINI): Don't #undef.
23750 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23751 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23752
3add8e13
JM
237532012-02-08 Joseph Myers <joseph@codesourcery.com>
23754
23755 Support crti.S and crtn.S provided directly by architectures.
23756 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23757 [crti.S in sysdirs] (omit-deps): Likewise.
23758 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23759 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23760 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23761 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23762 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23763 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23764 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23765 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23766 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23767 compiler output for sysdeps/generic/initfini.c.
23768 * sysdeps/i386/elf/Makefile: Remove file.
23769 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23770
a22f12b4
MP
237712012-02-07 Marek Polacek <polacek@redhat.com>
23772
23773 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23774 * sysdeps/gnu/_G_config.h: Likewise.
23775 * sysdeps/mach/hurd/_G_config.h: Likewise.
23776
148cf100
MP
237772012-02-07 Marek Polacek <polacek@redhat.com>
23778
23779 * math/Makefile (tests): Add tst-CMPLX2.
23780 * math/tst-CMPLX2.c: New file.
23781
cfdc0dd7
AS
237822012-02-07 Andreas Schwab <schwab@linux-m68k.org>
23783
84ba42c4
AS
23784 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23785
cfdc0dd7
AS
23786 * math/libm-test.inc (jn_test): Add missing L suffix.
23787
622c86f4
MP
237882012-02-06 Marek Polacek <polacek@redhat.com>
23789
23790 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23791 * sysdeps/i386/fpu/e_powf.S: Likewise.
23792 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23793 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23794 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23795 * sysdeps/i386/fpu/e_pow.S: Likewise.
23796 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23797 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23798 * sysdeps/i386/fpu/s_expm1.S: Likewise.
23799 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23800 * sysdeps/i386/fpu/e_log2.S: Likewise.
23801 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23802 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23803 * sysdeps/i386/fpu/e_powl.S: Likewise.
23804 * sysdeps/i386/fpu/s_log1p.S: Likewise.
23805 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23806 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23807 * sysdeps/i386/fpu/e_logl.S: Likewise.
23808 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23809 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23810 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23811 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23812 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23813 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23814 * sysdeps/i386/fpu/e_log.S: Likewise.
23815 * sysdeps/i386/fpu/s_cexp.S: Likewise.
23816 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23817 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23818 * sysdeps/i386/fpu/e_logf.S: Likewise.
23819 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23820 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23821 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23822 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23823 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23824 * sysdeps/i386/fpu/e_log10.S: Likewise.
23825 * sysdeps/i386/fpu/s_frexp.S: Likewise.
23826 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23827 * sysdeps/i386/fpu/s_asinh.S: Likewise.
23828 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23829 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23830 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23831 * sysdeps/i386/asm-syntax.h: Likewise.
23832 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23833 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23834 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23835 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
23836 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
23837 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23838 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23839 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23840 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23841 * sysdeps/powerpc/sysdep.h: Likewise.
23842 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23843 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23844
d4a54ac6
JM
238452012-02-06 Joseph Myers <joseph@codesourcery.com>
23846
23847 [BZ #411]
23848 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
23849
314054ea
JM
238502012-02-06 Joseph Myers <joseph@codesourcery.com>
23851
23852 * sysdeps/i386/sysdep.h: Include <features.h>.
23853 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
23854 version.
23855
d8e0ca50
JM
238562012-02-05 Joseph Myers <joseph@codesourcery.com>
23857
23858 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
23859 Define.
23860 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
23861 LOAD_PIC_REG_STR.
23862
b1da7dd9
JM
238632012-02-03 Joseph Myers <joseph@codesourcery.com>
23864
23865 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
23866 (SETUP_PIC_REG): Use GET_PC_THUNK.
23867 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
23868 macro.
23869
9a1d9254
JM
238702012-02-03 Joseph Myers <joseph@codesourcery.com>
23871
23872 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
23873 for non-PIC compilation.
23874 (SETUP_PIC_REG): Add .p2align directive.
23875 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
23876 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23877 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23878 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23879 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23880 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23881 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23882 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23883 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23884 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23885 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23886 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23887 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23888 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23889 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23890 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23891 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23892 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23893 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23894 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23895 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23896 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23897 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23898 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23899 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23900 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23901 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23902 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23903 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23904 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23905 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23906 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23907 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23908 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23909 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23910 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23911 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23912 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23913 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23914 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23915 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23916
65dc3b75
JM
239172012-02-03 Joseph Myers <joseph@codesourcery.com>
23918
23919 * math/tst-CMPLX.c: Include <stdio.h>.
23920
d55bf177
JM
239212012-01-31 Joseph Myers <joseph@codesourcery.com>
23922
23923 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
23924 float.
23925 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23926 * sysdeps/sparc/bits/mathdef.h: Likewise.
23927
69db4f8f
MP
239282012-01-31 Marek Polacek <polacek@redhat.com>
23929
23930 * libio/libio.h: Don't define _PARAMS.
23931 * locale/programs/config.h: Don't define PARAMS.
23932 * stdlib/strtol_l.c: Likewise.
23933 (__strtol_l): Remove PARAMS from the prototype.
23934
41b81892
UD
239352012-01-31 Ulrich Drepper <drepper@gmail.com>
23936
3b49edc0
UD
23937 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
23938 names. Just use the correct names. Remove unnecessary wrapper
23939 functions.
23940 * malloc/arena.c: Likewise.
23941 * malloc/hooks.c: Likewise.
23942
41b81892
UD
23943 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
23944 ARENA_TEST says not to. Simplify test for creation of a new arena.
23945 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
23946
27a25b6e
UD
239472012-01-30 Ulrich Drepper <drepper@gmail.com>
23948
23949 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
23950 into tail calls.
23951 (update_get_addr): New function.
23952 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
23953 GET_ADDR_MODULE parameter.
23954
c8a89e7d
JM
239552012-01-30 Joseph Myers <joseph@codesourcery.com>
23956
23957 * crypt/cert.c: Remove __STDC__ conditionals.
23958 * crypt/crypt-entry.c: Likewise.
23959 * crypt/crypt_util.c: Likewise.
23960 * libio/filedoalloc.c: Likewise.
23961 * libio/fileops.c: Likewise.
23962 * libio/genops.c: Likewise.
23963 * libio/iofclose.c: Likewise.
23964 * libio/iofdopen.c: Likewise.
23965 * libio/iofopen.c: Likewise.
23966 * libio/iofopen64.c: Likewise.
23967 * libio/iogetdelim.c: Likewise.
23968 * libio/iopopen.c: Likewise.
23969 * libio/obprintf.c: Likewise.
23970 * libio/oldfileops.c: Likewise.
23971 * libio/oldiofclose.c: Likewise.
23972 * libio/oldiofdopen.c: Likewise.
23973 * libio/oldiofopen.c: Likewise.
23974 * libio/oldiopopen.c: Likewise.
23975 * libio/wfiledoalloc.c: Likewise.
23976 * libio/wgenops.c: Likewise.
23977 * locale/programs/xmalloc.c: Likewise.
23978 * misc/syslog.c: Likewise.
23979 * stdio-common/xbug.c: Likewise.
23980 * string/memchr.c: Likewise.
23981 * string/memcmp.c: Likewise.
23982 * string/memrchr.c: Likewise.
23983 * string/rawmemchr.c: Likewise.
23984 * sysdeps/posix/getcwd.c: Likewise.
23985 * time/strftime_l.c: Likewise.
23986
3b100462
JM
239872012-01-30 Joseph Myers <joseph@codesourcery.com>
23988
23989 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
23990 * config.make.in (config-cflags-sse2avx): Define.
23991 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
23992 Fix typo.
23993
607998af
CM
239942012-01-29 Chris Metcalf <cmetcalf@tilera.com>
23995
23996 * scripts/config.guess: Update from upstream config git repository.
23997 * scripts/config.sub: Likewise.
23998
3601428f
CM
239992012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24000
3ac8b282
CM
24001 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24002 (EM_NUM): Update.
24003 (R_TILEPRO_*, R_TILEGX_*): New macros.
24004
e034841e
CM
24005 * scripts/firstversions.awk: Fix bug in version range handling.
24006
540d7568
CM
24007 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24008
3601428f
CM
24009 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24010
463de862
CM
24011 * include/sys/epoll.h: New file.
24012 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24013 libc_hidden_def.
24014
73139a76
UD
240152012-01-28 Ulrich Drepper <drepper@gmail.com>
24016
96bc5b45
UD
24017 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24018 Avoid unnecessary __WORDSIZE == 64 test.
24019 (fmaxf): Use VEX format if possible.
24020 (fmax): Likewise.
24021 (fminf): Likewise.
24022 (fmin): Likewise.
24023
56f6f6a2
UD
24024 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24025 * math/math_private.h: Remove libc_fegetround* and
24026 libc_fesetround*.
24027 * sysdeps/i386/configure.in: Check for -msse2avx.
24028 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24029 also if SSE2AVX is defined.
24030 Remove libc_fegetround* and libc_fesetround*.
24031 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24032 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24033 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24034 of HAS_YMM_USABLE.
24035 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24036 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24037 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24038 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24039 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24040
73139a76
UD
24041 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24042
d73f93a4
AZ
240432012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24044
24045 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24046 size is not set.
24047 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24048
6ee65ed6
UD
240492012-01-27 Ulrich Drepper <drepper@gmail.com>
24050
24051 [BZ #13618]
24052 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24053 relocation.
24054 * Makeconfig (libm): Define.
24055 * elf/Makefile: Add rules to build and run tst-relsort1.
24056 * elf/tst-relsort1.c: New file.
24057 * elf/tst-relsort1mod1.c: New file.
24058 * elf/tst-relsort1mod2.c: New file.
24059
8db21882
JM
240602012-01-27 Joseph Myers <joseph@codesourcery.com>
24061
24062 * math/s_ldexp.c: Remove __STDC__ conditionals.
24063 * math/s_ldexpf.c: Likewise.
24064 * math/s_ldexpl.c: Likewise.
24065 * math/s_nextafter.c: Likewise.
24066 * math/s_nexttowardf.c: Likewise.
24067 * math/s_significand.c: Likewise.
24068 * math/s_significandf.c: Likewise.
24069 * math/s_significandl.c: Likewise.
24070 * math/w_jnl.c: Likewise.
24071 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24072 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24073 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24074 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24075 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24076 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24077 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24078 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24079 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24080 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24081 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24082 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24083 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24084 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24085 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24086 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24087 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24088 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24089 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24090 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24091 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24092 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24093 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24094 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24095 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24096 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24097 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24098 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24099 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24100 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24101 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24102 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24103 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24104 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24105 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24106 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24107 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24108 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24109 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24110 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24111 * sysdeps/ieee754/k_standard.c: Likewise.
24112 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24113 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24114 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24115 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24116 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24117 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24118 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24119 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24120 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24121 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24122 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24123 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24124 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24125 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24126 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24127 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24128 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24129 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24130 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24131 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24132 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24133 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24134 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24135 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24136 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24137 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24138 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24139 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24140 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24141 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24142 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24143 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24144 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24145 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24146 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24147 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24148 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24149 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24150 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24151 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24152 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24153 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24154 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24155 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24156 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24157 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24158 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24159 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24160 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24161 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24162 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24163 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24164 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24165 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24166 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24167 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24168 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24169 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24170 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24171 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24172 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24173 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24174 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24175 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24176 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24177 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24178 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24179 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24180 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24181 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24182 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24183 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24184 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24185 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24186 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24187 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24188 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24189 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24190 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24191 * sysdeps/ieee754/s_matherr.c: Likewise.
24192 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24193 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24194 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24195 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24196
965a54a4
JM
241972012-01-26 Joseph Myers <joseph@codesourcery.com>
24198
24199 * crypt/md5.h: Remove __STDC__ conditionals.
24200 * libio/libioP.h: Likewise.
24201 * locale/programs/config.h: Likewise.
24202 * sysdeps/generic/sysdep.h: Likewise.
24203 * sysdeps/i386/asm-syntax.h: Likewise.
24204 * sysdeps/s390/asm-syntax.h: Likewise.
24205 * sysdeps/unix/sysdep.h: Likewise.
24206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24208
7071ad79
JM
242092012-01-26 Joseph Myers <joseph@codesourcery.com>
24210
24211 * libio/libio.h: Remove __STDC__ conditionals.
24212 * malloc/obstack.h: Likewise.
24213 * math/complex.h: Likewise.
24214 * math/math.h: Likewise.
24215 * sysdeps/generic/_G_config.h: Likewise.
24216 * sysdeps/gnu/_G_config.h: Likewise.
24217 * sysdeps/mach/hurd/_G_config.h: Likewise.
24218 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24219 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24220 * sysdeps/sparc/bits/mathdef.h: Likewise.
24221
afc5ed09
UD
242222012-01-26 Ulrich Drepper <drepper@gmail.com>
24223
24224 [BZ #13583]
24225 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24226 Clean up HAS_* macros.
afc5ed09 24227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24228 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24229 possible.
24230 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24231 HAS_AVX.
24232 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24233 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24234 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24235 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24236 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24237
bdb6de1d
JM
242382012-01-25 Joseph Myers <joseph@codesourcery.com>
24239
24240 * elf/tst-unique3.cc (gets): Remove declaration.
24241 * elf/tst-unique3lib.cc (gets): Likewise.
24242 * elf/tst-unique3lib2.cc (gets): Likewise.
24243 * elf/tst-unique4.cc (gets): Likewise.
24244
b15549e6
UD
242452012-01-24 Ulrich Drepper <drepper@gmail.com>
24246
24247 * include/stdio.h: Add C++ protection. Add gets declarations and
24248 definitions.
24249 * debug/tst-chk1.c: Don't declare gets here.
24250 * stdio-common/tst-gets.c: Likewise.
24251
a037381f
JM
242522012-01-24 Joseph Myers <joseph@codesourcery.com>
24253
24254 * posix/glob: Remove directory.
24255
f1d4aa75
JM
242562012-01-24 Joseph Myers <joseph@codesourcery.com>
24257
24258 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24259
81c0c964
PT
242602012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24261
24262 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24263 of the non-standard EPFNOSUPPORT.
24264
0ea698ae
ST
242652011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24266
24267 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24268 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24269 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24270
d220b117
UD
242712012-01-21 Ulrich Drepper <drepper@gmail.com>
24272
24273 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24274
3e1aa84e
UD
242752012-01-20 Ulrich Drepper <drepper@gmail.com>
24276
24277 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24278 transient errors.
24279 * nscd/grpcache.c (cache_addgr): Likewise.
24280 * nscd/hstcache.c (cache_addhst): Likewise.
24281 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24282 * nscd/pwdcache.c (cache_addpw): Likewise.
24283 * nscd/servicescache.c (cache_addserv): Likewise.
24284
400aa020
UD
242852012-01-16 Ulrich Drepper <drepper@gmail.com>
24286
d77e7869
UD
24287 * malloc/malloc.c: Various cleanups.
24288 * malloc/hooks.c: Likewise.
24289
400aa020
UD
24290 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24291 * stdlib/bug-fmtmsg1.c: New file.
24292
24293 * stdlib/fmtmsg.c (init): Add missing unlock.
24294 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24295
e0a309cf
MP
242962012-01-12 Marek Polacek <polacek@redhat.com>
24297
24298 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24299 and _GNU_SOURCE.
24300
929d11c7
WS
243012012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24302
24303 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24304 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24305 macro to ensure uniqueness of label name.
24306 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24307 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24308
41d0e869
UD
243092012-01-11 Ulrich Drepper <drepper@gmail.com>
24310
0cc5ed3b
UD
24311 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24312
41d0e869
UD
24313 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24314 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24315 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24316 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24317
a47a831a
UD
243182012-01-10 Ulrich Drepper <drepper@gmail.com>
24319
daa891c0
UD
24320 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24321
24322 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24323 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24324 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24325
e58ef0f2
UD
24326 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24327
a47a831a 24328 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
24329 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24330 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 24331 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
24332
24333 * math/bits/math-finite.h: Add ldexp support.
24334
a0bfc9c7
MP
243352012-01-10 Marek Polacek <polacek@redhat.com>
24336
24337 * locale/programs/localedef.h (show_archive_content): Add noreturn
24338 attribute.
24339
d6e97a1d
UD
243402012-01-09 Ulrich Drepper <drepper@gmail.com>
24341
24342 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24343
d5835c26
UD
243442012-01-08 Ulrich Drepper <drepper@gmail.com>
24345
e5f484c6
UD
24346 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24347
d5835c26
UD
24348 * io/Makefile (headers): Add bits/poll2.h.
24349
d1f741e9
WS
243502011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24351
24352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24353 typo #include statement.
24354
ec09c1c4
UD
243552012-01-08 Ulrich Drepper <drepper@gmail.com>
24356
24357 * include/sys/cdefs.h: Define __attribute_alloc_size.
24358 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24359 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24360 * elf/pldd.c: Likewise.
24361 * iconv/iconv_charmap.c: Likewise.
24362 * iconv/iconvconfig.c: Likewise.
24363 * iconv/strtab.c: Likewise.
24364 * locale/programs/locale.c: Likewise.
24365 * locale/programs/localedef.h: Likewise.
24366 * locale/programs/simple-hash.c: Likewise.
24367 * nscd/nscd.h: Likewise.
24368 * nss/makedb.c: Likewise.
24369 * sysdeps/generic/ldconfig.h: Likewise.
24370 * locale/programs/localedef.c: Remove xmalloc prototype.
24371 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24372
20b38e03
PP
243732012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24374
24375 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24376 appropriate.
24377
a0da5fe1
UD
243782012-01-08 Ulrich Drepper <drepper@gmail.com>
24379
1d5a644a 24380 * math/Makefile (tests): Add tst-CMPLX.
669704fd 24381 * math/tst-CMPLX.c: New file.
1d5a644a 24382
8784a6db
UD
24383 * math/complex.h (CMPLXL): Fix typo.
24384
d9a216c0
UD
24385 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24386 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24387 GLIBC_2.16.
24388 * debug/tst-chk1.c: Add poll and ppoll tests.
24389 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24390 * include/sys/poll.h: Add hidden proto for ppoll.
24391 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24392 * sysdeps/mach/hurd/ppoll.c: Likewise.
24393 * io/ppoll.c: Likewise.
24394 * debug/poll_chk.c: New file.
24395 * debug/ppoll_chk.c: New file.
24396 * include/bits/poll2.h: New file.
24397 * io/bits/poll2.h: New file.
24398
ac097f5c
UD
24399 [BZ #1350]
24400 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24401
2119dcfa
UD
24402 * configure.in: static is always set to yes. Remove.
24403 * config.make.in: Don't set build-static.
24404 * Makeconfig: Remove use of build-static.
24405 * dlfcn/Makefile: Likewise.
24406 * elf/Makefile: Likewise.
24407 * math/Makefile: Likewise.
24408 * misc/Makefile: Likewise.
24409 * nptl/Makefile: Likewise.
24410 * sysdeps/mach/hurd/Makefile: Likewise.
24411
121766a9
UD
24412 * configure.in: PWD_P is not used anymore.
24413 * config.make.in: Remove PWD_P entry.
24414
51a1d39c 24415 * configure.in: Remove last remnants of RANLIB.
8720d066 24416 No need to check for signed size_t anymore.
215f4bdc
UD
24417 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24418 and IA-64.
3857022a 24419 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
24420 * aclocal.m4: Likewise.
24421
d3ed7225
UD
24422 * wcsmbs/mbrtoc16.c: Implement using towc function.
24423 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24424 * wcsmbs/wcsmbsload.c: Likewise.
24425 * iconv/gconv_simple.c: Likewise.
24426 * iconv/gconv_int.h: Likewise.
24427 * iconv/gconv_builtin.h: Likewise.
24428 * iconv/iconv_prog.c: Remove CHAR16 handling.
24429
24430 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24431
24432 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24433
a0da5fe1
UD
24434 * configure.in: Remove --with-elf and --enable-bounded options.
24435 Dont set base_machine for ia64. More non-ELF conditions removed.
24436 Remove testing and setting of leading underscore information.
24437 * config.make.in (build-bounded): Set to no.
24438 * config.h.in: Remove NO_UNDERSCORES entry.
24439 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24440 them.
24441 * csu/start.c: Remove !NO_UNDERSCORE code.
24442 * locale/localeinfo.h: Likewise.
24443 * sysdeps/generic/machine-gmon.h: Likewise.
24444 * sysdeps/generic/sysdep.h: Likewise.
24445 * sysdeps/i386/sysdep.h: Likewise.
24446 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24447 * sysdeps/mach/sysdep.h: Likewise.
24448 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24449 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24450 * sysdeps/sh/sysdep.h: Likewise.
24451 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24452 * sysdeps/unix/i386/sysdep.S: Likewise.
24453 * sysdeps/unix/sparc/start.c: Likewise.
24454 * sysdeps/unix/sparc/sysdep.S: Likewise.
24455 * sysdeps/unix/sparc/sysdep.h: Likewise.
24456 * sysdeps/unix/start.c: Likewise.
24457 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24458 * sysdeps/x86_64/sysdep.h: Likewise.
24459
df78418a
UD
244602012-01-07 Ulrich Drepper <drepper@gmail.com>
24461
a784e502
UD
24462 [BZ #13553]
24463 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24464 for non-gcc.
24465 * argp/argp-fmtstream.h: Use const instead __const.
24466 * argp/argp.h: Likewise.
24467 * assert/assert.h: Likewise.
24468 * bits/fenv.h: Likewise.
24469 * bits/sched.h: Likewise.
24470 * bits/sigset.h: Likewise.
24471 * bits/sigthread.h: Likewise.
24472 * catgets/nl_types.h: Likewise.
24473 * conform/data/pthread.h-data: Likewise.
24474 * crypt/crypt-private.h: Likewise.
24475 * crypt/crypt.h: Likewise.
24476 * crypt/crypt_util.c: Likewise.
24477 * ctype/ctype.h: Likewise.
24478 * debug/execinfo.h: Likewise.
24479 * debug/mbsnrtowcs_chk.c: Likewise.
24480 * debug/mbsrtowcs_chk.c: Likewise.
24481 * debug/wcsnrtombs_chk.c: Likewise.
24482 * debug/wcsrtombs_chk.c: Likewise.
24483 * debug/wcstombs_chk.c: Likewise.
24484 * dirent/dirent.h: Likewise.
24485 * dlfcn/dlfcn.h: Likewise.
24486 * elf/neededtest4.c: Likewise.
24487 * grp/grp.h: Likewise.
24488 * gshadow/gshadow.h: Likewise.
24489 * iconv/gconv.h: Likewise.
24490 * iconv/gconv_int.h: Likewise.
24491 * iconv/gconv_simple.c: Likewise.
24492 * iconv/iconv.h: Likewise.
24493 * iconv/loop.c: Likewise.
24494 * iconv/skeleton.c: Likewise.
24495 * include/aio.h: Likewise.
24496 * include/aliases.h: Likewise.
24497 * include/argz.h: Likewise.
24498 * include/arpa/inet.h: Likewise.
24499 * include/assert.h: Likewise.
24500 * include/dirent.h: Likewise.
24501 * include/dlfcn.h: Likewise.
24502 * include/execinfo.h: Likewise.
24503 * include/fcntl.h: Likewise.
24504 * include/fenv.h: Likewise.
24505 * include/glob.h: Likewise.
24506 * include/grp.h: Likewise.
24507 * include/libintl.h: Likewise.
24508 * include/mntent.h: Likewise.
24509 * include/netdb.h: Likewise.
24510 * include/pwd.h: Likewise.
24511 * include/rpc/netdb.h: Likewise.
24512 * include/sched.h: Likewise.
24513 * include/search.h: Likewise.
24514 * include/shadow.h: Likewise.
24515 * include/signal.h: Likewise.
24516 * include/stdio.h: Likewise.
24517 * include/stdlib.h: Likewise.
24518 * include/string.h: Likewise.
24519 * include/sys/socket.h: Likewise.
24520 * include/sys/stat.h: Likewise.
24521 * include/sys/statfs.h: Likewise.
24522 * include/sys/statvfs.h: Likewise.
24523 * include/sys/syslog.h: Likewise.
24524 * include/sys/time.h: Likewise.
24525 * include/sys/uio.h: Likewise.
24526 * include/time.h: Likewise.
24527 * include/unistd.h: Likewise.
24528 * include/utmp.h: Likewise.
24529 * include/wchar.h: Likewise.
24530 * include/wctype.h: Likewise.
24531 * inet/aliases.h: Likewise.
24532 * inet/arpa/inet.h: Likewise.
24533 * inet/netinet/ether.h: Likewise.
24534 * inet/netinet/in.h: Likewise.
24535 * intl/libintl.h: Likewise.
24536 * io/bits/fcntl2.h: Likewise.
24537 * io/fcntl.h: Likewise.
24538 * io/ftw.h: Likewise.
24539 * io/sys/poll.h: Likewise.
24540 * io/sys/stat.h: Likewise.
24541 * io/sys/statfs.h: Likewise.
24542 * io/sys/statvfs.h: Likewise.
24543 * io/utime.h: Likewise.
24544 * libio/bits/stdio.h: Likewise.
24545 * libio/bits/stdio2.h: Likewise.
24546 * libio/libio.h: Likewise.
24547 * libio/libioP.h: Likewise.
24548 * libio/stdio.h: Likewise.
24549 * locale/lc-ctype.c: Likewise.
24550 * locale/locale.h: Likewise.
24551 * login/utmp.h: Likewise.
24552 * malloc/arena.c: Likewise.
24553 * malloc/malloc.c: Likewise.
24554 * malloc/malloc.h: Likewise.
24555 * malloc/mcheck.c: Likewise.
24556 * malloc/mtrace.c: Likewise.
24557 * math/bits/mathcalls.h: Likewise.
24558 * math/fenv.h: Likewise.
24559 * math/math_private.h: Likewise.
24560 * misc/bits/error.h: Likewise.
24561 * misc/bits/syslog.h: Likewise.
24562 * misc/err.h: Likewise.
24563 * misc/error.h: Likewise.
24564 * misc/fstab.h: Likewise.
24565 * misc/mntent.h: Likewise.
24566 * misc/regexp.h: Likewise.
24567 * misc/search.h: Likewise.
24568 * misc/sgtty.h: Likewise.
24569 * misc/sys/mman.h: Likewise.
24570 * misc/sys/syslog.h: Likewise.
24571 * misc/sys/uio.h: Likewise.
24572 * misc/sys/xattr.h: Likewise.
24573 * misc/ttyent.h: Likewise.
24574 * nis/rpcsvc/ypclnt.h: Likewise.
24575 * nss/nss.h: Likewise.
24576 * posix/bits/unistd.h: Likewise.
24577 * posix/fnmatch.h: Likewise.
24578 * posix/glob.h: Likewise.
24579 * posix/sched.h: Likewise.
24580 * posix/spawn.h: Likewise.
24581 * posix/sys/wait.h: Likewise.
24582 * posix/unistd.h: Likewise.
24583 * posix/wordexp.h: Likewise.
24584 * pwd/pwd.h: Likewise.
24585 * resolv/netdb.h: Likewise.
24586 * resource/sys/resource.h: Likewise.
24587 * rt/aio.h: Likewise.
24588 * rt/bits/mqueue2.h: Likewise.
24589 * rt/mqueue.h: Likewise.
24590 * shadow/shadow.h: Likewise.
24591 * signal/signal.h: Likewise.
24592 * socket/send.c: Likewise.
24593 * socket/sendto.c: Likewise.
24594 * socket/sys/socket.h: Likewise.
24595 * stdio-common/printf.h: Likewise.
24596 * stdlib/bits/stdlib.h: Likewise.
24597 * stdlib/fmtmsg.h: Likewise.
24598 * stdlib/monetary.h: Likewise.
24599 * stdlib/stdlib.h: Likewise.
24600 * stdlib/ucontext.h: Likewise.
24601 * streams/stropts.h: Likewise.
24602 * string/argz.h: Likewise.
24603 * string/bits/string2.h: Likewise.
24604 * string/string.h: Likewise.
24605 * string/strings.h: Likewise.
24606 * sunrpc/rpc/auth.h: Likewise.
24607 * sunrpc/rpc/auth_des.h: Likewise.
24608 * sunrpc/rpc/clnt.h: Likewise.
24609 * sunrpc/rpc/netdb.h: Likewise.
24610 * sunrpc/rpc/pmap_clnt.h: Likewise.
24611 * sunrpc/rpc/xdr.h: Likewise.
24612 * sysdeps/generic/inttypes.h: Likewise.
24613 * sysdeps/generic/net/if.h: Likewise.
24614 * sysdeps/generic/sys/swap.h: Likewise.
24615 * sysdeps/gnu/net/if.h: Likewise.
24616 * sysdeps/gnu/utmpx.h: Likewise.
24617 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24618 * sysdeps/i386/i486/bits/string.h: Likewise.
24619 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24620 * sysdeps/s390/bits/string.h: Likewise.
24621 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24622 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24623 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24624 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24625 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24626 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24627 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24628 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24629 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24630 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24631 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24632 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24633 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24634 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24635 * sysdeps/unix/sysv/linux/readv.c: Likewise.
24636 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24637 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24638 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24639 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24640 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24641 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24642 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24643 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24644 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24645 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24646 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24647 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24648 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24649 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24650 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24651 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24652 * sysvipc/sys/ipc.h: Likewise.
24653 * sysvipc/sys/msg.h: Likewise.
24654 * sysvipc/sys/sem.h: Likewise.
24655 * sysvipc/sys/shm.h: Likewise.
24656 * termios/termios.h: Likewise.
24657 * time/sys/time.h: Likewise.
24658 * time/time.h: Likewise.
24659 * wcsmbs/bits/wchar2.h: Likewise.
24660 * wcsmbs/uchar.h: Likewise.
24661 * wcsmbs/wchar.h: Likewise.
24662 * wctype/wctype.h: Likewise.
24663
0269750c
UD
24664 [BZ #13551]
24665 * Makeconfig: Remove all but ELF support including AIX support.
24666 * Makerules: Likewise.
24667 * config.h.in: Likewise.
24668 * config.make.in: Likewise.
24669 * configure: Likewise.
24670 * configure.in: Likewise.
24671 * csu/Makefile: Likewise.
24672 * csu/version.c: Likewise.
24673 * debug/Makefile: Likewise.
24674 * dlfcn/Makefile: Likewise.
24675 * elf/Makefile: Likewise.
24676 * extra-lib.mk: Likewise.
24677 * iconv/Makefile: Likewise.
24678 * include/libc-symbols.h: Likewise.
24679 * include/shlib-compat.h: Likewise.
24680 * resolv/Makefile: Likewise.
24681 * resolv/res_libc.c: Likewise.
24682 * rt/Makefile: Likewise.
24683 * sysdeps/i386/asm-syntax.h: Likewise.
24684 * sysdeps/i386/sysdep.h: Likewise.
24685 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24686 * sysdeps/mach/sysdep.h: Likewise.
24687 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24688 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24689 * sysdeps/s390/asm-syntax.h: Likewise.
24690 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24691 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24692 * sysdeps/sh/sysdep.h: Likewise.
24693 * sysdeps/unix/sparc/sysdep.h: Likewise.
24694 * sysdeps/wordsize-32/divdi3.c: Likewise.
24695 * sysdeps/x86_64/sysdep.h: Likewise.
24696
00bbd29b
UD
24697 * argp/Versions: Remove _argp_unlock_xxx.
24698
24699 [BZ #13559]
24700 * abilist/ld.abilist: Update. Adjust for removal of tls option.
24701 * abilist/libBrokenLocale.abilist: Likewise.
24702 * abilist/libanl.abilist: Likewise.
24703 * abilist/libc.abilist: Likewise.
24704 * abilist/libcrypt.abilist: Likewise.
24705 * abilist/libdl.abilist: Likewise.
24706 * abilist/libm.abilist: Likewise.
24707 * abilist/libnsl.abilist: Likewise.
24708 * abilist/libpthread.abilist: Likewise.
24709 * abilist/libresolv.abilist: Likewise.
24710 * abilist/librt.abilist: Likewise.
24711 * abilist/libthread_db.abilist: Likewise.
24712 * abilist/libutil.abilist: Likewise.
24713 * abilist/libnss_db.abilist: New file.
24714
24715 * scripts/abilist.awk: Add support for indirect functions.
24716
a2693a0e
UD
24717 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24718
3f05895f
UD
24719 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24720
ecb6fb48
UD
24721 * shlib-versions: Remove entries for ports architectures.
24722
664f8cb9
UD
24723 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
24724 files in ports.
24725 * elf/stackguard-macros.h: Remove support for IA-64.
24726 * elf/tst-auditmod1.c: Likewise.
24727 * sysdeps/generic/ldsodefs.h: Likewise.
24728
7ae81d88
UD
24729 * sysdeps/unix/sysv/linux/configure.in: Ports should define
24730 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24731 configure files.
24732
bdeba135
UD
24733 [BZ #13552]
24734 * configure.in: Remove --enable-omitfp support.
24735 * FAQ.in: Adjust.
24736 * config.make.in: Likewise.
24737 * Makeconfig: Likewise.
24738 * manual/install.texi: Likewise.
24739
d75a0a62
UD
24740 In case anyone cares, the IA-64 architecture could move to ports.
24741 * sysdeps/ia64/*: Removed.
24742 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 24743 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 24744
dcc9756b
UD
24745 [BZ #13555]
24746 * configure.in: Remove entries for unsupported architectures.
24747
d3761ebc 24748 [BZ #13533]
9954432e
UD
24749 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24750 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
24751 routines.
24752 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24753 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24754 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
24755 fall back to using wcrtomb.
24756 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24757 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
24758 renaming.
24759 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24760 * wcsmbs/tst-c16c32-1.c: New file.
24761
24762 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24763 local variable.
24764
c3a87236
UD
24765 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24766
28926a1b
UD
24767 * elf/tst-unique3.cc: Add explicit declaration of gets.
24768 * elf/tst-unique3lib.cc: Likewise.
24769 * elf/tst-unique3lib2.cc: Likewise.
24770 * elf/tst-unique4.cc: Likewise.
24771
df78418a
UD
24772 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24773
8ecd6b2a
JM
247742012-01-06 Joseph Myers <joseph@codesourcery.com>
24775
24776 [BZ #13566]
24777 * assert/assert.h (static_assert): Don't define for C++.
24778 * libio/stdio.h (gets): Do declare for C++ <= C++11.
24779 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24780
9f115170
UD
247812012-01-03 Ulrich Drepper <drepper@gmail.com>
24782
5e0d0300
UD
24783 * iconv/loop.c (single loop): Fix assertion in storing of
24784 remaining bytes.
24785
9f115170
UD
24786 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24787
81fb02b0
UD
247882012-01-01 Ulrich Drepper <drepper@gmail.com>
24789
24790 * posix/getconf.c: Update copyright year.
24791 * nss/getent.c: Likewise.
a316c1f6 24792 * nss/makedb.c: Likewise.
81fb02b0
UD
24793 * iconv/iconvconfig.c: Likewise.
24794 * iconv/iconv_prog.c: Likewise.
24795 * elf/ldconfig.c: Likewise.
a316c1f6
UD
24796 * elf/pldd.c: Likewise.
24797 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
24798 * catgets/gencat.c: Likewise.
24799 * csu/version.c: Likewise.
24800 * elf/ldd.bash.in: Likewise.
24801 * elf/sprof.c (print_version): Likewise.
24802 * locale/programs/locale.c: Likewise.
24803 * locale/programs/localedef.c: Likewise.
a316c1f6 24804 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
24805 * nscd/nscd.c (print_version): Likewise.
24806 * debug/xtrace.sh: Likewise.
24807 * malloc/memusage.sh: Likewise.
24808 * malloc/mtrace.pl: Likewise.
24809 * debug/catchsegv.sh: Likewise.
24810
2ba92745
JJ
248112011-12-30 Jakub Jelinek <jakub@redhat.com>
24812
24813 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24814 pure attribute.
24815
dadebdae
UD
248162011-12-24 Ulrich Drepper <drepper@gmail.com>
24817
d3761ebc 24818 [BZ #13533]
db6af3eb
UD
24819 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24820 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24821 transformations.
24822 * iconv/gconv_int.h: Likewise.
24823 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24824 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24825 from libc for GLIBC_2.16.
24826 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24827 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
24828 * wcsmbs/uchar.h: Really define mbstate_t.
24829 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
24830 * wcsmbs/c16rtomb.c: New file.
24831 * wcsmbs/mbrtoc16.c: New file.
24832 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
24833 for C/POSIX locale.
24834 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
24835 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
24836
dadebdae
UD
24837 * wcsmbs/wchar.h: Add missing __restrict.
24838
67371b56
UD
248392011-12-23 Ulrich Drepper <drepper@gmail.com>
24840
74033a25
UD
24841 [BZ #13532]
24842 * time/Makefile (routines): Add timespec_get.
24843 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
24844 * time/time.h: Define TIME_UTC and declare timespec_get. Define
24845 timespec for ISO C11.
24846 * time/timespec_get.c: New file.
24847 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
24848 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
24849
380d7e87
UD
24850 [BZ #13531]
24851 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
24852 * stdlib/stdlib.h: Declare aligned_alloc.
24853 * Versions.def: Add GLIBC_2.16 for libc.
24854 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
24855
4e9e7a35
UD
24856 [BZ 13527]
24857 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
24858 ISO C11.
24859
380d7e87 24860 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
24861 code.
24862
03a71829
UD
24863 [BZ #13528]
24864 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
24865
839e283e
UD
24866 [BZ #13529]
24867 * assert/assert.h (static_assert): Define.
24868
ce5294e2 24869 * version.h: Update for 2.16 development version.
90fa7312 24870
8d44e150 24871 [BZ #13526]
d7809905
UD
24872 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
24873 _ISOC11_SOURCE.
24874
c0da14cd
UD
24875 * version.h (RELEASE): Bump for 2.15 release.
24876 * include/features.h (__GLIBC_MINOR__): Bump to 15.
24877
530a3249
MP
24878 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
24879 Patch by Marek Polacek <mpolacek@redhat.com>.
24880
67371b56
UD
24881 * bits/byteswap.h: Protect long long constants with __extension__.
24882 * sysdeps/i386/bits/byteswap.h: Likewise.
24883 * sysdeps/ia64/bits/byteswap.h: Likewise.
24884 * sysdeps/s390/bits/byteswap.h: Likewise.
24885 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24886
15db4de1
LD
248872011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24888
24889 [BZ #13540]
bbe315ea
LD
24890 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
24891 destination buffer.
15db4de1
LD
24892 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24893
2b2596b1
MP
248942011-12-23 Marek Polacek <polacek@redhat.com>
24895
24896 * elf/dl-addr.c (determine_info): Add inline keyword.
24897 * elf/tst-auditmod4b.c (check_avx): Likewise.
24898 * elf/tst-auditmod6b.c (check_avx): Likewise.
24899 * elf/tst-auditmod6c.c (check_avx): Likewise.
24900 * elf/tst-auditmod7b.c (check_avx): Likewise.
24901
70c6c246
UD
249022011-12-23 Ulrich Drepper <drepper@gmail.com>
24903
24904 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
24905 !__SSE_MATH__.
24906
c044cf14
LD
249072011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24908
15db4de1 24909 [BZ #13540]
c044cf14
LD
24910 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
24911 processing for last bytes.
24912
6b13d9d9
BH
249132011-08-06 Bruno Haible <bruno@clisp.org>
24914
d455f537
BH
24915 [BZ #13061]
24916 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
24917 U+0385, not to U+1FEE.
24918
6b13d9d9
BH
24919 [BZ #13062]
24920 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
24921 entry for U+00A5 U+0301.
24922
db910efd
UD
249232011-12-22 Ulrich Drepper <drepper@gmail.com>
24924
27deeafc
UD
24925 [BZ #13166]
24926 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
24927 buffer for the output is too small.
24928
aed9d171
UD
24929 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
24930 optimization.
24931
db910efd
UD
24932 [BZ #13185]
24933 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
24934 SSE flags if possible.
24935
2bd779ae
LD
249362011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24937
e7f9dac3 24938 [BZ #13540]
2bd779ae
LD
24939 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
24940 processing for last bytes.
24941
154bfc16
JM
249422011-12-22 Joseph Myers <joseph@codesourcery.com>
24943
24944 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
24945 (syscall-list-default-options, syscall-list-default-condition)
24946 (syscall-list-includes): Define.
24947 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
24948 list of ABIs and options and #if conditions for each ABI. Do not
24949 handle common syscalls between ABIs specially.
24950 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
24951 Remove.
24952 (syscall-list-variants, syscall-list-32bit-options)
24953 (syscall-list-32bit-condition, syscall-list-64bit-options)
24954 (syscall-list-64bit-condition): Define.
24955 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
24956 (syscall-list-variants, syscall-list-32bit-options)
24957 (syscall-list-32bit-condition, syscall-list-64bit-options)
24958 (syscall-list-64bit-condition): Define.
24959 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
24960 Remove.
24961 (syscall-list-variants, syscall-list-32bit-options)
24962 (syscall-list-32bit-condition, syscall-list-64bit-options)
24963 (syscall-list-64bit-condition): Define.
24964 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
24965 Remove.
24966 (syscall-list-variants, syscall-list-32bit-options)
24967 (syscall-list-32bit-condition, syscall-list-64bit-options)
24968 (syscall-list-64bit-condition): Define.
24969
21eaf3a5
UD
249702011-12-22 Ulrich Drepper <drepper@gmail.com>
24971
16c6f992
UD
24972 * locale/iso-639.def: Add brx entry.
24973
41043168
UD
24974 [BZ #13328]
24975 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
24976 Proposed by Mariusz_Cukr <marcukr@op.pl>.
24977
21eaf3a5
UD
24978 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
24979 __feraiseexcept_renamed.
24980
e3a851a2
UD
249812011-12-21 Ulrich Drepper <drepper@gmail.com>
24982
4920765e
UD
24983 [BZ #13538]
24984 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
24985 EPOLLET with unsigned values.
24986 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24987 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24988
e3a851a2
UD
24989 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
24990 to large cancellation.
24991 * math/s_cacoshf.c: Likewise.
24992 * math/s_cacoshl.c: Likewise.
24993
b27e24b8
RK
249942011-11-18 Richard B. Kreckel <kreckel@ginac.de>
24995
24996 [BZ #13305]
aebefeee 24997 [BZ #12786]
b27e24b8
RK
24998 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
24999 * math/s_cacoshf.c: Likewise.
25000 * math/s_cacoshl.c: Likewise.
25001
ee190f67
UD
250022011-12-21 Ulrich Drepper <drepper@gmail.com>
25003
25004 [BZ #13439]
25005 * iconv/gconv.h: Define __GCONV_SWAP.
25006 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25007 * iconvdata/utf-16.c: Likewise.
25008 * iconvdata/utf-32.c: Likewise.
25009
707f25df
AS
250102011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25011
25012 [BZ #13524]
25013 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25014 numerator after shifting it by one limb.
25015
d2daaa1e
RÁE
250162011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25017
25018 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25019 under [__USE_EXTERN_INLINES].
25020
a4647e72
UD
250212011-12-17 Ulrich Drepper <drepper@gmail.com>
25022
25023 [BZ #13446]
25024 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25025
f0b264f1
AZ
250262011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25027
25028 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25029 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25030 optimized code.
25031 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25032 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25033 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25034 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25035 for strncasecmp/strncasecmp_l compilation.
25036 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25037 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25038
8ef4f244
MP
250392011-12-08 Marek Polacek <mpolacek@redhat.com>
25040
25041 [BZ #13484]
25042 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25043 of __asm__.
25044
97ac2654
UD
250452011-12-17 Ulrich Drepper <drepper@gmail.com>
25046
25047 [BZ #13506]
25048 * time/tzfile.c (__tzfile_read): Check values from file header.
25049
91d2a845
WS
250502011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25051
25052 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25053 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25054 * powerpc/powerpc32/dl-start.S: Likewise.
25055 * powerpc/powerpc32/elf/start.S: Likewise.
25056 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25057 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25058 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25059 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25060 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25061 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25062 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25063 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25064 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25065 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25066 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25067 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25068 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25069 * powerpc/powerpc32/memset.S: Likewise.
25070 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25071 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25072 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25073 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25074 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25075 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25076 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25077 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25078 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25079 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25080 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25081 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25082 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25083
a1267ba1
AZ
250842011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25085
25086 * math/libm-test.inc: Added more nearbyint tests.
25087 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25088 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25089 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25090 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25091
ad8ac1bd
RL
250922011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25093
25094 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25095 FD_CLOEXEC.
25096
1d3e4b61
UD
250972011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25098
25099 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25100 Add wcscpy-ssse3 wcscpy-c.
25101 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25102 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25103 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25104 * sysdeps/x86_64/wcschr.S: New file.
25105 * sysdeps/x86_64/wcsrchr.S: New file.
25106 * string/test-strcmp.c: Remove checking of wcscmp function for
25107 wrong alignments.
25108 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25109 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25110 wcsrchr-sse2 wcsrchr-c.
25111 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25112 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25113 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25114 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25115 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25116 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25117 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25118 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25119 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25120 * wcsmbc/wcschr.c (WCSCHR): New macro.
25121
5b330a2d
UD
251222011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25123
25124 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25125 * wcsmbs/test-wcsrchr.c: New file.
25126 * string/test-strrchr.c: Add wcsrchr support.
25127 (WIDE): New macro.
25128 * wcsmbs/test-wcscpy.c: New file.
25129 * string/test-strcpy.c: Add wcscpy support.
25130 (WIDE): New macro.
26428b7c 25131
f039c043
UD
251322011-12-10 Ulrich Drepper <drepper@gmail.com>
25133
25134 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25135 the inner loop.
25136
850fb039
AS
251372011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25138
25139 [BZ #13472]
25140 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25141
4efbd5cb
UD
251422011-12-04 Ulrich Drepper <drepper@gmail.com>
25143
52ff5dd0 25144 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25145 Minor optimizations.
52ff5dd0 25146
4efbd5cb
UD
25147 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25148 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25149 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25150
8a426e12
UD
251512011-12-03 Ulrich Drepper <drepper@gmail.com>
25152
aff2453d
UD
25153 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25154 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25155 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25156 for gcc to avoid warnings.
25157 * inet/Makefile (tests): Add tst-checks.
25158 * inet/tst-checks.c: New file.
25159
25160 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25161 warning.
25162
25163 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25164 __wmemcmp_sse2.
25165
25166 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25167 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25168
8a426e12
UD
25169 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25170
9bea3473
UD
251712011-12-02 Ulrich Drepper <drepper@gmail.com>
25172
3a965496
UD
25173 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25174 problem.
25175
9bea3473
UD
25176 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25177
f101631b
UD
251782011-11-29 Joseph Myers <joseph@codesourcery.com>
25179
25180 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25181 conditional on GCC version.
25182 (__arch_compare_and_exchange_val_8_acq)
25183 (__arch_compare_and_exchange_val_16_acq)
25184 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25185 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25186 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25187
a98275aa
UD
251882011-12-02 Joseph Myers <joseph@codesourcery.com>
25189
25190 * sysdeps/sh/backtrace.c: New file.
25191
d4cc29a2
AS
251922011-12-02 Andreas Schwab <schwab@redhat.com>
25193
25194 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25195 parenthesis.
25196
6257af2d
AS
251972011-12-01 Andreas Schwab <schwab@redhat.com>
25198
25199 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25200 falling back to utime.
25201
b5f44c1a
AS
252022011-11-30 Andreas Schwab <schwab@redhat.com>
25203
25204 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25205 expectations for float.
25206
f3a6cc0a
AS
252072011-11-29 Andreas Schwab <schwab@redhat.com>
25208
25209 * locale/weight.h (findidx): Add parameter len.
25210 * locale/weightwc.h (findidx): Likewise.
25211 * posix/fnmatch_loop.c (FCT): Adjust caller.
25212 * posix/regcomp.c (build_equiv_class): Likewise.
25213 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25214 * posix/regexec.c (check_node_accept_bytes): Likewise.
25215 * string/strcoll_l.c (STRCOLL): Likewise.
25216 * string/strxfrm_l.c (STRXFRM): Likewise.
25217
9d65ea3a
UD
252182011-11-17 Ulrich Drepper <drepper@gmail.com>
25219
25220 * Makefile.in: Remove CVSOPT handling.
25221 * configure.in: Remove use of AC_REVISION.
25222 * iconvdata/Makefile (distribute): No need to filter out CVS.
25223 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25224 handling.
25225
5583a086
AS
252262011-11-16 Andreas Schwab <schwab@redhat.com>
25227
25228 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25229 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25230 [USE_AS_STRNCASECMP_L]: Likewise.
25231 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25232 NO_TLS_DIRECT_SEG_REFS.
25233 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25234 Fix argument offsets for non-PIC.
25235 [USE_AS_STRNCASECMP_L]: Likewise.
25236 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25237 NO_TLS_DIRECT_SEG_REFS.
25238
d62a8200
UD
252392011-11-15 Ulrich Drepper <drepper@gmail.com>
25240
9d65ea3a 25241 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25242 O_CLOEXEC.
25243 * locale/loadlocale.c (_nl_load_locale): Likewise.
25244
09f93bd3
AS
252452011-11-15 Andreas Schwab <schwab@redhat.com>
25246
446514f9
AS
25247 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25248 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25249 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25250 (SYSCALL_GETTIME): Set errno on error.
25251
09f93bd3
AS
25252 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25253 count references to noai6ai_cached.
25254
312be3f9
UD
252552011-11-15 Ulrich Drepper <drepper@gmail.com>
25256
25257 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25258
25259 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25260 FD_CLOEXEC for /proc/self/maps.
25261
25262 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25263 FD_CLOEXEC for /proc/meminfo.
25264
25265 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25266 gai.conf.
25267
25268 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25269 FD_CLOEXEC for given file.
25270
25271 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25272
25273 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25274 FD_CLOEXEC for /etc/hosts.
25275 (_gethtent): Likewise.
25276
25277 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25278
25279 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25280 cancellation and set FD_CLOEXEC for /etc/netgroup.
25281
25282 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25283 reading /etc/publickey.
25284
25285 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25286 allow cancellation when reading /etc/group.
25287
25288 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25289 cancellation.
25290 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25291
25292 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25293 when using data file.
25294
25295 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25296
25297 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25298 (write_nis_obj): Use "c" and "e" in fopen.
25299
25300 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25301
25302 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25303
25304 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25305
25306 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25307
25308 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25309 locale.alias.
25310
25311 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25312
25313 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25314
25315 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25316
25317 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25318 file parsing and set FD_CLOEXEC.
25319
82af0fa8
UD
253202011-11-14 Ulrich Drepper <drepper@gmail.com>
25321
25322 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25323
a5fb313c
AS
253242011-11-14 Andreas Schwab <schwab@redhat.com>
25325
25326 * malloc/arena.c (arena_get2): Don't call reused_arena when
25327 _int_new_arena failed.
25328
6abf3465
UD
253292011-11-14 Ulrich Drepper <drepper@gmail.com>
25330
25331 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25332 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25333 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25334 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25335 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25336 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25337 to compile strcasecmp and strncasecmp.
25338 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25339 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25340
25341 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25342
76e3966e
UD
253432011-11-13 Ulrich Drepper <drepper@gmail.com>
25344
25345 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25346 locale-defines.sym to gen-as-const-headers.
25347 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25348 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25349 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25350 to compile strcasecmp and strncasecmp.
25351 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25352 strcasecmp_l and strncasecmp_l.
25353 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25354 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25355 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25356 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25357 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25358 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25359 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25360 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25361 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25362 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25363 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25364
ab26144e
UD
253652011-11-12 Ulrich Drepper <drepper@gmail.com>
25366
7edb22ef
UD
25367 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25368 result of SYSDEP_GETTIME_CPU to retval.
25369 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25370 parameter list to macro. Remove trailing semicolon. Adjust users.
25371
9694fc44
UD
25372 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25373 variable.
25374
8ad89ef8
UD
25375 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25376 mantissa words.
25377 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25378
0c822ef9
UD
25379 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25380 from unused variable.
25381
874e0564
UD
25382 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25383 DWARF definitions.
25384 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25385 for assembling.
25386
3a2edc79
UD
25387 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25388 over namespaces.
25389
f3c2577f
UD
25390 * sunrpc/rpc_prot.c (rejected): Fix case value.
25391
294ce126
UD
25392 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25393 unsigned long long int to avoid warnings in shift.
25394
5e2b63c6
UD
25395 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25396 of use of trans.
25397 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25398 variable tmp.
25399
e7f4b08e
UD
25400 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25401 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25402 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25403
ab26144e
UD
25404 * nis/nis_table.c (nis_list): Use variable of correct type for
25405 result of __follow_path call.
25406
8a6d5255
AZ
254072011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25408
25409 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25410 of math functions ceil, trunc, floor, round, and sqrt, when
25411 avaliable on the platform.
25412 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25413 name clash.
25414 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25415 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25416 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25417
aaddc98c
MP
254182011-10-30 Marek Polacek <mpolacek@redhat.com>
25419
25420 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25421 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25422
95b7042b
RM
254232011-11-11 Roland McGrath <roland@hack.frob.com>
25424
25425 * include/unistd.h: Fix __readlink return type.
25426 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25427
57769839
UD
254282011-11-11 Ulrich Drepper <drepper@gmail.com>
25429
25430 * stdlib/ucontext.h: Undo last change for makecontext.
25431
edc5984d
AS
254322011-11-11 Andreas Schwab <schwab@redhat.com>
25433
98591e58
AS
25434 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25435
edc5984d
AS
25436 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25437 * setjmp/setjmp.h: Mark functions as non-leaf.
25438 * setjmp/bits/setjmp2.h: Likewise.
25439 * stdlib/ucontext.h: Likewise.
25440
77cdc054
AS
254412011-11-10 Andreas Schwab <schwab@redhat.com>
25442
25443 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25444 (reused_arena): Don't check arena limit.
25445 (arena_get2): Atomically check arena limit.
25446
fe72eebd
UD
254472011-11-08 Ulrich Drepper <drepper@gmail.com>
25448
5f078c32
UD
25449 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25450 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25451
fe72eebd
UD
25452 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25453 instructions.
25454
ae1bc2fa
AS
254552011-11-07 Andreas Schwab <schwab@redhat.com>
25456
7583a88d
AS
25457 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25458 handler when locking.
25459
ae1bc2fa
AS
25460 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25461 Fix size of allocated buffer.
25462
10fb0bfa
AS
254632011-11-04 Andreas Schwab <schwab@redhat.com>
25464
998832a4
AS
25465 [BZ #10103]
25466 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25467 declarations for long double functions.
25468 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25469
10fb0bfa
AS
25470 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25471
3d7ba52b
AS
254722011-11-03 Andreas Schwab <schwab@redhat.com>
25473
a9ae54a1
AS
25474 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25475 installed.
25476
3d7ba52b
AS
25477 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25478 is disabled.
25479
bc8db248
ST
254802011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25481
25482 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25483
45b96dd6
AS
254842011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25485
647776f6
AS
25486 * include/alloca.h (stackinfo_alloca_round): Define.
25487 (extend_alloca): Use it.
25488 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25489 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25490 here.
25491
d91a8b93
AS
25492 * scripts/check-local-headers.sh: Ignore libaudit.h.
25493
45b96dd6
AS
25494 * nscd/Makefile (extra-objs): Make recursively expanded.
25495
432d41ce
UD
254962011-11-01 Ulrich Drepper <drepper@gmail.com>
25497
34372fc6
UD
25498 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25499 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25500
fadb59f8
UD
25501 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25502 * posix/tst-rfc3484-2.c: Likewise.
25503 * posix/tst-rfc3484-3.c: Likewise.
25504
78239589
UD
25505 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25506 process_vm_writev.
25507 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25508 process_vm_writev.
25509 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25510 process_vm_writev from libc using GLIBC_2.15 version.
25511
432d41ce
UD
25512 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25513
02f9c6cf
PP
255142011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25515
25516 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25517 stack usage.
25518
3a2c0242
UD
255192011-10-31 Ulrich Drepper <drepper@gmail.com>
25520
f4ec4833
UD
25521 [BZ #13367]
25522 * nss/getent.c (initgroups_keys): Show error message in case no group
25523 names are given.
25524
3a2c0242
UD
25525 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25526 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25527 __bump_nl_timestamp.
25528 * nscd/connections (nscd_init): When host database is served open
25529 netlink socket and request notification about configuration changes.
25530 (main_loop_poll): Track netlink file descriptor and bump timestamp
25531 in case data becomes available.
25532 (main_loop_epoll): Likewise.
25533 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25534 (database_pers_head): Add extra_data fileds.
25535 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25536 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25537 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25538 Adjust caller.
25539 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25540 in6ai data, call __free_in6ai.
25541 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25542 Add -DHAVE_NETLINK.
25543 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25544 interface information. Reuse previous data if netlink timestamp
25545 is not changed.
25546 (__bump_nl_timestamp): New function.
25547 (__free_in6ai): New function.
25548
636064eb
UD
255492011-10-30 Ulrich Drepper <drepper@gmail.com>
25550
25551 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25552 close_not_cancel_no_status here.
25553 (__check_pf): Reorganize code a bit to not call close twice if OOM.
25554
9beb2334
UD
255552011-10-29 Ulrich Drepper <drepper@gmail.com>
25556
6ef76f3b
UD
25557 [BZ #13276]
25558 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25559 return value.
25560
0ffc4f3e 25561 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
25562 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25563 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25564
cb95113e
UD
255652011-07-03 Andreas Jaeger <aj@suse.de>
25566
25567 [BZ #10709]
25568 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25569 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25570 * math/libm-test.inc (sin_test): Add test case.
25571
a1b560ff
UD
255722011-10-29 Ulrich Drepper <drepper@gmail.com>
25573
c9aaface
UD
25574 [BZ #13337]
25575 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25576 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25577
d272e7f1
UD
25578 * elf/chroot_canon.c (chroot_canon): Cleanups.
25579
1bc33071
UD
25580 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25581
1760874d
TJ
25582 [BZ #13335]
25583 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25584 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25585
51d91b18
UD
25586 * string/test-strchr.c: Make usable for strchrnul testing.
25587 * string/test-strchrnul.c: New file.
25588 * string/Makefile (strop-tests): Add strchrnul.
25589
a1b560ff 25590 * po/it.po: Update from translation team.
b611fb81 25591 * po/es.po: Likewise.
a1b560ff 25592
a5b81e1f
UD
255932011-10-28 Ulrich Drepper <drepper@gmail.com>
25594
fd52bc6d
UD
25595 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25596 the three constants needed as parameters. Drop the others.
25597 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25598 __m128i_strloadu_tolower.
52e4b9eb
UD
25599 Create and initialize variable zero and use it in all the places
25600 where _mm_setzero_si128 was used.
fd52bc6d 25601
a5b81e1f
UD
25602 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25603 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25604 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25605 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25606 anymore.
25607 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25608 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25609 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25610 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25611 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25612 __mpranred, __mptan.
25613 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25614 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25615 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25616 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25617 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25618 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25619 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25620 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25621 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25622
b4343346
AS
256232011-10-28 Andreas Schwab <schwab@redhat.com>
25624
0c92d8a8
AS
25625 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25626 redefine if SHARED.
25627 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25628
b4343346
AS
25629 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25630 wide char related routines to wcsmbs subdir.
25631
3871f58f
AS
256322011-10-27 Andreas Schwab <schwab@redhat.com>
25633
25634 [BZ #13344]
25635 * misc/sys/cdefs.h (__THROWNL): Define.
25636 * posix/unistd.h: Use __THREADNL instead of __THREAD
25637 for memory synchronization functions.
25638
94d44d9f
RM
256392011-10-26 Roland McGrath <roland@hack.frob.com>
25640
21b64b15 25641 [BZ #13349]
94d44d9f
RM
25642 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25643 doesn't exist.
25644 * manual/stdio.texi (Obstack Streams): Node removed.
25645
f6ce9294
AS
256462011-10-26 Andreas Schwab <schwab@redhat.com>
25647
80479147
AS
25648 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25649 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25650 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25651
f6ce9294
AS
25652 * math/math_private.h (math_force_eval): Allow non-addressable
25653 arguments.
25654 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25655
618280a1
UD
256562011-10-25 Ulrich Drepper <drepper@gmail.com>
25657
e0016b11
UD
25658 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25659 file is not needed.
25660
25661 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25662 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25663 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25664 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25665 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25666 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25667 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25668 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25669 Add AVX variants.
25670 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25671 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25672 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25673 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25674 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25675 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25676 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25677 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25678 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25679 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25680 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25681 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25682 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25683 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25684 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25685 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25686 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25687 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25688 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25689
25690 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25691 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
25692
618280a1
UD
25693 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25694 place. Use VEX encoding when compiling for AVX.
25695
37822576
AS
256962011-10-25 Andreas Schwab <schwab@redhat.com>
25697
1f1e1947
AS
25698 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25699 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25700
37822576
AS
25701 * string/test-strchr.c (do_test): Don't generate NUL bytes.
25702
31ea014d
UD
257032011-10-25 Ulrich Drepper <drepper@gmail.com>
25704
d7826aa1 25705 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 25706 useless if() expression.
d7826aa1
UD
25707 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25708 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25709 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25710 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25711 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25712 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25713 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25714 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25715 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25716 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25717 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25718 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25719 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25720 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25721 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25722 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25723 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25724 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25725 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25726
31ea014d
UD
25727 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25728
16437fec
AS
257292011-10-25 Andreas Schwab <schwab@redhat.com>
25730
25731 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25732 condition.
25733 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25734
31d3cc00
UD
257352011-10-25 Ulrich Drepper <drepper@gmail.com>
25736
25737 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25738 .text section. Avoid duplicate constants.
25739 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25740 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25741 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25742 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25743 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25744 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25745 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25746 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25747 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25748 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25749 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25750 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25751 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25752 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25753 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25754 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25755 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25756 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25757 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25758 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25759 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25760 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25761 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25762 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25763 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25764 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25765 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25766 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25767 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25768 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25769 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25770 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25771 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25772 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25773 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25774 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25775 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25776 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25777 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25778 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25779 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25780 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25781 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25782 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25783 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25784
58985aa9
UD
257852011-10-24 Ulrich Drepper <drepper@gmail.com>
25786
202c9deb
UD
25787 * sysdeps/x86_64/dla.h: Move to ...
25788 * sysdeps/x86_64/fpu/dla.h: ...here.
25789 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25790 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 25791
af968f62
UD
25792 * config.make.in: Add have-mfma4 entry.
25793 * configure.in: Substitute libc_cv_cc_fma4.
25794 * math/Makefile (dbl-only-routines): Add sincostab.
25795 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25796 Use __sincostab not sincos.
25797 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25798 name is a macro.
25799 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25800 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25801 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25802 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
25803 using __copysign.
25804 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
25805 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
25806 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25807 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25808 and __inv.
25809 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25810 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25811 __copysign.
25812 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
25813 define aliases when function name is a macro.
25814 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25815 sysdeps/ieee754/dbl-64/sincos.tbl.
25816 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25817 fma4-enabled routines.
25818 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25819 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25820 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25821 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25822 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25823 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25824 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25825 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25826 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25827 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
25828 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
25829 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
25830 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
25831 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
25832 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
25833 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
25834 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
25835 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
25836 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
25837 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
25838 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
25839 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
25840 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
25841 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
25842 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
25843 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
25844 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
25845 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
25846 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
25847 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
25848
58985aa9
UD
25849 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
25850 rename.
25851 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25852 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25853 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25854 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25855 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25856 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25857 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25858 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25859
a201fbcf
AS
258602011-10-24 Andreas Schwab <schwab@redhat.com>
25861
25862 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
25863
fc2ee42a
LD
258642011-10-23 Ulrich Drepper <drepper@gmail.com>
25865
bb3129bd
UD
25866 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
25867
0275fff8
UD
25868 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
25869 prediction.
25870 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
25871
2fa2ae85
UD
25872 * string/strnlen.c: Don't define STRNLEN, reverse logic.
25873 Remove unused variable magic_bits.
25874 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
25875
fc2ee42a
LD
25876 * string/strnlen.c: Define and use STRNLEN macro.
25877 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
25878 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
25879 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
25880 * wcsmbs/wcslen.c: Define and use WCSLEN.
25881 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
25882 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
25883 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
25884 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
25885 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
25886 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
25887 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25888
ce7dd29f
LD
258892011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25890
25891 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25892 strnlen-sse2-no-bsf.
25893 Rename strlen-no-bsf to strlen-sse2-no-bsf.
25894 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
25895 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
25896 Add strnlen support.
25897 (USE_AS_STRNLEN): New macro.
25898 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
25899 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
25900 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
25901 * sysdeps/x86_64/wcslen.S: New file.
25902
979c70a3
MZ
259032011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
25904
25905 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25906 XMM-moves are used for copying on small sizes.
25907
2d09f82f
LD
259082011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25909
25910 * wcsmbs/Makefile (strop-tests): Add wcschr.
25911 * wcsmbs/test-wcschr.c: New file.
25912 * string/test-strchr.c: Update.
25913 Add wcschr support.
25914 (WIDE): New macro.
25915
619fccca
LD
259162011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25917
2d09f82f 25918 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
25919 * wcsmbs/test-wcslen.c: New file.
25920 * string/test-strlen.c: Update.
25921 Add wcslen support.
25922 (WIDE): New macro.
25923
09f699ea
UD
259242011-10-23 Ulrich Drepper <drepper@gmail.com>
25925
25926 * po/it.po: Update from translation team.
25927
95584d3b
LD
259282011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25929
25930 * sysdeps/x86_64/wcscmp.S: Update.
25931 Fix wrong comparison semantics.
25932 wcscmp shall use signed comparison not unsigned.
25933 Don't use substraction to avoid overflow bug.
25934 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25935 * wcsmbc/wcscmp.c: Likewise.
25936 * string/test-strcmp.c: Likewise.
25937 Add new tests to check cases with negative values.
25938
c8b3296b
UD
259392011-10-23 Ulrich Drepper <drepper@gmail.com>
25940
25941 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
25942 * sysdeps/x86_64/dla.h: ...here. New file.
25943 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
25944 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25945 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25946 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25947 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25948 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25949 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25950 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25951 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25952
246ad57a
AS
259532011-10-23 Andreas Schwab <schwab@linux-m68k.org>
25954
25955 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
25956 __ynl_finite aliases.
25957
a1a87169
UD
259582011-10-22 Ulrich Drepper <drepper@gmail.com>
25959
0d355eb7
UD
25960 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25961
a1a87169
UD
25962 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
25963 define DLA_FMA.
25964 [DLA_FMA] (EMULV): Use DLA_FMA.
25965 [DLA_FMA] (MUL12): Use EMULV.
25966 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
25967 that are not needed.
25968 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25969 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25970 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25971 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25972 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25973 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25974 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25975
ee2aafe0
AS
259762011-10-22 Andreas Schwab <schwab@linux-m68k.org>
25977
25978 * math/s_nan.c: Undef __nan.
25979 * math/s_nanf.c: Undef __nanf.
25980 * math/s_nanl.c: Undef __nanl.
25981 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
25982 "math_private.h".
25983
bc62c2fb
UD
259842011-10-22 Ulrich Drepper <drepper@gmail.com>
25985
77425c63
UD
25986 * math/s_catan.c: Add branch predictions.
25987 * math/s_catanf.c: Likewise.
25988 * math/s_catanh.c: Likewise.
25989 * math/s_catanhf.c: Likewise.
25990 * math/s_catanhl.c: Likewise.
25991 * math/s_catanl.c: Likewise.
25992 * math/s_cexp.c: Likewise.
25993 * math/s_cexpf.c: Likewise.
25994 * math/s_cexpl.c: Likewise.
25995 * math/s_clog.c: Likewise.
25996 * math/s_clog10.c: Likewise.
25997 * math/s_clog10f.c: Likewise.
25998 * math/s_clog10l.c: Likewise.
25999 * math/s_clogf.c: Likewise.
26000 * math/s_clogl.c: Likewise.
26001 * math/s_csqrt.c: Likewise.
26002 * math/s_csqrtf.c: Likewise.
26003 * math/s_csqrtl.c: Likewise.
26004 * math/s_ctanf.c: Likewise.
26005 * math/s_ctanh.c: Likewise.
26006 * math/s_ctanhf.c: Likewise.
26007 * math/s_ctanhl.c: Likewise.
26008 * math/s_ctanl.c: Likewise.
26009
bc62c2fb
UD
26010 * math/math_private.h: Define __nan, __nanf, __nanl.
26011 * math/s_cacosh.c: Include <math_private.h>.
26012 * math/s_cacoshl.c: Likewise.
26013 * math/s_casinh.c: Likewise.
26014 * math/s_casinhf.c: Likewise.
26015 * math/s_casinhl.c: Likewise.
26016 * math/s_ccos.c: Rely entire on ccosh.
26017 * math/s_ccosf.c: Rely entire on ccoshf.
26018 * math/s_ccosl.c: Rely entirely on ccoshl.
26019 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26020 Remove tests for FE_INVALID.
26021 * math/s_ccoshf.c: Likewise.
26022 * math/s_ccoshl.c: Likewise.
26023 * math/s_csin.c: Likewise.
26024 * math/s_csinf.c: Likewise.
26025 * math/s_csinh.c Likewise.
26026 * math/s_csinhf.c: Likewise.
26027 * math/s_csinhl.c: Likewise.
26028 * math/s_csinl.c: Likewise.
26029 * math/s_ctan.c: Likewise.
26030 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26031 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26032 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26033
8ec250a4
UD
260342011-10-21 Ulrich Drepper <drepper@gmail.com>
26035
c196fed8
UD
26036 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26037 compilation problems.
26038
8ec250a4
UD
26039 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26040 __builtin_expect.
26041
8d4f46c6
UD
260422011-10-20 Ulrich Drepper <drepper@gmail.com>
26043
ed72b654
UD
26044 * sysdeps/i386/configure.in: Test for -mfma4 option.
26045 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26046 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26047 COMMON_CPUID_INDEX_80000001.
26048 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26049 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26050 use it if FMA3 is not supported.
26051 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26052
8d4f46c6
UD
26053 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26054 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26055
d45c60c2
AS
260562011-10-20 Andreas Schwab <schwab@redhat.com>
26057
26058 [BZ #12892]
26059 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26060 it would create a cycle with a link time dependency.
26061
d9a4d2ab
UD
260622011-10-19 Ulrich Drepper <drepper@gmail.com>
26063
855d1560
UD
26064 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26065 instruction.
26066 * string/Makefile (strop-tests): Add rawmemchr.
26067 * string/test-rawmemchr.c: New file.
26068
d9a4d2ab
UD
26069 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26070 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26071 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26072 when compiling str{,n}casecmp and when AVX is available. Hook up
26073 new optimized code in initializers.
26074
8f3b1ffe
AS
260752011-10-19 Andreas Schwab <schwab@redhat.com>
26076
26077 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26078 __feraiseexcept instead of feraiseexcept.
26079
d38f1dba
UD
260802011-10-18 Ulrich Drepper <drepper@gmail.com>
26081
d9a8d0ab
UD
26082 * math/math_private.h: Define defaults for libc_fetestexcept and
26083 libc_feupdateenv.
26084 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26085 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26086 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26087 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26088 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26089 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26090 libc_fetestexcept and libc_feupdateenv.
26091
4855e3dd
UD
26092 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26093 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26094 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26095 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26096 libc_feholdexcept_setround.
26097
581d30e3
UD
26098 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26099 Add s_nearbyint-c and s_nearbyintf-c.
26100 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26101 nearbyintf inlines.
26102 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26103 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26104 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26105 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26106
d38f1dba
UD
26107 * math/math_private.h: Define defaults for libc_fegetround,
26108 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26109 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26110 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26111 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26112 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26113 standard functions.
26114 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26115 Remove comments and hacks for old compiler versions.
26116 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26117 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26118 libc_feholdexceptl.
26119
caa6c9d8
AS
261202011-10-18 Andreas Schwab <schwab@redhat.com>
26121
26122 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26123 (__feraiseexcept_renamed): Add __NTH.
26124 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26125 namespace violations.
26126
97c066e6
UD
261272011-10-17 Ulrich Drepper <drepper@gmail.com>
26128
99ce7b04
UD
26129 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26130
1004d182
UD
26131 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26132
228a984d
UD
26133 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26134 recently added interfaces.
26135 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26136
c8553a6a
UD
26137 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26138 about macro parameter expansion.
26139
ed22dcf6
UD
26140 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26141 __NO_MATH_INLINES is defined. Cleanups.
26142
26143 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26144 and __floorf is target has SSE4.1.
26145 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26146 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26147 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26148 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26149
b171c137
UD
26150 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26151 name.
26152 (floorf): Likewise.
26153
97c066e6
UD
26154 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26155
629f62ef
AS
261562011-10-17 Andreas Schwab <schwab@redhat.com>
26157
49a43d80
AS
26158 * misc/sys/cdefs.h: Fix last change.
26159
629f62ef
AS
26160 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26161 database lookup.
26162
e453f6cd
UD
261632011-10-16 Ulrich Drepper <drepper@gmail.com>
26164
aa78043a
UD
26165 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26166
ad0f5cad
UD
26167 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26168 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26169 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26170 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26171 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26172 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26173 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26174 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26175 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26176 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26177 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26178 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26179 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26180 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26181 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26182 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26183 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26184 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26185 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26186 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26187 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26188 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26189
26190 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26191 ceil, ceilf, floor, floorf.
26192
26193 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26194 Perform IRELATIVE relocations last.
26195
e453f6cd
UD
26196 * elf/do-rel.h: Add another parameter nrelative, replacing the
26197 local variable with the same name. Change name of the function
26198 to end in Rel or Rela (uppercase).
26199 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26200 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26201 elf_dynamic_do_##reloc function.
26202
fd5bdc09
UD
262032011-10-15 Ulrich Drepper <drepper@gmail.com>
26204
79b195b5
UD
26205 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26206 is sufficient, at least on modern CPUs.
26207
d4a28569
UD
26208 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26209
b61099b5
UD
26210 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26211 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26212
bcf01e6d
UD
26213 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26214 __expl_finite.
26215 * math/bits/math-finite.h: Add entries for exp.
26216 * math/e_expl.c: Add __*_finite alias.
26217 * sysdeps/i386/fpu/e_exp.S: Likewise.
26218 * sysdeps/i386/fpu/e_expf.S: Likewise.
26219 * sysdeps/i386/fpu/e_expl.c: Likewise.
26220 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26221 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26222 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26223 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26224 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26225 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26226 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26227
ba1a0d59
UD
26228 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26229 is sufficient, at least on modern CPUs.
26230
fd5bdc09
UD
26231 * ctype/ctype-info.c (__ctype_init): Define.
26232 * include/ctype.h (__ctype_init): Declare.
26233 (__ctype_b_loc): The variable is always initialized.
26234 (__ctype_toupper_loc): Likewise.
26235 (__ctype_tolower_loc): Likewise.
26236 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26237 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26238
7872cfb0
AS
262392011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26240
b468825a
AS
26241 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26242
7872cfb0
AS
26243 * configure.in: Also look in $cxxmachine/include for C++ system
26244 headers.
26245
be13f7bf
LD
262462011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26247
26248 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26249 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26250 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26251 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26252 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26253 (USE_AS_WMEMCMP): New macro.
26254 Fixing indents.
26255 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26256 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26257 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26258 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26259 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26260 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26261 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26262 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26263 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26264 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26265 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26266 (USE_AS_WMEMCMP): New macro.
26267 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26268 * sysdeps/string/test-memcmp.c: Update.
26269 Fix simple_wmemcmp.
26270 Add new tests.
26271 * wcsmbs/wmemcmp.c: Update.
26272 (WMEMCMP): New macro.
26273 Fix overflow bug.
26274
556a2007
AJ
262752011-10-12 Andreas Jaeger <aj@suse.de>
26276
26277 [BZ #13268]
26278 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26279
538faaa7
UD
262802011-10-15 Ulrich Drepper <drepper@gmail.com>
26281
ab6737ff
UD
26282 * libio/iofwide.c (do_length): Avoid warning.
26283
538faaa7
UD
26284 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26285
396a21b1
UD
262862011-10-14 Ulrich Drepper <drepper@gmail.com>
26287
cdf2901f
UD
26288 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26289
38ad40ce
UD
26290 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26291 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26292 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26293 * sysdeps/i386/i686/fpu/e_log.S: New file.
26294 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26295 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26296
396a21b1
UD
26297 * ctype/ctype.h: Add support for inlined isXXX functions when
26298 compiling C++ code.
26299
6b1f68c9
AS
263002011-10-14 Andreas Schwab <schwab@redhat.com>
26301
349290c0
AS
26302 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26303
6b1f68c9
AS
26304 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26305
f2282d42
RM
263062011-10-13 Roland McGrath <roland@hack.frob.com>
26307
26308 [BZ #13291]
26309 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26310
5298ffa8
AS
263112011-10-13 Andreas Schwab <schwab@redhat.com>
26312
714fad23
AS
26313 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26314 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26315 feraiseexcept.
26316
81dcc7fb
AS
26317 * sysdeps/x86_64/memrchr.S: Check for zero size.
26318
5298ffa8
AS
26319 * string/stratcliff.c: Add memrchr tests.
26320
951fbcec
LD
263212011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26322
26323 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26324 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26325 rawmemchr-sse2 rawmemchr-sse2-bsf.
26326 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26327 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26328 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26329 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26330 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26331 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26332 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26333 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26334 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26335 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26336 * string/memrchr.c (MEMRCHR): New macro.
26337
0ac5ae23
UD
263382011-10-12 Ulrich Drepper <drepper@gmail.com>
26339
26340 Add integration with gcc's -ffinite-math-only and optimize wrapper
26341 functions in libm.
26342 * Versions.def: Define GLIBC_2.15 version for libm.
26343 * math/Makefile (headers): Add bits/math-finite.h.
26344 * math/bits/math-finite.h: New file.
26345 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26346 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26347 * math/e_acoshl.c: Add __*_finite alias.
26348 * math/e_acosl.c: Likewise.
26349 * math/e_asinl.c: Likewise.
26350 * math/e_atan2l.c: Likewise.
26351 * math/e_atanhl.c: Likewise.
26352 * math/e_coshl.c: Likewise.
26353 * math/e_exp10.c: Likewise.
26354 * math/e_exp10f.c: Likewise.
26355 * math/e_exp10l.c: Likewise.
26356 * math/e_exp2l.c: Likewise.
26357 * math/e_fmodl.c: Likewise.
26358 * math/e_gammal_r.c: Likewise.
26359 * math/e_hypotl.c: Likewise.
26360 * math/e_j0l.c: Likewise.
26361 * math/e_j1l.c: Likewise.
26362 * math/e_jnl.c: Likewise.
26363 * math/e_lgammal_r.c: Likewise.
26364 * math/e_log10l.c: Likewise.
26365 * math/e_log2l.c: Likewise.
26366 * math/e_logl.c: Likewise.
26367 * math/e_powl.c: Likewise.
26368 * math/e_sinhl.c: Likewise.
26369 * math/e_sqrtl.c: Likewise.
26370 * math/e_scalb.c: Completely rewritten and optimized.
26371 * math/e_scalbf.c: Likewise.
26372 * math/e_scalbl.c: Likewise.
26373 * math/w_acos.c: Likewise.
26374 * math/w_acosf.c: Likewise.
26375 * math/w_acosl.c: Likewise.
26376 * math/w_acosh.c: Likewise.
26377 * math/w_acoshf.c: Likewise.
26378 * math/w_acoshl.c: Likewise.
26379 * math/w_asin.c: Likewise.
26380 * math/w_asinf.c: Likewise.
26381 * math/w_asinl.c: Likewise.
26382 * math/w_atan2.c: Likewise.
26383 * math/w_atan2f.c: Likewise.
26384 * math/w_atan2l.c: Likewise.
26385 * math/w_atanh.c: Likewise.
26386 * math/w_atanhf.c: Likewise.
26387 * math/w_atanhl.c: Likewise.
26388 * math/w_exp10.c: Likewise.
26389 * math/w_exp10f.c: Likewise.
26390 * math/w_exp10l.c: Likewise.
26391 * math/w_fmod.c: Likewise.
26392 * math/w_fmodf.c: Likewise.
26393 * math/w_fmodl.c: Likewise.
26394 * math/w_j0.c: Likewise.
26395 * math/w_j0f.c: Likewise.
26396 * math/w_j0l.c: Likewise.
26397 * math/w_j1.c: Likewise.
26398 * math/w_j1f.c: Likewise.
26399 * math/w_j1l.c: Likewise.
26400 * math/w_jn.c: Likewise.
26401 * math/w_jnf.c: Likewise.
26402 * math/w_log.c: Likewise.
26403 * math/w_logf.c: Likewise.
26404 * math/w_logl.c: Likewise.
26405 * math/w_log10.c: Likewise.
26406 * math/w_log10f.c: Likewise.
26407 * math/w_log10l.c: Likewise.
26408 * math/w_log2.c: Likewise.
26409 * math/w_log2f.c: Likewise.
26410 * math/w_log2l.c: Likewise.
26411 * math/w_pow.c: Likewise.
26412 * math/w_powf.c: Likewise.
26413 * math/w_powl.c: Likewise.
26414 * math/w_remainder.c: Likewise.
26415 * math/w_remainderf.c: Likewise.
26416 * math/w_remainderl.c: Likewise.
26417 * math/w_scalb.c: Likewise.
26418 * math/w_scalbf.c: Likewise.
26419 * math/w_scalbl.c: Likewise.
26420 * math/w_sqrt.c: Likewise.
26421 * math/w_sqrtf.c: Likewise.
26422 * math/w_sqrtl.c: Likewise.
26423 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26424 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26425 used.
26426 * math/math_private.h: Declare __kernel_standard_f.
26427 * math/w_cosh.c: Remove cruft and optimize a bit.
26428 * math/w_coshf.c: Likewise.
26429 * math/w_coshl.c: Likewise.
26430 * math/w_exp2.c: Likewise.
26431 * math/w_exp2f.c: Likewise.
26432 * math/w_exp2l.c: Likewise.
26433 * math/w_hypot.c: Likewise.
26434 * math/w_hypotf.c: Likewise.
26435 * math/w_hypotl.c: Likewise.
26436 * math/w_lgamma.c: Likewise.
26437 * math/w_lgamma_r.c: Likewise.
26438 * math/w_lgammaf.c: Likewise.
26439 * math/w_lgammaf_r.c: Likewise.
26440 * math/w_lgammal.c: Likewise.
26441 * math/w_lgammal_r.c: Likewise.
26442 * math/w_sinh.c: Likewise.
26443 * math/w_sinhf.c: Likewise.
26444 * math/w_sinhl.c: Likewise.
26445 * math/w_tgamma.c: Likewise.
26446 * math/w_tgammaf.c: Likewise.
26447 * math/w_tgammal.c: Likewise.
26448 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26449 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26450 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26451 Minor optimizations. Pretty printing. Remove cruft.
26452 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26453 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26454 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26455 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26456 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26457 * sysdeps/i386/fpu/e_asin.S: Likewise.
26458 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26459 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26460 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26461 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26462 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26463 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26464 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26465 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26466 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26467 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26468 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26469 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26470 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26471 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26472 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26473 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26474 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26475 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26476 * sysdeps/i386/fpu/e_log.S: Likewise.
26477 * sysdeps/i386/fpu/e_log10.S: Likewise.
26478 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26479 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26480 * sysdeps/i386/fpu/e_log2.S: Likewise.
26481 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26482 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26483 * sysdeps/i386/fpu/e_logf.S: Likewise.
26484 * sysdeps/i386/fpu/e_logl.S: Likewise.
26485 * sysdeps/i386/fpu/e_pow.S: Likewise.
26486 * sysdeps/i386/fpu/e_powf.S: Likewise.
26487 * sysdeps/i386/fpu/e_powl.S: Likewise.
26488 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26489 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26490 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26491 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26492 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26493 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26494 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26495 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26496 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26497 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26498 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26499 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26500 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26501 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26502 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26503 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26504 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26505 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26506 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26507 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26508 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26509 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26510 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26511 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26512 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26513 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26514 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26515 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26516 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26517 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26518 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26519 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26520 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26521 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26522 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26523 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26524 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26525 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26526 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26527 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26528 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26529 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26530 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26531 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26532 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26533 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26534 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26535 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26536 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26537 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26538 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26539 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26540 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26541 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26542 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26543 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26544 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26545 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26546 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26547 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26548 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26549 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26550 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26551 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26552 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26553 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26554 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26555 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26556 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26557 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26558 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26559 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26560 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26561 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26562 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26563 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26564 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26565 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26566 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26567 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26568 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26569 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26570 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26571 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26572 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26573 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26574 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26575 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26576 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26577 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26578 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26579 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26580 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26581 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26582 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26583 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26584 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26585 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26586 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26587 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26588 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26589 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26590 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26591 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26592 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26593 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26594 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26595 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26596 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26597 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26598 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26599 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26600 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26601 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26602 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26603 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26604 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26605 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26606 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26607 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
26608 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26609 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26610 (__isnanf): Likewise.
26611 (__isinf_ns): Likewise.
26612 (__isinf_nsf): Likewise.
26613 (__finite): Likewise.
26614 (__finitef): Likewise.
26615 (__ieee754_sqrt): Define as macro.
26616 (__ieee754_sqrtf): Define as macro.
26617 (__ieee754_sqrtl): Define as macro.
26618 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26619 inlined copy.
26620 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26621 __FINITE_MATH_ONLY__ consistent.
26622 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26623
12cc2fcd
AS
266242011-10-10 Andreas Schwab <schwab@linux-m68k.org>
26625
a843a204
AS
26626 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26627 of rawmemchr.
26628
12cc2fcd
AS
26629 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26630
c853acd5
UD
266312011-10-09 Ulrich Drepper <drepper@gmail.com>
26632
26633 * po/ja.po: Update from translation team.
26634
c658d255
RM
266352011-10-08 Roland McGrath <roland@hack.frob.com>
26636
110946e4
RM
26637 * locale/programs/locarchive.c (prepare_address_space): New function.
26638 (create_archive, enlarge_archive, open_archive): Use it.
26639
50604220
RM
26640 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26641 inside [SHARED], where it is used.
26642
c658d255
RM
26643 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26644
26645 * nss/getent.c (netgroup_keys): Remove unused variable.
26646 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26647
6a621eb7
UD
266482011-10-08 Ulrich Drepper <drepper@gmail.com>
26649
7edb55ce
UD
26650 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26651 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26652 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26653 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26654 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26655 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26656 * math/Makefile (libm-calls): Add s_isinf_ns.
26657 * math/divtc3.c: Use __isinf_nsl instead of isinf.
26658 * math/multc3.c: Likewise.
26659 * math/s_casin.c: Likewise.
26660 * math/s_casinf.c: Likewise.
26661 * math/s_casinl.c: Likewise.
26662 * math/s_ccos.c: Likewise.
26663 * math/s_ccosf.c: Likewise.
26664 * math/s_ccosl.c: Likewise.
26665 * math/s_ctan.c: Likewise.
26666 * math/s_ctanf.c: Likewise.
26667 * math/s_ctanh.c: Likewise.
26668 * math/s_ctanhf.c: Likewise.
26669 * math/s_ctanhl.c: Likewise.
26670 * math/s_ctanl.c: Likewise.
26671 * math/w_fmod.c: Likewise.
26672 * math/w_fmodf.c: Likewise.
26673 * math/w_fmodl.c: Likewise.
26674 * math/w_remainder.c: Likewise.
26675 * math/w_remainderf.c: Likewise.
26676 * math/w_remainderl.c: Likewise.
26677 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26678 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26679 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26680 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26681 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26682 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26683 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26684 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26685
187da0ae
UD
26686 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26687 of the number.
26688 * stdio-common/printf_fphex.c: Likewise.
26689 * stdio-common/printf_size.c: Likewise.
26690
9277c064
UD
26691 * math/e_exp10.c: Include math_private.h using <...> not "...".
26692 * math/e_exp10f.c: Likewise.
26693 * math/e_exp10l.c: Likewise.
26694 * math/e_exp2l.c: Likewise.
26695 * math/e_j0l.c: Likewise.
26696 * math/e_j1l.c: Likewise.
26697 * math/e_jnl.c: Likewise.
26698 * math/e_lgammal_r.c: Likewise.
26699 * math/e_rem_pio2l.c: Likewise.
26700 * math/e_scalb.c: Likewise.
26701 * math/e_scalbf.c: Likewise.
26702 * math/e_scalbl.c: Likewise.
26703 * math/k_cosl.c: Likewise.
26704 * math/k_sinl.c: Likewise.
26705 * math/k_tanl.c: Likewise.
26706 * math/s_cacoshf.c: Likewise.
26707 * math/s_catan.c: Likewise.
26708 * math/s_catanf.c: Likewise.
26709 * math/s_catanh.c: Likewise.
26710 * math/s_catanhf.c: Likewise.
26711 * math/s_catanhl.c: Likewise.
26712 * math/s_catanl.c: Likewise.
26713 * math/s_ccosh.c: Likewise.
26714 * math/s_ccoshf.c: Likewise.
26715 * math/s_ccoshl.c: Likewise.
26716 * math/s_cexp.c: Likewise.
26717 * math/s_cexpf.c: Likewise.
26718 * math/s_cexpl.c: Likewise.
26719 * math/s_clog.c: Likewise.
26720 * math/s_clog10.c: Likewise.
26721 * math/s_clog10f.c: Likewise.
26722 * math/s_clog10l.c: Likewise.
26723 * math/s_clogf.c: Likewise.
26724 * math/s_clogl.c: Likewise.
26725 * math/s_csin.c: Likewise.
26726 * math/s_csinf.c: Likewise.
26727 * math/s_csinh.c: Likewise.
26728 * math/s_csinhf.c: Likewise.
26729 * math/s_csinhl.c: Likewise.
26730 * math/s_csinl.c: Likewise.
26731 * math/s_csqrt.c: Likewise.
26732 * math/s_csqrtf.c: Likewise.
26733 * math/s_csqrtl.c: Likewise.
26734 * math/s_ctan.c: Likewise.
26735 * math/s_ctanf.c: Likewise.
26736 * math/s_ctanh.c: Likewise.
26737 * math/s_ctanhf.c: Likewise.
26738 * math/s_ctanhl.c: Likewise.
26739 * math/s_ctanl.c: Likewise.
26740 * math/s_ldexp.c: Likewise.
26741 * math/s_ldexpf.c: Likewise.
26742 * math/s_ldexpl.c: Likewise.
26743 * math/s_significand.c: Likewise.
26744 * math/s_significandf.c: Likewise.
26745 * math/s_significandl.c: Likewise.
26746 * math/w_acos.c: Likewise.
26747 * math/w_acosf.c: Likewise.
26748 * math/w_acosh.c: Likewise.
26749 * math/w_acoshf.c: Likewise.
26750 * math/w_acoshl.c: Likewise.
26751 * math/w_acosl.c: Likewise.
26752 * math/w_asin.c: Likewise.
26753 * math/w_asinf.c: Likewise.
26754 * math/w_asinl.c: Likewise.
26755 * math/w_atan2.c: Likewise.
26756 * math/w_atan2f.c: Likewise.
26757 * math/w_atan2l.c: Likewise.
26758 * math/w_atanh.c: Likewise.
26759 * math/w_atanhf.c: Likewise.
26760 * math/w_atanhl.c: Likewise.
26761 * math/w_cosh.c: Likewise.
26762 * math/w_coshf.c: Likewise.
26763 * math/w_coshl.c: Likewise.
26764 * math/w_dremf.c: Likewise.
26765 * math/w_exp10.c: Likewise.
26766 * math/w_exp10f.c: Likewise.
26767 * math/w_exp10l.c: Likewise.
26768 * math/w_exp2.c: Likewise.
26769 * math/w_exp2f.c: Likewise.
26770 * math/w_fmod.c: Likewise.
26771 * math/w_fmodf.c: Likewise.
26772 * math/w_fmodl.c: Likewise.
26773 * math/w_hypot.c: Likewise.
26774 * math/w_hypotf.c: Likewise.
26775 * math/w_hypotl.c: Likewise.
26776 * math/w_j0.c: Likewise.
26777 * math/w_j0f.c: Likewise.
26778 * math/w_j0l.c: Likewise.
26779 * math/w_j1.c: Likewise.
26780 * math/w_j1f.c: Likewise.
26781 * math/w_j1l.c: Likewise.
26782 * math/w_jn.c: Likewise.
26783 * math/w_jnf.c: Likewise.
26784 * math/w_jnl.c: Likewise.
26785 * math/w_lgamma.c: Likewise.
26786 * math/w_lgamma_r.c: Likewise.
26787 * math/w_lgammaf.c: Likewise.
26788 * math/w_lgammaf_r.c: Likewise.
26789 * math/w_lgammal.c: Likewise.
26790 * math/w_lgammal_r.c: Likewise.
26791 * math/w_log.c: Likewise.
26792 * math/w_log10.c: Likewise.
26793 * math/w_log10f.c: Likewise.
26794 * math/w_log10l.c: Likewise.
26795 * math/w_log2.c: Likewise.
26796 * math/w_log2f.c: Likewise.
26797 * math/w_log2l.c: Likewise.
26798 * math/w_logf.c: Likewise.
26799 * math/w_logl.c: Likewise.
26800 * math/w_pow.c: Likewise.
26801 * math/w_powf.c: Likewise.
26802 * math/w_powl.c: Likewise.
26803 * math/w_remainder.c: Likewise.
26804 * math/w_remainderf.c: Likewise.
26805 * math/w_remainderl.c: Likewise.
26806 * math/w_scalb.c: Likewise.
26807 * math/w_scalbf.c: Likewise.
26808 * math/w_scalbl.c: Likewise.
26809 * math/w_sinh.c: Likewise.
26810 * math/w_sinhf.c: Likewise.
26811 * math/w_sinhl.c: Likewise.
26812 * math/w_sqrt.c: Likewise.
26813 * math/w_sqrtf.c: Likewise.
26814 * math/w_sqrtl.c: Likewise.
26815 * math/w_tgamma.c: Likewise.
26816 * math/w_tgammaf.c: Likewise.
26817 * math/w_tgammal.c: Likewise.
26818
6a621eb7
UD
26819 * po/ja.po: Update from translation team.
26820
bf582445
AJ
268212011-09-29 Andreas Jaeger <aj@suse.de>
26822
f9efbf3a
AJ
26823 [BZ #13179]
26824 * sunrpc/netname.c (netname2host): Fix logic.
26825
bf582445
AJ
26826 [BZ #6779]
26827 [BZ #6783]
26828 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
26829 correctly.
26830 * math/w_remainder.c (__remainder): Likewise.
26831 * math/w_remainderf.c (__remainderf): Likewise.
26832 * math/libm-test.inc (remainder_test): Add test cases.
26833
48693bea
AK
268342011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26835
26836 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
26837 sdiv_qrnnd.
26838
42622229
LD
268392011-10-07 Ulrich Drepper <drepper@gmail.com>
26840
26841 * string/test-memcmp.c: Avoid unncessary #defines.
26842 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26843
093ecf92
LD
268442011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26845
26846 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
26847 Use new sse2 version for core i3 - i7 as it's faster
26848 than sse42 version.
26849 (bit_Prefer_PMINUB_for_stringop): New.
26850 * sysdeps/x86_64/rawmemchr.S: Update.
26851 Replace with faster SSE2 version.
26852 * sysdeps/x86_64/memrchr.S: New file.
26853 * sysdeps/x86_64/memchr.S: Update.
26854 Replace with faster SSE2 version.
26855
fde56e5c
MP
268562011-09-12 Marek Polacek <mpolacek@redhat.com>
26857
26858 * elf/dl-load.c (lose): Add cast to avoid warning.
26859
21fd49a9
UD
268602011-10-07 Ulrich Drepper <drepper@gmail.com>
26861
5a06e643
UD
26862 * po/ca.po: Update from translation team.
26863
684ae515
UD
26864 * inet/getnetgrent_r.c: Hook up nscd.
26865 * nscd/Makefile (routines): Add nscd_netgroup.
26866 (nscd-modules): Add netgroupcache.
26867 (CFLAGS-netgroupcache.c): Define.
26868 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
26869 (cache_search): Add const to second parameter.
26870 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
26871 INNETGR.
26872 (dbs): Add netgrdb entry.
26873 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
26874 (verify_persistent_db): Handle netgrdb.
26875 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
26876 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
26877 GETFDNETGR.
26878 (netgroup_response_header): Define.
26879 (innetgroup_response_header): Define.
26880 (datahead): Add netgroup_response_header and innetgroup_response_header
26881 elements.
26882 * nscd/nscd.conf: Add entries for netgroup cache.
26883 * nscd/nscd.h (dbtype): Add netgrdb.
26884 (_PATH_NSCD_NETGROUP_DB): Define.
26885 (netgroup_iov_disabled): Declare.
26886 (xmalloc, xcalloc, xrealloc): Move declarations here.
26887 (cache_search): Adjust prototype.
26888 Add netgroup-related prototypes.
26889 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
26890 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
26891 (__nscd_innetgr): Declare.
26892 * nscd/selinux.c (perms): Use access_vector_t as element type and
26893 add netgroup-related initializers.
26894 * nscd/netgroupcache.c: New file.
26895 * nscd/nscd_netgroup.c: New file.
26896 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
26897 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
26898 For four parameters use innetgr.
26899 * nss/nss_files/files-init.c: Add definition and callback for netgr.
26900 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
26901 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
26902 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
26903
21fd49a9
UD
26904 * nscd/connections.c (register_traced_file): Don't register file
26905 for disabled databases.
26906
054c0457
UD
269072011-10-06 Ulrich Drepper <drepper@gmail.com>
26908
32b63198
UD
26909 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
26910
054c0457
UD
26911 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
26912 from tree and freeing node.
26913
64031225
JO
269142011-09-25 Jiri Olsa <jolsa@redhat.com>
26915
26916 * nss/nsswitch.c (__nss_database_lookup): Handle
26917 nss_parse_service_list out of memory case.
26918
0490345c
JO
269192011-09-15 Jiri Olsa <jolsa@redhat.com>
26920
26921 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
26922 out of memory case.
26923
3a62d00d
AS
269242011-10-04 Andreas Schwab <schwab@redhat.com>
26925
26926 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
26927 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
26928 pass it down.
26929 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
26930 elf_machine_rela, elf_machine_lazy_rel.
26931 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
26932 (ELF_DYNAMIC_DO_REL): Likewise.
26933 (ELF_DYNAMIC_DO_RELA): Likewise.
26934 (ELF_DYNAMIC_RELOCATE): Likewise.
26935 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
26936 to ELF_DYNAMIC_DO_REL.
26937 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
26938 (dl_main): In trace mode always set __RTLD_NOIFUNC.
26939 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
26940 elf_machine_rela.
26941 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
26942 skip_ifunc, don't call ifunc function if non-zero.
26943 (elf_machine_rela): Likewise.
26944 (elf_machine_lazy_rel): Likewise.
26945 (elf_machine_lazy_rela): Likewise.
26946 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
26947 (elf_machine_lazy_rel): Likewise.
26948 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26949 Likewise.
26950 (elf_machine_lazy_rel): Likewise.
26951 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26952 Likewise.
26953 (elf_machine_lazy_rel): Likewise.
26954 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
26955 (elf_machine_lazy_rel): Likewise.
26956 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
26957 (elf_machine_lazy_rel): Likewise.
26958 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26959 (elf_machine_lazy_rel): Likewise.
26960 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26961 (elf_machine_lazy_rel): Likewise.
26962 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26963 (elf_machine_lazy_rel): Likewise.
26964 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26965 (elf_machine_lazy_rel): Likewise.
26966
68577918
UD
269672011-09-28 Ulrich Drepper <drepper@gmail.com>
26968
26969 * nss/nss_files/files-init.c (_nss_files_init): Use static
26970 initialization for all the *_traced_file variables.
26971
68822d74
AS
269722011-09-28 Andreas Schwab <schwab@redhat.com>
26973
26974 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26975
2056100b
RM
269762011-09-27 Roland McGrath <roland@hack.frob.com>
26977
26978 [BZ #13226]
26979 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
26980
32c76b63
AS
269812011-09-27 Andreas Schwab <schwab@redhat.com>
26982
26983 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26984 Reread the line before reparsing it.
26985
bf972c9d
AS
269862011-09-26 Andreas Schwab <schwab@redhat.com>
26987
26988 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
26989
e057a1b5
JM
269902011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
26991 Maxim Kuvyrkov <maxim@codesourcery.com>
26992 Joseph Myers <joseph@codesourcery.com>
26993
26994 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
26995 if needed for __stack_chk_guard.
26996
bc7e1c36
RM
269972011-09-19 Roland McGrath <roland@hack.frob.com>
26998
ecb1482f
RM
26999 * sysdeps/posix/spawni.c (script_execute): Always define it.
27000 It will be optimized away if unused.
27001 (maybe_script_execute): New function.
27002 (__spawni): Call it.
27003
bc7e1c36
RM
27004 * Makerules: Don't include tls.make.
27005 (config-tls): Always set to thread.
27006 * tls.make.c: File removed.
27007
1c3b002b
MF
270082011-09-19 Mike Frysinger <vapier@gentoo.org>
27009
27010 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27011 * config.make.in (CPPFLAGS-config): New substituted variable.
27012
2840865d
UD
270132011-09-15 Ulrich Drepper <drepper@gmail.com>
27014
88738eb6
UD
27015 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27016
cbf645a6 27017 [BZ #13192]
2840865d
UD
27018 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27019 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27020
b402e91a
RM
270212011-09-15 Roland McGrath <roland@hack.frob.com>
27022
27023 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27024 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27025 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27026 (CALL_FAIL): Likewise.
27027 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27028 (CALL_FAIL): Macro removed.
27029 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27030
4c1a1f71
UD
270312011-09-15 Ulrich Drepper <drepper@gmail.com>
27032
27033 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27034 for __FINITE_MATH_ONLY__ == 1.
27035
edc121be
AS
270362011-09-15 Andreas Schwab <schwab@redhat.com>
27037
27038 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27039 __ieee754_sqrt instead of sqrt.
27040 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27041 __ieee754_sqrtf instead of sqrtf.
27042 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27043 __floorf instead of floorf.
27044 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27045 __floorf, __truncf instead of floorf, truncf.
27046
cd205654
UD
270472011-09-14 Ulrich Drepper <drepper@gmail.com>
27048
ee4d0315
UD
27049 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27050
cd205654
UD
27051 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27052 __extern_always_inline.
27053 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27054 32-bit.
27055
48b67d71
AS
270562011-09-14 Andreas Schwab <schwab@redhat.com>
27057
27058 * elf/rtld.c (dl_main): Also relocate in dependency order when
27059 doing symbol dependency testing.
27060
1ae12c75
AS
270612011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27062
27063 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27064 Always define `refsym'.
27065
995a80df
AS
270662011-09-13 Andreas Schwab <schwab@redhat.com>
27067
e529793b
AS
27068 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27069 (__FD_ELT): Renamed from __FDELT.
27070 * misc/bits/select2.h (__FD_ELT): Likewise.
27071 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27072 __FD_MASK instead of __FDELT, __FDMASK.
27073 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27074 Likewise.
27075 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27076 Likewise.
27077
52d4fef8
AS
27078 * elf/Makefile (gen-ldd): Fix pattern.
27079
995a80df
AS
27080 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27081 (init_tls): Likewise.
27082
8682f8b0
UD
270832011-09-12 Ulrich Drepper <drepper@gmail.com>
27084
27085 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27086
de82006d
AS
270872011-09-12 Andreas Schwab <schwab@redhat.com>
27088
a7c8e6a1
AS
27089 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27090 `struct cmsghdr *' instead of `void *'.
27091 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27092 Likewise.
27093
0f31fe77
AS
270942011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27095
27096 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27097 if non-absolute.
27098 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27099 ldd_rewrite_script.
0f31fe77 27100
32b4c839
UD
271012011-09-11 Ulrich Drepper <drepper@gmail.com>
27102
83cd1420
UD
27103 * configure.in: Remove --with-tls option.
27104 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27105 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27106 out in case it is missing.
27107 * sysdeps/ia64/elf/configure.in: Likewise.
27108 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27109 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27110 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27111 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27112 * sysdeps/sh/elf/configure.in: Likewise.
27113 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27114 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27115 * sysdeps/x86_64/elf/configure.in: Likewise.
27116 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27117 * sysdeps/mach/hurd/tls.h: Likewise.
27118
633f745d
UD
27119 [BZ #13067]
27120 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27121
f318beb8
UD
27122 [BZ #13090]
27123 * configure.in: Fix use of AC_INIT.
27124
32b4c839
UD
27125 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27126
3ce1f295
UD
271272011-09-10 Ulrich Drepper <drepper@gmail.com>
27128
bb016596
UD
27129 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27130 __set_errno.
8e58439c
UD
27131 * malloc/hooks.c: Likewise.
27132
aebae053 27133 [BZ #11929]
02d46fc4
UD
27134 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27135 variables statically.
27136 (narenas): Initialize.
27137 (list_lock): Initialize.
bb016596
UD
27138 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27139 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27140 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27141 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27142 Add initializers to main_arena and mp_.
27143 (malloc_state): Remove pagesize member. Change all users to use
27144 GLRO(dl_pagesize).
27145
27146 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27147 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27148 is always initialized.
27149
22a89187
UD
27150 * malloc/malloc.c: Removed unused configurations and dead code.
27151 * malloc/arena.c: Likewise.
27152 * malloc/hooks.c: Likewise.
02d46fc4 27153 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27154
d063d164
UD
27155 * include/tls.h: Removed. USE___THREAD must always be defined.
27156 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27157 * elf/dl-libc.c: Likewise.
27158 * elf/dl-tsd.c: Likewise.
27159 * include/errno.h: Likewise.
27160 * include/netdb.h: Likewise.
27161 * include/resolv.h: Likewise.
27162 * inet/herrno-loc.c: Likewise.
27163 * inet/herrno.c: Likewise.
27164 * malloc/arena.c: Likewise.
27165 * malloc/hooks.c: Likewise.
27166 * malloc/malloc.c: Likewise.
27167 * resolv/res-state.c: Likewise.
27168 * resolv/res_libc.c: Likewise.
27169 * sysdeps/i386/dl-machine.h: Likewise.
27170 * sysdeps/ia64/dl-machine.h: Likewise.
27171 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27172 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27173 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27174 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27175 * sysdeps/sh/dl-machine.h: Likewise.
27176 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27177 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27178 * sysdeps/unix/i386/sysdep.S: Likewise.
27179 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27180 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27181 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27182 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27183 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27184 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27185 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27186 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27187 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27188 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27189 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27190 * sysdeps/x86_64/dl-machine.h: Likewise.
27191 * tls.make.c: Likewise.
27192
3ce1f295
UD
27193 * configure.in: Remove --with-__thread option. Make tests for
27194 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27195 tls_model attribute fail if no support is available. Remove
27196 USE_IN_LIBIO.
27197 * Makeconfig: Adjust for dropped configure option. All features are
27198 now mandatory.
27199 * Makerules: Likewise.
27200 * Versions.def: Likewise.
27201 * argp/argp-fmtstream.c: Likewise.
27202 * argp/argp-fmtstream.h: Likewise.
27203 * argp/argp-help.c: Likewise.
27204 * assert/assert.c: Likewise.
27205 * config.h.in: Likewise.
27206 * config.make.in: Likewise.
27207 * configure: Likewise.
27208 * configure.in: Likewise.
27209 * csu/Versions: Likewise.
27210 * csu/init.c: Likewise.
27211 * elf/tst-audit2.c: Likewise.
27212 * elf/tst-tls10.c: Likewise.
27213 * elf/tst-tls10.h: Likewise.
27214 * elf/tst-tls11.c: Likewise.
27215 * elf/tst-tls12.c: Likewise.
27216 * elf/tst-tls14.c: Likewise.
27217 * elf/tst-tlsmod11.c: Likewise.
27218 * elf/tst-tlsmod12.c: Likewise.
27219 * elf/tst-tlsmod13.c: Likewise.
27220 * elf/tst-tlsmod13a.c: Likewise.
27221 * elf/tst-tlsmod14a.c: Likewise.
27222 * elf/tst-tlsmod15b.c: Likewise.
27223 * elf/tst-tlsmod16a.c: Likewise.
27224 * elf/tst-tlsmod16b.c: Likewise.
27225 * elf/tst-tlsmod7.c: Likewise.
27226 * elf/tst-tlsmod8.c: Likewise.
27227 * elf/tst-tlsmod9.c: Likewise.
27228 * gmon/gmon.c: Likewise.
27229 * grp/fgetgrent_r.c: Likewise.
27230 * grp/putgrent.c: Likewise.
27231 * hurd/fopenport.c: Likewise.
27232 * include/libc-symbols.h: Likewise.
27233 * include/tls.h: Likewise.
27234 * intl/gettextP.h: Likewise.
27235 * intl/loadinfo.h: Likewise.
27236 * locale/global-locale.c: Likewise.
27237 * locale/localeinfo.h: Likewise.
27238 * mach/devstream.c: Likewise.
27239 * malloc/arena.c: Likewise.
27240 * malloc/set-freeres.c: Likewise.
27241 * misc/err.c: Likewise.
27242 * misc/getttyent.c: Likewise.
27243 * misc/mntent_r.c: Likewise.
27244 * posix/getopt.c: Likewise.
27245 * posix/wordexp.c: Likewise.
27246 * pwd/fgetpwent_r.c: Likewise.
27247 * resolv/Versions: Likewise.
27248 * resolv/res_hconf.c: Likewise.
27249 * shadow/fgetspent_r.c: Likewise.
27250 * shadow/putspent.c: Likewise.
27251 * stdio-common/printf_fphex.c: Likewise.
27252 * stdio-common/tmpfile.c: Likewise.
27253 * stdlib/abort.c: Likewise.
27254 * stdlib/fmtmsg.c: Likewise.
27255 * sunrpc/auth_unix.c: Likewise.
27256 * sunrpc/clnt_perr.c: Likewise.
27257 * sunrpc/clnt_tcp.c: Likewise.
27258 * sunrpc/clnt_udp.c: Likewise.
27259 * sunrpc/clnt_unix.c: Likewise.
27260 * sunrpc/openchild.c: Likewise.
27261 * sunrpc/svc_simple.c: Likewise.
27262 * sunrpc/svc_tcp.c: Likewise.
27263 * sunrpc/svc_udp.c: Likewise.
27264 * sunrpc/svc_unix.c: Likewise.
27265 * sunrpc/xdr.c: Likewise.
27266 * sunrpc/xdr_array.c: Likewise.
27267 * sunrpc/xdr_rec.c: Likewise.
27268 * sunrpc/xdr_ref.c: Likewise.
27269 * sunrpc/xdr_stdio.c: Likewise.
27270
1248c1c4
PB
272712011-09-09 Ulrich Drepper <drepper@gmail.com>
27272
27273 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27274
272752011-07-03 Andreas Jaeger <aj@suse.de>
27276
27277 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27278 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27279 regenerate with gen-libm-tests.pl.
27280
272812010-05-12 Petr Baudis <pasky@suse.cz>
27282
27283 [BZ #11589]
27284 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27285 around j0() zero points by switching to j1().
27286 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27287 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27288 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27289 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27290
f22e1074
UD
272912011-09-09 Ulrich Drepper <drepper@gmail.com>
27292
f19009c1
UD
27293 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27294 instead of 0.
27295 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27296 instead of 0.
f19009c1
UD
27297 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27298 Patch in part by Pavel Roskin <proski@gnu.org>.
27299
3f8cc204
UD
27300 [BZ #13138]
27301 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27302 realloc.
27303 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27304 Free memory block if necessary.
27305
f22e1074
UD
27306 [BZ #12847]
27307 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27308 be NULL. Don't lock in this case.
27309
0a2349f9
RM
273102011-09-09 Roland McGrath <roland@hack.frob.com>
27311
27312 * elf/elf.h (ELFOSABI_GNU): New macro.
27313 (ELFOSABI_LINUX): Define to that.
27314
f3cdd467
DZ
273152011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27316
27317 * string/strncat.c (strncat): Undef the symbol in case it has been
27318 defined in bits/string.h.
27319
74718d13
UD
273202011-09-09 Ulrich Drepper <drepper@gmail.com>
27321
633e9e0f
UD
27322 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27323
0a2349f9 27324 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
27325 link map.
27326
f9924780
AJ
273272011-08-17 Andreas Jaeger <aj@suse.de>
27328
27329 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27330
7f5517aa
PP
273312011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27332 Ian Lance Taylor <iant@google.com>
27333
27334 * math/libm-test.inc (lround_test): New testcase.
27335 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27336
762011fe
UD
273372011-09-08 Ulrich Drepper <drepper@gmail.com>
27338
92963737
UD
27339 * Makefile: Remove support for automatic cvs check-ins.
27340 * Makerules: Likewise.
27341 * config.make.in: Likewise.
27342 * configure.in: Likewise.
27343 * intl/Makefile: Likewise.
27344 * locale/Makefile: Likewise.
27345 * po/Makefile: Likewise.
27346 * posix/Makefile: Likewise.
27347 * sysdeps/gnu/Makefile: Likewise.
27348 * sysdeps/mach/hurd/Makefile: Likewise.
27349 * sysdeps/sparc/sparc32/Makefile: Likewise.
27350
b0727fd8
JS
27351 [BZ #13118]
27352 * posix/Makefile (bug-regex32-ENV): Define.
27353 Patch by John Stanley <jpsinthemix@verizon.net>.
27354
a0f33f99
UD
27355 * misc/Makefile (headers): Add bits/select2.h.
27356 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27357 * misc/bits/select2.h: New file.
27358 * include/bits/select2.h: New file.
27359 * debug/Makefile (routines): Add fdelt_chk.
27360 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27361 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27362 FD_ISSET.
27363 * debug/fdelt_chk.c: New file.
27364
762011fe
UD
27365 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27366 * wcsmbs/test-wmemcmp.c: Likewise.
27367 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 27368 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
27369
273702011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27371
27372 * string/Makefile (strop-tests): Add memcmp.
27373 * string/test-wmemcmp.c: New file.
27374 * string/test-memcmp.c: Add wmemcmp support.
27375
7f513ec8
RM
273762011-09-08 Roland McGrath <roland@hack.frob.com>
27377
0442afb4
RM
27378 [BZ #13153]
27379 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27380 2011-07-19 change.
27381
7f513ec8
RM
27382 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27383 garbage value in a __mach_port_mod_refs call in the cases of the
27384 task-self and thread-self ports.
27385
a12b2239
ST
273862011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27387
27388 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27389
610f9ab4
AS
273902011-09-08 Andreas Schwab <schwab@redhat.com>
27391
7f513ec8 27392 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 27393
48882a1a
LD
273942011-09-07 Ulrich Drepper <drepper@gmail.com>
27395
b49865be
UD
27396 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27397
fdc86bc9
UD
27398 * elf/dl-libc.c (dlerror_run): Pass back error code from
27399 dl_catch_error.
27400
c966526a
UD
27401 [BZ #13123]
27402 * elf/dl-load.c (lose): Free l_origin if it is valid.
27403
48882a1a
LD
27404 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27405 names.
27406 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27407 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27408 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27409 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27410 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27411 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27412
77a2a8b4
AZ
274132011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27414
27415 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27416 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27417 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27418 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27419 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27420 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27421 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27422 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27423 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27424 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27425
24f579d8
AM
274262011-08-15 Alan Modra <amodra@gmail.com>
27427
27428 [BZ #13092]
27429 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27430 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27431 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27432 ppc_mcount to static-only-routines.
27433 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27434 __mcount_internal.
27435 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27436 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27437
3d4837df
UD
274382011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27439
27440 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27441 for finite and infinity parameters.
27442
22700377
WS
274432011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27444
27445 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27446 and add nop instructions for throughput optimization.
27447 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27448
5025581e
WS
274492011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27450
27451 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27452 aligned copy for power7 with vector-scalar instructions.
27453 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27454
08a300c9
L
274552011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27456
27457 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27458 AVX check.
27459
59178ef9
AS
274602011-09-07 Andreas Schwab <schwab@redhat.com>
27461
27462 [BZ #13144]
27463 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27464 last change.
27465
e38ba7ab
UD
274662011-09-07 Ulrich Drepper <drepper@gmail.com>
27467
27468 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27469 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27470 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27471 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27472 clock_gettime.
27473
d53a73ac
UD
274742011-09-06 Ulrich Drepper <drepper@gmail.com>
27475
fc8bffcc
UD
27476 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27477 Forgot to demangle the pointer.
27478
ceaa0c5d
UD
27479 * sysdeps/i386/sysdep.h: Define atom_text_section.
27480 * sysdeps/x86_64/sysdep.h: Likewise.
27481 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27482 section with atom_text_section.
27483 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27484 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27485 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27486 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27487 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27488
a77d3c17
UD
27489 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27490 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27491 already be defined. Change to take two parameters and don't assign
27492 result to variable. Adjust all users.
27493 Define INTERNAL_GETTIME if not already defined.
27494 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27495 call.
27496 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27497 HAVE_CLOCK_GETTIME_VSYSCALL.
27498 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27499
d53a73ac
UD
27500 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27501 gettimeofday vsyscall, just use time.
27502
a8f84144
AS
275032011-09-06 Andreas Schwab <schwab@redhat.com>
27504
27505 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27506 <errno.h>.
27507
ef606249
UD
275082011-09-06 Ulrich Drepper <drepper@gmail.com>
27509
27510 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27511 syscall on x86-64.
27512 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27513 syscall.
27514 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27515 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27516 syscall if possible.
27517
6585cb60
UD
275182011-09-05 Ulrich Drepper <drepper@gmail.com>
27519
27520 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27521 e_ident. Don't pass to find_mapsXX.
27522 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27523
a5f524e4
LD
275242011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27525
27526 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27527 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27528 * sysdeps/x86_64/multiarch/strchr.S: Update.
27529 Check bit_slow_BSF bit.
27530 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27531 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27532 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27533
554881ef
UD
275342011-09-05 Ulrich Drepper <drepper@gmail.com>
27535
d96de963
UD
27536 [BZ #13134]
27537 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27538 before glibc 2.15.
27539 (tryshell): Define.
27540 (__spawni): Change last parameter to be flag. Test
27541 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27542 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27543 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27544 * posix/spawni.c: Likewise.
27545 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27546 * posix/spawnp.c: Likewise. Change normal version to use
27547 SPAWN_XFLAGS_USE_PATH.
27548 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27549 SPAWN_XFLAGS_TRY_SHELL.
27550
d48e5868
UD
27551 [BZ #13150]
27552 * posix/glob.h: Remove gcc 1.x support.
27553
554881ef
UD
27554 [BZ #13068]
27555 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27556
693fb948
LD
275572011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27558
27559 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27560 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27561 strrchr-sse2-bsf
27562 * sysdeps/i386/i686/multiarch/strchr.S: New file.
27563 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27564 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27565 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27566 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27567 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27568
1b48c537
UD
275692011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27570
49d42c37
UD
27571 * sysdeps/x86_64/wcscmp.S: New file.
27572
1b48c537
UD
27573 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27574 wcscmp-c wcscmp-sse2
27575 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27576 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27577 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27578 * wcsmbs/wcscmp.c: Allow renaming.
27579
15c95c5d
DM
275802011-09-05 David S. Miller <davem@davemloft.net>
27581
27582 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27583 stack slot, rather than the struct return pointer slot.
27584 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27585 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27587 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27588
2f0ad8f3
UD
275892011-09-05 Ulrich Drepper <drepper@gmail.com>
27590
d88ae418
UD
27591 * po/ja.po: Update from translation team.
27592
2f0ad8f3
UD
27593 [BZ #13144]
27594 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27595 kernel in 64-bit binaries.
27596
5f4318d1
DM
275972011-09-01 David S. Miller <davem@davemloft.net>
27598
27599 * elf/elf.h (HWCAP_SPARC_*): Move to..
27600 * sysdeps/sparc/sysdep.h: this new file and add new values.
27601 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27602 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27603 _DL_HWCAP_COUNT to 24.
27604 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27605 entries.
27606 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27607 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27608 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27609 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27610 instead of magic constants.
27611 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27612
3ba57516
DM
276132011-08-31 David S. Miller <davem@davemloft.net>
27614
27615 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27616 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27617 Reimplement to do errno handling inline.
27618 (SYSCALL_ERROR_HANDLER): New macro.
27619 (__SYSCALL_STRING): Do not do errno handling in asm.
27620 (__CLONE_SYSCALL_STRING): Delete.
27621 (__INTERNAL_SYSCALL_STRING): Delete.
27622 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27623 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27624 (PSEUDO): Reimplement to do errno handling inline.
27625 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27626 (SYSCALL_ERROR_HANDLER): New macro.
27627 (__SYSCALL_STRING): Do not do errno handling in asm.
27628 (__CLONE_SYSCALL_STRING): Delete.
27629 (__INTERNAL_SYSCALL_STRING): Delete.
27630 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27631 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27632 i386.
27633 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27634 (inline_syscall*): Add 'err' argument.
27635 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27636 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27637 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27638 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27639
27640 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27641 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27642
2bc17433
AS
276432011-08-30 Andreas Schwab <schwab@redhat.com>
27644
27645 * elf/rtld.c (dl_main): Relocate objects in dependency order.
27646
fbeb5f4d
JO
276472011-08-29 Jiri Olsa <jolsa@redhat.com>
27648
27649 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27650 directive.
27651
ad69cc26
DM
276522011-08-24 David S. Miller <davem@davemloft.net>
27653
27654 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27655
39dd69df
AS
276562011-08-24 Andreas Schwab <schwab@redhat.com>
27657
27658 * elf/Makefile: Add rules to build and run unload8 test.
27659 * elf/unload8.c: New file.
27660 * elf/unload8mod1.c: New file.
27661 * elf/unload8mod1x.c: New file.
27662 * elf/unload8mod2.c: New file.
27663 * elf/unload8mod3.c: New file.
27664
27665 * elf/dl-close.c (_dl_close_worker): Reset private search list if
27666 it wasn't used.
27667
2c0b250a
DM
276682011-08-23 David S. Miller <davem@davemloft.net>
27669
27670 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27671 subtract stack bias.
27672 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27673 %sp not %fp in calculations.
27674 (_JMPBUF_UNWINDS_ADJ): Likewise.
27675
22044b48
DM
27676 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27677 (aio_suspend): Call it to force an exception region around the
27678 AIO_MISC_WAIT() invocation.
27679
2cae4995
AS
276802011-08-23 Andreas Schwab <schwab@redhat.com>
27681
27682 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27683 backslash.
27684
873a772e
AJ
276852011-07-04 Aurelien Jarno <aurelien@aurel32.net>
27686
27687 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27688 protection macro.
27689 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27690 and <dl-machine.h>.
27691 (Elf64_FuncDesc): Remove.
27692
25ad0df1
DM
276932011-08-22 David S. Miller <davem@davemloft.net>
27694
27695 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27696 sigaltstack check, add missing cfi directives.
27697 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27698 missing cfi directives, and sigaltstack handling.
27699
e888bcbe
AS
277002011-08-16 Andreas Schwab <schwab@redhat.com>
27701
27702 [BZ #11724]
27703 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27704 object is seen twice.
27705 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27706
27707 * elf/Makefile (distribute): Add tst-initorder2.c.
27708 (tests): Add tst-initorder2.
27709 (modules-names): Add tst-initorder2a tst-initorder2b
27710 tst-initorder2c tst-initorder2d. Add rules to build them.
27711 ($(objpfx)tst-initorder2.out): New rule.
27712 * elf/tst-initorder2.c: New file.
27713 * elf/tst-initorder2.exp: New file.
27714
87162f46
AS
277152011-08-22 Andreas Schwab <schwab@redhat.com>
27716
70538b7f
AS
27717 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27718
f55ffe58
AS
27719 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27720 dependencies back to end of function.
27721
87162f46
AS
27722 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27723 $(elfobjdir)/ld.so.
27724
91b392a4
UD
277252011-08-21 Ulrich Drepper <drepper@gmail.com>
27726
27727 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27728 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27729 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27730 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27731 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27732 of __vdso_gettimeofday.
27733 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27734 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
27735 attribute_hidden.
27736 (_libc_vdso_platform_setup): Remove initialization of
27737 __vdso_gettimeofday and __vdso_time.
27738
5c43483f
UD
277392011-08-20 Ulrich Drepper <drepper@gmail.com>
27740
775a77e7
UD
27741 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27742 and fgetc_unlocked.
27743 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27744 getc_unlocked.
89f447ed 27745
49c74ba9
UD
27746 * elf/dl-open.c (add_to_global): Report additions to the global scope
27747 for LD_DEBUG=scopes.
27748 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 27749 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 27750
5c43483f
UD
27751 [BZ #13114]
27752 * stdio-common/Makefile (tests): Add bug24.
27753 * stdio-common/bug24.c: New file.
27754
a101b025
AJ
277552011-08-19 Andreas Jaeger <aj@suse.de>
27756
27757 [BZ #13114]
27758 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27759 non-existant file when using close-on-exec mode.
27760
c88f1766
UD
277612011-08-20 Ulrich Drepper <drepper@gmail.com>
27762
0276a718
UD
27763 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27764 the very first instruction.
27765
c88f1766
UD
27766 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27767 the CFI state in the end.
27768 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27769 inclusion of dl-trampoline.h.
27770 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27771
51ccffa0
AS
277722011-08-19 Andreas Schwab <schwab@redhat.com>
27773
94d7165f
AS
27774 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27775 expectations for long double.
27776
51ccffa0
AS
27777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27778 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27779
fd708658 277802011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
27781
27782 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27783 artificual limit depends upon the system page size.
27784
44f0a71e
UD
277852011-08-17 Ulrich Drepper <drepper@gmail.com>
27786
27787 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27788 * resolv/Makefile: Define CFLAGS-libresolv.
27789
8de79a24
AS
277902011-08-17 Andreas Schwab <schwab@redhat.com>
27791
27792 * nss/makedb.c (compute_tables): Make variables used in nested
27793 function static.
27794
27724598
UD
277952011-08-17 Ulrich Drepper <drepper@gmail.com>
27796
c5305d88
UD
27797 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27798 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27799 if buffer was too small.
27800
27724598
UD
27801 * elf/pldd.c (main): Attach to all threads in the process.
27802 Rewrite /proc handling to use *at functions.
27803
076fe015
UD
278042011-08-16 Ulrich Drepper <drepper@gmail.com>
27805
174baab3
UD
27806 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27807 specifies first scope to show.
27808 (dl_open_worker): Update callers. Move printing scope of new
27809 object to before the relocation.
44f0a71e 27810 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
27811 * sysdeps/generic/ldsodefs.h: Update declaration.
27812
076fe015
UD
27813 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27814 string for the scope number.
27815
a60df2c3
UD
278162011-08-14 Ulrich Drepper <drepper@gmail.com>
27817
27818 * nscd/servicescache.c (cache_addserv): Make sure written is always
27819 initialized.
27820
5e4287d1
RM
278212011-08-14 Roland McGrath <roland@hack.frob.com>
27822
85ae0589
RM
27823 * sysdeps/i386/i486/bits/atomic.h
27824 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27825 statement expression, so as to suppress "set but not used" warning.
27826 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27827
69f63097
RM
27828 * string/strncat.c (STRNCAT): Use prototype definition.
27829
675456ef
RM
27830 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
27831 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
27832 -Iprograms here.
27833 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
27834 (localedef-modules): Add localedef.
27835 (locale-modules): Add locale.
27836
5e4287d1
RM
27837 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
27838 * elf/rtld.c (dl_main): Invert order of assignment in last change,
27839 to avoid a warning.
27840
9c96ff23
DM
278412011-08-14 David S. Miller <davem@davemloft.net>
27842
27843 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
27844 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
27845
f9ddf089
UD
278462011-08-13 Ulrich Drepper <drepper@gmail.com>
27847
44f0a71e 27848 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
27849 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
27850 * elf/rtld.c (dl_main): Set l_name of vDSO.
27851 Call _dl_show_scope when DL_DEBUG_SCOPES.
27852 (process_dl_debug): Recognize scopes flag and also set it for all.
27853 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
27854 Declare _dl_show_scope.
27855
1dc27704
UD
27856 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
27857 (do_dlopen): Pass caller_dlopen to dl_open.
27858 (__libc_dlopen_mode): Initialize caller_dlopen.
27859
f9ddf089
UD
27860 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
27861 of libc. Make tolower call locale-independent. Optimize a bit by
27862 using isdigit instead of isalnum.
27863 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
27864
9ac533d3
UD
278652011-08-12 Ulrich Drepper <drepper@gmail.com>
27866
27867 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
27868 was a dependency or dynamically loaded.
27869
89edf2e9
UD
278702011-08-11 Ulrich Drepper <drepper@gmail.com>
27871
8e999d29
UD
27872 * intl/l10nflist.c: Allow architecture-specific pop function.
27873 * sysdeps/x86_64/l10nflist.c: New file.
27874
89edf2e9
UD
27875 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
27876 classification.
27877
14d96785
AS
278782011-08-10 Andreas Schwab <schwab@redhat.com>
27879
27880 * include/dirent.h: Add libc_hidden_proto for scandirat and
27881 scandirat64. Don't declare __scandirat64.
27882 * dirent/scandirat.c: Add libc_hidden_def.
27883 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
27884 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
27885
6761ac04
DM
278862011-08-10 David S. Miller <davem@davemloft.net>
27887
27888 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
27889 enum.
27890 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27891 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27892 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27893
c55fbd1e
UD
278942011-08-09 Ulrich Drepper <drepper@gmail.com>
27895
27896 * Versions.def [libc]: Add GLIBC_2.15.
27897 * dirent/Makefile (routines): Add scandirat and scandirat64.
27898 * dirent/Versions [libc]: Export scandirat and scandirat64 for
27899 GLIBC_2.15.
27900 * dirent/dirent.h: Declare scandirat and scandirat64.
27901 * dirent/scandirat.c: New file.
27902 * dirent/scandirat64.c: New file.
27903 * sysdeps/wordsize-64/scandirat.c: New file.
27904 * sysdeps/wordsize-64/scandirat64.c: New file.
27905 * dirent/opendir.c: Define opendirat.
27906 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
27907 using scandirat.
27908 * dirent/scandir64.c: Adjust for scandir.c change.
27909 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
27910 __scandirat64, and __scandir_cancel_handler.
27911 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
27912 additional parameter and use openat instead of open (outside of ld.so).
27913 Add new __opendir as wrapper around __opendirat.
27914 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
27915 here without requiring old scandirat implementation.
27916
879165f2
UD
279172011-08-08 Ulrich Drepper <drepper@gmail.com>
27918
27919 * dirent/scandir.c (cancel_handler): Renamed to
27920 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
27921 defined. Adjust users.
27922 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
27923 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
27924
cb7e923b
UD
279252011-08-04 Ulrich Drepper <drepper@gmail.com>
27926
16292edd
UD
27927 * string/test-string.h (IMPL): Use __STRING to expand name and then
27928 stringify it.
27929
cb7e923b
UD
27930 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
27931 of cleanups.
27932
cff82933
LD
279332011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27934
27935 * string/Makefile: Update.
27936 (strop-tests): Append strncat.
27937 * string/test-wcscmp.c: New file.
27938 New comprehensive test for wcscmp.
27939 * string/test-strcmp.c: Update.
27940 (WIDE): New define.
27941
9be9bfcc
AS
279422011-07-22 Andreas Schwab <schwab@redhat.com>
27943
27944 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
27945 line.
27946
2e96f1c7
AS
279472011-07-26 Andreas Schwab <schwab@redhat.com>
27948
27949 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27950 encoding to ACE if AI_IDN.
27951
85188888
JJ
279522011-08-01 Jakub Jelinek <jakub@redhat.com>
27953
27954 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
27955 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
27956
5fa16e9b
LD
279572011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27958
27959 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
27960 Fix overflow bug in strncat.
27961 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27962
27963 * string/test-strncat.c: Update.
27964 Add new tests for checking overflow bugs.
27965
279662011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27967
27968 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27969 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
27970 * sysdeps/i386/i686/multiarch/strcat.S: New file.
27971 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
27972 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
27973 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
27974 * sysdeps/i386/i686/multiarch/strncat.S: New file.
27975 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
27976 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
27977
27978 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
27979 (USE_AS_STRCAT): Define.
27980 Add strcat and strncat support.
27981 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27982
8c1a459f
AS
279832011-07-25 Andreas Schwab <schwab@redhat.com>
27984
27985 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
27986 __n bigger than INT_MAX+1.
27987 (__strncmp_g): Likewise.
27988
bba33c28
UD
279892011-07-23 Ulrich Drepper <drepper@gmail.com>
27990
798be72d
UD
27991 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
27992 * libio/stido.h: Likewise.
27993
8accd4dc
UD
27994 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
27995 (AF_NFC): Define.
27996 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
27997 (AF_NFC): Define.
27998
cbff0d96
UD
27999 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28000 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28001 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28002 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28003 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28004
9191c04a
UD
28005 [BZ #13021]
28006 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28007 installed.
28008
bba33c28
UD
28009 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28010 typo.
28011 (_dl_x86_64_save_sse): Likewise.
28012
90f139dd
UD
280132011-07-22 Ulrich Drepper <drepper@gmail.com>
28014
1aae088a
UD
28015 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28016 OSXSAVE.
28017 (_dl_x86_64_save_sse): Likewise.
28018
8e2045f5
UD
28019 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28020
90f139dd
UD
28021 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28022
1d002f25
AS
280232011-07-21 Andreas Schwab <schwab@redhat.com>
28024
28025 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28026 change.
28027 (_dl_x86_64_save_sse): Use correct AVX check.
28028
21137f89
UD
280292011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28030
28031 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28032 bug in strncpy/strncat.
28033 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28034
a65c0b7a
UD
280352011-07-21 Ulrich Drepper <drepper@gmail.com>
28036
28037 * string/tester.c (test_strcat): Add tests for different alignments
28038 of source and destination.
28039 (test_strncat): Likewise.
28040
6986b98a
UD
280412011-07-20 Ulrich Drepper <drepper@gmail.com>
28042
90bb2039
UD
28043 [BZ #12852]
28044 * posix/glob.c (glob): Check passed in values before using them in
28045 expressions to avoid some overflows.
28046 (glob_in_dir): Likewise.
28047
5644ef54
UD
28048 [BZ #13007]
28049 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28050 check for AVX enablement so that we don't crash with old kernels and
28051 new hardware.
28052 * elf/tst-audit4.c: Add same checks here.
28053 * elf/tst-audit6.c: Likewise.
28054
28055 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28056
bfc9dc9b
AS
280572011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28058
28059 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28060
702e64bb
UD
280612011-07-20 Ulrich Drepper <drepper@gmail.com>
28062
28063 * po/cs.po: Update from translation team.
28064 * po/bg.po: Likewise.
28065
295e904f
MP
280662011-07-12 Marek Polacek <mpolacek@redhat.com>
28067
28068 * misc/sys/cdefs.h: Add support for const attribute.
28069 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28070 to gnu_dev_{major,minor,makedev} functions.
28071
3ff94596
MP
280722011-07-20 Marek Polacek <mpolacek@redhat.com>
28073
28074 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28075
28b59fca
AS
280762011-07-20 Andreas Schwab <schwab@redhat.com>
28077
28078 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28079 strlen results.
28080
19df733e
AK
280812011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28082
28083 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28084 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28085 register in order to avoid conflicts with the soft frame pointer
28086 being held in r11 when necessary.
28087 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28088 (INTERNAL_VSYSCALL_NCS): Likewise.
28089
c8835729
MP
280902011-07-14 Marek Polacek <mpolacek@redhat.com>
28091
28092 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28093 * elf/dl-fini.c (_dl_fini): Adjust caller.
28094 * elf/dl-close.c (_dl_close_worker): Likewise.
28095 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28096
b902330c
MP
280972011-07-15 Marek Polacek <mpolacek@redhat.com>
28098
8991e135
MP
28099 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28100 "aux_cache->nlibs < 0".
28101
b902330c
MP
28102 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28103 in the reload-count case.
28104
99710781
LD
281052011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28106
28107 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28108 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28109 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28110 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28111 * sysdeps/x86_64/multiarch/strcat.S: New file.
28112 * sysdeps/x86_64/multiarch/strncat.S: New file.
28113 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28114 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28115 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28116 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28117 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28118 (USE_AS_STRCAT): Define.
28119 Add strcat and strncat support.
28120 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28121 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28122 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28123 * string/strncat.c: Update.
28124 (USE_AS_STRNCAT): Define.
28125 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28126 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28127 and i7.
28128 * sysdeps/x86_64/multiarch/init-arch.h
28129 (bit_Prefer_PMINUB_for_stringop): New.
28130 (index_Prefer_PMINUB_for_stringop): Likewise.
28131 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28132 bit_Prefer_PMINUB_for_stringop.
28133
7dc6bd90
UD
281342011-07-19 Ulrich Drepper <drepper@gmail.com>
28135
28136 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28137 buffer64.
28138 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28139 of casting of buffer.
28140 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28141 buffer32 and buffer64.
28142 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28143 writes instead of casting of buffer.
28144 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28145 buffer32.
28146 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28147 casting of buffer.
28148
e0e72284
AS
281492011-07-19 Andreas Schwab <schwab@redhat.com>
28150
28151 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28152
feb1eb0b
UD
281532011-07-19 Ulrich Drepper <drepper@gmail.com>
28154
28155 * nscd/nscd.c (termination_handler): Don't do anything for a database
28156 if it has not yet been initialized.
28157
298711ff
UD
281582011-07-18 Ulrich Drepper <drepper@gmail.com>
28159
28160 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28161
281622011-07-15 Marek Polacek <mpolacek@redhat.com>
28163
28164 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28165
f9d68389
UD
281662011-07-18 Ulrich Drepper <drepper@gmail.com>
28167
28168 * po/nl.po: Update from translation team.
28169 * po/sv.po: Likewise.
28170
db290cf5
RM
281712011-07-16 Roland McGrath <roland@hack.frob.com>
28172
28173 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28174 now disallowed by GCC.
5c550700 28175
fd5e21c7
RM
28176 * configure.in (use-default-link): Default to yes if a test -shared
28177 link meets our qualifications.
28178 * configure: Regenerated.
28179
5c550700
RM
28180 * config.make.in (output-format): New variable.
28181 * configure.in: Check for ld --print-output-format support.
28182 * configure: Regenerated.
28183 * Makerules ($(common-objpfx)format.lds)
28184 [$(output-format) != unknown]: Just use $(output-format),
28185 instead of the linker-script munging.
28186
9fa2c032
RM
281872011-07-14 Roland McGrath <roland@hack.frob.com>
28188
a6928d51
RM
28189 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28190 of $(common-objpfx)shlib.lds.
28191 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28192
661607b3
RM
28193 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28194 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28195
9fa2c032
RM
28196 * configure.in (-z relro check): Adjust test code to add a large
28197 writable data section after it.
28198 * configure: Regenerated.
28199
defe9061
RM
282002011-07-11 Roland McGrath <roland@hack.frob.com>
28201
28202 * configure.in (-z relro check): Fix test code to make the variable
28203 truly const.
28204 * configure: Regenerated.
28205
319b9ad4
UD
282062011-07-11 Ulrich Drepper <drepper@gmail.com>
28207
28208 * nscd/nscd.h (struct traced_file): Define.
28209 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28210 elements. Add traced_files.
28211 (inotify_fd): Declare.
28212 (register_traced_file): Declare.
28213 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28214 (inotify_fd): Export.
28215 (resolv_conf_descr): Remove.
28216 (nscd_init): Move inotify descriptor creation to main.
28217 Don't register files for notification here.
28218 (register_traced_file): New function.
28219 (invalidate_cache): Don't use reset_res to determine whether to call
28220 res_init, go through the list of registered files.
28221 (main_loop_poll): The inotify descriptors are now stored in the
28222 structures for the traced files.
28223 (main_loop_epoll): Likewise
28224 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28225 to __nss_disable_nscd.
28226 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28227 for a database anymore. Check the records for all the registered
28228 files instead.
28229 * nss/Makefile (libnss_files-routines): Add files-init.
28230 (libnss_db-routines): Add db-init.
28231 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28232 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28233 * nss/nss_db/db-init.c: New file.
28234 * nss/nss_files/files-init.c: New file.
28235 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28236 __nss_lookup_function.
28237 (__nss_lookup_function): Call nss_load_library.
28238 (nss_load_all_libraries): New function.
28239 (__nss_disable_nscd): Take parameter with callback function for files
28240 to register. Set is_nscd. Load all the DSOs for the NSS modules
28241 used for the cached services.
28242 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28243 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28244 options for features to all the files in nscd.
28245
28246 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28247
23bee3e8
RM
282482011-07-10 Roland McGrath <roland@hack.frob.com>
28249
28250 * csu/elf-init.c (__libc_csu_init): Comment typo.
28251
46a5b7f0
UD
282522011-07-09 Ulrich Drepper <drepper@gmail.com>
28253
28254 * po/pl.po: Update from translation team.
28255 * po/ja.po: Likewise.
28256 * po/ru.po: Likewise.
28257 * po/ko.po: Likewise.
28258 * po/fr.po: Likewise.
28259
d30cf5bb
RM
282602011-07-09 Roland McGrath <roland@hack.frob.com>
28261
113ddea4
RM
28262 * configure.in (.ctors/.dtors header and trailer check):
28263 Use an empirical test on a built program.
28264 * configure: Regenerated.
28265
574920b4
RM
28266 * configure.in (-z relro check): Use an empirical test on a built DSO.
28267 Detect, but do not require, on ia64.
28268 * configure: Regenerated.
28269
d30cf5bb
RM
28270 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28271 Update tests that use readelf to use $READELF instead.
28272 * configure: Regenerated.
28273
8538fdb3
UD
282742011-07-08 Ulrich Drepper <drepper@gmail.com>
28275
28276 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28277 if the result is not used.
28278
04d08991
AJ
282792011-07-05 Andreas Jaeger <aj@suse.de>
28280
28281 [BZ#9696]
28282 * stdlib/tst-strtod.c: Add testcase.
28283
de283087
AD
282842011-07-07 Ulrich Drepper <drepper@gmail.com>
28285
4e5f31c8 28286 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28287 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28288 The latter has a higher limit. Take additional parameter to pass to
28289 the new function.
28290 (__pathconf): Pass file to __statfs_link_max.
28291 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28292 __statfs_link_max.
28293 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28294 __statfs_link_max.
28295
de283087
AD
28296 [BZ #12868]
28297 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28298 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28299 Handle Lustre.
28300 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28301 (__statfs_filesize_max): Likewise.
28302 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28303
c75fa153
AJ
283042011-07-05 Andreas Jaeger <aj@suse.de>
28305
28306 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28307
1a544854
UD
283082011-07-06 Marek Polacek <mpolacek@redhat.com>
28309
28310 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28311 `status' variable.
28312 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28313 Likewise.
28314
6f0eec67
UD
283152011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28316
28317 * Makefile (strop-tests): Add strncat.
28318 * string/test-strncat.c: New file.
28319
aae30307
UD
283202011-06-30 Marek Polacek <mpolacek@redhat.com>
28321
28322 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28323
c0cfb5eb
UD
283242011-06-21 Andreas Jaeger <aj@suse.de>
28325
28326 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28327 Copy rule from iconvdata/Makefile.
28328
01636b21
UD
283292011-07-06 Ulrich Drepper <drepper@gmail.com>
28330
28331 [BZ #12922]
28332 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28333 but no long options are defined, just return 'W'.
28334
9895c8bc
UD
283352011-06-22 Marek Polacek <mpolacek@redhat.com>
28336
28337 [BZ #9696]
28338 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28339
5d4cf042
UD
283402011-07-06 Ulrich Drepper <drepper@gmail.com>
28341
28342 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28343 netgroups to read.
960e5535 28344 (innetgr): Likewise.
5d4cf042 28345
751eb97e
RM
283462011-07-05 Roland McGrath <roland@hack.frob.com>
28347
28348 * config.make.in (install_root): Default to $(DESTDIR).
28349
f15f1e45
UD
283502011-07-05 Ulrich Drepper <drepper@gmail.com>
28351
28352 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28353
4e34ac6a
RM
283542011-07-02 Roland McGrath <roland@hack.frob.com>
28355
5e9b6af4
RM
28356 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28357
84f9ea0f
RM
28358 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28359 containing directory rather than embedding absolute directory names.
28360
ea5ee9f7
RM
28361 * scripts/check-local-headers.sh: Rewritten using awk.
28362 Match by word, not by line. Print error messages for matches.
28363 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28364
1b74661a
RM
28365 * Makerules [shlib-lds-flags empty]:
28366 ($(common-objpfx)libc_pic.opts): New target.
28367 ($(common-objpfx)libc_pic.os.clean): New target.
28368 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28369
28370 * config.make.in (OBJCOPY): New variable.
28371 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28372 * configure: Regenerated.
28373
f781ef40
RM
28374 * config.make.in (use-default-link): New variable.
28375 * configure.in (use_default_link): Grok --with-default-link to set it.
28376 * configure: Regenerated.
28377 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28378 (shlib-lds, shlib-lds-flags): Define to empty.
28379
2d4fa81e
RM
28380 * Makerules (shlib-lds): New variable.
28381 (shlib-lds-flags): New variable.
28382 (build-shlib, build-moduile, build-module-asneeded): Use it.
28383 ($(common-objpfx)libc.so): Use $(shlib-lds).
28384 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28385 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28386
31fffa6b
RM
28387 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28388 DT_FLAGS/DT_FLAGS_1 with zero flags.
28389
4e34ac6a
RM
28390 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28391 linker script munging.
28392
fcfc776b
UD
283932011-07-02 Ulrich Drepper <drepper@gmail.com>
28394
28395 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28396 as 128-bit value.
28397 * crypt/sha512.c (sha512_process_block): Perform total addition using
28398 128-bit if possible.
28399 (__sha512_finish_ctx): Likewise.
28400 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28401 as 64-bit value.
28402 * crypt/sha256.c (SWAP64): Define.
28403 (sha256_process_block): Perform total addition using 64-bit if
28404 possible.
28405 (__sha256_finish_ctx): Likewise.
28406
99231d9a
UD
284072011-07-01 Ulrich Drepper <drepper@gmail.com>
28408
28409 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28410 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28411 * nscd/hstcache.c (cache_addhst): Likewise.
28412 * nscd/grpcache.c (cache_addgr): Likewise.
28413 * nscd/aicache.c (addhstaiX): Likewise
28414 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28415
445b4a53
TK
284162011-07-01 Thorsten Kukuk <kukuk@suse.de>
28417
28418 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28419 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28420 * nscd/hstcache.c (cache_addhst): Likewise.
28421 * nscd/grpcache.c (cache_addgr): Likewise.
28422 * nscd/aicache.c (addhstaiX): Likewise
28423
6d4d8e8e
AS
284242011-07-01 Andreas Schwab <schwab@redhat.com>
28425
28426 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28427 domain only when needed.
28428
89f654c5
AS
284292011-06-30 Andreas Schwab <schwab@redhat.com>
28430
28431 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28432 is always restored.
28433
cf3b23ff
UD
284342011-06-29 Ulrich Drepper <drepper@gmail.com>
28435
28436 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28437 are re-adding the entry.
28438 * nscd/servicescache.c (cache_addserv): Likewise.
28439
751626f9
AJ
284402011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28441
28442 * sysdeps/generic/dl-irel.h: fix protection against multiple
28443 inclusions.
28444 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28445
9113ea1f
UD
284462011-06-28 Ulrich Drepper <drepper@gmail.com>
28447
5c0b8d90
UD
28448 [BZ #12935]
28449 * malloc/memusage.sh: Fix quoting in message.
28450 * debug/xtrace.sh: Likewise.
28451
9113ea1f
UD
28452 * configure.in: Remove support for --experimental-malloc option, make
28453 it the default.
28454 * config.make.in: Likewise.
28455 * malloc/Makefile: Likewise.
28456
a4172181
AS
284572011-06-27 Andreas Schwab <schwab@redhat.com>
28458
28459 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28460 two-byte characters.
28461
78a7eee7
RM
284622011-06-27 Roland McGrath <roland@hack.frob.com>
28463
62bede13
RM
28464 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28465 AC_CACHE_CHECK invocation.
28466 * configure: Regenerated.
28467
78a7eee7
RM
28468 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28469
5ce33a62
UD
284702011-06-27 Ulrich Drepper <drepper@gmail.com>
28471
034807a9
UD
28472 [BZ #12350]
28473 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28474 bit from old_res_options.
28475
4902da17
UD
28476 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28477
5ce33a62
UD
28478 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28479 value type for setfct.
28480
c2344f56
L
284812011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28482
28483 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28484 __gettimeofday instead of gettimeofday.
28485
68468076
UD
284862011-06-26 Ulrich Drepper <drepper@gmail.com>
28487
28488 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28489
acb0d739
L
284902011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28491
28492 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28493
28494 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28495 info.
28496
8912479f
L
284972011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28498
28499 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28500 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28501 strcpy-sse2-unaligned strncpy-sse2-unaligned
28502 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28503 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28504 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28505 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28506 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28507 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28508 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28509 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28510 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28511 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28512 (STRCPY): Support SSE2 and SSSE3 versions.
28513
d5495a11
UD
285142011-06-24 Ulrich Drepper <drepper@gmail.com>
28515
28516 [BZ #12874]
28517 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28518 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28519 kernels which artificially limit size of requests.
28520
0b1cbaae
L
285212011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28522
28523 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28524 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28525 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28526 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28527 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28528 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28529 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28530 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28531 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28532 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28533 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28534 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28535 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28536 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28537 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28539 Enable unaligned load optimization for Intel Core i3, i5 and i7
28540 processors.
28541 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28542 Define.
28543 (index_Fast_Unaligned_Load): Define.
28544 (HAS_FAST_UNALIGNED_LOAD): Define.
28545
07f494a0
MP
285462011-06-23 Marek Polacek <mpolacek@redhat.com>
28547
28548 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28549
fa3fc0fe
UD
285502011-06-22 Ulrich Drepper <drepper@gmail.com>
28551
28552 [BZ #12907]
28553 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28554 until it is clear that the information is realy needed.
28555 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28556
e12df166
AS
285572011-06-22 Andreas Schwab <schwab@redhat.com>
28558
28559 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28560
852eb34d
UD
285612011-06-22 Ulrich Drepper <drepper@gmail.com>
28562
84e2a551
UD
28563 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28564 /sys/devices/system/cpu/online if it is usable.
28565
852eb34d
UD
28566 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28567 reading the information from the /proc filesystem to once a second.
28568
6e502e19
UD
285692011-06-21 Andreas Jaeger <aj@suse.de>
28570
28571 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28572 NULL after inclusion of kernel headers.
28573
75d39ff2
UD
285742011-06-21 Ulrich Drepper <drepper@gmail.com>
28575
51f9aa6a
UD
28576 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28577 calls to internal_setent.
28578
c0244a9d
UD
28579 [BZ #12885]
28580 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28581 addresses using gethostbyname4_r ignore IPv4 addresses.
28582
c5e3c2ae
UD
28583 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28584 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
28585
75d39ff2
UD
28586 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28587
42675c6f
DM
285882011-06-20 David S. Miller <davem@davemloft.net>
28589
28590 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28591 inclusions.
28592 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28593
28594 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28595 (elf_irel): Use it.
28596 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28597 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28598 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28599 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28600 * sysdeps/x86_64/dl-irel.h: Likewise.
28601
28602 * elf/dl-runtime.c: Use elf_ifunc_invoke.
28603 * elf/dl-sym.c: Likewise.
28604
57912a71
UD
286052011-06-15 Ulrich Drepper <drepper@gmail.com>
28606
28607 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
28608 need to dereference resplen2.
28609
ee22793d
AS
286102011-06-14 Andreas Schwab <schwab@redhat.com>
28611
28612 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28613
a9e836b0
UD
286142011-06-15 Ulrich Drepper <drepper@gmail.com>
28615
77fb9117
UD
28616 * Makeconfig: Define vardbdir and inst_vardbdir.
28617 * nss/Makefile: Add rules to install db-Makefile.
28618
40c1b22c
UD
28619 * nss/nss_db/db-XXX.c: Cleanup.
28620
9f2da732
UD
28621 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28622 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28623 GLIBC_PRIVATE.
28624 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28625 * nss/makedb.c: Implement -g option to specify that value strings
28626 are generated and should not be added to table iterated over for
28627 get*ent calls.
28628 * nss/nss_db/db-initgroups.c: New file.
28629
82e9a1f7
UD
28630 * nss/getent.c: Add support for initgroups lookups through getgrouplist
28631 interface.
28632
c41af17e
UD
28633 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28634 (internal_getgrouplist): Adjust to name change.
28635 Update use_initgroups_entry if this is not the first call.
28636 * nss/databases.def: Add initgroups entry.
28637
a9e836b0
UD
28638 * nss/makedb.c (compute_tables): Check result of multiple hash table
28639 sizes to minimize maximum chain length.
28640
2666d441
UD
286412011-06-14 Ulrich Drepper <drepper@gmail.com>
28642
28643 * Versions.def: Add entry for libnss_db.
28644 * shlib-versions: Likewise.
28645 * nss/Makefile: Add rules to build libnss_db.
28646 * nss/Versions: Add libnss_db information. Organize libnss_files
28647 entries better.
28648 * nss/db-Makefile: Add gshadow support. Change rules for the new
28649 makedb progra. Some minor improvements to generate smaller files.
28650 * nss/nss_db/nss_db.h: Move NSS database header data structures to
28651 here from...
28652 * nss/makedb.c: ...here.
28653 Improve database format to be smaller and require less memory at
28654 runtime.
28655 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
28656 db anymore.
28657 * nss/nss_db/db-netgrp.c: Likewise.
28658 * nss/nss_db/db-open.c: Likewise.
28659 * nss/nss_files/flies-XXX.x: Adjust comments.
28660 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28661 * nss/nss_files/files-grp.c: Likewise.
28662 * nss/nss_files/files-hosts.c: Likewise.
28663 * nss/nss_files/files-network.c: Likewise.
28664 * nss/nss_files/files-proto.c: Likewise.
28665 * nss/nss_files/files-pwd.c: Likewise.
28666 * nss/nss_files/files-rpc.c: Likewise.
28667 * nss/nss_files/files-service.c: Likewise.
28668 * nss/nss_files/files-sgrp.c: Likewise.
28669 * nss/nss_files/files-spwd.c: Likewise.
28670 * nss/nss_db/db-alias.c: Removed.
28671 * nss/nss_db/dummy-db.h: Removed.
28672
9ee76b5a
UD
286732011-06-02 Ulrich Drepper <drepper@gmail.com>
28674
28675 * nss/makedb.c: Rewritten to not use database library.
28676 * nss/Makefile: Update to build new makedb program.
28677
c71ca1f8
AJ
286782011-06-14 Andreas Jaeger <aj@suse.de>
28679
28680 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28681 memset declaration.
28682
3154bfb8
UD
286832011-06-10 Andreas Schwab <schwab@redhat.com>
28684
28685 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28686 tmpbuf.
28687
b350afab
RM
286882011-06-10 Roland McGrath <roland@hack.frob.com>
28689
decd4e50
RM
28690 * Makerules (shlib.lds): Fail if the linker script comes out empty.
28691 * elf/Makefile ($(objpfx)ld.so): Likewise.
28692
5615eaf2
RM
28693 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28694 Don't list ld.so twice in dependencies.
28695
28696 * posix/bug-regex31.c: Include <stdlib.h>.
28697
28698 * nscd/hstcache.c (cache_addhst): Remove unused variable.
28699
28700 * nis/nss_compat/compat-spwd.c
28701 (getspent_next_nss_netgr): Remove unused variable.
28702 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28703
28704 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28705 nonmembers" output to use the right array.
28706
28707 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28708
28709 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28710
28711 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28712 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28713 * catgets/gencat.c (read_input_file): Likewise.
28714 * locale/programs/locarchive.c (enlarge_archive): Likewise.
28715
28716 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28717 variable definition inside #if's controlling its use.
28718
28719 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28720
28721 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28722
28723 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28724
28725 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28726 unreachable code.
28727
28728 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28729
b68e08db
RM
28730 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28731 * configure: Regenerated.
28732
b350afab
RM
28733 * Makerules: Revert last change.
28734 * elf/Makefile: Likewise.
28735
28368601
RM
287362011-06-09 Roland McGrath <roland@hack.frob.com>
28737
28738 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28739 * elf/Makefile ($(objpfx)librtld.os): Likewise.
28740 (reloc-link): Likewise.
28741
11988f8f
UD
287422011-06-09 Ulrich Drepper <drepper@gmail.com>
28743
28744 * elf/Makefile: Add rules to build pldd.
28745 * elf/pldd.c: New file.
28746 * elf/pldd-xx.c: New file.
28747
e80fab37
UD
287482011-06-07 Ulrich Drepper <drepper@gmail.com>
28749
28750 * version.h: Update for 2.15 development version.
28751
9b849836
DM
287522011-06-07 David S. Miller <davem@davemloft.net>
28753
28754 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28755 ifuncs.
28756 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28757 elf_machine_lazy_rel): Likewise.
28758 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28759 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28760 elf_machine_lazy_rel): Likewise.
28761 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28762 dl_hwcap via passed in argument.
28763 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28764 Likewise.
28765
5a31b283
AK
287662011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28767
28768 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
28769
069e52f8
RM
287702011-06-06 Roland McGrath <roland@hack.frob.com>
28771
28772 [BZ #12849]
28773 * manual/fdl-1.1.texi: New file, verbatim from:
28774 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28775 * manual/lgpl-2.1.texi: New file, verbatim from:
28776 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28777 * manual/Makefile (licenses): New variable, list those new file names.
28778 (texis): Use it.
28779 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28780
28781 * manual/fdl.texi: File removed.
28782 * manual/lesser.texi: File removed.
28783 * manual/libc.texinfo (Copying, Documentation License):
28784 Use new @include file names, put @appendix directive before @include.
28785
f16846a5
JJ
287862011-06-04 Jakub Jelinek <jakub@redhat.com>
28787
28788 [BZ #12841]
28789 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28790 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28791 (mq_open): Add __NTH.
28792
3d29045b
L
287932011-06-02 H.J. Lu <hongjiu.lu@intel.com>
28794
28795 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28796 Assume Intel Core i3/i5/i7 processor if AVX is available.
28797
8c297311
UD
287982011-05-31 Ulrich Drepper <drepper@gmail.com>
28799
28800 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28801 typo.
28802
c8fc0c91
UD
288032011-05-31 Andreas Schwab <schwab@redhat.com>
28804
28805 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28806 memory. Use alloca_account. Fix memory leak when retrying.
28807
5b27a807
UD
288082011-05-31 Ulrich Drepper <drepper@gmail.com>
28809
356f8bc6
UD
28810 * version.h (RELEASE): Bump for 2.14 release.
28811 * include/features.h (__GLIBC_MINOR__): Bump to 14.
28812
5b27a807
UD
28813 * config.make.in (RANLIB): Remove entry.
28814
01f16ab0
UD
288152011-05-30 Ulrich Drepper <drepper@gmail.com>
28816
41fce8bd
UD
28817 * po/Makefile (po-sed-cmd): Add ksh to extensions.
28818 (libc.pot): Work around missing support for .ksh extension in xgettext.
28819
4769ae77
UD
28820 [BZ #12684]
28821 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28822 if both request failed.
28823 (send_dg): In case of server errors clear resplen or *resplen2.
28824
6b1e7d19
UD
28825 [BZ #12454]
28826 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28827 when there are multiple maps.
28828 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
28829 (_dl_fini): Remove test here.
28830
01f16ab0
UD
28831 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
28832
b1ebd700
UD
288332011-05-29 Ulrich Drepper <drepper@gmail.com>
28834
7ae22829
UD
28835 [BZ #12350]
28836 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
28837 bit from old_res_options.
28838 (gaih_inet): Likewise.
28839
553149f6 28840 [BZ #11099]
18a84741 28841 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
28842 as signed.
28843
652ffab1
UD
28844 * resolv/res_init.c (res_setoptions): Make the code more compact.
28845
16985fd0
UD
28846 [BZ #11558]
28847 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
28848 set RES_USEVC.
28849
0464f746
UD
28850 [BZ #11634]
28851 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
28852
7d17596c
UD
28853 * malloc/malloc.h: Mark malloc hook variables as deprecated.
28854
cf6bbbd7
UD
28855 [BZ #11781]
28856 * malloc/malloc.h: Declare malloc hook variables as volatile.
28857
13f1ab36
UD
28858 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
28859 in last patch.
28860
b1ebd700
UD
28861 [BZ #11799]
28862 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 28863 raise in the comment.
80e2212d
UD
28864 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28865 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28866 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 28867
ce67228d
UD
288682011-05-28 Ulrich Drepper <drepper@gmail.com>
28869
8887a920
UD
28870 [BZ #12811]
28871 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
28872 grow the buffers more if it already has to be sufficient.
28873 (build_wcs_upper_buffer): Likewise.
28874 * posix/regexec.c (check_matching): Likewise.
28875 (clean_state_log_if_needed): Likewise.
28876 (extend_buffers): Don't enlarge buffers beyond size of the input
28877 buffer.
28878 Patches mostly by Emil Wojak <emil@wojak.eu>.
28879 * posix/bug-regex32.c: New file.
28880 * posix/Makefile (tests): Add bug-regex32.
28881
4f031072
UD
28882 * locale/findlocale.c (_nl_find_locale): Return right away if
28883 _nl_explode_name failed.
28884 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
28885
d0478f0c
UD
28886 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
28887
de81b246
UD
28888 * debug/xtrace.sh: Unify messages.
28889 * malloc/memusage.sh: Likewise.
28890
c738465a
UD
28891 [BZ #12813]
28892 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
28893 time symbol from vDSO. Substitute with vsyscall if not available.
28894 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
28895 __vdso_time.
28896
f1f929d7
UD
28897 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
28898 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
28899 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
28900 Add sendmmsg and internal_sendmmsg.
28901 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
28902 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
28903 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
28904
ce67228d
UD
28905 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
28906 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
28907 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
28908
e57420c6
UD
289092011-05-27 Ulrich Drepper <drepper@gmail.com>
28910
a8509ca5
UD
28911 [BZ #12813]
28912 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
28913 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
28914 available.
28915 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
28916 __vdso_getcpu.
28917
e57420c6
UD
28918 [BZ #12814]
28919 * iconvdata/Makefile (tests): Add bug-iconv9.
28920 * iconvdata/bug-iconv9.c: New file.
28921
4d07db15
AS
289222011-05-27 Andreas Schwab <schwab@redhat.com>
28923
28924 [BZ #12814]
28925 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
28926
ea486f69
JJ
289272011-05-25 Jakub Jelinek <jakub@redhat.com>
28928
28929 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28930 (struct user_regs_struct): Change intcs field back to cs.
28931
6f038433
UD
289322011-05-25 Ulrich Drepper <drepper@gmail.com>
28933
28934 * po/ja.po: Update from translation team.
28935
67f86a25
UD
289362011-05-23 Ulrich Drepper <drepper@gmail.com>
28937
28938 [BZ #12795]
28939 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
28940 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
28941
def7fbd6
AS
289422011-05-20 Andreas Schwab <schwab@redhat.com>
28943
28944 * stdlib/longlong.h: Update from GCC.
28945
f50ef8f1
AS
289462011-05-23 Andreas Schwab <schwab@redhat.com>
28947
28948 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
28949 parameter name.
28950 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
28951 Add parameter name.
28952 (__sysconf): Pass it down.
28953
de7ce8f1
UD
289542011-05-22 Ulrich Drepper <drepper@gmail.com>
28955
f2962a71
UD
28956 [BZ #12671]
28957 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
28958 some situations.
28959 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
28960 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
28961 add in in __libc_use_alloca calls. Adjust callers.
28962 (glob): Use malloc in some situations.
28963
de7ce8f1
UD
28964 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
28965 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
28966 pltexit.
28967
aec84f53
UD
289682011-05-21 Ulrich Drepper <drepper@gmail.com>
28969
05bb4a68
UD
28970 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
28971 and CLOCK_BOOTTIME_ALARM.
28972
7ea72f99
UD
28973 [BZ #12782]
28974 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
28975 is returned.
28976
7e4afad5
UD
28977 * string/_strerror.c (__strerror_r): Print negative errors as signed
28978 numbers.
28979
8e211fec
UD
28980 [BZ #12777]
28981 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
28982 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
28983 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
28984
f7d82dc9
UD
28985 * configure.in: Fix typo in redirection and correct removal of test
28986 files in two cases.
28987
cc9e536d
UD
28988 [BZ #12788]
28989 * locale/setlocale.c (new_composite_name): Fix test to check for
28990 identical name of all categories.
28991
aec84f53
UD
28992 [BZ #12792]
28993 * libio/filedoalloc.c (local_isatty): New function.
28994 (_IO_file_doallocate): Use local_isatty.
28995 * stdio-common/perror.c (perror): In case a new stream is used
28996 forward the stream error.
28997 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
28998 error flag.
28999
78e64fdc
RT
290002011-05-20 Ulrich Drepper <drepper@gmail.com>
29001
34a9094f
UD
29002 [BZ #11869]
29003 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29004 alloca.
29005 * include/alloca.h (extend_alloca_account): Define.
29006
78e64fdc
RT
29007 [BZ #11857]
29008 * posix/regex.h: Fix comments with documentation of user-accessible
29009 fields after compilation and describe correct free'ing of pattern
29010 after re_compile_pattern.
29011 Patch by Reuben Thomas <rrt@sc3d.org>.
29012
457bddfc
RA
290132011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29014
29015 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29016 and -mno-altivec to prevent the compiler from using Altivec and/or
29017 VSX instructions when the corresponding registers are not available.
29018
a4527b51
AS
290192011-05-19 Andreas Schwab <schwab@redhat.com>
29020
29021 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29022
ed690b2f
UD
290232011-05-19 Ulrich Drepper <drepper@gmail.com>
29024
29025 * libio/freopen.c (freopen): Use __dup2, not dup2.
29026 * libio/freopen64.c (freopen64): Likewise.
29027
8db73634
L
290282011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29029
29030 [BZ #12775]
29031 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29032 * math/Makefile (tests): Add test-powl.
29033 (CFLAGS-test-powl.c): Define.
29034 * math/test-powl.c: New file.
29035
0a197a9d
L
290362011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29037
29038 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29039
ee30c380
UD
290402011-05-17 Ulrich Drepper <drepper@gmail.com>
29041
29042 [BZ #11837]
29043 * iconvdata/gb18030.c: Update to GB18020-2005.
29044
6ce75379
UD
290452011-05-16 Ulrich Drepper <drepper@gmail.com>
29046
a4b89fd8
AR
29047 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29048 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29049 Patch by Aharon Robbins <arnold@skeeve.com>.
29050
ea389b12
UD
29051 [BZ #11892]
29052 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29053 on the stack.
29054
68a3f91f
UD
29055 [BZ #11895]
29056 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29057 through underflows.
29058
15cc7dd1
UD
29059 [BZ #12766]
29060 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29061 point to strings before performing equality test for error_one_per_line
29062 mode.
29063
f3799213
UD
29064 [BZ #11697]
29065 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29066
d79a9c94
UD
29067 [BZ #11820]
29068 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29069 (struct user_fpregs_struct): Avoid __uint*_t types.
29070
56e5eb46
UD
29071 [BZ #6420]
29072 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29073 symbol info. Use it instead of calling _dl_addr locally.
29074 (lock_and_info): New function.
29075 (tr_freehook): Call lock_and_info and pass symbol info as additional
29076 parameter to tr_where.
29077 (tr_mallochook): Likewise.
29078 (tr_reallochook): Likewise.
29079 (tr_memalignhook): Likewise.
29080
6ce75379
UD
29081 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29082 used and couldn't be at all thread-safe.
29083
f8a3b5bf
UD
290842011-05-15 Ulrich Drepper <drepper@gmail.com>
29085
94b7cc37
UD
29086 * libio/freopen.c (freopen): Don't close old file descriptor
29087 before the new one is opened. Instead dup the new file descriptor
29088 to the old one after the new stream is created.
29089 * libio/freopen64.c (freopen64): Likewise.
29090 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29091 * libio/fileops.c (_IO_new_file_close_it): Handle new
29092 _IO_FLAGS2_NOCLOSE flag.
29093 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29094 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29095 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29096 _IO_FLAGS2_NOCLOSE flag.
29097 * include/unistd.h: Add hidden_proto for dup3.
29098 Define __have_dup3.
29099 * io/dup3.c: Define hidden symbol.
29100 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29101
bd25564e
UD
29102 [BZ #7101]
29103 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29104 when an incomplete long option is used.
29105 * posix/tst-getopt_long1.c: New file.
29106 * posix/Makefile (tests): Add tst-getopt_long1.
29107
c84cfef4
UD
29108 [BZ #10138]
29109 * scripts/config.guess: Update from autoconf-2.68.
29110 * scripts/config.sub: Likewise.
29111
3b85df27
UD
29112 [BZ #10157]
29113 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29114 tests into ...
29115 (has_cpuclock): ...this. New function.
29116 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29117 macro here based on has_cpuclock code.
29118
15a856b1
UD
29119 [BZ #10149]
29120 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29121 First byte (not low byte) is now always NUL.
29122 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29123
05f399e6
UD
29124 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29125 Use non-cancelable interfaces.
29126
10a52685 29127 [BZ #9809]
94ecc67d
UD
29128 * locale/iso-639.def: Add entry for Sorani.
29129
f8a3b5bf
UD
29130 [BZ #11901]
29131 * include/stdlib.h: Move include protection to the right place.
29132 Define abort_msg_s. Declare __abort_msg with it.
29133 * stdlib/abort.c (__abort_msg): Adjust type.
29134 * assert/assert.c (__assert_fail_base): New function. Majority
29135 of code from __assert_fail. Allocate memory for __abort_msg with
29136 mmap.
29137 (__assert_fail): Now call __assert_fail_base.
29138 * assert/assert-perr.c: Remove bulk of implementation. Use
29139 __assert_fail_base.
29140 * include/assert.hL Declare __assert_fail_base.
29141 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29142 mmap.
29143 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29144
1af4e298
UD
291452011-05-14 Ulrich Drepper <drepper@gmail.com>
29146
f8a3b5bf 29147 [BZ #11952]
d26dfc60
MG
29148 [BZ #12453]
29149 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29150 until all modules are registered in the DTV.
29151 * elf/Makefile: Add rules to build and run tst-tls19.
29152 * elf/tst-tls19.c: New file.
29153 * elf/tst-tls19mod1.c: New file.
29154 * elf/tst-tls19mod2.c: New file.
29155 * elf/tst-tls19mod3.c: New file.
29156 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29157
2fc54d6f
UD
29158 [BZ #12083]
29159 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29160 correctly.
29161
98d76b46
UD
29162 [BZ #12601]
29163 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29164 two-byte sequence errors.
29165 * iconvdata/Makefile (tests): Add bug-iconv8.
29166 * iconvdata/bug-iconv8.c: New file.
29167
da3c19ef
UD
29168 [BZ #12626]
29169 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29170 buf2 definition.
29171
ca408c15
UD
29172 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29173
d6f67f7d
UD
29174 [BZ #12432]
29175 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29176 (dummy_getcfa): New function.
29177 (init): Get _Unwind_GetCFA address, use dummy if not found.
29178 (backtrace_helper): In recursion check, also check whether CFA changes.
29179 (__backtrace): Completely initialize arg.
29180
1af4e298 29181 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29182 storing incomplete byte sequence in state object. Avoid testing for
29183 guaranteed too small input if we know there is enough data available.
1af4e298 29184
da62f81b
AS
291852011-05-11 Andreas Schwab <schwab@redhat.com>
29186
29187 * Makeconfig (+link-pie): Indent.
29188 * Rules (binaries-pie): Define if $(have-fpie) and
29189 $(build-shared).
29190 (binaries-shared): Also filter out $(binaries-pie).
29191 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29192 * nscd/Makefile (others-pie): Add nscd.
29193 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29194 ($(objpfx)nscd): Remove command override.
29195 * login/Makefile (others-pie): Add pt_chown.
29196 ($(objpfx)pt_chown): Remove command override.
29197 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29198 remove command overrides.
29199
fcabc0f8
UD
292002011-05-13 Ulrich Drepper <drepper@gmail.com>
29201
20030ae6
UD
29202 * libio/tst_putwc.c: Fix error messages.
29203
fcabc0f8
UD
29204 [BZ #12724]
29205 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29206 currently writing and seek to current position when not.
29207 * libio/Makefile (tests): Add bug-fclose1.
29208 * libio/bug-fclose1.c: New file.
29209
320a5dc0
PB
292102011-05-12 Ulrich Drepper <drepper@gmail.com>
29211
29212 [BZ #12511]
29213 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29214 don't set DF_1_NODELETE here.
29215 (do_lookup_x): When entering new entry test for copy relocation
29216 and if necessary set DF_1_NODELETE flag.
29217 * elf/tst-unique4.cc: New file.
29218 * elf/tst-unique4.h: New file.
29219 * elf/tst-unique4lib.cc: New file.
29220 * elf/Makefile: Add rules to build and run tst-unique4.
29221 Patch by Piotr Bury <pbury@goahead.com>.
29222
22836f52
UD
292232011-05-11 Ulrich Drepper <drepper@gmail.com>
29224
f574184a
UD
29225 [BZ #12052]
29226 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29227
e1fb097f
UD
29228 [BZ #12625]
29229 * misc/mntent_r.c (addmntent): Flush the stream after the output
29230
22836f52
UD
29231 [BZ #12393]
29232 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29233 (is_trusted_path_normalize): Skip initial colon. Append slash
29234 to empty buffer. Duplicate is_trusted_path code but allow
29235 constructed patch to be prefix.
29236 (is_dst): Allow $ORIGIN followed by /.
29237 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29238 Correct testing of result of is_trusted_path_normalize
29239 (decompose_rpath): Fix warning.
29240
7b3b0b2a
UD
292412011-05-10 Ulrich Drepper <drepper@gmail.com>
29242
29243 [BZ #11257]
29244 * grp/initgroups.c (internal_getgrouplist): When we found the service
29245 list through the initgroups entry in nsswitch.conf do not always
29246 continue on a successful lookup. Don't always use the
eac80ce2 29247 __nss_group_database value if it is set.
7b3b0b2a
UD
29248 * nss/nsswitch.conf (initgroups): Change action for successful db
29249 lookup to continue for compatibility.
29250
2a81eaa5
UD
292512011-05-09 Ulrich Drepper <drepper@gmail.com>
29252
be97a69e
UD
29253 [BZ #11532]
29254 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29255 and CP774 modules.
29256 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29257 and CP774 modules.
29258 * iconvdata/tst-tables.sh: Likewise.
29259 * iconvdata/cp770.c: New file.
29260 * iconvdata/cp771.c: New file.
29261 * iconvdata/cp772.c: New file.
29262 * iconvdata/cp773.c: New file.
29263 * iconvdata/cp774.c: New file.
29264 * iconvdata/testdata/CP770: New file.
29265 * iconvdata/testdata/CP770..UTF8: New file.
29266 * iconvdata/testdata/CP771: New file.
29267 * iconvdata/testdata/CP771..UTF8: New file.
29268 * iconvdata/testdata/CP772: New file.
29269 * iconvdata/testdata/CP772..UTF8: New file.
29270 * iconvdata/testdata/CP773: New file.
29271 * iconvdata/testdata/CP773..UTF8: New file.
29272 * iconvdata/testdata/CP774: New file.
29273 * iconvdata/testdata/CP774..UTF8: New file.
29274
29275 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29276 END CHARMAP line.
29277 * iconvdata/gen-8bit-gap.sh: Likewise.
29278 * iconvdata/gen-8bit.sh: Likewise.
29279
c1e9e399
UD
29280 * locale/iso-639.def: Add ary entry.
29281
24c55fb3 29282 [BZ #11258]
96b4b1b0
UD
29283 * locale/C-translit.h.in: Add U20A1 transliteration.
29284
bdc2f971
KB
29285 [BZ #12178]
29286 * locale/iso-639.def: Add wae entry.
29287 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29288
2952b117
UD
29289 [BZ #12545]
29290 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29291 for n.
29292
2a81eaa5
UD
29293 [BZ #12711]
29294 * locale/C-translit.h.in: Add entry for U20B9.
29295 Patch by pravin.d.s@gmail.com.
29296
28377d1b
UD
292972011-05-08 Ulrich Drepper <drepper@gmail.com>
29298
7fb90fb8
UD
29299 [BZ #12713]
29300 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29301 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29302 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29303 in rtld. Use *stat64.
7fb90fb8 29304 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29305 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29306 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29307 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29308 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29309 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29310 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29311 __fstatat64 macros.
7fb90fb8
UD
29312 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29313 * dirent/rewinddir.c: Add libc_hidden_def.
29314 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 29315 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 29316
28377d1b
UD
29317 * include/dirent.h (__alloc_dir): Add flags parameter.
29318 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29319 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29320 __alloc_dir.
29321 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29322 from fdopendir if O_CLOEXEC is already set.
29323
66bdbaa4
AM
293242011-03-15 Alan Modra <amodra@gmail.com>
29325
29326 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29327 l_tls_firstbyte_offset non-zero. Save padding offset in
29328 l_tls_firstbyte_offset for later use.
29329 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29330 freeing static tls block.
29331
95721191
JN
293322011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29333
29334 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29335 where #ifdef was intended. The intent is to prevent ARG_MAX from
29336 being defined by the kernel headers.
29337
f87dfb1f
UD
293382011-05-07 Ulrich Drepper <drepper@gmail.com>
29339
29340 [BZ #12734]
29341 * resolv/resolv.h: Define RES_NOTLDQUERY.
29342 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29343 no-tld-query and set RES_NOTLDQUERY.
29344 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29345 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29346 modern BIND to search name as TLD unless forbidden.
29347
47c3cd7a
UD
293482011-05-07 Petr Baudis <pasky@suse.cz>
29349 Ulrich Drepper <drepper@gmail.com>
29350
29351 [BZ #12393]
29352 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29353 (is_trusted_path): ...to here.
c1e9ea35 29354 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 29355 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 29356 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 29357
8a35c912
PP
293582011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29359
29360 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29361 __BEGIN/__END_DECLS.
29362
acd41f47
UD
293632011-05-06 Ulrich Drepper <drepper@gmail.com>
29364
29365 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29366 NSS_STATUS_NOTFOUND if no record was found.
29367
597df647
AS
293682011-05-05 Andreas Schwab <schwab@redhat.com>
29369
29370 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29371 (headers-not-in-tirpc): Remove rpc/netdb.h
29372 * resolv/netdb.h: Revert last change.
29373
b9af1301
PP
293742011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29375
29376 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29377 circular dependency between libgcc.a and libc.a.
29378
4e34d5f5
AS
293792011-05-05 Andreas Schwab <schwab@redhat.com>
29380
29381 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29382 * nis/Makefile: Don't install rpcsvc/*.
29383 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29384 instead of <rpc/types.h>.
29385 (MAXHOSTNAMELEN): Define.
29386
00ee369c
AS
293872011-05-03 Andreas Schwab <schwab@redhat.com>
29388
29389 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29390
0b592a30
MB
293912011-04-28 Maciej Babinski <mbabinski@google.com>
29392
29393 [BZ #12714]
29394 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29395 gethostbyname4_r when IPv6 results are possible.
29396
6e04cbbe
UD
293972011-05-02 Ulrich Drepper <drepper@gmail.com>
29398
29399 [BZ #12723]
29400 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29401 _PC_PIPE_BUF handling.
29402
e4ecafe0
BH
294032011-04-30 Bruno Haible <bruno@clisp.org>
29404
29405 [BZ #12717]
29406 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29407 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29408 to 'int'.
29409 * inet/getnameinfo.c (getnameinfo): Likewise.
29410
125ee683
UD
294112011-04-29 Ulrich Drepper <drepper@gmail.com>
29412
29413 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29414 to groups setting in database lookup.
29415 * nss/nsswitch.conf: Add initgroups entry.
29416
b722481a
EB
294172011-04-22 Ulrich Drepper <drepper@gmail.com>
29418
29419 [BZ #12685]
29420 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29421 mode string.
29422 Patch by Eric Blake <eblake@redhat.com>.
29423
4df46dbd
L
294242011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29425
29426 * sunrpc/Makefile (need-export-routines): Add svc_run.
29427 (routines): Remove svc_run.
29428 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29429 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29430 * sunrpc/svc_run.c (svc_run): Likewise.
29431 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29432
e84142d2
UD
294332011-04-21 Ulrich Drepper <drepper@gmail.com>
29434
29435 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29436 problem in reallocation in last patch.
29437
877175d8
UD
294382011-04-20 Ulrich Drepper <drepper@gmail.com>
29439
29440 * sunrpc/Makefile: Move inclusion of Rules.
29441
ab8eed78
UD
294422011-04-19 Ulrich Drepper <drepper@gmail.com>
29443
29444 * nss/nss_files/files-initgroups.c: New file.
29445 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29446 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29447 _nss_files_initgroups_dyn.
29448
e3d8f584
RS
294492011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29450
29451 * elf/elf.h (R_ARM_IRELATIVE): Define.
29452
af190f45
UD
294532011-04-19 Ulrich Drepper <drepper@gmail.com>
29454
29455 * po/ru.po: Update from translation team.
29456
53cf59ef
UD
294572011-04-17 Ulrich Drepper <drepper@gmail.com>
29458
29459 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29460 dependencies.
29461
4c559bcd
MF
294622011-02-06 Mike Frysinger <vapier@gentoo.org>
29463
29464 [BZ #12653]
29465 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29466 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29467 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29468 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29469 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29470
4420675c
AS
294712011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29472
29473 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29474 differing bytes.
29475 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29476 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29477 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29478
75ea32ab
UD
294792011-04-17 Ulrich Drepper <drepper@gmail.com>
29480
29481 [BZ #12420]
29482 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29483 storing it.
29484 * stdlib/bug-getcontext.c: New file.
29485 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29486
27390476
AK
294872011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29488
29489 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29490 instructions into .machine "z9-109".
29491 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29492 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29493
10442705
AK
294942011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29495
29496 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29497 between environment variables and auxiliary vector.
29498
7b57bfe5
UD
294992011-04-16 Ulrich Drepper <drepper@gmail.com>
29500
29501 * Makefile: Add rules to build linkobj/libc.so.
29502 * include/libc-symbols.h: Define libc_hidden_nolink.
29503 * include/rpc/auth.h: Mark functions which are to be hidden.
29504 * include/rpc/auth_des.h: Likewise.
29505 * include/rpc/auth_unix.h: Likewise.
29506 * include/rpc/clnt.h: Likewise.
29507 * include/rpc/des_crypt.h: Likewise.
29508 * include/rpc/key_prot.h: Likewise.
29509 * include/rpc/pmap_clnt.h: Likewise.
29510 * include/rpc/pmap_prot.h: Likewise.
29511 * include/rpc/pmap_rmt.h: Likewise.
29512 * include/rpc/rpc_msg.h: Likewise.
29513 * include/rpc/svc.h: Likewise.
29514 * include/rpc/svc_auth.h: Likewise.
29515 * include/rpc/xdr.h: Likewise.
29516 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29517 * nss/Makefile: Likewise.
29518 * sunrpc/Makefile: Don't install headers. Build library with normal
29519 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29520 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29521 for the compat linking library. Remove use of INTDEF/INTUSE.
29522 * sunrpc/auth_none.c: Likewise.
29523 * sunrpc/auth_unix.c: Likewise.
29524 * sunrpc/authdes_prot.c: Likewise.
29525 * sunrpc/authuxprot.c: Likewise.
29526 * sunrpc/clnt_gen.c: Likewise.
29527 * sunrpc/clnt_perr.c: Likewise.
29528 * sunrpc/clnt_raw.c: Likewise.
29529 * sunrpc/clnt_simp.c: Likewise.
29530 * sunrpc/clnt_tcp.c: Likewise.
29531 * sunrpc/clnt_udp.c: Likewise.
29532 * sunrpc/clnt_unix.c: Likewise.
29533 * sunrpc/des_crypt.c: Likewise.
29534 * sunrpc/des_soft.c: Likewise.
29535 * sunrpc/get_myaddr.c: Likewise.
29536 * sunrpc/key_call.c: Likewise.
29537 * sunrpc/key_prot.c: Likewise.
29538 * sunrpc/netname.c: Likewise.
29539 * sunrpc/pm_getmaps.c: Likewise.
29540 * sunrpc/pm_getport.c: Likewise.
29541 * sunrpc/pmap_clnt.c: Likewise.
29542 * sunrpc/pmap_prot.c: Likewise.
29543 * sunrpc/pmap_prot2.c: Likewise.
29544 * sunrpc/pmap_rmt.c: Likewise.
29545 * sunrpc/publickey.c: Likewise.
29546 * sunrpc/rpc_cmsg.c: Likewise.
29547 * sunrpc/rpc_common.c: Likewise.
29548 * sunrpc/rpc_dtable.c: Likewise.
29549 * sunrpc/rpc_prot.c: Likewise.
29550 * sunrpc/rpc_thread.c: Likewise.
29551 * sunrpc/rtime.c: Likewise.
29552 * sunrpc/svc.c: Likewise.
29553 * sunrpc/svc_auth.c: Likewise.
29554 * sunrpc/svc_authux.c: Likewise.
29555 * sunrpc/svc_raw.c: Likewise.
29556 * sunrpc/svc_run.c: Likewise.
29557 * sunrpc/svc_simple.c: Likewise.
29558 * sunrpc/svc_tcp.c: Likewise.
29559 * sunrpc/svc_udp.c: Likewise.
29560 * sunrpc/svc_unix.c: Likewise.
29561 * sunrpc/svcauth_des.c: Likewise.
29562 * sunrpc/xcrypt.c: Likewise.
29563 * sunrpc/xdr.c: Likewise.
29564 * sunrpc/xdr_array.c: Likewise.
29565 * sunrpc/xdr_float.c: Likewise.
29566 * sunrpc/xdr_intXX_t.c: Likewise.
29567 * sunrpc/xdr_mem.c: Likewise.
29568 * sunrpc/xdr_rec.c: Likewise.
29569 * sunrpc/xdr_ref.c: Likewise.
29570 * sunrpc/xdr_sizeof.c: Likewise.
29571 * sunrpc/xdr_stdio.c: Likewise.
29572
e6c61494
UD
295732011-04-10 Ulrich Drepper <drepper@gmail.com>
29574
29575 [BZ #12650]
29576 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29577 * sysdeps/ia64/dl-tls.h: Likewise.
29578 * sysdeps/powerpc/dl-tls.h: Likewise.
29579 * sysdeps/s390/dl-tls.h: Likewise.
29580 * sysdeps/sh/dl-tls.h: Likewise.
29581 * sysdeps/sparc/dl-tls.h: Likewise.
29582 * sysdeps/x86_64/dl-tls.h: Likewise.
29583 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29584
34fe483e
AS
295852011-03-14 Andreas Schwab <schwab@redhat.com>
29586
29587 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29588 rpath element also skip the following colon.
29589 (expand_dynamic_string_token): Add is_path parameter and pass
29590 down to DL_DST_REQUIRED and _dl_dst_substitute.
29591 (decompose_rpath): Call expand_dynamic_string_token with
29592 non-zero is_path. Ignore empty rpaths.
29593 (_dl_map_object_from_fd): Call expand_dynamic_string_token
29594 with zero is_path.
29595
f12a32e6
AS
295962011-04-08 Andreas Schwab <schwab@linux-m68k.org>
29597
29598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29599 Make cancelable.
29600
38a7d692
UD
296012011-04-09 Ulrich Drepper <drepper@gmail.com>
29602
29603 [BZ #12655]
29604 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29605 Patch by Filipe David Manana <fdmanana@apache.org>.
29606
e451d22b
AS
296072011-04-07 Andreas Schwab <schwab@redhat.com>
29608
29609 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29610 Maintain aligned stack.
29611 (CHECK_RSP): Remove unused macro.
29612
dedc7c7b
UD
296132011-04-03 Ulrich Drepper <drepper@gmail.com>
29614
29615 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29616 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29617
94521213
UD
296182011-04-02 Ulrich Drepper <drepper@gmail.com>
29619
29620 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29621
8cb700c0 29622 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 29623
0354e355
L
296242011-03-26 H.J. Lu <hongjiu.lu@intel.com>
29625
29626 [BZ #12518]
29627 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29628 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29629 * sysdeps/x86_64/memmove.c: New file.
29630 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29631 (memcpy): Renamed to ...
29632 (__new_memcpy): This.
29633 (memcpy): Provide GLIBC_2_14 memcpy.
29634 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29635 (memcpy): Provide GLIBC_2_2_5 memcpy.
29636
8593482f
UD
296372011-04-01 Ulrich Drepper <drepper@gmail.com>
29638
29639 [BZ #12631]
29640 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29641
81a5726b
AS
296422011-03-30 Andreas Schwab <schwab@redhat.com>
29643
29644 * misc/syncfs.c: New file.
29645 * misc/Makefile (routines): Add syncfs.
29646 * posix/unistd.h: Declare syncfs.
29647 * sysdeps/unix/syscalls.list: Add syncfs.
29648
00e5419f
AS
296492011-04-01 Andreas Schwab <schwab@redhat.com>
29650
29651 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29652 open_by_handle_at.
29653 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29654 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29655 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29656 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29657 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29658 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29659 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29660
748876bf
UD
296612011-04-01 Ulrich Drepper <drepper@gmail.com>
29662
658e451d
UD
29663 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29664 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29665 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29666 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29667 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29668 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29669 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29670
748876bf
UD
29671 * io/Makefile: Compile fallocate.c, fallocate64.c, and
29672 sync_file_range.c with -fexceptions.
29673 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29674 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29675 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29676 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29677 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29678 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29679 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
29680 sync_file_range as cancellation point
29681 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
29682 now a wrapper around __call_sync_file_range with cancellation handling.
29683 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29684 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
29685 function name to __call_sync_file_range.
29686 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29687 Add call_sync_file_range.
748876bf 29688
6e63d5e1
AS
296892011-04-01 Andreas Schwab <schwab@redhat.com>
29690
29691 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 29692 bits/timex.h.
6e63d5e1 29693
46998f74
UD
296942011-04-01 Ulrich Drepper <drepper@gmail.com>
29695
4c1423ed
UD
29696 * iconv/iconv.h: Fix typo in comment.
29697 * io/fcntl.h: Likewise.
29698 * libio/stdio.h: Likewise.
29699 * posix/spawn.h: Likewise.
29700 * posix/unistd.h: Likewise.
29701 * stdlib/stdlib.h: Likewise.
29702 * time/time.h: Likewise.
29703 * wcsmbs/wchar.h: Likewise.
29704
158648c0
UD
29705 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29706 open_by_handle): Add.
29707 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29708 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
29709 Augment a few comments.
29710 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29711 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29712 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29713 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29714 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29715 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29716 open_by_handle.
29717
46998f74
UD
29718 * io/fcntl.h (AT_EMPTY_PATH): Define.
29719
83fe108b
UD
297202011-03-30 Ulrich Drepper <drepper@gmail.com>
29721
29722 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29723 * sysdeps/unix/sysv/linux/bits/time.h: New file.
29724 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29725 to...
29726 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
29727 * Versions.def: Add GLIBC_2.14.
29728 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29729 Export.
83fe108b 29730
bb242059
UD
297312011-03-22 Ulrich Drepper <drepper@gmail.com>
29732
29733 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29734 round counter.
29735 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29736
c97a1282
L
297372011-03-20 H.J. Lu <hongjiu.lu@intel.com>
29738
29739 [BZ #12597]
29740 * string/test-strncmp.c (do_page_test): New function.
29741 (check2): Likewise.
29742 (test_main): Call check2.
29743 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29744
2a115601
UD
297452011-03-20 Ulrich Drepper <drepper@gmail.com>
29746
29747 [BZ #12587]
29748 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29749 Handle cache information in CPU leaf 4.
29750 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29751
8126d904
UD
297522011-03-18 Ulrich Drepper <drepper@gmail.com>
29753
042c49c6 29754 [BZ #12583]
8126d904
UD
29755 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29756 character representation.
29757 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29758
ccfe366e
RA
297592011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
29760
29761 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29762 END(__isnan) to END(__isnanf) to match function entry point/label
29763 EALIGN(__isnanf,...).
29764
c6e13027
JJ
297652011-03-10 Jakub Jelinek <jakub@redhat.com>
29766
29767 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29768
33f85a3f
UD
297692011-03-10 Ulrich Drepper <drepper@gmail.com>
29770
028478fa
UD
29771 [BZ #12510]
29772 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29773 copy from the symbol referenced in the relocation to initialize the
29774 used variable.
29775 Patch by Piotr Bury <pbury@goahead.com>.
29776 * elf/Makefile: Add rules to build and tst-unique3.
29777 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29778 * elf/tst-unique3.cc: New file.
29779 * elf/tst-unique3.h: New file.
29780 * elf/tst-unique3lib.cc: New file.
29781 * elf/tst-unique3lib2.cc: New file.
29782
33f85a3f
UD
29783 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29784
03592fc7
MF
297852011-03-10 Mike Frysinger <vapier@gentoo.org>
29786
29787 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29788 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
29789 to _start.
03592fc7 29790
6a5ee102
UD
297912011-03-06 Ulrich Drepper <drepper@gmail.com>
29792
29793 * elf/dl-load.c (_dl_map_object): If we are looking for the first
29794 to-be-loaded object along a path to loader is ld.so.
29795
7e4ba49c
HJ
297962011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29797 Ulrich Drepper <drepper@gmail.com>
29798
29799 * sysdeps/x86_64/memset.S: After aligning destination, code
29800 branches to different locations depending on the value of
29801 misalignment, when multiarch is enabled. Fix this.
29802
298032011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29804
29805 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29806 Set _x86_64_preferred_memory_instruction for AMD processsors.
29807 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29808 Set bit_Prefer_SSE_for_memop for AMD processors.
29809
13a804de
UD
298102011-03-04 Ulrich Drepper <drepper@gmail.com>
29811
29812 * libio/fmemopen.c (fmemopen): Optimize a bit.
29813
9d25c392
AS
298142011-03-03 Andreas Schwab <schwab@redhat.com>
29815
29816 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29817
a5543c6a
RM
298182011-03-03 Roland McGrath <roland@redhat.com>
29819
29820 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29821
012d35f7
DM
298222011-02-28 Aurelien Jarno <aurelien@aurel32.net>
29823
7e4ba49c 29824 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
29825 __bzero_ultra1 instead of __memset_ultra1.
29826
4bff6e01
AS
298272011-02-23 Andreas Schwab <schwab@redhat.com>
29828 Ulrich Drepper <drepper@gmail.com>
29829
29830 [BZ #12509]
29831 * include/link.h (struct link_map): Add l_orig_initfini.
29832 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
29833 returning unsuccessfully.
29834 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
29835 close of a file loaded at startup, restore the original l_initfini
29836 list.
29837 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
29838 list, store the pointer.
29839 * elf/Makefile ($(objpfx)noload-mem): New rule.
29840 (noload-ENV): Define.
29841 (tests): Add $(objpfx)noload-mem.
29842 * elf/noload.c: Include <memcheck.h>.
29843 (main): Call mtrace. Close all opened handles.
29844
f2092faf
AS
298452011-02-17 Andreas Schwab <schwab@redhat.com>
29846
29847 [BZ #12454]
29848 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
29849 dependencies are missing.
29850
6c8a2e88
ST
298512011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
29852
f2092faf 29853 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
29854 Hurd needs munmap.
29855 * sysdeps/mach/hurd/ifreq.h: New file.
29856
84a42118
PB
298572011-01-27 Petr Baudis <pasky@suse.cz>
29858 Ulrich Drepper <drepper@gmail.com>
29859
071f805e 29860 [BZ 12445]#
84a42118
PB
29861 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
29862 to extend_alloca().
29863 * stdio-common/bug23.c: New file.
29864 * stdio-common/Makefile (tests): Add bug23.
29865
e23fe25b
AS
298662010-09-28 Andreas Schwab <schwab@redhat.com>
29867 Ulrich Drepper <drepper@gmail.com>
29868
29869 [BZ #12489]
29870 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
29871 before performing relro protection. At old place add assertion
29872 to make sure nothing changed.
29873
d3f02e10
NS
298742011-02-17 Nathan Sidwell <nathan@codesourcery.com>
29875 Glauber de Oliveira Costa <glommer@gmail.com>
29876
29877 * elf/elf.h: Add new ARM TLS relocs.
29878
d55fd7a5
RA
298792011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
29880
29881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29882 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
29883 cast from r3.
29884 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
29885 'tests' variable.
29886 * sysdeps/wordsize-64/tst-writev.c: New file.
29887
2206397e
RA
298882011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
29889
29890 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
29891 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
29892 insns in _dl_start to prevent a TOC reference before relocs are
29893 resolved.
29894
e9433893
UD
298952011-02-15 Ulrich Drepper <drepper@gmail.com>
29896
29897 [BZ #12469]
29898 * Makeconfig: Remove RANLIB definition.
29899 * Makerules: Don't use RANLIB.
29900 * aclocal.m4: Remove ranlib test.
29901 * configure.in: No need to check for ranlib.
29902 * elf/rtld-Rules: Don't use RANLIB.
29903
f75286c6
ST
299042011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
29905
8e31c82d
ST
29906 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
29907 protection macro.
29908 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
29909 inclusion protection macro.
29910
f75286c6
ST
29911 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
29912 SIGRTMIN and SIGRTMAX and print information in that case only when
29913 SIGRTMIN is defined.
29914
c1d0e639
JJ
299152011-02-11 Jakub Jelinek <jakub@redhat.com>
29916
29917 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
29918 arginfo fn returning -1.
29919
29920 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
29921 and thousands string is zero terminated.
29922
edf9294e
AS
299232011-02-03 Andreas Schwab <schwab@redhat.com>
29924
29925 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
29926 sysdeps/unix/sysv/linux/bits/socket.h.
29927
2b7e92df
ST
299282011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
29929
edf9294e
AS
29930 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
29931 (__CPU_COUNT): Remove old macros.
29932 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
29933 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
29934 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
29935 (__sched_cpualloc, __sched_cpufree): Add declarations.
29936
a4c7ea7b
UD
299372011-02-05 Ulrich Drepper <drepper@gmail.com>
29938
29939 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
29940 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
29941 * nscd/aicache.c (addhstaiX): Return timeout of added value.
29942 (readdhstai): Return value of addhstaiX call.
29943 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
29944 (addgrbyX): Return value returned by cache_addgr.
29945 (readdgrbyname): Return value returned by addgrbyX.
29946 (readdgrbygid): Likewise.
29947 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
29948 (addpwbyX): Return value returned by cache_addpw.
29949 (readdpwbyname): Return value returned by addhstbyX.
29950 (readdpwbyuid): Likewise.
29951 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
29952 (addservbyX): Return value returned by cache_addserv.
29953 (readdservbyname): Return value returned by addservbyX:
29954 (readdservbyport): Likewise.
29955 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
29956 (addhstbyX): Return value returned by cache_addhst.
29957 (readdhstbyname): Return value returned by addhstbyX.
29958 (readdhstbyaddr): Likewise.
29959 (readdhstbynamev6): Likewise.
29960 (readdhstbyaddrv6): Likewise.
29961 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
29962 (readdinitgroups): Return value returned by addinitgroupsX.
29963 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
29964 (prune_cache): Keep track of timeout value of re-added entries.
29965 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
29966 * nscd/nscd.h: Adjust prototypes of readd* functions.
29967
a0bf67cc
RM
299682011-02-04 Roland McGrath <roland@redhat.com>
29969
29970 * nis/nis_server.c (nis_servstate): Use the right name for 0.
29971 (nis_stats): Likewise.
29972 * nis/nis_modify.c (nis_modify): Likewise.
29973 * nis/nis_remove.c (nis_remove): Likewise.
29974 * nis/nis_add.c (nis_add): Likewise.
29975
29976 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
29977
29978 * posix/fnmatch_loop.c: Add some consts.
29979
29980 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
29981
435b95eb
L
299822011-02-02 H.J. Lu <hongjiu.lu@intel.com>
29983
29984 [BZ #12460]
29985 * config.make.in (config-cflags-novzeroupper): Define.
29986 * configure.in: Substitute libc_cv_cc_novzeroupper.
29987 * elf/Makefile (AVX-CFLAGS): Define.
29988 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
29989 (CFLAGS-tst-auditmod4a.c): Likewise.
29990 (CFLAGS-tst-auditmod4b.c): Likewise.
29991 (CFLAGS-tst-auditmod6b.c): Likewise.
29992 (CFLAGS-tst-auditmod6c.c): Likewise.
29993 (CFLAGS-tst-auditmod7b.c): Likewise.
29994 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
29995
8517b15e
UD
299962011-02-02 Ulrich Drepper <drepper@gmail.com>
29997
29998 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
29999 function to the callback.
30000 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30001
10a656fe
AS
300022011-02-02 Andreas Schwab <schwab@redhat.com>
30003
30004 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30005 of errno.
30006
968dad0a
UD
300072011-01-19 Ulrich Drepper <drepper@gmail.com>
30008
9f94d2ea 30009 [BZ #11724]
968dad0a
UD
30010 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30011 of constructors.
30012 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30013 of destructors.
30014 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30015
30016 [BZ #11724]
30017 * elf/Makefile: Add rules to build and run new test.
30018 * elf/tst-initorder.c: New file.
30019 * elf/tst-initorder.exp: New file.
30020 * elf/tst-initordera1.c: New file.
30021 * elf/tst-initordera2.c: New file.
30022 * elf/tst-initordera3.c: New file.
30023 * elf/tst-initordera4.c: New file.
30024 * elf/tst-initorderb1.c: New file.
30025 * elf/tst-initorderb2.c: New file.
30026 * elf/tst-order-a1.c: New file.
30027 * elf/tst-order-a2.c: New file.
30028 * elf/tst-order-a3.c: New file.
30029 * elf/tst-order-a4.c: New file.
30030 * elf/tst-order-b1.c: New file.
30031 * elf/tst-order-b2.c: New file.
30032 * elf/tst-order-main.c: New file.
30033 New test case by George Gensure <werkt0@gmail.com>.
30034
86e92359
UD
300352010-10-01 Andreas Schwab <schwab@redhat.com>
30036
30037 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30038 decoding ACE if AI_CANONIDN.
30039
5d5732b0
UD
300402011-01-18 Ulrich Drepper <drepper@gmail.com>
30041
30042 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30043
a77e8cbc
UD
300442011-01-17 Ulrich Drepper <drepper@gmail.com>
30045
6392473f
UD
30046 * version.h (RELEASE): Bump for 2.13 release.
30047 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30048
620a0529
UD
30049 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30050
18ba70a5
UD
30051 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30052 MADV_NOHUGEPAGE.
32465c3e
UD
30053 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30054 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30055 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30056 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30057 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30058 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30059
c0dafcf1
UD
30060 * posix/getconf.c: Update copyright year.
30061 * catgets/gencat.c: Likewise.
30062 * csu/version.c: Likewise.
30063 * debug/catchsegv.sh: Likewise.
30064 * debug/xtrace.sh: Likewise.
30065 * elf/ldconfig.c: Likewise.
30066 * elf/ldd.bash.in: Likewise.
30067 * elf/sprof.c (print_version): Likewise.
30068 * iconv/iconv_prog.c: Likewise.
30069 * iconv/iconvconfig.c: Likewise.
30070 * locale/programs/locale.c: Likewise.
30071 * locale/programs/localedef.c: Likewise.
30072 * malloc/memusage.sh: Likewise.
30073 * malloc/mtrace.pl: Likewise.
30074 * nscd/nscd.c (print_version): Likewise.
30075 * nss/getent.c: Likewise.
30076
a77e8cbc
UD
30077 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30078 PF_CAIF, and PF_ALG.
30079 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30080
77e8bddf
AS
300812011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30082
1f20b93a
AS
30083 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30084 (modules-names): Use them.
30085 (ifunc-test-modules, ifunc-pie-tests): Define.
30086 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30087 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30088 (test-extras): Likewise.
30089 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30090 $(compile-command.c).
30091 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30092 (all-built-dso): Define.
30093 (check-textrel.out, check-execstack.out): Depend on it.
30094
77e8bddf
AS
30095 * configure.in: Don't override --enable-multi-arch.
30096
bc425b33
UD
300972011-01-15 Ulrich Drepper <drepper@gmail.com>
30098
30099 [BZ #6812]
30100 * nscd/hstcache.c (tryagain): Define.
30101 (cache_addhst): Return tryagain not notfound for temporary errors.
30102 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30103 failed.
30104
794c3ad3
UD
301052011-01-14 Ulrich Drepper <drepper@gmail.com>
30106
70181fdd
UD
30107 [BZ #10563]
30108 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30109 to make the syscall.
30110 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30111
794c3ad3
UD
30112 [BZ #12378]
30113 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30114 and fall back to matching as normal character if the string ends before
30115 the matching ']' is found. This is what POSIX requires.
30116 * posix/testfnm.c: Adjust test result.
30117 * posix/globtest.sh: Adjust test result. Add new test.
30118 * posix/tst-fnmatch.input: Likewise.
30119 * posix/tst-fnmatch2.c: Add new test.
30120
68dc9497
AS
301212010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30122
30123 * elf/Makefile (check-execstack): Revert last change. Depend on
30124 check-execstack.h.
30125 (check-execstack.h): New target.
30126 (generated): Add check-execstack.h.
30127 * elf/check-execstack.c: Include "check-execstack.h".
30128 (main): Revert last change.
30129 (handle_file): Return zero if GNU_STACK is absent and
30130 DEFAULT_STACK_PERMS doesn't include PF_X.
30131
451f001b
UD
301322011-01-13 Ulrich Drepper <drepper@gmail.com>
30133
cfa28e56
UD
30134 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30135 in child fails because the descriptor is already closed.
8cf8ce17
UD
30136 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30137 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30138 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30139
1086d70d
UD
30140 [BZ #12397]
30141 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30142 syscall.
30143
451f001b
UD
30144 [BZ #10484]
30145 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30146 temporary buffer used to handle multi lookups locally.
a85b5cb4 30147 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30148
08769175
UD
301492011-01-12 Ulrich Drepper <drepper@gmail.com>
30150
30151 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30152 loader is ld.so.
30153
5e49c52e
UD
301542011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30155
30156 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30157 alignment for SSE2.
30158
60522a5f
UD
301592011-01-12 Ulrich Drepper <drepper@gmail.com>
30160
30161 [BZ #12394]
30162 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30163 characters. When rounding increased number of integer digits recompute
30164 number of groups.
30165 * stdio-common/tst-grouping.c: New file.
30166 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30167
f257bbd7
UD
301682011-01-09 Ulrich Drepper <drepper@gmail.com>
30169
30170 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30171 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30172
30173 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30174 void.
30175 * bits/select.h: Likewise.
30176
fa9c15cb
UD
301772011-01-08 Ulrich Drepper <drepper@gmail.com>
30178
30179 * po/ja.po: Update from translation team.
30180
16c2895f
DM
301812011-01-04 David S. Miller <davem@sunset.davemloft.net>
30182
30183 [BZ #11155]
30184 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30185 implementation just like for lxstat, fxstatat, et al.
30186
2543fef2
JM
301872010-12-27 Jim Meyering <meyering@redhat.com>
30188
30189 [BZ #12348]
30190 * posix/regexec.c (build_trtable): Return failure indication upon
30191 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30192
98727dbe
UD
301932010-12-25 Ulrich Drepper <drepper@gmail.com>
30194
5bd6dc5c
UD
30195 [BZ #12201]
30196 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30197 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30198 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30199 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30200
97983464
UD
30201 [BZ #12207]
30202 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30203
98727dbe
UD
30204 [BZ #12204]
30205 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30206 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30207
4a531bb0
L
302082010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30209
30210 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30211 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30212 script has SORT_BY_INIT_PRIORITY.
30213 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30214 NO_CTORS_DTORS_SECTIONS is defined.
30215 * elf/soinit.c: Likewise.
30216 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30217 NO_CTORS_DTORS_SECTIONS is defined.
30218 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30219 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30220 * sysdeps/sh/init-first.c: Likewise.
30221 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30222
07eb4b71
UD
302232010-12-24 Ulrich Drepper <drepper@gmail.com>
30224
30225 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30226 always use the slow path.
30227
30950a5f
RA
302282010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30229
30230 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30231 similar rule which adds the sysdep directories to the header search in
30232 order to pick up the correct platform stackinfo.h.
30233 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30234 perform test if it is, otherwise return successfully without testing.
30235 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30236 DEFAULT_STACK_PERMS define in stackinfo.h.
30237 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30238 defined in stackinfo.h.
30239 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30240 DEFAULT_STACK_PERMS defined in stackinfo.h.
30241 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30242 * sysdeps/ia64/stackinfo.h: Likewise.
30243 * sysdeps/s390/stackinfo.h: Likewise.
30244 * sysdeps/sh/stackinfo.h: Likewise.
30245 * sysdeps/sparc/stackinfo.h: Likewise.
30246 * sysdeps/x86_64/stackinfo.h: Likewise.
30247 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30248 PF_X for powerpc64. Retain PF_X for powerpc32.
30249
db753e2c
UD
302502010-12-19 Ulrich Drepper <drepper@gmail.com>
30251
14b697f7
UD
30252 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30253 accurately.
db753e2c
UD
30254 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30255 GETDENTS_64BIT_ALIGNED.
30256
28300719
UD
302572010-12-14 Ulrich Drepper <dreper@gmail.com>
30258
14b697f7 30259 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30260
4f197237
AS
302612010-12-10 Andreas Schwab <schwab@redhat.com>
30262
dbb0472f
AS
30263 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30264 _GNU_SOURCE.
30265
4f197237
AS
30266 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30267 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30268 Remove __restrict.
30269 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30270 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30271
fb88ac72
UD
302722010-12-09 Ulrich Drepper <drepper@gmail.com>
30273
30274 [BZ #11655]
30275 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30276 are initialized.
30277
42acbb92
JJ
302782010-12-09 Jakub Jelinek <jakub@redhat.com>
30279
30280 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30281
c038d98d
UD
302822010-12-03 Ulrich Drepper <drepper@gmail.com>
30283
30284 * po/it.po: Update from translation team.
30285
3a4a2499
L
302862010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30287
30288 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30289 unused codes.
30290
1e24cf6e
UD
302912010-11-30 Ulrich Drepper <drepper@gmail.com>
30292
30293 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30294
a7690819
AS
302952010-11-24 Andreas Schwab <schwab@redhat.com>
30296
30297 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30298 specially.
30299 (gaih_getanswer_slice): Likewise.
30300
3bf8d1b1
JJ
303012010-10-20 Jakub Jelinek <jakub@redhat.com>
30302
30303 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30304
6db52fbb
PB
303052010-05-31 Petr Baudis <pasky@suse.cz>
30306
30307 [BZ #11149]
30308 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30309 silently even in the chroot mode.
30310
eaca7569
UD
303112010-11-22 Ulrich Drepper <drepper@gmail.com>
30312
30313 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30314 last patch a bit. Pretty printing
30315
3056dcdb
UD
303162010-05-31 Petr Baudis <pasky@suse.cz>
30317
30318 [BZ #10085]
30319 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30320 initialization of skip_initgroups_dyn.
30321
cf7c9078
UD
303222010-11-19 Ulrich Drepper <drepper@gmail.com>
30323
30324 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30325 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30326
a1fb5e3e
UD
303272010-11-16 Ulrich Drepper <drepper@gmail.com>
30328
30329 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30330
3540d66b
AS
303312010-11-11 Andreas Schwab <schwab@redhat.com>
30332
30333 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30334 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30335 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30336 ($(objpfx)tst-fnmatch-mem): New rule.
30337 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30338 * posix/tst-fnmatch.c (main): Call mtrace.
30339
13b69574
L
303402010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30341
30342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30343 Support Intel processor model 6 and model 0x2c.
30344
da93d214
LM
303452010-11-10 Luis Machado <luisgpm@br.ibm.com>
30346
30347 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30348 signed comparison.
30349
8ca52c6e
L
303502010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30351
30352 [BZ #12205]
30353 * string/test-strncasecmp.c (check_result): New function.
30354 (do_one_test): Use it.
30355 (check1): New function.
30356 (test_main): Use it.
30357 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30358 Support strcasecmp and strncasecmp.
30359
69da074d
UD
303602010-11-08 Ulrich Drepper <drepper@gmail.com>
30361
30362 [BZ #12194]
30363 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30364 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30365
ff02d528
L
303662010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30367
30368 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30369 IFUNC support.
30370 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30371 memset-x86-64.
30372 * sysdeps/x86_64/multiarch/bzero.S: New file.
30373 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30374 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30375 * sysdeps/x86_64/multiarch/memset.S: New file.
30376 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30377 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30378 Set bit_Prefer_SSE_for_memop for Intel processors.
30379 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30380 Define.
30381 (index_Prefer_SSE_for_memop): Define.
30382 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30383
344d0b54
LM
303842010-11-04 Luis Machado <luisgpm@br.ibm.com>
30385
30386 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30387 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30388
c0dde15b
UD
303892010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30390
30391 [BZ #12191]
30392 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30393 (__x86_64_raw_data_cache_size_half): Likewise.
30394 (__x86_64_raw_shared_cache_size): Likewise.
30395 (__x86_64_raw_shared_cache_size_half): Likewise.
30396
30397 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30398 (__x86_64_raw_data_cache_size_half): Likewise.
30399 (__x86_64_raw_shared_cache_size): Likewise.
30400 (__x86_64_raw_shared_cache_size_half): Likewise.
30401 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30402 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30403 and __x86_64_raw_shared_cache_size_half. Round
30404 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30405 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30406 to multiple of 256 bytes.
30407
0e516e0e
MS
304082010-11-03 Ulrich Drepper <drepper@gmail.com>
30409
30410 [BZ #12167]
30411 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30412 of inacessible symlinks. Verify result of symlink before returning it.
30413 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30414 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30415
0e012e87
ER
304162010-10-28 Erich Ritz <erichritz@gmail.com>
30417
30418 * math/math.h (isinf): Fix typo in comment.
30419
de0ff7bc
UD
304202010-11-01 Ulrich Drepper <drepper@gmail.com>
30421
30422 * po/da.po: Update from translation team.
30423
fa41c84d
UD
304242010-10-26 Ulrich Drepper <drepper@gmail.com>
30425
30426 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30427 is added to the list.
30428
f0967738
AK
304292010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30430 Ulrich Drepper <drepper@gmail.com>
30431
30432 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30433 the global list here. Move code to...
30434 (_dl_add_to_namespace_list): ...here. New function.
30435 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30436 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30437 * elf/dl-load.c (lose): Don't remove the element from the list.
30438 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30439 (_dl_map_object): Likewise.
30440
304412010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
30442
30443 [BZ #12159]
30444 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30445 into all bytes of SSE register.
30446 Patch by Richard Li <richardpku@gmail.com>.
30447
f0967738 304482010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
30449
30450 [BZ #12140]
30451 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30452 perturbing.
30453
d0b9e94f
MB
304542010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30455
30456 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30457 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30458 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30459 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30461 submachine.
30462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30463
8e9f92e9
AS
304642010-10-22 Andreas Schwab <schwab@redhat.com>
30465
30466 * include/dlfcn.h (__RTLD_SECURE): Define.
30467 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30468 mode & __RTLD_SECURE instead.
30469 (open_path): Rename preloaded parameter to secure.
30470 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30471 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30472 * elf/dl-deps.c (openaux): Likewise.
30473 * elf/rtld.c (struct map_args): Remove is_preloaded.
30474 (map_doit): Don't use it.
30475 (dl_main): Likewise.
30476 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30477 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30478
bc96fbda
AS
304792010-09-09 Andreas Schwab <schwab@redhat.com>
30480
30481 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30482 (sysd-rules-targets): Remove duplicates.
30483 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30484 rtld-%.$o dependency.
30485
22cd1c9b
AS
304862010-10-18 Andreas Schwab <schwab@redhat.com>
30487
30488 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30489 _dl_map_object do it.
30490
18edac48
UD
304912010-10-19 Ulrich Drepper <drepper@gmail.com>
30492
30493 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30494 fast fma builtins, define the macros in the C99 standard.
30495 (FP_FAST_FMAF): Likewise.
30496 (FP_FAST_FMAL): Likewise.
30497 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30498
30499 * bits/mathdef.h: Update copyright year.
30500 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30501
d2050124
MM
305022010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30503
30504 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30505 builtins, define the macros in the C99 standard.
30506 (FP_FAST_FMAF): Likewise.
30507 (FP_FAST_FMAL): Likewise.
30508 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30509 multiply/add.
30510 (FP_FAST_FMAF): Likewise.
30511
475facd1
JJ
305122010-10-15 Jakub Jelinek <jakub@redhat.com>
30513
30514 [BZ #3268]
30515 * math/libm-test.inc (fma_test): Some new testcases.
30516 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30517 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30518 y and infinite z. Do multiplication by C already in long double.
30519 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30520 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30521 y and infinite z. Do bitwise or of inexact bit into u.d.
30522 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30523 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30524 * sysdeps/i386/fpu/s_fma.S: Removed.
30525 * sysdeps/i386/fpu/s_fmal.S: Removed.
30526
7c08a05c
JJ
305272010-10-16 Jakub Jelinek <jakub@redhat.com>
30528
30529 [BZ #3268]
30530 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30531 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30532 computation is not scheduled after fetestexcept. Fix value
30533 of minimum denormal long double.
30534
f3f7372d
JJ
305352010-10-14 Jakub Jelinek <jakub@redhat.com>
30536
30537 [BZ #3268]
30538 * math/libm-test.inc (fma_test): Add some more tests.
30539 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30540 correctly.
30541
14d43591
AS
305422010-10-15 Andreas Schwab <schwab@redhat.com>
30543
30544 * scripts/data/localplt-s390-linux-gnu.data: New file.
30545 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30546
5e908464
JJ
305472010-10-13 Jakub Jelinek <jakub@redhat.com>
30548
30549 [BZ #3268]
30550 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30551 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30552 instead of dbl-64.
30553 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30554 inlines.
30555 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30556 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30557 if one of x and y is very large and the other is subnormal.
30558 * sysdeps/s390/fpu/s_fmaf.c: New file.
30559 * sysdeps/s390/fpu/s_fma.c: New file.
30560 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30561 * sysdeps/powerpc/fpu/s_fma.S: New file.
30562 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30563 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30564 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30565
305662010-10-12 Jakub Jelinek <jakub@redhat.com>
30567
30568 [BZ #3268]
30569 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30570 fma tests.
30571 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30572 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30573 * sysdeps/i386/i686/multiarch/s_fma.c: Include
30574 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30575 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30576 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30577 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30578
b833d51f
UD
305792010-10-12 Ulrich Drepper <drepper@redhat.com>
30580
30581 [BZ #12078]
30582 * posix/regcomp.c (parse_branch): One more memory leak plugged.
30583 * posix/bug-regex31.input: Add test case.
30584
1751705d
UD
305852010-10-11 Ulrich Drepper <drepper@gmail.com>
30586
e9b9cbf5
UD
30587 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30588 * posix/bug-regex31.input: New file.
30589
30590 [BZ #12078]
30591 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30592 (parse_sub_exp): Fix last change, use postorder.
30593
ef06edbe
UD
30594 * posix/bug-regex31.c: New file.
30595 * posix/Makefile: Add rules to build and run bug-regex31.
30596
a129c80d
UD
30597 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30598
30599 [BZ #12078]
30600 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30601
b76b818e
UD
30602 [BZ #12108]
30603 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30604 to have entries in sys_siglist.
30605
1751705d
UD
30606 [BZ #12093]
30607 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30608 be NULL.
30609
9ff8d36f
JJ
306102010-10-07 Jakub Jelinek <jakub@redhat.com>
30611
30612 [BZ #3268]
30613 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30614 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30615 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30616 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30617 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30618 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30619 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30620 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30621 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30622 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30623 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30624 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30625 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30626 * math/ftestexcept.c (fetestexcept): Likewise.
30627 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30628 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30629 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30630 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30631 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30632 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30633 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30634
af325969
UD
306352010-10-11 Ulrich Drepper <drepper@gmail.com>
30636
c579b202 30637 [BZ #12107]
af325969
UD
30638 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30639 newline.
30640
67a67b95
UD
306412010-10-06 Ulrich Drepper <drepper@gmail.com>
30642
30643 * string/bug-strstr1.c: New file.
30644 * string/Makefile: Add rules to build and run bug-strstr1.
30645
5fb308bc
EB
306462010-10-05 Eric Blake <eblake@redhat.com>
30647
30648 [BZ #12092]
30649 * string/str-two-way.h (two_way_long_needle): Always clear memory
30650 when skipping input due to the shift table.
30651
45db99c7
UD
306522010-10-03 Ulrich Drepper <drepper@gmail.com>
30653
3b111893
UD
30654 [BZ #12005]
30655 * malloc/mcheck.c: Handle large requests.
30656
45db99c7
UD
30657 [BZ #12077]
30658 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30659 for strncmp and strncasecmp.
30660 * string/stratcliff.c: Add tests for strcmp and strncmp.
30661 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30662
cf7a1eb8
NI
306632010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30664
30665 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30666 __set_fpscr.
30667
6484ba5e
AJ
306682010-09-30 Andreas Jaeger <aj@suse.de>
30669
30670 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30671 (CGROUP_SUPER_MAGIC): Define.
30672 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30673 Handle btrfs and cgroup file systems.
30674 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30675 Likewise.
30676
91c42559
LM
306772010-09-27 Luis Machado <luisgpm@br.ibm.com>
30678
30679 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30680 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30681
87a97932
AK
306822010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30683
30684 [BZ #12067]
30685 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30686 trying to locate the ELF header.
30687
c21cc9bc
AS
306882010-09-27 Andreas Schwab <schwab@redhat.com>
30689
30690 [BZ #11611]
30691 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30692 Mask out sign-bit copies when constructing f_fsid.
30693
315970f6
PB
306942010-09-24 Petr Baudis <pasky@suse.cz>
30695
30696 * debug/stack_chk_fail_local.c: Add missing licence exception.
30697 * debug/warning-nop.c: Likewise.
30698
1ac7a2c7
JM
306992010-09-15 Joseph Myers <joseph@codesourcery.com>
30700
30701 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30702 implementing getdents64 using getdents syscall, set d_type if
30703 __ASSUME_GETDENTS32_D_TYPE.
30704
56801c50
AS
307052010-09-16 Andreas Schwab <schwab@redhat.com>
30706
30707 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30708 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30709
dda51327
UD
307102010-09-21 Ulrich Drepper <drepper@redhat.com>
30711
30712 [BZ #12037]
30713 * posix/unistd.h: Undo change of feature selection for ftruncate from
30714 2010-01-11.
30715
8ffcee4a
UD
307162010-09-20 Ulrich Drepper <drepper@redhat.com>
30717
a545ecd9 30718 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
30719 detection.
30720
e24f0a8b
AS
307212010-09-20 Andreas Schwab <schwab@redhat.com>
30722
30723 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30724 fanotify_mark.
30725 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30726
7291c56f
AS
307272010-09-14 Andreas Schwab <schwab@redhat.com>
30728
30729 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30730 variables after CHECK_SP call.
30731 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30732
bc5fb037
AS
307332010-09-13 Andreas Schwab <schwab@redhat.com>
30734 Ulrich Drepper <drepper@redhat.com>
30735
30736 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30737 re-relocationg ld.so.
30738 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30739 _dl_init_paths call.
30740 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
30741 here anymore.
30742
e66e7419
UD
307432010-09-14 Ulrich Drepper <drepper@redhat.com>
30744
30745 * resolv/res_init.c (__res_vinit): Count the default server we added.
30746
c044aa75
CLT
307472010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
30748 Ulrich Drepper <drepper@redhat.com>
30749
30750 [BZ #11968]
30751 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30752 (____longjmp_chk): Use %ebx for saving value across system call.
30753 Add unwind info.
30754
32cf4069
AS
307552010-09-06 Andreas Schwab <schwab@redhat.com>
30756
30757 * manual/Makefile: Don't mix pattern rules with normal rules.
30758
817328ee
AS
307592010-09-05 Andreas Schwab <schwab@linux-m68k.org>
30760
30761 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30762 operation.
30763 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30764 * libio/iofopncook.c (_IO_cookie_init): Likewise.
30765 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30766 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30767 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30768 Likewise.
30769
29fddf61
UD
307702010-09-04 Ulrich Drepper <drepper@redhat.com>
30771
30772 [BZ #11979]
30773 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30774 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30775
0959ffc9
UD
307762010-09-02 Ulrich Drepper <drepper@redhat.com>
30777
30778 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30779 * sysdeps/x86_64/addmul_1.S: Likewise.
30780 * sysdeps/x86_64/lshift.S: Likewise.
30781 * sysdeps/x86_64/mul_1.S: Likewise.
30782 * sysdeps/x86_64/rshift.S: Likewise.
30783 * sysdeps/x86_64/sub_n.S: Likewise.
30784 * sysdeps/x86_64/submul_1.S: Likewise.
30785
ece29840
ST
307862010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
30787
0959ffc9
UD
30788 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30789 Define __sched_param instead of SCHED_* and sched_param when
ece29840 30790 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 30791 * bits/sched.h [__need_schedparam]
ece29840 30792 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
30793 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30794 (__defined_schedparam): Define to 1.
ece29840
ST
30795 (__sched_param): New structure, identical to sched_param.
30796 (__need_schedparam): Undefine.
30797
e53a31fe
MF
307982010-08-31 Mike Frysinger <vapier@gentoo.org>
30799
fdc0c10d
MF
30800 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30801 (epoll_create1): Declare.
30802
e53a31fe
MF
30803 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30804
a726d796
AS
308052010-08-31 Andreas Schwab <schwab@redhat.com>
30806
30807 [BZ #7066]
30808 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30809 shifting retval into place.
30810
2f3e3dc7
UD
308112010-09-01 Ulrich Drepper <drepper@redhat.com>
30812
f2933da9
UD
30813 * nis/rpcsvc/nis.h: Update copyright notice.
30814 * nis/rpcsvc/nis.x: Likewise.
30815 * nis/rpcsvc/nis_callback.h: Likewise.
30816 * nis/rpcsvc/nis_callback.x: Likewise.
30817 * nis/rpcsvc/nis_object.x: Likewise.
30818 * nis/rpcsvc/nis_tags.h: Likewise.
30819 * nis/rpcsvc/yp.h: Likewise.
30820 * nis/rpcsvc/yp.x: Likewise.
30821 * nis/rpcsvc/ypupd.h: Likewise.
30822 * nis/yp_xdr.c: Likewise.
30823 * nis/ypupdate_xdr.c: Likewise.
30824
2f3e3dc7
UD
30825 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
30826 mainly the body of pmap_getport. Add parameters to specify timeouts.
30827 (pmap_getport): Use __libc_rpc_getport.
30828 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
30829 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
30830 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
30831
f3dcc2f9
AS
308322010-08-31 Andreas Schwab <schwab@linux-m68k.org>
30833
30834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
30835 fanotify_mark.
30836
6d34eb5b
RM
308372010-08-27 Roland McGrath <roland@redhat.com>
30838
30839 * sysdeps/i386/i686/multiarch/Makefile
30840 (CFLAGS-varshift.c): New variable.
30841
9ea3de11
UD
308422010-08-27 Ulrich Drepper <drepper@redhat.com>
30843
c96d23fc
UD
30844 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
30845 * sysdeps/i386/i686/multiarch/varshift.c: New file.
30846
9ea3de11
UD
30847 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
30848
30849 * sysdeps/x86_64/strlen.S: Minimal code improvement.
30850
623aac7f
L
308512010-08-26 H.J. Lu <hongjiu.lu@intel.com>
30852
30853 * sysdeps/x86_64/strlen.S: Unroll the loop.
30854 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30855 strlen-sse2 strlen-sse2-bsf.
30856 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
30857 __strlen_no_bsf if bit_Slow_BSF is set.
30858 (__strlen_sse42): Removed.
30859 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
30860 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
30861
8b2b7715
RM
308622010-08-25 Roland McGrath <roland@redhat.com>
30863
30864 * sysdeps/x86_64/multiarch/varshift.S: File removed.
30865 * sysdeps/x86_64/multiarch/varshift.c: New file.
30866 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
30867 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
30868 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
30869 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30870
e73015f2
L
308712010-08-25 H.J. Lu <hongjiu.lu@intel.com>
30872
30873 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30874 strlen-sse2 strlen-sse2-bsf.
30875 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
30876 __strlen_sse2_bsf if bit_Slow_BSF is unset.
30877 (__strlen_sse2): Removed.
30878 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
30879 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
30880 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30881 bit_Slow_BSF for Atom.
30882 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
30883 (index_Slow_BSF): Define.
30884 (HAS_SLOW_BSF): Define.
30885
df24a73e
UD
308862010-08-25 Ulrich Drepper <drepper@redhat.com>
30887
30888 [BZ #10851]
30889 * resolv/res_init.c (__res_vinit): When no server address at all
30890 is given default to loopback.
30891
f2ac4868
RM
308922010-08-24 Roland McGrath <roland@redhat.com>
30893
09055553
RM
30894 * configure.in: Remove config-name.h generation.
30895 * configure: Regenerated.
30896 * config-name.in: File removed.
30897 * scripts/config-uname.sh: New file.
30898 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
30899 ($(objdir)config-name.h): New target.
30900
f2ac4868
RM
30901 * sunrpc/rpc_parse.h: Avoid nested comment.
30902
73f27d5e
RH
309032010-08-24 Richard Henderson <rth@redhat.com>
30904 Ulrich Drepper <drepper@redhat.com>
30905 H.J. Lu <hongjiu.lu@intel.com>
30906
30907 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
30908 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
30909 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
30910 Replace _mm_srli_si128 with __m128i_shift_right. Replace
30911 _mm_alignr_epi8 with _mm_loadu_si128.
30912 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
30913 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
30914 (__m128i_shift_right): Removed.
30915 * sysdeps/i386/i686/multiarch/varshift.h: New file.
30916 * sysdeps/i386/i686/multiarch/varshift.S: New file.
30917 * sysdeps/x86_64/multiarch/varshift.h: New file.
30918 * sysdeps/x86_64/multiarch/varshift.S: New file.
30919
84b9230c
MF
309202010-08-21 Mike Frysinger <vapier@gentoo.org>
30921
30922 * configure.in: Move assembler checks to before sysdep dir checking.
30923
9bbd0ddc
PB
309242010-08-20 Petr Baudis <pasky@suse.cz>
30925
30926 * LICENSES: Sync the sunrpc license.
30927
9da4bb31
UD
309282010-08-19 Ulrich Drepper <drepper@redhat.com>
30929
a7ab6ec8
UD
30930 * sunrpc/auth_des.c: Update copyright notice once again.
30931 * sunrpc/auth_none.c: Likewise.
30932 * sunrpc/auth_unix.c: Likewise.
30933 * sunrpc/authdes_prot.c: Likewise.
30934 * sunrpc/authuxprot.c: Likewise.
30935 * sunrpc/bindrsvprt.c: Likewise.
30936 * sunrpc/clnt_gen.c: Likewise.
30937 * sunrpc/clnt_perr.c: Likewise.
30938 * sunrpc/clnt_raw.c: Likewise.
30939 * sunrpc/clnt_simp.c: Likewise.
30940 * sunrpc/clnt_tcp.c: Likewise.
30941 * sunrpc/clnt_udp.c: Likewise.
30942 * sunrpc/clnt_unix.c: Likewise.
30943 * sunrpc/des_crypt.c: Likewise.
30944 * sunrpc/des_soft.c: Likewise.
30945 * sunrpc/get_myaddr.c: Likewise.
30946 * sunrpc/getrpcport.c: Likewise.
30947 * sunrpc/key_call.c: Likewise.
30948 * sunrpc/key_prot.c: Likewise.
30949 * sunrpc/openchild.c: Likewise.
30950 * sunrpc/pm_getmaps.c: Likewise.
30951 * sunrpc/pm_getport.c: Likewise.
30952 * sunrpc/pmap_clnt.c: Likewise.
30953 * sunrpc/pmap_prot.c: Likewise.
30954 * sunrpc/pmap_prot2.c: Likewise.
30955 * sunrpc/pmap_rmt.c: Likewise.
30956 * sunrpc/rpc/auth.h: Likewise.
30957 * sunrpc/rpc/auth_unix.h: Likewise.
30958 * sunrpc/rpc/clnt.h: Likewise.
30959 * sunrpc/rpc/des_crypt.h: Likewise.
30960 * sunrpc/rpc/key_prot.h: Likewise.
30961 * sunrpc/rpc/netdb.h: Likewise.
30962 * sunrpc/rpc/pmap_clnt.h: Likewise.
30963 * sunrpc/rpc/pmap_prot.h: Likewise.
30964 * sunrpc/rpc/pmap_rmt.h: Likewise.
30965 * sunrpc/rpc/rpc.h: Likewise.
30966 * sunrpc/rpc/rpc_des.h: Likewise.
30967 * sunrpc/rpc/rpc_msg.h: Likewise.
30968 * sunrpc/rpc/svc.h: Likewise.
30969 * sunrpc/rpc/svc_auth.h: Likewise.
30970 * sunrpc/rpc/types.h: Likewise.
30971 * sunrpc/rpc/xdr.h: Likewise.
30972 * sunrpc/rpc_clntout.c: Likewise.
30973 * sunrpc/rpc_cmsg.c: Likewise.
30974 * sunrpc/rpc_common.c: Likewise.
30975 * sunrpc/rpc_cout.c: Likewise.
30976 * sunrpc/rpc_dtable.c: Likewise.
30977 * sunrpc/rpc_hout.c: Likewise.
30978 * sunrpc/rpc_main.c: Likewise.
30979 * sunrpc/rpc_parse.c: Likewise.
30980 * sunrpc/rpc_parse.h: Likewise.
30981 * sunrpc/rpc_prot.c: Likewise.
30982 * sunrpc/rpc_sample.c: Likewise.
30983 * sunrpc/rpc_scan.c: Likewise.
30984 * sunrpc/rpc_scan.h: Likewise.
30985 * sunrpc/rpc_svcout.c: Likewise.
30986 * sunrpc/rpc_tblout.c: Likewise.
30987 * sunrpc/rpc_util.c: Likewise.
30988 * sunrpc/rpc_util.h: Likewise.
30989 * sunrpc/rpcinfo.c: Likewise.
30990 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
30991 * sunrpc/rpcsvc/key_prot.x: Likewise.
30992 * sunrpc/rpcsvc/klm_prot.x: Likewise.
30993 * sunrpc/rpcsvc/mount.x: Likewise.
30994 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
30995 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
30996 * sunrpc/rpcsvc/rex.x: Likewise.
30997 * sunrpc/rpcsvc/rstat.x: Likewise.
30998 * sunrpc/rpcsvc/rusers.x: Likewise.
30999 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31000 * sunrpc/rpcsvc/spray.x: Likewise.
31001 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31002 * sunrpc/rtime.c: Likewise.
31003 * sunrpc/svc.c: Likewise.
31004 * sunrpc/svc_auth.c: Likewise.
31005 * sunrpc/svc_authux.c: Likewise.
31006 * sunrpc/svc_raw.c: Likewise.
31007 * sunrpc/svc_run.c: Likewise.
31008 * sunrpc/svc_simple.c: Likewise.
31009 * sunrpc/svc_tcp.c: Likewise.
31010 * sunrpc/svc_udp.c: Likewise.
31011 * sunrpc/svc_unix.c: Likewise.
31012 * sunrpc/svcauth_des.c: Likewise.
31013 * sunrpc/xcrypt.c: Likewise.
31014 * sunrpc/xdr.c: Likewise.
31015 * sunrpc/xdr_array.c: Likewise.
31016 * sunrpc/xdr_float.c: Likewise.
31017 * sunrpc/xdr_mem.c: Likewise.
31018 * sunrpc/xdr_rec.c: Likewise.
31019 * sunrpc/xdr_ref.c: Likewise.
31020 * sunrpc/xdr_sizeof.c: Likewise.
31021 * sunrpc/xdr_stdio.c: Likewise.
31022
9da4bb31
UD
31023 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31024 handling.
31025
bdaa77bc
AS
310262010-08-19 Andreas Schwab <schwab@redhat.com>
31027
31028 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31029
fe2f79db
LM
310302010-08-19 Luis Machado <luisgpm@br.ibm.com>
31031
31032 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31033 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31034 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31035 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31036 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31037 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31038 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31039 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31040 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31041 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31042 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31043 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31044 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31045 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31046
b9b42ee0
AB
310472010-07-26 Anton Blanchard <anton@samba.org>
31048
31049 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31050 * malloc/arena.c (heap_trim): Likewise.
31051
1c06ba31
UD
310522010-08-16 Ulrich Drepper <drepper@redhat.com>
31053
31054 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31055 here. Not...
31056 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31057 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31058
f8392f40
L
310592010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31060
31061 * sysdeps/i386/elf/Makefile: New file.
31062
3162f12e
AS
310632010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31064
31065 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31066 from fanotify_init.
31067 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31068 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31069
28c90b2c
UD
310702010-08-15 Ulrich Drepper <drepper@redhat.com>
31071
31072 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31073 of strncasecmp_l.
1feccb6c 31074 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31075
ca6bb004
UD
310762010-08-14 Ulrich Drepper <drepper@redhat.com>
31077
e9f82e0d
UD
31078 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31079 strncase_l-nonascii.
31080 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31081 Add strncase_l-ssse3.
31082 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31083 * sysdeps/x86_64/strcmp.S: Likewise.
31084 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31085 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31086 * sysdeps/x86_64/strncase.S: New file.
31087 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31088 * sysdeps/x86_64/strncase_l.S: New file.
31089 * string/Makefile (strop-tests): Add strncasecmp.
31090 * string/test-strncasecmp.c: New file.
31091
31092 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31093 warning.
31094
ca6bb004
UD
31095 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31096 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31097
052fa7b3
AS
310982010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31099
31100 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31101
962dba78
UD
311022010-08-12 Ulrich Drepper <drepper@redhat.com>
31103
31104 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31105 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31106 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31107
bebff237
AM
311082010-05-01 Alan Modra <amodra@gmail.com>
31109
31110 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31111 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31112 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31113 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31114 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31115 tidying. Don't tail-call __sigjmp_save for static lib.
31116 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31117 save location.
31118 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31119 (CALL_MCOUNT): Add eh info, and nop after bl.
31120 (TAIL_CALL_SYSCALL_ERROR): New macro.
31121 (PSEUDO_RET): Use it.
31122 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31123 Correct save location of integer regs and cr.
31124 (_dl_profile_resolve): Correct cr save location. Delete nops
31125 after bl when SHARED. Reduce cfi size a little by better
31126 placement of cfi directives.
31127 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31128 make a stack frame. Instead use parm save area as a temp.
31129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31130 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31132 Don't make a stack frame for parent, use parm save area.
31133 Increase child stack frame to 112 bytes. Don't save unused reg,
31134 and adjust reg usage. Set up cfi on error recovery and
31135 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31137 (__makecontext): Add dummy nop after jump to exit.
31138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31139 Use correct parm save area and cr save, reduce stack frame.
31140 Correct cfi for possible PSEUDO_RET frame setup.
31141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31142 Branch to local label emitted by PSEUDO_RET rather than
31143 __syscall_error.
31144
02637374
AS
311452010-08-12 Andreas Schwab <schwab@redhat.com>
31146
31147 [BZ #11904]
31148 * locale/programs/locale.c (print_assignment): New function.
31149 (show_locale_vars): Use it.
31150
c3e2f19b
UD
311512010-08-11 Ulrich Drepper <drepper@redhat.com>
31152
3cdaa6ad
UD
31153 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31154 field.
31155 (struct statfs64): Likewise.
31156 (_STATFS_F_FLAGS): Define.
31157 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31158 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31159 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31160 (ST_VALID): Define locally.
31161 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31162 __statvfs_getflags, use the provided value.
31163 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31164 __ASSUME_STATFS_F_FLAGS.
31165
754f7da3
UD
31166 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31167
10b3bedc
UD
31168 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31169 Add sys/fanotify.h.
31170 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31171 fanotify_mask for GLIBC_2.13.
31172 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31173 fanotify_init and fanotify_mark.
31174 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31175 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31176
c08fb0d7
UD
31177 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31178 Add prlimit.
31179 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31180 prlimit64 for GLIBC_2.13.
31181 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31182 prlimit64.
31183 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31184 syscall.
31185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31186 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31187 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31188 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31189 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31190 add prlimit alias.
31191 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31192
15bac72b
UD
31193 [BZ #11903]
31194 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31195 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31196
c3e2f19b
UD
31197 * nss/Makefile: Add rules to build and run tst-nss-test1.
31198 * shlib-versions: Add entry for libnss_test1.
31199 * nss/nss_test1.c: New file.
31200 * nss/tst-nss-test1.c: New file.
31201
31202 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31203 (__nss_configure_lookup): Set appropriate entry in
31204 __nss_configure_lookup to true.
31205 * nss/nsswitch.h: Define enum with indeces of databases in
31206 databases and __nss_database_custom arrays. Declare
31207 __nss_database_custom.
31208 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31209 to avoid using nscd when custom rules are installed.
31210 * nss/getXXbyYY_r.c: Likewise.
31211 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31212
31213 * nss/nss_files/files-parse.c: Whitespace fixes.
31214
f15ce4d8
UD
312152010-08-09 Ulrich Drepper <drepper@redhat.com>
31216
31217 [BZ #11883]
31218 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31219 * posix/fnmatch_loop.c: Likewise.
31220
d22e4cc9
AK
312212010-07-17 Andi Kleen <ak@linux.intel.com>
31222
31223 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31224 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31225 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31226 * Versions.def [GLIBC_2.13]: Add.
31227
805bc17d
UD
312282010-08-06 Ulrich Drepper <drepper@redhat.com>
31229
31230 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31231 Also fail if tpwd after pwuid call is NULL.
31232
5a42321d
ST
312332010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31234
31235 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31236 when converting to ms.
31237
fd3ebeda
ST
312382010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31239
31240 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31241 EOPNOTSUPP errors with ENOTTY.
31242 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31243 EOPNOTSUPP errors with ENOTTY.
31244
73507d3a
UD
312452010-07-31 Ulrich Drepper <drepper@redhat.com>
31246
31247 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31248 Add strcasecmp_l-ssse3.
31249 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31250 strcasecmp.
31251 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31252 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31253 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31254
fe36dd02
UD
312552010-07-30 Ulrich Drepper <drepper@redhat.com>
31256
66f6765a
UD
31257 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31258
42e08a54
UD
31259 * string/Makefile (strop-tests): Add strcasecmp.
31260 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31261 strcasecmp_l-nonascii.
31262 (gen-as-const-headers): Add locale-defines.sym.
31263 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31264 * sysdeps/x86_64/strcasecmp.S: New file.
31265 * sysdeps/x86_64/strcasecmp_l.S: New file.
31266 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31267 * sysdeps/x86_64/locale-defines.sym: New file.
31268 * string/test-strcasecmp.c: New file.
31269
fe36dd02
UD
31270 * string/test-strcasestr.c: Test both ends of the range of characters.
31271 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31272
48cbc0d6
RM
312732010-07-29 Roland McGrath <roland@redhat.com>
31274
76e6d6bc 31275 [BZ #11856]
48cbc0d6
RM
31276 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31277
880113d9
UD
312782010-07-27 Ulrich Drepper <drepper@redhat.com>
31279
31280 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31281 for ld.so.
31282
deb9cabb
AS
312832010-07-27 Andreas Schwab <schwab@redhat.com>
31284
31285 * manual/memory.texi (Malloc Tunable Parameters): Document
31286 M_PERTURB.
31287
1c7570ff
RM
312882010-07-26 Roland McGrath <roland@redhat.com>
31289
31290 [BZ #11840]
31291 * configure.in (-fgnu89-inline check): Set and substitute
31292 gnu89_inline, not libc_cv_gnu89_inline.
31293 * configure: Regenerated.
31294 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31295
24fb0f88
UD
312962010-07-26 Ulrich Drepper <drepper@redhat.com>
31297
31298 * string/test-strnlen.c: New file.
31299 * string/Makefile (strop-tests): Add strnlen.
31300 * string/tester.c (test_strnlen): Add a few more test cases.
31301 * string/tst-strlen.c: Better error reporting.
31302
31303 * sysdeps/x86_64/strnlen.S: New file.
31304
8e96b93a
UD
313052010-07-24 Ulrich Drepper <drepper@redhat.com>
31306
31307 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31308 lower-latency instructions.
31309
dbc676d4
UD
313102010-07-23 Ulrich Drepper <drepper@redhat.com>
31311
31312 * string/test-strcasestr.c: New file.
31313 * string/test-strstr.c: New file.
31314 * string/Makefile (strop-tests): Add strstr and strcasestr.
31315 * string/str-two-way.h: Don't undefine MAX.
31316 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31317
f6a31e0e
AS
313182010-07-21 Andreas Schwab <schwab@redhat.com>
31319
31320 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31321 strcasestr-nonascii.
31322 (CFLAGS-strcasestr-nonascii.c): Define.
31323 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31324 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31325 Remove unused attribute.
31326
5dbc3b6c
RM
313272010-07-20 Roland McGrath <roland@redhat.com>
31328
31329 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31330 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31331 ld.so.cache was broken. With it, there is no way to disable dsocaps
31332 like LD_HWCAP_MASK can disable hwcaps.
31333
23d101d8
EPM
313342010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31335
31336 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31337
cc9f2e47
UD
313382010-07-16 Ulrich Drepper <drepper@redhat.com>
31339
31340 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31341 call in strcasestr.
31342 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31343 __strcasestr_sse42_nonascii.
31344 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31345 strcasestr-nonascii.c.
31346 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31347
77c1b069
LM
313482010-06-15 Luis Machado <luisgpm@br.ibm.com>
31349
31350 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31351 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31352 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31353 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31354
440566c3
UD
313552010-07-09 Ulrich Drepper <drepper@redhat.com>
31356
31357 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31358 fcntl.
31359
5be9d05d
AS
313602010-07-06 Andreas Schwab <schwab@redhat.com>
31361
c30b7ee2 31362 [BZ #11577]
5be9d05d
AS
31363 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31364 dl_signal_cerror.
31365
8a492a67
UD
313662010-07-06 Ulrich Drepper <drepper@redhat.com>
31367
31368 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31369 _PC_PIPE_BUF using F_GETPIPE_SZ.
31370
713df3d5
RM
313712010-07-05 Roland McGrath <roland@redhat.com>
31372
31373 * manual/arith.texi (Rounding Functions): Fix rint description
31374 implicit in round description.
31375
702e8f14
UD
313762010-07-02 Ulrich Drepper <drepper@redhat.com>
31377
31378 * elf/Makefile: Fix linking for a few tests to make recent linker
31379 happy.
31380
52ed8be9
AS
313812010-06-30 Andreas Schwab <schwab@redhat.com>
31382
31383 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31384 $(common-objpfx)libc_nonshared.a.
31385
f47c9a11
LM
313862010-06-21 Luis Machado <luisgpm@br.ibm.com>
31387
31388 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31389 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31390 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31391 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31392 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31393 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31394 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31395 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31410 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31411 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31412 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31413 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31414 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31415 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31416 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31417 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31418 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31419 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31420 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31421 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31436
6fb8cbcb
L
314372010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31438
31439 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31440 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31441 * string/memmove.c (memmove): Renamed to ...
31442 (MEMMOVE): ...this. Default to memmove.
31443 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31444 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31445 (END_CHK): Define.
31446 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31447 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31448 mempcpy-ssse3-back memmove-ssse3-back.
31449 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31450 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31451 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31452 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31453 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31454 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31455 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31456 * sysdeps/x86_64/multiarch/memmove.c: New file.
31457 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31458 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31459 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31460 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31461 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31462 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31463 Define.
31464 (index_Fast_Copy_Backward): Define.
31465 (HAS_ARCH_FEATURE): Define.
31466 (HAS_FAST_REP_STRING): Define.
31467 (HAS_FAST_COPY_BACKWARD): Define.
31468
4e733bac 314692010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
31470
31471 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31472 Restore proper fallback handling.
31473
63c4ed22
UD
314742010-06-19 Ulrich Drepper <drepper@redhat.com>
31475
ac2b484c
UD
31476 [BZ #11701]
31477 * posix/group_member.c (__group_member): Correct checking loop.
31478
63c4ed22
UD
31479 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31480 OOM in getpwuid_r correctly. Return error number when the caller
31481 should return, otherwise -1.
31482 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31483 call returning > 0 value.
31484 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31485
765ade4b
AS
314862010-06-07 Andreas Schwab <schwab@redhat.com>
31487
31488 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31489 libc_nonshared.a from targets in modules-names.
31490
80da2e09
KS
314912010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31492
31493 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31494 requires it.
31495
158db122
LM
314962010-06-10 Luis Machado <luisgpm@br.ibm.com>
31497
31498 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31499 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31500 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31501 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31502
caa78cf8
AS
315032010-06-02 Andreas Schwab <schwab@redhat.com>
31504
31505 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31506
b2ef2c01
UD
315072010-06-14 Ulrich Drepper <drepper@redhat.com>
31508
31509 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31510 and F_GETPIPE_SZ.
31511 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31512 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31513 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31514 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31515 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31516 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31517
fbd643b6
RM
315182010-06-14 Roland McGrath <roland@redhat.com>
31519
31520 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31521
f32f2869
JJ
315222010-06-07 Jakub Jelinek <jakub@redhat.com>
31523
31524 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31525 __REDIRECT followed by __THROW.
31526 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31527 * posix/getopt.h (getopt): Likewise.
31528
2a50c078
EPM
315292010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31530
31531 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31532 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31533 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31534 in AT_FLAGS.
31535 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31536 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31537
eb5ad2eb
LM
315382010-05-28 Luis Machado <luisgpm@br.ibm.com>
31539
31540 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31541
3c88fe1e
L
315422010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31543
31544 [BZ #11640]
31545 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31546 Properly check family and model.
31547
d2f73151
TY
315482010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31549
31550 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31551
ebd2e13d
LM
315522010-05-24 Luis Machado <luisgpm@br.ibm.com>
31553
31554 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31555
b32b8b45
UD
315562010-05-21 Ulrich Drepper <drepper@redhat.com>
31557
31558 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31559 symbol reference.
31560
9acbe24d
AS
315612010-05-19 Andreas Schwab <schwab@redhat.com>
31562
31563 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31564 symbol reference.
31565
f0ccf6ea
AS
315662010-05-21 Andreas Schwab <schwab@redhat.com>
31567
3d04ff3a
AS
31568 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31569 and internal_recvmmsg.
31570 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31571 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31572 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31573 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31574
f0ccf6ea
AS
31575 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31576 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31577 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31578
5b08ac57
AS
315792010-05-20 Andreas Schwab <schwab@redhat.com>
31580
31581 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31582
4828935d
LM
315832010-05-17 Luis Machado <luisgpm@br.ibm.com>
31584
31585 POWER7 optimizations.
31586 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31587 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31588
373d545e
UD
315892010-05-19 Ulrich Drepper <drepper@redhat.com>
31590
31591 * version.h: Update for 2.13 development version.
31592
21a2b1ae
AS
315932010-05-12 Andrew Stubbs <ams@codesourcery.com>
31594
31595 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31596 exceptions. Return 0.
31597
3f7dcb2b
RM
315982010-05-07 Roland McGrath <roland@redhat.com>
31599
31600 * elf/ldconfig.c (main): Add a const.
31601
5f24d53a 316022010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 31603
a160f8d8
UD
31604 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31605 (args_options): Add no-idn option.
31606 (ahosts_keys_int): Add idn_flags to ai_flags.
31607 (parse_option): Handle 'i' option to clear idn_flags.
31608
5f24d53a
UD
31609 * malloc/malloc.c (_int_free): Possible race in the most recently
31610 added check. Only act on the data if no current modification
31611 happened.
265bb1ce
UD
31612
31613See ChangeLog.17 for earlier changes.
This page took 4.062885 seconds and 5 git commands to generate.