1 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/unix/sysv/linux/kernel-features.h
4 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
5 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16 * configure.in: Define the default includes to being none.
17 * configure: Regenerated.
19 2012-05-25 Roland McGrath <roland@hack.frob.com>
21 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22 * sysdeps/x86_64/setjmp.S: Likewise.
23 * sysdeps/i386/bsd-setjmp.S: Likewise.
24 * sysdeps/i386/bsd-_setjmp.S: Likewise.
25 * sysdeps/i386/setjmp.S: Likewise.
26 * sysdeps/i386/__longjmp.S: Likewise.
27 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30 * include/stap-probe.h: New file.
31 * configure.in: Handle --enable-systemtap.
32 * configure: Regenerated.
33 * config.h.in (USE_STAP_PROBE): New #undef.
34 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
35 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38 2012-05-25 Joseph Myers <joseph@codesourcery.com>
41 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42 to 2.4.0 where earlier.
43 * sysdeps/unix/sysv/linux/configure: Regenerated.
44 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46 [__ASSUME_32BITUIDS]: Make code unconditional.
47 [!__ASSUME_32BITUIDS]: Remove conditional code.
48 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
50 [__ASSUME_32BITUIDS]: Make code unconditional.
51 [!__ASSUME_32BITUIDS]: Remove conditional code.
52 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
53 [__ASSUME_32BITUIDS]: Make code unconditional.
54 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
55 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
57 [__ASSUME_32BITUIDS]: Make code unconditional.
58 [!__ASSUME_32BITUIDS]: Remove conditional code.
59 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
61 [__ASSUME_32BITUIDS]: Make code unconditional.
62 [!__ASSUME_32BITUIDS]: Remove conditional code.
63 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
65 [__ASSUME_32BITUIDS]: Make code unconditional.
66 [!__ASSUME_32BITUIDS]: Remove conditional code.
67 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
69 [__ASSUME_32BITUIDS]: Make code unconditional.
70 [!__ASSUME_32BITUIDS]: Remove conditional code.
71 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
73 [__ASSUME_32BITUIDS]: Make code unconditional.
74 [!__ASSUME_32BITUIDS]: Remove conditional code.
75 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
77 [__ASSUME_32BITUIDS]: Make code unconditional.
78 [!__ASSUME_32BITUIDS]: Remove conditional code.
79 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
81 [__ASSUME_32BITUIDS]: Make code unconditional.
82 [!__ASSUME_32BITUIDS]: Remove conditional code.
83 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
85 [__ASSUME_32BITUIDS]: Make code unconditional.
86 [!__ASSUME_32BITUIDS]: Remove conditional code.
87 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
89 [__ASSUME_32BITUIDS]: Make code unconditional.
90 [!__ASSUME_32BITUIDS]: Remove conditional code.
91 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
93 [__ASSUME_32BITUIDS]: Make code unconditional.
94 [!__ASSUME_32BITUIDS]: Remove conditional code.
95 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
97 [__NR_setresgid] (__setresgid): Do not declare.
98 [__ASSUME_32BITUIDS]: Make code unconditional.
99 [!__ASSUME_32BITUIDS]: Remove conditional code.
100 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
102 [__NR_setresuid] (__setresuid): Do not declare.
103 [__ASSUME_32BITUIDS]: Make code unconditional.
104 [!__ASSUME_32BITUIDS]: Remove conditional code.
105 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
107 [__ASSUME_32BITUIDS]: Make code unconditional.
108 [!__ASSUME_32BITUIDS]: Remove conditional code.
109 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
111 [__ASSUME_32BITUIDS]: Make code unconditional.
112 [!__ASSUME_32BITUIDS]: Remove conditional code.
113 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
115 [__ASSUME_32BITUIDS]: Make code unconditional.
116 [!__ASSUME_32BITUIDS]: Remove conditional code.
117 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
119 [__ASSUME_32BITUIDS]: Make code unconditional.
120 [!__ASSUME_32BITUIDS]: Remove conditional code.
121 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
123 [__ASSUME_32BITUIDS]: Make code unconditional.
124 [!__ASSUME_32BITUIDS]: Remove conditional code.
125 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
127 [__ASSUME_32BITUIDS]: Make code unconditional.
128 [!__ASSUME_32BITUIDS]: Remove conditional code.
129 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
131 [__ASSUME_32BITUIDS]: Make code unconditional.
132 [!__ASSUME_32BITUIDS]: Remove conditional code.
133 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
135 [__ASSUME_32BITUIDS]: Make code unconditional.
136 [!__ASSUME_32BITUIDS]: Remove conditional code.
137 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
139 [__ASSUME_32BITUIDS]: Make code unconditional.
140 [!__ASSUME_32BITUIDS]: Remove conditional code.
141 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
143 [__ASSUME_32BITUIDS]: Make code unconditional.
144 [!__ASSUME_32BITUIDS]: Remove conditional code.
145 * sysdeps/unix/sysv/linux/kernel-features.h
146 (__ASSUME_SETRESUID_SYSCALL): Remove.
147 (__ASSUME_SETRESGID_SYSCALL): Likewise.
148 (__ASSUME_32BITUIDS): Likewise.
149 (__ASSUME_LDT_WORKS): Likewise.
150 (__ASSUME_O_DIRECTORY): Likewise.
151 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
152 architecture but not kernel version.
153 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
154 (__ASSUME_MMAP2_SYSCALL): Likewise.
155 (__ASSUME_STAT64_SYSCALL): Likewise.
156 (__ASSUME_IPC64): Likewise.
157 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
159 [__ASSUME_32BITUIDS]: Make code unconditional.
160 [!__ASSUME_32BITUIDS]: Remove conditional code.
161 * sysdeps/unix/sysv/linux/opendir.c: Do not include
163 [__ASSUME_O_DIRECTORY]: Make code unconditional.
164 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
165 132096]: Remove conditional code.
166 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
167 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
169 [__ASSUME_32BITUIDS]: Make code unconditional.
170 [!__ASSUME_32BITUIDS]: Remove conditional code.
171 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
173 [__ASSUME_32BITUIDS]: Make code unconditional.
174 [!__ASSUME_32BITUIDS]: Remove conditional code.
175 * sysdeps/unix/sysv/linux/setegid.c: Do not include
177 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
179 (__setresgid): Do not declare.
180 [__ASSUME_32BITUIDS]: Make code unconditional.
181 [!__ASSUME_32BITUIDS]: Remove conditional code.
182 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
184 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
186 (__setresuid): Do not declare.
187 [__ASSUME_32BITUIDS]: Make code unconditional.
188 [!__ASSUME_32BITUIDS]: Remove conditional code.
189 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
191 [__ASSUME_32BITUIDS]: Make code unconditional.
192 [!__ASSUME_32BITUIDS]: Remove conditional code.
193 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
195 [__ASSUME_32BITUIDS]: Make code unconditional.
196 [!__ASSUME_32BITUIDS]: Remove conditional code.
198 2012-05-25 Richard Henderson <rth@twiddle.net>
200 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
201 dl_hwcap to ifunc resolver.
202 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
204 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
205 dl_hwcap to ifunc resolver.
206 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
208 2012-05-24 Joseph Myers <joseph@codesourcery.com>
211 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
212 for |x| <= 2**-26, not 2**-57.
213 * math/libm-test.inc (acos_test): Do not allow spurious underflow
216 2012-05-24 Jeff Law <law@redhat.com>
218 * stdio-common/Makefile (tests): Add bug25.
219 * stdio-common/bug25.c: New test.
221 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
224 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
225 multiple of MALLOC_ALIGNMENT in size.
226 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
228 2012-05-24 Joseph Myers <joseph@codesourcery.com>
230 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
232 (FILENAME_MAX): Use macro-int-constant.
233 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
234 (_IOFBF): Use macro-int-constant.
237 (SEEK_CUR): Likewise.
238 (SEEK_END): Likewise.
239 (SEEK_SET): Likewise.
241 (EOF): Use macro-int-constant. Require < 0.
242 (NULL): Use macro-constant. Require == 0.
243 (stdin): Require type to be FILE *.
246 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
248 (EXIT_SUCCESS): Likewise.
249 (NULL): Use macro-constant. Require == 0.
250 (RAND_MAX): Use macro-int-constant.
251 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
252 [C99-based standards] (strtof): Require function.
253 [C99-based standards] (strtold): Likewise.
254 [C99-based standards] (strtoll): Likewise.
255 [C99-based standards] (strtoull): Likewise.
256 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
257 [ISO || ISO99 || ISO11] (limits.h): Likewise.
258 [ISO || ISO99 || ISO11] (math.h): Likewise.
259 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
260 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
261 [ISO || ISO99 || ISO11] (*_t): Do not allow.
263 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
266 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
267 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
268 * intl/dgettext.c (DCGETTEXT): Likewise.
269 * intl/gettext.c (DCGETTEXT): Likewise.
270 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
271 * posix/regex_internal.h (gettext): Likewise.
272 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
274 * include/argz.h (__argz_count_internal)
275 (__argz_stringify_internal): Remove declaration.
276 (__argz_count, __argz_stringify): Declare hidden proto.
277 * intl/dcgettext.c: Remove use of INTDEF.
278 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
279 * string/argz-stringify.c: Likewise.
280 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
281 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
282 Declare hidden proto.
283 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
284 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
285 Declare hidden proto.
286 * include/stdio.h (__asprintf_internal): Don't declare.
287 (__asprintf): Don't define as macro. Declare hidden proto.
288 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
289 (__fsetlocking): Declare hidden proto.
290 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
291 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
293 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
294 (_IO_setlinebuf): Remove use of INTUSE.
295 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
296 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
297 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
299 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
300 (_IO_do_flush): Remove use of INTUSE.
301 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
302 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
303 (_IO_adjust_column, _IO_least_wmarker)
304 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
305 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
306 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
307 (_IO_default_doallocate, _IO_wdefault_doallocate)
308 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
309 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
310 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
311 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
312 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
313 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
314 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
315 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
316 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
317 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
318 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
319 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
320 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
322 (_IO_flush_all_internal, _IO_adjust_column_internal)
323 (_IO_default_uflow_internal, _IO_default_finish_internal)
324 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
325 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
326 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
327 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
328 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
329 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
330 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
331 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
332 (_IO_file_close_internal, _IO_file_close_it_internal)
333 (_IO_file_underflow_internal, _IO_file_overflow_internal)
334 (_IO_file_init_internal, _IO_file_attach_internal)
335 (_IO_file_fopen_internal, _IO_file_read_internal)
336 (_IO_file_sync_internal, _IO_file_seek_internal)
337 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
338 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
339 (_IO_str_underflow_internal, _IO_str_overflow_internal)
340 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
341 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
342 (_IO_list_all_internal, _IO_link_in_internal)
343 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
344 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
345 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
346 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
347 (_IO_do_write_internal, _IO_padn_internal)
348 (_IO_getline_info_internal, _IO_getline_internal)
349 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
350 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
351 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
352 (_IO_vfscanf_internal, _IO_vfprintf_internal)
353 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
354 (_IO_init_internal, _IO_un_link_internal): Don't declare.
355 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
356 with libc_hidden_ver, remove use of INTUSE.
357 * libio/genops.c: Likewise.
358 * libio/freopen.c: Likewise.
359 * libio/freopen64.c: Likewise.
360 * libio/iofclose.c: Likewise.
361 * libio/iofdopen.c: Likewise.
362 * libio/iofflush.c: Likewise.
363 * libio/iofflush_u.c: Likewise.
364 * libio/iofgets.c: Likewise.
365 * libio/iofgets_u.c: Likewise.
366 * libio/iofopen.c: Likewise.
367 * libio/iofopncook.c: Likewise.
368 * libio/iofread.c: Likewise.
369 * libio/iofread_u.c: Likewise.
370 * libio/ioftell.c: Likewise.
371 * libio/iofwrite.c: Likewise.
372 * libio/iogetline.c: Likewise.
373 * libio/iogets.c: Likewise.
374 * libio/iogetwline.c: Likewise.
375 * libio/iopadn.c: Likewise.
376 * libio/iopopen.c: Likewise.
377 * libio/ioseekoff.c: Likewise.
378 * libio/ioseekpos.c: Likewise.
379 * libio/iosetbuffer.c: Likewise.
380 * libio/iosetvbuf.c: Likewise.
381 * libio/ioungetc.c: Likewise.
382 * libio/ioungetwc.c: Likewise.
383 * libio/iovdprintf.c: Likewise.
384 * libio/iovsprintf.c: Likewise.
385 * libio/iovsscanf.c: Likewise.
386 * libio/memstream.c: Likewise.
387 * libio/obprintf.c: Likewise.
388 * libio/oldfileops.c: Likewise.
389 * libio/oldiofclose.c: Likewise.
390 * libio/oldiofdopen.c: Likewise.
391 * libio/oldiofopen.c: Likewise.
392 * libio/oldiopopen.c: Likewise.
393 * libio/oldstdfiles.c: Likewise.
394 * libio/putc.c: Likewise.
395 * libio/setbuf.c: Likewise.
396 * libio/setlinebuf.c: Likewise.
397 * libio/stdfiles.c: Likewise.
398 * libio/strops.c: Likewise.
399 * libio/vasprintf.c: Likewise.
400 * libio/vscanf.c: Likewise.
401 * libio/vsnprintf.c: Likewise.
402 * libio/vswprintf.c: Likewise.
403 * libio/wfiledoalloc.c: Likewise.
404 * libio/wfileops.c: Likewise.
405 * libio/wgenops.c: Likewise.
406 * libio/wmemstream.c: Likewise.
407 * libio/wstrops.c: Likewise.
408 * libio/__fpurge.c: Likewise.
409 * libio/__fsetlocking.c: Likewise.
410 * assert/assert.c: Likewise.
411 * debug/fgets_chk.c: Likewise.
412 * debug/fgets_u_chk.c: Likewise.
413 * debug/fread_chk.c: Likewise.
414 * debug/fread_u_chk.c: Likewise.
415 * debug/gets_chk.c: Likewise.
416 * debug/obprintf_chk.c: Likewise.
417 * debug/vasprintf_chk.c: Likewise.
418 * debug/vdprintf_chk.c: Likewise.
419 * debug/vsnprintf_chk.c: Likewise.
420 * debug/vsprintf_chk.c: Likewise.
421 * malloc/mtrace.c: Likewise.
422 * misc/error.c: Likewise.
423 * misc/syslog.c: Likewise.
424 * stdio-common/asprintf.c: Likewise.
425 * stdio-common/fxprintf.c: Likewise.
426 * stdio-common/getw.c: Likewise.
427 * stdio-common/isoc99_fscanf.c: Likewise.
428 * stdio-common/isoc99_scanf.c: Likewise.
429 * stdio-common/isoc99_vfscanf.c: Likewise.
430 * stdio-common/isoc99_vscanf.c: Likewise.
431 * stdio-common/isoc99_vsscanf.c: Likewise.
432 * stdio-common/printf-prs.c: Likewise.
433 * stdio-common/printf_fp.c: Likewise.
434 * stdio-common/printf_fphex.c: Likewise.
435 * stdio-common/printf_size.c: Likewise.
436 * stdio-common/putw.c: Likewise.
437 * stdio-common/scanf.c: Likewise.
438 * stdio-common/sprintf.c: Likewise.
439 * stdio-common/tmpfile.c: Likewise.
440 * stdio-common/vfprintf.c: Likewise.
441 * stdio-common/vfscanf.c: Likewise.
442 * stdlib/strfmon_l.c: Likewise.
443 * sunrpc/openchild.c: Likewise.
444 * sunrpc/xdr_stdio.c: Likewise.
445 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
446 * sysdeps/mach/hurd/tmpfile.c: Likewise.
448 2012-05-24 Roland McGrath <roland@hack.frob.com>
450 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
452 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
453 in the third column, to generate for the shared library an IFUNC
454 that uses _dl_vdso_vsym.
455 * Makerules (COMPILE.c, compile-stdin.c): New variables.
456 * Makeconfig (object-suffixes-noshared): New variable.
458 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
459 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
460 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
461 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
464 * include/sys/time.h (__gettimeofday): Remove macro.
465 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
466 * time/gettimeofday.c (__gettimeofday): Remove #undef.
468 (__gettimeofday): Add libc_hidden_def.
469 (gettimeofday): Add libc_hidden_weak.
470 * sysdeps/mach/gettimeofday.c: Likewise.
471 * sysdeps/posix/gettimeofday.c: Likewise.
472 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
473 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
474 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
475 (__gettimeofday_internal): Remove strong_alias.
476 (__gettimeofday): Add libc_hidden_def.
477 (gettimeofday): Add libc_hidden_weak.
478 * sysdeps/unix/syscalls.list (gettimeofday):
479 Remove __gettimeofday_internal alias.
481 2012-05-24 Daniel Jacobowitz <drow@false.org>
482 H.J. Lu <hongjiu.lu@intel.com>
485 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
486 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
487 (largebin_index_32_big): New.
488 (largebin_index): Use it for 16-byte alignment.
489 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
490 correction with front_misalign.
492 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
494 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
495 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
497 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
499 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
503 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
505 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
509 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
520 * scripts/data/c++-types-x32-linux-gnu.data: New file.
521 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
523 2012-05-24 Joseph Myers <joseph@codesourcery.com>
527 * math/libm-test.inc (exp_test): Add test from bug 14036.
528 (pow_test): Add test from bug 10846.
530 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
532 (special_function): Do not include flags in test name.
533 (parse_args): Likewise.
534 * sysdeps/i386/fpu/libm-test-ulps: Update.
535 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
536 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
537 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
540 * math/gen-libm-test.pl (%beautify): Add entries for underflow
542 * math/libm-test.inc ("Philosophy"): Update comment about
544 (UNDERFLOW_EXCEPTION): New macro.
545 (UNDERFLOW_EXCEPTION_OK): Likewise.
546 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
547 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
548 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
549 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
550 (INVALID_EXCEPTION_OK): Update value.
551 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
552 (OVERFLOW_EXCEPTION_OK): Likewise.
553 (IGNORE_ZERO_INF_SIGN): Likewise.
554 (test_exceptions): Handle underflow exceptions.
555 (acos_test): Update for underflow exception expectations.
556 (cexp_test): Likewise.
557 (clog_test): Likewise.
558 (clog10_test): Likewise.
559 (csqrt_test): Likewise.
560 (ctan_test): Likewise.
561 (ctanh_test): Likewise.
562 (exp_test): Likewise.
563 (exp10_test): Likewise.
564 (exp2_test): Likewise.
565 (expm1_test): Likewise.
566 (fma_test): Likewise.
569 (nexttoward_test): Likewise.
570 (pow_test): Likewise.
571 (scalbn_test): Likewise.
572 (scalbln_test): Likewise.
573 (tan_test): Likewise.
575 * sysdeps/i386/fpu/libm-test-ulps: Update.
576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
578 2012-05-23 David S. Miller <davem@davemloft.net>
580 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
581 (__libc_sigaction): Remove unused local variables.
583 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
585 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
587 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
589 mktime: avoid signed integer overflow
590 * time/mktime.c (__mktime_internal): Do not mishandle the case
591 where diff == INT_MIN.
593 mktime: simplify computation of average
594 * time/mktime.c (ranged_convert): Use new time_t_avg function
595 instead of rolling our own (probably-slower) code.
597 mktime: do not assume signed right shift propagates sign bit
598 * time/mktime.c (isdst_differ): New static function.
599 (__mktime_internal): No need to normalize tm_isdst now.
600 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
603 mktime: merge another wrapv change from gnulib
604 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
607 mktime: remove incorrect attempt at unusual arithmetics
608 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
609 The code didn't really work on such machines anyway.
610 (TYPE_MINIMUM): Assume two's complement.
611 (twos_complement_arithmetic): Verify that long_int and time_t
612 are two's complement (or unsigned, in the latter case).
614 mktime: check signed shifts on long_int and time_t, too
615 * time/mktime.c (SHR): Check that shifts work as desired
616 on the types long_int and time_t too, as SHR is used on
619 mktime: do not assume 'long' is wide enough
620 * time/mktime.c (verify): Move decl up.
621 (long_int): New type.
622 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
623 to remove assumption in the code that 'long' is wide enough to
624 store year values. This assumption is not true on x32 and on
625 some non-glibc platforms.
627 mktime: merge wrapv change from gnulib
628 * time/mktime.c (WRAPV): New macro.
629 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
630 (guess_time_tm, __mktime_internal): Do not assume that signed
631 integer overflow wraps around; modern compilers generate code
632 where this assumption is no longer valid.
634 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
636 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
637 Replace "jmp L(pseudo_end)" with "ret".
638 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
641 2012-05-23 Andreas Jaeger <aj@suse.de>
643 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
644 * sysdeps/unix/sysv/linux/poll.c: Remove file.
646 2012-05-23 Andreas Jaeger <aj@suse.de>
647 Maximilian Attems <max@stro.at>
649 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
652 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
654 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
655 code so that pseudo_end is just ret and the stack pointer is
656 correct also for static library in error case.
658 2012-05-23 Joseph Myers <joseph@codesourcery.com>
660 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
661 move to syscalls.list.
662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
667 * manual/install.texi (Running make install): Do not mention Linux
668 kernel version for which pt_chown is not needed.
669 (Linux): Do not mention problems with nscd with 2.0 kernels.
670 * INSTALL: Regenerated.
672 2012-05-23 Andreas Jaeger <aj@suse.de>
674 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
675 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
677 * sysdeps/unix/sysv/linux/s390/bits/mman.h
678 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
679 * sysdeps/unix/sysv/linux/sh/bits/mman.h
680 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
681 * sysdeps/unix/sysv/linux/i386/bits/mman.h
682 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
683 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
684 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
685 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
686 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
687 * sysdeps/unix/sysv/linux/bits/in.h
688 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
690 2012-05-22 Roland McGrath <roland@hack.frob.com>
692 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
693 (PREPARE_VERSION): Just use assert instead, it will be elided
694 under [NDEBUG] anyway.
696 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
698 * sysdeps/unix/sysv/linux/Makefile: Include
699 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
700 (sysdep_routines): Remove sysctl.
701 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
702 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
703 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
704 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
705 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
707 2012-05-22 Andreas Jaeger <aj@suse.de>
709 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
710 that pseudo_end is just ret and the stack pointer is correct also
711 for static library in error case.
713 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
716 * nss/nsswitch.c (defconfig_entries): New variable.
717 (__nss_database_lookup): Don't leak defconfig entries.
718 (nss_parse_service_list): Don't leak on error paths.
719 (free_database_entries): New function.
720 (free_defconfig): New function.
721 (free_mem): Move common code to free_database_entries.
723 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
725 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
727 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
729 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
730 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
731 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
733 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
734 (INTERNAL_SYSCALL_TYPES): Likewise.
735 (LOAD_ARGS_TYPES_[1-6]): Likewise.
736 (LOAD_REGS_TYPES_[1-6]): Likewise.
737 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
738 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
740 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
742 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
743 copysignl for GLIBC_2_0.
744 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
745 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
746 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
748 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
749 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
751 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
753 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
754 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
756 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
759 * time/mktime.c: Update copyright years.
761 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
763 mktime: merge comment-quoting-style change from gnulib
764 * time/mktime.c: Quote 'like this' in comments.
765 The GNU coding standards suggest that we no longer quote `like this',
766 as "`" and "'" are typically rendered asymmetrically nowadays.
767 The typical gnulib style is to quote 'like this' when quoting
768 code, and "like this" when quoting English.
770 * time/mktime.c (compile-command): Add "-I.".
772 mktime: merge mktime-internal.h change from gnulib
773 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
775 mktime: merge time_r change from gnulib
776 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
778 mktime: merge DEBUG change from gnulib
779 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
780 case system <time.h> has a #define.
782 mktime: merge <sys/types.h> change from gnulib
783 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
784 since <time.t> is now guaranteed to define time_t.
786 mktime: merge HAVE_CONFIG_H change from gnulib
787 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
789 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
791 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
794 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
796 (struct rusage): Use anonymous union to pad each field to
799 2012-05-21 David S. Miller <davem@davemloft.net>
801 * Makefules (o-iterator): Remove .s cases.
802 (compile-command.s): Delete.
804 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
806 2012-05-21 Joseph Myers <joseph@codesourcery.com>
808 * configure.in (libc_cv_predef_stack_protector): Only consider
809 "foobar" and "__stack_chk_fail" lines in libc_undefs.
810 * configure: Regenerated.
812 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
814 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
815 New macro. Use R*LP on int and pointer.
816 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
817 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
818 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
819 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
821 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
822 [__WORDSIZE_TIME64_COMPAT32] instead of
823 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
824 (struct utmp): Likewise.
825 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
826 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
828 (__WORDSIZE_TIME64_COMPAT32): This.
829 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
830 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
831 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
832 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
833 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
834 (__WORDSIZE_TIME64_COMPAT32): New macro.
836 2012-05-21 Andreas Jaeger <aj@suse.de>
838 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
839 only if [SHARED]. Add prototype for __wcschr_ia32.
841 2012-05-21 Roland McGrath <roland@hack.frob.com>
843 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
844 of %rbp unmolested in the jmp_buf while mangling the low bits.
845 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
846 unmolested high bits of %rbp while demangling the low bits.
847 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
849 2012-05-21 Andreas Jaeger <aj@suse.de>
851 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
852 * sunrpc/svc_simple.c: Use it for registerrpc.
853 * sunrpc/xcrypt.c: Use it for passwd2des.
855 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
857 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
859 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
860 Don't define if [__SYSCALL_WORDSIZE != 32].
861 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
864 2012-05-21 Bruno Haible <bruno@clisp.org>
865 Andreas Jaeger <aj@suse.de>
867 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
868 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
869 inptr and inend for must_buffer_ch.
870 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
871 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
872 * stdio-common/Makefile (tests): Remove bug15.
873 (bug15-ENV): Remove macro.
874 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
877 2012-05-19 Andreas Jaeger <aj@suse.de>
878 Roland McGrath <roland@hack.frob.com>
880 * manual/contrib.texi: Completely rewritten. It contains now an
881 alphabetical list of contributors and their contributions.
883 2012-05-21 Richard Henderson <rth@twiddle.net>
885 * misc/getauxval.c (__getauxval): Use unsigned long int.
886 * misc/sys/auxv.h: Include <sys/cdefs.h>.
887 (getauxval): Use unsigned long int.
889 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
891 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
893 2012-05-21 Roland McGrath <roland@hack.frob.com>
895 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
896 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
897 __alignof__ (long double).
899 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
903 2012-05-20 Richard Henderson <rth@twiddle.net>
905 * misc/getauxval.c: New file.
906 * misc/sys/auxv.h: New file.
907 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
908 (routines): Add getauxval.
909 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
910 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
911 * elf/dl-sysdep.c (_dl_auxv): Remove.
912 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
913 * elf/dl-support.c (_dl_auxv): New variable.
914 (_dl_aux_init): Initialize it.
915 * manual/startup.texi (Auxiliary Vector): New node.
916 * sysdeps/generic/bits/hwcap.h: New file.
917 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
918 * sysdeps/powerpc/sysdep.h: ... here. Include it.
919 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
920 * sysdeps/sparc/sysdep.h: ... here. Include it.
921 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
922 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
928 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
931 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
934 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
938 2012-05-19 David S. Miller <davem@davemloft.net>
940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
942 2012-05-19 Joseph Myers <joseph@codesourcery.com>
945 * math/s_ccosh.c: Include <float.h>
946 (__ccosh): Avoid internal overflow calculating sinh and cosh
947 values before multiplying by sin and cos values.
948 * math/s_ccoshf.c: Likewise.
949 * math/s_ccoshl.c: Likewise.
950 * math/s_csin.c: Likewise.
951 * math/s_csinf.c: Likewise.
952 * math/s_csinl.c: Likewise.
953 * math/s_csinh.c: Likewise.
954 * math/s_csinhf.c: Likewise.
955 * math/s_csinhl.c: Likewise.
956 * math/libm-test.inc (ccos_test): Add more tests.
957 (ccosh_test): Likewise.
958 (csin_test): Likewise.
959 (csinh_test): Likewise.
960 * sysdeps/i386/fpu/libm-test-ulps: Update.
961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
963 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
965 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
966 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
968 * sysdeps/x86_64/x32/_itoa.h: Add comment.
970 2012-05-19 Joseph Myers <joseph@codesourcery.com>
972 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
973 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
974 * sysdeps/powerpc/soft-fp/Versions: Likewise.
975 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
976 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
977 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
978 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
979 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
980 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
981 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
982 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
983 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
984 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
985 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
986 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
987 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
988 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
989 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
990 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
991 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
992 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
993 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
994 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
995 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
996 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
997 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
998 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
999 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1000 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1001 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1002 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1004 2012-05-18 Andreas Jaeger <aj@suse.de>
1006 * csu/.gitignore: Delete.
1008 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1010 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1011 (timex): Use __syscall_slong_t.
1013 2012-05-18 Andreas Jaeger <aj@suse.de>
1014 Carlos O'Donell <carlos_odonell@mentor.com>
1016 * manual/install.texi (Configuring and compiling): Update
1017 description about files modified in the source directory.
1018 * INSTALL: Regenerated.
1020 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1022 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1023 value. Use "or" to set return value to -1.
1024 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1025 negate return value.
1027 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1029 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1030 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1031 failure if the compiler has Graphite support disabled.
1032 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1034 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1035 CFLAGS-memmove.c): Likewise.
1036 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1039 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1041 * sysdeps/x86_64/x32/_itoa.h: New file.
1043 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1044 getdents system call only if kernel and user dirents have the
1045 same d_ino and d_off.
1047 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1048 LLONG_MAX != LONG_MAX.
1049 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1050 (_fitoa_word): Likewise.
1052 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1054 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1055 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1056 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1058 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1059 include <bits/wordsize.h>. Check __x86_64__ instead of
1061 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1062 if __x86_64__ is defined. Use anonymous union on fpstate.
1064 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1067 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1069 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1070 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1071 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1072 Refer to _rtld_local_ro instead of _rtld_global_ro.
1073 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1075 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1077 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1079 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1080 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1081 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1083 * sysdeps/powerpc/powerpc32/dl-machine.c
1084 (__elf_machine_runtime_setup) [PROF]: Don't reference
1087 2012-05-18 Andreas Jaeger <aj@suse.de>
1089 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1090 function only available for GCCs before 3.4 since GCC 3.4
1091 introduced a builtin.
1093 (llrintf): Likewise.
1101 (nearbyint): Likewise.
1102 (nearbyintf): Likewise.
1108 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1110 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1111 on both fields and cast pointer to __syscall_ulong_t.
1113 * bits/types.h (__fsword_t): New type.
1114 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1115 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1116 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1117 (__FSWORD_T_TYPE): Likewise.
1118 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1119 (__FSWORD_T_TYPE): Likewise.
1120 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1121 (__FSWORD_T_TYPE): Likewise.
1122 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1123 (__FSWORD_T_TYPE): Likewise.
1124 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1125 __SWORD_TYPE with __fsword_t.
1126 (statfs64): Likewise.
1128 2012-05-17 David S. Miller <davem@davemloft.net>
1130 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1132 2012-05-17 Andreas Jaeger <aj@suse.de>
1134 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1137 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1139 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1141 2012-05-17 Andreas Jaeger <aj@suse.de>
1143 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1146 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1148 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1150 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1152 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1153 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1155 2012-05-17 Andreas Jaeger <aj@suse.de>
1156 Carlos O'Donell <carlos_odonell@mentor.com>
1159 * sysdeps/x86_64/multiarch/init-arch.h
1160 (bit_YMM_Usable): Rename to...
1161 (bit_AVX_Usable): ... this.
1162 (bit_FMA4_Usable): New macro.
1163 (bit_XMM_state): New macro.
1164 (bit_YMM_state): New macro.
1165 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1166 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1167 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1168 (CPUID_OSXSAVE): New macro.
1169 (CPUID_AVX): New macro.
1170 (CPUID_FMA4): New macro.
1171 (index_YMM_Usable): Rename to...
1172 (index_AVX_Usable): ... this.
1173 (HAS_AVX): Use HAS_ARCH_FEATURE.
1174 (HAS_FMA4): Likewise.
1175 (HAS_YMM_USABLE): Remove.
1176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1177 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1179 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1180 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1181 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1182 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1183 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1185 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1187 * math/libm-test.c: Support platforms without multiple rounding modes.
1188 * math/bug-nextafter.c: Support platforms without FP exceptions.
1189 * math/bug-nexttoward.c: Likewise.
1190 * math/test-fenv.c: Likewise.
1191 * math/test-misc.c: Likewise.
1192 * stdlib/bug-getcontext.c: Likewise.
1194 2012-05-17 Andreas Jaeger <aj@suse.de>
1196 * manual/examples/search.c (critter_cmp): Change signature to
1198 * manual/string.texi (Collation Functions): Likewise.
1200 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1202 * bits/types.h: Fold copyright years.
1203 * bits/typesizes.h: Likewise.
1204 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1205 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1206 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1207 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1208 * time/time.h: Likewise.
1210 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1213 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1214 in instead of returning them. Return void.
1215 (__libc_mallinfo): Accumulate over all arenas.
1216 (__malloc_stats): Adjust for change in int_mallinfo interface.
1218 2012-05-16 Roland McGrath <roland@hack.frob.com>
1221 * configure.in (NM): Add AC_CHECK_TOOL for it.
1222 (libc_extra_cflags): New substituted variable.
1223 Check for -fstack-protector being used implicitly.
1224 * configure: Regenerated.
1225 * config.make.in (config-extra-cflags): New variable,
1226 gets @libc_extra_cflags@.
1227 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1230 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1231 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1232 * configure: Regenerated.
1233 * config.make.in (CPPUNDEFS): New substituted variable.
1234 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1235 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1236 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1238 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1240 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1241 (mq_attr): Use __syscall_slong_t.
1243 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1245 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1246 Check __x86_64__ instead of __WORDSIZE.
1247 (_STAT_VER_LINUX): Likewise.
1248 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1249 __syscall_ulong_t and __syscall_slong_t.
1252 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1254 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1256 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1258 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1260 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1262 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1265 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1266 include <bits/wordsize.h>. Check __x86_64__ instead of
1268 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1270 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1272 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1273 include <bits/wordsize.h>. Check __x86_64__ instead of
1275 (user_regs_struct): Use "__extension__ unsigned long long"
1276 instead of "unsigned long" if __x86_64__ is defined.
1277 (user): Likewise. Pad after pointer field if __ILP32__ is
1280 2012-05-16 Joseph Myers <joseph@codesourcery.com>
1282 * configure.in (makeinfo): Require version 4.5 or later. Allow
1284 * configure: Regenerated.
1285 * manual/install.texi (texinfo): Increase version requirement to
1287 * INSTALL: Regenerated.
1289 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1291 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1293 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1295 * sysdeps/x86_64/x32/ffs.c: New file.
1297 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1299 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1300 defined. Use __syscall_ulong_t.
1301 (shminfo): Use __syscall_ulong_t.
1302 (shm_info): Likewise.
1304 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1307 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1309 (msgqnum_t): Use __syscall_ulong_t.
1310 (msglen_t): Likewise.
1311 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1314 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1315 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1317 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1319 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1320 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1322 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1325 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1326 include <bits/wordsize.h>. Check __x86_64__ instead of
1329 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1330 "unsigned long long int" if __x86_64__ is defined.
1331 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1333 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1334 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1335 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1337 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1339 (GET_PC): Cast to uintptr_t first.
1340 (GET_FRAME): Likewise.
1341 (GET_STACK): Likewise.
1343 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1344 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1345 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1346 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1347 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1348 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1349 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1350 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1351 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1352 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1353 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1354 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1355 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1356 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1357 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1358 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1359 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1360 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1361 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1362 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1363 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1364 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1365 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1366 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1367 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1368 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1369 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1370 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1371 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1373 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1375 * Makerules (+depfiles): Also collect depfiles from .oS in
1377 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1378 .oS, $(libnldbl-routines)).
1380 * Makerules (native-compile-mkdep-flags): Define.
1381 * sunrpc/Makefile (extra-objs): Add $(addprefix
1382 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1383 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1384 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1385 calling $(make-target-directory).
1387 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1389 * bits/types.h (__snseconds_t): Removed.
1390 * time/time.h (struct timespec): Replace __snseconds_t with
1392 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1393 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1395 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1396 (__SNSECONDS_T_TYPE): Likewise.
1397 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1398 (__SNSECONDS_T_TYPE): Likewise.
1399 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1400 (__SNSECONDS_T_TYPE): Likewise.
1402 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1404 * sysdeps/mach/hurd/bits/typesizes.h
1405 (__SYSCALL_SLONG_TYPE): New macro.
1406 (__SYSCALL_ULONG_TYPE): Likewise.
1408 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1410 * bits/types.h (__syscall_slong_t): New type.
1411 (__syscall_ulong_t): Likewise.
1413 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1414 (__SYSCALL_ULONG_TYPE): Likewise.
1415 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1416 (__SYSCALL_SLONG_TYPE): Likewise.
1417 (__SYSCALL_ULONG_TYPE): Likewise.
1418 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1419 (__SYSCALL_SLONG_TYPE): Likewise.
1420 (__SYSCALL_ULONG_TYPE): Likewise.
1421 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1422 (__SYSCALL_SLONG_TYPE): Likewise.
1423 (__SYSCALL_ULONG_TYPE): Likewise.
1425 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1427 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1428 Add sigaltstack-offsets.sym.
1429 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1430 <sigaltstack-offsets.h>.
1431 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1432 longjmp_msg pointer.
1433 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1434 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1436 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1438 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1440 * elf/stackguard-macros.h: Remove file.
1441 * sysdeps/generic/stackguard-macros.h: New file.
1442 * sysdeps/i386/stackguard-macros.h: Likewise.
1443 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1444 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1445 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1446 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1447 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1448 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1449 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1450 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1451 <elf/stackguard-macros.h>.
1454 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1455 __aligned__ in attribute.
1456 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1457 (gregset_t): Likewise.
1459 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1461 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1462 * sysdeps/x86_64/64/Implies-after: Here. New file.
1463 * sysdeps/x86_64/x32/Implies-after: New file.
1465 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1467 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1468 and access return value for _dl_profile_fixup. Use R10_LP to
1471 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1473 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1475 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1477 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1478 * sysdeps/x86_64/x32/sysdep.h: New file.
1480 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1482 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1483 * sysdeps/x86_64/setjmp.S: Likewise.
1485 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1487 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1488 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1489 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1490 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1491 remove unused global constant.
1493 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1495 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1496 include of <not-cancel.h>.
1498 2012-05-15 Roland McGrath <roland@hack.frob.com>
1500 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1502 2012-05-15 Jeff Law <law@redhat.com>
1503 Andreas Jaeger <aj@suse.de>
1506 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1508 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1509 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1510 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1511 code changing __hst_map_handle.map.
1513 2012-05-15 Roland McGrath <roland@hack.frob.com>
1515 * configure.in (sysnames): Look for Implies-before and Implies-after
1517 * configure: Regenerated.
1519 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1521 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1522 8-byte data alignment with LP_SIZE alignment.
1524 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1526 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1529 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1531 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1533 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1535 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1536 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1537 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1539 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1541 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1543 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1544 (stackinfo_sub_sp): Likewise.
1546 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1548 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1551 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1553 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1556 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1558 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1561 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1563 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1565 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1567 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1568 into R11_LP and load __x86_64_shared_cache_size_half into
1571 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1573 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1576 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1578 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1580 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1582 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1584 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1585 powerpc32/power7/fpu/s_logb.c via #include.
1586 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1587 powerpc32/power7/fpu/s_logbf.c via #include.
1588 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
1589 powerpc32/power7/fpu/s_logbl.c via #include.
1591 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1593 * README.libm: Remove file.
1595 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1597 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1598 count for x32. Use R*_LP and omit operand-size suffix.
1600 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1602 * shlib-versions: Move x86_64-.*-linux.* entries to ...
1603 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1604 * sysdeps/x86_64/x32/shlib-versions: New file.
1606 2012-05-14 Roland McGrath <roland@hack.frob.com>
1608 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1609 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1610 Use _dl_fatal_printf instead.
1612 2012-05-14 Joseph Myers <joseph@codesourcery.com>
1614 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1615 set if not set by the user. Do not allow for being unset.
1616 * sysdeps/unix/sysv/linux/configure: Regenerated.
1618 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1620 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1621 the `q' suffix from lea and replace .quad with ASM_ADDR.
1623 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1625 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1626 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1628 (PTR_DEMANGLE): Likewise.
1630 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1632 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1634 (ASM_ADDR): Likewise.
1652 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1654 * sysdeps/x86_64/x32/dl-machine.h: New file.
1656 2012-05-14 Andreas Jaeger <aj@suse.de>
1658 * manual/Makefile (subdir): Remove export of subdir.
1659 (all): Remove target.
1660 (.PHONY): Remove all from list.
1661 (mkinstalldirs): Remove.
1662 (.PHONY): Remove installdirs from list.
1663 ($(inst_infodir)/libc.info): Use make-target-directory.
1664 (installdirs): Remove.
1666 (glibc-targets): Remove.
1669 ($(objpfx)stubs ../po/manual.pot): Remove.
1670 ($(objpfx)stamp%): Remove.
1671 (make-target-directory): Remove.
1672 (subdir_install): Remove.
1680 * manual/.gitignore: Remove, it's not needed anymore.
1681 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
1683 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
1685 (texis): Renamed to $(objpfx)texis.
1686 (texis-path): New, contains path to generated files.
1687 (chapters.%): Use texis-path for complete path, add extra argument
1689 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
1690 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
1691 (summary,texi, stamp-summary): Use complete path of
1692 files. Generate files in build dir.
1693 (dir-add.texi): Build in build dir.
1694 (libm-err.texi,stamp-libm-err): Likewise.
1695 (version.texi, stamp-version): Likewise.
1696 (.%c.texi): Likewise.
1697 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
1698 (mostlyclean): Remove target.
1699 (realclean): Remove target.
1700 (generated): Add new variable with contents from mostlyclean and
1701 realclean, remove entries duplicated in common-mostlyclean, add
1702 stamp-libm-err and stamp-version.
1703 (generated-dirs): Add libc directory.
1704 ($(inst_infodir)/libc.info): Install files from build dir.
1706 * manual/install.texi (Configuring and compiling): Adjust since
1707 the info files are not part of the tar ball anymore.
1709 2012-05-14 Andreas Jaeger <aj@suse.de>
1711 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
1714 2012-05-14 Joseph Myers <joseph@codesourcery.com>
1717 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1718 to 2.2.0 where earlier.
1719 * sysdeps/unix/sysv/linux/configure: Regenerated.
1720 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
1721 Remove conditional code.
1722 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
1723 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
1724 Remove conditional code.
1725 [!__NR_lchown]: Likewise.
1726 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1727 [__NR_lchown]: Likewise.
1728 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
1729 comment referencing __ASSUME_LCHOWN_SYSCALL.
1730 * sysdeps/unix/sysv/linux/i386/sigaction.c
1731 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1732 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1733 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
1734 Remove conditional code.
1735 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
1736 (__protocol_available): Remove #if 0 code.
1737 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
1739 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
1740 * sysdeps/unix/sysv/linux/kernel-features.h
1741 (__ASSUME_GETCWD_SYSCALL): Don't define.
1742 (__ASSUME_REALTIME_SIGNALS): Likewise.
1743 (__ASSUME_PREAD_SYSCALL): Likewise.
1744 (__ASSUME_PWRITE_SYSCALL): Likewise.
1745 (__ASSUME_POLL_SYSCALL): Likewise.
1746 (__ASSUME_LCHOWN_SYSCALL): Likewise.
1747 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
1749 (__ASSUME_SIOCGIFNAME): Don't define.
1750 (__ASSUME_MSG_NOSIGNAL): Likewise.
1751 (__ASSUME_SENDFILE): Define unconditionally.
1752 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
1753 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
1755 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
1756 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
1757 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1758 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1759 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
1760 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1761 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
1763 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1764 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1766 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1767 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
1769 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1770 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1772 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1773 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
1775 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1776 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1778 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1779 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
1781 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1782 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1784 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1785 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1786 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
1787 Remove conditional code.
1788 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1789 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1790 Remove conditional code.
1791 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1792 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
1793 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
1794 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1795 Remove conditional code.
1796 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1797 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
1798 Remove conditional code.
1799 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1800 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
1801 Remove conditional code.
1802 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1803 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1804 Remove conditional code.
1805 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1806 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1807 Remove conditional code.
1808 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1809 * sysdeps/unix/sysv/linux/sh/pwrite64.c
1810 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1811 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1812 * sysdeps/unix/sysv/linux/sigaction.c
1813 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1814 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1815 * sysdeps/unix/sysv/linux/sigpending.c
1816 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1817 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1818 * sysdeps/unix/sysv/linux/sigprocmask.c
1819 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1820 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1821 * sysdeps/unix/sysv/linux/sigsuspend.c
1822 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1823 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1824 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1825 (__libc_missing_rt_sigs): Remove.
1826 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
1827 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
1828 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
1829 Remove conditional code.
1830 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
1831 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
1833 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
1834 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
1835 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
1836 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
1838 2012-05-14 Andreas Jaeger <aj@suse.de>
1840 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
1841 it's not used in glibc.
1842 (__coshm1): Likewise.
1843 (__acosh1p): Likewise.
1846 * manual/string.texi (Copying and Concatenation): Add missing
1847 variable in concat example.
1848 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1850 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1853 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
1854 __builtin_clzl with __builtin_clzll.
1856 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1859 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
1862 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1864 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
1865 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
1866 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
1867 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
1869 2012-05-14 Mike Frysinger <vapier@gentoo.org>
1871 * NEWS: Update ia64 info.
1873 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
1875 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
1878 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
1880 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
1881 * sysdeps/unix/syscalls.list (dup3): Likewise.
1882 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1883 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1885 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1887 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1888 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1890 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1892 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1894 (TLS_IE): Use mov/add instead of movq/addq to load thread
1896 (TLS_GD_PREFIX): New.
1899 2012-05-11 David S. Miller <davem@davemloft.net>
1901 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1902 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1903 (_FPU_SETCW): Likewise.
1905 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1907 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1910 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1913 * iconvdata/gb18030.c: Update tables.
1914 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1915 characters specially.
1916 (BODY for TO_LOOP): Add encoding of missing ranges.
1918 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1921 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1922 * sysdeps/mach/hurd/dup3.c: Likewise.
1923 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1924 * sysdeps/powerpc/memmove.c:: Likewise.
1926 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1928 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1929 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1931 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1933 * elf/elf.h (R_X86_64_RELATIVE64): New.
1934 (R_X86_64_NUM): Updated.
1935 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1936 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
1937 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1938 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1939 tst-quad1pie tst-quad2pie
1940 (modules-names): Add tst-quadmod1 tst-quadmod2.
1941 ($(objpfx)tst-quad1): New dependency.
1942 ($(objpfx)tst-quad2): Likewise.
1943 ($(objpfx)tst-quad1pie): Likewise.
1944 ($(objpfx)tst-quad2pie): Likewise.
1945 * sysdeps/x86_64/tst-quad1.c: New file.
1946 * sysdeps/x86_64/tst-quad1pie.c: New file.
1947 * sysdeps/x86_64/tst-quad2.c: Likewise.
1948 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1949 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1950 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1951 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1952 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1954 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1956 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1957 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1958 * streams/stropts.h (t_scalar_t): Define type.
1960 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1961 (_PATH_PRESERVE): Set to "/var/lib".
1962 (_PATH_RWHODIR): Set to "/var/spool/rwho".
1964 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1967 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1968 if __dir_mkfile succeeded.
1970 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1971 checking for _hurd_dtablesize. Unlock it right after having
1972 finished _hurd_dtable allocation.
1974 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1976 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
1977 * sysdeps/mach/hurd/configure: Regenerated.
1978 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
1979 special-casing to...
1980 * sysdeps/gnu/configure.in: ... this new file.
1981 * sysdeps/unix/sysv/linux/configure: Regenerated.
1982 * sysdeps/gnu/configure: New generated file.
1984 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
1985 for Linux: use nsec instead of usec, as well as:
1986 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
1987 members of type struct timespec.
1988 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
1990 (struct stat64): Likewise.
1991 (_STATBUF_ST_NSEC): New macro.
1992 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
1994 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1995 __strtoul_internal rather than strtoul.
1997 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1999 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2002 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2004 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2005 which preserves existing values.
2006 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2008 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2010 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2011 TIMEOUT values. Return EINVAL for NFDS values either negative or
2012 greater than FD_SETSIZE.
2014 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2016 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2017 allocated, call __vm_protect to finish enabling the existing space, and
2018 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2019 allocate the remainder.
2021 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2023 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2024 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2026 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2028 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2029 sysdeps/mach/hurd/readlink.c.
2031 * posix/tst-sysconf.c (posix_options): Only use
2032 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2033 _POSIX_SYNCHRONIZED_IO when they are defined
2034 * sysdeps/mach/hurd/bits/posix_opt.h:
2035 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2036 (_XOPEN_REALTIME): Undefine macro.
2037 (_XOPEN_REALTIME_THREADS): Undefine macro.
2038 (_XOPEN_SHM): Undefine macro.
2039 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2041 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2043 (_POSIX_ASYNC_IO): Undefine macro.
2044 (_POSIX_PRIORITIZED_IO): Undefine macro.
2045 (_POSIX_SPIN_LOCKS): Define macro to -1.
2047 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2048 SA_NODEFER, SA_RESETHAND.
2049 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2050 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2053 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2055 * elf/Makefile (pldd-modules): Define unconditionally.
2057 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2059 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2061 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2063 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2064 Return ENOENT when name is empty.
2065 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2067 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2069 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2071 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2073 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2075 Fix mlock in all cases except non-readable pages.
2076 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2077 instead of VM_PROT_ALL as parameter to __vm_wire function.
2079 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2080 (__mkdir): When path is `/', just fail with EEXIST.
2081 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2083 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2085 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2086 <sys/uio.h> (for writev).
2087 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2088 and <sys/param.h> (for MIN).
2090 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2092 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2093 REQUESTED_TIME. Properly set the remaining time and return EINTR
2096 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2098 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2099 Depend on against $(link-rpcuserlibs).
2101 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2103 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2104 (__libc_stack_end): Do not use attribute_relro.
2105 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2106 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
2107 to libthread-provided value.
2108 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2111 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2114 * bits/libc-lock.h (__libc_once_get): New macro.
2115 * sysdeps/mach/bits/libc-lock.h: Likewise.
2116 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2117 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2118 instead of using implementation details.
2120 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2121 * libio/freopen.c: Likewise.
2122 * libio/freopen64.c: Likewise.
2123 * misc/syslog.c: Likewise.
2124 * nscd/connections.c: Likewise.
2125 * nscd/netgroupcache.c: Likewise.
2126 * sysdeps/posix/getcwd.c: Likewise.
2128 2012-05-10 Roland McGrath <roland@hack.frob.com>
2130 * math/w_ilogbf.c: Add #include <limits.h>.
2132 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2134 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
2135 path instead of returning without unlocking.
2137 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2138 immediate-write ioctls.
2139 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2141 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2143 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2144 __builtin_frame_address instead of making assumptions about the
2145 location of the return address relative to DATA. Force early load of
2147 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2148 __builtin_frame_address.
2151 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2152 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2153 implement dup3 and do some further code clean-ups.
2154 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2155 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2157 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2159 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2161 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2162 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2163 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2164 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2165 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2168 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2169 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2170 when handler == SIG_ERR, not when handler != SIG_ERR.
2172 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2174 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2175 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2178 accept4 for GNU Hurd.
2179 * include/sys/socket.h (__libc_accept4): New prototype.
2180 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2181 to implement __libc_accept4.
2182 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2184 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2186 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2187 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2188 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2191 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2193 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
2195 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2197 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2198 assertion on O_CLOEXEC flag.
2199 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2200 * hurd/intern-fd.c: Likewise.
2201 * hurd/port2fd.c: Likewise.
2203 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2206 * bits/in.h (IPV6_PKTINFO): Define new macro.
2207 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2209 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2214 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2215 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2216 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2217 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2218 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2219 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2220 * math/libm-test.inc (logb_test) : Additional logb tests.
2222 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2223 Andreas Jaeger <aj@suse.de>
2225 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2226 * configure: Regenerated.
2227 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2228 * config.make.in (link-obsolete-rpc): New substituted variable.
2229 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2230 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2231 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2232 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2233 so that libc.a contains the symbols.
2234 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2235 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2236 * sunrpc/auth_none.c: Likewise.
2237 * sunrpc/auth_unix.c: Likewise.
2238 * sunrpc/authdes_prot.c: Likewise.
2239 * sunrpc/authuxprot.c: Likewise.
2240 * sunrpc/clnt_gen.c: Likewise.
2241 * sunrpc/clnt_perr.c: Likewise.
2242 * sunrpc/clnt_raw.c: Likewise.
2243 * sunrpc/clnt_simp.c: Likewise.
2244 * sunrpc/clnt_tcp.c: Likewise.
2245 * sunrpc/clnt_udp.c: Likewise.
2246 * sunrpc/clnt_unix.c: Likewise.
2247 * sunrpc/des_crypt.c: Likewise.
2248 * sunrpc/des_soft.c: Likewise.
2249 * sunrpc/get_myaddr.c: Likewise.
2250 * sunrpc/key_call.c: Likewise.
2251 * sunrpc/key_prot.c: Likewise.
2252 * sunrpc/netname.c: Likewise.
2253 * sunrpc/pm_getmaps.c: Likewise.
2254 * sunrpc/pm_getport.c: Likewise.
2255 * sunrpc/pmap_clnt.c: Likewise.
2256 * sunrpc/pmap_prot.c: Likewise.
2257 * sunrpc/pmap_prot2.c: Likewise.
2258 * sunrpc/pmap_rmt.c: Likewise.
2259 * sunrpc/publickey.c: Likewise.
2260 * sunrpc/rpc_cmsg.c: Likewise.
2261 * sunrpc/rpc_common.c: Likewise.
2262 * sunrpc/rpc_dtable.c: Likewise.
2263 * sunrpc/rpc_prot.c: Likewise.
2264 * sunrpc/rpc_thread.c: Likewise.
2265 * sunrpc/rtime.c: Likewise.
2266 * sunrpc/svc.c: Likewise.
2267 * sunrpc/svc_auth.c: Likewise.
2268 * sunrpc/svc_raw.c: Likewise.
2269 * sunrpc/svc_run.c: Likewise.
2270 * sunrpc/svc_tcp.c: Likewise.
2271 * sunrpc/svc_udp.c: Likewise.
2272 * sunrpc/svc_unix.c: Likewise.
2273 * sunrpc/svcauth_des.c: Likewise.
2274 * sunrpc/xcrypt.c: Likewise.
2275 * sunrpc/xdr.c: Likewise.
2276 * sunrpc/xdr_array.c: Likewise.
2277 * sunrpc/xdr_float.c: Likewise.
2278 * sunrpc/xdr_intXX_t.c: Likewise.
2279 * sunrpc/xdr_mem.c: Likewise.
2280 * sunrpc/xdr_rec.c: Likewise.
2281 * sunrpc/xdr_ref.c: Likewise.
2282 * sunrpc/xdr_sizeof.c: Likewise.
2283 * sunrpc/xdr_stdio.c: Likewise.
2285 2012-05-10 Roland McGrath <roland@hack.frob.com>
2287 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2288 change. Update copyright years.
2290 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2292 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2294 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2295 Joseph Myers <joseph@codesourcery.com>
2296 Paul Pluzhnikov <ppluzhnikov@google.com>
2299 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2301 [cross-compiling] (extra-libs): Likewise.
2302 [cross-compiling] (extra-libs-others): Likewise.
2303 [cross-compiling] (librpcsvc-routines): Likewise.
2304 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2305 [cross-compiling] (omit-deps): Likewise.
2306 (sunrpc-CPPFLAGS): New variable.
2307 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2308 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2309 (cross-rpcgen-objs): New variable.
2310 (extra-objs): Append $(cross-rpcgen-objs).
2311 ($(cross-rpcgen-objs)): New rule.
2312 ($(objpfx)cross-rpcgen): Likewise.
2313 (rpcgen-cmd): Define to use $(built-program-file). Expand
2315 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2316 ($(objpfx)x%.stmp): Likewise.
2317 * sunrpc/proto.h [IS_IN_build] (_): Define.
2318 [IS_IN_build] (_libc_intl_domainname): Likewise.
2320 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2322 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2323 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2324 and R_X86_64_TPOFF64.
2326 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2328 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2329 sysdeps/unix/sysv/syscalls.list.
2332 * sysdeps/unix/sysv/syscalls.list: Remove file.
2334 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2337 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2338 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2339 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2340 (__LC_IDENTIFICATION): Make these macros useful in #if
2341 expressions, as required by C99.
2343 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2345 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2346 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2349 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2351 * stdlib/longlong.h: Updated from GCC.
2353 2012-05-09 Andreas Jaeger <aj@suse.de>
2355 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2356 default is first entry.
2357 (run_mode): Set type.
2358 (main): Remove informal message about syslog.
2359 (options): Fix typo.
2362 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
2365 (llrintf): Likewise.
2369 (nearbyint): Likewise.
2370 (nearbyintf): Likewise.
2372 2012-05-09 Andreas Jaeger <aj@suse.de>
2373 Pedro Alves <palves@redhat.com>
2375 * nscd/nscd.c (run_mode): Use enum.
2376 (main): Cleanup coding style issue.
2378 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
2379 Andreas Jaeger <aj@suse.de>
2381 * nscd/nscd.c (go_background): Replaced with...
2382 (run_mode): ... this.
2383 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
2384 (options): Add -F --foreground.
2385 (main): Implement it.
2386 (parse_opt): Parse it.
2388 2012-05-09 Andreas Jaeger <aj@suse.de>
2391 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2392 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2393 -Wconversion warning.
2394 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2397 2012-05-09 Joseph Myers <joseph@codesourcery.com>
2399 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2401 (LC_ALL): Use macro-int-constant.
2402 (LC_COLLATE): Likewise.
2403 (LC_CTYPE): Likewise.
2404 (LC_MESSAGES): Likewise.
2405 (LC_MONETARY): Likewise.
2406 (LC_NUMERIC): Likewise.
2407 (LC_TIME): Likewise.
2408 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2409 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2410 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2411 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2413 [C99-based standards] (float_t): Expect type.
2414 [C99-based standards] (double_t): Expect type.
2415 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2417 [C99-based standards] (HUGE_VALL): Likewise.
2418 [C99-based standards] (INFINITY): Likewise.
2419 [C99-based standards] (NAN): Likewise.
2420 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2421 [C99-based standards] (FP_NAN): Likewise.
2422 [C99-based standards] (FP_NORMAL): Likewise.
2423 [C99-based standards] (FP_SUBNORMAL): Likewise.
2424 [C99-based standards] (FP_ZERO): Likewise.
2425 [C99-based standards] (FP_FAST_FMA): Use
2426 optional-macro-int-constant. Specify type. Require == 1.
2427 [C99-based standards] (FP_FAST_FMAF): Likewise.
2428 [C99-based standards] (FP_FAST_FMAL): Likewise.
2429 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2430 [C99-based standards] (FP_ILOGBNAN): Likewise.
2431 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2433 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2434 [C99-based standards] (math_errhandling): Specify type.
2435 [ISO99 || ISO11] (signgam): Do not allow.
2436 [non-C99-based standards] (copysignf): Do not allow.
2437 [non-C99-based standards] (exp2f): Likewise.
2438 [non-C99-based standards] (log2f): Likewise.
2439 [non-C99-based standards] (modff): Allow.
2440 [non-C99-based standards] (erff): Do not allow.
2441 [non-C99-based standards] (erfcf): Likewise.
2442 [non-C99-based standards] (gammaf): Likewise.
2443 [non-C99-based standards] (hypotf): Likewise.
2444 [non-C99-based standards] (j0f): Likewise.
2445 [non-C99-based standards] (j1f): Likewise.
2446 [non-C99-based standards] (jnf): Likewise.
2447 [non-C99-based standards] (lgammaf): Likewise.
2448 [non-C99-based standards] (tgammaf): Likewise.
2449 [non-C99-based standards] (y0f): Likewise.
2450 [non-C99-based standards] (y1f): Likewise.
2451 [non-C99-based standards] (ynf): Likewise.
2452 [non-C99-based standards] (isnanf): Likewise.
2453 [non-C99-based standards] (acoshf): Likewise.
2454 [non-C99-based standards] (asinhf): Likewise.
2455 [non-C99-based standards] (atanhf): Likewise.
2456 [non-C99-based standards] (cbrtf): Likewise.
2457 [non-C99-based standards] (expm1f): Likewise.
2458 [non-C99-based standards] (ilogbf): Likewise.
2459 [non-C99-based standards] (log1pf): Likewise.
2460 [non-C99-based standards] (logbf): Likewise.
2461 [non-C99-based standards] (nextafterf): Likewise.
2462 [non-C99-based standards] (remainderf): Likewise.
2463 [non-C99-based standards] (rintf): Likewise.
2464 [non-C99-based standards] (scalbf): Likewise.
2465 [non-C99-based standards] (copysignl): Likewise.
2466 [non-C99-based standards] (exp2l): Likewise.
2467 [non-C99-based standards] (log2l): Likewise.
2468 [non-C99-based standards] (modfl): Allow.
2469 [non-C99-based standards] (erfl): Do not allow.
2470 [non-C99-based standards] (erfcl): Likewise.
2471 [non-C99-based standards] (gammal): Likewise.
2472 [non-C99-based standards] (hypotl): Likewise.
2473 [non-C99-based standards] (j0l): Likewise.
2474 [non-C99-based standards] (j1l): Likewise.
2475 [non-C99-based standards] (jnl): Likewise.
2476 [non-C99-based standards] (lgammal): Likewise.
2477 [non-C99-based standards] (tgammal): Likewise.
2478 [non-C99-based standards] (y0l): Likewise.
2479 [non-C99-based standards] (y1l): Likewise.
2480 [non-C99-based standards] (ynl): Likewise.
2481 [non-C99-based standards] (isnanl): Likewise.
2482 [non-C99-based standards] (acoshl): Likewise.
2483 [non-C99-based standards] (asinhl): Likewise.
2484 [non-C99-based standards] (atanhl): Likewise.
2485 [non-C99-based standards] (cbrtl): Likewise.
2486 [non-C99-based standards] (expm1l): Likewise.
2487 [non-C99-based standards] (ilogbl): Likewise.
2488 [non-C99-based standards] (log1pl): Likewise.
2489 [non-C99-based standards] (logbl): Likewise.
2490 [non-C99-based standards] (nextafterl): Likewise.
2491 [non-C99-based standards] (remainderl): Likewise.
2492 [non-C99-based standards] (rintl): Likewise.
2493 [non-C99-based standards] (scalbl): Likewise.
2494 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2495 [non-C99-based standards] (FP_*): Do not allow.
2496 [C99-based standards] (FP_*): Change to
2497 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2498 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2500 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2501 (SIG_ERR): Likewise.
2502 [X/Open-based standards] (SIG_HOLD): Likewise.
2503 (SIG_IGN): Likewise.
2504 (SIGABRT): Use macro-int-constant. Specify type. Require
2509 (SIGSEGV): Likewise.
2511 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2512 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2513 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2514 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2515 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2516 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2517 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2518 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2519 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2520 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2521 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2522 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2523 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2524 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2525 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2526 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2527 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2528 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2529 [X/Open-based standards] (SIGTRAP): Likewise.
2530 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2531 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2532 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2533 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2534 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2537 2012-05-08 Ian Wienand <ianw@vmware.com>
2540 * time/tzset.c (__tzset_parse_tz): Update default rules for
2541 daylight time changes in the Energy Policy Act of 2005.
2543 2012-05-09 Andreas Jaeger <aj@suse.de>
2546 * elf/ldconfig.c (parse_conf): Change string to make clear that
2547 ldconfig only issued a warning if ld.so.conf does not exist.
2549 2012-05-08 David S. Miller <davem@davemloft.net>
2551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2552 movxtod instead of popping the value on the stack.
2554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2556 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2558 * config.h.in: Add HAVE_ARM_PCS_VFP.
2560 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
2563 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2564 checking but the checks are disabled for any reason.
2566 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2568 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2569 and ELF64_R_TYPE with ELFW(R_TYPE).
2571 2012-05-08 Joseph Myers <joseph@codesourcery.com>
2573 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2576 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2577 (settimeofday): Likewise.
2579 2012-05-08 Mike Frysinger <vapier@gentoo.org>
2581 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2582 a struct th_u2 inside the union, and move tu_block/tu_code into
2583 a new th_u3 union of tu_block/tu_code inside of that. Move
2584 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
2585 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
2586 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2587 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
2588 (th_stuff): Change to th_u1.tu_stuff.
2590 (th_msg): Change to th_u1.th_u2.tu_data.
2592 2012-05-07 David S. Miller <davem@davemloft.net>
2594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2597 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2598 (SETUP_PIC_REG): Use it.
2599 (SETUP_PIC_REG_LEAF): Use it.
2601 2012-05-07 Joseph Myers <joseph@codesourcery.com>
2605 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2607 (EXPL_FINITE): Likewise.
2609 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2610 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2612 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2614 (EXPL_FINITE): Likewise.
2616 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2617 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2619 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2620 test of -max_value argument for long double.
2621 * sysdeps/i386/fpu/libm-test-ulps: Update.
2622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2624 2012-05-06 David S. Miller <davem@davemloft.net>
2626 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2627 quad soft-float symbols whose references which are compiler
2629 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2631 2012-05-06 Joseph Myers <joseph@codesourcery.com>
2635 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2637 (EXPL_FINITE): Likewise.
2641 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2642 Adjust comments for base varying.
2643 (__expl_finite): Change alias to EXPL_FINITE.
2644 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
2646 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
2647 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2648 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2649 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
2650 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2652 (EXPL_FINITE): Likewise.
2656 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2657 Adjust comments for base varying.
2658 (__expl_finite): Change alias to EXPL_FINITE.
2659 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
2661 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2664 * math/libm-test.inc (check_float_internal): Correct ulp
2665 calculation for subnormal expected results.
2667 2012-05-06 Andreas Jaeger <aj@suse.de>
2669 * Makeconfig (+math-flags): New, set to -frounding-math.
2670 (+cflags): Add +math-flags so that all of glibc gets compiled with
2673 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
2675 2012-05-05 Joseph Myers <joseph@codesourcery.com>
2677 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
2683 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
2684 (__ieee754_expl): Allow for and saturate large arguments.
2685 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
2686 (u_threshold): Likewise.
2687 (__exp): Call __ieee754_exp before checking for overflow and
2689 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
2690 (u_threshold): Likewise.
2691 (__expf): Call __ieee754_expf before checking for overflow and
2693 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
2694 (u_threshold): Likewise.
2695 (__expl): Call __ieee754_expl before checking for overflow and
2697 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
2698 (__ieee754_expl): Allow for and saturate large arguments.
2699 * math/libm-test.inc (exp_test): Add another test. Do not allow
2700 missing overflow exception on overflow.
2701 (expm1_test): Do not allow missing overflow exception on overflow.
2703 * sysdeps/i386/fpu/e_expl.c: Move to ...
2704 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
2705 rather than using inline asm.
2706 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
2707 * sysdeps/x86_64/fpu/e_expl.S: Copy from
2708 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
2710 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
2717 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2719 * sysdeps/unix/syscalls.list (adjtime): Add entry from
2720 sysdeps/unix/common/syscalls.list.
2723 (ftruncate): Likewise.
2724 (getrusage): Likewise.
2725 (gettimeofday): Likewise.
2726 (setpgid): Likewise.
2727 (setregid): Likewise.
2728 (setreuid): Likewise.
2729 (sigaction): Likewise.
2730 (truncate): Likewise.
2731 (vhangup): Likewise.
2732 * sysdeps/unix/common/syscalls.list: Remove file.
2733 * sysdeps/unix/bsd/Implies: Don't include unix/common.
2734 * sysdeps/unix/sysv/linux/Implies: Likewise.
2736 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
2738 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
2739 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
2740 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
2742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2744 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
2746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
2747 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
2749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
2750 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
2752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
2753 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
2755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
2756 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
2758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
2759 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
2761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
2762 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
2764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2766 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
2768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
2770 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
2772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
2773 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
2775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
2777 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
2779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2781 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2783 * sysdeps/unix/common/bits/dirent.h: Remove file.
2784 * sysdeps/unix/common/bits/fcntl.h: Likewise.
2786 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
2787 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
2788 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
2789 * sysdeps/unix/bsd/isatty.c: Likewise.
2790 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2791 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2792 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2794 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2797 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
2798 long double comparison inaccuracies.
2799 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2802 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
2804 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
2805 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2807 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2810 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
2811 nonzero digits before rounding a hex value.
2812 * stdlib/tst-strtod.c (tests): Add another test.
2814 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2816 * sysdeps/s390/fpu/libm-test-ulps: Update.
2818 2012-05-03 Andreas Jaeger <aj@suse.de>
2820 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
2821 does not get optimized out.
2822 (malloc_opt_barrier): New.
2824 2012-05-03 Andreas Jaeger <aj@suse.de>
2825 Roland McGrath <roland@hack.frob.com>
2827 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
2828 intermediate file deletion.
2829 (generated): Add .symlist files.
2831 2012-05-03 Joseph Myers <joseph@codesourcery.com>
2834 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
2835 Redirect under this condition.
2836 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2837 [__USE_GNU] (__dprintf_chk): Not under this condition.
2838 [__USE_GNU] (__vdprintf_chk): Likewise.
2839 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
2840 under this condition.
2841 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2842 [__USE_XOPEN2K8] (dprintf): Define under this condition.
2843 [__USE_XOPEN2K8] (vdprintf): Likewise.
2844 [__USE_GNU] (__dprintf_chk): Not under this condition.
2845 [__USE_GNU] (__vdprintf_chk): Likewise.
2846 [__USE_GNU] (dprintf): Likewise.
2847 [__USE_GNU] (vdprintf): Likewise.
2849 2012-05-03 Roland McGrath <roland@hack.frob.com>
2851 * elf/Makefile (common-generated): Set this instead of generated for
2852 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
2853 $(all-built-dso)-derived lists.
2855 2012-05-03 Andreas Jaeger <aj@suse.de>
2857 * sysdeps/i386/fpu/libm-test-ulps: Update.
2861 * scripts/gen-FAQ.pl: Likewise.
2862 * manual/install.texi (Installation): Point to online location of
2864 * Makefile (files-for-dist): Remove FAQ.
2867 2012-05-02 Allan McRae <allan@archlinux.org>
2869 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
2870 (LDFLAGS-reldepmod5.so): Likewise.
2871 (LDFLAGS-reldep6mod1.so): Likewise.
2872 (LDFLAGS-reldep6mod4.so): Likewise.
2873 (LDFLAGS-reldep8mod3.so): Likewise.
2874 (LDFLAGS-unload4mod1.so): Likewise.
2875 (LDFLAGS-unload4mod2.so): Likewise.
2876 (LDFLAGS-tst-initorder): Likewise.
2877 (LDFLAGS-tst-initordera2.so): Likewise.
2878 (LDFLAGS-tst-initordera3.so): Likewise.
2879 (LDFLAGS-tst-initordera4.so): Likewise.
2880 (LDFLAGS-tst-initorderb2.so): Likewise.
2881 (LDFLAGS-noload): Likewise.
2882 (LDFLAGS-next): Likewise.
2883 (LDFLAGS-order2mod1.so): Likewise.
2884 (LDFLAGS-order2mod2.so): Likewise.
2885 (LDFLAGS-tst-initorder2): Likewise.
2886 (LDFLAGS-tst-initorder2a.so): Likewise.
2887 (LDFLAGS-tst-initorder2b.so): Likewise.
2888 (LDFLAGS-tst-initorder2c.so): Likewise.
2889 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2891 2012-05-02 David S. Miller <davem@davemloft.net>
2893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2895 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2898 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2900 2012-05-02 Andreas Jaeger <aj@suse.de>
2902 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2903 since we manipulate rounding mode.
2904 (CPPFLAGS-test-idouble.c): Likewise.
2905 (CPPFLAGS-test-ifloat.c): Likewise.
2906 (CFLAGS-test-ldouble.c): Likewise.
2907 (CFLAGS-test-double.c): Likewise.
2908 (CFLAGS-test-float.c): Likewise.
2909 (CFLAGS-test-misc.c): Likewise.
2910 (CFLAGS-test-test-fenv.c): Likewise.
2912 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2916 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2917 comparisons to determine direction to adjust input.
2919 2012-05-01 Roland McGrath <roland@hack.frob.com>
2921 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2922 output to the target.
2924 * scripts/localplt.awk: New file.
2925 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2926 (check-localplt-CFLAGS): Variable removed.
2927 ($(all-built-dso:=.jmprel)): New static pattern rule.
2928 (generated): Add those targets.
2929 (localplt-built-dso): New variable.
2930 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2932 * elf/check-localplt.c: File removed.
2934 * scripts/check-execstack.awk: New file.
2935 * elf/Makefile ($(objpfx)check-execstack): Target removed.
2936 (check-execstack-CFLAGS): Variable removed.
2937 ($(objpfx)check-execstack.h): Target removed.
2938 ($(objpfx)execstack-default): New target.
2939 (generated): Add that instead of check-execstack.h.
2940 ($(all-built-dso:=.phdr)): New static pattern rule.
2941 (generated): Add those targets.
2942 * elf/check-execstack.c: File removed.
2944 * scripts/check-textrel.awk: New file.
2945 * elf/Makefile ($(objpfx)check-textrel): Target removed.
2946 (check-textrel-CFLAGS): Variable removed.
2947 (all-built-dso): Use := to define.o
2948 ($(all-built-dso:=.dyn)): New static pattern rule.
2949 (generated): Add those targets.
2950 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2951 * config.make.in (READELF): New substituted variable.
2952 * elf/check-textrel.c: File removed.
2954 2012-05-01 Joseph Myers <joseph@codesourcery.com>
2956 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2958 * conform/data/ctype.h-data [C99-based standards] (isblank):
2960 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2961 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2962 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2963 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2964 Specify type. Require positive value.
2967 [ISO || POSIX] (EILSEQ): Do not expect.
2968 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2969 Specify type. Require positive value.
2970 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2971 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2972 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2973 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
2974 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
2975 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
2976 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
2977 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
2978 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
2979 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
2980 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
2981 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
2982 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
2983 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
2984 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
2985 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
2986 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
2987 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
2988 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
2989 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
2990 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
2991 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
2992 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
2993 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
2994 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
2995 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
2996 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
2997 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
2998 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
2999 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3000 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3001 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3002 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3003 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3004 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3005 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3006 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3007 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3008 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3009 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3010 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3011 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3012 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3013 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3014 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3015 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3016 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3017 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3018 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3019 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3020 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3021 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3022 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3023 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3024 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3025 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3026 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3027 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3028 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3029 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3030 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3031 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3032 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3033 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3034 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3035 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3036 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3037 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3038 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3039 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3040 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3041 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3042 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3043 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3044 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3045 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3046 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3048 (FLT_ROUNDS): Expect as macro, not constant.
3049 (FLT_MANT_DIG): Use macro-int-constant.
3050 (DBL_MANT_DIG): Likewise.
3051 (LDBL_MANT_DIG): Likewise.
3052 (FLT_DIG): Likewise.
3053 (DBL_DIG): Likewise.
3054 (LDBL_DIG): Likewise.
3055 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3056 (DBL_MIN_EXP): Likewise.
3057 (LDBL_MIN_EXP): Likewise.
3058 (FLT_MAX_EXP): Use macro-int-constant.
3059 (DBL_MAX_EXP): Likewise.
3060 (LDBL_MAX_EXP): Likewise.
3061 (FLT_MAX_10_EXP): Likewise.
3062 (DBL_MAX_10_EXP): Likewise.
3063 (LDBL_MAX_10_EXP): Likewise.
3064 (FLT_MAX): Use macro-constant.
3065 (DBL_MAX): Likewise.
3066 (LDBL_MAX): Likewise.
3067 (FLT_EPSILON): Use macro-constant. Give upper bound.
3068 (DBL_EPSILON): Likewise.
3069 (LDBL_EPSILON): Likewise.
3070 (FLT_MIN): Likewise.
3071 (DBL_MIN): Likewise.
3072 (LDBL_MIN): Likewise.
3073 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3074 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3075 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3076 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3077 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3078 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3079 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3080 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3081 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3082 [ISO11] (FLT_TRUE_MIN): Likewise.
3083 [ISO11] (LDBL_TRUE_MIN): Likewise.
3084 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3085 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3086 (SCHAR_MIN): Use macro-int-constant. Specify type.
3087 (SCHAR_MAX): Likewise.
3088 (UCHAR_MAX): Likewise.
3089 (CHAR_MIN): Likewise.
3090 (CHAR_MAX): Likewise.
3091 (MB_LEN_MAX): Use macro-int-constant.
3092 (SHRT_MIN): Use macro-int-constant. Specify type.
3093 (SHRT_MAX): Likewise.
3094 (USHRT_MAX): Likewise.
3095 (INT_MAX): Likewise.
3096 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3098 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3100 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3102 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3103 bound negative. Suffix upper bound with "L".
3104 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3106 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3108 [C99-based standards] (LLONG_MAX): Likewise.
3109 [C99-based standards] (ULLONG_MAX): Likewise.
3110 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3112 [ISO11] (max_align_t): Require type.
3113 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3115 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3116 from $CFLAGS, without defining away __attribute__ calls.
3117 (checknamespace): Use $CFLAGS_namespace.
3119 * conform/conformtest.pl (@keywords): Only include C99 keywords
3120 for standards based on C99 or C11.
3122 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3124 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3127 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3128 usability of symbols in #if.
3130 * conform/conformtest.pl: If macro or constant types start
3131 "promoted:", expect the symbol to be of the following type
3132 promoted by the integer promotions.
3134 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3135 in one place. Also handle "macro-constant".
3137 * conform/conformtest.pl: Only accept expected macro values with
3138 "==". Parse all "macro" lines in one place.
3139 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3141 * conform/conformtest.pl: Handle braced types on "constant" lines
3142 instead of handling "typed-constant".
3143 * conform/data/signal.h-data: Use "constant" instead of
3146 * conform/conformtest.pl: Handle "optional-" at start of lines in
3147 one place rather than duplicating several cases. Handle each
3148 format of "macro" line with initial "optional-".
3150 * conform/conformtest.pl: Only accept expected constant or
3151 optional-constant values with "==". Parse all "constant" lines in
3152 one place. Parse all "optional-constant" lines in one place.
3153 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3154 * conform/data/fmtmsg.h-data: Likewise.
3155 * conform/data/netinet/in.h-data: Likewise.
3156 * conform/data/tar.h-data: Likewise.
3157 * conform/data/limits.h-data: Use "==" form on "constant" and
3158 "optional-constant" lines.
3160 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3161 Use -std=c99 for XOPEN2K.
3162 (@knownproblems): Remove.
3163 (newtoken): Don't check %isknown.
3165 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3166 Do not expect macro.
3167 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3168 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3169 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3170 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3171 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3172 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3173 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3174 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3175 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3176 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3177 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3178 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3179 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3180 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3181 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3182 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3183 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3184 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3185 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3186 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3187 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3188 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3189 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3190 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3191 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3192 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3193 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3194 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3195 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3196 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3197 [XPG3] (acosh): Likewise.
3198 [XPG3] (asinh): Likewise.
3199 [XPG3] (atanh): Likewise.
3200 [XPG3] (cbrt): Likewise.
3201 [XPG3] (expm1): Likewise.
3202 [XPG3] (ilogb): Likewise.
3203 [XPG3] (log1p): Likewise.
3204 [XPG3] (logb): Likewise.
3205 [XPG3] (nextafter): Likewise.
3206 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3207 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3208 [XPG3] (remainder): Likewise.
3209 [XPG3] (rint): Likewise.
3210 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3211 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3212 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3213 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3214 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3215 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3216 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3217 [UNIX98 || XOPEN2K] (scalb): Expect.
3218 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3219 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3220 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3221 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3222 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3223 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3224 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3225 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3226 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3227 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3228 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3229 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3230 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3231 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3232 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3233 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3234 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3235 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3236 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3237 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3238 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3239 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3240 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3241 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3242 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3243 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3244 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3245 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3246 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3247 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3248 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3249 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3250 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3251 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3252 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3253 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3254 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3255 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3256 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3257 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3258 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3259 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3260 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3261 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3262 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3263 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3264 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3265 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3266 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3267 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3268 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3269 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3270 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3271 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3272 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3273 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3274 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3275 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3276 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3277 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3278 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3279 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3280 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3281 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3282 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3283 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3284 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3285 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3286 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3287 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3288 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3289 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3290 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3291 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3292 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3293 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3294 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3295 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3296 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3297 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3298 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3299 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3300 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3301 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3302 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3303 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3304 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3305 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3306 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3307 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3308 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3309 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3310 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3311 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3312 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3313 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3314 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3315 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3316 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3317 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3318 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3319 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3320 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3321 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3322 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3323 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3324 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3325 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3326 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3327 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3328 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3329 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3330 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3331 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3332 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3333 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3334 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3335 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3336 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3337 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3338 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3339 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3340 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3341 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3342 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3343 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3344 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3345 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3346 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3347 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3348 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3349 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3350 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3351 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3352 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3353 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3354 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3356 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3357 _XOPEN_SOURCE_EXTENDED for XPG4.
3359 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3361 * Makeconfig (localtime): Remove variable.
3362 (inst_localtime-file): Likewise.
3364 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3385 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3389 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3390 comparisons to determine direction to adjust input.
3391 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3392 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3393 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3395 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3397 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3399 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3400 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3402 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3404 * math/libm-test.inc (nexttoward_test): Add more tests.
3406 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3409 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3410 in version GLIBC_2.1, not GLIBC_2.0.
3411 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3414 2012-04-30 Joseph Myers <joseph@codesourcery.com>
3417 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3419 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3420 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3421 * math/libm-test.inc (acos_test): Add more tests.
3422 (asin_test): Likewise.
3423 * sysdeps/i386/fpu/libm-test-ulps: Update.
3424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3427 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3429 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3430 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3431 * math/libm-test.inc (acos_test_tonearest): New function.
3432 (acos_test_towardzero): Likewise.
3433 (acos_test_downward): Likewise.
3434 (acos_test_upward): Likewise.
3435 (asin_test_tonearest): Likewise.
3436 (asin_test_towardzero): Likewise.
3437 (asin_test_downward): Likewise.
3438 (asin_test_upward): Likewise.
3439 (main): Call the new functions.
3440 * sysdeps/i386/fpu/libm-test-ulps: Update.
3441 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3445 * math/e_exp10.c: Include <float.h>.
3446 (__ieee754_exp10): Handle underflow here rather than multiplying
3447 large negative argument by M_LN10.
3448 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3450 * math/e_exp10l.c: Include <float.h>.
3451 (__ieee754_exp10l): Handle underflow here rather than multiplying
3452 large negative argument by M_LN10l.
3453 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3454 spurious overflow exception on underflow.
3456 2012-04-29 Marek Polacek <polacek@redhat.com>
3458 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3459 (__fortify_function): New macro.
3460 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3461 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3462 __extern_always_inline.
3463 * libio/bits/stdio2.h: Likewise.
3464 * libio/bits/stdio.h: Likewise.
3465 * string/string.h: Likewise.
3466 * string/bits/string3.h: Likewise.
3467 * include/stdio.h: Likewise.
3468 * stdlib/bits/stdlib.h: Likewise.
3469 * stdlib/stdlib.h: Likewise.
3470 * rt/bits/mqueue2.h: Likewise.
3471 * rt/mqueue.h: Likewise.
3472 * posix/bits/unistd.h: Likewise.
3473 * posix/unistd.h: Likewise.
3474 * io/bits/poll2.h: Likewise.
3475 * io/bits/fcntl2.h: Likewise.
3476 * io/fcntl.h: Likewise.
3477 * io/sys/poll.h: Likewise.
3478 * misc/bits/syslog.h: Likewise.
3479 * misc/bits/syslog-ldbl.h: Likewise.
3480 * misc/sys/syslog.h: Likewise.
3481 * socket/bits/socket2.h: Likewise.
3482 * socket/sys/socket.h: Likewise.
3483 * debug/tst-chk1.c: Likewise.
3484 * wcsmbs/bits/wchar2.h: Likewise.
3485 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3486 * wcsmbs/wchar.h: Likewise.
3488 2012-04-29 Andreas Jaeger <aj@suse.de>
3490 * Makerules (tests): Remove enable-check-abi protection.
3491 (check-abi-warn): Remove.
3492 (check-abi-%): Remove check-abi-warn usage.
3494 * configure.in: Remove check-abi configure option.
3495 * configure: Regenerated.
3496 * config.make.in (enable-check-abi): Remove.
3498 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3501 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3502 double functions to double *_finite functions.
3505 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3506 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3508 * stdio-common/Makefile (tests): Add tst-sprintf3.
3509 * stdio-common/tst-sprintf3.c: New file.
3511 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3512 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3514 2012-04-28 Joseph Myers <joseph@codesourcery.com>
3516 * conform/conformtest.pl: Remove duplicate typed-constant
3519 2012-04-28 David S. Miller <davem@davemloft.net>
3521 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3522 (check-abi-%): Remove AWK script prerequisite and explicit
3524 (check-abi): Rewrite to just diff the symlist with the abilist.
3525 (config-tls, config-abi-config): Delete, no longer used.
3526 (update-abi-%): Remove AWK script and explicit abilist directory.
3527 (update-abi): Rewrite to simply compare and conditionally copy the
3528 symlist and the sysdep abilist file. Remove update-abi-config
3530 * abilist/ld.abilist: Remove.
3531 * abilist/libBrokenLocale.abilist: Remove.
3532 * abilist/libanl.abilist: Remove.
3533 * abilist/libcrypt.abilist: Remove.
3534 * abilist/libdl.abilist: Remove.
3535 * abilist/librt.abilist: Remove.
3536 * abilist/libthread_db.abilist: Remove.
3537 * abilist/libutil.abilist: Remove.
3538 * scripts/extract-abilist.awk: Remove.
3539 * scripts/merge-abilist.awk: Remove.
3540 * sysdeps/generic/libcidn.abilist: New file.
3541 * sysdeps/generic/libnss_compat.abilist: New file.
3542 * sysdeps/generic/libnss_db.abilist: New file.
3543 * sysdeps/generic/libnss_dns.abilist: New file.
3544 * sysdeps/generic/libnss_files.abilist: New file.
3545 * sysdeps/generic/libnss_hesiod.abilist: New file.
3546 * sysdeps/generic/libnss_nis.abilist: New file.
3547 * sysdeps/generic/libnss_nisplus.abilist: New file.
3548 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3549 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3550 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3552 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3553 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3554 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3555 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3556 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3557 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3558 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3559 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3560 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3562 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3563 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3564 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3565 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3567 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3568 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3569 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3570 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3571 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3572 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3574 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3575 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3576 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3578 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3579 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3581 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3583 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3585 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3587 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
3589 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
3591 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
3593 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3595 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3597 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3599 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3601 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3603 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
3644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
3646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
3650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
3652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
3656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
3657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
3659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
3663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
3665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
3667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
3669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
3671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
3675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
3677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
3681 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3682 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
3683 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
3685 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
3686 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
3687 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
3688 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
3689 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
3690 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
3691 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
3692 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
3693 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
3694 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
3695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
3696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
3698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
3702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
3704 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
3706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
3708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
3710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
3716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
3720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
3721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
3723 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
3727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
3729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
3731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
3733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
3735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
3741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
3746 2012-04-28 Joseph Myers <joseph@codesourcery.com>
3748 * conform/conformtest.pl: Fix typo in handling typed-constant from
3751 2012-04-27 Joseph Myers <joseph@codesourcery.com>
3753 * README: Cut down references to pre-2.6 Linux kernels and
3754 Linuxthreads. Update lists of configurations in libc and ports
3755 and sort alphabetically. Say "or newer" with Linux kernel version
3758 * config.h.in [IS_IN_build]: Allow compiling without optimization.
3760 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3763 * math/libm-test.inc (logb_test_downward): New test to expose
3764 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
3767 2012-04-27 Joseph Myers <joseph@codesourcery.com>
3770 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
3772 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
3773 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
3775 2012-04-26 Joseph Myers <joseph@codesourcery.com>
3777 * sysdeps/unix/i386/brk.S: Remove file.
3778 * sysdeps/unix/i386/dl-brk.S: Likewise.
3779 * sysdeps/unix/i386/pipe.S: Likewise.
3780 * sysdeps/unix/i386/sigreturn.S: Likewise.
3781 * sysdeps/unix/i386/syscall.S: Likewise.
3782 * sysdeps/unix/i386/vfork.S: Likewise.
3783 * sysdeps/unix/i386/wait.S: Likewise.
3785 * sysdeps/unix/common/tcsendbrk.c: Move to ...
3786 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
3788 * configure.in (arm*-none*): Do not allow without
3789 --enable-hacker-mode.
3790 (netbsd*): Remove case setting base_os.
3791 (386bsd*): Likewise.
3792 (freebsd*): Likewise.
3796 (ultrix*): Likewise.
3797 (newsos*): Likewise.
3807 (solaris[2-9]*): Likewise.
3809 * configure: Regenerated.
3811 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3814 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
3815 overflow or cancellation in calculating denominator.
3816 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
3817 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
3818 down expression to avoid unexpected rounding in newer GCCs.
3819 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
3821 2012-04-26 David S. Miller <davem@davemloft.net>
3823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
3824 long-double compat symbols.
3825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
3829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
3833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
3836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3839 2012-04-25 David S. Miller <davem@davemloft.net>
3841 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
3842 HWCAP_* values only after the memory barriers have been defined.
3843 (atomic_full_barrier): Define.
3844 (atomic_read_barrier): Define.
3845 (atomic_write_barrier): Define.
3847 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3849 * shlib-versions: Add libgcc_s version information.
3850 * sysdeps/generic/libgcc_s.h: Remove.
3851 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
3853 * sysdeps/gnu/unwind-resume.c: Likewise.
3854 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
3856 2012-04-25 David S. Miller <davem@davemloft.net>
3858 * sysdeps/unix/sparc/brk.S: Delete.
3859 * sysdeps/unix/sparc/dl-brk.S: Delete.
3860 * sysdeps/unix/sparc/pipe.S: Delete.
3861 * sysdeps/unix/sparc/sysdep.S: Delete.
3862 * sysdeps/unix/sparc/sysdep.h: Delete.
3863 * sysdeps/unix/sparc/vfork.S: Delete.
3864 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
3865 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
3866 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
3867 ret_ERRVAL, r0, r1, MOVE): Define.
3868 (JUMPTARGET): Remove.
3869 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
3870 sysdeps/unix/sparc/sysdep.h
3871 (ENTRY, END): Remove.
3872 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3874 2012-04-25 Joseph Myers <joseph@codesourcery.com>
3876 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
3877 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
3880 * timezone/README: Update upstream location and email address for
3882 * timezone/zdump.c: Update from tzcode 2012b.
3883 * timezone/zic.c: Likewise.
3885 * configure.in (libc_cv_as_needed): Remove test.
3886 * configure: Regenerated.
3887 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3888 conditional definition.
3889 [$(have-as-needed) != yes] (no-as-needed): Likewise.
3890 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3891 * config.make.in (have-as-needed): Remove variable.
3893 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3894 Paul Pluzhnikov <ppluzhnikov@google.com>
3896 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3899 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3901 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3902 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3903 * sysdeps/sh/strlen.S: Likewise.
3905 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3907 * sysdeps/unix/fork.S: Remove file.
3908 * sysdeps/unix/i386/fork.S: Likewise.
3909 * sysdeps/unix/sparc/fork.S: Likewise.
3911 * sysdeps/unix/system.c: Remove file.
3912 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3914 * sysdeps/unix/getegid.S: Remove file.
3915 * sysdeps/unix/geteuid.S: Likewise.
3917 2012-04-24 Roland McGrath <roland@hack.frob.com>
3919 * scripts/check-localplt.awk: New file.
3920 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3922 * scripts/data/localplt-generic.data: Add a comment.
3924 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3925 NODE when __dir_mkfile failed.
3926 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3927 Reported by Ludovic Courtès <ludo@gnu.org>.
3929 2012-04-24 Andreas Jaeger <aj@suse.de>
3931 * Makerules (common-clean): Also remove gen-as-const-headers
3934 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3936 * Makerules (native-compile): Do not change working directory for
3937 build. Use $(OUTPUT_OPTION) in command.
3938 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3940 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3943 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3944 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3945 * math/libm-test.inc (floor_test): Add more tests.
3946 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3948 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3950 * sysdeps/unix/getdents.c: Remove file.
3951 * sysdeps/unix/sysv/getdents.c: Likewise.
3952 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3954 * sysdeps/unix/syscalls.list (madvise): Add syscall from
3955 sysdeps/unix/mman/syscalls.list.
3957 (mprotect): Likewise.
3960 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3961 * sysdeps/unix/mman/syscalls.list: Remove.
3962 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3964 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3965 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3966 * configure: Regenerated.
3967 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3969 * config.make.in (libgcc_s_suffix): Remove variable.
3971 2012-04-23 Joseph Myers <joseph@codesourcery.com>
3973 * sysdeps/unix/sysv/gethostname.c: Move to ...
3974 * sysdeps/posix/gethostname.c: ... here.
3976 * sysdeps/unix/execve.S: Remove file.
3978 * sysdeps/unix/_exit.S: Remove file.
3980 2012-04-23 Andreas Jaeger <aj@suse.de>
3983 * manual/Makefile: Remove make dist support, there's no
3984 need for a stand-alone documentation tar ball.
3985 (TEXI2DVI): Define always, it's not in Makeconfig.
3989 (glibc-doc-$(edition).tar): Removed
3993 (ETAGS): Remove, it's in Makeconfig.
3994 (move-if-change): Remove, it's in Makeconfig.
3996 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
3999 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4000 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4001 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4002 (strtod_l, strtof_l, strtold_l): Remove __wur.
4003 It is not necessarily an error to ignore strtol's return value.
4004 One can reliably look at the stored endptr to decide whether
4005 the number had valid syntax.
4007 2012-04-21 Andreas Jaeger <aj@suse.de>
4010 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4012 2012-04-21 Joseph Myers <joseph@codesourcery.com>
4014 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4015 * sysdeps/unix/sysv/Versions: Remove file.
4017 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4020 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4022 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
4025 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4026 version from __vm86.
4028 2012-04-20 Joseph Myers <joseph@codesourcery.com>
4030 * sysdeps/unix/common/lxstat.c: Remove file.
4031 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4033 * sysdeps/unix/sysv/Makefile: Remove file.
4035 * sysdeps/unix/sysv/direct.h: Remove file.
4037 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4038 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4039 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4040 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4041 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4042 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4043 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4045 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4047 * sysdeps/unix/xmknod.c: Remove file.
4048 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4050 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4052 * sysdeps/unix/sysv/i386/time.S: Remove file.
4054 * sysdeps/unix/fxstat.c: Remove file.
4055 * sysdeps/unix/xstat.c: Likewise.
4056 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4058 * sysdeps/unix/sysv/sigaction.c: Remove file.
4060 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4061 (sysdep_headers): Remove variable.
4062 [termio.h not in sysdep_headers] (generated): Likewise.
4063 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4064 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4065 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4066 * sysdeps/unix/sysv/tcflow.c: Likewise.
4067 * sysdeps/unix/sysv/tcflush.c: Likewise.
4068 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4069 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4070 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4071 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4072 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4074 * sysdeps/unix/siglist.c: Remove file.
4076 * sysdeps/unix/getppid.S: Remove file.
4078 * sysdeps/unix/mkdir.c: Remove file.
4079 * sysdeps/unix/rmdir.c: Likewise.
4081 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4083 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4085 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4086 errlist-compat value.
4088 2012-04-18 David S. Miller <davem@davemloft.net>
4090 * sysdeps/generic/memcopy.h (reg_char): Delete.
4091 * debug/strcat_chk.c: Use char, not reg_char.
4092 * debug/strcpy_chk.c: Likewise.
4093 * debug/strncat_chk.c: Likewise.
4094 * debug/strncpy_chk.c: Likewise.
4095 * string/memchr.c: Likewise.
4096 * string/memrchr.c: Likewise.
4097 * string/rawmemchr.c: Likewise.
4098 * string/strcat.c: Likewise.
4099 * string/strchr.c: Likewise.
4100 * string/strchrnul.c: Likewise.
4101 * string/strcmp.c: Likewise.
4102 * string/strcpy.c: Likewise.
4103 * string/strncat.c: Likewise.
4104 * string/strncmp.c: Likewise.
4105 * string/strncpy.c: Likewise.
4107 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4109 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4110 __builtin_memcopy is called when src and dest ranges are known to not
4113 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4115 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4116 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4117 fwd_align_merge macro call.
4118 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4119 bwd_align_merge macro call.
4120 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4122 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4124 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4125 bwd_align_merge macros.
4126 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4127 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4128 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4130 2012-04-18 David S. Miller <davem@davemloft.net>
4132 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4134 2012-04-18 Andreas Jaeger <aj@suse.de>
4137 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4138 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4139 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4141 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4142 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4143 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4145 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4146 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4147 Adjust for changed ldbl-128 files.
4149 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4150 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4151 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4153 2012-04-17 David S. Miller <davem@davemloft.net>
4155 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4157 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4159 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4160 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4161 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4162 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4163 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4164 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4166 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4169 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4170 * math/libm-test.inc: Add ilogb errno and exception tests.
4171 * math/w_ilogb.c: New file: ilogb wrapper.
4172 * math/w_ilogbf.c: New file: ilogbf wrapper.
4173 * math/w_ilogbl.c: New file: ilogbl wrapper.
4174 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4175 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4176 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4177 exception being thrown with 0.0 as argument.
4178 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4179 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4180 exception being thrown with 0.0 as argument.
4181 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4182 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4183 exception being thrown with 0.0 as argument.
4184 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4185 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4186 exception being thrown with 0.0 as argument.
4187 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4188 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
4189 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
4190 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4191 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4192 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4193 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4194 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4195 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4197 2012-04-17 Petr Baudis <pasky@ucw.cz>
4199 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4202 2012-04-16 Marek Polacek <polacek@redhat.com>
4204 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4206 2012-04-16 Marek Polacek <polacek@redhat.com>
4208 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4209 operands of fdivp instruction.
4211 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4213 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4214 * elf/tst-auditmod3b.c: Likewise.
4215 * elf/tst-auditmod4b.c: Likewise.
4216 * elf/tst-auditmod5b.c: Likewise.
4217 * elf/tst-auditmod6b.c: Likewise.
4218 * elf/tst-auditmod6c.c: Likewise.
4219 * elf/tst-auditmod7b.c: Likewise.
4220 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4221 * sysdeps/x86_64/preconfigure.in: Likewise.
4222 * sysdeps/x86_64/preconfigure: Regenerated.
4224 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4226 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4229 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
4231 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4232 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4234 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4237 * locale/iso-639.def: Fix gl language name. Spotted by
4240 2012-04-12 Roland McGrath <roland@hack.frob.com>
4243 * libio/libio.h (__io_write_fn): Update comment.
4245 2012-04-12 Petr Baudis <pasky@ucw.cz>
4248 * stdio.texi (Hook Functions): The user provided writer function
4249 is not allowed to return -1.
4251 2012-04-11 David S. Miller <davem@davemloft.net>
4253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4255 2012-04-11 Mike Frysinger <vapier@gentoo.org>
4257 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4258 Add a leading slash to rtkaio.
4260 2012-04-11 Jim Meyering <meyering@redhat.com>
4263 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4264 It is not necessarily an error to ignore fwrite's return
4265 value. One can reliably use ferror to test for errors after
4268 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4270 * bits/types.h (__snseconds_t): New type.
4271 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4273 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4274 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4275 (__SNSECONDS_T_TYPE): Likewise.
4276 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4277 (__SNSECONDS_T_TYPE): Likewise.
4278 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4279 (__SNSECONDS_T_TYPE): Likewise.
4281 2012-04-10 Andreas Jaeger <aj@suse.de>
4284 * manual/time.texi (Processor Time): Return type of times is
4285 elapsed real time since an arbitrary point in the past.
4286 (CPU Time): Move CLK_TCK from here...
4287 (Processor Time): ...to here. Correct description.
4288 * manual/conf.texi (Constants for Sysconf): Correct description of
4291 2012-04-10 David S. Miller <davem@davemloft.net>
4294 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4295 where the is a gap between DT_REL(A) and DT_JMPREL.
4297 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4299 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4300 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4301 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4303 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4305 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4306 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4307 (dl_main): Handle --inhibit-cache.
4308 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4310 * elf/dl-load.c (_dl_map_object): Use it.
4311 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4313 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4316 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4317 (__ieee754_powl): Saturate large exponents rather than testing for
4318 overflow of y*log2(x).
4319 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4320 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4324 * math/s_ctan.c: Include <float.h>.
4325 (__ctan): Avoid internal overflow or cancellation in calculating
4327 * math/s_ctanf.c: Likewise.
4328 * math/s_ctanl.c: Likewise.
4329 * math/s_ctanh.c: Likewise.
4330 * math/s_ctanhf.c: Likewise.
4331 * math/s_ctanhl.c: Likewise.
4332 * math/libm-test.inc (ctan_test): Add more tests.
4333 (ctanh_test): Likewise.
4334 * sysdeps/i386/fpu/libm-test-ulps: Update.
4335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4337 2012-04-09 Andreas Jaeger <aj@suse.de>
4340 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4341 is an optional BSD extension.
4344 * manual/stdio.texi (Opening Streams): Document additional fopen
4347 2012-04-09 Roland McGrath <roland@hack.frob.com>
4349 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4350 %eax without telling the compiler.
4352 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4355 * manual/install.texi: Use sourceware.org.
4357 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4360 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4361 (__ieee754_pow): Generate overflow and underflow using huge*huge
4362 and tiny*tiny rather than just returning constant infinity or zero
4363 for large exponents.
4364 * math/libm-test.inc (pow_test): Require overflow exceptions for
4365 applicable cases of large exponents.
4368 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4369 (__ieee754_pow): Use iterative multiplication algorithm only for
4370 integer exponents with absolute value below 1024. Check for odd
4371 integer exponents when using algorithm for real exponents.
4372 * math/libm-test.inc (pow_test): Add more tests.
4373 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4375 2012-04-08 Joseph Myers <joseph@codesourcery.com>
4378 * math/libm-test.inc (exp_test): Do not allow overflow exception
4381 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4384 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4385 instead of __kernel_standard_f.
4387 2012-04-08 Mike Frysinger <vapier@gentoo.org>
4389 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4390 * sysdeps/x86_64/memset_chk.S: Likewise.
4392 2012-04-08 Andreas Jaeger <aj@suse.de>
4395 * manual/startup.texi (Environment Access): Describe return value
4396 for putenv and setenv.
4399 * manual/filesys.texi (Directory Entries): Add description for
4403 * manual/filesys.texi (Directory Entries): Clarify that it's file
4404 system not operating system in the description of DT_UNKNOWN.
4407 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4409 2012-04-08 Stephen Compall <s11@member.fsf.org>
4412 * manual/llio.texi (Opening and Closing Files): Add cross
4413 reference to explain mode argument.
4415 2012-04-07 Mike Frysinger <vapier@gentoo.org>
4417 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4418 * sysdeps/x86_64/memset_chk.S: Likewise.
4420 2012-04-07 David S. Miller <davem@davemloft.net>
4422 * elf/elf.h (R_SPARC_WDISP10): Define.
4423 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4425 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4426 R_SPARC_SIZE64 and R_SPARC_H34.
4428 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4430 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4431 conditions and remove no longer applicable assertion.
4433 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4435 * bits/byteswap.h: Include <features.h>.
4436 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4437 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4439 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4441 * bits/byteswap.h (__bswap_16): Removed.
4442 Include <bits/byteswap-16.h> to get __bswap_16.
4443 * sysdeps/i386/bits/byteswap.h: Likewise.
4444 * sysdeps/s390/bits/byteswap.h: Likewise.
4445 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4446 * bits/byteswap-16.h: New file.
4447 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4448 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4449 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4450 * string/Makefile (headers): Add bits/byteswap-16.h.
4452 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4455 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4457 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4458 * nss/tst-nss-static.c: New.
4460 2012-04-06 Robert Millan <rmh@gnu.org>
4463 * manual/llio.texi (File Position Primitive): lseek
4464 refers to WHENCE when it really means OFFSET.
4466 2012-04-06 Andreas Jaeger <aj@suse.de>
4468 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4469 strncmp declarations.
4471 * abilist/libc.abilist: Add __poll and __ppoll.
4473 2012-04-05 David S. Miller <davem@davemloft.net>
4475 * scripts/check-local-headers.sh: Accept a host triplet in the
4476 path matched by the exclude regexp.
4478 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4480 * sysdeps/powerpc/powerpc32/dl-machine.h
4481 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4482 * sysdeps/s390/s390-32/dl-machine.h
4483 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4484 * sysdeps/sparc/sparc32/dl-machine.h
4485 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4486 * sysdeps/sparc/sparc64/dl-machine.h
4487 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4489 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4491 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
4492 undefined symbol errors.
4494 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
4497 2012-04-05 Michael Matz <matz@suse.de>
4500 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4502 2012-04-05 Andreas Jaeger <aj@suse.de>
4505 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4508 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4510 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4511 which ROUND is no valid rounding mode.
4513 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4515 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4517 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4519 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4521 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4522 an exception using FPU order intentionally.
4524 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4526 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4527 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4528 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4529 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4531 2012-04-05 Simon Josefsson <simon@josefsson.org>
4534 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4535 EINVAL when BUFLEN is too smal.
4537 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4540 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4541 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4543 2012-04-03 Andreas Jaeger <aj@suse.de>
4546 * manual/setjmp.texi (System V contexts): Fix sentence.
4549 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4550 New macro for this case.
4551 [!__GNUC__] (__bswap_64): New inline function for this case.
4552 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4553 * bits/byteswap.h: Likewise.
4554 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4555 ull, guard with __GLIBC_HAVE_LONG_LONG.
4557 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4558 __GLIBC_HAVE_LONG_LONG.
4560 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4561 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4563 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4566 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4567 inptr and inend, rather than using last_ch.
4569 2012-04-02 David S. Miller <davem@davemloft.net>
4571 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4572 * stdio-common/printf-parse.h (read_int): Change return type to
4573 'int', return -1 on INT_MAX overflow.
4574 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4575 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4576 overflows INT_MAX. Check for overflow of in-format-string precision
4577 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4578 SIZE_MAX not INT_MAX for integer overflow test.
4579 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4580 skip the construct in the format string but do not record anything.
4581 * stdio-common/bug22.c: Adjust to test both width/prevision
4582 INT_MAX overflow as well as total length INT_MAX overflow. Check
4583 explicitly for proper errno values.
4585 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
4587 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
4589 * string/test-strcmp.c [! WIDE]: Likewise.
4590 * time/tst-mktime2.c: Likewise for INT_MAX.
4591 * string/test-string.h: #include <sys/param.h> for MIN.
4593 * csu/init-first.c (__libc_init_first): Call __ctype_init.
4594 * sysdeps/i386/init-first.c (init): Likewise.
4595 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4596 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4597 * sysdeps/sh/init-first.c (init): Likewise.
4599 2012-04-01 Ulrich Drepper <drepper@gmail.com>
4601 * po/ru.po: Update from translation team.
4602 * po/vi.po: Likewise.
4604 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4606 * resolv/nss_dns/dns-host.c: Merge copyright years.
4608 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4610 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4611 Optimize memcpy with prefetch if
4612 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4613 src, dst pointers have unequal 16 byte alignments.
4615 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4618 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4619 from a CNAME entry and return the minimum ttl for the query.
4620 (gaih_getanswer_slice): Likewise.
4622 2012-03-30 Jeff Law <law@redhat.com>
4624 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4626 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4627 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4629 * resolv/nss_dns/dns-host.c: Update copyright year.
4631 2012-03-30 Ulrich Drepper <drepper@gmail.com>
4633 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
4634 requests to save a system call. Fix check that all bytes are sent.
4636 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4637 comments for sendmmsg.
4639 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4642 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
4643 with only 1 character between 0x0041 and 0x01b0.
4644 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
4645 * wcsmbs/tst-mbsnrtowcs.c: New file.
4647 2012-03-29 David S. Miller <davem@davemloft.net>
4649 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
4650 small copies by hand.
4652 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4655 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
4656 _nss_compat_initgroups_dyn): Fall back to malloc/free
4657 for large group memberships.
4659 2012-03-28 David S. Miller <davem@davemloft.net>
4661 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
4662 that branches into memcpy.
4663 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4664 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4665 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4666 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4667 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
4669 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
4671 * sysdeps/sparc/mempcpy.S: New file.
4673 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
4674 the IFUNC routine in the libc case.
4675 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4677 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
4678 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
4679 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
4680 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
4681 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
4682 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
4683 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
4684 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
4686 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
4687 loop to 256 bytes instead of 64 bytes and fix test signedness.
4689 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
4690 * sysdeps/sparc/sparc32/Makefile: rather than here...
4691 * sysdeps/sparc/sparc64/Makefile: and here.
4693 2012-03-28 Ulrich Drepper <drepper@gmail.com>
4695 * malloc/mallocbug.c: Avoid warnings about unused variables.
4697 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4700 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
4701 in the right place. Discard and retry query if response is
4702 larger than input buffer size.
4704 2012-03-28 Joseph Myers <joseph@codesourcery.com>
4709 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
4710 x for large integer exponent.
4711 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4712 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
4713 sign of result as needed afterwards.
4714 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4715 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
4716 result for underflowing pow the same as for overflow.
4717 (__kernel_standard_l): Handle powl overflow and underflow here
4718 rather than calling __kernel_standard.
4719 * math/libm-test.inc (pow_test): Add more tests.
4734 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
4735 * sysdeps/ieee754/k_standard.c: Include <float.h>.
4736 (__kernel_standard_l): New function.
4737 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
4739 * math/w_acosl.c (__acosl): Likewise.
4740 * math/w_asinl.c (__asinl): Likewise.
4741 * math/w_atan2l.c (__atan2l): Likewise.
4742 * math/w_atanhl.c (__atanhl): Likewise.
4743 * math/w_coshl.c (__coshl): Likewise.
4744 * math/w_exp10l.c (__exp10l): Likewise.
4745 * math/w_exp2l.c (__exp2l): Likewise.
4746 * math/w_fmodl.c (__fmodl): Likewise.
4747 * math/w_hypotl.c (__hypotl): Likewise.
4748 * math/w_j0l.c (__j0l, __y0l): Likewise.
4749 * math/w_j1l.c (__j1l, __y1l): Likewise.
4750 * math/w_jnl.c (__jnl, __ynl): Likewise.
4751 * math/w_lgammal.c (__lgammal): Likewise.
4752 * math/w_log10l.c (__log10l): Likewise.
4753 * math/w_log2l.c (__log2l): Likewise.
4754 * math/w_logl.c (__logl): Likewise.
4755 * math/w_powl.c (__powl): Likewise.
4756 * math/w_remainderl.c (__remainderl): Likewise.
4757 * math/w_scalbl.c (sysv_scalbl): Likewise.
4758 * math/w_sinhl.c (__sinhl): Likewise.
4759 * math/w_sqrtl.c (__sqrtl): Likewise.
4760 * math/w_tgammal.c (__tgammal): Likewise.
4761 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
4762 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
4763 * math/libm-test.inc (acos_test): Add more tests.
4764 (acosh_test): Likewise.
4765 (asin_test): Likewise.
4766 (atanh_test): Likewise.
4767 (exp_test): Likewise.
4768 (exp10_test): Likewise.
4769 (exp2_test): Likewise.
4770 (expm1_test): Likewise.
4771 (lgamma_test): Likewise.
4772 (log_test): Likewise.
4773 (log10_test): Likewise.
4774 (log1p_test): Likewise.
4775 (log2_test): Likewise.
4776 (pow_test): Do not allow some spurious overflow exceptions.
4777 (sqrt_test): Add more tests.
4778 (tgamma_test): Likewise.
4779 (y0_test): Likewise.
4780 (y1_test): Likewise.
4781 (yn_test): Likewise.
4783 2012-03-27 Anton Blanchard <anton@samba.org>
4785 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4787 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4788 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4789 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4791 2012-03-27 David S. Miller <davem@davemloft.net>
4793 * conform/Makefile: Run run-conformtest.sh using $(BASH).
4795 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
4798 2012-03-27 Andreas Jaeger <aj@suse.de>
4800 * sysdeps/x86_64/elf/configure.in: Moved to ...
4801 * sysdeps/x86_64/configure.in: ... here.
4802 * sysdeps/x86_64/elf/start.S: Moved to ...
4803 * sysdeps/x86_64/start.S: ... here.
4804 * sysdeps/x86_64/elf/configure: Delete.
4806 * sysdeps/x86_64/configure.in: Merge contents from
4807 sysdeps/i386/configure.in (without i686 check).
4809 * sysdeps/i386/elf/Versions: Merge into ...
4810 * sysdeps/i386/Versions: ... this.
4811 * sysdeps/i386/elf/Versions: Delete file.
4812 * sysdeps/i386/elf/start.S: Moved to ...
4813 * sysdeps/i386/start.S: ...here.
4814 * sysdeps/i386/elf/configure.in: Merge into...
4815 * sysdeps/i386/configure.in: ...here.
4816 * sysdeps/i386/elf/configure.in: Delete file.
4817 * sysdeps/i386/elf/configure: Delete file.
4819 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
4820 * debug/backtracesyms.c: ... here.
4821 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
4822 * debug/backtracesymsfd.c: ... here.
4823 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
4824 * sysdeps/generic/ifunc-sel.h: ... here.
4826 * sysdeps/unix/i386/start.c: Delete file.
4827 * sysdeps/unix/sparc/start.c: Delete file.
4828 * sysdeps/unix/start.c: Delete file.
4830 * sysdeps/sh/elf/configure.in: Moved to ...
4831 * sysdeps/sh/configure.in: ... here.
4832 * sysdeps/sh/elf/start.S: Moved to ...
4833 * sysdeps/sh/start.S: ... here.
4834 * sysdeps/sh/elf/configure: Delete file.
4836 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
4837 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
4838 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
4839 * sysdeps/powerpc/powerpc64/entry.h: ... here.
4840 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
4841 * sysdeps/powerpc/powerpc64/start.S: here.
4842 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
4843 * sysdeps/powerpc/powerpc64/Makefile: ... this.
4844 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
4845 * sysdeps/powerpc/powerpc64/configure.in: ... this.
4846 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
4848 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
4849 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
4850 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
4851 * sysdeps/powerpc/powerpc32/start.S: ... here.
4852 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
4853 * sysdeps/powerpc/powerpc32/configure.in: ... this.
4854 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
4856 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
4857 * sysdeps/powerpc/ifunc-sel.h: ... here.
4858 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
4859 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
4861 * sysdeps/sparc/elf/configure.in: Moved to ...
4862 * sysdeps/sparc/configure.in: ... here.
4863 * sysdeps/sparc/elf/configure: Delete file.
4864 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
4865 * sysdeps/sparc/sparc32/start.S: ... here.
4866 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
4867 * sysdeps/sparc/sparc64/start.S: ... here.
4868 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
4869 * sysdeps/sparc/sparc32/Makefile: ... this.
4870 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
4871 * sysdeps/sparc/sparc64/Makefile: ... this.
4873 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
4874 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
4875 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
4876 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
4877 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
4878 * sysdeps/s390/s390-32/setjmp.S: ... here.
4879 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
4880 * sysdeps/s390/s390-32/configure.in: ... here.
4881 * sysdeps/s390/s390-32/elf/configure: Delete file.
4882 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4883 * sysdeps/s390/s390-32/start.S: ... here.
4885 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4886 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4887 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4888 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4889 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4890 * sysdeps/s390/s390-64/setjmp.S: ... here.
4891 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4892 * sysdeps/s390/s390-64/configure.in: ... here
4893 * sysdeps/s390/s390-64/elf/configure: Delete file.
4894 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4895 * sysdeps/s390/s390-64/start.S: ... here.
4896 * sysdeps/s390/s390-64/elf/configure: Delete.
4898 * configure.in: Remove support for elf directories in sysdeps.
4900 * configure: Regenerated.
4901 * sysdeps/i386/configure: Regenerated.
4902 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4903 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4904 * sysdeps/s390/s390-32/configure: Regenerated.
4905 * sysdeps/s390/s390-64/configure: Regenerated.
4906 * sysdeps/sh/configure: Regenerated.
4907 * sysdeps/sparc/configure: Regenerated.
4908 * sysdeps/x86_64/configure: Regenerated.
4910 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4914 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4915 denormal result into account.
4917 2012-03-25 Roland McGrath <roland@hack.frob.com>
4919 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4920 Reported by Allan McRae <allan@archlinux.org>.
4922 2012-03-23 Jeff Law <law@redhat.com>
4924 * nss/getnssent.c (__nss_getent): Fix typo.
4926 2012-03-23 David S. Miller <davem@davemloft.net>
4928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4930 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4932 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4933 to pad to uint64_t for each field.
4934 (dl_tls_index): Replace unsigned long with uint64_t.
4936 2012-03-23 Daniel Jacobowitz <dmj@google.com>
4937 Paul Pluzhnikov <ppluzhnikov@google.com>
4940 * grp/Makefile (otherlibs): Don't set it.
4941 * inet/Makefile (otherlibs): Likewise.
4942 * login/Makefile (otherlibs): Likewise.
4943 * nscd/Makefile (otherlibs): Likewise.
4944 * posix/Makefile (otherlibs): Likewise.
4945 * pwd/Makefile (otherlibs): Likewise.
4946 * rt/Makefile (otherlibs): Likewise.
4947 * sunrpc/Makefile (otherlibs): Likewise.
4948 * nss/Makefile (otherlibs): Likewise.
4949 Add libnss_files to routines and static-only-routines.
4950 ($(objpfx)getent): Remove rule.
4951 * resolv/Makefile: Add libnss_dns and libresolv to routines and
4952 static-only-routines.
4954 2012-03-22 Joseph Myers <joseph@codesourcery.com>
4957 * math/s_cexp.c: Include <float.h>.
4958 (__cexp): Handle exp result overflowing not necessarily
4959 overflowing both real and imaginary parts of result.
4960 * math/s_cexpf.c: Likewise.
4961 * math/s_cexpl.c: Likewise.
4962 * math/libm-test.inc (cexp_test): Add more tests.
4963 * sysdeps/i386/fpu/libm-test-ulps: Update.
4964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4966 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4968 * include/link.h (ELFW): New macro.
4969 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4970 Replace ELF64_R_TYPE with ELFW(R_TYPE).
4972 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4974 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4977 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4979 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
4981 (struct La_x32_retval): Likewise.
4983 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4985 * sysdeps/x86_64/preconfigure.in: New file.
4986 * sysdeps/x86_64/preconfigure: New generated file.
4988 2012-03-22 Joseph Myers <joseph@codesourcery.com>
4991 * math/e_exp2l.c: Include <float.h>.
4992 (__ieee754_exp2l): Handle overflow and underflow cases
4993 separately. Only pass fractional part of argument to
4995 * math/libm-test.inc (exp2_test): Add more tests.
4997 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
4998 negating x to take absolute value.
4999 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5001 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5002 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5004 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5005 computing low part if x was negated.
5006 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5008 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5010 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5012 (pltexit): Cast int_retval to ptrdiff_t.
5013 * elf/tst-auditmod3b.c: Likewise.
5014 * elf/tst-auditmod4b.c: Likewise.
5015 * elf/tst-auditmod5b.c: Likewise.
5016 * elf/tst-auditmod6b.c: Likewise.
5017 * elf/tst-auditmod6c.c: Likewise.
5018 * elf/tst-auditmod7b.c: Likewise.
5020 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5021 and x32_gnu_pltexit.
5023 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5025 (La_x32_regs): New macro.
5026 (La_x32_retval): Likewise.
5027 (la_x32_gnu_pltenter): New function prototype.
5028 (la_x32_gnu_pltexit): Likewise.
5030 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5032 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5037 * configure.in (libc_cv_cc_nofma): Check for option to disable
5038 generation of FMA instructions.
5039 * configure: Regenerate.
5040 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5041 * sysdeps/ieee754/dbl-64/Makefile: New file.
5042 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5043 Remove brandred-fma4.
5044 (CFLAGS-brandred-fma4.c): Remove.
5045 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5046 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5048 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5051 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5053 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5054 LLONG_MAX != LONG_MAX.
5055 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5056 (_fitoa_word): Likewise.
5057 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5058 LLONG_MAX != LONG_MAX.
5059 * stdio-common/_itowa.h: Include <_itoa.h>.
5060 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5061 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5062 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5063 only if not defined.
5064 (_ITOA_WORD_TYPE): Likewise.
5065 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5066 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5068 2012-03-21 David S. Miller <davem@davemloft.net>
5070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5072 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5074 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5075 of x86_64 when setting libc_cv_slibdir, libdir and
5077 * sysdeps/unix/sysv/linux/configure: Regenerated.
5079 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5081 * manual/lang.texi (Old Varargs): Remove section.
5082 (How Variadic): Update menu.
5083 (va_start): Do not mention varargs.h.
5085 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5086 Joseph Myers <joseph@codesourcery.com>
5088 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5090 * configure: Regenerated.
5092 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5094 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5095 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5098 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5101 * Makefile (files-for-dist): Remove NOTES.
5102 (NOTES): Remove rule.
5103 * README: Don't refer to NOTES.
5104 * manual/creature.texi: Don't include macros.texi.
5105 * manual/intro.texi (creature.texi): Remove comment referring to
5108 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5109 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5110 * configure: Regenerated.
5111 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5113 (libc_cv_as_i686): Likewise.
5114 (libc_cv_cc_avx): Likewise.
5115 (libc_cv_cc_sse2avx): Likewise.
5116 (libc_cv_cc_fma4): Likewise.
5117 (libc_cv_cc_novzeroupper): Likewise.
5118 * sysdeps/i386/configure: Regenerated.
5121 * sysdeps/i386/fpu/s_cexp.S: Remove.
5122 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5123 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5124 * math/libm-test.inc (cexp_test): Add more tests.
5125 * sysdeps/i386/fpu/libm-test-ulps: Update.
5126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5128 2012-03-21 Allan McRae <allan@archlinux.org>
5130 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5132 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5135 * math/w_exp2.c: Do not include <float.h>.
5136 (o_threshold, u_threshold): Remove.
5137 (__exp2): Calculate result before checking finiteness and calling
5139 * math/w_exp2f.c: Likewise.
5140 * math/w_exp2l.c: Likewise.
5141 * math/libm-test.inc (exp2_test): Require overflow exception for
5145 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5146 range of signed 64-bit integers before using fistpll. Remove
5147 checks for whether integers fit in mantissa bits.
5148 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5149 the range of signed 32-bit integers before using fistpl. Remove
5150 checks for whether integers fit in mantissa bits.
5151 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5152 (__ieee754_powl): Test for y outside the range of signed 64-bit
5153 integers before using fistpll. Reduce 64-bit values to 63-bit
5155 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5156 divide-by-zero is raised for zero to large negative powers.
5157 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5158 (__ieee754_powl): Test for y outside the range of signed 64-bit
5159 integers before using fistpll. Reduce 64-bit values to 63-bit
5161 * math/libm-test.inc (pow_test): Add more tests.
5163 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5165 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5166 <stdio-common/_itoa.h>.
5167 * debug/segfault.c: Likewise.
5168 * elf/dl-cache.c: Likewise.
5169 * elf/dl-minimal.c: Likewise.
5170 * elf/dl-misc.c: Likewise.
5171 * elf/dl-sysdep.c: Likewise.
5172 * elf/dl-version.c: Likewise.
5173 * elf/rtld.c: Likewise.
5174 * hurd/hurdsock.c: Likewise.
5175 * hurd/lookup-retry.c: Likewise.
5176 * malloc/malloc.c: Likewise.
5177 * malloc/mtrace.c: Likewise.
5178 * nscd/nscd_getgr_r.c: Likewise.
5179 * nscd/nscd_getpw_r.c: Likewise.
5180 * nscd/nscd_getserv_r.c: Likewise.
5181 * posix/getopt_init.c: Likewise.
5182 * posix/wordexp.c: Likewise.
5183 * stdio-common/_itoa.c: Likewise.
5184 * stdio-common/printf_fphex.c: Likewise.
5185 * stdio-common/vfprintf.c: Likewise.
5186 * string/_strerror.c: Likewise.
5187 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5188 * sysdeps/i386/i686/hp-timing.h: Likewise.
5189 * sysdeps/mach/_strerror.c: Likewise.
5190 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5191 * sysdeps/mach/hurd/sethostid.c: Likewise.
5192 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5193 * sysdeps/mach/xpg-strerror.c: Likewise.
5194 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5195 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5196 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5197 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5198 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5199 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5200 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5201 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5202 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5203 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5204 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5205 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5206 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5207 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5208 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5209 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5210 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5211 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5212 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5213 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5214 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5216 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5218 * stdio-common/_itoa.h: Moved to ...
5219 * sysdeps/generic/_itoa.h: Here.
5221 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5223 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5224 instead of "_itoa.h" and "_itowa.h".
5225 * stdio-common/vfprintf.: Likewise.
5227 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5229 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5231 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5232 (__signbit): Likwise.
5236 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5238 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5241 2012-03-20 Joseph Myers <joseph@codesourcery.com>
5243 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5244 OVERFLOW_EXCEPTION_OK.
5245 * math/libm-test.inc ("Philosophy"): Update comment about
5247 (OVERFLOW_EXCEPTION): Define.
5248 (OVERFLOW_EXCEPTION_OK): Likewise.
5249 (INVALID_EXCEPTION_OK): Renumber.
5250 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5251 (IGNORE_ZERO_INF_SIGN): Likewise.
5252 (test_exceptions): Handle FE_OVERFLOW.
5253 (exp10_test): Expect overflow exceptions.
5254 (exp2_test): Likewise.
5255 (expm1_test): Likewise.
5256 (nextafter_test): Likewise.
5257 (pow_test): Likewise.
5258 (scalbn_test): Likewise.
5259 (scalbln_test): Likewise.
5261 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5263 * sysdeps/x86_64/bits/atomic.h
5264 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5266 (atomic_exchange_acq): Likewise.
5267 (__arch_exchange_and_add_body): Likewise.
5268 (__arch_add_body): Likewise.
5269 (atomic_add_negative): Likewise.
5270 (atomic_add_zero): Likewise.
5272 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5274 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
5275 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5277 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5279 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5280 Check __x86_64__ instead of __WORDSIZE.
5282 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5284 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5286 2012-03-19 David S. Miller <davem@davemloft.net>
5288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5290 * sysdeps/sparc/fpu/fenv_private.h: New file.
5291 * sysdeps/sparc/fpu/math_private.h: Use it.
5292 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5294 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5295 (libc_feholdexcept_setroundl): Remove.
5296 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5298 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5299 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5301 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5303 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5304 int64_t instead of long int.
5305 (INSERT_WORDS64): Likwise.
5307 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5309 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5310 _Unwind_GetCFA return to _Unwind_Ptr first.
5312 2012-03-19 Joseph Myers <joseph@codesourcery.com>
5315 * math/s_clog.c: Include <float.h>.
5316 (__clog): Scale large or subnormal inputs.
5317 * math/s_clogf.c: Likewise.
5318 * math/s_clogl.c: Likewise.
5319 * math/s_clog10.c: Include <float.h>.
5320 (M_LOG10_2): Define.
5321 (__clog10): Scale large or subnormal inputs.
5322 * math/s_clog10f.c: Likewise.
5323 * math/s_clog10l.c: Likewise.
5324 * math/libm-test.inc (clog_test): Add more tests.
5325 (clog10_test): Likewise.
5326 * sysdeps/i386/fpu/libm-test-ulps: Update.
5327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5330 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5332 * math/libm-test.inc (atan2_test): Add another test.
5334 * Makerules (common-objdir-compile): Remove.
5335 * sysdeps/unix/Makefile (config-generated): Do not add
5336 $(unix-generated) to variable.
5337 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5338 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5340 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5342 [generic bits/local_lim.h] (before-compile): Do not append to
5344 [generic bits/local_lim.h] (common-generated): Likewise.
5345 [generic sys/param.h] (before-compile): Do not append to variable.
5346 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5347 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5348 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5349 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5351 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5352 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5353 [generic sys/param.h] ($(addprefix
5354 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5355 [generic sys/param.h] (common-generated): Do not append to
5357 [generic sys/param.h] (sysdep_headers): Likewise.
5358 [generic bits/errno.h] (before-compile): Do not append to
5360 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5362 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5363 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5364 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5365 [generic bits/errno.h] (common-generated): Do not append to
5367 [generic bits/ioctls.h] (before-compile): Do not append to
5369 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5371 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5372 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5373 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5375 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5376 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5377 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5378 [generic bits/ioctls.h] (common-generated): Do not append to
5380 [generic sys/syscall.h] (syscall.h): Remove variable.
5381 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5383 [generic sys/syscall.h] (before-compile): Do not append to
5385 [generic sys/syscall.h] (common-generated): Likewise.
5386 * sysdeps/unix/errnos-tmpl.c: Remove file.
5387 * sysdeps/unix/errnos.awk: Likewise.
5388 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5389 * sysdeps/unix/ioctls.awk: Likewise.
5390 * sysdeps/unix/mk-local_lim.c: Likewise.
5391 * sysdeps/unix/snarf-ioctls: Likewise.
5393 2012-03-19 Richard Henderson <rth@twiddle.net>
5395 * sysdeps/i386/fpu/fenv_private.h: New file.
5396 * sysdeps/i386/fpu/math_private.h: Use it.
5397 (math_opt_barrier, math_force_eval): Remove.
5398 (libc_feholdexcept_setround_53bit): Remove.
5399 (libc_feupdateenv_53bit): Remove.
5400 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5401 (math_opt_barrier, math_force_eval): Remove.
5402 (libc_feholdexcept): Remove.
5403 (libc_feholdexcept_setround): Remove.
5404 (libc_fetestexcept, libc_fesetenv): Remove.
5405 (libc_feupdateenv_test): Remove.
5406 (libc_feupdateenv, libc_feholdsetround): Remove.
5407 (libc_feresetround): Remove.
5409 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5410 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5412 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5413 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5414 (libc_feupdateenv_testl): New.
5415 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5416 (libc_feupdateenv_testf): New.
5417 (libc_feupdateenv): Use libc_feupdateenv_test.
5418 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5419 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5421 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5422 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5423 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5424 (libc_feresetround_noex): New.
5425 (libc_feresetround_noexf): New.
5426 (libc_feresetround_noexl): New.
5427 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5428 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5429 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5430 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5432 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5433 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5435 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5436 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5437 SET_RESTORE_ROUND_NOEX.
5438 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5439 SET_RESTORE_ROUND_NOEXF.
5440 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5441 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5442 (libc_feholdsetroundf): New.
5443 (libc_feresetround, libc_feresetroundf): New.
5445 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5446 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5447 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5449 * sysdeps/generic/math_private.h: Include <fenv.h>.
5450 (default_libc_feholdexcept): New.
5451 (default_libc_feholdexcept_setround): New.
5452 (default_libc_fesetenv, default_libc_feupdateenv): New.
5453 (libc_feholdexcept): Only define if undefined.
5454 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5455 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5456 (libc_feholdexcept_setroundl): Likewise.
5457 (libc_feholdexcept_setround_53bit): Likewise.
5458 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5459 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5460 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5461 (libc_feupdateenv_53bit): Likewise.
5462 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5463 (libc_feholdexcept): Convert from macro to inline function.
5464 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5465 (libc_fesetenv, libc_feupdateenv): Likewise.
5467 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5468 not previously defined.
5469 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5470 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5471 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5472 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5473 * sysdeps/ieee754/flt-32/math_private.h: New file.
5474 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5475 math_private.h below SET_FLOAT_WORD.
5476 (__isnan, __isinf_ns, __finite): Remove.
5477 (__isnanf, __isinf_nsf, __finitef): Remove.
5479 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5483 2012-03-17 David S. Miller <davem@davemloft.net>
5486 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5489 2012-03-16 David S. Miller <davem@davemloft.net>
5491 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5495 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5497 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5498 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5499 sysdep_routines when subdir is sysvipc.
5500 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5503 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5505 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5507 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5510 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5512 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5513 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5514 (__lround): Renamed to ...
5515 (__llround): This. Replace long int with long long int.
5516 Define lround functions as aliases of llround functions.
5517 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5519 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5521 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5522 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5523 adresses to uintptr_t. Replace "long int" and "unsigned long
5524 int" with "greg_t" on va_arg.
5526 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5528 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5529 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5531 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5532 Move e_machine check before EI_CLASS check. Handle x32
5533 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5534 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5535 SKIP_EM_IA_64 and include
5536 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5538 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5539 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5540 (add_system_dir): New macro.
5542 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5543 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5545 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5556 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5558 * math/w_j0f.c (j0f): Likewise.
5560 * math/w_j0l.c (__j0l): Likewise.
5562 * math/w_j1.c (j1): Likewise.
5564 * math/w_j1f.c (j1f): Likewise.
5566 * math/w_j1l.c (__j1l): Likewise.
5568 * math/w_jn.c (jn): Likewise.
5570 * math/w_jnf.c (jnf): Likewise.
5572 * math/w_jnl.c (__jnl): Likewise.
5574 * math/libm-test.inc (j0_test): Add more tests.
5575 (j1_test): Likewise.
5576 (jn_test): Likewise. Add trailing semicolon to existing test.
5577 (y0_test): Likewise.
5578 (y1_test): Likewise.
5579 * sysdeps/i386/fpu/libm-test-ulps: Update.
5580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5584 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5585 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5586 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5587 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
5588 (__tanl): Set errno for infinite argument.
5589 * sysdeps/i386/fpu/mptan.c: Remove.
5590 * sysdeps/i386/fpu/s_tan.S: Likewise.
5591 * sysdeps/i386/fpu/s_tanl.S: Likewise.
5592 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
5593 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5594 * math/libm-test.inc (tan_test): Add more tests and enable more
5595 tests for double and long double.
5596 * sysdeps/i386/fpu/libm-test-ulps: Update.
5597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5599 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5601 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5602 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5604 2012-03-16 Roland McGrath <roland@hack.frob.com>
5606 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5607 * configure.in: Use it for both main tree and add-ons.
5608 * configure: Regenerated.
5610 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5612 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5614 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5616 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5620 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5621 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5622 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5623 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5624 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5626 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5627 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5629 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5630 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5631 * sysdeps/i386/fpu/s_cosl.S: Likewise.
5632 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5633 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5634 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5635 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5636 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5637 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5638 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5639 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5640 * math/libm-test.inc (cos_test): Add more tests and enable more
5641 tests for long double.
5642 (sin_test): Likewise.
5643 (sincos_test): Likewise.
5644 * sysdeps/i386/fpu/libm-test-ulps: Update.
5645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5647 2012-03-16 David S. Miller <davem@davemloft.net>
5649 * sysdeps/sparc/fpu/math_private.h: New file.
5651 2012-03-15 David S. Miller <davem@davemloft.net>
5653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
5655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
5656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
5658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
5659 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
5660 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
5661 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
5662 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
5663 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
5665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5667 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
5668 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
5670 * sysdeps/sparc/sparc-ifunc.h: New file.
5671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
5673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
5676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
5678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
5679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
5680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
5687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
5689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
5691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
5693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5695 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5696 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5697 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
5698 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
5699 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5700 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5701 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5702 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5703 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5704 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5705 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
5706 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
5707 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
5708 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
5709 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
5710 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
5711 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
5712 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
5713 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
5714 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
5716 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5718 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
5720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5722 2012-03-15 Andreas Jaeger <aj@suse.de>
5725 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
5726 ieee754/flt-32 implementation for sin, cos and sincos.
5727 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
5728 * sysdeps/i386/fpu/s_cosf.S: Likewise.
5729 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
5730 * sysdeps/i386/fpu/s_sinf.S: Likewise.
5731 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
5732 ieee754/flt-32 implementation for tan.
5734 * math/libm-test.inc (cos_test): Enable some large input tests for
5736 (sin_test): Likewise.
5737 (sincos_test): Likewise.
5738 (tan_test): Add tests for large input.
5740 * sysdeps/i386/fpu/libm-test-ulps: Update.
5742 2012-03-15 Andreas Jaeger <aj@suse.de>
5745 * math/libm-test.inc (cos_test): Add more test cases.
5746 (sin_test): Likewise.
5747 (sincos_test): Likewise.
5749 2012-03-15 Andreas Jaeger <aj@suse.de>
5752 * math/libm-test.inc (cos_test): Add a test case for large input
5754 (sin_test): Likewise.
5755 (sincos_test): Likewise.
5757 2012-03-15 Andreas Jaeger <aj@suse.de>,
5758 Joseph Myers <joseph@codesourcery.com>
5761 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
5762 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
5763 * sysdeps/i386/fpu/branred.c: Likewise.
5764 * sysdeps/i386/fpu/dosincos.c: Likewise.
5765 * sysdeps/i386/fpu/mpa.c: Likewise.
5766 * sysdeps/i386/fpu/s_cos.S: Likewise.
5767 * sysdeps/i386/fpu/s_sin.S: Likewise.
5768 * sysdeps/i386/fpu/s_sincos.S: Likewise.
5769 * sysdeps/i386/fpu/sincos32.c: Likewise.
5771 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
5773 (libc_feupdateenv_53bit): Define.
5774 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
5776 (libc_feupdateenv_53bit): Define.
5778 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
5779 53 bit (without extend i386 double precision).
5781 * math/libm-test.inc (sincos_test): Add tests for large input.
5785 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5787 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5791 2012-03-15 David S. Miller <davem@davemloft.net>
5793 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
5794 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
5795 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
5796 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
5797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
5798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
5799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
5800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
5801 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
5802 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
5803 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
5804 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
5805 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
5806 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
5807 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
5808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
5810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
5811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
5813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
5814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
5816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
5817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
5819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
5820 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
5821 fmin/fmax sysdep routines.
5822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5824 2012-03-14 David S. Miller <davem@davemloft.net>
5826 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
5827 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
5828 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
5829 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
5830 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
5831 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
5832 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
5833 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
5834 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
5835 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
5836 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
5837 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
5838 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
5839 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
5840 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
5841 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
5842 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
5843 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
5844 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
5845 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
5846 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
5847 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
5848 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
5849 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
5850 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
5851 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
5852 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
5853 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
5854 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
5856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
5858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
5859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
5861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
5862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
5864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
5865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
5867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
5868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
5870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
5871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
5873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
5875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
5877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
5879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
5881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
5886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
5889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
5892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
5895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5898 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5903 * sysdeps/sparc/configure.in: New file.
5904 * sysdeps/sparc/configure: Generate.
5905 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5906 * configure: Regenerate.
5907 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5908 * config.make.in (have-as-vis3): New.
5909 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5910 available use -Av9d instead of -Av9a.
5911 * sysdeps/sparc/sparc64/Makefile: Likewise.
5912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
5913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5921 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5922 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5923 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5924 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5925 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5927 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5928 fzeros/fnegs to load 0x80000000 into a float register instead of
5930 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5932 2012-03-14 Joseph Myers <joseph@codesourcery.com>
5934 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5936 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5937 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5938 ($(inst_includedir)/bits/syscall.h): Remove rule.
5939 ($(objpfx)bits/syscall.d): Include instead of
5940 $(objpfx)syscall-list.d.
5941 (generated): Change syscall-list.h and syscall-list.d to
5942 bits/syscall.h and bits/syscall.d.
5944 2012-03-14 Roland McGrath <roland@hack.frob.com>
5947 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5949 2012-03-14 Joseph Myers <joseph@codesourcery.com>
5952 * math/s_csqrt.c: Include <float.h>.
5953 (__csqrt): Scale large or subnormal inputs.
5954 * math/s_csqrtf.c: Likewise.
5955 * math/s_csqrtl.c: Likewise.
5956 * math/libm-test.inc (csqrt_test): Add more tests.
5957 * sysdeps/i386/fpu/libm-test-ulps: Update.
5958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5961 * math/libm-test.inc (hypot_test): Add more tests.
5963 2012-03-13 David S. Miller <davem@davemloft.net>
5966 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5967 double-precision for the calculation instead of scaling.
5969 2012-03-13 Joseph Myers <joseph@codesourcery.com>
5971 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5972 manipulate bits before adding and subtracting TWO52[sx].
5973 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
5974 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5976 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
5978 2012-03-13 David S. Miller <davem@davemloft.net>
5980 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
5981 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
5982 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
5983 rtld-global-offsets.h
5984 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5986 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
5989 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
5991 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
5992 'err' in the ifdef scope in which it is actually used.
5994 * nss/nss_db/db-init.c: Include string.h
5996 2012-03-12 David S. Miller <davem@davemloft.net>
5998 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5999 masking out of the most significant byte of random value used.
6000 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6001 Fix coding style in previous change.
6003 * sysdeps/unix/sysv/linux/kernel-features.h
6004 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6005 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6007 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6010 2012-03-11 David S. Miller <davem@davemloft.net>
6012 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6013 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6014 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6015 for 'resultvar' otherwise things get truncated on 64-bit.
6017 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6018 Fix masking out of the most significant byte of random value used.
6020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6022 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6026 2012-03-09 David S. Miller <davem@davemloft.net>
6028 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6029 variables with appropriate CPP guards.
6030 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6031 frame pointer, not the stack pointer. Correct layout comments. Fix test
6032 on resulting framesize and the management of the outregs buffer for pltexit.
6033 Preserve floating point return values across _dl_call_pltexit call.
6034 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6035 framesize and the management of the outregs buffer for pltexit.
6036 Preserve floating point return values across _dl_call_pltexit
6038 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6039 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6040 (print_exit): Fix format string for return register value.
6042 2012-03-10 Joseph Myers <joseph@codesourcery.com>
6044 * sunrpc/Makefile (others): Add rpcgen.
6045 ($(objpfx)rpcgen): Remove special build rule and dependency on
6047 * sunrpc/rpcgen.c: New file.
6049 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6052 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6053 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6054 * sysdeps/i386/crti.S: Likewise.
6055 * sysdeps/i386/crtn.S: Likewise.
6056 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6057 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6058 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6059 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6060 * sysdeps/sh/crti.S: Likewise.
6061 * sysdeps/sh/crtn.S: Likewise.
6062 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6065 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6067 * locale/programs/locfile-kw.gperf: Likewise.
6068 * locale/programs/charmap-kw.h: Regenerated.
6069 * locale/programs/locfile-kw.h: Likewise.
6072 * intl/plural.y: Replace FSF snail mail address with URL.
6073 * intl/plural.c: Regenerated.
6075 2012-03-09 Richard Henderson <rth@twiddle.net>
6077 * include/math_private.h: Remove file.
6078 * math/math_private.h: Move file ...
6079 * sysdeps/generic/math_private.h: ... here.
6081 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6082 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6083 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6085 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
6086 and <math_private.h>.
6087 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6088 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6089 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6090 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6091 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6092 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6093 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6094 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6095 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6096 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6097 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6098 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6099 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6100 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6101 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6102 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6103 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6104 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6105 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6106 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6107 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6108 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6109 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6110 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6111 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6112 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6113 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6114 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6115 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6116 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6117 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6118 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6119 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6120 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6121 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6122 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6123 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6124 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6125 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6126 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6127 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6128 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6129 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6130 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6131 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6132 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6133 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6134 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6135 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6136 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6137 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6138 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6139 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6140 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6141 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6142 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6143 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6144 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6145 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6146 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6147 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6148 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6149 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6150 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6151 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6152 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6153 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6154 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6155 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6156 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6157 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6158 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6159 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6160 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6161 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6162 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6163 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6164 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6165 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6166 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6167 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6168 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6169 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6170 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6171 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6172 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6173 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6174 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6175 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6176 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6177 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6178 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6179 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6180 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6181 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6182 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6183 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6184 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6185 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6186 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6187 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6188 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6189 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6190 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6191 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6192 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6193 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6194 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6195 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6196 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6197 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6198 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6199 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6200 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6201 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6202 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6203 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6204 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6205 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6206 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6207 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6208 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6209 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6210 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6211 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6212 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6213 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6214 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6215 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6216 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6217 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6218 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6219 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6220 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6221 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6222 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6223 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6224 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6225 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6226 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6227 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6228 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6229 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6230 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6231 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6232 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6233 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6234 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6235 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6236 * sysdeps/ieee754/k_standard.c: Likewise.
6237 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6238 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6239 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6240 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6241 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6242 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6243 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6244 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6245 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6246 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6247 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6248 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6249 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6250 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6251 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6252 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6253 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6254 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6255 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6256 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6257 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6258 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6259 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6260 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6261 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6262 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6263 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6264 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6265 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6266 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6267 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6268 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6269 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6270 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6271 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6272 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6273 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6274 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6275 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6276 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6277 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6278 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6279 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6280 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6281 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6282 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6283 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6284 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6285 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6286 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6287 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6288 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6289 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6290 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6291 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6292 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6293 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6294 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6295 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6296 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6297 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6298 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6299 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6300 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6301 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6302 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6303 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6304 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6305 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6306 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6307 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6308 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6309 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6310 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6311 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6312 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6313 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6314 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6315 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6316 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6317 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6318 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6319 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6320 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6321 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6322 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6323 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6324 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6325 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6326 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6327 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6328 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6329 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6330 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6331 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6332 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6333 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6334 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6335 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6336 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6337 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6338 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6339 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6340 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6341 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6342 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6343 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6344 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6345 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6346 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6347 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6348 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6349 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6350 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6351 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6352 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6353 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6354 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6355 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6356 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6357 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6358 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6359 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6360 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6361 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6362 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6363 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6364 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6365 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6366 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6367 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6368 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6369 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6370 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6371 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6372 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6373 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6374 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6375 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6376 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6377 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6378 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6379 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6380 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6381 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6382 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6383 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6384 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6385 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6386 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6387 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6388 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6389 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6390 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6391 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6392 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6393 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6394 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6395 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6396 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6397 * sysdeps/ieee754/s_lib_version.c: Likewise.
6398 * sysdeps/ieee754/s_matherr.c: Likewise.
6399 * sysdeps/ieee754/s_signgam.c: Likewise.
6400 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6401 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6402 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6403 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6404 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6405 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6406 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6407 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6408 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6409 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6410 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6411 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6412 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6413 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6414 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6415 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6416 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6417 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6418 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6419 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6420 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6422 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6424 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6425 * sunrpc/rpc_main.c: Likewise.
6426 * sunrpc/rpc_svcout.c: Likewise.
6428 2012-03-09 David S. Miller <davem@davemloft.net>
6430 * include/math_private.h: New file.
6432 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6434 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6435 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6436 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6437 from <bits/socket_type.h>.
6438 (enum __socket_type): Don't define here.
6439 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6440 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6444 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6447 * Makerules ($(inst_includedir)/%.h): New rule.
6448 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6449 (install-others): Remove variable setting.
6450 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6452 2012-03-08 Richard Henderson <rth@twiddle.net>
6454 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6455 from macro to inline function; merge with the
6456 !__LIBC_INTERNAL_MATH_INLINES version.
6457 (__ieee754_sqrtf): Likewise.
6459 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6461 (__rintf, __floor, __floorf): Likewise.
6463 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6464 macro to inline function.
6465 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6467 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6468 not <math/math_private.h>.
6470 2012-03-08 David S. Miller <davem@davemloft.net>
6472 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6474 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6476 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6478 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6480 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6481 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6483 2012-03-08 Ulrich Drepper <drepper@gmail.com>
6485 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6486 be defined individually, they must be defined as a block. Define
6487 S for printing a string instead of hidint the different by using a
6488 macro for adding the 'l'.
6489 * stdio-common/tst-fphex-wide.c: Adjust.
6491 2012-03-07 Marek Polacek <polacek@redhat.com>
6493 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6495 2012-03-08 Marek Polacek <polacek@redhat.com>
6498 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6499 * stdio-common/tst-fphex.c: Define a few macros to make the
6500 test reusable. Use them.
6501 * stdio-common/tst-fphex-wide.c: New file.
6503 2012-03-08 Joseph Myers <joseph@codesourcery.com>
6506 * manual/macros.texi (gnusystems): New macro.
6507 (nongnusystems): Likewise.
6508 (gnulinuxhurdsystems): Likewise.
6509 (gnuhurdsystems): Likewise..
6510 (gnulinuxsystems): Likewise.
6511 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6512 variants of the GNU system, not "GNU system".
6513 * manual/conf.texi: Likewise.
6514 * manual/errno.texi: Likewise. Update example of errno macro
6516 * manual/filesys.texi: Likewise.
6517 (getumask): Document as specific to GNU/Hurd.
6518 * manual/install.texi: Likewise. Reword some references to
6520 * manual/intro.texi: Likewise.
6521 * manual/io.texi: Likewise.
6522 (File Name Portability): Detail which constraints are inapplicable
6523 to all GNU systems and which are only inapplicable to GNU/Hurd.
6524 * manual/job.texi: Likewise.
6525 * manual/llio.texi: Likewise.
6526 (O_NOCTTY): Document as present on GNU/Linux.
6527 * manual/maint.texi: Likewise.
6528 * manual/memory.texi: Likewise.
6529 * manual/pattern.texi: Likewise.
6530 * manual/pipe.texi: Likewise.
6531 * manual/process.texi: Likewise.
6532 * manual/resource.texi: Likewise.
6533 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6535 * manual/setjmp.texi: Likewise.
6536 * manual/signal.texi: Likewise.
6537 * manual/startup.texi: Likewise.
6538 * manual/stdio.texi: Likewise.
6539 * manual/terminal.texi: Likewise.
6540 (ONLCR): Document as POSIX.
6541 (OXTABS): Document availability on GNU/Linux as XTABS.
6542 (ONOEOT): Document availability separately from other bits.
6543 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6544 * manual/time.texi: Likewise.
6545 * manual/users.texi: Likewise.
6546 * INSTALL: Regenerated.
6547 * sysdeps/gnu/errlist.c: Regenerated.
6549 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6550 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6551 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6553 * configure: Regenerated.
6555 2012-03-07 Joseph Myers <joseph@codesourcery.com>
6557 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6558 default includes instead of AC_HEADER_CHECK.
6559 * sysdeps/i386/configure: Regenerated.
6562 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6563 * math/s_cacoshf.c (__cacoshf): Likewise.
6564 * math/s_cacoshl.c (__cacoshl): Likewise.
6565 * math/s_casinh.c (__casinh): Set signs of result from argument.
6566 * math/s_casinhf.c (__casinhf): Likewise.
6567 * math/s_casinhl.c (__casinhl): Likewise.
6568 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6569 (casinh_test): Add more tests.
6570 * sysdeps/i386/fpu/libm-test-ulps: Update.
6571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6573 2012-03-07 Ulrich Drepper <drepper@gmail.com>
6575 * po/zh_TW.po: Update from translation team.
6577 * login/Makefile (distribute): Remove variable.
6578 * catgets/Makefile: Likewise.
6579 * mach/Makefile: Likewise.
6580 * malloc/Makefile: Likewise.
6581 * misc/Makefile: Likewise.
6582 * iconv/Makefile: Likewise.
6583 * nscd/Makefile: Likewise.
6584 * hurd/Makefile: Likewise.
6585 * manual/Makefile: Likewise.
6586 * locale/Makefile: Likewise.
6587 * intl/Makefile: Likewise.
6588 * conform/Makefile: Likewise.
6589 * nss/Makefile: Likewise.
6590 * time/Makefile: Likewise.
6591 * soft-fp/Makefile: Likewise.
6592 * dirent/Makefile: Likewise.
6593 * gmon/Makefile: Likewise.
6594 * po/Makefile: Likewise.
6595 * rt/Makefile: Likewise.
6596 * socket/Makefile: Likewise.
6597 * math/Makefile: Likewise.
6598 * signal/Makefile: Likewise.
6599 * debug/Makefile: Likewise.
6600 * elf/Makefile: Likewise.
6601 * timezone/Makefile: Likewise.
6602 * stdlib/Makefile: Likewise.
6603 * iconvdata/Makefile: Likewise.
6604 * sunrpc/Makefile: Likewise.
6605 * io/Makefile: Likewise.
6606 * argp/Makefile: Likewise.
6607 * inet/Makefile: Likewise.
6608 * hesiod/Makefile: Likewise.
6609 * grp/Makefile: Likewise.
6610 * csu/Makefile: Likewise.
6611 * wctype/Makefile: Likewise.
6612 * crypt/Makefile: Likewise.
6613 * libio/Makefile: Likewise.
6614 * string/Makefile: Likewise.
6615 * nis/Makefile: Likewise.
6616 * resolv/Makefile: Likewise.
6617 * stdio-common/Makefile: Likewise.
6618 * wcsmbs/Makefile: Likewise.
6619 * dlfcn/Makefile: Likewise.
6620 * posix/Makefile: Likewise.
6623 * timezone/Makefile: Don't install timezone files, just the programs
6626 2012-03-06 Ulrich Drepper <drepper@gmail.com>
6628 * nss/databases.def: Add missing gshadow entry.
6630 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6632 2012-03-06 Marek Polacek <polacek@redhat.com>
6635 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6636 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6637 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6638 * stdio-common/tst-long-dbl-fphex.c: New file.
6640 2012-03-06 David S. Miller <davem@davemloft.net>
6642 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6643 (set_obp_int): New function.
6644 (get_obp_int): New function.
6645 (__get_clockfreq_via_dev_openprom): Likewise.
6646 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
6647 Avoid unused variable warnings on 'val' and use builtin_expect.
6648 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
6650 (INLINE_CLONE_SYSCALL): Likewise.
6652 2012-03-05 David S. Miller <davem@davemloft.net>
6654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6656 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
6658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6660 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
6662 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6664 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
6666 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
6667 Replace gettimeofday with __vdso_gettimeofday.
6669 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6670 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
6671 __vdso_clock_gettime and __vdso_getcpu.
6673 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
6674 time with __vdso_time.
6676 2012-03-05 Joseph Myers <joseph@codesourcery.com>
6678 * manual/lang.texi (size_t): Note types to which size_t may be
6679 equivalent with the GNU C Library, but do not describe when
6680 differences between them are significant.
6682 2012-03-05 Andreas Jaeger <aj@suse.de>
6684 * sysdeps/i386/fpu/libm-test-ulps: Update.
6686 2012-03-05 Joseph Myers <joseph@codesourcery.com>
6689 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
6690 (__ieee754_pow): Save and restore rounding mode and use
6691 round-to-nearest for main computations.
6692 * math/libm-test.inc (pow_test_tonearest): New function.
6693 (pow_test_towardzero): Likewise.
6694 (pow_test_downward): Likewise.
6695 (pow_test_upward): Likewise.
6696 (main): Call the new functions.
6697 * sysdeps/i386/fpu/libm-test-ulps: Update.
6698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6701 * math/libm-test.inc (cosh_test_tonearest): New function.
6702 (cosh_test_towardzero): Likewise.
6703 (cosh_test_downward): Likewise.
6704 (cosh_test_upward): Likewise.
6705 (sinh_test_tonearest): Likewise.
6706 (sinh_test_towardzero): Likewise.
6707 (sinh_test_downward): Likewise.
6708 (sinh_test_upward): Likewise.
6709 (main): Call the new functions.
6710 * sysdeps/i386/fpu/libm-test-ulps: Update.
6711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6713 2012-03-05 Tom de Vries <tom@codesourcery.com>
6715 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
6716 default stack guard is set in last bytes.
6717 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
6719 2012-03-05 Kees Cook <keescook@chromium.org>
6721 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
6724 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
6725 possibly allocate from heap instead of stack.
6726 * stdio-common/bug-vfprintf-nargs.c: New file.
6727 * stdio-common/Makefile (tests): Add nargs overflow test.
6729 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
6731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6733 2012-03-03 Marek Polacek <polacek@redhat.com>
6735 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
6736 * math/math_private.h: Likewise.
6737 * stdlib/tst-strtod.c: Likewise.
6738 * sysdeps/i386/i486/bits/atomic.h: Likewise.
6739 * sysdeps/x86_64/bits/atomic.h: Likewise.
6741 2012-03-02 David S. Miller <davem@davemloft.net>
6743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
6744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
6745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
6746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
6747 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
6748 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
6749 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
6750 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
6752 2012-03-02 Roland McGrath <roland@hack.frob.com>
6755 * manual/examples/README: New file, says the example source files
6756 can be used under GPL>=2.
6757 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
6758 line containing just "*/".
6759 * manual/examples/add.c: Add copyright header (GPL>=2).
6760 * manual/examples/argp-ex1.c: Likewise.
6761 * manual/examples/argp-ex2.c: Likewise.
6762 * manual/examples/argp-ex3.c: Likewise.
6763 * manual/examples/argp-ex4.c: Likewise.
6764 * manual/examples/atexit.c: Likewise.
6765 * manual/examples/db.c: Likewise.
6766 * manual/examples/dir.c: Likewise.
6767 * manual/examples/dir2.c: Likewise.
6768 * manual/examples/execinfo.c: Likewise.
6769 * manual/examples/filecli.c: Likewise.
6770 * manual/examples/filesrv.c: Likewise.
6771 * manual/examples/fmtmsgexpl.c: Likewise.
6772 * manual/examples/genpass.c: Likewise.
6773 * manual/examples/inetcli.c: Likewise.
6774 * manual/examples/inetsrv.c: Likewise.
6775 * manual/examples/isockad.c: Likewise.
6776 * manual/examples/longopt.c: Likewise.
6777 * manual/examples/memopen.c: Likewise.
6778 * manual/examples/memstrm.c: Likewise.
6779 * manual/examples/mkfsock.c: Likewise.
6780 * manual/examples/mkisock.c: Likewise.
6781 * manual/examples/mygetpass.c: Likewise.
6782 * manual/examples/pipe.c: Likewise.
6783 * manual/examples/popen.c: Likewise.
6784 * manual/examples/rprintf.c: Likewise.
6785 * manual/examples/search.c: Likewise.
6786 * manual/examples/select.c: Likewise.
6787 * manual/examples/setjmp.c: Likewise.
6788 * manual/examples/sigh1.c: Likewise.
6789 * manual/examples/sigusr.c: Likewise.
6790 * manual/examples/stpcpy.c: Likewise.
6791 * manual/examples/strdupa.c: Likewise.
6792 * manual/examples/strftim.c: Likewise.
6793 * manual/examples/strncat.c: Likewise.
6794 * manual/examples/subopt.c: Likewise.
6795 * manual/examples/swapcontext.c: Likewise.
6796 * manual/examples/termios.c: Likewise.
6797 * manual/examples/testopt.c: Likewise.
6798 * manual/examples/testpass.c: Likewise.
6799 * manual/examples/timeval_subtract.c: Likewise.
6802 * manual/time.texi (Elapsed Time): Move timeval_subtract example
6804 * manual/timeval_subtract.c.texi: ... here, new file.
6806 2012-03-02 David S. Miller <davem@davemloft.net>
6808 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
6810 2012-03-02 Joseph Myers <joseph@codesourcery.com>
6813 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
6814 (__sin): Save and restore rounding mode and use round-to-nearest
6815 for all computations.
6816 (__cos): Save and restore rounding mode and use round-to-nearest
6817 for all computations.
6818 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
6820 (tan): Save and restore rounding mode and use round-to-nearest for
6822 * math/libm-test.inc (cos_test_tonearest): New function.
6823 (cos_test_towardzero): Likewise.
6824 (cos_test_downward): Likewise.
6825 (cos_test_upward): Likewise.
6826 (sin_test_tonearest): Likewise.
6827 (sin_test_towardzero): Likewise.
6828 (sin_test_downward): Likewise.
6829 (sin_test_upward): Likewise.
6830 (tan_test_tonearest): Likewise.
6831 (tan_test_towardzero): Likewise.
6832 (tan_test_downward): Likewise.
6833 (tan_test_upward): Likewise.
6834 (main): Call the new functions.
6835 * sysdeps/i386/fpu/libm-test-ulps: Update.
6836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6839 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
6840 small n, then large n, before computing and testing k+n.
6841 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6842 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6844 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6846 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
6847 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6848 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6849 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6850 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6851 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6852 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6853 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
6854 * math/libm-test.inc (scalbn_test): Add more tests.
6855 (scalbln_test): Likewise.
6857 * manual/filesys.texi (mode_t): Describe constraints on size and
6858 signedness, not exact equivalence to a particular type.
6860 (ino64_t): Likewise.
6862 (nlink_t): Likewise.
6863 (blkcnt_t): Likewise.
6864 (blkcnt64_t): Likewise.
6865 * manual/llio.texi (off_t): Likewise.
6868 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
6869 (__ieee754_exp): Save and restore rounding mode and use
6870 round-to-nearest for all computations.
6871 * math/libm-test.inc (exp_test_tonearest): New function.
6872 (exp_test_towardzero): Likewise.
6873 (exp_test_downward): Likewise.
6874 (exp_test_upward): Likewise.
6875 (main): Call the new functions.
6876 * sysdeps/i386/fpu/libm-test-ulps: Update.
6877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6879 2012-03-01 Chris Demetriou <cgd@google.com>
6881 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6882 have predictable order.
6884 2012-03-01 David S. Miller <davem@davemloft.net>
6886 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6888 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6889 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6890 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6891 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6893 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6894 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6895 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6897 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6898 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6899 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6900 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6901 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6905 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6906 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6907 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6909 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6910 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6911 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6912 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6913 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6914 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6915 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6916 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6917 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6918 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6919 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6920 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6921 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6922 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6923 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6924 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6925 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6926 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6927 * sysdeps/sparc/elf/configure: Regenerated.
6929 2012-03-01 Joseph Myers <joseph@codesourcery.com>
6931 * configure.in (AS, LD): Require binutils 2.20 or later.
6932 * configure: Regenerated.
6933 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6934 as required minimum version.
6935 * INSTALL: Regenerated.
6939 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6940 before squaring exponent.
6941 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6942 bottom long double and 27 bits of top long double before squaring
6944 * math/libm-test.inc (erfc_test): Add more tests.
6945 * sysdeps/i386/fpu/libm-test-ulps: Update.
6946 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6949 2012-03-01 Kai Tietz <ktietz@redhat.com>
6951 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6952 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6953 containing bit-fields.
6954 * soft-fp/extended.h (_FP_UNION_E): Likewise.
6955 * soft-fp/single.h (_FP_UNION_S): Likewise.
6956 * soft-fp/double.h (_FP_UNION_D): Likewise.
6958 2012-02-29 Joseph Myers <joseph@codesourcery.com>
6961 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6962 not include ../strcmp.S.
6963 [USE_AS_STRNCASECMP_L]: Likewise.
6964 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6965 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6966 * sysdeps/i386/i686/multiarch/strncase_l-c.c
6967 (__strncasecmp_l_ia32): Define as alias to
6968 __strncasecmp_l_nonascii.
6971 * math/libm-test.inc (expm1_test): Add test for bug 5794.
6972 * sysdeps/i386/fpu/libm-test-ulps: Update.
6973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6975 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
6976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6978 2012-02-29 Jeff Law <law@redhat.com>
6980 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6983 2012-02-29 Marek Polacek <polacek@redhat.com>
6986 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
6987 * elf/Makefile: Add rules to run tst-unused-dep.out.
6989 2012-02-28 David S. Miller <davem@davemloft.net>
6991 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
6992 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
6993 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
6994 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
6995 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
6996 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
6998 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7000 * math/libm-test.inc (llround_test): Move one test from
7001 lround_test. Use TEST_f_L in moved test.
7002 (lround_test): Move misplaced test to llround_test. Add testcase
7005 2012-02-28 Ulrich Drepper <drepper@gmail.com>
7007 * sysdeps/x86_64/fpu/e_expf.S: New file.
7008 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7010 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7013 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7014 of remain_len that may cause incomplete multi-byte character and
7016 * posix/bug-regex33.c: New file.
7017 * posix/Makefile (tests): Add bug-regex33.
7019 2012-02-28 Joseph Myers <joseph@codesourcery.com>
7021 * manual/macros.texi: New file.
7022 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7023 * manual/libc.texinfo: Include macros.texi.
7024 * manual/creatute.texi: Likewise.
7025 * manual/install.texi: Likewise.
7026 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7027 @glibcadj{} in references to the GNU C Library.
7028 * manual/charset.texi: Likewise.
7029 * manual/conf.texi: Likewise.
7030 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7031 when not using those macros.
7032 * manual/creature.texi: Likewise.
7033 * manual/crypt.texi: Likewise.
7034 * manual/errno.texi: Likewise.
7035 * manual/filesys.texi: Likewise.
7036 * manual/header.texi: Likewise.
7037 * manual/install.texi: Likewise.
7038 * manual/intro.texi: Likewise.
7039 * manual/io.texi: Likewise.
7040 * manual/job.texi: Likewise.
7041 * manual/lang.texi: Likewise.
7042 * manual/libc.texiinfo: Likewise.
7043 * manual/llio.texi: Likewise.
7044 * manual/locale.texi: Likewise.
7045 * manual/maint.texi: Likewise.
7046 * manual/math.texi: Likewise.
7047 * manual/memory.texi: Likewise.
7048 * manual/message.texi: Likewise.
7049 * manual/nss.texi: Likewise.
7050 * manual/pattern.texi: Likewise.
7051 * manual/process.texi: Likewise.
7052 * manual/resource.texi: Likewise.
7053 * manual/search.texi: Likewise.
7054 * manual/setjmp.texi: Likewise.
7055 * manual/signal.texi: Likewise.
7056 * manual/socket.texi: Likewise.
7057 * manual/startup.texi: Likewise.
7058 * manual/stdio.texi: Likewise.
7059 * manual/string.texi: Likewise.
7060 * manual/sysinfo.texi: Likewise.
7061 * manual/syslog.texi: Likewise.
7062 * manual/terminal.texi: Likewise.
7063 * manual/time.texi: Likewise.
7064 * manual/users.texi: Likewise.
7065 * INSTALL: Regenerated.
7066 * NOTES: Regenerated.
7067 * sysdeps/gnu/errlist.c: Regenerated.
7069 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7071 * include/dirent.h: Include <dirstream.h> before
7074 2012-02-28 David S. Miller <davem@davemloft.net>
7076 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7077 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7078 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7079 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7081 2012-02-27 David S. Miller <davem@davemloft.net>
7083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7085 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7086 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7089 frame pointer instead of stack pointer relative arg slot.
7090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7091 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7092 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7094 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7097 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7099 2012-02-27 David S. Miller <davem@davemloft.net>
7101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7105 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7106 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7107 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7108 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7110 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7112 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7113 later. Allow versions 5-9.
7114 * configure: Regenerated.
7115 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7116 required minimum version and 4.6 as recommended version. Do not
7117 mention bugs in GCC 2.7 and 2.8.
7118 * INSTALL: Regenerated.
7120 2012-02-27 David S. Miller <davem@davemloft.net>
7122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7126 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7127 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7128 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7129 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7131 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7132 manipulate bits before adding and subtracting TWO112[sx].
7133 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7135 2012-02-27 Roland McGrath <roland@hack.frob.com>
7138 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7139 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7140 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7141 being in POSIX, because they are in 1003.1-2008.
7143 * rt/tst-aio.c: Include <fcntl.h>.
7144 * rt/tst-aio7.c: Likewise.
7145 * rt/tst-aio64.c: Likewise.
7147 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7149 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7151 * manual/install.texi (--with-headers): Describe headers as
7152 interface headers, not private headers.
7153 (Specific advice for GNU/Linux systems): Describe use of headers
7154 from "make headers_install", not private headers from older
7156 * INSTALL: Regenerated.
7157 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7159 * sysdeps/unix/sysv/linux/configure: Regenerated.
7161 * manual/llio.texi (fclean): Remove documentation.
7163 * manual/Makefile (libc-texi-generated): New variable. Include
7165 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7166 $(libc-texi-generated), not duplicated list of files.
7167 (version.texi, stamp-version): New rules.
7168 (realclean): Remove $(libc-texi-generated), not individual files
7169 from that list. Do not remove dir-add.texinfo.
7170 * manual/libc.texinfo: Comment out uses of edition numbers and
7171 references to printed manual. Remove last-updated dates.
7172 (EDITION): Comment out.
7174 (VERSION, UPDATED): Remove.
7175 (version.texi): Include.
7177 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7179 * sysdeps/posix/spawni.c: Include <signal.h>.
7180 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7181 * sysdeps/pthread/aio_fsync.c: Likewise.
7183 2012-02-26 Ulrich Drepper <drepper@gmail.com>
7185 * conform/Makefile (tests): Run only when not cross-compiling and
7186 when fast-check is not defined.
7188 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7189 * conform/data/limits.h-data: Fixes for POSIX2008.
7190 * conform/run-conformtest.sh: Run all tests.
7191 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7193 * include/bits/dlfcn.h: Likewise.
7194 * include/langinfo.h: Likewise.
7195 * include/monetary.h: Likewise.
7196 * include/sys/poll.h: Likewise.
7198 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7200 * posix/spawn.h: Define __need_sigset_t.
7201 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7202 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7203 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7204 to get sigevent_t only.
7205 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7207 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7208 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7209 process_vm_writev only for __USE_GNU.
7210 * termios/termios.h: Declare tcgetsid also for POSIX2008.
7212 * conform/Makefile: For now ignore errors from run-conformtest.
7213 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7214 POSIX to avoid namespace pollution. Don't prepend headers.
7215 * conform/data/aio.h-data: Fixes for POSIX testing.
7216 * conform/data/fcntl.h-data: Likewise.
7217 * conform/data/glob.h-data: Likewise.
7218 * conform/data/grp.h-data: Likewise.
7219 * conform/data/pthread.h-data: Likewise.
7220 * conform/data/pwd.h-data: Likewise.
7221 * conform/data/signal.h-data: Likewise.
7222 * conform/data/spawn.h-data: Likewise.
7223 * conform/data/stdio.h-data: Likewise.
7224 * conform/data/stdlib.h-data: Likewise.
7225 * conform/data/stropts.h-data: Likewise.
7226 * conform/data/sys/mman.h-data: Likewise.
7227 * conform/data/sys/stat.h-data: Likewise.
7228 * conform/data/sys/types.h-data: Likewise.
7229 * conform/data/sys/wait.h-data: Likewise.
7230 * conform/data/time.h-data: Likewise.
7231 * conform/data/unistd.h-data: Likewise.
7232 * conform/data/utime.h-data: Likewise.
7234 * io/sys/stat.h: fchmod was always in POSIX.
7235 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7236 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7237 * rt/aio.h: Define __need_timespec before including <time.h>.
7238 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7239 struct. Add forward declaration of pthread_attr_t and use it in
7241 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7242 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7243 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7244 always remove CLK_TCK definition.
7246 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7248 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7250 2012-02-25 Ulrich Drepper <drepper@gmail.com>
7252 * conform/run-conformtest.sh: New file.
7253 * conform/Makefile: Run run-conformtest for tests.
7254 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7257 * conform/data/uchar.h-data: New file.
7258 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7259 * conform/data/arpa/inet.h-data: Likewise.
7260 * conform/data/assert.h-data: Likewise.
7261 * conform/data/complex.h-data: Likewise.
7262 * conform/data/cpio.h-data: Likewise.
7263 * conform/data/ctype.h-data: Likewise.
7264 * conform/data/dirent.h-data: Likewise.
7265 * conform/data/dlfcn.h-data: Likewise.
7266 * conform/data/errno.h-data: Likewise.
7267 * conform/data/fcntl.h-data: Likewise.
7268 * conform/data/float.h-data: Likewise.
7269 * conform/data/fmtmsg.h-data: Likewise.
7270 * conform/data/fnmatch.h-data: Likewise.
7271 * conform/data/ftw.h-data: Likewise.
7272 * conform/data/glob.h-data: Likewise.
7273 * conform/data/grp.h-data: Likewise.
7274 * conform/data/iconv.h-data: Likewise.
7275 * conform/data/inttypes.h-data: Likewise.
7276 * conform/data/langinfo.h-data: Likewise.
7277 * conform/data/libgen.h-data: Likewise.
7278 * conform/data/limits.h-data: Likewise.
7279 * conform/data/locale.h-data: Likewise.
7280 * conform/data/math.h-data: Likewise.
7281 * conform/data/monetary.h-data: Likewise.
7282 * conform/data/mqueue.h-data: Likewise.
7283 * conform/data/ndbm.h-data: Likewise.
7284 * conform/data/net/if.h-data: Likewise.
7285 * conform/data/netdb.h-data: Likewise.
7286 * conform/data/netinet/in.h-data: Likewise.
7287 * conform/data/nl_types.h-data: Likewise.
7288 * conform/data/poll.h-data: Likewise.
7289 * conform/data/pthread.h-data: Likewise.
7290 * conform/data/pwd.h-data: Likewise.
7291 * conform/data/regex.h-data: Likewise.
7292 * conform/data/sched.h-data: Likewise.
7293 * conform/data/search.h-data: Likewise.
7294 * conform/data/semaphore.h-data: Likewise.
7295 * conform/data/setjmp.h-data: Likewise.
7296 * conform/data/signal.h-data: Likewise.
7297 * conform/data/spawn.h-data: Likewise.
7298 * conform/data/stdarg.h-data: Likewise.
7299 * conform/data/stdio.h-data: Likewise.
7300 * conform/data/stdlib.h-data: Likewise.
7301 * conform/data/string.h-data: Likewise.
7302 * conform/data/strings.h-data: Likewise.
7303 * conform/data/stropts.h-data: Likewise.
7304 * conform/data/sys/ipc.h-data: Likewise.
7305 * conform/data/sys/mman.h-data: Likewise.
7306 * conform/data/sys/msg.h-data: Likewise.
7307 * conform/data/sys/resource.h-data: Likewise.
7308 * conform/data/sys/select.h-data: Likewise.
7309 * conform/data/sys/sem.h-data: Likewise.
7310 * conform/data/sys/shm.h-data: Likewise.
7311 * conform/data/sys/socket.h-data: Likewise.
7312 * conform/data/sys/stat.h-data: Likewise.
7313 * conform/data/sys/statvfs.h-data: Likewise.
7314 * conform/data/sys/time.h-data: Likewise.
7315 * conform/data/sys/timeb.h-data: Likewise.
7316 * conform/data/sys/times.h-data: Likewise.
7317 * conform/data/sys/types.h-data: Likewise.
7318 * conform/data/sys/uio.h-data: Likewise.
7319 * conform/data/sys/un.h-data: Likewise.
7320 * conform/data/sys/utsname.h-data: Likewise.
7321 * conform/data/sys/wait.h-data: Likewise.
7322 * conform/data/syslog.h-data: Likewise.
7323 * conform/data/tar.h-data: Likewise.
7324 * conform/data/termios.h-data: Likewise.
7325 * conform/data/utime.h-data: Likewise.
7326 * conform/data/utmpx.h-data: Likewise.
7327 * conform/data/varargs.h-data: Likewise.
7328 * conform/data/wchar.h-data: Likewise.
7329 * conform/data/wctype.h-data: Likewise.
7330 * conform/data/wordexp.h-data: Likewise.
7332 * include/stropts.h: New file.
7333 * include/uchar.h: New file.
7334 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7335 * include/assert.h: Likewise.
7336 * include/ctype.h: Likewise.
7337 * include/dirent.h: Likewise.
7338 * include/dlfcn.h: Likewise.
7339 * include/fcntl.h: Likewise.
7340 * include/fnmatch.h: Likewise.
7341 * include/glob.h: Likewise.
7342 * include/grp.h: Likewise.
7343 * include/libio.h: Likewise.
7344 * include/locale.h: Likewise.
7345 * include/math.h: Likewise.
7346 * include/net/if.h: Likewise.
7347 * include/netdb.h: Likewise.
7348 * include/netinet/in.h: Likewise.
7349 * include/pthread.h: Likewise.
7350 * include/pwd.h: Likewise.
7351 * include/regex.h: Likewise.
7352 * include/sched.h: Likewise.
7353 * include/search.h: Likewise.
7354 * include/setjmp.h: Likewise.
7355 * include/signal.h: Likewise.
7356 * include/stdio.h: Likewise.
7357 * include/stdlib.h: Likewise.
7358 * include/string.h: Likewise.
7359 * include/sys/cdefs.h: Likewise.
7360 * include/sys/mman.h: Likewise.
7361 * include/sys/msg.h: Likewise.
7362 * include/sys/resource.h: Likewise.
7363 * include/sys/select.h: Likewise.
7364 * include/sys/socket.h: Likewise.
7365 * include/sys/stat.h: Likewise.
7366 * include/sys/statvfs.h: Likewise.
7367 * include/sys/time.h: Likewise.
7368 * include/sys/times.h: Likewise.
7369 * include/sys/uio.h: Likewise.
7370 * include/sys/utsname.h: Likewise.
7371 * include/sys/wait.h: Likewise.
7372 * include/termios.h: Likewise.
7373 * include/time.h: Likewise.
7374 * include/ulimit.h: Likewise.
7375 * include/unistd.h: Likewise.
7376 * include/utime.h: Likewise.
7377 * include/wchar.h: Likewise.
7378 * include/wctype.h: Likewise.
7379 * include/wordexp.h: Likewise.
7381 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7383 * time/time.h: TIME_UTC must be a macro.
7384 Make timespec_get available for ISO C11 only as well.
7386 2012-02-24 Ulrich Drepper <drepper@gmail.com>
7388 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7389 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7391 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7393 * configure.in: Use -o not -a in test for unsupported multi-arch.
7395 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7397 * manual/texinfo.tex: Update to version 2012-01-19.16.
7399 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7401 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7403 2012-02-24 Roland McGrath <roland@hack.frob.com>
7406 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7407 * manual/fdl-1.3.texi: New file.
7408 * manual/fdl-1.1.texi: File removed.
7411 * manual/libc.texinfo (FDL_VERSION): New @set.
7412 Use it for mention of FDL in cover text.
7413 (Documentation License): Use it in @include file name.
7415 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7416 Roland McGrath <roland@hack.frob.com>
7419 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7420 not LONG_LONG_MAX and LONG_LONG_MIN.
7421 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7422 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7424 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7426 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7430 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7431 manipulate bits before adding and subtracting TWO23[sx].
7432 * math/libm-test.inc (nearbyint_test): Add more tests.
7434 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7437 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7438 bits before adding and subtracting TWO23[sx].
7439 * math/libm-test.inc (rint_test): Add more tests.
7440 (rint_test_tonearest): Likewise.
7441 (rint_test_towardzero): Likewise.
7442 (rint_test_downward): Likewise.
7443 (rint_test_upward: Likewise.
7445 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7448 * include/stdc-predef.h: New file. Extracted from features.h.
7449 * include/features.h: Include stdc-predef.h.
7450 * Makefile (headers): Add stdc-predef.h.
7451 * CONFORMANCE (Compiler limitations): Update.
7453 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7455 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7457 2012-02-21 David S. Miller <davem@davemloft.net>
7459 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7460 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7462 2012-02-20 David S. Miller <davem@davemloft.net>
7464 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7465 using a normal save/restore sequence, rather than allocating a
7466 dummy stack frame just to store a frame pointer and restore.
7467 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7469 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7471 * manual/install.texi: Fix stray word in line-wrapped comment.
7473 2012-02-20 David S. Miller <davem@davemloft.net>
7475 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7476 both binutils and gcc support GOTDATA.
7478 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7479 "rd %pc" in the PIC register setup sequences.
7481 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7482 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7483 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7484 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7485 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7486 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7487 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7488 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7489 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7490 (SYSCALL_ERROR_HANDLER): Likewise.
7491 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7492 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7493 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7494 (SYSCALL_ERROR_HANDLER): Likewise.
7496 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7497 (HAVE_GCC_GOTDATA): New.
7498 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7499 relocation support in both binutils and gcc.
7500 * sysdeps/sparc/elf/configure: Regenerate.
7502 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7503 * sysdeps/sparc/sparc32/elf/configure: Delete.
7504 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7505 * sysdeps/sparc/sparc64/elf/configure: Delete.
7506 * sysdeps/sparc/elf/configure.in: New file.
7507 * sysdeps/sparc/elf/configure: Generate.
7509 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7510 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7511 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7512 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7513 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7515 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7517 * manual/install.texi: Do not mention specific glibc version
7519 * manual/libc.texinfo (VERSION, UPDATED): Update.
7520 (@copying): Use @copyright{} and range of years.
7522 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7525 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7526 [crti.S not in sysdirs] (generated): Do not append.
7527 [crti.S not in sysdirs] (omit-deps): Likewise.
7528 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7529 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7530 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7531 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7532 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7534 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7535 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7536 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7537 * csu/defs.awk: Remove file.
7538 * sysdeps/generic/initfini.c: Likewise.
7539 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7541 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7544 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7546 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7547 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7548 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7549 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7550 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7551 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7553 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7554 (__EPOLL_PACKED): Define to empty if not defined by
7556 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7557 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7560 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7562 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7563 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7564 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7565 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7567 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7568 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7571 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7573 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7575 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7576 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7577 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7580 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7582 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7583 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7585 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
7587 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
7588 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
7590 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
7592 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7595 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
7597 * math/w_acos.c: Use non-signaling floating-point comparisons.
7598 * math/w_acosf.c: Likewise.
7599 * math/w_acosh.c: Likewise.
7600 * math/w_acoshf.c: Likewise.
7601 * math/w_acoshl.c: Likewise.
7602 * math/w_acosl.c: Likewise.
7603 * math/w_asin.c: Likewise.
7604 * math/w_asinf.c: Likewise.
7605 * math/w_asinl.c: Likewise.
7606 * math/w_atanh.c: Likewise.
7607 * math/w_atanhf.c: Likewise.
7608 * math/w_atanhl.c: Likewise.
7609 * math/w_exp2.c: Likewise.
7610 * math/w_exp2f.c: Likewise.
7611 * math/w_exp2l.c: Likewise.
7612 * math/w_j0.c: Likewise.
7613 * math/w_j0f.c: Likewise.
7614 * math/w_j0l.c: Likewise.
7615 * math/w_j1.c: Likewise.
7616 * math/w_j1f.c: Likewise.
7617 * math/w_j1l.c: Likewise.
7618 * math/w_jn.c: Likewise.
7619 * math/w_jnf.c: Likewise.
7620 * math/w_log.c: Likewise.
7621 * math/w_log10.c: Likewise.
7622 * math/w_log10f.c: Likewise.
7623 * math/w_log10l.c: Likewise.
7624 * math/w_log2.c: Likewise.
7625 * math/w_log2f.c: Likewise.
7626 * math/w_log2l.c: Likewise.
7627 * math/w_logf.c: Likewise.
7628 * math/w_logl.c: Likewise.
7629 * math/w_sqrt.c: Likewise.
7630 * math/w_sqrtf.c: Likewise.
7631 * math/w_sqrtl.c: Likewise.
7632 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7633 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7634 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7635 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7636 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7638 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7641 * manual/string.texi (strnlen): Use correct parameter name in
7642 equivalent expression.
7644 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7647 * manual/users.texi (seteuid): Consistently use neweuid for
7650 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7653 * manual/nss.texi (Services in the NSS configuration): Correct
7654 list of services in example configuration file.
7656 2012-02-19 Nick Bowler <nbowler@draconx.ca>
7659 * manual/arith.texi: Remove statements about negative zero
7660 behaving identically to zero.
7662 2012-02-18 Joseph Myers <joseph@codesourcery.com>
7665 * manual/install.texi: Do not document upgrading from libc5.
7667 2012-02-18 Joseph Myers <joseph@codesourcery.com>
7670 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
7672 2012-02-18 David S. Miller <davem@davemloft.net>
7674 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
7675 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
7676 %o7 across the call.
7677 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
7679 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
7681 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7682 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
7683 * sysdeps/sparc/crtn.S: Likewise.
7685 2012-02-17 Ulrich Drepper <drepper@gmail.com>
7687 * aout/Makefile: Remove.
7689 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
7692 * manual/examples/argp-ex1.c (main): Format definition in GNU
7694 * manual/examples/argp-ex2.c (main): Likewise.
7695 * manual/examples/argp-ex3.c (main): Likewise.
7696 * manual/examples/argp-ex4.c (main): Likewise.
7697 * manual/examples/longopt.c (main): Use new-style prototype
7699 * manual/examples/strncat.c (main): Specify return type and use
7700 (void) for arguments.
7701 * manual/examples/subopt.c (main): Use char **argv argument.
7703 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7706 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
7709 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
7712 * manual/string.texi (strchr): Change when strchrnul is
7715 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
7718 * manual/locale.texi (setlocale): Document LOCPATH.
7720 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7723 * manual/process.texi (execle): Move @dots{} before last argument.
7725 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
7728 * manual/charset.texi (Generic Charset Conversion): Fix typo
7729 (LC_TYPE -> LC_CTYPE).
7731 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
7734 * manual/arith.texi (scalbn): Use @var{} on parameter names.
7735 (scalbnf): Likewise.
7736 (scalbnl): Likewise.
7737 (scalbln): Likewise.
7738 (scalblnf): Likewise.
7739 (scalblnl): Likewise.
7740 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
7744 * manual/filesys.texi (telldir): Use braces around return type.
7745 * manual/llio.texi (mmap): Add space after comma.
7747 * manual/math.texi (jn): Use @var{} on parameter names.
7753 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
7755 * manual/resource.texi (ulimit): Use @dots{} instead of literal
7757 (sched_get_priority_min): Remove semicolon on @deftypefun line.
7758 (sched_get_priority_max): Likewise.
7759 * manual/signal.texi (sigvec): Add space after comma.
7760 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
7762 (if_indextoname): Likewise.
7763 (if_freenameindex): Likewise.
7764 (sendto): Use ',' instead of '.' in prototype.
7765 * manual/startup.texi (syscall): Use @dots{} instead of literal
7767 * manual/stdio.texi (__fpending): Separate initial words of
7768 paragraph from @deftypefun line.
7769 * manual/syslog.texi (syslog): Use @dots{} instead of literal
7771 (vsyslog): Use @var{} on parameter names.
7772 * manual/terminal.texi (stty): Use @var{} on parameter names.
7773 * manual/users.texi (getutmp): Use @var{} on parameter names.
7774 (getutmpx): Likewise.
7776 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7779 * manual/stdio.texi (fopen): Fix typos in description of
7782 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
7785 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
7786 get clock_id definition.
7788 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
7791 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
7792 (madvise): Cast every argument to void on its own.
7794 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7797 * manual/startup.texi (Exit Status): Fix typo.
7799 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7802 * manual/examples/argp-ex1.c: Include <stdlib.h>.
7803 * manual/examples/argp-ex2.c: Likewise.
7804 * manual/examples/argp-ex3.c: Likewise.
7806 2012-02-16 Richard Henderson <rth@redhat.com>
7808 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
7809 * sysdeps/s390/s390-32/initfini.c: Remove.
7810 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
7811 * sysdeps/s390/s390-64/initfini.c: Remove.
7813 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7815 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
7816 compiler output for sysdeps/generic/initfini.c.
7817 * sysdeps/sh/elf/initfini.c: Remove file.
7819 2012-02-16 David S. Miller <davem@davemloft.net>
7822 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
7824 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
7825 * sysdeps/sparc/crti.S: New file.
7826 * sysdeps/sparc/crtn.S: New file.
7827 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
7828 * sysdeps/sparc/sparc64/Makefile: Likewise.
7830 2012-02-15 Mike Frysinger <vapier@gentoo.org>
7833 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
7835 2012-02-15 Roland McGrath <roland@hack.frob.com>
7838 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
7840 * mach/devstream.c (cookie_io_functions_t): Macro removed.
7841 (write, read, close): Likewise.
7842 Patch by Aurelien Jarno <aurelien@aurel32.net>.
7844 2012-02-15 Joseph Myers <joseph@codesourcery.com>
7846 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
7847 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
7848 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
7849 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
7851 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
7852 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7855 2012-02-14 Marek Polacek <polacek@redhat.com>
7857 * sysdeps/x86_64/crti.S: New file.
7858 * sysdeps/x86_64/crtn.S: New file.
7859 * sysdeps/x86_64/elf/initfini.c: Remove file.
7861 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7863 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
7864 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
7865 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
7866 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
7868 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
7869 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7872 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7874 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
7875 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
7876 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
7877 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
7879 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
7880 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7883 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
7885 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7886 __feraiseexcept instead of feraiseexcept.
7888 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7889 nanosleep invocations.
7890 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7891 strings, and add error checking for a nanosleep invocations.
7893 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7895 Replace FSF snail mail address with URLs, as per GNU coding standards.
7896 Most of the snail mail addresses were wrong anyway, and omitting
7897 them makes the source code easier to maintain. Almost all of the
7898 changes are to license notices and to locale LC_IDENTIFICATION
7899 addresses, except for this one:
7900 * manual/libc.texinfo: In "Published by", give the FSF's URL,
7901 not its snail mail address.
7903 2012-02-09 Richard Henderson <rth@twiddle.net>
7905 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7906 of kernel-features.h.
7908 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7910 2012-02-08 Marek Polacek <polacek@redhat.com>
7912 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7913 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7914 * sysdeps/gnu/_G_config.h: Likewise.
7915 * sysdeps/generic/_G_config.h: Likewise.
7917 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7919 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7923 * sysdeps/powerpc/powerpc32/crti.S: New file.
7924 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7925 * sysdeps/powerpc/powerpc64/crti.S: New file.
7926 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7928 * Makeconfig (have-initfini): Don't set.
7929 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7930 * configure.in (nopic_initfini): Don't substitute.
7931 * config.h.in (HAVE_INITFINI): Don't #undef.
7932 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7933 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7935 2012-02-08 Joseph Myers <joseph@codesourcery.com>
7937 Support crti.S and crtn.S provided directly by architectures.
7938 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7939 [crti.S in sysdirs] (omit-deps): Likewise.
7940 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7941 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7942 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7943 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7944 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7945 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7946 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7947 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7948 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7949 compiler output for sysdeps/generic/initfini.c.
7950 * sysdeps/i386/elf/Makefile: Remove file.
7951 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7953 2012-02-07 Marek Polacek <polacek@redhat.com>
7955 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7956 * sysdeps/gnu/_G_config.h: Likewise.
7957 * sysdeps/mach/hurd/_G_config.h: Likewise.
7959 2012-02-07 Marek Polacek <polacek@redhat.com>
7961 * math/Makefile (tests): Add tst-CMPLX2.
7962 * math/tst-CMPLX2.c: New file.
7964 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
7966 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7968 * math/libm-test.inc (jn_test): Add missing L suffix.
7970 2012-02-06 Marek Polacek <polacek@redhat.com>
7972 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7973 * sysdeps/i386/fpu/e_powf.S: Likewise.
7974 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7975 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7976 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7977 * sysdeps/i386/fpu/e_pow.S: Likewise.
7978 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7979 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7980 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7981 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7982 * sysdeps/i386/fpu/e_log2.S: Likewise.
7983 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7984 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7985 * sysdeps/i386/fpu/e_powl.S: Likewise.
7986 * sysdeps/i386/fpu/s_log1p.S: Likewise.
7987 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7988 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7989 * sysdeps/i386/fpu/e_logl.S: Likewise.
7990 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7991 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
7992 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7993 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7994 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7995 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7996 * sysdeps/i386/fpu/e_log.S: Likewise.
7997 * sysdeps/i386/fpu/s_cexp.S: Likewise.
7998 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7999 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8000 * sysdeps/i386/fpu/e_logf.S: Likewise.
8001 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8002 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8003 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8004 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8005 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8006 * sysdeps/i386/fpu/e_log10.S: Likewise.
8007 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8008 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8009 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8010 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8011 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8012 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8013 * sysdeps/i386/asm-syntax.h: Likewise.
8014 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8015 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8016 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8017 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8018 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8019 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8020 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8021 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8022 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8023 * sysdeps/powerpc/sysdep.h: Likewise.
8024 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8025 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8027 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8030 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8032 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8034 * sysdeps/i386/sysdep.h: Include <features.h>.
8035 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8038 2012-02-05 Joseph Myers <joseph@codesourcery.com>
8040 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8042 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8045 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8047 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8048 (SETUP_PIC_REG): Use GET_PC_THUNK.
8049 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8052 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8054 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8055 for non-PIC compilation.
8056 (SETUP_PIC_REG): Add .p2align directive.
8057 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8058 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8059 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8060 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8061 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8062 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8063 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8064 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8065 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8066 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8067 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8068 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8069 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8070 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8071 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8072 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8073 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8074 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8075 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8076 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8077 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8078 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8079 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8080 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8081 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8082 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8083 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8084 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8085 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8086 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8087 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8088 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8089 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8090 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8091 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8092 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8093 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8094 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8095 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8096 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8097 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8099 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8101 * math/tst-CMPLX.c: Include <stdio.h>.
8103 2012-01-31 Joseph Myers <joseph@codesourcery.com>
8105 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8107 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8108 * sysdeps/sparc/bits/mathdef.h: Likewise.
8110 2012-01-31 Marek Polacek <polacek@redhat.com>
8112 * libio/libio.h: Don't define _PARAMS.
8113 * locale/programs/config.h: Don't define PARAMS.
8114 * stdlib/strtol_l.c: Likewise.
8115 (__strtol_l): Remove PARAMS from the prototype.
8117 2012-01-31 Ulrich Drepper <drepper@gmail.com>
8119 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8120 names. Just use the correct names. Remove unnecessary wrapper
8122 * malloc/arena.c: Likewise.
8123 * malloc/hooks.c: Likewise.
8125 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8126 ARENA_TEST says not to. Simplify test for creation of a new arena.
8127 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8129 2012-01-30 Ulrich Drepper <drepper@gmail.com>
8131 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8133 (update_get_addr): New function.
8134 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8135 GET_ADDR_MODULE parameter.
8137 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8139 * crypt/cert.c: Remove __STDC__ conditionals.
8140 * crypt/crypt-entry.c: Likewise.
8141 * crypt/crypt_util.c: Likewise.
8142 * libio/filedoalloc.c: Likewise.
8143 * libio/fileops.c: Likewise.
8144 * libio/genops.c: Likewise.
8145 * libio/iofclose.c: Likewise.
8146 * libio/iofdopen.c: Likewise.
8147 * libio/iofopen.c: Likewise.
8148 * libio/iofopen64.c: Likewise.
8149 * libio/iogetdelim.c: Likewise.
8150 * libio/iopopen.c: Likewise.
8151 * libio/obprintf.c: Likewise.
8152 * libio/oldfileops.c: Likewise.
8153 * libio/oldiofclose.c: Likewise.
8154 * libio/oldiofdopen.c: Likewise.
8155 * libio/oldiofopen.c: Likewise.
8156 * libio/oldiopopen.c: Likewise.
8157 * libio/wfiledoalloc.c: Likewise.
8158 * libio/wgenops.c: Likewise.
8159 * locale/programs/xmalloc.c: Likewise.
8160 * misc/syslog.c: Likewise.
8161 * stdio-common/xbug.c: Likewise.
8162 * string/memchr.c: Likewise.
8163 * string/memcmp.c: Likewise.
8164 * string/memrchr.c: Likewise.
8165 * string/rawmemchr.c: Likewise.
8166 * sysdeps/posix/getcwd.c: Likewise.
8167 * time/strftime_l.c: Likewise.
8169 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8171 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
8172 * config.make.in (config-cflags-sse2avx): Define.
8173 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8176 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8178 * scripts/config.guess: Update from upstream config git repository.
8179 * scripts/config.sub: Likewise.
8181 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8183 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8185 (R_TILEPRO_*, R_TILEGX_*): New macros.
8187 * scripts/firstversions.awk: Fix bug in version range handling.
8189 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8191 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8193 * include/sys/epoll.h: New file.
8194 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8197 2012-01-28 Ulrich Drepper <drepper@gmail.com>
8199 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8200 Avoid unnecessary __WORDSIZE == 64 test.
8201 (fmaxf): Use VEX format if possible.
8206 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8207 * math/math_private.h: Remove libc_fegetround* and
8209 * sysdeps/i386/configure.in: Check for -msse2avx.
8210 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8211 also if SSE2AVX is defined.
8212 Remove libc_fegetround* and libc_fesetround*.
8213 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8214 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8215 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8217 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8218 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8219 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8220 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8221 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8223 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8225 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8227 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8229 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8231 2012-01-27 Ulrich Drepper <drepper@gmail.com>
8234 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8236 * Makeconfig (libm): Define.
8237 * elf/Makefile: Add rules to build and run tst-relsort1.
8238 * elf/tst-relsort1.c: New file.
8239 * elf/tst-relsort1mod1.c: New file.
8240 * elf/tst-relsort1mod2.c: New file.
8242 2012-01-27 Joseph Myers <joseph@codesourcery.com>
8244 * math/s_ldexp.c: Remove __STDC__ conditionals.
8245 * math/s_ldexpf.c: Likewise.
8246 * math/s_ldexpl.c: Likewise.
8247 * math/s_nextafter.c: Likewise.
8248 * math/s_nexttowardf.c: Likewise.
8249 * math/s_significand.c: Likewise.
8250 * math/s_significandf.c: Likewise.
8251 * math/s_significandl.c: Likewise.
8252 * math/w_jnl.c: Likewise.
8253 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8254 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8255 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8256 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8257 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8258 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8259 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8260 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8261 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8262 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8263 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8264 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8265 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8266 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8267 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8268 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8269 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8270 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8271 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8272 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8273 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8274 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8275 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8276 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8277 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8278 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8279 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8280 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8281 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8282 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8283 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8284 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8285 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8286 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8287 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8288 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8289 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8290 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8291 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8292 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8293 * sysdeps/ieee754/k_standard.c: Likewise.
8294 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8295 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8296 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8297 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8298 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8299 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8300 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8301 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8302 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8303 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8304 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8305 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8306 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8307 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8308 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8309 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8310 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8311 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8312 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8313 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8314 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8315 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8316 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8317 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8318 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8319 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8320 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8321 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8322 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8323 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8324 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8325 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8326 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8327 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8328 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8329 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8330 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8331 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8332 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8333 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8334 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8335 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8336 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8337 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8338 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8339 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8340 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8341 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8342 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8343 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8344 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8345 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8346 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8347 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8348 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8349 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8350 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8351 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8352 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8353 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8354 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8355 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8356 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8357 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8358 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8359 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8360 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8361 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8362 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8363 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8364 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8365 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8366 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8367 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8368 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8369 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8370 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8371 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8372 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8373 * sysdeps/ieee754/s_matherr.c: Likewise.
8374 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8375 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8376 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8377 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8379 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8381 * crypt/md5.h: Remove __STDC__ conditionals.
8382 * libio/libioP.h: Likewise.
8383 * locale/programs/config.h: Likewise.
8384 * sysdeps/generic/sysdep.h: Likewise.
8385 * sysdeps/i386/asm-syntax.h: Likewise.
8386 * sysdeps/s390/asm-syntax.h: Likewise.
8387 * sysdeps/unix/sysdep.h: Likewise.
8388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8391 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8393 * libio/libio.h: Remove __STDC__ conditionals.
8394 * malloc/obstack.h: Likewise.
8395 * math/complex.h: Likewise.
8396 * math/math.h: Likewise.
8397 * sysdeps/generic/_G_config.h: Likewise.
8398 * sysdeps/gnu/_G_config.h: Likewise.
8399 * sysdeps/mach/hurd/_G_config.h: Likewise.
8400 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8401 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8402 * sysdeps/sparc/bits/mathdef.h: Likewise.
8404 2012-01-26 Ulrich Drepper <drepper@gmail.com>
8407 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
8408 Clean up HAS_* macros.
8409 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
8410 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8412 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8414 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8415 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8416 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8417 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8418 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8420 2012-01-25 Joseph Myers <joseph@codesourcery.com>
8422 * elf/tst-unique3.cc (gets): Remove declaration.
8423 * elf/tst-unique3lib.cc (gets): Likewise.
8424 * elf/tst-unique3lib2.cc (gets): Likewise.
8425 * elf/tst-unique4.cc (gets): Likewise.
8427 2012-01-24 Ulrich Drepper <drepper@gmail.com>
8429 * include/stdio.h: Add C++ protection. Add gets declarations and
8431 * debug/tst-chk1.c: Don't declare gets here.
8432 * stdio-common/tst-gets.c: Likewise.
8434 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8436 * posix/glob: Remove directory.
8438 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8440 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8442 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8444 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8445 of the non-standard EPFNOSUPPORT.
8447 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8449 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8450 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8451 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8453 2012-01-21 Ulrich Drepper <drepper@gmail.com>
8455 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8457 2012-01-20 Ulrich Drepper <drepper@gmail.com>
8459 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8461 * nscd/grpcache.c (cache_addgr): Likewise.
8462 * nscd/hstcache.c (cache_addhst): Likewise.
8463 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8464 * nscd/pwdcache.c (cache_addpw): Likewise.
8465 * nscd/servicescache.c (cache_addserv): Likewise.
8467 2012-01-16 Ulrich Drepper <drepper@gmail.com>
8469 * malloc/malloc.c: Various cleanups.
8470 * malloc/hooks.c: Likewise.
8472 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8473 * stdlib/bug-fmtmsg1.c: New file.
8475 * stdlib/fmtmsg.c (init): Add missing unlock.
8476 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8478 2012-01-12 Marek Polacek <polacek@redhat.com>
8480 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8483 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8485 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8486 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8487 macro to ensure uniqueness of label name.
8488 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8489 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8491 2012-01-11 Ulrich Drepper <drepper@gmail.com>
8493 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8495 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8496 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8497 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8498 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8500 2012-01-10 Ulrich Drepper <drepper@gmail.com>
8502 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8504 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8505 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8506 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8508 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8510 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
8511 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8512 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8513 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
8515 * math/bits/math-finite.h: Add ldexp support.
8517 2012-01-10 Marek Polacek <polacek@redhat.com>
8519 * locale/programs/localedef.h (show_archive_content): Add noreturn
8522 2012-01-09 Ulrich Drepper <drepper@gmail.com>
8524 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8526 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8528 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8530 * io/Makefile (headers): Add bits/poll2.h.
8532 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8535 typo #include statement.
8537 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8539 * include/sys/cdefs.h: Define __attribute_alloc_size.
8540 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8541 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8542 * elf/pldd.c: Likewise.
8543 * iconv/iconv_charmap.c: Likewise.
8544 * iconv/iconvconfig.c: Likewise.
8545 * iconv/strtab.c: Likewise.
8546 * locale/programs/locale.c: Likewise.
8547 * locale/programs/localedef.h: Likewise.
8548 * locale/programs/simple-hash.c: Likewise.
8549 * nscd/nscd.h: Likewise.
8550 * nss/makedb.c: Likewise.
8551 * sysdeps/generic/ldconfig.h: Likewise.
8552 * locale/programs/localedef.c: Remove xmalloc prototype.
8553 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8555 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8557 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8560 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8562 * math/Makefile (tests): Add tst-CMPLX.
8563 * math/tst-CMPLX.c: New file.
8565 * math/complex.h (CMPLXL): Fix typo.
8567 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8568 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8570 * debug/tst-chk1.c: Add poll and ppoll tests.
8571 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8572 * include/sys/poll.h: Add hidden proto for ppoll.
8573 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8574 * sysdeps/mach/hurd/ppoll.c: Likewise.
8575 * io/ppoll.c: Likewise.
8576 * debug/poll_chk.c: New file.
8577 * debug/ppoll_chk.c: New file.
8578 * include/bits/poll2.h: New file.
8579 * io/bits/poll2.h: New file.
8582 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8584 * configure.in: static is always set to yes. Remove.
8585 * config.make.in: Don't set build-static.
8586 * Makeconfig: Remove use of build-static.
8587 * dlfcn/Makefile: Likewise.
8588 * elf/Makefile: Likewise.
8589 * math/Makefile: Likewise.
8590 * misc/Makefile: Likewise.
8591 * nptl/Makefile: Likewise.
8592 * sysdeps/mach/hurd/Makefile: Likewise.
8594 * configure.in: PWD_P is not used anymore.
8595 * config.make.in: Remove PWD_P entry.
8597 * configure.in: Remove last remnants of RANLIB.
8598 No need to check for signed size_t anymore.
8599 Don't set libc_commonpagesize and libc_relro_required here for Alpha
8601 Remove __builtin_expect test because we require at least gcc 3.4.
8602 * aclocal.m4: Likewise.
8604 * wcsmbs/mbrtoc16.c: Implement using towc function.
8605 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8606 * wcsmbs/wcsmbsload.c: Likewise.
8607 * iconv/gconv_simple.c: Likewise.
8608 * iconv/gconv_int.h: Likewise.
8609 * iconv/gconv_builtin.h: Likewise.
8610 * iconv/iconv_prog.c: Remove CHAR16 handling.
8612 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8614 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8616 * configure.in: Remove --with-elf and --enable-bounded options.
8617 Dont set base_machine for ia64. More non-ELF conditions removed.
8618 Remove testing and setting of leading underscore information.
8619 * config.make.in (build-bounded): Set to no.
8620 * config.h.in: Remove NO_UNDERSCORES entry.
8621 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8623 * csu/start.c: Remove !NO_UNDERSCORE code.
8624 * locale/localeinfo.h: Likewise.
8625 * sysdeps/generic/machine-gmon.h: Likewise.
8626 * sysdeps/generic/sysdep.h: Likewise.
8627 * sysdeps/i386/sysdep.h: Likewise.
8628 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8629 * sysdeps/mach/sysdep.h: Likewise.
8630 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8631 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8632 * sysdeps/sh/sysdep.h: Likewise.
8633 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8634 * sysdeps/unix/i386/sysdep.S: Likewise.
8635 * sysdeps/unix/sparc/start.c: Likewise.
8636 * sysdeps/unix/sparc/sysdep.S: Likewise.
8637 * sysdeps/unix/sparc/sysdep.h: Likewise.
8638 * sysdeps/unix/start.c: Likewise.
8639 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8640 * sysdeps/x86_64/sysdep.h: Likewise.
8642 2012-01-07 Ulrich Drepper <drepper@gmail.com>
8645 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
8647 * argp/argp-fmtstream.h: Use const instead __const.
8648 * argp/argp.h: Likewise.
8649 * assert/assert.h: Likewise.
8650 * bits/fenv.h: Likewise.
8651 * bits/sched.h: Likewise.
8652 * bits/sigset.h: Likewise.
8653 * bits/sigthread.h: Likewise.
8654 * catgets/nl_types.h: Likewise.
8655 * conform/data/pthread.h-data: Likewise.
8656 * crypt/crypt-private.h: Likewise.
8657 * crypt/crypt.h: Likewise.
8658 * crypt/crypt_util.c: Likewise.
8659 * ctype/ctype.h: Likewise.
8660 * debug/execinfo.h: Likewise.
8661 * debug/mbsnrtowcs_chk.c: Likewise.
8662 * debug/mbsrtowcs_chk.c: Likewise.
8663 * debug/wcsnrtombs_chk.c: Likewise.
8664 * debug/wcsrtombs_chk.c: Likewise.
8665 * debug/wcstombs_chk.c: Likewise.
8666 * dirent/dirent.h: Likewise.
8667 * dlfcn/dlfcn.h: Likewise.
8668 * elf/neededtest4.c: Likewise.
8669 * grp/grp.h: Likewise.
8670 * gshadow/gshadow.h: Likewise.
8671 * iconv/gconv.h: Likewise.
8672 * iconv/gconv_int.h: Likewise.
8673 * iconv/gconv_simple.c: Likewise.
8674 * iconv/iconv.h: Likewise.
8675 * iconv/loop.c: Likewise.
8676 * iconv/skeleton.c: Likewise.
8677 * include/aio.h: Likewise.
8678 * include/aliases.h: Likewise.
8679 * include/argz.h: Likewise.
8680 * include/arpa/inet.h: Likewise.
8681 * include/assert.h: Likewise.
8682 * include/dirent.h: Likewise.
8683 * include/dlfcn.h: Likewise.
8684 * include/execinfo.h: Likewise.
8685 * include/fcntl.h: Likewise.
8686 * include/fenv.h: Likewise.
8687 * include/glob.h: Likewise.
8688 * include/grp.h: Likewise.
8689 * include/libintl.h: Likewise.
8690 * include/mntent.h: Likewise.
8691 * include/netdb.h: Likewise.
8692 * include/pwd.h: Likewise.
8693 * include/rpc/netdb.h: Likewise.
8694 * include/sched.h: Likewise.
8695 * include/search.h: Likewise.
8696 * include/shadow.h: Likewise.
8697 * include/signal.h: Likewise.
8698 * include/stdio.h: Likewise.
8699 * include/stdlib.h: Likewise.
8700 * include/string.h: Likewise.
8701 * include/sys/socket.h: Likewise.
8702 * include/sys/stat.h: Likewise.
8703 * include/sys/statfs.h: Likewise.
8704 * include/sys/statvfs.h: Likewise.
8705 * include/sys/syslog.h: Likewise.
8706 * include/sys/time.h: Likewise.
8707 * include/sys/uio.h: Likewise.
8708 * include/time.h: Likewise.
8709 * include/unistd.h: Likewise.
8710 * include/utmp.h: Likewise.
8711 * include/wchar.h: Likewise.
8712 * include/wctype.h: Likewise.
8713 * inet/aliases.h: Likewise.
8714 * inet/arpa/inet.h: Likewise.
8715 * inet/netinet/ether.h: Likewise.
8716 * inet/netinet/in.h: Likewise.
8717 * intl/libintl.h: Likewise.
8718 * io/bits/fcntl2.h: Likewise.
8719 * io/fcntl.h: Likewise.
8720 * io/ftw.h: Likewise.
8721 * io/sys/poll.h: Likewise.
8722 * io/sys/stat.h: Likewise.
8723 * io/sys/statfs.h: Likewise.
8724 * io/sys/statvfs.h: Likewise.
8725 * io/utime.h: Likewise.
8726 * libio/bits/stdio.h: Likewise.
8727 * libio/bits/stdio2.h: Likewise.
8728 * libio/libio.h: Likewise.
8729 * libio/libioP.h: Likewise.
8730 * libio/stdio.h: Likewise.
8731 * locale/lc-ctype.c: Likewise.
8732 * locale/locale.h: Likewise.
8733 * login/utmp.h: Likewise.
8734 * malloc/arena.c: Likewise.
8735 * malloc/malloc.c: Likewise.
8736 * malloc/malloc.h: Likewise.
8737 * malloc/mcheck.c: Likewise.
8738 * malloc/mtrace.c: Likewise.
8739 * math/bits/mathcalls.h: Likewise.
8740 * math/fenv.h: Likewise.
8741 * math/math_private.h: Likewise.
8742 * misc/bits/error.h: Likewise.
8743 * misc/bits/syslog.h: Likewise.
8744 * misc/err.h: Likewise.
8745 * misc/error.h: Likewise.
8746 * misc/fstab.h: Likewise.
8747 * misc/mntent.h: Likewise.
8748 * misc/regexp.h: Likewise.
8749 * misc/search.h: Likewise.
8750 * misc/sgtty.h: Likewise.
8751 * misc/sys/mman.h: Likewise.
8752 * misc/sys/syslog.h: Likewise.
8753 * misc/sys/uio.h: Likewise.
8754 * misc/sys/xattr.h: Likewise.
8755 * misc/ttyent.h: Likewise.
8756 * nis/rpcsvc/ypclnt.h: Likewise.
8757 * nss/nss.h: Likewise.
8758 * posix/bits/unistd.h: Likewise.
8759 * posix/fnmatch.h: Likewise.
8760 * posix/glob.h: Likewise.
8761 * posix/sched.h: Likewise.
8762 * posix/spawn.h: Likewise.
8763 * posix/sys/wait.h: Likewise.
8764 * posix/unistd.h: Likewise.
8765 * posix/wordexp.h: Likewise.
8766 * pwd/pwd.h: Likewise.
8767 * resolv/netdb.h: Likewise.
8768 * resource/sys/resource.h: Likewise.
8769 * rt/aio.h: Likewise.
8770 * rt/bits/mqueue2.h: Likewise.
8771 * rt/mqueue.h: Likewise.
8772 * shadow/shadow.h: Likewise.
8773 * signal/signal.h: Likewise.
8774 * socket/send.c: Likewise.
8775 * socket/sendto.c: Likewise.
8776 * socket/sys/socket.h: Likewise.
8777 * stdio-common/printf.h: Likewise.
8778 * stdlib/bits/stdlib.h: Likewise.
8779 * stdlib/fmtmsg.h: Likewise.
8780 * stdlib/monetary.h: Likewise.
8781 * stdlib/stdlib.h: Likewise.
8782 * stdlib/ucontext.h: Likewise.
8783 * streams/stropts.h: Likewise.
8784 * string/argz.h: Likewise.
8785 * string/bits/string2.h: Likewise.
8786 * string/string.h: Likewise.
8787 * string/strings.h: Likewise.
8788 * sunrpc/rpc/auth.h: Likewise.
8789 * sunrpc/rpc/auth_des.h: Likewise.
8790 * sunrpc/rpc/clnt.h: Likewise.
8791 * sunrpc/rpc/netdb.h: Likewise.
8792 * sunrpc/rpc/pmap_clnt.h: Likewise.
8793 * sunrpc/rpc/xdr.h: Likewise.
8794 * sysdeps/generic/inttypes.h: Likewise.
8795 * sysdeps/generic/net/if.h: Likewise.
8796 * sysdeps/generic/sys/swap.h: Likewise.
8797 * sysdeps/gnu/net/if.h: Likewise.
8798 * sysdeps/gnu/utmpx.h: Likewise.
8799 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8800 * sysdeps/i386/i486/bits/string.h: Likewise.
8801 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
8802 * sysdeps/s390/bits/string.h: Likewise.
8803 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
8804 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
8805 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8806 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8807 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8808 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
8809 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8810 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
8811 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8812 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
8813 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
8814 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8815 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
8816 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8817 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8818 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
8819 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8820 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8821 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8822 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8823 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8824 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
8825 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
8826 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
8827 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
8828 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
8829 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
8830 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8831 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
8832 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
8833 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
8834 * sysvipc/sys/ipc.h: Likewise.
8835 * sysvipc/sys/msg.h: Likewise.
8836 * sysvipc/sys/sem.h: Likewise.
8837 * sysvipc/sys/shm.h: Likewise.
8838 * termios/termios.h: Likewise.
8839 * time/sys/time.h: Likewise.
8840 * time/time.h: Likewise.
8841 * wcsmbs/bits/wchar2.h: Likewise.
8842 * wcsmbs/uchar.h: Likewise.
8843 * wcsmbs/wchar.h: Likewise.
8844 * wctype/wctype.h: Likewise.
8847 * Makeconfig: Remove all but ELF support including AIX support.
8848 * Makerules: Likewise.
8849 * config.h.in: Likewise.
8850 * config.make.in: Likewise.
8851 * configure: Likewise.
8852 * configure.in: Likewise.
8853 * csu/Makefile: Likewise.
8854 * csu/version.c: Likewise.
8855 * debug/Makefile: Likewise.
8856 * dlfcn/Makefile: Likewise.
8857 * elf/Makefile: Likewise.
8858 * extra-lib.mk: Likewise.
8859 * iconv/Makefile: Likewise.
8860 * include/libc-symbols.h: Likewise.
8861 * include/shlib-compat.h: Likewise.
8862 * resolv/Makefile: Likewise.
8863 * resolv/res_libc.c: Likewise.
8864 * rt/Makefile: Likewise.
8865 * sysdeps/i386/asm-syntax.h: Likewise.
8866 * sysdeps/i386/sysdep.h: Likewise.
8867 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8868 * sysdeps/mach/sysdep.h: Likewise.
8869 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
8870 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
8871 * sysdeps/s390/asm-syntax.h: Likewise.
8872 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8873 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8874 * sysdeps/sh/sysdep.h: Likewise.
8875 * sysdeps/unix/sparc/sysdep.h: Likewise.
8876 * sysdeps/wordsize-32/divdi3.c: Likewise.
8877 * sysdeps/x86_64/sysdep.h: Likewise.
8879 * argp/Versions: Remove _argp_unlock_xxx.
8882 * abilist/ld.abilist: Update. Adjust for removal of tls option.
8883 * abilist/libBrokenLocale.abilist: Likewise.
8884 * abilist/libanl.abilist: Likewise.
8885 * abilist/libc.abilist: Likewise.
8886 * abilist/libcrypt.abilist: Likewise.
8887 * abilist/libdl.abilist: Likewise.
8888 * abilist/libm.abilist: Likewise.
8889 * abilist/libnsl.abilist: Likewise.
8890 * abilist/libpthread.abilist: Likewise.
8891 * abilist/libresolv.abilist: Likewise.
8892 * abilist/librt.abilist: Likewise.
8893 * abilist/libthread_db.abilist: Likewise.
8894 * abilist/libutil.abilist: Likewise.
8895 * abilist/libnss_db.abilist: New file.
8897 * scripts/abilist.awk: Add support for indirect functions.
8899 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8901 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8903 * shlib-versions: Remove entries for ports architectures.
8905 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8907 * elf/stackguard-macros.h: Remove support for IA-64.
8908 * elf/tst-auditmod1.c: Likewise.
8909 * sysdeps/generic/ldsodefs.h: Likewise.
8911 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8912 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8916 * configure.in: Remove --enable-omitfp support.
8918 * config.make.in: Likewise.
8919 * Makeconfig: Likewise.
8920 * manual/install.texi: Likewise.
8922 In case anyone cares, the IA-64 architecture could move to ports.
8923 * sysdeps/ia64/*: Removed.
8924 * sysdeps/unix/sysv/linux/ia64/*: Removed.
8925 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
8928 * configure.in: Remove entries for unsupported architectures.
8931 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8932 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8934 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8935 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8936 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
8937 fall back to using wcrtomb.
8938 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8939 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
8941 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8942 * wcsmbs/tst-c16c32-1.c: New file.
8944 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8947 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8949 * elf/tst-unique3.cc: Add explicit declaration of gets.
8950 * elf/tst-unique3lib.cc: Likewise.
8951 * elf/tst-unique3lib2.cc: Likewise.
8952 * elf/tst-unique4.cc: Likewise.
8954 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8956 2012-01-06 Joseph Myers <joseph@codesourcery.com>
8959 * assert/assert.h (static_assert): Don't define for C++.
8960 * libio/stdio.h (gets): Do declare for C++ <= C++11.
8961 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8963 2012-01-03 Ulrich Drepper <drepper@gmail.com>
8965 * iconv/loop.c (single loop): Fix assertion in storing of
8968 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8970 2012-01-01 Ulrich Drepper <drepper@gmail.com>
8972 * posix/getconf.c: Update copyright year.
8973 * nss/getent.c: Likewise.
8974 * nss/makedb.c: Likewise.
8975 * iconv/iconvconfig.c: Likewise.
8976 * iconv/iconv_prog.c: Likewise.
8977 * elf/ldconfig.c: Likewise.
8978 * elf/pldd.c: Likewise.
8979 * elf/sotruss.ksh: Likewise.
8980 * catgets/gencat.c: Likewise.
8981 * csu/version.c: Likewise.
8982 * elf/ldd.bash.in: Likewise.
8983 * elf/sprof.c (print_version): Likewise.
8984 * locale/programs/locale.c: Likewise.
8985 * locale/programs/localedef.c: Likewise.
8986 * login/programs/pt_chown.c: Likewise.
8987 * nscd/nscd.c (print_version): Likewise.
8988 * debug/xtrace.sh: Likewise.
8989 * malloc/memusage.sh: Likewise.
8990 * malloc/mtrace.pl: Likewise.
8991 * debug/catchsegv.sh: Likewise.
8993 2011-12-30 Jakub Jelinek <jakub@redhat.com>
8995 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
8998 2011-12-24 Ulrich Drepper <drepper@gmail.com>
9001 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9002 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9004 * iconv/gconv_int.h: Likewise.
9005 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9006 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9007 from libc for GLIBC_2.16.
9008 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9009 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9010 * wcsmbs/uchar.h: Really define mbstate_t.
9011 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9012 * wcsmbs/c16rtomb.c: New file.
9013 * wcsmbs/mbrtoc16.c: New file.
9014 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9016 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9017 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9019 * wcsmbs/wchar.h: Add missing __restrict.
9021 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9024 * time/Makefile (routines): Add timespec_get.
9025 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9026 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9027 timespec for ISO C11.
9028 * time/timespec_get.c: New file.
9029 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9030 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9033 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9034 * stdlib/stdlib.h: Declare aligned_alloc.
9035 * Versions.def: Add GLIBC_2.16 for libc.
9036 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9039 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9042 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
9046 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9049 * assert/assert.h (static_assert): Define.
9051 * version.h: Update for 2.16 development version.
9054 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9057 * version.h (RELEASE): Bump for 2.15 release.
9058 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9060 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9061 Patch by Marek Polacek <mpolacek@redhat.com>.
9063 * bits/byteswap.h: Protect long long constants with __extension__.
9064 * sysdeps/i386/bits/byteswap.h: Likewise.
9065 * sysdeps/ia64/bits/byteswap.h: Likewise.
9066 * sysdeps/s390/bits/byteswap.h: Likewise.
9067 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9069 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9072 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9074 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9076 2011-12-23 Marek Polacek <polacek@redhat.com>
9078 * elf/dl-addr.c (determine_info): Add inline keyword.
9079 * elf/tst-auditmod4b.c (check_avx): Likewise.
9080 * elf/tst-auditmod6b.c (check_avx): Likewise.
9081 * elf/tst-auditmod6c.c (check_avx): Likewise.
9082 * elf/tst-auditmod7b.c (check_avx): Likewise.
9084 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9086 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9089 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9092 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9093 processing for last bytes.
9095 2011-08-06 Bruno Haible <bruno@clisp.org>
9098 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9099 U+0385, not to U+1FEE.
9102 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9103 entry for U+00A5 U+0301.
9105 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9108 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9109 buffer for the output is too small.
9111 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9115 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9116 SSE flags if possible.
9118 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9121 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9122 processing for last bytes.
9124 2011-12-22 Joseph Myers <joseph@codesourcery.com>
9126 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9127 (syscall-list-default-options, syscall-list-default-condition)
9128 (syscall-list-includes): Define.
9129 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9130 list of ABIs and options and #if conditions for each ABI. Do not
9131 handle common syscalls between ABIs specially.
9132 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9134 (syscall-list-variants, syscall-list-32bit-options)
9135 (syscall-list-32bit-condition, syscall-list-64bit-options)
9136 (syscall-list-64bit-condition): Define.
9137 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9138 (syscall-list-variants, syscall-list-32bit-options)
9139 (syscall-list-32bit-condition, syscall-list-64bit-options)
9140 (syscall-list-64bit-condition): Define.
9141 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9143 (syscall-list-variants, syscall-list-32bit-options)
9144 (syscall-list-32bit-condition, syscall-list-64bit-options)
9145 (syscall-list-64bit-condition): Define.
9146 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9148 (syscall-list-variants, syscall-list-32bit-options)
9149 (syscall-list-32bit-condition, syscall-list-64bit-options)
9150 (syscall-list-64bit-condition): Define.
9152 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9154 * locale/iso-639.def: Add brx entry.
9157 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9158 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9160 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9161 __feraiseexcept_renamed.
9163 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9166 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9167 EPOLLET with unsigned values.
9168 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9169 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9171 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9172 to large cancellation.
9173 * math/s_cacoshf.c: Likewise.
9174 * math/s_cacoshl.c: Likewise.
9176 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9180 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9181 * math/s_cacoshf.c: Likewise.
9182 * math/s_cacoshl.c: Likewise.
9184 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9187 * iconv/gconv.h: Define __GCONV_SWAP.
9188 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9189 * iconvdata/utf-16.c: Likewise.
9190 * iconvdata/utf-32.c: Likewise.
9192 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9195 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9196 numerator after shifting it by one limb.
9198 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9200 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9201 under [__USE_EXTERN_INLINES].
9203 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9206 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9208 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9210 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9211 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9213 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9214 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9215 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9216 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9217 for strncasecmp/strncasecmp_l compilation.
9218 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9219 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9221 2011-12-08 Marek Polacek <mpolacek@redhat.com>
9224 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9227 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9230 * time/tzfile.c (__tzfile_read): Check values from file header.
9232 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9234 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9235 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9236 * powerpc/powerpc32/dl-start.S: Likewise.
9237 * powerpc/powerpc32/elf/start.S: Likewise.
9238 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9239 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9240 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9241 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9242 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9243 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9244 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9245 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9246 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9247 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9248 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9249 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9250 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9251 * powerpc/powerpc32/memset.S: Likewise.
9252 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9253 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9254 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9255 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9256 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9257 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9258 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9259 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9260 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9261 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9262 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9263 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9264 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9266 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9268 * math/libm-test.inc: Added more nearbyint tests.
9269 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9270 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9271 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9272 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9274 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9276 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9279 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9281 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9282 Add wcscpy-ssse3 wcscpy-c.
9283 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9284 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9285 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9286 * sysdeps/x86_64/wcschr.S: New file.
9287 * sysdeps/x86_64/wcsrchr.S: New file.
9288 * string/test-strcmp.c: Remove checking of wcscmp function for
9290 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9291 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9292 wcsrchr-sse2 wcsrchr-c.
9293 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9294 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9295 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9296 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9297 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9298 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9299 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9300 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9301 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9302 * wcsmbc/wcschr.c (WCSCHR): New macro.
9304 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9306 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9307 * wcsmbs/test-wcsrchr.c: New file.
9308 * string/test-strrchr.c: Add wcsrchr support.
9310 * wcsmbs/test-wcscpy.c: New file.
9311 * string/test-strcpy.c: Add wcscpy support.
9314 2011-12-10 Ulrich Drepper <drepper@gmail.com>
9316 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9319 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9322 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9324 2011-12-04 Ulrich Drepper <drepper@gmail.com>
9326 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
9327 Minor optimizations.
9329 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9330 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9331 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9333 2011-12-03 Ulrich Drepper <drepper@gmail.com>
9335 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9336 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9337 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9338 for gcc to avoid warnings.
9339 * inet/Makefile (tests): Add tst-checks.
9340 * inet/tst-checks.c: New file.
9342 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9345 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9348 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9349 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9351 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9353 2011-12-02 Ulrich Drepper <drepper@gmail.com>
9355 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9358 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9360 2011-11-29 Joseph Myers <joseph@codesourcery.com>
9362 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9363 conditional on GCC version.
9364 (__arch_compare_and_exchange_val_8_acq)
9365 (__arch_compare_and_exchange_val_16_acq)
9366 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9367 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9368 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9370 2011-12-02 Joseph Myers <joseph@codesourcery.com>
9372 * sysdeps/sh/backtrace.c: New file.
9374 2011-12-02 Andreas Schwab <schwab@redhat.com>
9376 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9379 2011-12-01 Andreas Schwab <schwab@redhat.com>
9381 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9382 falling back to utime.
9384 2011-11-30 Andreas Schwab <schwab@redhat.com>
9386 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9387 expectations for float.
9389 2011-11-29 Andreas Schwab <schwab@redhat.com>
9391 * locale/weight.h (findidx): Add parameter len.
9392 * locale/weightwc.h (findidx): Likewise.
9393 * posix/fnmatch_loop.c (FCT): Adjust caller.
9394 * posix/regcomp.c (build_equiv_class): Likewise.
9395 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9396 * posix/regexec.c (check_node_accept_bytes): Likewise.
9397 * string/strcoll_l.c (STRCOLL): Likewise.
9398 * string/strxfrm_l.c (STRXFRM): Likewise.
9400 2011-11-17 Ulrich Drepper <drepper@gmail.com>
9402 * Makefile.in: Remove CVSOPT handling.
9403 * configure.in: Remove use of AC_REVISION.
9404 * iconvdata/Makefile (distribute): No need to filter out CVS.
9405 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9408 2011-11-16 Andreas Schwab <schwab@redhat.com>
9410 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9411 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9412 [USE_AS_STRNCASECMP_L]: Likewise.
9413 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9414 NO_TLS_DIRECT_SEG_REFS.
9415 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9416 Fix argument offsets for non-PIC.
9417 [USE_AS_STRNCASECMP_L]: Likewise.
9418 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9419 NO_TLS_DIRECT_SEG_REFS.
9421 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9423 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
9425 * locale/loadlocale.c (_nl_load_locale): Likewise.
9427 2011-11-15 Andreas Schwab <schwab@redhat.com>
9429 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9430 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9431 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9432 (SYSCALL_GETTIME): Set errno on error.
9434 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9435 count references to noai6ai_cached.
9437 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9439 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9441 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9442 FD_CLOEXEC for /proc/self/maps.
9444 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9445 FD_CLOEXEC for /proc/meminfo.
9447 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9450 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9451 FD_CLOEXEC for given file.
9453 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9455 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9456 FD_CLOEXEC for /etc/hosts.
9457 (_gethtent): Likewise.
9459 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9461 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9462 cancellation and set FD_CLOEXEC for /etc/netgroup.
9464 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9465 reading /etc/publickey.
9467 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9468 allow cancellation when reading /etc/group.
9470 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9472 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9474 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9475 when using data file.
9477 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9479 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9480 (write_nis_obj): Use "c" and "e" in fopen.
9482 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9484 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9486 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9488 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9490 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9493 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9495 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9497 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9499 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9500 file parsing and set FD_CLOEXEC.
9502 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9504 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9506 2011-11-14 Andreas Schwab <schwab@redhat.com>
9508 * malloc/arena.c (arena_get2): Don't call reused_arena when
9509 _int_new_arena failed.
9511 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9513 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9514 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9515 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9516 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9517 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9518 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9519 to compile strcasecmp and strncasecmp.
9520 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9521 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9523 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9525 2011-11-13 Ulrich Drepper <drepper@gmail.com>
9527 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9528 locale-defines.sym to gen-as-const-headers.
9529 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9530 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9531 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9532 to compile strcasecmp and strncasecmp.
9533 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9534 strcasecmp_l and strncasecmp_l.
9535 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9536 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9537 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9538 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9539 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9540 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9541 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9542 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9543 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9544 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9545 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9547 2011-11-12 Ulrich Drepper <drepper@gmail.com>
9549 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9550 result of SYSDEP_GETTIME_CPU to retval.
9551 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9552 parameter list to macro. Remove trailing semicolon. Adjust users.
9554 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9557 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9559 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9561 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9562 from unused variable.
9564 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9566 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9569 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9572 * sunrpc/rpc_prot.c (rejected): Fix case value.
9574 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9575 unsigned long long int to avoid warnings in shift.
9577 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9579 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9582 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9583 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9584 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9586 * nis/nis_table.c (nis_list): Use variable of correct type for
9587 result of __follow_path call.
9589 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9591 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
9592 of math functions ceil, trunc, floor, round, and sqrt, when
9593 avaliable on the platform.
9594 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9596 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9597 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9598 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9600 2011-10-30 Marek Polacek <mpolacek@redhat.com>
9602 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9603 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9605 2011-11-11 Roland McGrath <roland@hack.frob.com>
9607 * include/unistd.h: Fix __readlink return type.
9608 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9610 2011-11-11 Ulrich Drepper <drepper@gmail.com>
9612 * stdlib/ucontext.h: Undo last change for makecontext.
9614 2011-11-11 Andreas Schwab <schwab@redhat.com>
9616 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9618 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9619 * setjmp/setjmp.h: Mark functions as non-leaf.
9620 * setjmp/bits/setjmp2.h: Likewise.
9621 * stdlib/ucontext.h: Likewise.
9623 2011-11-10 Andreas Schwab <schwab@redhat.com>
9625 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9626 (reused_arena): Don't check arena limit.
9627 (arena_get2): Atomically check arena limit.
9629 2011-11-08 Ulrich Drepper <drepper@gmail.com>
9631 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9632 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9634 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9637 2011-11-07 Andreas Schwab <schwab@redhat.com>
9639 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9640 handler when locking.
9642 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9643 Fix size of allocated buffer.
9645 2011-11-04 Andreas Schwab <schwab@redhat.com>
9648 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
9649 declarations for long double functions.
9650 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
9652 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
9654 2011-11-03 Andreas Schwab <schwab@redhat.com>
9656 * nscd/nscd.c (main): Don't start AVC thread until credentials are
9659 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
9662 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9664 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
9666 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
9668 * include/alloca.h (stackinfo_alloca_round): Define.
9669 (extend_alloca): Use it.
9670 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
9671 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
9674 * scripts/check-local-headers.sh: Ignore libaudit.h.
9676 * nscd/Makefile (extra-objs): Make recursively expanded.
9678 2011-11-01 Ulrich Drepper <drepper@gmail.com>
9680 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
9681 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9683 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
9684 * posix/tst-rfc3484-2.c: Likewise.
9685 * posix/tst-rfc3484-3.c: Likewise.
9687 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9689 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
9691 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
9692 process_vm_writev from libc using GLIBC_2.15 version.
9694 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
9696 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9698 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
9701 2011-10-31 Ulrich Drepper <drepper@gmail.com>
9704 * nss/getent.c (initgroups_keys): Show error message in case no group
9707 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
9708 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
9709 __bump_nl_timestamp.
9710 * nscd/connections (nscd_init): When host database is served open
9711 netlink socket and request notification about configuration changes.
9712 (main_loop_poll): Track netlink file descriptor and bump timestamp
9713 in case data becomes available.
9714 (main_loop_epoll): Likewise.
9715 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
9716 (database_pers_head): Add extra_data fileds.
9717 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
9718 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
9719 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
9721 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
9722 in6ai data, call __free_in6ai.
9723 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
9725 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
9726 interface information. Reuse previous data if netlink timestamp
9728 (__bump_nl_timestamp): New function.
9729 (__free_in6ai): New function.
9731 2011-10-30 Ulrich Drepper <drepper@gmail.com>
9733 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
9734 close_not_cancel_no_status here.
9735 (__check_pf): Reorganize code a bit to not call close twice if OOM.
9737 2011-10-29 Ulrich Drepper <drepper@gmail.com>
9740 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
9743 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9744 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
9745 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
9747 2011-07-03 Andreas Jaeger <aj@suse.de>
9750 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
9751 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
9752 * math/libm-test.inc (sin_test): Add test case.
9754 2011-10-29 Ulrich Drepper <drepper@gmail.com>
9757 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
9758 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9760 * elf/chroot_canon.c (chroot_canon): Cleanups.
9762 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
9765 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
9766 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9768 * string/test-strchr.c: Make usable for strchrnul testing.
9769 * string/test-strchrnul.c: New file.
9770 * string/Makefile (strop-tests): Add strchrnul.
9772 * po/it.po: Update from translation team.
9773 * po/es.po: Likewise.
9775 2011-10-28 Ulrich Drepper <drepper@gmail.com>
9777 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
9778 the three constants needed as parameters. Drop the others.
9779 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
9780 __m128i_strloadu_tolower.
9781 Create and initialize variable zero and use it in all the places
9782 where _mm_setzero_si128 was used.
9784 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
9785 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
9786 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
9787 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
9789 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
9790 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
9791 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
9792 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
9793 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
9794 __mpranred, __mptan.
9795 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
9796 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
9797 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
9798 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
9799 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
9800 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
9801 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
9802 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
9803 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
9805 2011-10-28 Andreas Schwab <schwab@redhat.com>
9807 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
9809 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
9811 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
9812 wide char related routines to wcsmbs subdir.
9814 2011-10-27 Andreas Schwab <schwab@redhat.com>
9817 * misc/sys/cdefs.h (__THROWNL): Define.
9818 * posix/unistd.h: Use __THREADNL instead of __THREAD
9819 for memory synchronization functions.
9821 2011-10-26 Roland McGrath <roland@hack.frob.com>
9824 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
9826 * manual/stdio.texi (Obstack Streams): Node removed.
9828 2011-10-26 Andreas Schwab <schwab@redhat.com>
9830 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
9831 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9832 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9834 * math/math_private.h (math_force_eval): Allow non-addressable
9836 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
9838 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9840 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
9843 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
9844 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9845 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9846 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9847 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9848 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9849 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9850 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
9852 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
9853 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
9854 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
9855 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
9856 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
9857 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
9858 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
9859 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
9860 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
9861 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
9862 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
9863 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
9864 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
9865 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
9866 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
9867 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
9868 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
9869 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
9870 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
9872 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
9873 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
9875 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
9876 place. Use VEX encoding when compiling for AVX.
9878 2011-10-25 Andreas Schwab <schwab@redhat.com>
9880 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
9881 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9883 * string/test-strchr.c (do_test): Don't generate NUL bytes.
9885 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9887 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
9888 useless if() expression.
9889 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9890 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9891 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9892 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9893 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9894 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9895 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9896 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9897 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9898 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9899 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9900 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9901 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9902 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9903 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9904 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9905 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9906 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9907 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9909 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9911 2011-10-25 Andreas Schwab <schwab@redhat.com>
9913 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9915 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9917 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9919 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9920 .text section. Avoid duplicate constants.
9921 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9922 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9923 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9924 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9925 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9926 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9927 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9928 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9929 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9930 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9931 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9932 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9933 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9934 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9935 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9936 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9937 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9938 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9939 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9940 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9941 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9942 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9943 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9944 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9945 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9946 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9947 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9948 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9949 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9950 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9951 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9952 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9953 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9954 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9955 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9956 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9957 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9958 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9959 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9960 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9961 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9962 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9963 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9964 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9965 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9967 2011-10-24 Ulrich Drepper <drepper@gmail.com>
9969 * sysdeps/x86_64/dla.h: Move to ...
9970 * sysdeps/x86_64/fpu/dla.h: ...here.
9971 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9972 situations. Use __builtin_fma only for gcc 4.6 and up.
9974 * config.make.in: Add have-mfma4 entry.
9975 * configure.in: Substitute libc_cv_cc_fma4.
9976 * math/Makefile (dbl-only-routines): Add sincostab.
9977 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
9978 Use __sincostab not sincos.
9979 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
9981 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9982 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9983 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9984 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
9986 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
9987 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
9988 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
9989 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
9991 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
9992 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
9994 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
9995 define aliases when function name is a macro.
9996 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
9997 sysdeps/ieee754/dbl-64/sincos.tbl.
9998 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
9999 fma4-enabled routines.
10000 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10001 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10002 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10003 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10004 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10005 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10006 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10007 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10008 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10009 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10010 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10011 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10012 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10013 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10014 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10015 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10016 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10017 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10018 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10019 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10020 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10021 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10022 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10023 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10024 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10025 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10026 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10027 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10028 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10029 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10031 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10033 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10034 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10035 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10036 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10037 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10038 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10039 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10040 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10042 2011-10-24 Andreas Schwab <schwab@redhat.com>
10044 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10046 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10048 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10050 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10052 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10054 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10055 Remove unused variable magic_bits.
10056 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10058 * string/strnlen.c: Define and use STRNLEN macro.
10059 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10060 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10061 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10062 * wcsmbs/wcslen.c: Define and use WCSLEN.
10063 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10064 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10065 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10066 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10067 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10068 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10069 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10071 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10073 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10074 strnlen-sse2-no-bsf.
10075 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10076 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10077 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10078 Add strnlen support.
10079 (USE_AS_STRNLEN): New macro.
10080 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10081 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10082 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10083 * sysdeps/x86_64/wcslen.S: New file.
10085 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10087 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10088 XMM-moves are used for copying on small sizes.
10090 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10092 * wcsmbs/Makefile (strop-tests): Add wcschr.
10093 * wcsmbs/test-wcschr.c: New file.
10094 * string/test-strchr.c: Update.
10095 Add wcschr support.
10098 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10100 * wcsmbs/Makefile (strop-tests): Add wcslen.
10101 * wcsmbs/test-wcslen.c: New file.
10102 * string/test-strlen.c: Update.
10103 Add wcslen support.
10106 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10108 * po/it.po: Update from translation team.
10110 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10112 * sysdeps/x86_64/wcscmp.S: Update.
10113 Fix wrong comparison semantics.
10114 wcscmp shall use signed comparison not unsigned.
10115 Don't use substraction to avoid overflow bug.
10116 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10117 * wcsmbc/wcscmp.c: Likewise.
10118 * string/test-strcmp.c: Likewise.
10119 Add new tests to check cases with negative values.
10121 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10123 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10124 * sysdeps/x86_64/dla.h: ...here. New file.
10125 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10126 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10127 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10128 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10129 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10130 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10131 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10132 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10133 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10135 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10137 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10138 __ynl_finite aliases.
10140 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10142 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10144 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10146 [DLA_FMA] (EMULV): Use DLA_FMA.
10147 [DLA_FMA] (MUL12): Use EMULV.
10148 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10149 that are not needed.
10150 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10151 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10152 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10153 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10154 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10155 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10156 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10158 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10160 * math/s_nan.c: Undef __nan.
10161 * math/s_nanf.c: Undef __nanf.
10162 * math/s_nanl.c: Undef __nanl.
10163 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10166 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10168 * math/s_catan.c: Add branch predictions.
10169 * math/s_catanf.c: Likewise.
10170 * math/s_catanh.c: Likewise.
10171 * math/s_catanhf.c: Likewise.
10172 * math/s_catanhl.c: Likewise.
10173 * math/s_catanl.c: Likewise.
10174 * math/s_cexp.c: Likewise.
10175 * math/s_cexpf.c: Likewise.
10176 * math/s_cexpl.c: Likewise.
10177 * math/s_clog.c: Likewise.
10178 * math/s_clog10.c: Likewise.
10179 * math/s_clog10f.c: Likewise.
10180 * math/s_clog10l.c: Likewise.
10181 * math/s_clogf.c: Likewise.
10182 * math/s_clogl.c: Likewise.
10183 * math/s_csqrt.c: Likewise.
10184 * math/s_csqrtf.c: Likewise.
10185 * math/s_csqrtl.c: Likewise.
10186 * math/s_ctanf.c: Likewise.
10187 * math/s_ctanh.c: Likewise.
10188 * math/s_ctanhf.c: Likewise.
10189 * math/s_ctanhl.c: Likewise.
10190 * math/s_ctanl.c: Likewise.
10192 * math/math_private.h: Define __nan, __nanf, __nanl.
10193 * math/s_cacosh.c: Include <math_private.h>.
10194 * math/s_cacoshl.c: Likewise.
10195 * math/s_casinh.c: Likewise.
10196 * math/s_casinhf.c: Likewise.
10197 * math/s_casinhl.c: Likewise.
10198 * math/s_ccos.c: Rely entire on ccosh.
10199 * math/s_ccosf.c: Rely entire on ccoshf.
10200 * math/s_ccosl.c: Rely entirely on ccoshl.
10201 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10202 Remove tests for FE_INVALID.
10203 * math/s_ccoshf.c: Likewise.
10204 * math/s_ccoshl.c: Likewise.
10205 * math/s_csin.c: Likewise.
10206 * math/s_csinf.c: Likewise.
10207 * math/s_csinh.c Likewise.
10208 * math/s_csinhf.c: Likewise.
10209 * math/s_csinhl.c: Likewise.
10210 * math/s_csinl.c: Likewise.
10211 * math/s_ctan.c: Likewise.
10212 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10213 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10214 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10216 2011-10-21 Ulrich Drepper <drepper@gmail.com>
10218 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10219 compilation problems.
10221 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10224 2011-10-20 Ulrich Drepper <drepper@gmail.com>
10226 * sysdeps/i386/configure.in: Test for -mfma4 option.
10227 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10228 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10229 COMMON_CPUID_INDEX_80000001.
10230 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10231 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10232 use it if FMA3 is not supported.
10233 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10235 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10236 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10238 2011-10-20 Andreas Schwab <schwab@redhat.com>
10241 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10242 it would create a cycle with a link time dependency.
10244 2011-10-19 Ulrich Drepper <drepper@gmail.com>
10246 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10248 * string/Makefile (strop-tests): Add rawmemchr.
10249 * string/test-rawmemchr.c: New file.
10251 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10252 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10253 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10254 when compiling str{,n}casecmp and when AVX is available. Hook up
10255 new optimized code in initializers.
10257 2011-10-19 Andreas Schwab <schwab@redhat.com>
10259 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10260 __feraiseexcept instead of feraiseexcept.
10262 2011-10-18 Ulrich Drepper <drepper@gmail.com>
10264 * math/math_private.h: Define defaults for libc_fetestexcept and
10266 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10267 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10268 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10269 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10270 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10271 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10272 libc_fetestexcept and libc_feupdateenv.
10274 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10275 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10276 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10277 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10278 libc_feholdexcept_setround.
10280 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10281 Add s_nearbyint-c and s_nearbyintf-c.
10282 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10283 nearbyintf inlines.
10284 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10285 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10286 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10287 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10289 * math/math_private.h: Define defaults for libc_fegetround,
10290 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10291 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10292 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10293 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10294 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10295 standard functions.
10296 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10297 Remove comments and hacks for old compiler versions.
10298 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10299 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10300 libc_feholdexceptl.
10302 2011-10-18 Andreas Schwab <schwab@redhat.com>
10304 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
10305 (__feraiseexcept_renamed): Add __NTH.
10306 (feraiseexcept): Add __NTH. Rename local variables to fix
10307 namespace violations.
10309 2011-10-17 Ulrich Drepper <drepper@gmail.com>
10311 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10313 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10315 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10316 recently added interfaces.
10317 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10319 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10320 about macro parameter expansion.
10322 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10323 __NO_MATH_INLINES is defined. Cleanups.
10325 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10326 and __floorf is target has SSE4.1.
10327 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10328 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10329 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10330 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10332 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10334 (floorf): Likewise.
10336 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10338 2011-10-17 Andreas Schwab <schwab@redhat.com>
10340 * misc/sys/cdefs.h: Fix last change.
10342 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10345 2011-10-16 Ulrich Drepper <drepper@gmail.com>
10347 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10349 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10350 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10351 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10352 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10353 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10354 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10355 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10356 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10357 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10358 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10359 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10360 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10361 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10362 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10363 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10364 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10365 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10366 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10367 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10368 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10369 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10370 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10372 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10373 ceil, ceilf, floor, floorf.
10375 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10376 Perform IRELATIVE relocations last.
10378 * elf/do-rel.h: Add another parameter nrelative, replacing the
10379 local variable with the same name. Change name of the function
10380 to end in Rel or Rela (uppercase).
10381 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10382 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10383 elf_dynamic_do_##reloc function.
10385 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10387 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10388 is sufficient, at least on modern CPUs.
10390 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10392 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10393 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10395 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10397 * math/bits/math-finite.h: Add entries for exp.
10398 * math/e_expl.c: Add __*_finite alias.
10399 * sysdeps/i386/fpu/e_exp.S: Likewise.
10400 * sysdeps/i386/fpu/e_expf.S: Likewise.
10401 * sysdeps/i386/fpu/e_expl.c: Likewise.
10402 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10403 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10404 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10405 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10406 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10407 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10408 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10410 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10411 is sufficient, at least on modern CPUs.
10413 * ctype/ctype-info.c (__ctype_init): Define.
10414 * include/ctype.h (__ctype_init): Declare.
10415 (__ctype_b_loc): The variable is always initialized.
10416 (__ctype_toupper_loc): Likewise.
10417 (__ctype_tolower_loc): Likewise.
10418 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10419 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10421 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10423 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10425 * configure.in: Also look in $cxxmachine/include for C++ system
10428 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10430 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10431 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10432 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10433 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10434 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10435 (USE_AS_WMEMCMP): New macro.
10437 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10438 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10439 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10440 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10441 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10442 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10443 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10444 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10445 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10446 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10447 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10448 (USE_AS_WMEMCMP): New macro.
10449 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10450 * sysdeps/string/test-memcmp.c: Update.
10451 Fix simple_wmemcmp.
10453 * wcsmbs/wmemcmp.c: Update.
10454 (WMEMCMP): New macro.
10457 2011-10-12 Andreas Jaeger <aj@suse.de>
10460 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10462 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10464 * libio/iofwide.c (do_length): Avoid warning.
10466 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10468 2011-10-14 Ulrich Drepper <drepper@gmail.com>
10470 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10472 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10473 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10474 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10475 * sysdeps/i386/i686/fpu/e_log.S: New file.
10476 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10477 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10479 * ctype/ctype.h: Add support for inlined isXXX functions when
10480 compiling C++ code.
10482 2011-10-14 Andreas Schwab <schwab@redhat.com>
10484 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10486 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10488 2011-10-13 Roland McGrath <roland@hack.frob.com>
10491 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10493 2011-10-13 Andreas Schwab <schwab@redhat.com>
10495 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10496 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10499 * sysdeps/x86_64/memrchr.S: Check for zero size.
10501 * string/stratcliff.c: Add memrchr tests.
10503 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10505 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10506 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10507 rawmemchr-sse2 rawmemchr-sse2-bsf.
10508 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10509 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10510 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10511 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10512 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10513 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10514 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10515 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10516 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10517 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10518 * string/memrchr.c (MEMRCHR): New macro.
10520 2011-10-12 Ulrich Drepper <drepper@gmail.com>
10522 Add integration with gcc's -ffinite-math-only and optimize wrapper
10524 * Versions.def: Define GLIBC_2.15 version for libm.
10525 * math/Makefile (headers): Add bits/math-finite.h.
10526 * math/bits/math-finite.h: New file.
10527 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10528 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10529 * math/e_acoshl.c: Add __*_finite alias.
10530 * math/e_acosl.c: Likewise.
10531 * math/e_asinl.c: Likewise.
10532 * math/e_atan2l.c: Likewise.
10533 * math/e_atanhl.c: Likewise.
10534 * math/e_coshl.c: Likewise.
10535 * math/e_exp10.c: Likewise.
10536 * math/e_exp10f.c: Likewise.
10537 * math/e_exp10l.c: Likewise.
10538 * math/e_exp2l.c: Likewise.
10539 * math/e_fmodl.c: Likewise.
10540 * math/e_gammal_r.c: Likewise.
10541 * math/e_hypotl.c: Likewise.
10542 * math/e_j0l.c: Likewise.
10543 * math/e_j1l.c: Likewise.
10544 * math/e_jnl.c: Likewise.
10545 * math/e_lgammal_r.c: Likewise.
10546 * math/e_log10l.c: Likewise.
10547 * math/e_log2l.c: Likewise.
10548 * math/e_logl.c: Likewise.
10549 * math/e_powl.c: Likewise.
10550 * math/e_sinhl.c: Likewise.
10551 * math/e_sqrtl.c: Likewise.
10552 * math/e_scalb.c: Completely rewritten and optimized.
10553 * math/e_scalbf.c: Likewise.
10554 * math/e_scalbl.c: Likewise.
10555 * math/w_acos.c: Likewise.
10556 * math/w_acosf.c: Likewise.
10557 * math/w_acosl.c: Likewise.
10558 * math/w_acosh.c: Likewise.
10559 * math/w_acoshf.c: Likewise.
10560 * math/w_acoshl.c: Likewise.
10561 * math/w_asin.c: Likewise.
10562 * math/w_asinf.c: Likewise.
10563 * math/w_asinl.c: Likewise.
10564 * math/w_atan2.c: Likewise.
10565 * math/w_atan2f.c: Likewise.
10566 * math/w_atan2l.c: Likewise.
10567 * math/w_atanh.c: Likewise.
10568 * math/w_atanhf.c: Likewise.
10569 * math/w_atanhl.c: Likewise.
10570 * math/w_exp10.c: Likewise.
10571 * math/w_exp10f.c: Likewise.
10572 * math/w_exp10l.c: Likewise.
10573 * math/w_fmod.c: Likewise.
10574 * math/w_fmodf.c: Likewise.
10575 * math/w_fmodl.c: Likewise.
10576 * math/w_j0.c: Likewise.
10577 * math/w_j0f.c: Likewise.
10578 * math/w_j0l.c: Likewise.
10579 * math/w_j1.c: Likewise.
10580 * math/w_j1f.c: Likewise.
10581 * math/w_j1l.c: Likewise.
10582 * math/w_jn.c: Likewise.
10583 * math/w_jnf.c: Likewise.
10584 * math/w_log.c: Likewise.
10585 * math/w_logf.c: Likewise.
10586 * math/w_logl.c: Likewise.
10587 * math/w_log10.c: Likewise.
10588 * math/w_log10f.c: Likewise.
10589 * math/w_log10l.c: Likewise.
10590 * math/w_log2.c: Likewise.
10591 * math/w_log2f.c: Likewise.
10592 * math/w_log2l.c: Likewise.
10593 * math/w_pow.c: Likewise.
10594 * math/w_powf.c: Likewise.
10595 * math/w_powl.c: Likewise.
10596 * math/w_remainder.c: Likewise.
10597 * math/w_remainderf.c: Likewise.
10598 * math/w_remainderl.c: Likewise.
10599 * math/w_scalb.c: Likewise.
10600 * math/w_scalbf.c: Likewise.
10601 * math/w_scalbl.c: Likewise.
10602 * math/w_sqrt.c: Likewise.
10603 * math/w_sqrtf.c: Likewise.
10604 * math/w_sqrtl.c: Likewise.
10605 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10606 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10608 * math/math_private.h: Declare __kernel_standard_f.
10609 * math/w_cosh.c: Remove cruft and optimize a bit.
10610 * math/w_coshf.c: Likewise.
10611 * math/w_coshl.c: Likewise.
10612 * math/w_exp2.c: Likewise.
10613 * math/w_exp2f.c: Likewise.
10614 * math/w_exp2l.c: Likewise.
10615 * math/w_hypot.c: Likewise.
10616 * math/w_hypotf.c: Likewise.
10617 * math/w_hypotl.c: Likewise.
10618 * math/w_lgamma.c: Likewise.
10619 * math/w_lgamma_r.c: Likewise.
10620 * math/w_lgammaf.c: Likewise.
10621 * math/w_lgammaf_r.c: Likewise.
10622 * math/w_lgammal.c: Likewise.
10623 * math/w_lgammal_r.c: Likewise.
10624 * math/w_sinh.c: Likewise.
10625 * math/w_sinhf.c: Likewise.
10626 * math/w_sinhl.c: Likewise.
10627 * math/w_tgamma.c: Likewise.
10628 * math/w_tgammaf.c: Likewise.
10629 * math/w_tgammal.c: Likewise.
10630 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10631 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10632 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10633 Minor optimizations. Pretty printing. Remove cruft.
10634 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10635 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10636 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10637 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10638 * sysdeps/i386/fpu/e_acosl.c: Likewise.
10639 * sysdeps/i386/fpu/e_asin.S: Likewise.
10640 * sysdeps/i386/fpu/e_asinf.S: Likewise.
10641 * sysdeps/i386/fpu/e_atan2.S: Likewise.
10642 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
10643 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
10644 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10645 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10646 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10647 * sysdeps/i386/fpu/e_exp10.S: Likewise.
10648 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
10649 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
10650 * sysdeps/i386/fpu/e_exp2.S: Likewise.
10651 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
10652 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
10653 * sysdeps/i386/fpu/e_fmod.S: Likewise.
10654 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
10655 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
10656 * sysdeps/i386/fpu/e_hypot.S: Likewise.
10657 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
10658 * sysdeps/i386/fpu/e_log.S: Likewise.
10659 * sysdeps/i386/fpu/e_log10.S: Likewise.
10660 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10661 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10662 * sysdeps/i386/fpu/e_log2.S: Likewise.
10663 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10664 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10665 * sysdeps/i386/fpu/e_logf.S: Likewise.
10666 * sysdeps/i386/fpu/e_logl.S: Likewise.
10667 * sysdeps/i386/fpu/e_pow.S: Likewise.
10668 * sysdeps/i386/fpu/e_powf.S: Likewise.
10669 * sysdeps/i386/fpu/e_powl.S: Likewise.
10670 * sysdeps/i386/fpu/e_remainder.S: Likewise.
10671 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
10672 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
10673 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10674 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10675 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10676 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
10677 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
10678 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
10679 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10680 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10681 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10682 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10683 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10684 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10685 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10686 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10687 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10688 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10689 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10690 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10691 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10692 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10693 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10694 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10695 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10696 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10697 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10698 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10699 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10700 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10701 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10702 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10703 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10704 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10705 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10706 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10707 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10708 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10709 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10710 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10711 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10712 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10713 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10714 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10715 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10716 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10717 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10718 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10719 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10720 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10721 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10722 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10723 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10724 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10725 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10726 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10727 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10728 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10729 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10730 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10731 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10732 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10733 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10734 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10735 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10736 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10737 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10738 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10739 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10740 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10741 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10742 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10743 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10744 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10745 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10746 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10747 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10748 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10749 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10750 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10751 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10752 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10753 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10754 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10755 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10756 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10757 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10758 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10759 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10760 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10761 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10762 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10763 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10764 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10765 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10766 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10767 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10768 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10769 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10770 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10771 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10772 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10773 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10774 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10775 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10776 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10777 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10778 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10779 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
10780 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
10781 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
10782 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
10783 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10784 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10785 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10786 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10787 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
10788 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10789 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
10790 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
10791 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
10792 (__isnanf): Likewise.
10793 (__isinf_ns): Likewise.
10794 (__isinf_nsf): Likewise.
10795 (__finite): Likewise.
10796 (__finitef): Likewise.
10797 (__ieee754_sqrt): Define as macro.
10798 (__ieee754_sqrtf): Define as macro.
10799 (__ieee754_sqrtl): Define as macro.
10800 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
10802 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
10803 __FINITE_MATH_ONLY__ consistent.
10804 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
10806 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
10808 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
10811 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
10813 2011-10-09 Ulrich Drepper <drepper@gmail.com>
10815 * po/ja.po: Update from translation team.
10817 2011-10-08 Roland McGrath <roland@hack.frob.com>
10819 * locale/programs/locarchive.c (prepare_address_space): New function.
10820 (create_archive, enlarge_archive, open_archive): Use it.
10822 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
10823 inside [SHARED], where it is used.
10825 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
10827 * nss/getent.c (netgroup_keys): Remove unused variable.
10828 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10830 2011-10-08 Ulrich Drepper <drepper@gmail.com>
10832 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
10833 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
10834 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
10835 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
10836 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
10837 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
10838 * math/Makefile (libm-calls): Add s_isinf_ns.
10839 * math/divtc3.c: Use __isinf_nsl instead of isinf.
10840 * math/multc3.c: Likewise.
10841 * math/s_casin.c: Likewise.
10842 * math/s_casinf.c: Likewise.
10843 * math/s_casinl.c: Likewise.
10844 * math/s_ccos.c: Likewise.
10845 * math/s_ccosf.c: Likewise.
10846 * math/s_ccosl.c: Likewise.
10847 * math/s_ctan.c: Likewise.
10848 * math/s_ctanf.c: Likewise.
10849 * math/s_ctanh.c: Likewise.
10850 * math/s_ctanhf.c: Likewise.
10851 * math/s_ctanhl.c: Likewise.
10852 * math/s_ctanl.c: Likewise.
10853 * math/w_fmod.c: Likewise.
10854 * math/w_fmodf.c: Likewise.
10855 * math/w_fmodl.c: Likewise.
10856 * math/w_remainder.c: Likewise.
10857 * math/w_remainderf.c: Likewise.
10858 * math/w_remainderl.c: Likewise.
10859 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
10860 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
10861 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
10862 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
10863 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
10864 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
10865 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
10866 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
10868 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
10870 * stdio-common/printf_fphex.c: Likewise.
10871 * stdio-common/printf_size.c: Likewise.
10873 * math/e_exp10.c: Include math_private.h using <...> not "...".
10874 * math/e_exp10f.c: Likewise.
10875 * math/e_exp10l.c: Likewise.
10876 * math/e_exp2l.c: Likewise.
10877 * math/e_j0l.c: Likewise.
10878 * math/e_j1l.c: Likewise.
10879 * math/e_jnl.c: Likewise.
10880 * math/e_lgammal_r.c: Likewise.
10881 * math/e_rem_pio2l.c: Likewise.
10882 * math/e_scalb.c: Likewise.
10883 * math/e_scalbf.c: Likewise.
10884 * math/e_scalbl.c: Likewise.
10885 * math/k_cosl.c: Likewise.
10886 * math/k_sinl.c: Likewise.
10887 * math/k_tanl.c: Likewise.
10888 * math/s_cacoshf.c: Likewise.
10889 * math/s_catan.c: Likewise.
10890 * math/s_catanf.c: Likewise.
10891 * math/s_catanh.c: Likewise.
10892 * math/s_catanhf.c: Likewise.
10893 * math/s_catanhl.c: Likewise.
10894 * math/s_catanl.c: Likewise.
10895 * math/s_ccosh.c: Likewise.
10896 * math/s_ccoshf.c: Likewise.
10897 * math/s_ccoshl.c: Likewise.
10898 * math/s_cexp.c: Likewise.
10899 * math/s_cexpf.c: Likewise.
10900 * math/s_cexpl.c: Likewise.
10901 * math/s_clog.c: Likewise.
10902 * math/s_clog10.c: Likewise.
10903 * math/s_clog10f.c: Likewise.
10904 * math/s_clog10l.c: Likewise.
10905 * math/s_clogf.c: Likewise.
10906 * math/s_clogl.c: Likewise.
10907 * math/s_csin.c: Likewise.
10908 * math/s_csinf.c: Likewise.
10909 * math/s_csinh.c: Likewise.
10910 * math/s_csinhf.c: Likewise.
10911 * math/s_csinhl.c: Likewise.
10912 * math/s_csinl.c: Likewise.
10913 * math/s_csqrt.c: Likewise.
10914 * math/s_csqrtf.c: Likewise.
10915 * math/s_csqrtl.c: Likewise.
10916 * math/s_ctan.c: Likewise.
10917 * math/s_ctanf.c: Likewise.
10918 * math/s_ctanh.c: Likewise.
10919 * math/s_ctanhf.c: Likewise.
10920 * math/s_ctanhl.c: Likewise.
10921 * math/s_ctanl.c: Likewise.
10922 * math/s_ldexp.c: Likewise.
10923 * math/s_ldexpf.c: Likewise.
10924 * math/s_ldexpl.c: Likewise.
10925 * math/s_significand.c: Likewise.
10926 * math/s_significandf.c: Likewise.
10927 * math/s_significandl.c: Likewise.
10928 * math/w_acos.c: Likewise.
10929 * math/w_acosf.c: Likewise.
10930 * math/w_acosh.c: Likewise.
10931 * math/w_acoshf.c: Likewise.
10932 * math/w_acoshl.c: Likewise.
10933 * math/w_acosl.c: Likewise.
10934 * math/w_asin.c: Likewise.
10935 * math/w_asinf.c: Likewise.
10936 * math/w_asinl.c: Likewise.
10937 * math/w_atan2.c: Likewise.
10938 * math/w_atan2f.c: Likewise.
10939 * math/w_atan2l.c: Likewise.
10940 * math/w_atanh.c: Likewise.
10941 * math/w_atanhf.c: Likewise.
10942 * math/w_atanhl.c: Likewise.
10943 * math/w_cosh.c: Likewise.
10944 * math/w_coshf.c: Likewise.
10945 * math/w_coshl.c: Likewise.
10946 * math/w_dremf.c: Likewise.
10947 * math/w_exp10.c: Likewise.
10948 * math/w_exp10f.c: Likewise.
10949 * math/w_exp10l.c: Likewise.
10950 * math/w_exp2.c: Likewise.
10951 * math/w_exp2f.c: Likewise.
10952 * math/w_fmod.c: Likewise.
10953 * math/w_fmodf.c: Likewise.
10954 * math/w_fmodl.c: Likewise.
10955 * math/w_hypot.c: Likewise.
10956 * math/w_hypotf.c: Likewise.
10957 * math/w_hypotl.c: Likewise.
10958 * math/w_j0.c: Likewise.
10959 * math/w_j0f.c: Likewise.
10960 * math/w_j0l.c: Likewise.
10961 * math/w_j1.c: Likewise.
10962 * math/w_j1f.c: Likewise.
10963 * math/w_j1l.c: Likewise.
10964 * math/w_jn.c: Likewise.
10965 * math/w_jnf.c: Likewise.
10966 * math/w_jnl.c: Likewise.
10967 * math/w_lgamma.c: Likewise.
10968 * math/w_lgamma_r.c: Likewise.
10969 * math/w_lgammaf.c: Likewise.
10970 * math/w_lgammaf_r.c: Likewise.
10971 * math/w_lgammal.c: Likewise.
10972 * math/w_lgammal_r.c: Likewise.
10973 * math/w_log.c: Likewise.
10974 * math/w_log10.c: Likewise.
10975 * math/w_log10f.c: Likewise.
10976 * math/w_log10l.c: Likewise.
10977 * math/w_log2.c: Likewise.
10978 * math/w_log2f.c: Likewise.
10979 * math/w_log2l.c: Likewise.
10980 * math/w_logf.c: Likewise.
10981 * math/w_logl.c: Likewise.
10982 * math/w_pow.c: Likewise.
10983 * math/w_powf.c: Likewise.
10984 * math/w_powl.c: Likewise.
10985 * math/w_remainder.c: Likewise.
10986 * math/w_remainderf.c: Likewise.
10987 * math/w_remainderl.c: Likewise.
10988 * math/w_scalb.c: Likewise.
10989 * math/w_scalbf.c: Likewise.
10990 * math/w_scalbl.c: Likewise.
10991 * math/w_sinh.c: Likewise.
10992 * math/w_sinhf.c: Likewise.
10993 * math/w_sinhl.c: Likewise.
10994 * math/w_sqrt.c: Likewise.
10995 * math/w_sqrtf.c: Likewise.
10996 * math/w_sqrtl.c: Likewise.
10997 * math/w_tgamma.c: Likewise.
10998 * math/w_tgammaf.c: Likewise.
10999 * math/w_tgammal.c: Likewise.
11001 * po/ja.po: Update from translation team.
11003 2011-09-29 Andreas Jaeger <aj@suse.de>
11006 * sunrpc/netname.c (netname2host): Fix logic.
11010 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11012 * math/w_remainder.c (__remainder): Likewise.
11013 * math/w_remainderf.c (__remainderf): Likewise.
11014 * math/libm-test.inc (remainder_test): Add test cases.
11016 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11018 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11021 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11023 * string/test-memcmp.c: Avoid unncessary #defines.
11024 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11026 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11028 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11029 Use new sse2 version for core i3 - i7 as it's faster
11030 than sse42 version.
11031 (bit_Prefer_PMINUB_for_stringop): New.
11032 * sysdeps/x86_64/rawmemchr.S: Update.
11033 Replace with faster SSE2 version.
11034 * sysdeps/x86_64/memrchr.S: New file.
11035 * sysdeps/x86_64/memchr.S: Update.
11036 Replace with faster SSE2 version.
11038 2011-09-12 Marek Polacek <mpolacek@redhat.com>
11040 * elf/dl-load.c (lose): Add cast to avoid warning.
11042 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11044 * po/ca.po: Update from translation team.
11046 * inet/getnetgrent_r.c: Hook up nscd.
11047 * nscd/Makefile (routines): Add nscd_netgroup.
11048 (nscd-modules): Add netgroupcache.
11049 (CFLAGS-netgroupcache.c): Define.
11050 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11051 (cache_search): Add const to second parameter.
11052 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11054 (dbs): Add netgrdb entry.
11055 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11056 (verify_persistent_db): Handle netgrdb.
11057 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11058 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11060 (netgroup_response_header): Define.
11061 (innetgroup_response_header): Define.
11062 (datahead): Add netgroup_response_header and innetgroup_response_header
11064 * nscd/nscd.conf: Add entries for netgroup cache.
11065 * nscd/nscd.h (dbtype): Add netgrdb.
11066 (_PATH_NSCD_NETGROUP_DB): Define.
11067 (netgroup_iov_disabled): Declare.
11068 (xmalloc, xcalloc, xrealloc): Move declarations here.
11069 (cache_search): Adjust prototype.
11070 Add netgroup-related prototypes.
11071 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11072 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11073 (__nscd_innetgr): Declare.
11074 * nscd/selinux.c (perms): Use access_vector_t as element type and
11075 add netgroup-related initializers.
11076 * nscd/netgroupcache.c: New file.
11077 * nscd/nscd_netgroup.c: New file.
11078 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11079 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11080 For four parameters use innetgr.
11081 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11082 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11083 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11084 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11086 * nscd/connections.c (register_traced_file): Don't register file
11087 for disabled databases.
11089 2011-10-06 Ulrich Drepper <drepper@gmail.com>
11091 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11093 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11094 from tree and freeing node.
11096 2011-09-25 Jiri Olsa <jolsa@redhat.com>
11098 * nss/nsswitch.c (__nss_database_lookup): Handle
11099 nss_parse_service_list out of memory case.
11101 2011-09-15 Jiri Olsa <jolsa@redhat.com>
11103 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11104 out of memory case.
11106 2011-10-04 Andreas Schwab <schwab@redhat.com>
11108 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11109 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11111 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11112 elf_machine_rela, elf_machine_lazy_rel.
11113 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11114 (ELF_DYNAMIC_DO_REL): Likewise.
11115 (ELF_DYNAMIC_DO_RELA): Likewise.
11116 (ELF_DYNAMIC_RELOCATE): Likewise.
11117 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11118 to ELF_DYNAMIC_DO_REL.
11119 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11120 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11121 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11123 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11124 skip_ifunc, don't call ifunc function if non-zero.
11125 (elf_machine_rela): Likewise.
11126 (elf_machine_lazy_rel): Likewise.
11127 (elf_machine_lazy_rela): Likewise.
11128 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11129 (elf_machine_lazy_rel): Likewise.
11130 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11132 (elf_machine_lazy_rel): Likewise.
11133 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11135 (elf_machine_lazy_rel): Likewise.
11136 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11137 (elf_machine_lazy_rel): Likewise.
11138 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11139 (elf_machine_lazy_rel): Likewise.
11140 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11141 (elf_machine_lazy_rel): Likewise.
11142 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11143 (elf_machine_lazy_rel): Likewise.
11144 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11145 (elf_machine_lazy_rel): Likewise.
11146 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11147 (elf_machine_lazy_rel): Likewise.
11149 2011-09-28 Ulrich Drepper <drepper@gmail.com>
11151 * nss/nss_files/files-init.c (_nss_files_init): Use static
11152 initialization for all the *_traced_file variables.
11154 2011-09-28 Andreas Schwab <schwab@redhat.com>
11156 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11158 2011-09-27 Roland McGrath <roland@hack.frob.com>
11161 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11163 2011-09-27 Andreas Schwab <schwab@redhat.com>
11165 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11166 Reread the line before reparsing it.
11168 2011-09-26 Andreas Schwab <schwab@redhat.com>
11170 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11172 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11173 Maxim Kuvyrkov <maxim@codesourcery.com>
11174 Joseph Myers <joseph@codesourcery.com>
11176 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11177 if needed for __stack_chk_guard.
11179 2011-09-19 Roland McGrath <roland@hack.frob.com>
11181 * sysdeps/posix/spawni.c (script_execute): Always define it.
11182 It will be optimized away if unused.
11183 (maybe_script_execute): New function.
11184 (__spawni): Call it.
11186 * Makerules: Don't include tls.make.
11187 (config-tls): Always set to thread.
11188 * tls.make.c: File removed.
11190 2011-09-19 Mike Frysinger <vapier@gentoo.org>
11192 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11193 * config.make.in (CPPFLAGS-config): New substituted variable.
11195 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11197 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11200 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11201 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11203 2011-09-15 Roland McGrath <roland@hack.frob.com>
11205 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11206 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11207 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11208 (CALL_FAIL): Likewise.
11209 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11210 (CALL_FAIL): Macro removed.
11211 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11213 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11215 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11216 for __FINITE_MATH_ONLY__ == 1.
11218 2011-09-15 Andreas Schwab <schwab@redhat.com>
11220 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11221 __ieee754_sqrt instead of sqrt.
11222 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11223 __ieee754_sqrtf instead of sqrtf.
11224 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11225 __floorf instead of floorf.
11226 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11227 __floorf, __truncf instead of floorf, truncf.
11229 2011-09-14 Ulrich Drepper <drepper@gmail.com>
11231 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11233 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11234 __extern_always_inline.
11235 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11238 2011-09-14 Andreas Schwab <schwab@redhat.com>
11240 * elf/rtld.c (dl_main): Also relocate in dependency order when
11241 doing symbol dependency testing.
11243 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11245 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11246 Always define `refsym'.
11248 2011-09-13 Andreas Schwab <schwab@redhat.com>
11250 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11251 (__FD_ELT): Renamed from __FDELT.
11252 * misc/bits/select2.h (__FD_ELT): Likewise.
11253 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11254 __FD_MASK instead of __FDELT, __FDMASK.
11255 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11257 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11260 * elf/Makefile (gen-ldd): Fix pattern.
11262 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11263 (init_tls): Likewise.
11265 2011-09-12 Ulrich Drepper <drepper@gmail.com>
11267 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11269 2011-09-12 Andreas Schwab <schwab@redhat.com>
11271 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11272 `struct cmsghdr *' instead of `void *'.
11273 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11276 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11278 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11280 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11281 ldd_rewrite_script.
11283 2011-09-11 Ulrich Drepper <drepper@gmail.com>
11285 * configure.in: Remove --with-tls option.
11286 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11287 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11288 out in case it is missing.
11289 * sysdeps/ia64/elf/configure.in: Likewise.
11290 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11291 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11292 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11293 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11294 * sysdeps/sh/elf/configure.in: Likewise.
11295 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11296 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11297 * sysdeps/x86_64/elf/configure.in: Likewise.
11298 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11299 * sysdeps/mach/hurd/tls.h: Likewise.
11302 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11305 * configure.in: Fix use of AC_INIT.
11307 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11309 2011-09-10 Ulrich Drepper <drepper@gmail.com>
11311 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11313 * malloc/hooks.c: Likewise.
11316 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11317 variables statically.
11318 (narenas): Initialize.
11319 (list_lock): Initialize.
11320 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11321 initializtion of main_arena and list_lock. Small cleanups.
11322 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11323 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11324 Add initializers to main_arena and mp_.
11325 (malloc_state): Remove pagesize member. Change all users to use
11328 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11329 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11330 is always initialized.
11332 * malloc/malloc.c: Removed unused configurations and dead code.
11333 * malloc/arena.c: Likewise.
11334 * malloc/hooks.c: Likewise.
11335 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
11337 * include/tls.h: Removed. USE___THREAD must always be defined.
11338 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11339 * elf/dl-libc.c: Likewise.
11340 * elf/dl-tsd.c: Likewise.
11341 * include/errno.h: Likewise.
11342 * include/netdb.h: Likewise.
11343 * include/resolv.h: Likewise.
11344 * inet/herrno-loc.c: Likewise.
11345 * inet/herrno.c: Likewise.
11346 * malloc/arena.c: Likewise.
11347 * malloc/hooks.c: Likewise.
11348 * malloc/malloc.c: Likewise.
11349 * resolv/res-state.c: Likewise.
11350 * resolv/res_libc.c: Likewise.
11351 * sysdeps/i386/dl-machine.h: Likewise.
11352 * sysdeps/ia64/dl-machine.h: Likewise.
11353 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11354 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11355 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11356 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11357 * sysdeps/sh/dl-machine.h: Likewise.
11358 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11359 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11360 * sysdeps/unix/i386/sysdep.S: Likewise.
11361 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11362 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11363 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11364 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11365 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11366 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11367 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11368 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11369 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11370 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11371 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11372 * sysdeps/x86_64/dl-machine.h: Likewise.
11373 * tls.make.c: Likewise.
11375 * configure.in: Remove --with-__thread option. Make tests for
11376 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11377 tls_model attribute fail if no support is available. Remove
11379 * Makeconfig: Adjust for dropped configure option. All features are
11381 * Makerules: Likewise.
11382 * Versions.def: Likewise.
11383 * argp/argp-fmtstream.c: Likewise.
11384 * argp/argp-fmtstream.h: Likewise.
11385 * argp/argp-help.c: Likewise.
11386 * assert/assert.c: Likewise.
11387 * config.h.in: Likewise.
11388 * config.make.in: Likewise.
11389 * configure: Likewise.
11390 * configure.in: Likewise.
11391 * csu/Versions: Likewise.
11392 * csu/init.c: Likewise.
11393 * elf/tst-audit2.c: Likewise.
11394 * elf/tst-tls10.c: Likewise.
11395 * elf/tst-tls10.h: Likewise.
11396 * elf/tst-tls11.c: Likewise.
11397 * elf/tst-tls12.c: Likewise.
11398 * elf/tst-tls14.c: Likewise.
11399 * elf/tst-tlsmod11.c: Likewise.
11400 * elf/tst-tlsmod12.c: Likewise.
11401 * elf/tst-tlsmod13.c: Likewise.
11402 * elf/tst-tlsmod13a.c: Likewise.
11403 * elf/tst-tlsmod14a.c: Likewise.
11404 * elf/tst-tlsmod15b.c: Likewise.
11405 * elf/tst-tlsmod16a.c: Likewise.
11406 * elf/tst-tlsmod16b.c: Likewise.
11407 * elf/tst-tlsmod7.c: Likewise.
11408 * elf/tst-tlsmod8.c: Likewise.
11409 * elf/tst-tlsmod9.c: Likewise.
11410 * gmon/gmon.c: Likewise.
11411 * grp/fgetgrent_r.c: Likewise.
11412 * grp/putgrent.c: Likewise.
11413 * hurd/fopenport.c: Likewise.
11414 * include/libc-symbols.h: Likewise.
11415 * include/tls.h: Likewise.
11416 * intl/gettextP.h: Likewise.
11417 * intl/loadinfo.h: Likewise.
11418 * locale/global-locale.c: Likewise.
11419 * locale/localeinfo.h: Likewise.
11420 * mach/devstream.c: Likewise.
11421 * malloc/arena.c: Likewise.
11422 * malloc/set-freeres.c: Likewise.
11423 * misc/err.c: Likewise.
11424 * misc/getttyent.c: Likewise.
11425 * misc/mntent_r.c: Likewise.
11426 * posix/getopt.c: Likewise.
11427 * posix/wordexp.c: Likewise.
11428 * pwd/fgetpwent_r.c: Likewise.
11429 * resolv/Versions: Likewise.
11430 * resolv/res_hconf.c: Likewise.
11431 * shadow/fgetspent_r.c: Likewise.
11432 * shadow/putspent.c: Likewise.
11433 * stdio-common/printf_fphex.c: Likewise.
11434 * stdio-common/tmpfile.c: Likewise.
11435 * stdlib/abort.c: Likewise.
11436 * stdlib/fmtmsg.c: Likewise.
11437 * sunrpc/auth_unix.c: Likewise.
11438 * sunrpc/clnt_perr.c: Likewise.
11439 * sunrpc/clnt_tcp.c: Likewise.
11440 * sunrpc/clnt_udp.c: Likewise.
11441 * sunrpc/clnt_unix.c: Likewise.
11442 * sunrpc/openchild.c: Likewise.
11443 * sunrpc/svc_simple.c: Likewise.
11444 * sunrpc/svc_tcp.c: Likewise.
11445 * sunrpc/svc_udp.c: Likewise.
11446 * sunrpc/svc_unix.c: Likewise.
11447 * sunrpc/xdr.c: Likewise.
11448 * sunrpc/xdr_array.c: Likewise.
11449 * sunrpc/xdr_rec.c: Likewise.
11450 * sunrpc/xdr_ref.c: Likewise.
11451 * sunrpc/xdr_stdio.c: Likewise.
11453 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11455 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11457 2011-07-03 Andreas Jaeger <aj@suse.de>
11459 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11460 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11461 regenerate with gen-libm-tests.pl.
11463 2010-05-12 Petr Baudis <pasky@suse.cz>
11466 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11467 around j0() zero points by switching to j1().
11468 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11469 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11470 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11471 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11473 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11475 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11477 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11479 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11480 Patch in part by Pavel Roskin <proski@gnu.org>.
11483 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11485 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11486 Free memory block if necessary.
11489 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11490 be NULL. Don't lock in this case.
11492 2011-09-09 Roland McGrath <roland@hack.frob.com>
11494 * elf/elf.h (ELFOSABI_GNU): New macro.
11495 (ELFOSABI_LINUX): Define to that.
11497 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11499 * string/strncat.c (strncat): Undef the symbol in case it has been
11500 defined in bits/string.h.
11502 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11504 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11506 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
11509 2011-08-17 Andreas Jaeger <aj@suse.de>
11511 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11513 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11514 Ian Lance Taylor <iant@google.com>
11516 * math/libm-test.inc (lround_test): New testcase.
11517 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11519 2011-09-08 Ulrich Drepper <drepper@gmail.com>
11521 * Makefile: Remove support for automatic cvs check-ins.
11522 * Makerules: Likewise.
11523 * config.make.in: Likewise.
11524 * configure.in: Likewise.
11525 * intl/Makefile: Likewise.
11526 * locale/Makefile: Likewise.
11527 * po/Makefile: Likewise.
11528 * posix/Makefile: Likewise.
11529 * sysdeps/gnu/Makefile: Likewise.
11530 * sysdeps/mach/hurd/Makefile: Likewise.
11531 * sysdeps/sparc/sparc32/Makefile: Likewise.
11534 * posix/Makefile (bug-regex32-ENV): Define.
11535 Patch by John Stanley <jpsinthemix@verizon.net>.
11537 * misc/Makefile (headers): Add bits/select2.h.
11538 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11539 * misc/bits/select2.h: New file.
11540 * include/bits/select2.h: New file.
11541 * debug/Makefile (routines): Add fdelt_chk.
11542 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11543 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11545 * debug/fdelt_chk.c: New file.
11547 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11548 * wcsmbs/test-wmemcmp.c: Likewise.
11549 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
11550 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
11552 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11554 * string/Makefile (strop-tests): Add memcmp.
11555 * string/test-wmemcmp.c: New file.
11556 * string/test-memcmp.c: Add wmemcmp support.
11558 2011-09-08 Roland McGrath <roland@hack.frob.com>
11561 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11564 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11565 garbage value in a __mach_port_mod_refs call in the cases of the
11566 task-self and thread-self ports.
11568 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11570 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11572 2011-09-08 Andreas Schwab <schwab@redhat.com>
11574 * elf/dl-load.c (lose): Check for non-null L.
11576 2011-09-07 Ulrich Drepper <drepper@gmail.com>
11578 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11580 * elf/dl-libc.c (dlerror_run): Pass back error code from
11584 * elf/dl-load.c (lose): Free l_origin if it is valid.
11586 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11588 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11589 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11590 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11591 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11592 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11593 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11595 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11597 * sysdeps/powerpc/fpu/e_hypot.c: New file.
11598 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11599 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11600 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11601 * sysdeps/powerpc/fpu/k_cosf.c: New file.
11602 * sysdeps/powerpc/fpu/k_sinf.c: New file.
11603 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11604 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11605 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11606 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11608 2011-08-15 Alan Modra <amodra@gmail.com>
11611 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11612 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11613 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11614 ppc_mcount to static-only-routines.
11615 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11617 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11618 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11620 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11622 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11623 for finite and infinity parameters.
11625 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11627 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11628 and add nop instructions for throughput optimization.
11629 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11631 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
11633 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11634 aligned copy for power7 with vector-scalar instructions.
11635 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11637 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
11639 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11642 2011-09-07 Andreas Schwab <schwab@redhat.com>
11645 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
11648 2011-09-07 Ulrich Drepper <drepper@gmail.com>
11650 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11651 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11652 syscall wrapper around clock_gettime in __vdso_clock_gettime.
11653 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
11656 2011-09-06 Ulrich Drepper <drepper@gmail.com>
11658 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
11659 Forgot to demangle the pointer.
11661 * sysdeps/i386/sysdep.h: Define atom_text_section.
11662 * sysdeps/x86_64/sysdep.h: Likewise.
11663 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
11664 section with atom_text_section.
11665 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11666 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11667 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11668 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11669 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
11671 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
11672 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
11673 already be defined. Change to take two parameters and don't assign
11674 result to variable. Adjust all users.
11675 Define INTERNAL_GETTIME if not already defined.
11676 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
11678 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
11679 HAVE_CLOCK_GETTIME_VSYSCALL.
11680 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
11682 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
11683 gettimeofday vsyscall, just use time.
11685 2011-09-06 Andreas Schwab <schwab@redhat.com>
11687 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
11690 2011-09-06 Ulrich Drepper <drepper@gmail.com>
11692 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
11694 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
11696 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11697 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
11698 syscall if possible.
11700 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11702 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
11703 e_ident. Don't pass to find_mapsXX.
11704 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
11706 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11708 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11709 strchr-sse2-no-bsf strrchr-sse2-no-bsf
11710 * sysdeps/x86_64/multiarch/strchr.S: Update.
11711 Check bit_slow_BSF bit.
11712 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11713 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
11714 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
11716 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11719 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
11721 (tryshell): Define.
11722 (__spawni): Change last parameter to be flag. Test
11723 SPAWN_XFLAGS_USE_PATH flag to use path or not.
11724 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
11725 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
11726 * posix/spawni.c: Likewise.
11727 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
11728 * posix/spawnp.c: Likewise. Change normal version to use
11729 SPAWN_XFLAGS_USE_PATH.
11730 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
11731 SPAWN_XFLAGS_TRY_SHELL.
11734 * posix/glob.h: Remove gcc 1.x support.
11737 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
11739 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11741 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11742 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
11744 * sysdeps/i386/i686/multiarch/strchr.S: New file.
11745 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
11746 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
11747 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
11748 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
11749 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
11751 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11753 * sysdeps/x86_64/wcscmp.S: New file.
11755 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
11756 wcscmp-c wcscmp-sse2
11757 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
11758 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
11759 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
11760 * wcsmbs/wcscmp.c: Allow renaming.
11762 2011-09-05 David S. Miller <davem@davemloft.net>
11764 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
11765 stack slot, rather than the struct return pointer slot.
11766 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
11767 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
11768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
11769 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
11771 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11773 * po/ja.po: Update from translation team.
11776 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
11777 kernel in 64-bit binaries.
11779 2011-09-01 David S. Miller <davem@davemloft.net>
11781 * elf/elf.h (HWCAP_SPARC_*): Move to..
11782 * sysdeps/sparc/sysdep.h: this new file and add new values.
11783 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
11784 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
11785 _DL_HWCAP_COUNT to 24.
11786 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11788 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
11789 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
11790 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
11791 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
11792 instead of magic constants.
11793 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11795 2011-08-31 David S. Miller <davem@davemloft.net>
11797 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
11798 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
11799 Reimplement to do errno handling inline.
11800 (SYSCALL_ERROR_HANDLER): New macro.
11801 (__SYSCALL_STRING): Do not do errno handling in asm.
11802 (__CLONE_SYSCALL_STRING): Delete.
11803 (__INTERNAL_SYSCALL_STRING): Delete.
11804 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
11805 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
11806 (PSEUDO): Reimplement to do errno handling inline.
11807 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
11808 (SYSCALL_ERROR_HANDLER): New macro.
11809 (__SYSCALL_STRING): Do not do errno handling in asm.
11810 (__CLONE_SYSCALL_STRING): Delete.
11811 (__INTERNAL_SYSCALL_STRING): Delete.
11812 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
11813 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
11815 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
11816 (inline_syscall*): Add 'err' argument.
11817 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
11818 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
11819 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
11820 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
11822 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
11823 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11825 2011-08-30 Andreas Schwab <schwab@redhat.com>
11827 * elf/rtld.c (dl_main): Relocate objects in dependency order.
11829 2011-08-29 Jiri Olsa <jolsa@redhat.com>
11831 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
11834 2011-08-24 David S. Miller <davem@davemloft.net>
11836 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
11838 2011-08-24 Andreas Schwab <schwab@redhat.com>
11840 * elf/Makefile: Add rules to build and run unload8 test.
11841 * elf/unload8.c: New file.
11842 * elf/unload8mod1.c: New file.
11843 * elf/unload8mod1x.c: New file.
11844 * elf/unload8mod2.c: New file.
11845 * elf/unload8mod3.c: New file.
11847 * elf/dl-close.c (_dl_close_worker): Reset private search list if
11850 2011-08-23 David S. Miller <davem@davemloft.net>
11852 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
11853 subtract stack bias.
11854 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
11855 %sp not %fp in calculations.
11856 (_JMPBUF_UNWINDS_ADJ): Likewise.
11858 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
11859 (aio_suspend): Call it to force an exception region around the
11860 AIO_MISC_WAIT() invocation.
11862 2011-08-23 Andreas Schwab <schwab@redhat.com>
11864 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
11867 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
11869 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
11871 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
11872 and <dl-machine.h>.
11873 (Elf64_FuncDesc): Remove.
11875 2011-08-22 David S. Miller <davem@davemloft.net>
11877 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
11878 sigaltstack check, add missing cfi directives.
11879 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
11880 missing cfi directives, and sigaltstack handling.
11882 2011-08-16 Andreas Schwab <schwab@redhat.com>
11885 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11886 object is seen twice.
11887 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11889 * elf/Makefile (distribute): Add tst-initorder2.c.
11890 (tests): Add tst-initorder2.
11891 (modules-names): Add tst-initorder2a tst-initorder2b
11892 tst-initorder2c tst-initorder2d. Add rules to build them.
11893 ($(objpfx)tst-initorder2.out): New rule.
11894 * elf/tst-initorder2.c: New file.
11895 * elf/tst-initorder2.exp: New file.
11897 2011-08-22 Andreas Schwab <schwab@redhat.com>
11899 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11901 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11902 dependencies back to end of function.
11904 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11905 $(elfobjdir)/ld.so.
11907 2011-08-21 Ulrich Drepper <drepper@gmail.com>
11909 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11910 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11911 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11912 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11913 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11914 of __vdso_gettimeofday.
11915 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11916 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11918 (_libc_vdso_platform_setup): Remove initialization of
11919 __vdso_gettimeofday and __vdso_time.
11921 2011-08-20 Ulrich Drepper <drepper@gmail.com>
11923 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11924 and fgetc_unlocked.
11925 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11928 * elf/dl-open.c (add_to_global): Report additions to the global scope
11929 for LD_DEBUG=scopes.
11930 (dl_open_worker): Also print scope of newly loaded dependencies.
11931 (_dl_show_scope): Indicate if there is no scope.
11934 * stdio-common/Makefile (tests): Add bug24.
11935 * stdio-common/bug24.c: New file.
11937 2011-08-19 Andreas Jaeger <aj@suse.de>
11940 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11941 non-existant file when using close-on-exec mode.
11943 2011-08-20 Ulrich Drepper <drepper@gmail.com>
11945 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11946 the very first instruction.
11948 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11949 the CFI state in the end.
11950 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11951 inclusion of dl-trampoline.h.
11952 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11954 2011-08-19 Andreas Schwab <schwab@redhat.com>
11956 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11957 expectations for long double.
11959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11960 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11962 2011-08-14 David S. Miller <davem@davemloft.net>
11964 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11965 artificual limit depends upon the system page size.
11967 2011-08-17 Ulrich Drepper <drepper@gmail.com>
11969 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11970 * resolv/Makefile: Define CFLAGS-libresolv.
11972 2011-08-17 Andreas Schwab <schwab@redhat.com>
11974 * nss/makedb.c (compute_tables): Make variables used in nested
11977 2011-08-17 Ulrich Drepper <drepper@gmail.com>
11979 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
11980 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
11981 if buffer was too small.
11983 * elf/pldd.c (main): Attach to all threads in the process.
11984 Rewrite /proc handling to use *at functions.
11986 2011-08-16 Ulrich Drepper <drepper@gmail.com>
11988 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
11989 specifies first scope to show.
11990 (dl_open_worker): Update callers. Move printing scope of new
11991 object to before the relocation.
11992 * elf/rtld.c (dl_main): Update _dl_show_scope call.
11993 * sysdeps/generic/ldsodefs.h: Update declaration.
11995 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
11996 string for the scope number.
11998 2011-08-14 Ulrich Drepper <drepper@gmail.com>
12000 * nscd/servicescache.c (cache_addserv): Make sure written is always
12003 2011-08-14 Roland McGrath <roland@hack.frob.com>
12005 * sysdeps/i386/i486/bits/atomic.h
12006 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12007 statement expression, so as to suppress "set but not used" warning.
12008 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12010 * string/strncat.c (STRNCAT): Use prototype definition.
12012 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12013 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12015 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12016 (localedef-modules): Add localedef.
12017 (locale-modules): Add locale.
12019 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12020 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12021 to avoid a warning.
12023 2011-08-14 David S. Miller <davem@davemloft.net>
12025 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12026 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12028 2011-08-13 Ulrich Drepper <drepper@gmail.com>
12030 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
12031 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12032 * elf/rtld.c (dl_main): Set l_name of vDSO.
12033 Call _dl_show_scope when DL_DEBUG_SCOPES.
12034 (process_dl_debug): Recognize scopes flag and also set it for all.
12035 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12036 Declare _dl_show_scope.
12038 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12039 (do_dlopen): Pass caller_dlopen to dl_open.
12040 (__libc_dlopen_mode): Initialize caller_dlopen.
12042 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12043 of libc. Make tolower call locale-independent. Optimize a bit by
12044 using isdigit instead of isalnum.
12045 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12047 2011-08-12 Ulrich Drepper <drepper@gmail.com>
12049 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12050 was a dependency or dynamically loaded.
12052 2011-08-11 Ulrich Drepper <drepper@gmail.com>
12054 * intl/l10nflist.c: Allow architecture-specific pop function.
12055 * sysdeps/x86_64/l10nflist.c: New file.
12057 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12060 2011-08-10 Andreas Schwab <schwab@redhat.com>
12062 * include/dirent.h: Add libc_hidden_proto for scandirat and
12063 scandirat64. Don't declare __scandirat64.
12064 * dirent/scandirat.c: Add libc_hidden_def.
12065 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12066 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12068 2011-08-10 David S. Miller <davem@davemloft.net>
12070 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12072 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12073 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12074 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12076 2011-08-09 Ulrich Drepper <drepper@gmail.com>
12078 * Versions.def [libc]: Add GLIBC_2.15.
12079 * dirent/Makefile (routines): Add scandirat and scandirat64.
12080 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12082 * dirent/dirent.h: Declare scandirat and scandirat64.
12083 * dirent/scandirat.c: New file.
12084 * dirent/scandirat64.c: New file.
12085 * sysdeps/wordsize-64/scandirat.c: New file.
12086 * sysdeps/wordsize-64/scandirat64.c: New file.
12087 * dirent/opendir.c: Define opendirat.
12088 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12090 * dirent/scandir64.c: Adjust for scandir.c change.
12091 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12092 __scandirat64, and __scandir_cancel_handler.
12093 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12094 additional parameter and use openat instead of open (outside of ld.so).
12095 Add new __opendir as wrapper around __opendirat.
12096 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12097 here without requiring old scandirat implementation.
12099 2011-08-08 Ulrich Drepper <drepper@gmail.com>
12101 * dirent/scandir.c (cancel_handler): Renamed to
12102 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12103 defined. Adjust users.
12104 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12105 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12107 2011-08-04 Ulrich Drepper <drepper@gmail.com>
12109 * string/test-string.h (IMPL): Use __STRING to expand name and then
12112 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12115 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12117 * string/Makefile: Update.
12118 (strop-tests): Append strncat.
12119 * string/test-wcscmp.c: New file.
12120 New comprehensive test for wcscmp.
12121 * string/test-strcmp.c: Update.
12122 (WIDE): New define.
12124 2011-07-22 Andreas Schwab <schwab@redhat.com>
12126 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12129 2011-07-26 Andreas Schwab <schwab@redhat.com>
12131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12132 encoding to ACE if AI_IDN.
12134 2011-08-01 Jakub Jelinek <jakub@redhat.com>
12136 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12137 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12139 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12141 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12142 Fix overflow bug in strncat.
12143 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12145 * string/test-strncat.c: Update.
12146 Add new tests for checking overflow bugs.
12148 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12150 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12151 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12152 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12153 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12154 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12155 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12156 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12157 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12158 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12160 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12161 (USE_AS_STRCAT): Define.
12162 Add strcat and strncat support.
12163 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12165 2011-07-25 Andreas Schwab <schwab@redhat.com>
12167 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12168 __n bigger than INT_MAX+1.
12169 (__strncmp_g): Likewise.
12171 2011-07-23 Ulrich Drepper <drepper@gmail.com>
12173 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12174 * libio/stido.h: Likewise.
12176 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12178 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12181 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12182 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12183 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12184 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12185 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12188 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12191 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12193 (_dl_x86_64_save_sse): Likewise.
12195 2011-07-22 Ulrich Drepper <drepper@gmail.com>
12197 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12199 (_dl_x86_64_save_sse): Likewise.
12201 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12203 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12205 2011-07-21 Andreas Schwab <schwab@redhat.com>
12207 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12209 (_dl_x86_64_save_sse): Use correct AVX check.
12211 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12213 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12214 bug in strncpy/strncat.
12215 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12217 2011-07-21 Ulrich Drepper <drepper@gmail.com>
12219 * string/tester.c (test_strcat): Add tests for different alignments
12220 of source and destination.
12221 (test_strncat): Likewise.
12223 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12226 * posix/glob.c (glob): Check passed in values before using them in
12227 expressions to avoid some overflows.
12228 (glob_in_dir): Likewise.
12231 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12232 check for AVX enablement so that we don't crash with old kernels and
12234 * elf/tst-audit4.c: Add same checks here.
12235 * elf/tst-audit6.c: Likewise.
12237 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
12239 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12241 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12243 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12245 * po/cs.po: Update from translation team.
12246 * po/bg.po: Likewise.
12248 2011-07-12 Marek Polacek <mpolacek@redhat.com>
12250 * misc/sys/cdefs.h: Add support for const attribute.
12251 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12252 to gnu_dev_{major,minor,makedev} functions.
12254 2011-07-20 Marek Polacek <mpolacek@redhat.com>
12256 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12258 2011-07-20 Andreas Schwab <schwab@redhat.com>
12260 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12263 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12265 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12266 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12267 register in order to avoid conflicts with the soft frame pointer
12268 being held in r11 when necessary.
12269 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12270 (INTERNAL_VSYSCALL_NCS): Likewise.
12272 2011-07-14 Marek Polacek <mpolacek@redhat.com>
12274 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12275 * elf/dl-fini.c (_dl_fini): Adjust caller.
12276 * elf/dl-close.c (_dl_close_worker): Likewise.
12277 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12279 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12281 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12282 "aux_cache->nlibs < 0".
12284 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12285 in the reload-count case.
12287 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12289 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12290 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12291 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12292 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12293 * sysdeps/x86_64/multiarch/strcat.S: New file.
12294 * sysdeps/x86_64/multiarch/strncat.S: New file.
12295 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12296 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12297 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12298 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12299 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12300 (USE_AS_STRCAT): Define.
12301 Add strcat and strncat support.
12302 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12303 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12304 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12305 * string/strncat.c: Update.
12306 (USE_AS_STRNCAT): Define.
12307 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12308 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12310 * sysdeps/x86_64/multiarch/init-arch.h
12311 (bit_Prefer_PMINUB_for_stringop): New.
12312 (index_Prefer_PMINUB_for_stringop): Likewise.
12313 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12314 bit_Prefer_PMINUB_for_stringop.
12316 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12318 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12320 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12321 of casting of buffer.
12322 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12323 buffer32 and buffer64.
12324 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12325 writes instead of casting of buffer.
12326 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12328 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12331 2011-07-19 Andreas Schwab <schwab@redhat.com>
12333 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12335 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12337 * nscd/nscd.c (termination_handler): Don't do anything for a database
12338 if it has not yet been initialized.
12340 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12342 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12344 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12346 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12348 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12350 * po/nl.po: Update from translation team.
12351 * po/sv.po: Likewise.
12353 2011-07-16 Roland McGrath <roland@hack.frob.com>
12355 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12356 now disallowed by GCC.
12358 * configure.in (use-default-link): Default to yes if a test -shared
12359 link meets our qualifications.
12360 * configure: Regenerated.
12362 * config.make.in (output-format): New variable.
12363 * configure.in: Check for ld --print-output-format support.
12364 * configure: Regenerated.
12365 * Makerules ($(common-objpfx)format.lds)
12366 [$(output-format) != unknown]: Just use $(output-format),
12367 instead of the linker-script munging.
12369 2011-07-14 Roland McGrath <roland@hack.frob.com>
12371 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12372 of $(common-objpfx)shlib.lds.
12373 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12375 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12376 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12378 * configure.in (-z relro check): Adjust test code to add a large
12379 writable data section after it.
12380 * configure: Regenerated.
12382 2011-07-11 Roland McGrath <roland@hack.frob.com>
12384 * configure.in (-z relro check): Fix test code to make the variable
12386 * configure: Regenerated.
12388 2011-07-11 Ulrich Drepper <drepper@gmail.com>
12390 * nscd/nscd.h (struct traced_file): Define.
12391 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12392 elements. Add traced_files.
12393 (inotify_fd): Declare.
12394 (register_traced_file): Declare.
12395 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12396 (inotify_fd): Export.
12397 (resolv_conf_descr): Remove.
12398 (nscd_init): Move inotify descriptor creation to main.
12399 Don't register files for notification here.
12400 (register_traced_file): New function.
12401 (invalidate_cache): Don't use reset_res to determine whether to call
12402 res_init, go through the list of registered files.
12403 (main_loop_poll): The inotify descriptors are now stored in the
12404 structures for the traced files.
12405 (main_loop_epoll): Likewise
12406 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12407 to __nss_disable_nscd.
12408 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12409 for a database anymore. Check the records for all the registered
12411 * nss/Makefile (libnss_files-routines): Add files-init.
12412 (libnss_db-routines): Add db-init.
12413 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12414 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12415 * nss/nss_db/db-init.c: New file.
12416 * nss/nss_files/files-init.c: New file.
12417 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12418 __nss_lookup_function.
12419 (__nss_lookup_function): Call nss_load_library.
12420 (nss_load_all_libraries): New function.
12421 (__nss_disable_nscd): Take parameter with callback function for files
12422 to register. Set is_nscd. Load all the DSOs for the NSS modules
12423 used for the cached services.
12424 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12425 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12426 options for features to all the files in nscd.
12428 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12430 2011-07-10 Roland McGrath <roland@hack.frob.com>
12432 * csu/elf-init.c (__libc_csu_init): Comment typo.
12434 2011-07-09 Ulrich Drepper <drepper@gmail.com>
12436 * po/pl.po: Update from translation team.
12437 * po/ja.po: Likewise.
12438 * po/ru.po: Likewise.
12439 * po/ko.po: Likewise.
12440 * po/fr.po: Likewise.
12442 2011-07-09 Roland McGrath <roland@hack.frob.com>
12444 * configure.in (.ctors/.dtors header and trailer check):
12445 Use an empirical test on a built program.
12446 * configure: Regenerated.
12448 * configure.in (-z relro check): Use an empirical test on a built DSO.
12449 Detect, but do not require, on ia64.
12450 * configure: Regenerated.
12452 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12453 Update tests that use readelf to use $READELF instead.
12454 * configure: Regenerated.
12456 2011-07-08 Ulrich Drepper <drepper@gmail.com>
12458 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12459 if the result is not used.
12461 2011-07-05 Andreas Jaeger <aj@suse.de>
12464 * stdlib/tst-strtod.c: Add testcase.
12466 2011-07-07 Ulrich Drepper <drepper@gmail.com>
12468 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
12469 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
12470 The latter has a higher limit. Take additional parameter to pass to
12472 (__pathconf): Pass file to __statfs_link_max.
12473 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12475 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12479 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12480 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12482 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12483 (__statfs_filesize_max): Likewise.
12484 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12486 2011-07-05 Andreas Jaeger <aj@suse.de>
12488 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12490 2011-07-06 Marek Polacek <mpolacek@redhat.com>
12492 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12494 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12497 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12499 * Makefile (strop-tests): Add strncat.
12500 * string/test-strncat.c: New file.
12502 2011-06-30 Marek Polacek <mpolacek@redhat.com>
12504 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12506 2011-06-21 Andreas Jaeger <aj@suse.de>
12508 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12509 Copy rule from iconvdata/Makefile.
12511 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12514 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12515 but no long options are defined, just return 'W'.
12517 2011-06-22 Marek Polacek <mpolacek@redhat.com>
12520 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12522 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12524 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12526 (innetgr): Likewise.
12528 2011-07-05 Roland McGrath <roland@hack.frob.com>
12530 * config.make.in (install_root): Default to $(DESTDIR).
12532 2011-07-05 Ulrich Drepper <drepper@gmail.com>
12534 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12536 2011-07-02 Roland McGrath <roland@hack.frob.com>
12538 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12540 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12541 containing directory rather than embedding absolute directory names.
12543 * scripts/check-local-headers.sh: Rewritten using awk.
12544 Match by word, not by line. Print error messages for matches.
12545 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12547 * Makerules [shlib-lds-flags empty]:
12548 ($(common-objpfx)libc_pic.opts): New target.
12549 ($(common-objpfx)libc_pic.os.clean): New target.
12550 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12552 * config.make.in (OBJCOPY): New variable.
12553 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12554 * configure: Regenerated.
12556 * config.make.in (use-default-link): New variable.
12557 * configure.in (use_default_link): Grok --with-default-link to set it.
12558 * configure: Regenerated.
12559 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12560 (shlib-lds, shlib-lds-flags): Define to empty.
12562 * Makerules (shlib-lds): New variable.
12563 (shlib-lds-flags): New variable.
12564 (build-shlib, build-moduile, build-module-asneeded): Use it.
12565 ($(common-objpfx)libc.so): Use $(shlib-lds).
12566 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12567 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12569 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12570 DT_FLAGS/DT_FLAGS_1 with zero flags.
12572 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12573 linker script munging.
12575 2011-07-02 Ulrich Drepper <drepper@gmail.com>
12577 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12579 * crypt/sha512.c (sha512_process_block): Perform total addition using
12580 128-bit if possible.
12581 (__sha512_finish_ctx): Likewise.
12582 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12584 * crypt/sha256.c (SWAP64): Define.
12585 (sha256_process_block): Perform total addition using 64-bit if
12587 (__sha256_finish_ctx): Likewise.
12589 2011-07-01 Ulrich Drepper <drepper@gmail.com>
12591 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
12592 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12593 * nscd/hstcache.c (cache_addhst): Likewise.
12594 * nscd/grpcache.c (cache_addgr): Likewise.
12595 * nscd/aicache.c (addhstaiX): Likewise
12596 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12598 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
12600 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12601 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12602 * nscd/hstcache.c (cache_addhst): Likewise.
12603 * nscd/grpcache.c (cache_addgr): Likewise.
12604 * nscd/aicache.c (addhstaiX): Likewise
12606 2011-07-01 Andreas Schwab <schwab@redhat.com>
12608 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12609 domain only when needed.
12611 2011-06-30 Andreas Schwab <schwab@redhat.com>
12613 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12614 is always restored.
12616 2011-06-29 Ulrich Drepper <drepper@gmail.com>
12618 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12619 are re-adding the entry.
12620 * nscd/servicescache.c (cache_addserv): Likewise.
12622 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12624 * sysdeps/generic/dl-irel.h: fix protection against multiple
12626 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12628 2011-06-28 Ulrich Drepper <drepper@gmail.com>
12631 * malloc/memusage.sh: Fix quoting in message.
12632 * debug/xtrace.sh: Likewise.
12634 * configure.in: Remove support for --experimental-malloc option, make
12636 * config.make.in: Likewise.
12637 * malloc/Makefile: Likewise.
12639 2011-06-27 Andreas Schwab <schwab@redhat.com>
12641 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12642 two-byte characters.
12644 2011-06-27 Roland McGrath <roland@hack.frob.com>
12646 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
12647 AC_CACHE_CHECK invocation.
12648 * configure: Regenerated.
12650 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
12652 2011-06-27 Ulrich Drepper <drepper@gmail.com>
12655 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
12656 bit from old_res_options.
12658 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
12660 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
12661 value type for setfct.
12663 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
12665 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12666 __gettimeofday instead of gettimeofday.
12668 2011-06-26 Ulrich Drepper <drepper@gmail.com>
12670 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
12672 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
12674 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
12676 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
12679 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12681 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12682 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12683 strcpy-sse2-unaligned strncpy-sse2-unaligned
12684 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
12685 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
12686 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
12687 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
12688 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
12689 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
12690 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
12691 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
12692 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
12693 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
12694 (STRCPY): Support SSE2 and SSSE3 versions.
12696 2011-06-24 Ulrich Drepper <drepper@gmail.com>
12699 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
12700 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
12701 kernels which artificially limit size of requests.
12703 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12705 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12706 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12707 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
12708 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
12709 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
12710 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
12711 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
12712 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
12713 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
12714 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
12715 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
12716 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
12717 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
12718 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
12719 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
12720 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12721 Enable unaligned load optimization for Intel Core i3, i5 and i7
12723 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
12725 (index_Fast_Unaligned_Load): Define.
12726 (HAS_FAST_UNALIGNED_LOAD): Define.
12728 2011-06-23 Marek Polacek <mpolacek@redhat.com>
12730 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
12732 2011-06-22 Ulrich Drepper <drepper@gmail.com>
12735 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
12736 until it is clear that the information is realy needed.
12737 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
12739 2011-06-22 Andreas Schwab <schwab@redhat.com>
12741 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
12743 2011-06-22 Ulrich Drepper <drepper@gmail.com>
12745 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12746 /sys/devices/system/cpu/online if it is usable.
12748 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
12749 reading the information from the /proc filesystem to once a second.
12751 2011-06-21 Andreas Jaeger <aj@suse.de>
12753 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
12754 NULL after inclusion of kernel headers.
12756 2011-06-21 Ulrich Drepper <drepper@gmail.com>
12758 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
12759 calls to internal_setent.
12762 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
12763 addresses using gethostbyname4_r ignore IPv4 addresses.
12765 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
12766 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
12768 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
12770 2011-06-20 David S. Miller <davem@davemloft.net>
12772 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
12774 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
12776 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
12777 (elf_irel): Use it.
12778 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
12779 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
12780 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
12781 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
12782 * sysdeps/x86_64/dl-irel.h: Likewise.
12784 * elf/dl-runtime.c: Use elf_ifunc_invoke.
12785 * elf/dl-sym.c: Likewise.
12787 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12789 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
12790 need to dereference resplen2.
12792 2011-06-14 Andreas Schwab <schwab@redhat.com>
12794 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
12796 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12798 * Makeconfig: Define vardbdir and inst_vardbdir.
12799 * nss/Makefile: Add rules to install db-Makefile.
12801 * nss/nss_db/db-XXX.c: Cleanup.
12803 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
12804 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
12806 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
12807 * nss/makedb.c: Implement -g option to specify that value strings
12808 are generated and should not be added to table iterated over for
12810 * nss/nss_db/db-initgroups.c: New file.
12812 * nss/getent.c: Add support for initgroups lookups through getgrouplist
12815 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
12816 (internal_getgrouplist): Adjust to name change.
12817 Update use_initgroups_entry if this is not the first call.
12818 * nss/databases.def: Add initgroups entry.
12820 * nss/makedb.c (compute_tables): Check result of multiple hash table
12821 sizes to minimize maximum chain length.
12823 2011-06-14 Ulrich Drepper <drepper@gmail.com>
12825 * Versions.def: Add entry for libnss_db.
12826 * shlib-versions: Likewise.
12827 * nss/Makefile: Add rules to build libnss_db.
12828 * nss/Versions: Add libnss_db information. Organize libnss_files
12830 * nss/db-Makefile: Add gshadow support. Change rules for the new
12831 makedb progra. Some minor improvements to generate smaller files.
12832 * nss/nss_db/nss_db.h: Move NSS database header data structures to
12834 * nss/makedb.c: ...here.
12835 Improve database format to be smaller and require less memory at
12837 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
12839 * nss/nss_db/db-netgrp.c: Likewise.
12840 * nss/nss_db/db-open.c: Likewise.
12841 * nss/nss_files/flies-XXX.x: Adjust comments.
12842 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
12843 * nss/nss_files/files-grp.c: Likewise.
12844 * nss/nss_files/files-hosts.c: Likewise.
12845 * nss/nss_files/files-network.c: Likewise.
12846 * nss/nss_files/files-proto.c: Likewise.
12847 * nss/nss_files/files-pwd.c: Likewise.
12848 * nss/nss_files/files-rpc.c: Likewise.
12849 * nss/nss_files/files-service.c: Likewise.
12850 * nss/nss_files/files-sgrp.c: Likewise.
12851 * nss/nss_files/files-spwd.c: Likewise.
12852 * nss/nss_db/db-alias.c: Removed.
12853 * nss/nss_db/dummy-db.h: Removed.
12855 2011-06-02 Ulrich Drepper <drepper@gmail.com>
12857 * nss/makedb.c: Rewritten to not use database library.
12858 * nss/Makefile: Update to build new makedb program.
12860 2011-06-14 Andreas Jaeger <aj@suse.de>
12862 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
12863 memset declaration.
12865 2011-06-10 Andreas Schwab <schwab@redhat.com>
12867 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
12870 2011-06-10 Roland McGrath <roland@hack.frob.com>
12872 * Makerules (shlib.lds): Fail if the linker script comes out empty.
12873 * elf/Makefile ($(objpfx)ld.so): Likewise.
12875 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
12876 Don't list ld.so twice in dependencies.
12878 * posix/bug-regex31.c: Include <stdlib.h>.
12880 * nscd/hstcache.c (cache_addhst): Remove unused variable.
12882 * nis/nss_compat/compat-spwd.c
12883 (getspent_next_nss_netgr): Remove unused variable.
12884 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12886 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12887 nonmembers" output to use the right array.
12889 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12891 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12893 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12894 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12895 * catgets/gencat.c (read_input_file): Likewise.
12896 * locale/programs/locarchive.c (enlarge_archive): Likewise.
12898 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12899 variable definition inside #if's controlling its use.
12901 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12903 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12905 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12907 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12910 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12912 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12913 * configure: Regenerated.
12915 * Makerules: Revert last change.
12916 * elf/Makefile: Likewise.
12918 2011-06-09 Roland McGrath <roland@hack.frob.com>
12920 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12921 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12922 (reloc-link): Likewise.
12924 2011-06-09 Ulrich Drepper <drepper@gmail.com>
12926 * elf/Makefile: Add rules to build pldd.
12927 * elf/pldd.c: New file.
12928 * elf/pldd-xx.c: New file.
12930 2011-06-07 Ulrich Drepper <drepper@gmail.com>
12932 * version.h: Update for 2.15 development version.
12934 2011-06-07 David S. Miller <davem@davemloft.net>
12936 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12938 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12939 elf_machine_lazy_rel): Likewise.
12940 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12941 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12942 elf_machine_lazy_rel): Likewise.
12943 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12944 dl_hwcap via passed in argument.
12945 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12948 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12950 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
12952 2011-06-06 Roland McGrath <roland@hack.frob.com>
12955 * manual/fdl-1.1.texi: New file, verbatim from:
12956 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12957 * manual/lgpl-2.1.texi: New file, verbatim from:
12958 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12959 * manual/Makefile (licenses): New variable, list those new file names.
12961 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12963 * manual/fdl.texi: File removed.
12964 * manual/lesser.texi: File removed.
12965 * manual/libc.texinfo (Copying, Documentation License):
12966 Use new @include file names, put @appendix directive before @include.
12968 2011-06-04 Jakub Jelinek <jakub@redhat.com>
12971 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12972 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12973 (mq_open): Add __NTH.
12975 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
12977 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12978 Assume Intel Core i3/i5/i7 processor if AVX is available.
12980 2011-05-31 Ulrich Drepper <drepper@gmail.com>
12982 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12985 2011-05-31 Andreas Schwab <schwab@redhat.com>
12987 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
12988 memory. Use alloca_account. Fix memory leak when retrying.
12990 2011-05-31 Ulrich Drepper <drepper@gmail.com>
12992 * version.h (RELEASE): Bump for 2.14 release.
12993 * include/features.h (__GLIBC_MINOR__): Bump to 14.
12995 * config.make.in (RANLIB): Remove entry.
12997 2011-05-30 Ulrich Drepper <drepper@gmail.com>
12999 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13000 (libc.pot): Work around missing support for .ksh extension in xgettext.
13003 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13004 if both request failed.
13005 (send_dg): In case of server errors clear resplen or *resplen2.
13008 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13009 when there are multiple maps.
13010 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13011 (_dl_fini): Remove test here.
13013 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13015 2011-05-29 Ulrich Drepper <drepper@gmail.com>
13018 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13019 bit from old_res_options.
13020 (gaih_inet): Likewise.
13023 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
13026 * resolv/res_init.c (res_setoptions): Make the code more compact.
13029 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13033 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13035 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13038 * malloc/malloc.h: Declare malloc hook variables as volatile.
13040 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13044 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
13045 raise in the comment.
13046 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13047 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13048 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
13050 2011-05-28 Ulrich Drepper <drepper@gmail.com>
13053 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13054 grow the buffers more if it already has to be sufficient.
13055 (build_wcs_upper_buffer): Likewise.
13056 * posix/regexec.c (check_matching): Likewise.
13057 (clean_state_log_if_needed): Likewise.
13058 (extend_buffers): Don't enlarge buffers beyond size of the input
13060 Patches mostly by Emil Wojak <emil@wojak.eu>.
13061 * posix/bug-regex32.c: New file.
13062 * posix/Makefile (tests): Add bug-regex32.
13064 * locale/findlocale.c (_nl_find_locale): Return right away if
13065 _nl_explode_name failed.
13066 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13068 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13070 * debug/xtrace.sh: Unify messages.
13071 * malloc/memusage.sh: Likewise.
13074 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13075 time symbol from vDSO. Substitute with vsyscall if not available.
13076 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13079 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13080 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13081 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13082 Add sendmmsg and internal_sendmmsg.
13083 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13084 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13085 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13087 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13088 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13089 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13091 2011-05-27 Ulrich Drepper <drepper@gmail.com>
13094 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13095 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13097 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13101 * iconvdata/Makefile (tests): Add bug-iconv9.
13102 * iconvdata/bug-iconv9.c: New file.
13104 2011-05-27 Andreas Schwab <schwab@redhat.com>
13107 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13109 2011-05-25 Jakub Jelinek <jakub@redhat.com>
13111 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13112 (struct user_regs_struct): Change intcs field back to cs.
13114 2011-05-25 Ulrich Drepper <drepper@gmail.com>
13116 * po/ja.po: Update from translation team.
13118 2011-05-23 Ulrich Drepper <drepper@gmail.com>
13121 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13122 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13124 2011-05-20 Andreas Schwab <schwab@redhat.com>
13126 * stdlib/longlong.h: Update from GCC.
13128 2011-05-23 Andreas Schwab <schwab@redhat.com>
13130 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13132 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13133 Add parameter name.
13134 (__sysconf): Pass it down.
13136 2011-05-22 Ulrich Drepper <drepper@gmail.com>
13139 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13141 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13142 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13143 add in in __libc_use_alloca calls. Adjust callers.
13144 (glob): Use malloc in some situations.
13146 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13147 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13150 2011-05-21 Ulrich Drepper <drepper@gmail.com>
13152 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13153 and CLOCK_BOOTTIME_ALARM.
13156 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13159 * string/_strerror.c (__strerror_r): Print negative errors as signed
13163 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13164 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13165 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13167 * configure.in: Fix typo in redirection and correct removal of test
13168 files in two cases.
13171 * locale/setlocale.c (new_composite_name): Fix test to check for
13172 identical name of all categories.
13175 * libio/filedoalloc.c (local_isatty): New function.
13176 (_IO_file_doallocate): Use local_isatty.
13177 * stdio-common/perror.c (perror): In case a new stream is used
13178 forward the stream error.
13179 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13182 2011-05-20 Ulrich Drepper <drepper@gmail.com>
13185 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13187 * include/alloca.h (extend_alloca_account): Define.
13190 * posix/regex.h: Fix comments with documentation of user-accessible
13191 fields after compilation and describe correct free'ing of pattern
13192 after re_compile_pattern.
13193 Patch by Reuben Thomas <rrt@sc3d.org>.
13195 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13197 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13198 and -mno-altivec to prevent the compiler from using Altivec and/or
13199 VSX instructions when the corresponding registers are not available.
13201 2011-05-19 Andreas Schwab <schwab@redhat.com>
13203 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13205 2011-05-19 Ulrich Drepper <drepper@gmail.com>
13207 * libio/freopen.c (freopen): Use __dup2, not dup2.
13208 * libio/freopen64.c (freopen64): Likewise.
13210 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13213 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13214 * math/Makefile (tests): Add test-powl.
13215 (CFLAGS-test-powl.c): Define.
13216 * math/test-powl.c: New file.
13218 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13220 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13222 2011-05-17 Ulrich Drepper <drepper@gmail.com>
13225 * iconvdata/gb18030.c: Update to GB18020-2005.
13227 2011-05-16 Ulrich Drepper <drepper@gmail.com>
13229 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13230 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13231 Patch by Aharon Robbins <arnold@skeeve.com>.
13234 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13238 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13239 through underflows.
13242 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13243 point to strings before performing equality test for error_one_per_line
13247 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13250 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13251 (struct user_fpregs_struct): Avoid __uint*_t types.
13254 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13255 symbol info. Use it instead of calling _dl_addr locally.
13256 (lock_and_info): New function.
13257 (tr_freehook): Call lock_and_info and pass symbol info as additional
13258 parameter to tr_where.
13259 (tr_mallochook): Likewise.
13260 (tr_reallochook): Likewise.
13261 (tr_memalignhook): Likewise.
13263 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13264 used and couldn't be at all thread-safe.
13266 2011-05-15 Ulrich Drepper <drepper@gmail.com>
13268 * libio/freopen.c (freopen): Don't close old file descriptor
13269 before the new one is opened. Instead dup the new file descriptor
13270 to the old one after the new stream is created.
13271 * libio/freopen64.c (freopen64): Likewise.
13272 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13273 * libio/fileops.c (_IO_new_file_close_it): Handle new
13274 _IO_FLAGS2_NOCLOSE flag.
13275 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13276 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13277 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13278 _IO_FLAGS2_NOCLOSE flag.
13279 * include/unistd.h: Add hidden_proto for dup3.
13280 Define __have_dup3.
13281 * io/dup3.c: Define hidden symbol.
13282 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13285 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13286 when an incomplete long option is used.
13287 * posix/tst-getopt_long1.c: New file.
13288 * posix/Makefile (tests): Add tst-getopt_long1.
13291 * scripts/config.guess: Update from autoconf-2.68.
13292 * scripts/config.sub: Likewise.
13295 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13297 (has_cpuclock): ...this. New function.
13298 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13299 macro here based on has_cpuclock code.
13302 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13303 First byte (not low byte) is now always NUL.
13304 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13306 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13307 Use non-cancelable interfaces.
13310 * locale/iso-639.def: Add entry for Sorani.
13313 * include/stdlib.h: Move include protection to the right place.
13314 Define abort_msg_s. Declare __abort_msg with it.
13315 * stdlib/abort.c (__abort_msg): Adjust type.
13316 * assert/assert.c (__assert_fail_base): New function. Majority
13317 of code from __assert_fail. Allocate memory for __abort_msg with
13319 (__assert_fail): Now call __assert_fail_base.
13320 * assert/assert-perr.c: Remove bulk of implementation. Use
13321 __assert_fail_base.
13322 * include/assert.hL Declare __assert_fail_base.
13323 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13325 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13327 2011-05-14 Ulrich Drepper <drepper@gmail.com>
13331 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13332 until all modules are registered in the DTV.
13333 * elf/Makefile: Add rules to build and run tst-tls19.
13334 * elf/tst-tls19.c: New file.
13335 * elf/tst-tls19mod1.c: New file.
13336 * elf/tst-tls19mod2.c: New file.
13337 * elf/tst-tls19mod3.c: New file.
13338 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13341 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13345 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13346 two-byte sequence errors.
13347 * iconvdata/Makefile (tests): Add bug-iconv8.
13348 * iconvdata/bug-iconv8.c: New file.
13351 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13354 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13357 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13358 (dummy_getcfa): New function.
13359 (init): Get _Unwind_GetCFA address, use dummy if not found.
13360 (backtrace_helper): In recursion check, also check whether CFA changes.
13361 (__backtrace): Completely initialize arg.
13363 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
13364 storing incomplete byte sequence in state object. Avoid testing for
13365 guaranteed too small input if we know there is enough data available.
13367 2011-05-11 Andreas Schwab <schwab@redhat.com>
13369 * Makeconfig (+link-pie): Indent.
13370 * Rules (binaries-pie): Define if $(have-fpie) and
13372 (binaries-shared): Also filter out $(binaries-pie).
13373 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13374 * nscd/Makefile (others-pie): Add nscd.
13375 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13376 ($(objpfx)nscd): Remove command override.
13377 * login/Makefile (others-pie): Add pt_chown.
13378 ($(objpfx)pt_chown): Remove command override.
13379 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13380 remove command overrides.
13382 2011-05-13 Ulrich Drepper <drepper@gmail.com>
13384 * libio/tst_putwc.c: Fix error messages.
13387 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13388 currently writing and seek to current position when not.
13389 * libio/Makefile (tests): Add bug-fclose1.
13390 * libio/bug-fclose1.c: New file.
13392 2011-05-12 Ulrich Drepper <drepper@gmail.com>
13395 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13396 don't set DF_1_NODELETE here.
13397 (do_lookup_x): When entering new entry test for copy relocation
13398 and if necessary set DF_1_NODELETE flag.
13399 * elf/tst-unique4.cc: New file.
13400 * elf/tst-unique4.h: New file.
13401 * elf/tst-unique4lib.cc: New file.
13402 * elf/Makefile: Add rules to build and run tst-unique4.
13403 Patch by Piotr Bury <pbury@goahead.com>.
13405 2011-05-11 Ulrich Drepper <drepper@gmail.com>
13408 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13411 * misc/mntent_r.c (addmntent): Flush the stream after the output
13414 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13415 (is_trusted_path_normalize): Skip initial colon. Append slash
13416 to empty buffer. Duplicate is_trusted_path code but allow
13417 constructed patch to be prefix.
13418 (is_dst): Allow $ORIGIN followed by /.
13419 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13420 Correct testing of result of is_trusted_path_normalize
13421 (decompose_rpath): Fix warning.
13423 2011-05-10 Ulrich Drepper <drepper@gmail.com>
13426 * grp/initgroups.c (internal_getgrouplist): When we found the service
13427 list through the initgroups entry in nsswitch.conf do not always
13428 continue on a successful lookup. Don't always use the
13429 __nss_group_database value if it is set.
13430 * nss/nsswitch.conf (initgroups): Change action for successful db
13431 lookup to continue for compatibility.
13433 2011-05-09 Ulrich Drepper <drepper@gmail.com>
13436 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13438 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13440 * iconvdata/tst-tables.sh: Likewise.
13441 * iconvdata/cp770.c: New file.
13442 * iconvdata/cp771.c: New file.
13443 * iconvdata/cp772.c: New file.
13444 * iconvdata/cp773.c: New file.
13445 * iconvdata/cp774.c: New file.
13446 * iconvdata/testdata/CP770: New file.
13447 * iconvdata/testdata/CP770..UTF8: New file.
13448 * iconvdata/testdata/CP771: New file.
13449 * iconvdata/testdata/CP771..UTF8: New file.
13450 * iconvdata/testdata/CP772: New file.
13451 * iconvdata/testdata/CP772..UTF8: New file.
13452 * iconvdata/testdata/CP773: New file.
13453 * iconvdata/testdata/CP773..UTF8: New file.
13454 * iconvdata/testdata/CP774: New file.
13455 * iconvdata/testdata/CP774..UTF8: New file.
13457 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13459 * iconvdata/gen-8bit-gap.sh: Likewise.
13460 * iconvdata/gen-8bit.sh: Likewise.
13462 * locale/iso-639.def: Add ary entry.
13465 * locale/C-translit.h.in: Add U20A1 transliteration.
13468 * locale/iso-639.def: Add wae entry.
13469 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13472 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13476 * locale/C-translit.h.in: Add entry for U20B9.
13477 Patch by pravin.d.s@gmail.com.
13479 2011-05-08 Ulrich Drepper <drepper@gmail.com>
13482 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13483 ENAMETOOLONG use generic getcwd.
13484 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13485 in rtld. Use *stat64.
13486 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
13487 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
13488 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
13489 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13490 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13491 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13492 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13493 __fstatat64 macros.
13494 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13495 * dirent/rewinddir.c: Add libc_hidden_def.
13496 * sysdeps/mach/hurd/rewinddir.c: Likewise.
13497 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
13499 * include/dirent.h (__alloc_dir): Add flags parameter.
13500 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13501 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13503 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13504 from fdopendir if O_CLOEXEC is already set.
13506 2011-03-15 Alan Modra <amodra@gmail.com>
13508 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13509 l_tls_firstbyte_offset non-zero. Save padding offset in
13510 l_tls_firstbyte_offset for later use.
13511 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13512 freeing static tls block.
13514 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13516 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13517 where #ifdef was intended. The intent is to prevent ARG_MAX from
13518 being defined by the kernel headers.
13520 2011-05-07 Ulrich Drepper <drepper@gmail.com>
13523 * resolv/resolv.h: Define RES_NOTLDQUERY.
13524 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13525 no-tld-query and set RES_NOTLDQUERY.
13526 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13527 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13528 modern BIND to search name as TLD unless forbidden.
13530 2011-05-07 Petr Baudis <pasky@suse.cz>
13531 Ulrich Drepper <drepper@gmail.com>
13534 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13535 (is_trusted_path): ...to here.
13536 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
13537 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
13538 using is_trusted_path_normalize() in setuid scripts.
13540 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13542 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13543 __BEGIN/__END_DECLS.
13545 2011-05-06 Ulrich Drepper <drepper@gmail.com>
13547 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13548 NSS_STATUS_NOTFOUND if no record was found.
13550 2011-05-05 Andreas Schwab <schwab@redhat.com>
13552 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13553 (headers-not-in-tirpc): Remove rpc/netdb.h
13554 * resolv/netdb.h: Revert last change.
13556 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13558 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13559 circular dependency between libgcc.a and libc.a.
13561 2011-05-05 Andreas Schwab <schwab@redhat.com>
13563 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13564 * nis/Makefile: Don't install rpcsvc/*.
13565 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13566 instead of <rpc/types.h>.
13567 (MAXHOSTNAMELEN): Define.
13569 2011-05-03 Andreas Schwab <schwab@redhat.com>
13571 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13573 2011-04-28 Maciej Babinski <mbabinski@google.com>
13576 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13577 gethostbyname4_r when IPv6 results are possible.
13579 2011-05-02 Ulrich Drepper <drepper@gmail.com>
13582 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13583 _PC_PIPE_BUF handling.
13585 2011-04-30 Bruno Haible <bruno@clisp.org>
13588 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
13589 * resolv/netdb.h (getnameinfo): Change type of flags parameter
13591 * inet/getnameinfo.c (getnameinfo): Likewise.
13593 2011-04-29 Ulrich Drepper <drepper@gmail.com>
13595 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13596 to groups setting in database lookup.
13597 * nss/nsswitch.conf: Add initgroups entry.
13599 2011-04-22 Ulrich Drepper <drepper@gmail.com>
13602 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13604 Patch by Eric Blake <eblake@redhat.com>.
13606 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13608 * sunrpc/Makefile (need-export-routines): Add svc_run.
13609 (routines): Remove svc_run.
13610 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13611 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13612 * sunrpc/svc_run.c (svc_run): Likewise.
13613 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13615 2011-04-21 Ulrich Drepper <drepper@gmail.com>
13617 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13618 problem in reallocation in last patch.
13620 2011-04-20 Ulrich Drepper <drepper@gmail.com>
13622 * sunrpc/Makefile: Move inclusion of Rules.
13624 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13626 * nss/nss_files/files-initgroups.c: New file.
13627 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13628 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13629 _nss_files_initgroups_dyn.
13631 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
13633 * elf/elf.h (R_ARM_IRELATIVE): Define.
13635 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13637 * po/ru.po: Update from translation team.
13639 2011-04-17 Ulrich Drepper <drepper@gmail.com>
13641 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
13644 2011-02-06 Mike Frysinger <vapier@gentoo.org>
13647 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
13648 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
13649 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13650 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13651 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13653 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
13655 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
13657 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13658 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13659 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13661 2011-04-17 Ulrich Drepper <drepper@gmail.com>
13664 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
13666 * stdlib/bug-getcontext.c: New file.
13667 * stdlib/Makefile: Add rules to build and run bug-getcontext.
13669 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13671 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
13672 instructions into .machine "z9-109".
13673 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13674 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13676 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13678 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
13679 between environment variables and auxiliary vector.
13681 2011-04-16 Ulrich Drepper <drepper@gmail.com>
13683 * Makefile: Add rules to build linkobj/libc.so.
13684 * include/libc-symbols.h: Define libc_hidden_nolink.
13685 * include/rpc/auth.h: Mark functions which are to be hidden.
13686 * include/rpc/auth_des.h: Likewise.
13687 * include/rpc/auth_unix.h: Likewise.
13688 * include/rpc/clnt.h: Likewise.
13689 * include/rpc/des_crypt.h: Likewise.
13690 * include/rpc/key_prot.h: Likewise.
13691 * include/rpc/pmap_clnt.h: Likewise.
13692 * include/rpc/pmap_prot.h: Likewise.
13693 * include/rpc/pmap_rmt.h: Likewise.
13694 * include/rpc/rpc_msg.h: Likewise.
13695 * include/rpc/svc.h: Likewise.
13696 * include/rpc/svc_auth.h: Likewise.
13697 * include/rpc/xdr.h: Likewise.
13698 * nis/Makefile: Link all DSOs against linkobj/libc.so.
13699 * nss/Makefile: Likewise.
13700 * sunrpc/Makefile: Don't install headers. Build library with normal
13701 entry points. Don't build rpcinfo. Link RPC tests appropriately.
13702 * sunrpc/auth_des.c: Hide exported symbols by default, export some
13703 for the compat linking library. Remove use of INTDEF/INTUSE.
13704 * sunrpc/auth_none.c: Likewise.
13705 * sunrpc/auth_unix.c: Likewise.
13706 * sunrpc/authdes_prot.c: Likewise.
13707 * sunrpc/authuxprot.c: Likewise.
13708 * sunrpc/clnt_gen.c: Likewise.
13709 * sunrpc/clnt_perr.c: Likewise.
13710 * sunrpc/clnt_raw.c: Likewise.
13711 * sunrpc/clnt_simp.c: Likewise.
13712 * sunrpc/clnt_tcp.c: Likewise.
13713 * sunrpc/clnt_udp.c: Likewise.
13714 * sunrpc/clnt_unix.c: Likewise.
13715 * sunrpc/des_crypt.c: Likewise.
13716 * sunrpc/des_soft.c: Likewise.
13717 * sunrpc/get_myaddr.c: Likewise.
13718 * sunrpc/key_call.c: Likewise.
13719 * sunrpc/key_prot.c: Likewise.
13720 * sunrpc/netname.c: Likewise.
13721 * sunrpc/pm_getmaps.c: Likewise.
13722 * sunrpc/pm_getport.c: Likewise.
13723 * sunrpc/pmap_clnt.c: Likewise.
13724 * sunrpc/pmap_prot.c: Likewise.
13725 * sunrpc/pmap_prot2.c: Likewise.
13726 * sunrpc/pmap_rmt.c: Likewise.
13727 * sunrpc/publickey.c: Likewise.
13728 * sunrpc/rpc_cmsg.c: Likewise.
13729 * sunrpc/rpc_common.c: Likewise.
13730 * sunrpc/rpc_dtable.c: Likewise.
13731 * sunrpc/rpc_prot.c: Likewise.
13732 * sunrpc/rpc_thread.c: Likewise.
13733 * sunrpc/rtime.c: Likewise.
13734 * sunrpc/svc.c: Likewise.
13735 * sunrpc/svc_auth.c: Likewise.
13736 * sunrpc/svc_authux.c: Likewise.
13737 * sunrpc/svc_raw.c: Likewise.
13738 * sunrpc/svc_run.c: Likewise.
13739 * sunrpc/svc_simple.c: Likewise.
13740 * sunrpc/svc_tcp.c: Likewise.
13741 * sunrpc/svc_udp.c: Likewise.
13742 * sunrpc/svc_unix.c: Likewise.
13743 * sunrpc/svcauth_des.c: Likewise.
13744 * sunrpc/xcrypt.c: Likewise.
13745 * sunrpc/xdr.c: Likewise.
13746 * sunrpc/xdr_array.c: Likewise.
13747 * sunrpc/xdr_float.c: Likewise.
13748 * sunrpc/xdr_intXX_t.c: Likewise.
13749 * sunrpc/xdr_mem.c: Likewise.
13750 * sunrpc/xdr_rec.c: Likewise.
13751 * sunrpc/xdr_ref.c: Likewise.
13752 * sunrpc/xdr_sizeof.c: Likewise.
13753 * sunrpc/xdr_stdio.c: Likewise.
13755 2011-04-10 Ulrich Drepper <drepper@gmail.com>
13758 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
13759 * sysdeps/ia64/dl-tls.h: Likewise.
13760 * sysdeps/powerpc/dl-tls.h: Likewise.
13761 * sysdeps/s390/dl-tls.h: Likewise.
13762 * sysdeps/sh/dl-tls.h: Likewise.
13763 * sysdeps/sparc/dl-tls.h: Likewise.
13764 * sysdeps/x86_64/dl-tls.h: Likewise.
13765 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
13767 2011-03-14 Andreas Schwab <schwab@redhat.com>
13769 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
13770 rpath element also skip the following colon.
13771 (expand_dynamic_string_token): Add is_path parameter and pass
13772 down to DL_DST_REQUIRED and _dl_dst_substitute.
13773 (decompose_rpath): Call expand_dynamic_string_token with
13774 non-zero is_path. Ignore empty rpaths.
13775 (_dl_map_object_from_fd): Call expand_dynamic_string_token
13778 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
13780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13783 2011-04-09 Ulrich Drepper <drepper@gmail.com>
13786 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
13787 Patch by Filipe David Manana <fdmanana@apache.org>.
13789 2011-04-07 Andreas Schwab <schwab@redhat.com>
13791 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
13792 Maintain aligned stack.
13793 (CHECK_RSP): Remove unused macro.
13795 2011-04-03 Ulrich Drepper <drepper@gmail.com>
13797 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
13798 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
13800 2011-04-02 Ulrich Drepper <drepper@gmail.com>
13802 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
13804 * include/features.h: Mention __USE_XOPEN2K8 in comment.
13806 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
13809 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
13810 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
13811 * sysdeps/x86_64/memmove.c: New file.
13812 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
13813 (memcpy): Renamed to ...
13814 (__new_memcpy): This.
13815 (memcpy): Provide GLIBC_2_14 memcpy.
13816 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
13817 (memcpy): Provide GLIBC_2_2_5 memcpy.
13819 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13822 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
13824 2011-03-30 Andreas Schwab <schwab@redhat.com>
13826 * misc/syncfs.c: New file.
13827 * misc/Makefile (routines): Add syncfs.
13828 * posix/unistd.h: Declare syncfs.
13829 * sysdeps/unix/syscalls.list: Add syncfs.
13831 2011-04-01 Andreas Schwab <schwab@redhat.com>
13833 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
13835 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13836 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13837 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13838 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13839 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13840 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13841 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13843 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13845 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
13846 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13847 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
13848 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13849 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13850 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13851 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13853 * io/Makefile: Compile fallocate.c, fallocate64.c, and
13854 sync_file_range.c with -fexceptions.
13855 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
13856 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
13857 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13858 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13859 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13860 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13861 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
13862 sync_file_range as cancellation point
13863 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
13864 now a wrapper around __call_sync_file_range with cancellation handling.
13865 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
13866 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
13867 function name to __call_sync_file_range.
13868 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
13869 Add call_sync_file_range.
13871 2011-04-01 Andreas Schwab <schwab@redhat.com>
13873 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13876 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13878 * iconv/iconv.h: Fix typo in comment.
13879 * io/fcntl.h: Likewise.
13880 * libio/stdio.h: Likewise.
13881 * posix/spawn.h: Likewise.
13882 * posix/unistd.h: Likewise.
13883 * stdlib/stdlib.h: Likewise.
13884 * time/time.h: Likewise.
13885 * wcsmbs/wchar.h: Likewise.
13887 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13888 open_by_handle): Add.
13889 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13890 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
13891 Augment a few comments.
13892 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13893 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13894 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13895 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13896 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13897 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13900 * io/fcntl.h (AT_EMPTY_PATH): Define.
13902 2011-03-30 Ulrich Drepper <drepper@gmail.com>
13904 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13905 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13906 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13908 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
13909 * Versions.def: Add GLIBC_2.14.
13910 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13913 2011-03-22 Ulrich Drepper <drepper@gmail.com>
13915 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13917 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13919 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13922 * string/test-strncmp.c (do_page_test): New function.
13923 (check2): Likewise.
13924 (test_main): Call check2.
13925 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13927 2011-03-20 Ulrich Drepper <drepper@gmail.com>
13930 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13931 Handle cache information in CPU leaf 4.
13932 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13934 2011-03-18 Ulrich Drepper <drepper@gmail.com>
13937 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13938 character representation.
13939 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13941 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
13943 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13944 END(__isnan) to END(__isnanf) to match function entry point/label
13945 EALIGN(__isnanf,...).
13947 2011-03-10 Jakub Jelinek <jakub@redhat.com>
13949 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13951 2011-03-10 Ulrich Drepper <drepper@gmail.com>
13954 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13955 copy from the symbol referenced in the relocation to initialize the
13957 Patch by Piotr Bury <pbury@goahead.com>.
13958 * elf/Makefile: Add rules to build and tst-unique3.
13959 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13960 * elf/tst-unique3.cc: New file.
13961 * elf/tst-unique3.h: New file.
13962 * elf/tst-unique3lib.cc: New file.
13963 * elf/tst-unique3lib2.cc: New file.
13965 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13967 2011-03-10 Mike Frysinger <vapier@gentoo.org>
13969 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13970 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
13973 2011-03-06 Ulrich Drepper <drepper@gmail.com>
13975 * elf/dl-load.c (_dl_map_object): If we are looking for the first
13976 to-be-loaded object along a path to loader is ld.so.
13978 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13979 Ulrich Drepper <drepper@gmail.com>
13981 * sysdeps/x86_64/memset.S: After aligning destination, code
13982 branches to different locations depending on the value of
13983 misalignment, when multiarch is enabled. Fix this.
13985 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13987 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
13988 Set _x86_64_preferred_memory_instruction for AMD processsors.
13989 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13990 Set bit_Prefer_SSE_for_memop for AMD processors.
13992 2011-03-04 Ulrich Drepper <drepper@gmail.com>
13994 * libio/fmemopen.c (fmemopen): Optimize a bit.
13996 2011-03-03 Andreas Schwab <schwab@redhat.com>
13998 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14000 2011-03-03 Roland McGrath <roland@redhat.com>
14002 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14004 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14006 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
14007 __bzero_ultra1 instead of __memset_ultra1.
14009 2011-02-23 Andreas Schwab <schwab@redhat.com>
14010 Ulrich Drepper <drepper@gmail.com>
14013 * include/link.h (struct link_map): Add l_orig_initfini.
14014 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14015 returning unsuccessfully.
14016 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14017 close of a file loaded at startup, restore the original l_initfini
14019 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14020 list, store the pointer.
14021 * elf/Makefile ($(objpfx)noload-mem): New rule.
14022 (noload-ENV): Define.
14023 (tests): Add $(objpfx)noload-mem.
14024 * elf/noload.c: Include <memcheck.h>.
14025 (main): Call mtrace. Close all opened handles.
14027 2011-02-17 Andreas Schwab <schwab@redhat.com>
14030 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14031 dependencies are missing.
14033 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14035 Fix __if_freereq crash: Unlike the generic version which uses free,
14037 * sysdeps/mach/hurd/ifreq.h: New file.
14039 2011-01-27 Petr Baudis <pasky@suse.cz>
14040 Ulrich Drepper <drepper@gmail.com>
14043 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14044 to extend_alloca().
14045 * stdio-common/bug23.c: New file.
14046 * stdio-common/Makefile (tests): Add bug23.
14048 2010-09-28 Andreas Schwab <schwab@redhat.com>
14049 Ulrich Drepper <drepper@gmail.com>
14052 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14053 before performing relro protection. At old place add assertion
14054 to make sure nothing changed.
14056 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14057 Glauber de Oliveira Costa <glommer@gmail.com>
14059 * elf/elf.h: Add new ARM TLS relocs.
14061 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14064 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14066 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14068 * sysdeps/wordsize-64/tst-writev.c: New file.
14070 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14072 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14073 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14074 insns in _dl_start to prevent a TOC reference before relocs are
14077 2011-02-15 Ulrich Drepper <drepper@gmail.com>
14080 * Makeconfig: Remove RANLIB definition.
14081 * Makerules: Don't use RANLIB.
14082 * aclocal.m4: Remove ranlib test.
14083 * configure.in: No need to check for ranlib.
14084 * elf/rtld-Rules: Don't use RANLIB.
14086 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14088 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14090 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14091 inclusion protection macro.
14093 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14094 SIGRTMIN and SIGRTMAX and print information in that case only when
14095 SIGRTMIN is defined.
14097 2011-02-11 Jakub Jelinek <jakub@redhat.com>
14099 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14100 arginfo fn returning -1.
14102 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14103 and thousands string is zero terminated.
14105 2011-02-03 Andreas Schwab <schwab@redhat.com>
14107 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14108 sysdeps/unix/sysv/linux/bits/socket.h.
14110 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14112 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14113 (__CPU_COUNT): Remove old macros.
14114 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14115 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14116 (__CPU_ALLOC, __CPU_FREE): Add macros.
14117 (__sched_cpualloc, __sched_cpufree): Add declarations.
14119 2011-02-05 Ulrich Drepper <drepper@gmail.com>
14121 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14122 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14123 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14124 (readdhstai): Return value of addhstaiX call.
14125 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14126 (addgrbyX): Return value returned by cache_addgr.
14127 (readdgrbyname): Return value returned by addgrbyX.
14128 (readdgrbygid): Likewise.
14129 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14130 (addpwbyX): Return value returned by cache_addpw.
14131 (readdpwbyname): Return value returned by addhstbyX.
14132 (readdpwbyuid): Likewise.
14133 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14134 (addservbyX): Return value returned by cache_addserv.
14135 (readdservbyname): Return value returned by addservbyX:
14136 (readdservbyport): Likewise.
14137 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14138 (addhstbyX): Return value returned by cache_addhst.
14139 (readdhstbyname): Return value returned by addhstbyX.
14140 (readdhstbyaddr): Likewise.
14141 (readdhstbynamev6): Likewise.
14142 (readdhstbyaddrv6): Likewise.
14143 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14144 (readdinitgroups): Return value returned by addinitgroupsX.
14145 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14146 (prune_cache): Keep track of timeout value of re-added entries.
14147 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14148 * nscd/nscd.h: Adjust prototypes of readd* functions.
14150 2011-02-04 Roland McGrath <roland@redhat.com>
14152 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14153 (nis_stats): Likewise.
14154 * nis/nis_modify.c (nis_modify): Likewise.
14155 * nis/nis_remove.c (nis_remove): Likewise.
14156 * nis/nis_add.c (nis_add): Likewise.
14158 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14160 * posix/fnmatch_loop.c: Add some consts.
14162 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14164 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14167 * config.make.in (config-cflags-novzeroupper): Define.
14168 * configure.in: Substitute libc_cv_cc_novzeroupper.
14169 * elf/Makefile (AVX-CFLAGS): Define.
14170 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14171 (CFLAGS-tst-auditmod4a.c): Likewise.
14172 (CFLAGS-tst-auditmod4b.c): Likewise.
14173 (CFLAGS-tst-auditmod6b.c): Likewise.
14174 (CFLAGS-tst-auditmod6c.c): Likewise.
14175 (CFLAGS-tst-auditmod7b.c): Likewise.
14176 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14178 2011-02-02 Ulrich Drepper <drepper@gmail.com>
14180 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14181 function to the callback.
14182 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14184 2011-02-02 Andreas Schwab <schwab@redhat.com>
14186 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14189 2011-01-19 Ulrich Drepper <drepper@gmail.com>
14192 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14194 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14196 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14199 * elf/Makefile: Add rules to build and run new test.
14200 * elf/tst-initorder.c: New file.
14201 * elf/tst-initorder.exp: New file.
14202 * elf/tst-initordera1.c: New file.
14203 * elf/tst-initordera2.c: New file.
14204 * elf/tst-initordera3.c: New file.
14205 * elf/tst-initordera4.c: New file.
14206 * elf/tst-initorderb1.c: New file.
14207 * elf/tst-initorderb2.c: New file.
14208 * elf/tst-order-a1.c: New file.
14209 * elf/tst-order-a2.c: New file.
14210 * elf/tst-order-a3.c: New file.
14211 * elf/tst-order-a4.c: New file.
14212 * elf/tst-order-b1.c: New file.
14213 * elf/tst-order-b2.c: New file.
14214 * elf/tst-order-main.c: New file.
14215 New test case by George Gensure <werkt0@gmail.com>.
14217 2010-10-01 Andreas Schwab <schwab@redhat.com>
14219 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14220 decoding ACE if AI_CANONIDN.
14222 2011-01-18 Ulrich Drepper <drepper@gmail.com>
14224 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14226 2011-01-17 Ulrich Drepper <drepper@gmail.com>
14228 * version.h (RELEASE): Bump for 2.13 release.
14229 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14231 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14233 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14235 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14236 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14237 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14238 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14239 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14240 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14242 * posix/getconf.c: Update copyright year.
14243 * catgets/gencat.c: Likewise.
14244 * csu/version.c: Likewise.
14245 * debug/catchsegv.sh: Likewise.
14246 * debug/xtrace.sh: Likewise.
14247 * elf/ldconfig.c: Likewise.
14248 * elf/ldd.bash.in: Likewise.
14249 * elf/sprof.c (print_version): Likewise.
14250 * iconv/iconv_prog.c: Likewise.
14251 * iconv/iconvconfig.c: Likewise.
14252 * locale/programs/locale.c: Likewise.
14253 * locale/programs/localedef.c: Likewise.
14254 * malloc/memusage.sh: Likewise.
14255 * malloc/mtrace.pl: Likewise.
14256 * nscd/nscd.c (print_version): Likewise.
14257 * nss/getent.c: Likewise.
14259 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14260 PF_CAIF, and PF_ALG.
14261 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14263 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14265 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14266 (modules-names): Use them.
14267 (ifunc-test-modules, ifunc-pie-tests): Define.
14268 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14269 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14270 (test-extras): Likewise.
14271 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14272 $(compile-command.c).
14273 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14274 (all-built-dso): Define.
14275 (check-textrel.out, check-execstack.out): Depend on it.
14277 * configure.in: Don't override --enable-multi-arch.
14279 2011-01-15 Ulrich Drepper <drepper@gmail.com>
14282 * nscd/hstcache.c (tryagain): Define.
14283 (cache_addhst): Return tryagain not notfound for temporary errors.
14284 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14287 2011-01-14 Ulrich Drepper <drepper@gmail.com>
14290 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14291 to make the syscall.
14292 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14295 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14296 and fall back to matching as normal character if the string ends before
14297 the matching ']' is found. This is what POSIX requires.
14298 * posix/testfnm.c: Adjust test result.
14299 * posix/globtest.sh: Adjust test result. Add new test.
14300 * posix/tst-fnmatch.input: Likewise.
14301 * posix/tst-fnmatch2.c: Add new test.
14303 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14305 * elf/Makefile (check-execstack): Revert last change. Depend on
14307 (check-execstack.h): New target.
14308 (generated): Add check-execstack.h.
14309 * elf/check-execstack.c: Include "check-execstack.h".
14310 (main): Revert last change.
14311 (handle_file): Return zero if GNU_STACK is absent and
14312 DEFAULT_STACK_PERMS doesn't include PF_X.
14314 2011-01-13 Ulrich Drepper <drepper@gmail.com>
14316 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14317 in child fails because the descriptor is already closed.
14318 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14319 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14320 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14323 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14327 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14328 temporary buffer used to handle multi lookups locally.
14329 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
14331 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14333 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14336 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14338 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14339 alignment for SSE2.
14341 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14344 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14345 characters. When rounding increased number of integer digits recompute
14347 * stdio-common/tst-grouping.c: New file.
14348 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14350 2011-01-09 Ulrich Drepper <drepper@gmail.com>
14352 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14353 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14355 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14357 * bits/select.h: Likewise.
14359 2011-01-08 Ulrich Drepper <drepper@gmail.com>
14361 * po/ja.po: Update from translation team.
14363 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
14366 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14367 implementation just like for lxstat, fxstatat, et al.
14369 2010-12-27 Jim Meyering <meyering@redhat.com>
14372 * posix/regexec.c (build_trtable): Return failure indication upon
14373 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14375 2010-12-25 Ulrich Drepper <drepper@gmail.com>
14378 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14379 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14380 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14381 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14384 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14387 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14388 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14390 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14392 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14393 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14394 script has SORT_BY_INIT_PRIORITY.
14395 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14396 NO_CTORS_DTORS_SECTIONS is defined.
14397 * elf/soinit.c: Likewise.
14398 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14399 NO_CTORS_DTORS_SECTIONS is defined.
14400 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14401 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14402 * sysdeps/sh/init-first.c: Likewise.
14403 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14405 2010-12-24 Ulrich Drepper <drepper@gmail.com>
14407 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14408 always use the slow path.
14410 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14412 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14413 similar rule which adds the sysdep directories to the header search in
14414 order to pick up the correct platform stackinfo.h.
14415 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14416 perform test if it is, otherwise return successfully without testing.
14417 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14418 DEFAULT_STACK_PERMS define in stackinfo.h.
14419 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14420 defined in stackinfo.h.
14421 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14422 DEFAULT_STACK_PERMS defined in stackinfo.h.
14423 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14424 * sysdeps/ia64/stackinfo.h: Likewise.
14425 * sysdeps/s390/stackinfo.h: Likewise.
14426 * sysdeps/sh/stackinfo.h: Likewise.
14427 * sysdeps/sparc/stackinfo.h: Likewise.
14428 * sysdeps/x86_64/stackinfo.h: Likewise.
14429 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14430 PF_X for powerpc64. Retain PF_X for powerpc32.
14432 2010-12-19 Ulrich Drepper <drepper@gmail.com>
14434 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14436 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14437 GETDENTS_64BIT_ALIGNED.
14439 2010-12-14 Ulrich Drepper <dreper@gmail.com>
14441 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
14443 2010-12-10 Andreas Schwab <schwab@redhat.com>
14445 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14448 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14449 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14451 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14452 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14454 2010-12-09 Ulrich Drepper <drepper@gmail.com>
14457 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14460 2010-12-09 Jakub Jelinek <jakub@redhat.com>
14462 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14464 2010-12-03 Ulrich Drepper <drepper@gmail.com>
14466 * po/it.po: Update from translation team.
14468 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14470 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14473 2010-11-30 Ulrich Drepper <drepper@gmail.com>
14475 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14477 2010-11-24 Andreas Schwab <schwab@redhat.com>
14479 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14481 (gaih_getanswer_slice): Likewise.
14483 2010-10-20 Jakub Jelinek <jakub@redhat.com>
14485 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14487 2010-05-31 Petr Baudis <pasky@suse.cz>
14490 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14491 silently even in the chroot mode.
14493 2010-11-22 Ulrich Drepper <drepper@gmail.com>
14495 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14496 last patch a bit. Pretty printing
14498 2010-05-31 Petr Baudis <pasky@suse.cz>
14501 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14502 initialization of skip_initgroups_dyn.
14504 2010-11-19 Ulrich Drepper <drepper@gmail.com>
14506 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14507 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14509 2010-11-16 Ulrich Drepper <drepper@gmail.com>
14511 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14513 2010-11-11 Andreas Schwab <schwab@redhat.com>
14515 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14516 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14517 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14518 ($(objpfx)tst-fnmatch-mem): New rule.
14519 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14520 * posix/tst-fnmatch.c (main): Call mtrace.
14522 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14524 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14525 Support Intel processor model 6 and model 0x2c.
14527 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
14529 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14532 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14535 * string/test-strncasecmp.c (check_result): New function.
14536 (do_one_test): Use it.
14537 (check1): New function.
14538 (test_main): Use it.
14539 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14540 Support strcasecmp and strncasecmp.
14542 2010-11-08 Ulrich Drepper <drepper@gmail.com>
14545 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14546 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14548 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14550 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14552 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14554 * sysdeps/x86_64/multiarch/bzero.S: New file.
14555 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14556 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14557 * sysdeps/x86_64/multiarch/memset.S: New file.
14558 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14559 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14560 Set bit_Prefer_SSE_for_memop for Intel processors.
14561 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14563 (index_Prefer_SSE_for_memop): Define.
14564 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14566 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
14568 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14569 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14571 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14574 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14575 (__x86_64_raw_data_cache_size_half): Likewise.
14576 (__x86_64_raw_shared_cache_size): Likewise.
14577 (__x86_64_raw_shared_cache_size_half): Likewise.
14579 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14580 (__x86_64_raw_data_cache_size_half): Likewise.
14581 (__x86_64_raw_shared_cache_size): Likewise.
14582 (__x86_64_raw_shared_cache_size_half): Likewise.
14583 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14584 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14585 and __x86_64_raw_shared_cache_size_half. Round
14586 __x86_64_data_cache_size_half, __x86_64_data_cache_size
14587 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
14588 to multiple of 256 bytes.
14590 2010-11-03 Ulrich Drepper <drepper@gmail.com>
14593 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14594 of inacessible symlinks. Verify result of symlink before returning it.
14595 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14596 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14598 2010-10-28 Erich Ritz <erichritz@gmail.com>
14600 * math/math.h (isinf): Fix typo in comment.
14602 2010-11-01 Ulrich Drepper <drepper@gmail.com>
14604 * po/da.po: Update from translation team.
14606 2010-10-26 Ulrich Drepper <drepper@gmail.com>
14608 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14609 is added to the list.
14611 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14612 Ulrich Drepper <drepper@gmail.com>
14614 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14615 the global list here. Move code to...
14616 (_dl_add_to_namespace_list): ...here. New function.
14617 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14618 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14619 * elf/dl-load.c (lose): Don't remove the element from the list.
14620 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14621 (_dl_map_object): Likewise.
14623 2010-10-25 Ulrich Drepper <drepper@gmail.com>
14626 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14627 into all bytes of SSE register.
14628 Patch by Richard Li <richardpku@gmail.com>.
14630 2010-10-24 Ulrich Drepper <drepper@gmail.com>
14633 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14636 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14638 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14639 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14640 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14641 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
14644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14646 2010-10-22 Andreas Schwab <schwab@redhat.com>
14648 * include/dlfcn.h (__RTLD_SECURE): Define.
14649 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
14650 mode & __RTLD_SECURE instead.
14651 (open_path): Rename preloaded parameter to secure.
14652 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
14653 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
14654 * elf/dl-deps.c (openaux): Likewise.
14655 * elf/rtld.c (struct map_args): Remove is_preloaded.
14656 (map_doit): Don't use it.
14657 (dl_main): Likewise.
14658 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
14659 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
14661 2010-09-09 Andreas Schwab <schwab@redhat.com>
14663 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
14664 (sysd-rules-targets): Remove duplicates.
14665 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
14666 rtld-%.$o dependency.
14668 2010-10-18 Andreas Schwab <schwab@redhat.com>
14670 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
14671 _dl_map_object do it.
14673 2010-10-19 Ulrich Drepper <drepper@gmail.com>
14675 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
14676 fast fma builtins, define the macros in the C99 standard.
14677 (FP_FAST_FMAF): Likewise.
14678 (FP_FAST_FMAL): Likewise.
14679 * sysdeps/x86_64/bits/mathdef.h: Likewise.
14681 * bits/mathdef.h: Update copyright year.
14682 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14684 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
14686 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
14687 builtins, define the macros in the C99 standard.
14688 (FP_FAST_FMAF): Likewise.
14689 (FP_FAST_FMAL): Likewise.
14690 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
14692 (FP_FAST_FMAF): Likewise.
14694 2010-10-15 Jakub Jelinek <jakub@redhat.com>
14697 * math/libm-test.inc (fma_test): Some new testcases.
14698 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
14699 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
14700 y and infinite z. Do multiplication by C already in long double.
14701 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
14702 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
14703 y and infinite z. Do bitwise or of inexact bit into u.d.
14704 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
14705 * sysdeps/i386/fpu/s_fmaf.S: Removed.
14706 * sysdeps/i386/fpu/s_fma.S: Removed.
14707 * sysdeps/i386/fpu/s_fmal.S: Removed.
14709 2010-10-16 Jakub Jelinek <jakub@redhat.com>
14712 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
14713 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
14714 computation is not scheduled after fetestexcept. Fix value
14715 of minimum denormal long double.
14717 2010-10-14 Jakub Jelinek <jakub@redhat.com>
14720 * math/libm-test.inc (fma_test): Add some more tests.
14721 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
14724 2010-10-15 Andreas Schwab <schwab@redhat.com>
14726 * scripts/data/localplt-s390-linux-gnu.data: New file.
14727 * scripts/data/localplt-s390x-linux-gnu.data: New file.
14729 2010-10-13 Jakub Jelinek <jakub@redhat.com>
14732 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
14733 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
14735 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
14737 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
14738 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
14739 if one of x and y is very large and the other is subnormal.
14740 * sysdeps/s390/fpu/s_fmaf.c: New file.
14741 * sysdeps/s390/fpu/s_fma.c: New file.
14742 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
14743 * sysdeps/powerpc/fpu/s_fma.S: New file.
14744 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
14745 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
14746 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
14748 2010-10-12 Jakub Jelinek <jakub@redhat.com>
14751 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
14753 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
14754 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
14755 * sysdeps/i386/i686/multiarch/s_fma.c: Include
14756 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
14757 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
14758 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
14759 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
14761 2010-10-12 Ulrich Drepper <drepper@redhat.com>
14764 * posix/regcomp.c (parse_branch): One more memory leak plugged.
14765 * posix/bug-regex31.input: Add test case.
14767 2010-10-11 Ulrich Drepper <drepper@gmail.com>
14769 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
14770 * posix/bug-regex31.input: New file.
14773 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
14774 (parse_sub_exp): Fix last change, use postorder.
14776 * posix/bug-regex31.c: New file.
14777 * posix/Makefile: Add rules to build and run bug-regex31.
14779 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
14782 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
14785 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
14786 to have entries in sys_siglist.
14789 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14792 2010-10-07 Jakub Jelinek <jakub@redhat.com>
14795 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
14796 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
14797 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
14798 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
14799 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14800 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
14801 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
14802 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
14803 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
14804 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14805 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
14806 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
14807 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14808 * math/ftestexcept.c (fetestexcept): Likewise.
14809 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
14810 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
14811 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14812 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
14813 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
14814 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
14815 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14817 2010-10-11 Ulrich Drepper <drepper@gmail.com>
14820 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
14823 2010-10-06 Ulrich Drepper <drepper@gmail.com>
14825 * string/bug-strstr1.c: New file.
14826 * string/Makefile: Add rules to build and run bug-strstr1.
14828 2010-10-05 Eric Blake <eblake@redhat.com>
14831 * string/str-two-way.h (two_way_long_needle): Always clear memory
14832 when skipping input due to the shift table.
14834 2010-10-03 Ulrich Drepper <drepper@gmail.com>
14837 * malloc/mcheck.c: Handle large requests.
14840 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
14841 for strncmp and strncasecmp.
14842 * string/stratcliff.c: Add tests for strcmp and strncmp.
14843 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
14845 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14847 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
14850 2010-09-30 Andreas Jaeger <aj@suse.de>
14852 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
14853 (CGROUP_SUPER_MAGIC): Define.
14854 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14855 Handle btrfs and cgroup file systems.
14856 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14859 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
14861 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
14862 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
14864 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14867 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
14868 trying to locate the ELF header.
14870 2010-09-27 Andreas Schwab <schwab@redhat.com>
14873 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
14874 Mask out sign-bit copies when constructing f_fsid.
14876 2010-09-24 Petr Baudis <pasky@suse.cz>
14878 * debug/stack_chk_fail_local.c: Add missing licence exception.
14879 * debug/warning-nop.c: Likewise.
14881 2010-09-15 Joseph Myers <joseph@codesourcery.com>
14883 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14884 implementing getdents64 using getdents syscall, set d_type if
14885 __ASSUME_GETDENTS32_D_TYPE.
14887 2010-09-16 Andreas Schwab <schwab@redhat.com>
14889 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14890 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14892 2010-09-21 Ulrich Drepper <drepper@redhat.com>
14895 * posix/unistd.h: Undo change of feature selection for ftruncate from
14898 2010-09-20 Ulrich Drepper <drepper@redhat.com>
14900 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
14903 2010-09-20 Andreas Schwab <schwab@redhat.com>
14905 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14907 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14909 2010-09-14 Andreas Schwab <schwab@redhat.com>
14911 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14912 variables after CHECK_SP call.
14913 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14915 2010-09-13 Andreas Schwab <schwab@redhat.com>
14916 Ulrich Drepper <drepper@redhat.com>
14918 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14919 re-relocationg ld.so.
14920 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14921 _dl_init_paths call.
14922 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14925 2010-09-14 Ulrich Drepper <drepper@redhat.com>
14927 * resolv/res_init.c (__res_vinit): Count the default server we added.
14929 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14930 Ulrich Drepper <drepper@redhat.com>
14933 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14934 (____longjmp_chk): Use %ebx for saving value across system call.
14937 2010-09-06 Andreas Schwab <schwab@redhat.com>
14939 * manual/Makefile: Don't mix pattern rules with normal rules.
14941 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
14943 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14945 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14946 * libio/iofopncook.c (_IO_cookie_init): Likewise.
14947 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14948 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14949 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14952 2010-09-04 Ulrich Drepper <drepper@redhat.com>
14955 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14956 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14958 2010-09-02 Ulrich Drepper <drepper@redhat.com>
14960 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14961 * sysdeps/x86_64/addmul_1.S: Likewise.
14962 * sysdeps/x86_64/lshift.S: Likewise.
14963 * sysdeps/x86_64/mul_1.S: Likewise.
14964 * sysdeps/x86_64/rshift.S: Likewise.
14965 * sysdeps/x86_64/sub_n.S: Likewise.
14966 * sysdeps/x86_64/submul_1.S: Likewise.
14968 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
14970 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14971 Define __sched_param instead of SCHED_* and sched_param when
14972 <bits/sched.h> is included with __need_schedparam defined.
14973 * bits/sched.h [__need_schedparam]
14974 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
14975 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
14976 (__defined_schedparam): Define to 1.
14977 (__sched_param): New structure, identical to sched_param.
14978 (__need_schedparam): Undefine.
14980 2010-08-31 Mike Frysinger <vapier@gentoo.org>
14982 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
14983 (epoll_create1): Declare.
14985 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
14987 2010-08-31 Andreas Schwab <schwab@redhat.com>
14990 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
14991 shifting retval into place.
14993 2010-09-01 Ulrich Drepper <drepper@redhat.com>
14995 * nis/rpcsvc/nis.h: Update copyright notice.
14996 * nis/rpcsvc/nis.x: Likewise.
14997 * nis/rpcsvc/nis_callback.h: Likewise.
14998 * nis/rpcsvc/nis_callback.x: Likewise.
14999 * nis/rpcsvc/nis_object.x: Likewise.
15000 * nis/rpcsvc/nis_tags.h: Likewise.
15001 * nis/rpcsvc/yp.h: Likewise.
15002 * nis/rpcsvc/yp.x: Likewise.
15003 * nis/rpcsvc/ypupd.h: Likewise.
15004 * nis/yp_xdr.c: Likewise.
15005 * nis/ypupdate_xdr.c: Likewise.
15007 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15008 mainly the body of pmap_getport. Add parameters to specify timeouts.
15009 (pmap_getport): Use __libc_rpc_getport.
15010 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15011 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15012 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15014 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15019 2010-08-27 Roland McGrath <roland@redhat.com>
15021 * sysdeps/i386/i686/multiarch/Makefile
15022 (CFLAGS-varshift.c): New variable.
15024 2010-08-27 Ulrich Drepper <drepper@redhat.com>
15026 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15027 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15029 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15031 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15033 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15035 * sysdeps/x86_64/strlen.S: Unroll the loop.
15036 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15037 strlen-sse2 strlen-sse2-bsf.
15038 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15039 __strlen_no_bsf if bit_Slow_BSF is set.
15040 (__strlen_sse42): Removed.
15041 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15042 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15044 2010-08-25 Roland McGrath <roland@redhat.com>
15046 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15047 * sysdeps/x86_64/multiarch/varshift.c: New file.
15048 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15049 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15050 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15051 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15053 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15055 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15056 strlen-sse2 strlen-sse2-bsf.
15057 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15058 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15059 (__strlen_sse2): Removed.
15060 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15061 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15062 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15063 bit_Slow_BSF for Atom.
15064 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15065 (index_Slow_BSF): Define.
15066 (HAS_SLOW_BSF): Define.
15068 2010-08-25 Ulrich Drepper <drepper@redhat.com>
15071 * resolv/res_init.c (__res_vinit): When no server address at all
15072 is given default to loopback.
15074 2010-08-24 Roland McGrath <roland@redhat.com>
15076 * configure.in: Remove config-name.h generation.
15077 * configure: Regenerated.
15078 * config-name.in: File removed.
15079 * scripts/config-uname.sh: New file.
15080 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15081 ($(objdir)config-name.h): New target.
15083 * sunrpc/rpc_parse.h: Avoid nested comment.
15085 2010-08-24 Richard Henderson <rth@redhat.com>
15086 Ulrich Drepper <drepper@redhat.com>
15087 H.J. Lu <hongjiu.lu@intel.com>
15089 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15090 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15091 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15092 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15093 _mm_alignr_epi8 with _mm_loadu_si128.
15094 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15095 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15096 (__m128i_shift_right): Removed.
15097 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15098 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15099 * sysdeps/x86_64/multiarch/varshift.h: New file.
15100 * sysdeps/x86_64/multiarch/varshift.S: New file.
15102 2010-08-21 Mike Frysinger <vapier@gentoo.org>
15104 * configure.in: Move assembler checks to before sysdep dir checking.
15106 2010-08-20 Petr Baudis <pasky@suse.cz>
15108 * LICENSES: Sync the sunrpc license.
15110 2010-08-19 Ulrich Drepper <drepper@redhat.com>
15112 * sunrpc/auth_des.c: Update copyright notice once again.
15113 * sunrpc/auth_none.c: Likewise.
15114 * sunrpc/auth_unix.c: Likewise.
15115 * sunrpc/authdes_prot.c: Likewise.
15116 * sunrpc/authuxprot.c: Likewise.
15117 * sunrpc/bindrsvprt.c: Likewise.
15118 * sunrpc/clnt_gen.c: Likewise.
15119 * sunrpc/clnt_perr.c: Likewise.
15120 * sunrpc/clnt_raw.c: Likewise.
15121 * sunrpc/clnt_simp.c: Likewise.
15122 * sunrpc/clnt_tcp.c: Likewise.
15123 * sunrpc/clnt_udp.c: Likewise.
15124 * sunrpc/clnt_unix.c: Likewise.
15125 * sunrpc/des_crypt.c: Likewise.
15126 * sunrpc/des_soft.c: Likewise.
15127 * sunrpc/get_myaddr.c: Likewise.
15128 * sunrpc/getrpcport.c: Likewise.
15129 * sunrpc/key_call.c: Likewise.
15130 * sunrpc/key_prot.c: Likewise.
15131 * sunrpc/openchild.c: Likewise.
15132 * sunrpc/pm_getmaps.c: Likewise.
15133 * sunrpc/pm_getport.c: Likewise.
15134 * sunrpc/pmap_clnt.c: Likewise.
15135 * sunrpc/pmap_prot.c: Likewise.
15136 * sunrpc/pmap_prot2.c: Likewise.
15137 * sunrpc/pmap_rmt.c: Likewise.
15138 * sunrpc/rpc/auth.h: Likewise.
15139 * sunrpc/rpc/auth_unix.h: Likewise.
15140 * sunrpc/rpc/clnt.h: Likewise.
15141 * sunrpc/rpc/des_crypt.h: Likewise.
15142 * sunrpc/rpc/key_prot.h: Likewise.
15143 * sunrpc/rpc/netdb.h: Likewise.
15144 * sunrpc/rpc/pmap_clnt.h: Likewise.
15145 * sunrpc/rpc/pmap_prot.h: Likewise.
15146 * sunrpc/rpc/pmap_rmt.h: Likewise.
15147 * sunrpc/rpc/rpc.h: Likewise.
15148 * sunrpc/rpc/rpc_des.h: Likewise.
15149 * sunrpc/rpc/rpc_msg.h: Likewise.
15150 * sunrpc/rpc/svc.h: Likewise.
15151 * sunrpc/rpc/svc_auth.h: Likewise.
15152 * sunrpc/rpc/types.h: Likewise.
15153 * sunrpc/rpc/xdr.h: Likewise.
15154 * sunrpc/rpc_clntout.c: Likewise.
15155 * sunrpc/rpc_cmsg.c: Likewise.
15156 * sunrpc/rpc_common.c: Likewise.
15157 * sunrpc/rpc_cout.c: Likewise.
15158 * sunrpc/rpc_dtable.c: Likewise.
15159 * sunrpc/rpc_hout.c: Likewise.
15160 * sunrpc/rpc_main.c: Likewise.
15161 * sunrpc/rpc_parse.c: Likewise.
15162 * sunrpc/rpc_parse.h: Likewise.
15163 * sunrpc/rpc_prot.c: Likewise.
15164 * sunrpc/rpc_sample.c: Likewise.
15165 * sunrpc/rpc_scan.c: Likewise.
15166 * sunrpc/rpc_scan.h: Likewise.
15167 * sunrpc/rpc_svcout.c: Likewise.
15168 * sunrpc/rpc_tblout.c: Likewise.
15169 * sunrpc/rpc_util.c: Likewise.
15170 * sunrpc/rpc_util.h: Likewise.
15171 * sunrpc/rpcinfo.c: Likewise.
15172 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15173 * sunrpc/rpcsvc/key_prot.x: Likewise.
15174 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15175 * sunrpc/rpcsvc/mount.x: Likewise.
15176 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15177 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15178 * sunrpc/rpcsvc/rex.x: Likewise.
15179 * sunrpc/rpcsvc/rstat.x: Likewise.
15180 * sunrpc/rpcsvc/rusers.x: Likewise.
15181 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15182 * sunrpc/rpcsvc/spray.x: Likewise.
15183 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15184 * sunrpc/rtime.c: Likewise.
15185 * sunrpc/svc.c: Likewise.
15186 * sunrpc/svc_auth.c: Likewise.
15187 * sunrpc/svc_authux.c: Likewise.
15188 * sunrpc/svc_raw.c: Likewise.
15189 * sunrpc/svc_run.c: Likewise.
15190 * sunrpc/svc_simple.c: Likewise.
15191 * sunrpc/svc_tcp.c: Likewise.
15192 * sunrpc/svc_udp.c: Likewise.
15193 * sunrpc/svc_unix.c: Likewise.
15194 * sunrpc/svcauth_des.c: Likewise.
15195 * sunrpc/xcrypt.c: Likewise.
15196 * sunrpc/xdr.c: Likewise.
15197 * sunrpc/xdr_array.c: Likewise.
15198 * sunrpc/xdr_float.c: Likewise.
15199 * sunrpc/xdr_mem.c: Likewise.
15200 * sunrpc/xdr_rec.c: Likewise.
15201 * sunrpc/xdr_ref.c: Likewise.
15202 * sunrpc/xdr_sizeof.c: Likewise.
15203 * sunrpc/xdr_stdio.c: Likewise.
15205 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15208 2010-08-19 Andreas Schwab <schwab@redhat.com>
15210 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15212 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
15214 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15215 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15216 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15217 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15218 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15219 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15220 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15221 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15222 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15223 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15224 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15225 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15226 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15227 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15229 2010-07-26 Anton Blanchard <anton@samba.org>
15231 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15232 * malloc/arena.c (heap_trim): Likewise.
15234 2010-08-16 Ulrich Drepper <drepper@redhat.com>
15236 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15238 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15239 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15241 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15243 * sysdeps/i386/elf/Makefile: New file.
15245 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15247 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15248 from fanotify_init.
15249 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15250 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15252 2010-08-15 Ulrich Drepper <drepper@redhat.com>
15254 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15256 * sysdeps/multiarch/strcmp.S: Likewise.
15258 2010-08-14 Ulrich Drepper <drepper@redhat.com>
15260 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15261 strncase_l-nonascii.
15262 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15263 Add strncase_l-ssse3.
15264 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15265 * sysdeps/x86_64/strcmp.S: Likewise.
15266 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15267 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15268 * sysdeps/x86_64/strncase.S: New file.
15269 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15270 * sysdeps/x86_64/strncase_l.S: New file.
15271 * string/Makefile (strop-tests): Add strncasecmp.
15272 * string/test-strncasecmp.c: New file.
15274 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15277 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15278 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15280 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15282 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15284 2010-08-12 Ulrich Drepper <drepper@redhat.com>
15286 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15287 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15288 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15290 2010-05-01 Alan Modra <amodra@gmail.com>
15292 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15293 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15294 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15295 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15296 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15297 tidying. Don't tail-call __sigjmp_save for static lib.
15298 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15300 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15301 (CALL_MCOUNT): Add eh info, and nop after bl.
15302 (TAIL_CALL_SYSCALL_ERROR): New macro.
15303 (PSEUDO_RET): Use it.
15304 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15305 Correct save location of integer regs and cr.
15306 (_dl_profile_resolve): Correct cr save location. Delete nops
15307 after bl when SHARED. Reduce cfi size a little by better
15308 placement of cfi directives.
15309 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15310 make a stack frame. Instead use parm save area as a temp.
15311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15312 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15314 Don't make a stack frame for parent, use parm save area.
15315 Increase child stack frame to 112 bytes. Don't save unused reg,
15316 and adjust reg usage. Set up cfi on error recovery and
15317 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15319 (__makecontext): Add dummy nop after jump to exit.
15320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15321 Use correct parm save area and cr save, reduce stack frame.
15322 Correct cfi for possible PSEUDO_RET frame setup.
15323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15324 Branch to local label emitted by PSEUDO_RET rather than
15327 2010-08-12 Andreas Schwab <schwab@redhat.com>
15330 * locale/programs/locale.c (print_assignment): New function.
15331 (show_locale_vars): Use it.
15333 2010-08-11 Ulrich Drepper <drepper@redhat.com>
15335 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15337 (struct statfs64): Likewise.
15338 (_STATFS_F_FLAGS): Define.
15339 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15340 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15341 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15342 (ST_VALID): Define locally.
15343 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15344 __statvfs_getflags, use the provided value.
15345 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15346 __ASSUME_STATFS_F_FLAGS.
15348 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15350 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15351 Add sys/fanotify.h.
15352 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15353 fanotify_mask for GLIBC_2.13.
15354 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15355 fanotify_init and fanotify_mark.
15356 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15357 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15359 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15361 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15362 prlimit64 for GLIBC_2.13.
15363 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15365 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15368 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15369 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15370 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15371 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15373 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15376 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15377 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15379 * nss/Makefile: Add rules to build and run tst-nss-test1.
15380 * shlib-versions: Add entry for libnss_test1.
15381 * nss/nss_test1.c: New file.
15382 * nss/tst-nss-test1.c: New file.
15384 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15385 (__nss_configure_lookup): Set appropriate entry in
15386 __nss_configure_lookup to true.
15387 * nss/nsswitch.h: Define enum with indeces of databases in
15388 databases and __nss_database_custom arrays. Declare
15389 __nss_database_custom.
15390 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15391 to avoid using nscd when custom rules are installed.
15392 * nss/getXXbyYY_r.c: Likewise.
15393 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15395 * nss/nss_files/files-parse.c: Whitespace fixes.
15397 2010-08-09 Ulrich Drepper <drepper@redhat.com>
15400 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15401 * posix/fnmatch_loop.c: Likewise.
15403 2010-07-17 Andi Kleen <ak@linux.intel.com>
15405 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15406 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15407 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15408 * Versions.def [GLIBC_2.13]: Add.
15410 2010-08-06 Ulrich Drepper <drepper@redhat.com>
15412 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15413 Also fail if tpwd after pwuid call is NULL.
15415 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15417 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15418 when converting to ms.
15420 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15422 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15423 EOPNOTSUPP errors with ENOTTY.
15424 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15425 EOPNOTSUPP errors with ENOTTY.
15427 2010-07-31 Ulrich Drepper <drepper@redhat.com>
15429 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15430 Add strcasecmp_l-ssse3.
15431 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15433 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15434 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15435 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15437 2010-07-30 Ulrich Drepper <drepper@redhat.com>
15439 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15441 * string/Makefile (strop-tests): Add strcasecmp.
15442 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15443 strcasecmp_l-nonascii.
15444 (gen-as-const-headers): Add locale-defines.sym.
15445 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15446 * sysdeps/x86_64/strcasecmp.S: New file.
15447 * sysdeps/x86_64/strcasecmp_l.S: New file.
15448 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15449 * sysdeps/x86_64/locale-defines.sym: New file.
15450 * string/test-strcasecmp.c: New file.
15452 * string/test-strcasestr.c: Test both ends of the range of characters.
15453 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15455 2010-07-29 Roland McGrath <roland@redhat.com>
15458 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15460 2010-07-27 Ulrich Drepper <drepper@redhat.com>
15462 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15465 2010-07-27 Andreas Schwab <schwab@redhat.com>
15467 * manual/memory.texi (Malloc Tunable Parameters): Document
15470 2010-07-26 Roland McGrath <roland@redhat.com>
15473 * configure.in (-fgnu89-inline check): Set and substitute
15474 gnu89_inline, not libc_cv_gnu89_inline.
15475 * configure: Regenerated.
15476 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15478 2010-07-26 Ulrich Drepper <drepper@redhat.com>
15480 * string/test-strnlen.c: New file.
15481 * string/Makefile (strop-tests): Add strnlen.
15482 * string/tester.c (test_strnlen): Add a few more test cases.
15483 * string/tst-strlen.c: Better error reporting.
15485 * sysdeps/x86_64/strnlen.S: New file.
15487 2010-07-24 Ulrich Drepper <drepper@redhat.com>
15489 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15490 lower-latency instructions.
15492 2010-07-23 Ulrich Drepper <drepper@redhat.com>
15494 * string/test-strcasestr.c: New file.
15495 * string/test-strstr.c: New file.
15496 * string/Makefile (strop-tests): Add strstr and strcasestr.
15497 * string/str-two-way.h: Don't undefine MAX.
15498 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15500 2010-07-21 Andreas Schwab <schwab@redhat.com>
15502 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15503 strcasestr-nonascii.
15504 (CFLAGS-strcasestr-nonascii.c): Define.
15505 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15506 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15507 Remove unused attribute.
15509 2010-07-20 Roland McGrath <roland@redhat.com>
15511 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15512 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15513 ld.so.cache was broken. With it, there is no way to disable dsocaps
15514 like LD_HWCAP_MASK can disable hwcaps.
15516 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15518 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15520 2010-07-16 Ulrich Drepper <drepper@redhat.com>
15522 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15523 call in strcasestr.
15524 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15525 __strcasestr_sse42_nonascii.
15526 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15527 strcasestr-nonascii.c.
15528 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15530 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
15532 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15533 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15534 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15535 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15537 2010-07-09 Ulrich Drepper <drepper@redhat.com>
15539 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15542 2010-07-06 Andreas Schwab <schwab@redhat.com>
15545 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15548 2010-07-06 Ulrich Drepper <drepper@redhat.com>
15550 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15551 _PC_PIPE_BUF using F_GETPIPE_SZ.
15553 2010-07-05 Roland McGrath <roland@redhat.com>
15555 * manual/arith.texi (Rounding Functions): Fix rint description
15556 implicit in round description.
15558 2010-07-02 Ulrich Drepper <drepper@redhat.com>
15560 * elf/Makefile: Fix linking for a few tests to make recent linker
15563 2010-06-30 Andreas Schwab <schwab@redhat.com>
15565 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15566 $(common-objpfx)libc_nonshared.a.
15568 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
15570 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15571 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15572 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15573 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15574 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15575 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15576 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15577 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
15588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
15590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
15592 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
15593 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15594 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15595 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15596 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15597 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15598 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15599 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15600 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15601 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15602 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15603 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15619 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15621 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15622 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15623 * string/memmove.c (memmove): Renamed to ...
15624 (MEMMOVE): ...this. Default to memmove.
15625 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15626 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15628 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15629 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15630 mempcpy-ssse3-back memmove-ssse3-back.
15631 * sysdeps/x86_64/multiarch/bcopy.S: New file .
15632 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15633 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15634 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15635 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15636 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15637 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15638 * sysdeps/x86_64/multiarch/memmove.c: New file.
15639 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15640 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15641 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15642 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
15643 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
15644 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
15646 (index_Fast_Copy_Backward): Define.
15647 (HAS_ARCH_FEATURE): Define.
15648 (HAS_FAST_REP_STRING): Define.
15649 (HAS_FAST_COPY_BACKWARD): Define.
15651 2010-06-21 Andreas Schwab <schwab@redhat.com>
15653 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15654 Restore proper fallback handling.
15656 2010-06-19 Ulrich Drepper <drepper@redhat.com>
15659 * posix/group_member.c (__group_member): Correct checking loop.
15661 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
15662 OOM in getpwuid_r correctly. Return error number when the caller
15663 should return, otherwise -1.
15664 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
15665 call returning > 0 value.
15666 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
15668 2010-06-07 Andreas Schwab <schwab@redhat.com>
15670 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
15671 libc_nonshared.a from targets in modules-names.
15673 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
15675 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
15678 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
15680 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
15681 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
15682 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
15683 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
15685 2010-06-02 Andreas Schwab <schwab@redhat.com>
15687 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
15689 2010-06-14 Ulrich Drepper <drepper@redhat.com>
15691 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
15693 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15694 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15695 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15696 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15697 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15698 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
15700 2010-06-14 Roland McGrath <roland@redhat.com>
15702 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
15704 2010-06-07 Jakub Jelinek <jakub@redhat.com>
15706 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
15707 __REDIRECT followed by __THROW.
15708 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
15709 * posix/getopt.h (getopt): Likewise.
15711 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15713 * hurd/lookup-at.c (__file_name_lookup_at): Accept
15714 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
15715 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
15717 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
15718 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
15720 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
15722 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
15724 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
15727 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15728 Properly check family and model.
15730 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
15732 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
15734 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
15736 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
15738 2010-05-21 Ulrich Drepper <drepper@redhat.com>
15740 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
15743 2010-05-19 Andreas Schwab <schwab@redhat.com>
15745 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
15748 2010-05-21 Andreas Schwab <schwab@redhat.com>
15750 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
15751 and internal_recvmmsg.
15752 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
15753 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
15754 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
15755 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
15757 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
15758 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15759 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15761 2010-05-20 Andreas Schwab <schwab@redhat.com>
15763 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
15765 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
15767 POWER7 optimizations.
15768 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
15769 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
15771 2010-05-19 Ulrich Drepper <drepper@redhat.com>
15773 * version.h: Update for 2.13 development version.
15775 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
15777 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
15778 exceptions. Return 0.
15780 2010-05-07 Roland McGrath <roland@redhat.com>
15782 * elf/ldconfig.c (main): Add a const.
15784 2010-05-06 Ulrich Drepper <drepper@redhat.com>
15786 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
15787 (args_options): Add no-idn option.
15788 (ahosts_keys_int): Add idn_flags to ai_flags.
15789 (parse_option): Handle 'i' option to clear idn_flags.
15791 * malloc/malloc.c (_int_free): Possible race in the most recently
15792 added check. Only act on the data if no current modification
15795 See ChangeLog.17 for earlier changes.