1 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
5 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
13 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16 2012-05-26 Marek Polacek <polacek@redhat.com>
19 * math/libm-test.inc (fma_test): Don't always expect underflow
22 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25 * elf/tst-execstack.c: Include stackinfo.h.
26 (do_test): Adjust test case to ensure that pthread_getattr_np
27 behaviour remains the same after marking stack executable.
29 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31 * sysdeps/unix/sysv/linux/kernel-features.h
32 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
35 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
44 * configure.in: Define the default includes to being none.
45 * configure: Regenerated.
47 2012-05-25 Roland McGrath <roland@hack.frob.com>
49 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
50 * sysdeps/x86_64/setjmp.S: Likewise.
51 * sysdeps/i386/bsd-setjmp.S: Likewise.
52 * sysdeps/i386/bsd-_setjmp.S: Likewise.
53 * sysdeps/i386/setjmp.S: Likewise.
54 * sysdeps/i386/__longjmp.S: Likewise.
55 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
56 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
58 * include/stap-probe.h: New file.
59 * configure.in: Handle --enable-systemtap.
60 * configure: Regenerated.
61 * config.h.in (USE_STAP_PROBE): New #undef.
62 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
63 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
64 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
66 2012-05-25 Joseph Myers <joseph@codesourcery.com>
69 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
70 to 2.4.0 where earlier.
71 * sysdeps/unix/sysv/linux/configure: Regenerated.
72 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
74 [__ASSUME_32BITUIDS]: Make code unconditional.
75 [!__ASSUME_32BITUIDS]: Remove conditional code.
76 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
78 [__ASSUME_32BITUIDS]: Make code unconditional.
79 [!__ASSUME_32BITUIDS]: Remove conditional code.
80 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
81 [__ASSUME_32BITUIDS]: Make code unconditional.
82 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
83 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
85 [__ASSUME_32BITUIDS]: Make code unconditional.
86 [!__ASSUME_32BITUIDS]: Remove conditional code.
87 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
89 [__ASSUME_32BITUIDS]: Make code unconditional.
90 [!__ASSUME_32BITUIDS]: Remove conditional code.
91 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
93 [__ASSUME_32BITUIDS]: Make code unconditional.
94 [!__ASSUME_32BITUIDS]: Remove conditional code.
95 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
97 [__ASSUME_32BITUIDS]: Make code unconditional.
98 [!__ASSUME_32BITUIDS]: Remove conditional code.
99 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
101 [__ASSUME_32BITUIDS]: Make code unconditional.
102 [!__ASSUME_32BITUIDS]: Remove conditional code.
103 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
105 [__ASSUME_32BITUIDS]: Make code unconditional.
106 [!__ASSUME_32BITUIDS]: Remove conditional code.
107 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
109 [__ASSUME_32BITUIDS]: Make code unconditional.
110 [!__ASSUME_32BITUIDS]: Remove conditional code.
111 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
113 [__ASSUME_32BITUIDS]: Make code unconditional.
114 [!__ASSUME_32BITUIDS]: Remove conditional code.
115 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
117 [__ASSUME_32BITUIDS]: Make code unconditional.
118 [!__ASSUME_32BITUIDS]: Remove conditional code.
119 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
121 [__ASSUME_32BITUIDS]: Make code unconditional.
122 [!__ASSUME_32BITUIDS]: Remove conditional code.
123 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
125 [__NR_setresgid] (__setresgid): Do not declare.
126 [__ASSUME_32BITUIDS]: Make code unconditional.
127 [!__ASSUME_32BITUIDS]: Remove conditional code.
128 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
130 [__NR_setresuid] (__setresuid): Do not declare.
131 [__ASSUME_32BITUIDS]: Make code unconditional.
132 [!__ASSUME_32BITUIDS]: Remove conditional code.
133 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
135 [__ASSUME_32BITUIDS]: Make code unconditional.
136 [!__ASSUME_32BITUIDS]: Remove conditional code.
137 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
139 [__ASSUME_32BITUIDS]: Make code unconditional.
140 [!__ASSUME_32BITUIDS]: Remove conditional code.
141 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
143 [__ASSUME_32BITUIDS]: Make code unconditional.
144 [!__ASSUME_32BITUIDS]: Remove conditional code.
145 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
147 [__ASSUME_32BITUIDS]: Make code unconditional.
148 [!__ASSUME_32BITUIDS]: Remove conditional code.
149 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
151 [__ASSUME_32BITUIDS]: Make code unconditional.
152 [!__ASSUME_32BITUIDS]: Remove conditional code.
153 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
155 [__ASSUME_32BITUIDS]: Make code unconditional.
156 [!__ASSUME_32BITUIDS]: Remove conditional code.
157 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
159 [__ASSUME_32BITUIDS]: Make code unconditional.
160 [!__ASSUME_32BITUIDS]: Remove conditional code.
161 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
163 [__ASSUME_32BITUIDS]: Make code unconditional.
164 [!__ASSUME_32BITUIDS]: Remove conditional code.
165 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
167 [__ASSUME_32BITUIDS]: Make code unconditional.
168 [!__ASSUME_32BITUIDS]: Remove conditional code.
169 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
171 [__ASSUME_32BITUIDS]: Make code unconditional.
172 [!__ASSUME_32BITUIDS]: Remove conditional code.
173 * sysdeps/unix/sysv/linux/kernel-features.h
174 (__ASSUME_SETRESUID_SYSCALL): Remove.
175 (__ASSUME_SETRESGID_SYSCALL): Likewise.
176 (__ASSUME_32BITUIDS): Likewise.
177 (__ASSUME_LDT_WORKS): Likewise.
178 (__ASSUME_O_DIRECTORY): Likewise.
179 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
180 architecture but not kernel version.
181 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
182 (__ASSUME_MMAP2_SYSCALL): Likewise.
183 (__ASSUME_STAT64_SYSCALL): Likewise.
184 (__ASSUME_IPC64): Likewise.
185 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
187 [__ASSUME_32BITUIDS]: Make code unconditional.
188 [!__ASSUME_32BITUIDS]: Remove conditional code.
189 * sysdeps/unix/sysv/linux/opendir.c: Do not include
191 [__ASSUME_O_DIRECTORY]: Make code unconditional.
192 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
193 132096]: Remove conditional code.
194 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
195 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
197 [__ASSUME_32BITUIDS]: Make code unconditional.
198 [!__ASSUME_32BITUIDS]: Remove conditional code.
199 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
201 [__ASSUME_32BITUIDS]: Make code unconditional.
202 [!__ASSUME_32BITUIDS]: Remove conditional code.
203 * sysdeps/unix/sysv/linux/setegid.c: Do not include
205 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
207 (__setresgid): Do not declare.
208 [__ASSUME_32BITUIDS]: Make code unconditional.
209 [!__ASSUME_32BITUIDS]: Remove conditional code.
210 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
212 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
214 (__setresuid): Do not declare.
215 [__ASSUME_32BITUIDS]: Make code unconditional.
216 [!__ASSUME_32BITUIDS]: Remove conditional code.
217 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
219 [__ASSUME_32BITUIDS]: Make code unconditional.
220 [!__ASSUME_32BITUIDS]: Remove conditional code.
221 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
223 [__ASSUME_32BITUIDS]: Make code unconditional.
224 [!__ASSUME_32BITUIDS]: Remove conditional code.
226 2012-05-25 Richard Henderson <rth@twiddle.net>
228 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
229 dl_hwcap to ifunc resolver.
230 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
232 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
233 dl_hwcap to ifunc resolver.
234 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
236 2012-05-24 Joseph Myers <joseph@codesourcery.com>
239 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
240 for |x| <= 2**-26, not 2**-57.
241 * math/libm-test.inc (acos_test): Do not allow spurious underflow
244 2012-05-24 Jeff Law <law@redhat.com>
246 * stdio-common/Makefile (tests): Add bug25.
247 * stdio-common/bug25.c: New test.
249 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
252 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
253 multiple of MALLOC_ALIGNMENT in size.
254 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
256 2012-05-24 Joseph Myers <joseph@codesourcery.com>
258 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
260 (FILENAME_MAX): Use macro-int-constant.
261 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
262 (_IOFBF): Use macro-int-constant.
265 (SEEK_CUR): Likewise.
266 (SEEK_END): Likewise.
267 (SEEK_SET): Likewise.
269 (EOF): Use macro-int-constant. Require < 0.
270 (NULL): Use macro-constant. Require == 0.
271 (stdin): Require type to be FILE *.
274 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
276 (EXIT_SUCCESS): Likewise.
277 (NULL): Use macro-constant. Require == 0.
278 (RAND_MAX): Use macro-int-constant.
279 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
280 [C99-based standards] (strtof): Require function.
281 [C99-based standards] (strtold): Likewise.
282 [C99-based standards] (strtoll): Likewise.
283 [C99-based standards] (strtoull): Likewise.
284 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
285 [ISO || ISO99 || ISO11] (limits.h): Likewise.
286 [ISO || ISO99 || ISO11] (math.h): Likewise.
287 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
288 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
289 [ISO || ISO99 || ISO11] (*_t): Do not allow.
291 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
294 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
295 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
296 * intl/dgettext.c (DCGETTEXT): Likewise.
297 * intl/gettext.c (DCGETTEXT): Likewise.
298 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
299 * posix/regex_internal.h (gettext): Likewise.
300 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
302 * include/argz.h (__argz_count_internal)
303 (__argz_stringify_internal): Remove declaration.
304 (__argz_count, __argz_stringify): Declare hidden proto.
305 * intl/dcgettext.c: Remove use of INTDEF.
306 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
307 * string/argz-stringify.c: Likewise.
308 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
309 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
310 Declare hidden proto.
311 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
312 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
313 Declare hidden proto.
314 * include/stdio.h (__asprintf_internal): Don't declare.
315 (__asprintf): Don't define as macro. Declare hidden proto.
316 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
317 (__fsetlocking): Declare hidden proto.
318 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
319 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
321 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
322 (_IO_setlinebuf): Remove use of INTUSE.
323 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
324 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
325 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
327 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
328 (_IO_do_flush): Remove use of INTUSE.
329 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
330 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
331 (_IO_adjust_column, _IO_least_wmarker)
332 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
333 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
334 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
335 (_IO_default_doallocate, _IO_wdefault_doallocate)
336 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
337 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
338 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
339 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
340 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
341 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
342 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
343 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
344 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
345 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
346 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
347 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
348 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
350 (_IO_flush_all_internal, _IO_adjust_column_internal)
351 (_IO_default_uflow_internal, _IO_default_finish_internal)
352 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
353 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
354 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
355 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
356 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
357 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
358 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
359 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
360 (_IO_file_close_internal, _IO_file_close_it_internal)
361 (_IO_file_underflow_internal, _IO_file_overflow_internal)
362 (_IO_file_init_internal, _IO_file_attach_internal)
363 (_IO_file_fopen_internal, _IO_file_read_internal)
364 (_IO_file_sync_internal, _IO_file_seek_internal)
365 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
366 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
367 (_IO_str_underflow_internal, _IO_str_overflow_internal)
368 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
369 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
370 (_IO_list_all_internal, _IO_link_in_internal)
371 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
372 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
373 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
374 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
375 (_IO_do_write_internal, _IO_padn_internal)
376 (_IO_getline_info_internal, _IO_getline_internal)
377 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
378 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
379 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
380 (_IO_vfscanf_internal, _IO_vfprintf_internal)
381 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
382 (_IO_init_internal, _IO_un_link_internal): Don't declare.
383 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
384 with libc_hidden_ver, remove use of INTUSE.
385 * libio/genops.c: Likewise.
386 * libio/freopen.c: Likewise.
387 * libio/freopen64.c: Likewise.
388 * libio/iofclose.c: Likewise.
389 * libio/iofdopen.c: Likewise.
390 * libio/iofflush.c: Likewise.
391 * libio/iofflush_u.c: Likewise.
392 * libio/iofgets.c: Likewise.
393 * libio/iofgets_u.c: Likewise.
394 * libio/iofopen.c: Likewise.
395 * libio/iofopncook.c: Likewise.
396 * libio/iofread.c: Likewise.
397 * libio/iofread_u.c: Likewise.
398 * libio/ioftell.c: Likewise.
399 * libio/iofwrite.c: Likewise.
400 * libio/iogetline.c: Likewise.
401 * libio/iogets.c: Likewise.
402 * libio/iogetwline.c: Likewise.
403 * libio/iopadn.c: Likewise.
404 * libio/iopopen.c: Likewise.
405 * libio/ioseekoff.c: Likewise.
406 * libio/ioseekpos.c: Likewise.
407 * libio/iosetbuffer.c: Likewise.
408 * libio/iosetvbuf.c: Likewise.
409 * libio/ioungetc.c: Likewise.
410 * libio/ioungetwc.c: Likewise.
411 * libio/iovdprintf.c: Likewise.
412 * libio/iovsprintf.c: Likewise.
413 * libio/iovsscanf.c: Likewise.
414 * libio/memstream.c: Likewise.
415 * libio/obprintf.c: Likewise.
416 * libio/oldfileops.c: Likewise.
417 * libio/oldiofclose.c: Likewise.
418 * libio/oldiofdopen.c: Likewise.
419 * libio/oldiofopen.c: Likewise.
420 * libio/oldiopopen.c: Likewise.
421 * libio/oldstdfiles.c: Likewise.
422 * libio/putc.c: Likewise.
423 * libio/setbuf.c: Likewise.
424 * libio/setlinebuf.c: Likewise.
425 * libio/stdfiles.c: Likewise.
426 * libio/strops.c: Likewise.
427 * libio/vasprintf.c: Likewise.
428 * libio/vscanf.c: Likewise.
429 * libio/vsnprintf.c: Likewise.
430 * libio/vswprintf.c: Likewise.
431 * libio/wfiledoalloc.c: Likewise.
432 * libio/wfileops.c: Likewise.
433 * libio/wgenops.c: Likewise.
434 * libio/wmemstream.c: Likewise.
435 * libio/wstrops.c: Likewise.
436 * libio/__fpurge.c: Likewise.
437 * libio/__fsetlocking.c: Likewise.
438 * assert/assert.c: Likewise.
439 * debug/fgets_chk.c: Likewise.
440 * debug/fgets_u_chk.c: Likewise.
441 * debug/fread_chk.c: Likewise.
442 * debug/fread_u_chk.c: Likewise.
443 * debug/gets_chk.c: Likewise.
444 * debug/obprintf_chk.c: Likewise.
445 * debug/vasprintf_chk.c: Likewise.
446 * debug/vdprintf_chk.c: Likewise.
447 * debug/vsnprintf_chk.c: Likewise.
448 * debug/vsprintf_chk.c: Likewise.
449 * malloc/mtrace.c: Likewise.
450 * misc/error.c: Likewise.
451 * misc/syslog.c: Likewise.
452 * stdio-common/asprintf.c: Likewise.
453 * stdio-common/fxprintf.c: Likewise.
454 * stdio-common/getw.c: Likewise.
455 * stdio-common/isoc99_fscanf.c: Likewise.
456 * stdio-common/isoc99_scanf.c: Likewise.
457 * stdio-common/isoc99_vfscanf.c: Likewise.
458 * stdio-common/isoc99_vscanf.c: Likewise.
459 * stdio-common/isoc99_vsscanf.c: Likewise.
460 * stdio-common/printf-prs.c: Likewise.
461 * stdio-common/printf_fp.c: Likewise.
462 * stdio-common/printf_fphex.c: Likewise.
463 * stdio-common/printf_size.c: Likewise.
464 * stdio-common/putw.c: Likewise.
465 * stdio-common/scanf.c: Likewise.
466 * stdio-common/sprintf.c: Likewise.
467 * stdio-common/tmpfile.c: Likewise.
468 * stdio-common/vfprintf.c: Likewise.
469 * stdio-common/vfscanf.c: Likewise.
470 * stdlib/strfmon_l.c: Likewise.
471 * sunrpc/openchild.c: Likewise.
472 * sunrpc/xdr_stdio.c: Likewise.
473 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
474 * sysdeps/mach/hurd/tmpfile.c: Likewise.
476 2012-05-24 Roland McGrath <roland@hack.frob.com>
478 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
480 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
481 in the third column, to generate for the shared library an IFUNC
482 that uses _dl_vdso_vsym.
483 * Makerules (COMPILE.c, compile-stdin.c): New variables.
484 * Makeconfig (object-suffixes-noshared): New variable.
486 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
487 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
488 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
489 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
492 * include/sys/time.h (__gettimeofday): Remove macro.
493 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
494 * time/gettimeofday.c (__gettimeofday): Remove #undef.
496 (__gettimeofday): Add libc_hidden_def.
497 (gettimeofday): Add libc_hidden_weak.
498 * sysdeps/mach/gettimeofday.c: Likewise.
499 * sysdeps/posix/gettimeofday.c: Likewise.
500 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
501 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
502 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
503 (__gettimeofday_internal): Remove strong_alias.
504 (__gettimeofday): Add libc_hidden_def.
505 (gettimeofday): Add libc_hidden_weak.
506 * sysdeps/unix/syscalls.list (gettimeofday):
507 Remove __gettimeofday_internal alias.
509 2012-05-24 Daniel Jacobowitz <drow@false.org>
510 H.J. Lu <hongjiu.lu@intel.com>
513 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
514 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
515 (largebin_index_32_big): New.
516 (largebin_index): Use it for 16-byte alignment.
517 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
518 correction with front_misalign.
520 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
535 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
537 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
539 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
541 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
545 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
548 * scripts/data/c++-types-x32-linux-gnu.data: New file.
549 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
551 2012-05-24 Joseph Myers <joseph@codesourcery.com>
555 * math/libm-test.inc (exp_test): Add test from bug 14036.
556 (pow_test): Add test from bug 10846.
558 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
560 (special_function): Do not include flags in test name.
561 (parse_args): Likewise.
562 * sysdeps/i386/fpu/libm-test-ulps: Update.
563 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
564 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
565 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
568 * math/gen-libm-test.pl (%beautify): Add entries for underflow
570 * math/libm-test.inc ("Philosophy"): Update comment about
572 (UNDERFLOW_EXCEPTION): New macro.
573 (UNDERFLOW_EXCEPTION_OK): Likewise.
574 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
575 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
576 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
577 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
578 (INVALID_EXCEPTION_OK): Update value.
579 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
580 (OVERFLOW_EXCEPTION_OK): Likewise.
581 (IGNORE_ZERO_INF_SIGN): Likewise.
582 (test_exceptions): Handle underflow exceptions.
583 (acos_test): Update for underflow exception expectations.
584 (cexp_test): Likewise.
585 (clog_test): Likewise.
586 (clog10_test): Likewise.
587 (csqrt_test): Likewise.
588 (ctan_test): Likewise.
589 (ctanh_test): Likewise.
590 (exp_test): Likewise.
591 (exp10_test): Likewise.
592 (exp2_test): Likewise.
593 (expm1_test): Likewise.
594 (fma_test): Likewise.
597 (nexttoward_test): Likewise.
598 (pow_test): Likewise.
599 (scalbn_test): Likewise.
600 (scalbln_test): Likewise.
601 (tan_test): Likewise.
603 * sysdeps/i386/fpu/libm-test-ulps: Update.
604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
606 2012-05-23 David S. Miller <davem@davemloft.net>
608 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
609 (__libc_sigaction): Remove unused local variables.
611 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
613 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
615 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
617 mktime: avoid signed integer overflow
618 * time/mktime.c (__mktime_internal): Do not mishandle the case
619 where diff == INT_MIN.
621 mktime: simplify computation of average
622 * time/mktime.c (ranged_convert): Use new time_t_avg function
623 instead of rolling our own (probably-slower) code.
625 mktime: do not assume signed right shift propagates sign bit
626 * time/mktime.c (isdst_differ): New static function.
627 (__mktime_internal): No need to normalize tm_isdst now.
628 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
631 mktime: merge another wrapv change from gnulib
632 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
635 mktime: remove incorrect attempt at unusual arithmetics
636 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
637 The code didn't really work on such machines anyway.
638 (TYPE_MINIMUM): Assume two's complement.
639 (twos_complement_arithmetic): Verify that long_int and time_t
640 are two's complement (or unsigned, in the latter case).
642 mktime: check signed shifts on long_int and time_t, too
643 * time/mktime.c (SHR): Check that shifts work as desired
644 on the types long_int and time_t too, as SHR is used on
647 mktime: do not assume 'long' is wide enough
648 * time/mktime.c (verify): Move decl up.
649 (long_int): New type.
650 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
651 to remove assumption in the code that 'long' is wide enough to
652 store year values. This assumption is not true on x32 and on
653 some non-glibc platforms.
655 mktime: merge wrapv change from gnulib
656 * time/mktime.c (WRAPV): New macro.
657 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
658 (guess_time_tm, __mktime_internal): Do not assume that signed
659 integer overflow wraps around; modern compilers generate code
660 where this assumption is no longer valid.
662 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
664 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
665 Replace "jmp L(pseudo_end)" with "ret".
666 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
669 2012-05-23 Andreas Jaeger <aj@suse.de>
671 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
672 * sysdeps/unix/sysv/linux/poll.c: Remove file.
674 2012-05-23 Andreas Jaeger <aj@suse.de>
675 Maximilian Attems <max@stro.at>
677 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
680 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
682 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
683 code so that pseudo_end is just ret and the stack pointer is
684 correct also for static library in error case.
686 2012-05-23 Joseph Myers <joseph@codesourcery.com>
688 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
689 move to syscalls.list.
690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
695 * manual/install.texi (Running make install): Do not mention Linux
696 kernel version for which pt_chown is not needed.
697 (Linux): Do not mention problems with nscd with 2.0 kernels.
698 * INSTALL: Regenerated.
700 2012-05-23 Andreas Jaeger <aj@suse.de>
702 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
703 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
705 * sysdeps/unix/sysv/linux/s390/bits/mman.h
706 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
707 * sysdeps/unix/sysv/linux/sh/bits/mman.h
708 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
709 * sysdeps/unix/sysv/linux/i386/bits/mman.h
710 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
711 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
712 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
713 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
714 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
715 * sysdeps/unix/sysv/linux/bits/in.h
716 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
718 2012-05-22 Roland McGrath <roland@hack.frob.com>
720 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
721 (PREPARE_VERSION): Just use assert instead, it will be elided
722 under [NDEBUG] anyway.
724 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
726 * sysdeps/unix/sysv/linux/Makefile: Include
727 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
728 (sysdep_routines): Remove sysctl.
729 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
730 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
731 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
732 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
733 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
735 2012-05-22 Andreas Jaeger <aj@suse.de>
737 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
738 that pseudo_end is just ret and the stack pointer is correct also
739 for static library in error case.
741 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
744 * nss/nsswitch.c (defconfig_entries): New variable.
745 (__nss_database_lookup): Don't leak defconfig entries.
746 (nss_parse_service_list): Don't leak on error paths.
747 (free_database_entries): New function.
748 (free_defconfig): New function.
749 (free_mem): Move common code to free_database_entries.
751 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
753 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
755 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
757 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
758 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
759 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
761 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
762 (INTERNAL_SYSCALL_TYPES): Likewise.
763 (LOAD_ARGS_TYPES_[1-6]): Likewise.
764 (LOAD_REGS_TYPES_[1-6]): Likewise.
765 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
766 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
768 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
770 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
771 copysignl for GLIBC_2_0.
772 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
773 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
774 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
776 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
777 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
779 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
781 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
782 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
784 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
787 * time/mktime.c: Update copyright years.
789 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
791 mktime: merge comment-quoting-style change from gnulib
792 * time/mktime.c: Quote 'like this' in comments.
793 The GNU coding standards suggest that we no longer quote `like this',
794 as "`" and "'" are typically rendered asymmetrically nowadays.
795 The typical gnulib style is to quote 'like this' when quoting
796 code, and "like this" when quoting English.
798 * time/mktime.c (compile-command): Add "-I.".
800 mktime: merge mktime-internal.h change from gnulib
801 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
803 mktime: merge time_r change from gnulib
804 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
806 mktime: merge DEBUG change from gnulib
807 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
808 case system <time.h> has a #define.
810 mktime: merge <sys/types.h> change from gnulib
811 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
812 since <time.t> is now guaranteed to define time_t.
814 mktime: merge HAVE_CONFIG_H change from gnulib
815 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
817 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
819 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
822 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
824 (struct rusage): Use anonymous union to pad each field to
827 2012-05-21 David S. Miller <davem@davemloft.net>
829 * Makefules (o-iterator): Remove .s cases.
830 (compile-command.s): Delete.
832 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
834 2012-05-21 Joseph Myers <joseph@codesourcery.com>
836 * configure.in (libc_cv_predef_stack_protector): Only consider
837 "foobar" and "__stack_chk_fail" lines in libc_undefs.
838 * configure: Regenerated.
840 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
842 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
843 New macro. Use R*LP on int and pointer.
844 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
845 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
846 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
847 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
849 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
850 [__WORDSIZE_TIME64_COMPAT32] instead of
851 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
852 (struct utmp): Likewise.
853 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
854 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
856 (__WORDSIZE_TIME64_COMPAT32): This.
857 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
858 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
859 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
860 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
861 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
862 (__WORDSIZE_TIME64_COMPAT32): New macro.
864 2012-05-21 Andreas Jaeger <aj@suse.de>
866 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
867 only if [SHARED]. Add prototype for __wcschr_ia32.
869 2012-05-21 Roland McGrath <roland@hack.frob.com>
871 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
872 of %rbp unmolested in the jmp_buf while mangling the low bits.
873 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
874 unmolested high bits of %rbp while demangling the low bits.
875 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
877 2012-05-21 Andreas Jaeger <aj@suse.de>
879 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
880 * sunrpc/svc_simple.c: Use it for registerrpc.
881 * sunrpc/xcrypt.c: Use it for passwd2des.
883 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
885 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
887 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
888 Don't define if [__SYSCALL_WORDSIZE != 32].
889 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
892 2012-05-21 Bruno Haible <bruno@clisp.org>
893 Andreas Jaeger <aj@suse.de>
895 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
896 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
897 inptr and inend for must_buffer_ch.
898 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
899 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
900 * stdio-common/Makefile (tests): Remove bug15.
901 (bug15-ENV): Remove macro.
902 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
905 2012-05-19 Andreas Jaeger <aj@suse.de>
906 Roland McGrath <roland@hack.frob.com>
908 * manual/contrib.texi: Completely rewritten. It contains now an
909 alphabetical list of contributors and their contributions.
911 2012-05-21 Richard Henderson <rth@twiddle.net>
913 * misc/getauxval.c (__getauxval): Use unsigned long int.
914 * misc/sys/auxv.h: Include <sys/cdefs.h>.
915 (getauxval): Use unsigned long int.
917 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
919 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
921 2012-05-21 Roland McGrath <roland@hack.frob.com>
923 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
924 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
925 __alignof__ (long double).
927 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
931 2012-05-20 Richard Henderson <rth@twiddle.net>
933 * misc/getauxval.c: New file.
934 * misc/sys/auxv.h: New file.
935 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
936 (routines): Add getauxval.
937 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
938 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
939 * elf/dl-sysdep.c (_dl_auxv): Remove.
940 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
941 * elf/dl-support.c (_dl_auxv): New variable.
942 (_dl_aux_init): Initialize it.
943 * manual/startup.texi (Auxiliary Vector): New node.
944 * sysdeps/generic/bits/hwcap.h: New file.
945 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
946 * sysdeps/powerpc/sysdep.h: ... here. Include it.
947 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
948 * sysdeps/sparc/sysdep.h: ... here. Include it.
949 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
950 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
956 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
962 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
966 2012-05-19 David S. Miller <davem@davemloft.net>
968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
970 2012-05-19 Joseph Myers <joseph@codesourcery.com>
973 * math/s_ccosh.c: Include <float.h>
974 (__ccosh): Avoid internal overflow calculating sinh and cosh
975 values before multiplying by sin and cos values.
976 * math/s_ccoshf.c: Likewise.
977 * math/s_ccoshl.c: Likewise.
978 * math/s_csin.c: Likewise.
979 * math/s_csinf.c: Likewise.
980 * math/s_csinl.c: Likewise.
981 * math/s_csinh.c: Likewise.
982 * math/s_csinhf.c: Likewise.
983 * math/s_csinhl.c: Likewise.
984 * math/libm-test.inc (ccos_test): Add more tests.
985 (ccosh_test): Likewise.
986 (csin_test): Likewise.
987 (csinh_test): Likewise.
988 * sysdeps/i386/fpu/libm-test-ulps: Update.
989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
991 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
993 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
994 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
996 * sysdeps/x86_64/x32/_itoa.h: Add comment.
998 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1000 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1001 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1002 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1003 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1004 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1005 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1006 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1007 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1008 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1009 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1010 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1011 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1012 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1013 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1014 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1015 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1016 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1017 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1018 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1019 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1020 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1021 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1022 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1023 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1024 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1025 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1026 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1027 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1028 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1029 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1030 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1032 2012-05-18 Andreas Jaeger <aj@suse.de>
1034 * csu/.gitignore: Delete.
1036 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1038 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1039 (timex): Use __syscall_slong_t.
1041 2012-05-18 Andreas Jaeger <aj@suse.de>
1042 Carlos O'Donell <carlos_odonell@mentor.com>
1044 * manual/install.texi (Configuring and compiling): Update
1045 description about files modified in the source directory.
1046 * INSTALL: Regenerated.
1048 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1050 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1051 value. Use "or" to set return value to -1.
1052 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1053 negate return value.
1055 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1057 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1058 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1059 failure if the compiler has Graphite support disabled.
1060 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1062 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1063 CFLAGS-memmove.c): Likewise.
1064 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1067 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1069 * sysdeps/x86_64/x32/_itoa.h: New file.
1071 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1072 getdents system call only if kernel and user dirents have the
1073 same d_ino and d_off.
1075 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1076 LLONG_MAX != LONG_MAX.
1077 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1078 (_fitoa_word): Likewise.
1080 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1082 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1083 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1084 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1086 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1087 include <bits/wordsize.h>. Check __x86_64__ instead of
1089 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1090 if __x86_64__ is defined. Use anonymous union on fpstate.
1092 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1095 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1097 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1098 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1099 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1100 Refer to _rtld_local_ro instead of _rtld_global_ro.
1101 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1103 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1105 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1107 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1108 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1109 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1111 * sysdeps/powerpc/powerpc32/dl-machine.c
1112 (__elf_machine_runtime_setup) [PROF]: Don't reference
1115 2012-05-18 Andreas Jaeger <aj@suse.de>
1117 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1118 function only available for GCCs before 3.4 since GCC 3.4
1119 introduced a builtin.
1121 (llrintf): Likewise.
1129 (nearbyint): Likewise.
1130 (nearbyintf): Likewise.
1136 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1138 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1139 on both fields and cast pointer to __syscall_ulong_t.
1141 * bits/types.h (__fsword_t): New type.
1142 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1143 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1144 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1145 (__FSWORD_T_TYPE): Likewise.
1146 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1147 (__FSWORD_T_TYPE): Likewise.
1148 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1149 (__FSWORD_T_TYPE): Likewise.
1150 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1151 (__FSWORD_T_TYPE): Likewise.
1152 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1153 __SWORD_TYPE with __fsword_t.
1154 (statfs64): Likewise.
1156 2012-05-17 David S. Miller <davem@davemloft.net>
1158 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1160 2012-05-17 Andreas Jaeger <aj@suse.de>
1162 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1165 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1167 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1169 2012-05-17 Andreas Jaeger <aj@suse.de>
1171 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1174 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1176 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1178 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1180 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1181 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1183 2012-05-17 Andreas Jaeger <aj@suse.de>
1184 Carlos O'Donell <carlos_odonell@mentor.com>
1187 * sysdeps/x86_64/multiarch/init-arch.h
1188 (bit_YMM_Usable): Rename to...
1189 (bit_AVX_Usable): ... this.
1190 (bit_FMA4_Usable): New macro.
1191 (bit_XMM_state): New macro.
1192 (bit_YMM_state): New macro.
1193 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1194 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1195 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1196 (CPUID_OSXSAVE): New macro.
1197 (CPUID_AVX): New macro.
1198 (CPUID_FMA4): New macro.
1199 (index_YMM_Usable): Rename to...
1200 (index_AVX_Usable): ... this.
1201 (HAS_AVX): Use HAS_ARCH_FEATURE.
1202 (HAS_FMA4): Likewise.
1203 (HAS_YMM_USABLE): Remove.
1204 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1205 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1207 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1208 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1209 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1210 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1211 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1213 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1215 * math/libm-test.c: Support platforms without multiple rounding modes.
1216 * math/bug-nextafter.c: Support platforms without FP exceptions.
1217 * math/bug-nexttoward.c: Likewise.
1218 * math/test-fenv.c: Likewise.
1219 * math/test-misc.c: Likewise.
1220 * stdlib/bug-getcontext.c: Likewise.
1222 2012-05-17 Andreas Jaeger <aj@suse.de>
1224 * manual/examples/search.c (critter_cmp): Change signature to
1226 * manual/string.texi (Collation Functions): Likewise.
1228 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1230 * bits/types.h: Fold copyright years.
1231 * bits/typesizes.h: Likewise.
1232 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1233 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1234 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1235 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1236 * time/time.h: Likewise.
1238 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1241 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1242 in instead of returning them. Return void.
1243 (__libc_mallinfo): Accumulate over all arenas.
1244 (__malloc_stats): Adjust for change in int_mallinfo interface.
1246 2012-05-16 Roland McGrath <roland@hack.frob.com>
1249 * configure.in (NM): Add AC_CHECK_TOOL for it.
1250 (libc_extra_cflags): New substituted variable.
1251 Check for -fstack-protector being used implicitly.
1252 * configure: Regenerated.
1253 * config.make.in (config-extra-cflags): New variable,
1254 gets @libc_extra_cflags@.
1255 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1258 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1259 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1260 * configure: Regenerated.
1261 * config.make.in (CPPUNDEFS): New substituted variable.
1262 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1263 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1264 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1266 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1268 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1269 (mq_attr): Use __syscall_slong_t.
1271 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1273 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1274 Check __x86_64__ instead of __WORDSIZE.
1275 (_STAT_VER_LINUX): Likewise.
1276 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1277 __syscall_ulong_t and __syscall_slong_t.
1280 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1282 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1284 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1286 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1288 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1290 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1293 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1294 include <bits/wordsize.h>. Check __x86_64__ instead of
1296 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1298 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1300 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1301 include <bits/wordsize.h>. Check __x86_64__ instead of
1303 (user_regs_struct): Use "__extension__ unsigned long long"
1304 instead of "unsigned long" if __x86_64__ is defined.
1305 (user): Likewise. Pad after pointer field if __ILP32__ is
1308 2012-05-16 Joseph Myers <joseph@codesourcery.com>
1310 * configure.in (makeinfo): Require version 4.5 or later. Allow
1312 * configure: Regenerated.
1313 * manual/install.texi (texinfo): Increase version requirement to
1315 * INSTALL: Regenerated.
1317 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1319 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1321 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1323 * sysdeps/x86_64/x32/ffs.c: New file.
1325 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1327 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1328 defined. Use __syscall_ulong_t.
1329 (shminfo): Use __syscall_ulong_t.
1330 (shm_info): Likewise.
1332 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1335 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1337 (msgqnum_t): Use __syscall_ulong_t.
1338 (msglen_t): Likewise.
1339 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1342 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1343 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1345 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1347 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1348 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1350 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1353 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1354 include <bits/wordsize.h>. Check __x86_64__ instead of
1357 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1358 "unsigned long long int" if __x86_64__ is defined.
1359 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1361 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1362 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1363 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1365 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1367 (GET_PC): Cast to uintptr_t first.
1368 (GET_FRAME): Likewise.
1369 (GET_STACK): Likewise.
1371 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1372 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1373 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1374 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1375 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1376 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1377 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1378 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1379 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1380 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1381 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1382 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1383 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1384 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1385 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1386 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1387 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1388 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1389 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1390 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1391 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1392 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1393 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1394 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1395 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1396 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1397 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1398 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1399 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1401 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1403 * Makerules (+depfiles): Also collect depfiles from .oS in
1405 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1406 .oS, $(libnldbl-routines)).
1408 * Makerules (native-compile-mkdep-flags): Define.
1409 * sunrpc/Makefile (extra-objs): Add $(addprefix
1410 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1411 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1412 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1413 calling $(make-target-directory).
1415 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1417 * bits/types.h (__snseconds_t): Removed.
1418 * time/time.h (struct timespec): Replace __snseconds_t with
1420 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1421 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1423 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1424 (__SNSECONDS_T_TYPE): Likewise.
1425 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1426 (__SNSECONDS_T_TYPE): Likewise.
1427 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1428 (__SNSECONDS_T_TYPE): Likewise.
1430 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1432 * sysdeps/mach/hurd/bits/typesizes.h
1433 (__SYSCALL_SLONG_TYPE): New macro.
1434 (__SYSCALL_ULONG_TYPE): Likewise.
1436 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1438 * bits/types.h (__syscall_slong_t): New type.
1439 (__syscall_ulong_t): Likewise.
1441 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1442 (__SYSCALL_ULONG_TYPE): Likewise.
1443 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1444 (__SYSCALL_SLONG_TYPE): Likewise.
1445 (__SYSCALL_ULONG_TYPE): Likewise.
1446 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1447 (__SYSCALL_SLONG_TYPE): Likewise.
1448 (__SYSCALL_ULONG_TYPE): Likewise.
1449 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1450 (__SYSCALL_SLONG_TYPE): Likewise.
1451 (__SYSCALL_ULONG_TYPE): Likewise.
1453 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1455 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1456 Add sigaltstack-offsets.sym.
1457 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1458 <sigaltstack-offsets.h>.
1459 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1460 longjmp_msg pointer.
1461 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1462 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1464 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1466 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1468 * elf/stackguard-macros.h: Remove file.
1469 * sysdeps/generic/stackguard-macros.h: New file.
1470 * sysdeps/i386/stackguard-macros.h: Likewise.
1471 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1472 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1473 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1474 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1475 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1476 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1477 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1478 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1479 <elf/stackguard-macros.h>.
1482 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1483 __aligned__ in attribute.
1484 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1485 (gregset_t): Likewise.
1487 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1489 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1490 * sysdeps/x86_64/64/Implies-after: Here. New file.
1491 * sysdeps/x86_64/x32/Implies-after: New file.
1493 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1495 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1496 and access return value for _dl_profile_fixup. Use R10_LP to
1499 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1501 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1503 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1505 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1506 * sysdeps/x86_64/x32/sysdep.h: New file.
1508 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1510 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1511 * sysdeps/x86_64/setjmp.S: Likewise.
1513 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1515 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1516 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1517 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1518 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1519 remove unused global constant.
1521 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1523 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1524 include of <not-cancel.h>.
1526 2012-05-15 Roland McGrath <roland@hack.frob.com>
1528 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1530 2012-05-15 Jeff Law <law@redhat.com>
1531 Andreas Jaeger <aj@suse.de>
1534 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1536 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1537 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1538 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1539 code changing __hst_map_handle.map.
1541 2012-05-15 Roland McGrath <roland@hack.frob.com>
1543 * configure.in (sysnames): Look for Implies-before and Implies-after
1545 * configure: Regenerated.
1547 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1549 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1550 8-byte data alignment with LP_SIZE alignment.
1552 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1554 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1557 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1559 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1561 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1563 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1564 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1565 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1567 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1569 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1571 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1572 (stackinfo_sub_sp): Likewise.
1574 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1576 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1579 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1581 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1584 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1586 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1589 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1591 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1593 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1595 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1596 into R11_LP and load __x86_64_shared_cache_size_half into
1599 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1601 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1604 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1606 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1608 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1610 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1612 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1613 powerpc32/power7/fpu/s_logb.c via #include.
1614 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1615 powerpc32/power7/fpu/s_logbf.c via #include.
1616 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
1617 powerpc32/power7/fpu/s_logbl.c via #include.
1619 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1621 * README.libm: Remove file.
1623 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1625 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1626 count for x32. Use R*_LP and omit operand-size suffix.
1628 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1630 * shlib-versions: Move x86_64-.*-linux.* entries to ...
1631 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1632 * sysdeps/x86_64/x32/shlib-versions: New file.
1634 2012-05-14 Roland McGrath <roland@hack.frob.com>
1636 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1637 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1638 Use _dl_fatal_printf instead.
1640 2012-05-14 Joseph Myers <joseph@codesourcery.com>
1642 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1643 set if not set by the user. Do not allow for being unset.
1644 * sysdeps/unix/sysv/linux/configure: Regenerated.
1646 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1648 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1649 the `q' suffix from lea and replace .quad with ASM_ADDR.
1651 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1653 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1654 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1656 (PTR_DEMANGLE): Likewise.
1658 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1660 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1662 (ASM_ADDR): Likewise.
1680 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1682 * sysdeps/x86_64/x32/dl-machine.h: New file.
1684 2012-05-14 Andreas Jaeger <aj@suse.de>
1686 * manual/Makefile (subdir): Remove export of subdir.
1687 (all): Remove target.
1688 (.PHONY): Remove all from list.
1689 (mkinstalldirs): Remove.
1690 (.PHONY): Remove installdirs from list.
1691 ($(inst_infodir)/libc.info): Use make-target-directory.
1692 (installdirs): Remove.
1694 (glibc-targets): Remove.
1697 ($(objpfx)stubs ../po/manual.pot): Remove.
1698 ($(objpfx)stamp%): Remove.
1699 (make-target-directory): Remove.
1700 (subdir_install): Remove.
1708 * manual/.gitignore: Remove, it's not needed anymore.
1709 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
1711 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
1713 (texis): Renamed to $(objpfx)texis.
1714 (texis-path): New, contains path to generated files.
1715 (chapters.%): Use texis-path for complete path, add extra argument
1717 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
1718 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
1719 (summary,texi, stamp-summary): Use complete path of
1720 files. Generate files in build dir.
1721 (dir-add.texi): Build in build dir.
1722 (libm-err.texi,stamp-libm-err): Likewise.
1723 (version.texi, stamp-version): Likewise.
1724 (.%c.texi): Likewise.
1725 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
1726 (mostlyclean): Remove target.
1727 (realclean): Remove target.
1728 (generated): Add new variable with contents from mostlyclean and
1729 realclean, remove entries duplicated in common-mostlyclean, add
1730 stamp-libm-err and stamp-version.
1731 (generated-dirs): Add libc directory.
1732 ($(inst_infodir)/libc.info): Install files from build dir.
1734 * manual/install.texi (Configuring and compiling): Adjust since
1735 the info files are not part of the tar ball anymore.
1737 2012-05-14 Andreas Jaeger <aj@suse.de>
1739 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
1742 2012-05-14 Joseph Myers <joseph@codesourcery.com>
1745 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1746 to 2.2.0 where earlier.
1747 * sysdeps/unix/sysv/linux/configure: Regenerated.
1748 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
1749 Remove conditional code.
1750 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
1751 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
1752 Remove conditional code.
1753 [!__NR_lchown]: Likewise.
1754 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1755 [__NR_lchown]: Likewise.
1756 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
1757 comment referencing __ASSUME_LCHOWN_SYSCALL.
1758 * sysdeps/unix/sysv/linux/i386/sigaction.c
1759 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1760 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1761 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
1762 Remove conditional code.
1763 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
1764 (__protocol_available): Remove #if 0 code.
1765 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
1767 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
1768 * sysdeps/unix/sysv/linux/kernel-features.h
1769 (__ASSUME_GETCWD_SYSCALL): Don't define.
1770 (__ASSUME_REALTIME_SIGNALS): Likewise.
1771 (__ASSUME_PREAD_SYSCALL): Likewise.
1772 (__ASSUME_PWRITE_SYSCALL): Likewise.
1773 (__ASSUME_POLL_SYSCALL): Likewise.
1774 (__ASSUME_LCHOWN_SYSCALL): Likewise.
1775 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
1777 (__ASSUME_SIOCGIFNAME): Don't define.
1778 (__ASSUME_MSG_NOSIGNAL): Likewise.
1779 (__ASSUME_SENDFILE): Define unconditionally.
1780 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
1781 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
1783 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
1784 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
1785 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1786 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1787 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
1788 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1789 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
1791 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1792 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1794 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1795 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
1797 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1798 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1800 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1801 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
1803 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1804 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1806 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1807 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
1809 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1810 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1812 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1813 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1814 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
1815 Remove conditional code.
1816 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1817 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1818 Remove conditional code.
1819 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1820 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
1821 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
1822 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1823 Remove conditional code.
1824 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1825 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
1826 Remove conditional code.
1827 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1828 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
1829 Remove conditional code.
1830 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1831 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1832 Remove conditional code.
1833 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1834 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1835 Remove conditional code.
1836 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1837 * sysdeps/unix/sysv/linux/sh/pwrite64.c
1838 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1839 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1840 * sysdeps/unix/sysv/linux/sigaction.c
1841 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1842 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1843 * sysdeps/unix/sysv/linux/sigpending.c
1844 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1845 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1846 * sysdeps/unix/sysv/linux/sigprocmask.c
1847 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1848 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1849 * sysdeps/unix/sysv/linux/sigsuspend.c
1850 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1851 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1852 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1853 (__libc_missing_rt_sigs): Remove.
1854 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
1855 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
1856 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
1857 Remove conditional code.
1858 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
1859 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
1861 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
1862 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
1863 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
1864 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
1866 2012-05-14 Andreas Jaeger <aj@suse.de>
1868 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
1869 it's not used in glibc.
1870 (__coshm1): Likewise.
1871 (__acosh1p): Likewise.
1874 * manual/string.texi (Copying and Concatenation): Add missing
1875 variable in concat example.
1876 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1878 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1881 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
1882 __builtin_clzl with __builtin_clzll.
1884 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1887 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
1890 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1892 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
1893 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
1894 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
1895 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
1897 2012-05-14 Mike Frysinger <vapier@gentoo.org>
1899 * NEWS: Update ia64 info.
1901 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
1903 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
1906 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
1908 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
1909 * sysdeps/unix/syscalls.list (dup3): Likewise.
1910 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1911 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1913 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1915 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1916 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1918 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1920 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1922 (TLS_IE): Use mov/add instead of movq/addq to load thread
1924 (TLS_GD_PREFIX): New.
1927 2012-05-11 David S. Miller <davem@davemloft.net>
1929 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1930 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1931 (_FPU_SETCW): Likewise.
1933 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1935 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1938 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1941 * iconvdata/gb18030.c: Update tables.
1942 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1943 characters specially.
1944 (BODY for TO_LOOP): Add encoding of missing ranges.
1946 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1949 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1950 * sysdeps/mach/hurd/dup3.c: Likewise.
1951 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1952 * sysdeps/powerpc/memmove.c:: Likewise.
1954 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1956 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1957 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1959 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1961 * elf/elf.h (R_X86_64_RELATIVE64): New.
1962 (R_X86_64_NUM): Updated.
1963 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1964 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
1965 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1966 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1967 tst-quad1pie tst-quad2pie
1968 (modules-names): Add tst-quadmod1 tst-quadmod2.
1969 ($(objpfx)tst-quad1): New dependency.
1970 ($(objpfx)tst-quad2): Likewise.
1971 ($(objpfx)tst-quad1pie): Likewise.
1972 ($(objpfx)tst-quad2pie): Likewise.
1973 * sysdeps/x86_64/tst-quad1.c: New file.
1974 * sysdeps/x86_64/tst-quad1pie.c: New file.
1975 * sysdeps/x86_64/tst-quad2.c: Likewise.
1976 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1977 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1978 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1979 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1980 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1982 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1984 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1985 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1986 * streams/stropts.h (t_scalar_t): Define type.
1988 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1989 (_PATH_PRESERVE): Set to "/var/lib".
1990 (_PATH_RWHODIR): Set to "/var/spool/rwho".
1992 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1995 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1996 if __dir_mkfile succeeded.
1998 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1999 checking for _hurd_dtablesize. Unlock it right after having
2000 finished _hurd_dtable allocation.
2002 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2004 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2005 * sysdeps/mach/hurd/configure: Regenerated.
2006 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2007 special-casing to...
2008 * sysdeps/gnu/configure.in: ... this new file.
2009 * sysdeps/unix/sysv/linux/configure: Regenerated.
2010 * sysdeps/gnu/configure: New generated file.
2012 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2013 for Linux: use nsec instead of usec, as well as:
2014 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2015 members of type struct timespec.
2016 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2018 (struct stat64): Likewise.
2019 (_STATBUF_ST_NSEC): New macro.
2020 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2022 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2023 __strtoul_internal rather than strtoul.
2025 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2027 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2030 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2032 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2033 which preserves existing values.
2034 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2036 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2038 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2039 TIMEOUT values. Return EINVAL for NFDS values either negative or
2040 greater than FD_SETSIZE.
2042 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2044 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2045 allocated, call __vm_protect to finish enabling the existing space, and
2046 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2047 allocate the remainder.
2049 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2051 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2052 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2054 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2056 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2057 sysdeps/mach/hurd/readlink.c.
2059 * posix/tst-sysconf.c (posix_options): Only use
2060 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2061 _POSIX_SYNCHRONIZED_IO when they are defined
2062 * sysdeps/mach/hurd/bits/posix_opt.h:
2063 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2064 (_XOPEN_REALTIME): Undefine macro.
2065 (_XOPEN_REALTIME_THREADS): Undefine macro.
2066 (_XOPEN_SHM): Undefine macro.
2067 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2069 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2071 (_POSIX_ASYNC_IO): Undefine macro.
2072 (_POSIX_PRIORITIZED_IO): Undefine macro.
2073 (_POSIX_SPIN_LOCKS): Define macro to -1.
2075 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2076 SA_NODEFER, SA_RESETHAND.
2077 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2078 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2081 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2083 * elf/Makefile (pldd-modules): Define unconditionally.
2085 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2087 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2089 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2091 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2092 Return ENOENT when name is empty.
2093 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2095 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2097 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2099 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2101 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2103 Fix mlock in all cases except non-readable pages.
2104 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2105 instead of VM_PROT_ALL as parameter to __vm_wire function.
2107 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2108 (__mkdir): When path is `/', just fail with EEXIST.
2109 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2111 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2113 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2114 <sys/uio.h> (for writev).
2115 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2116 and <sys/param.h> (for MIN).
2118 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2120 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2121 REQUESTED_TIME. Properly set the remaining time and return EINTR
2124 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2126 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2127 Depend on against $(link-rpcuserlibs).
2129 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2131 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2132 (__libc_stack_end): Do not use attribute_relro.
2133 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2134 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
2135 to libthread-provided value.
2136 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2139 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2142 * bits/libc-lock.h (__libc_once_get): New macro.
2143 * sysdeps/mach/bits/libc-lock.h: Likewise.
2144 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2145 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2146 instead of using implementation details.
2148 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2149 * libio/freopen.c: Likewise.
2150 * libio/freopen64.c: Likewise.
2151 * misc/syslog.c: Likewise.
2152 * nscd/connections.c: Likewise.
2153 * nscd/netgroupcache.c: Likewise.
2154 * sysdeps/posix/getcwd.c: Likewise.
2156 2012-05-10 Roland McGrath <roland@hack.frob.com>
2158 * math/w_ilogbf.c: Add #include <limits.h>.
2160 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2162 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
2163 path instead of returning without unlocking.
2165 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2166 immediate-write ioctls.
2167 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2169 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2171 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2172 __builtin_frame_address instead of making assumptions about the
2173 location of the return address relative to DATA. Force early load of
2175 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2176 __builtin_frame_address.
2179 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2180 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2181 implement dup3 and do some further code clean-ups.
2182 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2183 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2185 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2187 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2189 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2190 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2191 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2192 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2193 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2196 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2197 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2198 when handler == SIG_ERR, not when handler != SIG_ERR.
2200 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2202 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2203 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2206 accept4 for GNU Hurd.
2207 * include/sys/socket.h (__libc_accept4): New prototype.
2208 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2209 to implement __libc_accept4.
2210 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2212 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2214 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2215 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2216 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2219 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2221 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
2223 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2225 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2226 assertion on O_CLOEXEC flag.
2227 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2228 * hurd/intern-fd.c: Likewise.
2229 * hurd/port2fd.c: Likewise.
2231 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2234 * bits/in.h (IPV6_PKTINFO): Define new macro.
2235 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2237 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2242 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2243 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2244 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2245 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2246 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2247 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2248 * math/libm-test.inc (logb_test) : Additional logb tests.
2250 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2251 Andreas Jaeger <aj@suse.de>
2253 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2254 * configure: Regenerated.
2255 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2256 * config.make.in (link-obsolete-rpc): New substituted variable.
2257 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2258 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2259 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2260 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2261 so that libc.a contains the symbols.
2262 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2263 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2264 * sunrpc/auth_none.c: Likewise.
2265 * sunrpc/auth_unix.c: Likewise.
2266 * sunrpc/authdes_prot.c: Likewise.
2267 * sunrpc/authuxprot.c: Likewise.
2268 * sunrpc/clnt_gen.c: Likewise.
2269 * sunrpc/clnt_perr.c: Likewise.
2270 * sunrpc/clnt_raw.c: Likewise.
2271 * sunrpc/clnt_simp.c: Likewise.
2272 * sunrpc/clnt_tcp.c: Likewise.
2273 * sunrpc/clnt_udp.c: Likewise.
2274 * sunrpc/clnt_unix.c: Likewise.
2275 * sunrpc/des_crypt.c: Likewise.
2276 * sunrpc/des_soft.c: Likewise.
2277 * sunrpc/get_myaddr.c: Likewise.
2278 * sunrpc/key_call.c: Likewise.
2279 * sunrpc/key_prot.c: Likewise.
2280 * sunrpc/netname.c: Likewise.
2281 * sunrpc/pm_getmaps.c: Likewise.
2282 * sunrpc/pm_getport.c: Likewise.
2283 * sunrpc/pmap_clnt.c: Likewise.
2284 * sunrpc/pmap_prot.c: Likewise.
2285 * sunrpc/pmap_prot2.c: Likewise.
2286 * sunrpc/pmap_rmt.c: Likewise.
2287 * sunrpc/publickey.c: Likewise.
2288 * sunrpc/rpc_cmsg.c: Likewise.
2289 * sunrpc/rpc_common.c: Likewise.
2290 * sunrpc/rpc_dtable.c: Likewise.
2291 * sunrpc/rpc_prot.c: Likewise.
2292 * sunrpc/rpc_thread.c: Likewise.
2293 * sunrpc/rtime.c: Likewise.
2294 * sunrpc/svc.c: Likewise.
2295 * sunrpc/svc_auth.c: Likewise.
2296 * sunrpc/svc_raw.c: Likewise.
2297 * sunrpc/svc_run.c: Likewise.
2298 * sunrpc/svc_tcp.c: Likewise.
2299 * sunrpc/svc_udp.c: Likewise.
2300 * sunrpc/svc_unix.c: Likewise.
2301 * sunrpc/svcauth_des.c: Likewise.
2302 * sunrpc/xcrypt.c: Likewise.
2303 * sunrpc/xdr.c: Likewise.
2304 * sunrpc/xdr_array.c: Likewise.
2305 * sunrpc/xdr_float.c: Likewise.
2306 * sunrpc/xdr_intXX_t.c: Likewise.
2307 * sunrpc/xdr_mem.c: Likewise.
2308 * sunrpc/xdr_rec.c: Likewise.
2309 * sunrpc/xdr_ref.c: Likewise.
2310 * sunrpc/xdr_sizeof.c: Likewise.
2311 * sunrpc/xdr_stdio.c: Likewise.
2313 2012-05-10 Roland McGrath <roland@hack.frob.com>
2315 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2316 change. Update copyright years.
2318 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2320 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2322 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2323 Joseph Myers <joseph@codesourcery.com>
2324 Paul Pluzhnikov <ppluzhnikov@google.com>
2327 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2329 [cross-compiling] (extra-libs): Likewise.
2330 [cross-compiling] (extra-libs-others): Likewise.
2331 [cross-compiling] (librpcsvc-routines): Likewise.
2332 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2333 [cross-compiling] (omit-deps): Likewise.
2334 (sunrpc-CPPFLAGS): New variable.
2335 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2336 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2337 (cross-rpcgen-objs): New variable.
2338 (extra-objs): Append $(cross-rpcgen-objs).
2339 ($(cross-rpcgen-objs)): New rule.
2340 ($(objpfx)cross-rpcgen): Likewise.
2341 (rpcgen-cmd): Define to use $(built-program-file). Expand
2343 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2344 ($(objpfx)x%.stmp): Likewise.
2345 * sunrpc/proto.h [IS_IN_build] (_): Define.
2346 [IS_IN_build] (_libc_intl_domainname): Likewise.
2348 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2350 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2351 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2352 and R_X86_64_TPOFF64.
2354 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2356 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2357 sysdeps/unix/sysv/syscalls.list.
2360 * sysdeps/unix/sysv/syscalls.list: Remove file.
2362 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2365 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2366 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2367 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2368 (__LC_IDENTIFICATION): Make these macros useful in #if
2369 expressions, as required by C99.
2371 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2373 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2374 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2377 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2379 * stdlib/longlong.h: Updated from GCC.
2381 2012-05-09 Andreas Jaeger <aj@suse.de>
2383 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2384 default is first entry.
2385 (run_mode): Set type.
2386 (main): Remove informal message about syslog.
2387 (options): Fix typo.
2390 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
2393 (llrintf): Likewise.
2397 (nearbyint): Likewise.
2398 (nearbyintf): Likewise.
2400 2012-05-09 Andreas Jaeger <aj@suse.de>
2401 Pedro Alves <palves@redhat.com>
2403 * nscd/nscd.c (run_mode): Use enum.
2404 (main): Cleanup coding style issue.
2406 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
2407 Andreas Jaeger <aj@suse.de>
2409 * nscd/nscd.c (go_background): Replaced with...
2410 (run_mode): ... this.
2411 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
2412 (options): Add -F --foreground.
2413 (main): Implement it.
2414 (parse_opt): Parse it.
2416 2012-05-09 Andreas Jaeger <aj@suse.de>
2419 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2420 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2421 -Wconversion warning.
2422 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2425 2012-05-09 Joseph Myers <joseph@codesourcery.com>
2427 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2429 (LC_ALL): Use macro-int-constant.
2430 (LC_COLLATE): Likewise.
2431 (LC_CTYPE): Likewise.
2432 (LC_MESSAGES): Likewise.
2433 (LC_MONETARY): Likewise.
2434 (LC_NUMERIC): Likewise.
2435 (LC_TIME): Likewise.
2436 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2437 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2438 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2439 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2441 [C99-based standards] (float_t): Expect type.
2442 [C99-based standards] (double_t): Expect type.
2443 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2445 [C99-based standards] (HUGE_VALL): Likewise.
2446 [C99-based standards] (INFINITY): Likewise.
2447 [C99-based standards] (NAN): Likewise.
2448 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2449 [C99-based standards] (FP_NAN): Likewise.
2450 [C99-based standards] (FP_NORMAL): Likewise.
2451 [C99-based standards] (FP_SUBNORMAL): Likewise.
2452 [C99-based standards] (FP_ZERO): Likewise.
2453 [C99-based standards] (FP_FAST_FMA): Use
2454 optional-macro-int-constant. Specify type. Require == 1.
2455 [C99-based standards] (FP_FAST_FMAF): Likewise.
2456 [C99-based standards] (FP_FAST_FMAL): Likewise.
2457 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2458 [C99-based standards] (FP_ILOGBNAN): Likewise.
2459 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2461 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2462 [C99-based standards] (math_errhandling): Specify type.
2463 [ISO99 || ISO11] (signgam): Do not allow.
2464 [non-C99-based standards] (copysignf): Do not allow.
2465 [non-C99-based standards] (exp2f): Likewise.
2466 [non-C99-based standards] (log2f): Likewise.
2467 [non-C99-based standards] (modff): Allow.
2468 [non-C99-based standards] (erff): Do not allow.
2469 [non-C99-based standards] (erfcf): Likewise.
2470 [non-C99-based standards] (gammaf): Likewise.
2471 [non-C99-based standards] (hypotf): Likewise.
2472 [non-C99-based standards] (j0f): Likewise.
2473 [non-C99-based standards] (j1f): Likewise.
2474 [non-C99-based standards] (jnf): Likewise.
2475 [non-C99-based standards] (lgammaf): Likewise.
2476 [non-C99-based standards] (tgammaf): Likewise.
2477 [non-C99-based standards] (y0f): Likewise.
2478 [non-C99-based standards] (y1f): Likewise.
2479 [non-C99-based standards] (ynf): Likewise.
2480 [non-C99-based standards] (isnanf): Likewise.
2481 [non-C99-based standards] (acoshf): Likewise.
2482 [non-C99-based standards] (asinhf): Likewise.
2483 [non-C99-based standards] (atanhf): Likewise.
2484 [non-C99-based standards] (cbrtf): Likewise.
2485 [non-C99-based standards] (expm1f): Likewise.
2486 [non-C99-based standards] (ilogbf): Likewise.
2487 [non-C99-based standards] (log1pf): Likewise.
2488 [non-C99-based standards] (logbf): Likewise.
2489 [non-C99-based standards] (nextafterf): Likewise.
2490 [non-C99-based standards] (remainderf): Likewise.
2491 [non-C99-based standards] (rintf): Likewise.
2492 [non-C99-based standards] (scalbf): Likewise.
2493 [non-C99-based standards] (copysignl): Likewise.
2494 [non-C99-based standards] (exp2l): Likewise.
2495 [non-C99-based standards] (log2l): Likewise.
2496 [non-C99-based standards] (modfl): Allow.
2497 [non-C99-based standards] (erfl): Do not allow.
2498 [non-C99-based standards] (erfcl): Likewise.
2499 [non-C99-based standards] (gammal): Likewise.
2500 [non-C99-based standards] (hypotl): Likewise.
2501 [non-C99-based standards] (j0l): Likewise.
2502 [non-C99-based standards] (j1l): Likewise.
2503 [non-C99-based standards] (jnl): Likewise.
2504 [non-C99-based standards] (lgammal): Likewise.
2505 [non-C99-based standards] (tgammal): Likewise.
2506 [non-C99-based standards] (y0l): Likewise.
2507 [non-C99-based standards] (y1l): Likewise.
2508 [non-C99-based standards] (ynl): Likewise.
2509 [non-C99-based standards] (isnanl): Likewise.
2510 [non-C99-based standards] (acoshl): Likewise.
2511 [non-C99-based standards] (asinhl): Likewise.
2512 [non-C99-based standards] (atanhl): Likewise.
2513 [non-C99-based standards] (cbrtl): Likewise.
2514 [non-C99-based standards] (expm1l): Likewise.
2515 [non-C99-based standards] (ilogbl): Likewise.
2516 [non-C99-based standards] (log1pl): Likewise.
2517 [non-C99-based standards] (logbl): Likewise.
2518 [non-C99-based standards] (nextafterl): Likewise.
2519 [non-C99-based standards] (remainderl): Likewise.
2520 [non-C99-based standards] (rintl): Likewise.
2521 [non-C99-based standards] (scalbl): Likewise.
2522 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2523 [non-C99-based standards] (FP_*): Do not allow.
2524 [C99-based standards] (FP_*): Change to
2525 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2526 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2528 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2529 (SIG_ERR): Likewise.
2530 [X/Open-based standards] (SIG_HOLD): Likewise.
2531 (SIG_IGN): Likewise.
2532 (SIGABRT): Use macro-int-constant. Specify type. Require
2537 (SIGSEGV): Likewise.
2539 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2540 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2541 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2542 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2543 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2544 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2545 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2546 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2547 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2548 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2549 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2550 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2551 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2552 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2553 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2554 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2555 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2556 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2557 [X/Open-based standards] (SIGTRAP): Likewise.
2558 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2559 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2560 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2561 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2562 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2565 2012-05-08 Ian Wienand <ianw@vmware.com>
2568 * time/tzset.c (__tzset_parse_tz): Update default rules for
2569 daylight time changes in the Energy Policy Act of 2005.
2571 2012-05-09 Andreas Jaeger <aj@suse.de>
2574 * elf/ldconfig.c (parse_conf): Change string to make clear that
2575 ldconfig only issued a warning if ld.so.conf does not exist.
2577 2012-05-08 David S. Miller <davem@davemloft.net>
2579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2580 movxtod instead of popping the value on the stack.
2582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2584 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2586 * config.h.in: Add HAVE_ARM_PCS_VFP.
2588 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
2591 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2592 checking but the checks are disabled for any reason.
2594 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2596 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2597 and ELF64_R_TYPE with ELFW(R_TYPE).
2599 2012-05-08 Joseph Myers <joseph@codesourcery.com>
2601 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2604 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2605 (settimeofday): Likewise.
2607 2012-05-08 Mike Frysinger <vapier@gentoo.org>
2609 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2610 a struct th_u2 inside the union, and move tu_block/tu_code into
2611 a new th_u3 union of tu_block/tu_code inside of that. Move
2612 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
2613 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
2614 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2615 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
2616 (th_stuff): Change to th_u1.tu_stuff.
2618 (th_msg): Change to th_u1.th_u2.tu_data.
2620 2012-05-07 David S. Miller <davem@davemloft.net>
2622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2625 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2626 (SETUP_PIC_REG): Use it.
2627 (SETUP_PIC_REG_LEAF): Use it.
2629 2012-05-07 Joseph Myers <joseph@codesourcery.com>
2633 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2635 (EXPL_FINITE): Likewise.
2637 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2638 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2640 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2642 (EXPL_FINITE): Likewise.
2644 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2645 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2647 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2648 test of -max_value argument for long double.
2649 * sysdeps/i386/fpu/libm-test-ulps: Update.
2650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2652 2012-05-06 David S. Miller <davem@davemloft.net>
2654 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2655 quad soft-float symbols whose references which are compiler
2657 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2659 2012-05-06 Joseph Myers <joseph@codesourcery.com>
2663 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2665 (EXPL_FINITE): Likewise.
2669 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2670 Adjust comments for base varying.
2671 (__expl_finite): Change alias to EXPL_FINITE.
2672 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
2674 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
2675 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2676 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2677 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
2678 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2680 (EXPL_FINITE): Likewise.
2684 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2685 Adjust comments for base varying.
2686 (__expl_finite): Change alias to EXPL_FINITE.
2687 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
2689 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2692 * math/libm-test.inc (check_float_internal): Correct ulp
2693 calculation for subnormal expected results.
2695 2012-05-06 Andreas Jaeger <aj@suse.de>
2697 * Makeconfig (+math-flags): New, set to -frounding-math.
2698 (+cflags): Add +math-flags so that all of glibc gets compiled with
2701 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
2703 2012-05-05 Joseph Myers <joseph@codesourcery.com>
2705 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
2711 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
2712 (__ieee754_expl): Allow for and saturate large arguments.
2713 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
2714 (u_threshold): Likewise.
2715 (__exp): Call __ieee754_exp before checking for overflow and
2717 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
2718 (u_threshold): Likewise.
2719 (__expf): Call __ieee754_expf before checking for overflow and
2721 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
2722 (u_threshold): Likewise.
2723 (__expl): Call __ieee754_expl before checking for overflow and
2725 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
2726 (__ieee754_expl): Allow for and saturate large arguments.
2727 * math/libm-test.inc (exp_test): Add another test. Do not allow
2728 missing overflow exception on overflow.
2729 (expm1_test): Do not allow missing overflow exception on overflow.
2731 * sysdeps/i386/fpu/e_expl.c: Move to ...
2732 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
2733 rather than using inline asm.
2734 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
2735 * sysdeps/x86_64/fpu/e_expl.S: Copy from
2736 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
2738 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
2745 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2747 * sysdeps/unix/syscalls.list (adjtime): Add entry from
2748 sysdeps/unix/common/syscalls.list.
2751 (ftruncate): Likewise.
2752 (getrusage): Likewise.
2753 (gettimeofday): Likewise.
2754 (setpgid): Likewise.
2755 (setregid): Likewise.
2756 (setreuid): Likewise.
2757 (sigaction): Likewise.
2758 (truncate): Likewise.
2759 (vhangup): Likewise.
2760 * sysdeps/unix/common/syscalls.list: Remove file.
2761 * sysdeps/unix/bsd/Implies: Don't include unix/common.
2762 * sysdeps/unix/sysv/linux/Implies: Likewise.
2764 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
2766 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
2767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
2768 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
2770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2772 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
2774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
2775 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
2777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
2778 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
2780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
2781 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
2783 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
2784 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
2786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
2787 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
2789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
2790 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
2792 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2794 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
2796 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
2798 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
2800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
2801 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
2803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
2805 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
2807 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2809 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2811 * sysdeps/unix/common/bits/dirent.h: Remove file.
2812 * sysdeps/unix/common/bits/fcntl.h: Likewise.
2814 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
2815 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
2816 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
2817 * sysdeps/unix/bsd/isatty.c: Likewise.
2818 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2819 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2820 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2822 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2825 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
2826 long double comparison inaccuracies.
2827 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2830 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
2832 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
2833 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2835 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2838 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
2839 nonzero digits before rounding a hex value.
2840 * stdlib/tst-strtod.c (tests): Add another test.
2842 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2844 * sysdeps/s390/fpu/libm-test-ulps: Update.
2846 2012-05-03 Andreas Jaeger <aj@suse.de>
2848 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
2849 does not get optimized out.
2850 (malloc_opt_barrier): New.
2852 2012-05-03 Andreas Jaeger <aj@suse.de>
2853 Roland McGrath <roland@hack.frob.com>
2855 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
2856 intermediate file deletion.
2857 (generated): Add .symlist files.
2859 2012-05-03 Joseph Myers <joseph@codesourcery.com>
2862 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
2863 Redirect under this condition.
2864 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2865 [__USE_GNU] (__dprintf_chk): Not under this condition.
2866 [__USE_GNU] (__vdprintf_chk): Likewise.
2867 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
2868 under this condition.
2869 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2870 [__USE_XOPEN2K8] (dprintf): Define under this condition.
2871 [__USE_XOPEN2K8] (vdprintf): Likewise.
2872 [__USE_GNU] (__dprintf_chk): Not under this condition.
2873 [__USE_GNU] (__vdprintf_chk): Likewise.
2874 [__USE_GNU] (dprintf): Likewise.
2875 [__USE_GNU] (vdprintf): Likewise.
2877 2012-05-03 Roland McGrath <roland@hack.frob.com>
2879 * elf/Makefile (common-generated): Set this instead of generated for
2880 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
2881 $(all-built-dso)-derived lists.
2883 2012-05-03 Andreas Jaeger <aj@suse.de>
2885 * sysdeps/i386/fpu/libm-test-ulps: Update.
2889 * scripts/gen-FAQ.pl: Likewise.
2890 * manual/install.texi (Installation): Point to online location of
2892 * Makefile (files-for-dist): Remove FAQ.
2895 2012-05-02 Allan McRae <allan@archlinux.org>
2897 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
2898 (LDFLAGS-reldepmod5.so): Likewise.
2899 (LDFLAGS-reldep6mod1.so): Likewise.
2900 (LDFLAGS-reldep6mod4.so): Likewise.
2901 (LDFLAGS-reldep8mod3.so): Likewise.
2902 (LDFLAGS-unload4mod1.so): Likewise.
2903 (LDFLAGS-unload4mod2.so): Likewise.
2904 (LDFLAGS-tst-initorder): Likewise.
2905 (LDFLAGS-tst-initordera2.so): Likewise.
2906 (LDFLAGS-tst-initordera3.so): Likewise.
2907 (LDFLAGS-tst-initordera4.so): Likewise.
2908 (LDFLAGS-tst-initorderb2.so): Likewise.
2909 (LDFLAGS-noload): Likewise.
2910 (LDFLAGS-next): Likewise.
2911 (LDFLAGS-order2mod1.so): Likewise.
2912 (LDFLAGS-order2mod2.so): Likewise.
2913 (LDFLAGS-tst-initorder2): Likewise.
2914 (LDFLAGS-tst-initorder2a.so): Likewise.
2915 (LDFLAGS-tst-initorder2b.so): Likewise.
2916 (LDFLAGS-tst-initorder2c.so): Likewise.
2917 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2919 2012-05-02 David S. Miller <davem@davemloft.net>
2921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2923 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2926 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2928 2012-05-02 Andreas Jaeger <aj@suse.de>
2930 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2931 since we manipulate rounding mode.
2932 (CPPFLAGS-test-idouble.c): Likewise.
2933 (CPPFLAGS-test-ifloat.c): Likewise.
2934 (CFLAGS-test-ldouble.c): Likewise.
2935 (CFLAGS-test-double.c): Likewise.
2936 (CFLAGS-test-float.c): Likewise.
2937 (CFLAGS-test-misc.c): Likewise.
2938 (CFLAGS-test-test-fenv.c): Likewise.
2940 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2944 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2945 comparisons to determine direction to adjust input.
2947 2012-05-01 Roland McGrath <roland@hack.frob.com>
2949 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2950 output to the target.
2952 * scripts/localplt.awk: New file.
2953 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2954 (check-localplt-CFLAGS): Variable removed.
2955 ($(all-built-dso:=.jmprel)): New static pattern rule.
2956 (generated): Add those targets.
2957 (localplt-built-dso): New variable.
2958 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2960 * elf/check-localplt.c: File removed.
2962 * scripts/check-execstack.awk: New file.
2963 * elf/Makefile ($(objpfx)check-execstack): Target removed.
2964 (check-execstack-CFLAGS): Variable removed.
2965 ($(objpfx)check-execstack.h): Target removed.
2966 ($(objpfx)execstack-default): New target.
2967 (generated): Add that instead of check-execstack.h.
2968 ($(all-built-dso:=.phdr)): New static pattern rule.
2969 (generated): Add those targets.
2970 * elf/check-execstack.c: File removed.
2972 * scripts/check-textrel.awk: New file.
2973 * elf/Makefile ($(objpfx)check-textrel): Target removed.
2974 (check-textrel-CFLAGS): Variable removed.
2975 (all-built-dso): Use := to define.o
2976 ($(all-built-dso:=.dyn)): New static pattern rule.
2977 (generated): Add those targets.
2978 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2979 * config.make.in (READELF): New substituted variable.
2980 * elf/check-textrel.c: File removed.
2982 2012-05-01 Joseph Myers <joseph@codesourcery.com>
2984 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2986 * conform/data/ctype.h-data [C99-based standards] (isblank):
2988 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2989 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2990 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2991 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2992 Specify type. Require positive value.
2995 [ISO || POSIX] (EILSEQ): Do not expect.
2996 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2997 Specify type. Require positive value.
2998 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2999 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3000 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3001 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3002 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3003 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3004 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3005 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3006 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3007 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3008 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3009 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3010 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3011 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3012 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3013 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3014 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3015 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3016 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3017 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3018 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3019 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3020 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3021 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3022 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3023 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3024 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3025 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3026 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3027 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3028 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3029 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3030 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3031 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3032 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3033 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3034 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3035 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3036 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3037 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3038 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3039 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3040 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3041 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3042 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3043 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3044 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3045 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3046 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3047 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3048 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3049 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3050 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3051 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3052 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3053 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3054 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3055 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3056 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3057 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3058 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3059 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3060 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3061 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3062 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3063 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3064 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3065 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3066 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3067 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3068 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3069 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3070 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3071 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3072 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3073 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3074 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3076 (FLT_ROUNDS): Expect as macro, not constant.
3077 (FLT_MANT_DIG): Use macro-int-constant.
3078 (DBL_MANT_DIG): Likewise.
3079 (LDBL_MANT_DIG): Likewise.
3080 (FLT_DIG): Likewise.
3081 (DBL_DIG): Likewise.
3082 (LDBL_DIG): Likewise.
3083 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3084 (DBL_MIN_EXP): Likewise.
3085 (LDBL_MIN_EXP): Likewise.
3086 (FLT_MAX_EXP): Use macro-int-constant.
3087 (DBL_MAX_EXP): Likewise.
3088 (LDBL_MAX_EXP): Likewise.
3089 (FLT_MAX_10_EXP): Likewise.
3090 (DBL_MAX_10_EXP): Likewise.
3091 (LDBL_MAX_10_EXP): Likewise.
3092 (FLT_MAX): Use macro-constant.
3093 (DBL_MAX): Likewise.
3094 (LDBL_MAX): Likewise.
3095 (FLT_EPSILON): Use macro-constant. Give upper bound.
3096 (DBL_EPSILON): Likewise.
3097 (LDBL_EPSILON): Likewise.
3098 (FLT_MIN): Likewise.
3099 (DBL_MIN): Likewise.
3100 (LDBL_MIN): Likewise.
3101 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3102 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3103 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3104 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3105 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3106 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3107 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3108 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3109 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3110 [ISO11] (FLT_TRUE_MIN): Likewise.
3111 [ISO11] (LDBL_TRUE_MIN): Likewise.
3112 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3113 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3114 (SCHAR_MIN): Use macro-int-constant. Specify type.
3115 (SCHAR_MAX): Likewise.
3116 (UCHAR_MAX): Likewise.
3117 (CHAR_MIN): Likewise.
3118 (CHAR_MAX): Likewise.
3119 (MB_LEN_MAX): Use macro-int-constant.
3120 (SHRT_MIN): Use macro-int-constant. Specify type.
3121 (SHRT_MAX): Likewise.
3122 (USHRT_MAX): Likewise.
3123 (INT_MAX): Likewise.
3124 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3126 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3128 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3130 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3131 bound negative. Suffix upper bound with "L".
3132 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3134 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3136 [C99-based standards] (LLONG_MAX): Likewise.
3137 [C99-based standards] (ULLONG_MAX): Likewise.
3138 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3140 [ISO11] (max_align_t): Require type.
3141 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3143 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3144 from $CFLAGS, without defining away __attribute__ calls.
3145 (checknamespace): Use $CFLAGS_namespace.
3147 * conform/conformtest.pl (@keywords): Only include C99 keywords
3148 for standards based on C99 or C11.
3150 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3152 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3155 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3156 usability of symbols in #if.
3158 * conform/conformtest.pl: If macro or constant types start
3159 "promoted:", expect the symbol to be of the following type
3160 promoted by the integer promotions.
3162 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3163 in one place. Also handle "macro-constant".
3165 * conform/conformtest.pl: Only accept expected macro values with
3166 "==". Parse all "macro" lines in one place.
3167 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3169 * conform/conformtest.pl: Handle braced types on "constant" lines
3170 instead of handling "typed-constant".
3171 * conform/data/signal.h-data: Use "constant" instead of
3174 * conform/conformtest.pl: Handle "optional-" at start of lines in
3175 one place rather than duplicating several cases. Handle each
3176 format of "macro" line with initial "optional-".
3178 * conform/conformtest.pl: Only accept expected constant or
3179 optional-constant values with "==". Parse all "constant" lines in
3180 one place. Parse all "optional-constant" lines in one place.
3181 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3182 * conform/data/fmtmsg.h-data: Likewise.
3183 * conform/data/netinet/in.h-data: Likewise.
3184 * conform/data/tar.h-data: Likewise.
3185 * conform/data/limits.h-data: Use "==" form on "constant" and
3186 "optional-constant" lines.
3188 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3189 Use -std=c99 for XOPEN2K.
3190 (@knownproblems): Remove.
3191 (newtoken): Don't check %isknown.
3193 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3194 Do not expect macro.
3195 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3196 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3197 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3198 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3199 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3200 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3201 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3202 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3203 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3204 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3205 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3206 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3207 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3208 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3209 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3210 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3211 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3212 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3213 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3214 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3215 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3216 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3217 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3218 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3219 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3220 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3221 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3222 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3223 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3224 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3225 [XPG3] (acosh): Likewise.
3226 [XPG3] (asinh): Likewise.
3227 [XPG3] (atanh): Likewise.
3228 [XPG3] (cbrt): Likewise.
3229 [XPG3] (expm1): Likewise.
3230 [XPG3] (ilogb): Likewise.
3231 [XPG3] (log1p): Likewise.
3232 [XPG3] (logb): Likewise.
3233 [XPG3] (nextafter): Likewise.
3234 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3235 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3236 [XPG3] (remainder): Likewise.
3237 [XPG3] (rint): Likewise.
3238 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3239 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3240 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3241 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3242 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3243 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3244 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3245 [UNIX98 || XOPEN2K] (scalb): Expect.
3246 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3247 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3248 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3249 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3250 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3251 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3252 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3253 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3254 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3255 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3256 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3257 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3258 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3259 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3260 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3261 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3262 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3263 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3264 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3265 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3266 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3267 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3268 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3269 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3270 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3271 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3272 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3273 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3274 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3275 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3276 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3277 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3278 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3279 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3280 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3281 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3282 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3283 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3284 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3285 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3286 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3287 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3288 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3289 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3290 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3291 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3292 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3293 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3294 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3295 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3296 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3297 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3298 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3299 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3300 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3301 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3302 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3303 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3304 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3305 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3306 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3307 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3308 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3309 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3310 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3311 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3312 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3313 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3314 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3315 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3316 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3317 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3318 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3319 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3320 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3321 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3322 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3323 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3324 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3325 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3326 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3327 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3328 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3329 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3330 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3331 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3332 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3333 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3334 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3335 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3336 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3337 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3338 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3339 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3340 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3341 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3342 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3343 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3344 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3345 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3346 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3347 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3348 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3349 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3350 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3351 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3352 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3353 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3354 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3355 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3356 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3357 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3358 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3359 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3360 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3361 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3362 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3363 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3364 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3365 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3366 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3367 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3368 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3369 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3370 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3371 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3372 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3373 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3374 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3375 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3376 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3377 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3378 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3379 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3380 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3381 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3382 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3384 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3385 _XOPEN_SOURCE_EXTENDED for XPG4.
3387 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3389 * Makeconfig (localtime): Remove variable.
3390 (inst_localtime-file): Likewise.
3392 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3413 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3417 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3418 comparisons to determine direction to adjust input.
3419 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3420 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3421 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3423 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3425 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3427 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3428 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3430 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3432 * math/libm-test.inc (nexttoward_test): Add more tests.
3434 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3437 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3438 in version GLIBC_2.1, not GLIBC_2.0.
3439 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3442 2012-04-30 Joseph Myers <joseph@codesourcery.com>
3445 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3447 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3448 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3449 * math/libm-test.inc (acos_test): Add more tests.
3450 (asin_test): Likewise.
3451 * sysdeps/i386/fpu/libm-test-ulps: Update.
3452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3455 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3457 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3458 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3459 * math/libm-test.inc (acos_test_tonearest): New function.
3460 (acos_test_towardzero): Likewise.
3461 (acos_test_downward): Likewise.
3462 (acos_test_upward): Likewise.
3463 (asin_test_tonearest): Likewise.
3464 (asin_test_towardzero): Likewise.
3465 (asin_test_downward): Likewise.
3466 (asin_test_upward): Likewise.
3467 (main): Call the new functions.
3468 * sysdeps/i386/fpu/libm-test-ulps: Update.
3469 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3473 * math/e_exp10.c: Include <float.h>.
3474 (__ieee754_exp10): Handle underflow here rather than multiplying
3475 large negative argument by M_LN10.
3476 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3478 * math/e_exp10l.c: Include <float.h>.
3479 (__ieee754_exp10l): Handle underflow here rather than multiplying
3480 large negative argument by M_LN10l.
3481 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3482 spurious overflow exception on underflow.
3484 2012-04-29 Marek Polacek <polacek@redhat.com>
3486 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3487 (__fortify_function): New macro.
3488 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3489 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3490 __extern_always_inline.
3491 * libio/bits/stdio2.h: Likewise.
3492 * libio/bits/stdio.h: Likewise.
3493 * string/string.h: Likewise.
3494 * string/bits/string3.h: Likewise.
3495 * include/stdio.h: Likewise.
3496 * stdlib/bits/stdlib.h: Likewise.
3497 * stdlib/stdlib.h: Likewise.
3498 * rt/bits/mqueue2.h: Likewise.
3499 * rt/mqueue.h: Likewise.
3500 * posix/bits/unistd.h: Likewise.
3501 * posix/unistd.h: Likewise.
3502 * io/bits/poll2.h: Likewise.
3503 * io/bits/fcntl2.h: Likewise.
3504 * io/fcntl.h: Likewise.
3505 * io/sys/poll.h: Likewise.
3506 * misc/bits/syslog.h: Likewise.
3507 * misc/bits/syslog-ldbl.h: Likewise.
3508 * misc/sys/syslog.h: Likewise.
3509 * socket/bits/socket2.h: Likewise.
3510 * socket/sys/socket.h: Likewise.
3511 * debug/tst-chk1.c: Likewise.
3512 * wcsmbs/bits/wchar2.h: Likewise.
3513 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3514 * wcsmbs/wchar.h: Likewise.
3516 2012-04-29 Andreas Jaeger <aj@suse.de>
3518 * Makerules (tests): Remove enable-check-abi protection.
3519 (check-abi-warn): Remove.
3520 (check-abi-%): Remove check-abi-warn usage.
3522 * configure.in: Remove check-abi configure option.
3523 * configure: Regenerated.
3524 * config.make.in (enable-check-abi): Remove.
3526 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3529 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3530 double functions to double *_finite functions.
3533 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3534 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3536 * stdio-common/Makefile (tests): Add tst-sprintf3.
3537 * stdio-common/tst-sprintf3.c: New file.
3539 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3540 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3542 2012-04-28 Joseph Myers <joseph@codesourcery.com>
3544 * conform/conformtest.pl: Remove duplicate typed-constant
3547 2012-04-28 David S. Miller <davem@davemloft.net>
3549 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3550 (check-abi-%): Remove AWK script prerequisite and explicit
3552 (check-abi): Rewrite to just diff the symlist with the abilist.
3553 (config-tls, config-abi-config): Delete, no longer used.
3554 (update-abi-%): Remove AWK script and explicit abilist directory.
3555 (update-abi): Rewrite to simply compare and conditionally copy the
3556 symlist and the sysdep abilist file. Remove update-abi-config
3558 * abilist/ld.abilist: Remove.
3559 * abilist/libBrokenLocale.abilist: Remove.
3560 * abilist/libanl.abilist: Remove.
3561 * abilist/libcrypt.abilist: Remove.
3562 * abilist/libdl.abilist: Remove.
3563 * abilist/librt.abilist: Remove.
3564 * abilist/libthread_db.abilist: Remove.
3565 * abilist/libutil.abilist: Remove.
3566 * scripts/extract-abilist.awk: Remove.
3567 * scripts/merge-abilist.awk: Remove.
3568 * sysdeps/generic/libcidn.abilist: New file.
3569 * sysdeps/generic/libnss_compat.abilist: New file.
3570 * sysdeps/generic/libnss_db.abilist: New file.
3571 * sysdeps/generic/libnss_dns.abilist: New file.
3572 * sysdeps/generic/libnss_files.abilist: New file.
3573 * sysdeps/generic/libnss_hesiod.abilist: New file.
3574 * sysdeps/generic/libnss_nis.abilist: New file.
3575 * sysdeps/generic/libnss_nisplus.abilist: New file.
3576 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3577 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3578 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3580 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3581 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3582 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3583 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3584 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3585 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3586 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3587 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3588 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3590 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3591 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3592 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3593 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3595 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3596 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3597 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3598 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3599 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3600 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3602 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3603 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3604 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3606 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3611 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3613 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3615 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
3617 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
3619 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
3621 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3623 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3625 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3627 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3629 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3631 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
3672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
3674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
3678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
3680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
3684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
3685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
3687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
3691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
3693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
3695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
3697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
3699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
3703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
3705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
3709 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3710 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
3711 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
3713 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
3714 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
3715 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
3716 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
3717 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
3718 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
3719 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
3720 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
3721 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
3722 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
3723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
3724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
3726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
3730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
3732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
3734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
3736 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
3738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3740 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3742 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
3744 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3746 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
3748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
3749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
3751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
3755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
3757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
3759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
3761 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
3763 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
3769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3771 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
3774 2012-04-28 Joseph Myers <joseph@codesourcery.com>
3776 * conform/conformtest.pl: Fix typo in handling typed-constant from
3779 2012-04-27 Joseph Myers <joseph@codesourcery.com>
3781 * README: Cut down references to pre-2.6 Linux kernels and
3782 Linuxthreads. Update lists of configurations in libc and ports
3783 and sort alphabetically. Say "or newer" with Linux kernel version
3786 * config.h.in [IS_IN_build]: Allow compiling without optimization.
3788 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3791 * math/libm-test.inc (logb_test_downward): New test to expose
3792 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
3795 2012-04-27 Joseph Myers <joseph@codesourcery.com>
3798 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
3800 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
3801 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
3803 2012-04-26 Joseph Myers <joseph@codesourcery.com>
3805 * sysdeps/unix/i386/brk.S: Remove file.
3806 * sysdeps/unix/i386/dl-brk.S: Likewise.
3807 * sysdeps/unix/i386/pipe.S: Likewise.
3808 * sysdeps/unix/i386/sigreturn.S: Likewise.
3809 * sysdeps/unix/i386/syscall.S: Likewise.
3810 * sysdeps/unix/i386/vfork.S: Likewise.
3811 * sysdeps/unix/i386/wait.S: Likewise.
3813 * sysdeps/unix/common/tcsendbrk.c: Move to ...
3814 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
3816 * configure.in (arm*-none*): Do not allow without
3817 --enable-hacker-mode.
3818 (netbsd*): Remove case setting base_os.
3819 (386bsd*): Likewise.
3820 (freebsd*): Likewise.
3824 (ultrix*): Likewise.
3825 (newsos*): Likewise.
3835 (solaris[2-9]*): Likewise.
3837 * configure: Regenerated.
3839 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3842 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
3843 overflow or cancellation in calculating denominator.
3844 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
3845 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
3846 down expression to avoid unexpected rounding in newer GCCs.
3847 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
3849 2012-04-26 David S. Miller <davem@davemloft.net>
3851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
3852 long-double compat symbols.
3853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
3857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
3861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
3864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3867 2012-04-25 David S. Miller <davem@davemloft.net>
3869 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
3870 HWCAP_* values only after the memory barriers have been defined.
3871 (atomic_full_barrier): Define.
3872 (atomic_read_barrier): Define.
3873 (atomic_write_barrier): Define.
3875 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3877 * shlib-versions: Add libgcc_s version information.
3878 * sysdeps/generic/libgcc_s.h: Remove.
3879 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
3881 * sysdeps/gnu/unwind-resume.c: Likewise.
3882 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
3884 2012-04-25 David S. Miller <davem@davemloft.net>
3886 * sysdeps/unix/sparc/brk.S: Delete.
3887 * sysdeps/unix/sparc/dl-brk.S: Delete.
3888 * sysdeps/unix/sparc/pipe.S: Delete.
3889 * sysdeps/unix/sparc/sysdep.S: Delete.
3890 * sysdeps/unix/sparc/sysdep.h: Delete.
3891 * sysdeps/unix/sparc/vfork.S: Delete.
3892 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
3893 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
3894 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
3895 ret_ERRVAL, r0, r1, MOVE): Define.
3896 (JUMPTARGET): Remove.
3897 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
3898 sysdeps/unix/sparc/sysdep.h
3899 (ENTRY, END): Remove.
3900 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3902 2012-04-25 Joseph Myers <joseph@codesourcery.com>
3904 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
3905 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
3908 * timezone/README: Update upstream location and email address for
3910 * timezone/zdump.c: Update from tzcode 2012b.
3911 * timezone/zic.c: Likewise.
3913 * configure.in (libc_cv_as_needed): Remove test.
3914 * configure: Regenerated.
3915 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3916 conditional definition.
3917 [$(have-as-needed) != yes] (no-as-needed): Likewise.
3918 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3919 * config.make.in (have-as-needed): Remove variable.
3921 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3922 Paul Pluzhnikov <ppluzhnikov@google.com>
3924 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3927 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3929 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3930 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3931 * sysdeps/sh/strlen.S: Likewise.
3933 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3935 * sysdeps/unix/fork.S: Remove file.
3936 * sysdeps/unix/i386/fork.S: Likewise.
3937 * sysdeps/unix/sparc/fork.S: Likewise.
3939 * sysdeps/unix/system.c: Remove file.
3940 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3942 * sysdeps/unix/getegid.S: Remove file.
3943 * sysdeps/unix/geteuid.S: Likewise.
3945 2012-04-24 Roland McGrath <roland@hack.frob.com>
3947 * scripts/check-localplt.awk: New file.
3948 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3950 * scripts/data/localplt-generic.data: Add a comment.
3952 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3953 NODE when __dir_mkfile failed.
3954 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3955 Reported by Ludovic Courtès <ludo@gnu.org>.
3957 2012-04-24 Andreas Jaeger <aj@suse.de>
3959 * Makerules (common-clean): Also remove gen-as-const-headers
3962 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3964 * Makerules (native-compile): Do not change working directory for
3965 build. Use $(OUTPUT_OPTION) in command.
3966 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3968 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3971 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3972 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3973 * math/libm-test.inc (floor_test): Add more tests.
3974 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3976 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3978 * sysdeps/unix/getdents.c: Remove file.
3979 * sysdeps/unix/sysv/getdents.c: Likewise.
3980 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3982 * sysdeps/unix/syscalls.list (madvise): Add syscall from
3983 sysdeps/unix/mman/syscalls.list.
3985 (mprotect): Likewise.
3988 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3989 * sysdeps/unix/mman/syscalls.list: Remove.
3990 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3992 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3993 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3994 * configure: Regenerated.
3995 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3997 * config.make.in (libgcc_s_suffix): Remove variable.
3999 2012-04-23 Joseph Myers <joseph@codesourcery.com>
4001 * sysdeps/unix/sysv/gethostname.c: Move to ...
4002 * sysdeps/posix/gethostname.c: ... here.
4004 * sysdeps/unix/execve.S: Remove file.
4006 * sysdeps/unix/_exit.S: Remove file.
4008 2012-04-23 Andreas Jaeger <aj@suse.de>
4011 * manual/Makefile: Remove make dist support, there's no
4012 need for a stand-alone documentation tar ball.
4013 (TEXI2DVI): Define always, it's not in Makeconfig.
4017 (glibc-doc-$(edition).tar): Removed
4021 (ETAGS): Remove, it's in Makeconfig.
4022 (move-if-change): Remove, it's in Makeconfig.
4024 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4027 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4028 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4029 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4030 (strtod_l, strtof_l, strtold_l): Remove __wur.
4031 It is not necessarily an error to ignore strtol's return value.
4032 One can reliably look at the stored endptr to decide whether
4033 the number had valid syntax.
4035 2012-04-21 Andreas Jaeger <aj@suse.de>
4038 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4040 2012-04-21 Joseph Myers <joseph@codesourcery.com>
4042 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4043 * sysdeps/unix/sysv/Versions: Remove file.
4045 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4048 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4050 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
4053 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4054 version from __vm86.
4056 2012-04-20 Joseph Myers <joseph@codesourcery.com>
4058 * sysdeps/unix/common/lxstat.c: Remove file.
4059 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4061 * sysdeps/unix/sysv/Makefile: Remove file.
4063 * sysdeps/unix/sysv/direct.h: Remove file.
4065 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4066 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4067 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4068 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4069 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4070 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4071 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4073 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4075 * sysdeps/unix/xmknod.c: Remove file.
4076 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4078 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4080 * sysdeps/unix/sysv/i386/time.S: Remove file.
4082 * sysdeps/unix/fxstat.c: Remove file.
4083 * sysdeps/unix/xstat.c: Likewise.
4084 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4086 * sysdeps/unix/sysv/sigaction.c: Remove file.
4088 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4089 (sysdep_headers): Remove variable.
4090 [termio.h not in sysdep_headers] (generated): Likewise.
4091 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4092 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4093 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4094 * sysdeps/unix/sysv/tcflow.c: Likewise.
4095 * sysdeps/unix/sysv/tcflush.c: Likewise.
4096 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4097 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4098 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4099 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4100 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4102 * sysdeps/unix/siglist.c: Remove file.
4104 * sysdeps/unix/getppid.S: Remove file.
4106 * sysdeps/unix/mkdir.c: Remove file.
4107 * sysdeps/unix/rmdir.c: Likewise.
4109 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4111 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4113 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4114 errlist-compat value.
4116 2012-04-18 David S. Miller <davem@davemloft.net>
4118 * sysdeps/generic/memcopy.h (reg_char): Delete.
4119 * debug/strcat_chk.c: Use char, not reg_char.
4120 * debug/strcpy_chk.c: Likewise.
4121 * debug/strncat_chk.c: Likewise.
4122 * debug/strncpy_chk.c: Likewise.
4123 * string/memchr.c: Likewise.
4124 * string/memrchr.c: Likewise.
4125 * string/rawmemchr.c: Likewise.
4126 * string/strcat.c: Likewise.
4127 * string/strchr.c: Likewise.
4128 * string/strchrnul.c: Likewise.
4129 * string/strcmp.c: Likewise.
4130 * string/strcpy.c: Likewise.
4131 * string/strncat.c: Likewise.
4132 * string/strncmp.c: Likewise.
4133 * string/strncpy.c: Likewise.
4135 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4137 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4138 __builtin_memcopy is called when src and dest ranges are known to not
4141 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4143 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4144 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4145 fwd_align_merge macro call.
4146 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4147 bwd_align_merge macro call.
4148 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4150 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4152 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4153 bwd_align_merge macros.
4154 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4155 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4156 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4158 2012-04-18 David S. Miller <davem@davemloft.net>
4160 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4162 2012-04-18 Andreas Jaeger <aj@suse.de>
4165 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4166 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4167 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4169 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4170 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4171 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4173 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4174 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4175 Adjust for changed ldbl-128 files.
4177 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4178 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4179 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4181 2012-04-17 David S. Miller <davem@davemloft.net>
4183 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4185 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4187 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4188 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4189 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4190 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4191 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4192 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4194 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4197 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4198 * math/libm-test.inc: Add ilogb errno and exception tests.
4199 * math/w_ilogb.c: New file: ilogb wrapper.
4200 * math/w_ilogbf.c: New file: ilogbf wrapper.
4201 * math/w_ilogbl.c: New file: ilogbl wrapper.
4202 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4203 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4204 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4205 exception being thrown with 0.0 as argument.
4206 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4207 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4208 exception being thrown with 0.0 as argument.
4209 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4210 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4211 exception being thrown with 0.0 as argument.
4212 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4213 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4214 exception being thrown with 0.0 as argument.
4215 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4216 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
4217 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
4218 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4219 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4220 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4221 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4222 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4223 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4225 2012-04-17 Petr Baudis <pasky@ucw.cz>
4227 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4230 2012-04-16 Marek Polacek <polacek@redhat.com>
4232 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4234 2012-04-16 Marek Polacek <polacek@redhat.com>
4236 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4237 operands of fdivp instruction.
4239 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4241 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4242 * elf/tst-auditmod3b.c: Likewise.
4243 * elf/tst-auditmod4b.c: Likewise.
4244 * elf/tst-auditmod5b.c: Likewise.
4245 * elf/tst-auditmod6b.c: Likewise.
4246 * elf/tst-auditmod6c.c: Likewise.
4247 * elf/tst-auditmod7b.c: Likewise.
4248 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4249 * sysdeps/x86_64/preconfigure.in: Likewise.
4250 * sysdeps/x86_64/preconfigure: Regenerated.
4252 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4254 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4257 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
4259 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4260 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4262 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4265 * locale/iso-639.def: Fix gl language name. Spotted by
4268 2012-04-12 Roland McGrath <roland@hack.frob.com>
4271 * libio/libio.h (__io_write_fn): Update comment.
4273 2012-04-12 Petr Baudis <pasky@ucw.cz>
4276 * stdio.texi (Hook Functions): The user provided writer function
4277 is not allowed to return -1.
4279 2012-04-11 David S. Miller <davem@davemloft.net>
4281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4283 2012-04-11 Mike Frysinger <vapier@gentoo.org>
4285 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4286 Add a leading slash to rtkaio.
4288 2012-04-11 Jim Meyering <meyering@redhat.com>
4291 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4292 It is not necessarily an error to ignore fwrite's return
4293 value. One can reliably use ferror to test for errors after
4296 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4298 * bits/types.h (__snseconds_t): New type.
4299 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4301 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4302 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4303 (__SNSECONDS_T_TYPE): Likewise.
4304 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4305 (__SNSECONDS_T_TYPE): Likewise.
4306 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4307 (__SNSECONDS_T_TYPE): Likewise.
4309 2012-04-10 Andreas Jaeger <aj@suse.de>
4312 * manual/time.texi (Processor Time): Return type of times is
4313 elapsed real time since an arbitrary point in the past.
4314 (CPU Time): Move CLK_TCK from here...
4315 (Processor Time): ...to here. Correct description.
4316 * manual/conf.texi (Constants for Sysconf): Correct description of
4319 2012-04-10 David S. Miller <davem@davemloft.net>
4322 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4323 where the is a gap between DT_REL(A) and DT_JMPREL.
4325 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4327 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4328 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4329 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4331 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4333 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4334 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4335 (dl_main): Handle --inhibit-cache.
4336 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4338 * elf/dl-load.c (_dl_map_object): Use it.
4339 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4341 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4344 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4345 (__ieee754_powl): Saturate large exponents rather than testing for
4346 overflow of y*log2(x).
4347 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4348 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4352 * math/s_ctan.c: Include <float.h>.
4353 (__ctan): Avoid internal overflow or cancellation in calculating
4355 * math/s_ctanf.c: Likewise.
4356 * math/s_ctanl.c: Likewise.
4357 * math/s_ctanh.c: Likewise.
4358 * math/s_ctanhf.c: Likewise.
4359 * math/s_ctanhl.c: Likewise.
4360 * math/libm-test.inc (ctan_test): Add more tests.
4361 (ctanh_test): Likewise.
4362 * sysdeps/i386/fpu/libm-test-ulps: Update.
4363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4365 2012-04-09 Andreas Jaeger <aj@suse.de>
4368 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4369 is an optional BSD extension.
4372 * manual/stdio.texi (Opening Streams): Document additional fopen
4375 2012-04-09 Roland McGrath <roland@hack.frob.com>
4377 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4378 %eax without telling the compiler.
4380 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4383 * manual/install.texi: Use sourceware.org.
4385 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4388 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4389 (__ieee754_pow): Generate overflow and underflow using huge*huge
4390 and tiny*tiny rather than just returning constant infinity or zero
4391 for large exponents.
4392 * math/libm-test.inc (pow_test): Require overflow exceptions for
4393 applicable cases of large exponents.
4396 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4397 (__ieee754_pow): Use iterative multiplication algorithm only for
4398 integer exponents with absolute value below 1024. Check for odd
4399 integer exponents when using algorithm for real exponents.
4400 * math/libm-test.inc (pow_test): Add more tests.
4401 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4403 2012-04-08 Joseph Myers <joseph@codesourcery.com>
4406 * math/libm-test.inc (exp_test): Do not allow overflow exception
4409 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4412 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4413 instead of __kernel_standard_f.
4415 2012-04-08 Mike Frysinger <vapier@gentoo.org>
4417 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4418 * sysdeps/x86_64/memset_chk.S: Likewise.
4420 2012-04-08 Andreas Jaeger <aj@suse.de>
4423 * manual/startup.texi (Environment Access): Describe return value
4424 for putenv and setenv.
4427 * manual/filesys.texi (Directory Entries): Add description for
4431 * manual/filesys.texi (Directory Entries): Clarify that it's file
4432 system not operating system in the description of DT_UNKNOWN.
4435 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4437 2012-04-08 Stephen Compall <s11@member.fsf.org>
4440 * manual/llio.texi (Opening and Closing Files): Add cross
4441 reference to explain mode argument.
4443 2012-04-07 Mike Frysinger <vapier@gentoo.org>
4445 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4446 * sysdeps/x86_64/memset_chk.S: Likewise.
4448 2012-04-07 David S. Miller <davem@davemloft.net>
4450 * elf/elf.h (R_SPARC_WDISP10): Define.
4451 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4453 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4454 R_SPARC_SIZE64 and R_SPARC_H34.
4456 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4458 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4459 conditions and remove no longer applicable assertion.
4461 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4463 * bits/byteswap.h: Include <features.h>.
4464 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4465 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4467 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4469 * bits/byteswap.h (__bswap_16): Removed.
4470 Include <bits/byteswap-16.h> to get __bswap_16.
4471 * sysdeps/i386/bits/byteswap.h: Likewise.
4472 * sysdeps/s390/bits/byteswap.h: Likewise.
4473 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4474 * bits/byteswap-16.h: New file.
4475 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4476 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4477 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4478 * string/Makefile (headers): Add bits/byteswap-16.h.
4480 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4483 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4485 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4486 * nss/tst-nss-static.c: New.
4488 2012-04-06 Robert Millan <rmh@gnu.org>
4491 * manual/llio.texi (File Position Primitive): lseek
4492 refers to WHENCE when it really means OFFSET.
4494 2012-04-06 Andreas Jaeger <aj@suse.de>
4496 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4497 strncmp declarations.
4499 * abilist/libc.abilist: Add __poll and __ppoll.
4501 2012-04-05 David S. Miller <davem@davemloft.net>
4503 * scripts/check-local-headers.sh: Accept a host triplet in the
4504 path matched by the exclude regexp.
4506 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4508 * sysdeps/powerpc/powerpc32/dl-machine.h
4509 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4510 * sysdeps/s390/s390-32/dl-machine.h
4511 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4512 * sysdeps/sparc/sparc32/dl-machine.h
4513 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4514 * sysdeps/sparc/sparc64/dl-machine.h
4515 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4517 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4519 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
4520 undefined symbol errors.
4522 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
4525 2012-04-05 Michael Matz <matz@suse.de>
4528 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4530 2012-04-05 Andreas Jaeger <aj@suse.de>
4533 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4536 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4538 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4539 which ROUND is no valid rounding mode.
4541 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4543 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4545 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4547 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4549 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4550 an exception using FPU order intentionally.
4552 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4554 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4555 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4556 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4557 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4559 2012-04-05 Simon Josefsson <simon@josefsson.org>
4562 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4563 EINVAL when BUFLEN is too smal.
4565 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4568 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4569 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4571 2012-04-03 Andreas Jaeger <aj@suse.de>
4574 * manual/setjmp.texi (System V contexts): Fix sentence.
4577 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4578 New macro for this case.
4579 [!__GNUC__] (__bswap_64): New inline function for this case.
4580 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4581 * bits/byteswap.h: Likewise.
4582 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4583 ull, guard with __GLIBC_HAVE_LONG_LONG.
4585 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4586 __GLIBC_HAVE_LONG_LONG.
4588 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4589 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4591 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4594 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4595 inptr and inend, rather than using last_ch.
4597 2012-04-02 David S. Miller <davem@davemloft.net>
4599 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4600 * stdio-common/printf-parse.h (read_int): Change return type to
4601 'int', return -1 on INT_MAX overflow.
4602 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4603 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4604 overflows INT_MAX. Check for overflow of in-format-string precision
4605 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4606 SIZE_MAX not INT_MAX for integer overflow test.
4607 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4608 skip the construct in the format string but do not record anything.
4609 * stdio-common/bug22.c: Adjust to test both width/prevision
4610 INT_MAX overflow as well as total length INT_MAX overflow. Check
4611 explicitly for proper errno values.
4613 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
4615 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
4617 * string/test-strcmp.c [! WIDE]: Likewise.
4618 * time/tst-mktime2.c: Likewise for INT_MAX.
4619 * string/test-string.h: #include <sys/param.h> for MIN.
4621 * csu/init-first.c (__libc_init_first): Call __ctype_init.
4622 * sysdeps/i386/init-first.c (init): Likewise.
4623 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4624 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4625 * sysdeps/sh/init-first.c (init): Likewise.
4627 2012-04-01 Ulrich Drepper <drepper@gmail.com>
4629 * po/ru.po: Update from translation team.
4630 * po/vi.po: Likewise.
4632 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4634 * resolv/nss_dns/dns-host.c: Merge copyright years.
4636 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4638 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4639 Optimize memcpy with prefetch if
4640 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4641 src, dst pointers have unequal 16 byte alignments.
4643 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4646 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4647 from a CNAME entry and return the minimum ttl for the query.
4648 (gaih_getanswer_slice): Likewise.
4650 2012-03-30 Jeff Law <law@redhat.com>
4652 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4654 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4655 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4657 * resolv/nss_dns/dns-host.c: Update copyright year.
4659 2012-03-30 Ulrich Drepper <drepper@gmail.com>
4661 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
4662 requests to save a system call. Fix check that all bytes are sent.
4664 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4665 comments for sendmmsg.
4667 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4670 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
4671 with only 1 character between 0x0041 and 0x01b0.
4672 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
4673 * wcsmbs/tst-mbsnrtowcs.c: New file.
4675 2012-03-29 David S. Miller <davem@davemloft.net>
4677 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
4678 small copies by hand.
4680 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4683 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
4684 _nss_compat_initgroups_dyn): Fall back to malloc/free
4685 for large group memberships.
4687 2012-03-28 David S. Miller <davem@davemloft.net>
4689 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
4690 that branches into memcpy.
4691 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4692 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4693 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4694 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4695 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
4697 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
4699 * sysdeps/sparc/mempcpy.S: New file.
4701 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
4702 the IFUNC routine in the libc case.
4703 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4705 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
4706 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
4707 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
4708 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
4709 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
4710 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
4711 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
4712 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
4714 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
4715 loop to 256 bytes instead of 64 bytes and fix test signedness.
4717 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
4718 * sysdeps/sparc/sparc32/Makefile: rather than here...
4719 * sysdeps/sparc/sparc64/Makefile: and here.
4721 2012-03-28 Ulrich Drepper <drepper@gmail.com>
4723 * malloc/mallocbug.c: Avoid warnings about unused variables.
4725 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4728 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
4729 in the right place. Discard and retry query if response is
4730 larger than input buffer size.
4732 2012-03-28 Joseph Myers <joseph@codesourcery.com>
4737 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
4738 x for large integer exponent.
4739 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4740 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
4741 sign of result as needed afterwards.
4742 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4743 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
4744 result for underflowing pow the same as for overflow.
4745 (__kernel_standard_l): Handle powl overflow and underflow here
4746 rather than calling __kernel_standard.
4747 * math/libm-test.inc (pow_test): Add more tests.
4762 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
4763 * sysdeps/ieee754/k_standard.c: Include <float.h>.
4764 (__kernel_standard_l): New function.
4765 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
4767 * math/w_acosl.c (__acosl): Likewise.
4768 * math/w_asinl.c (__asinl): Likewise.
4769 * math/w_atan2l.c (__atan2l): Likewise.
4770 * math/w_atanhl.c (__atanhl): Likewise.
4771 * math/w_coshl.c (__coshl): Likewise.
4772 * math/w_exp10l.c (__exp10l): Likewise.
4773 * math/w_exp2l.c (__exp2l): Likewise.
4774 * math/w_fmodl.c (__fmodl): Likewise.
4775 * math/w_hypotl.c (__hypotl): Likewise.
4776 * math/w_j0l.c (__j0l, __y0l): Likewise.
4777 * math/w_j1l.c (__j1l, __y1l): Likewise.
4778 * math/w_jnl.c (__jnl, __ynl): Likewise.
4779 * math/w_lgammal.c (__lgammal): Likewise.
4780 * math/w_log10l.c (__log10l): Likewise.
4781 * math/w_log2l.c (__log2l): Likewise.
4782 * math/w_logl.c (__logl): Likewise.
4783 * math/w_powl.c (__powl): Likewise.
4784 * math/w_remainderl.c (__remainderl): Likewise.
4785 * math/w_scalbl.c (sysv_scalbl): Likewise.
4786 * math/w_sinhl.c (__sinhl): Likewise.
4787 * math/w_sqrtl.c (__sqrtl): Likewise.
4788 * math/w_tgammal.c (__tgammal): Likewise.
4789 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
4790 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
4791 * math/libm-test.inc (acos_test): Add more tests.
4792 (acosh_test): Likewise.
4793 (asin_test): Likewise.
4794 (atanh_test): Likewise.
4795 (exp_test): Likewise.
4796 (exp10_test): Likewise.
4797 (exp2_test): Likewise.
4798 (expm1_test): Likewise.
4799 (lgamma_test): Likewise.
4800 (log_test): Likewise.
4801 (log10_test): Likewise.
4802 (log1p_test): Likewise.
4803 (log2_test): Likewise.
4804 (pow_test): Do not allow some spurious overflow exceptions.
4805 (sqrt_test): Add more tests.
4806 (tgamma_test): Likewise.
4807 (y0_test): Likewise.
4808 (y1_test): Likewise.
4809 (yn_test): Likewise.
4811 2012-03-27 Anton Blanchard <anton@samba.org>
4813 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4815 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4816 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4817 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4819 2012-03-27 David S. Miller <davem@davemloft.net>
4821 * conform/Makefile: Run run-conformtest.sh using $(BASH).
4823 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
4826 2012-03-27 Andreas Jaeger <aj@suse.de>
4828 * sysdeps/x86_64/elf/configure.in: Moved to ...
4829 * sysdeps/x86_64/configure.in: ... here.
4830 * sysdeps/x86_64/elf/start.S: Moved to ...
4831 * sysdeps/x86_64/start.S: ... here.
4832 * sysdeps/x86_64/elf/configure: Delete.
4834 * sysdeps/x86_64/configure.in: Merge contents from
4835 sysdeps/i386/configure.in (without i686 check).
4837 * sysdeps/i386/elf/Versions: Merge into ...
4838 * sysdeps/i386/Versions: ... this.
4839 * sysdeps/i386/elf/Versions: Delete file.
4840 * sysdeps/i386/elf/start.S: Moved to ...
4841 * sysdeps/i386/start.S: ...here.
4842 * sysdeps/i386/elf/configure.in: Merge into...
4843 * sysdeps/i386/configure.in: ...here.
4844 * sysdeps/i386/elf/configure.in: Delete file.
4845 * sysdeps/i386/elf/configure: Delete file.
4847 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
4848 * debug/backtracesyms.c: ... here.
4849 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
4850 * debug/backtracesymsfd.c: ... here.
4851 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
4852 * sysdeps/generic/ifunc-sel.h: ... here.
4854 * sysdeps/unix/i386/start.c: Delete file.
4855 * sysdeps/unix/sparc/start.c: Delete file.
4856 * sysdeps/unix/start.c: Delete file.
4858 * sysdeps/sh/elf/configure.in: Moved to ...
4859 * sysdeps/sh/configure.in: ... here.
4860 * sysdeps/sh/elf/start.S: Moved to ...
4861 * sysdeps/sh/start.S: ... here.
4862 * sysdeps/sh/elf/configure: Delete file.
4864 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
4865 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
4866 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
4867 * sysdeps/powerpc/powerpc64/entry.h: ... here.
4868 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
4869 * sysdeps/powerpc/powerpc64/start.S: here.
4870 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
4871 * sysdeps/powerpc/powerpc64/Makefile: ... this.
4872 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
4873 * sysdeps/powerpc/powerpc64/configure.in: ... this.
4874 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
4876 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
4877 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
4878 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
4879 * sysdeps/powerpc/powerpc32/start.S: ... here.
4880 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
4881 * sysdeps/powerpc/powerpc32/configure.in: ... this.
4882 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
4884 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
4885 * sysdeps/powerpc/ifunc-sel.h: ... here.
4886 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
4887 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
4889 * sysdeps/sparc/elf/configure.in: Moved to ...
4890 * sysdeps/sparc/configure.in: ... here.
4891 * sysdeps/sparc/elf/configure: Delete file.
4892 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
4893 * sysdeps/sparc/sparc32/start.S: ... here.
4894 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
4895 * sysdeps/sparc/sparc64/start.S: ... here.
4896 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
4897 * sysdeps/sparc/sparc32/Makefile: ... this.
4898 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
4899 * sysdeps/sparc/sparc64/Makefile: ... this.
4901 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
4902 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
4903 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
4904 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
4905 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
4906 * sysdeps/s390/s390-32/setjmp.S: ... here.
4907 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
4908 * sysdeps/s390/s390-32/configure.in: ... here.
4909 * sysdeps/s390/s390-32/elf/configure: Delete file.
4910 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4911 * sysdeps/s390/s390-32/start.S: ... here.
4913 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4914 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4915 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4916 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4917 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4918 * sysdeps/s390/s390-64/setjmp.S: ... here.
4919 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4920 * sysdeps/s390/s390-64/configure.in: ... here
4921 * sysdeps/s390/s390-64/elf/configure: Delete file.
4922 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4923 * sysdeps/s390/s390-64/start.S: ... here.
4924 * sysdeps/s390/s390-64/elf/configure: Delete.
4926 * configure.in: Remove support for elf directories in sysdeps.
4928 * configure: Regenerated.
4929 * sysdeps/i386/configure: Regenerated.
4930 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4931 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4932 * sysdeps/s390/s390-32/configure: Regenerated.
4933 * sysdeps/s390/s390-64/configure: Regenerated.
4934 * sysdeps/sh/configure: Regenerated.
4935 * sysdeps/sparc/configure: Regenerated.
4936 * sysdeps/x86_64/configure: Regenerated.
4938 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4942 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4943 denormal result into account.
4945 2012-03-25 Roland McGrath <roland@hack.frob.com>
4947 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4948 Reported by Allan McRae <allan@archlinux.org>.
4950 2012-03-23 Jeff Law <law@redhat.com>
4952 * nss/getnssent.c (__nss_getent): Fix typo.
4954 2012-03-23 David S. Miller <davem@davemloft.net>
4956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4958 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4960 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4961 to pad to uint64_t for each field.
4962 (dl_tls_index): Replace unsigned long with uint64_t.
4964 2012-03-23 Daniel Jacobowitz <dmj@google.com>
4965 Paul Pluzhnikov <ppluzhnikov@google.com>
4968 * grp/Makefile (otherlibs): Don't set it.
4969 * inet/Makefile (otherlibs): Likewise.
4970 * login/Makefile (otherlibs): Likewise.
4971 * nscd/Makefile (otherlibs): Likewise.
4972 * posix/Makefile (otherlibs): Likewise.
4973 * pwd/Makefile (otherlibs): Likewise.
4974 * rt/Makefile (otherlibs): Likewise.
4975 * sunrpc/Makefile (otherlibs): Likewise.
4976 * nss/Makefile (otherlibs): Likewise.
4977 Add libnss_files to routines and static-only-routines.
4978 ($(objpfx)getent): Remove rule.
4979 * resolv/Makefile: Add libnss_dns and libresolv to routines and
4980 static-only-routines.
4982 2012-03-22 Joseph Myers <joseph@codesourcery.com>
4985 * math/s_cexp.c: Include <float.h>.
4986 (__cexp): Handle exp result overflowing not necessarily
4987 overflowing both real and imaginary parts of result.
4988 * math/s_cexpf.c: Likewise.
4989 * math/s_cexpl.c: Likewise.
4990 * math/libm-test.inc (cexp_test): Add more tests.
4991 * sysdeps/i386/fpu/libm-test-ulps: Update.
4992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4994 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4996 * include/link.h (ELFW): New macro.
4997 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4998 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5000 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5002 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5005 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5007 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5009 (struct La_x32_retval): Likewise.
5011 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5013 * sysdeps/x86_64/preconfigure.in: New file.
5014 * sysdeps/x86_64/preconfigure: New generated file.
5016 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5019 * math/e_exp2l.c: Include <float.h>.
5020 (__ieee754_exp2l): Handle overflow and underflow cases
5021 separately. Only pass fractional part of argument to
5023 * math/libm-test.inc (exp2_test): Add more tests.
5025 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5026 negating x to take absolute value.
5027 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5029 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5030 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5032 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5033 computing low part if x was negated.
5034 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5036 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5038 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5040 (pltexit): Cast int_retval to ptrdiff_t.
5041 * elf/tst-auditmod3b.c: Likewise.
5042 * elf/tst-auditmod4b.c: Likewise.
5043 * elf/tst-auditmod5b.c: Likewise.
5044 * elf/tst-auditmod6b.c: Likewise.
5045 * elf/tst-auditmod6c.c: Likewise.
5046 * elf/tst-auditmod7b.c: Likewise.
5048 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5049 and x32_gnu_pltexit.
5051 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5053 (La_x32_regs): New macro.
5054 (La_x32_retval): Likewise.
5055 (la_x32_gnu_pltenter): New function prototype.
5056 (la_x32_gnu_pltexit): Likewise.
5058 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5060 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5065 * configure.in (libc_cv_cc_nofma): Check for option to disable
5066 generation of FMA instructions.
5067 * configure: Regenerate.
5068 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5069 * sysdeps/ieee754/dbl-64/Makefile: New file.
5070 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5071 Remove brandred-fma4.
5072 (CFLAGS-brandred-fma4.c): Remove.
5073 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5074 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5076 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5079 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5081 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5082 LLONG_MAX != LONG_MAX.
5083 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5084 (_fitoa_word): Likewise.
5085 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5086 LLONG_MAX != LONG_MAX.
5087 * stdio-common/_itowa.h: Include <_itoa.h>.
5088 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5089 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5090 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5091 only if not defined.
5092 (_ITOA_WORD_TYPE): Likewise.
5093 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5094 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5096 2012-03-21 David S. Miller <davem@davemloft.net>
5098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5100 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5102 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5103 of x86_64 when setting libc_cv_slibdir, libdir and
5105 * sysdeps/unix/sysv/linux/configure: Regenerated.
5107 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5109 * manual/lang.texi (Old Varargs): Remove section.
5110 (How Variadic): Update menu.
5111 (va_start): Do not mention varargs.h.
5113 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5114 Joseph Myers <joseph@codesourcery.com>
5116 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5118 * configure: Regenerated.
5120 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5122 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5123 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5126 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5129 * Makefile (files-for-dist): Remove NOTES.
5130 (NOTES): Remove rule.
5131 * README: Don't refer to NOTES.
5132 * manual/creature.texi: Don't include macros.texi.
5133 * manual/intro.texi (creature.texi): Remove comment referring to
5136 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5137 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5138 * configure: Regenerated.
5139 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5141 (libc_cv_as_i686): Likewise.
5142 (libc_cv_cc_avx): Likewise.
5143 (libc_cv_cc_sse2avx): Likewise.
5144 (libc_cv_cc_fma4): Likewise.
5145 (libc_cv_cc_novzeroupper): Likewise.
5146 * sysdeps/i386/configure: Regenerated.
5149 * sysdeps/i386/fpu/s_cexp.S: Remove.
5150 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5151 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5152 * math/libm-test.inc (cexp_test): Add more tests.
5153 * sysdeps/i386/fpu/libm-test-ulps: Update.
5154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5156 2012-03-21 Allan McRae <allan@archlinux.org>
5158 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5160 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5163 * math/w_exp2.c: Do not include <float.h>.
5164 (o_threshold, u_threshold): Remove.
5165 (__exp2): Calculate result before checking finiteness and calling
5167 * math/w_exp2f.c: Likewise.
5168 * math/w_exp2l.c: Likewise.
5169 * math/libm-test.inc (exp2_test): Require overflow exception for
5173 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5174 range of signed 64-bit integers before using fistpll. Remove
5175 checks for whether integers fit in mantissa bits.
5176 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5177 the range of signed 32-bit integers before using fistpl. Remove
5178 checks for whether integers fit in mantissa bits.
5179 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5180 (__ieee754_powl): Test for y outside the range of signed 64-bit
5181 integers before using fistpll. Reduce 64-bit values to 63-bit
5183 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5184 divide-by-zero is raised for zero to large negative powers.
5185 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5186 (__ieee754_powl): Test for y outside the range of signed 64-bit
5187 integers before using fistpll. Reduce 64-bit values to 63-bit
5189 * math/libm-test.inc (pow_test): Add more tests.
5191 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5193 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5194 <stdio-common/_itoa.h>.
5195 * debug/segfault.c: Likewise.
5196 * elf/dl-cache.c: Likewise.
5197 * elf/dl-minimal.c: Likewise.
5198 * elf/dl-misc.c: Likewise.
5199 * elf/dl-sysdep.c: Likewise.
5200 * elf/dl-version.c: Likewise.
5201 * elf/rtld.c: Likewise.
5202 * hurd/hurdsock.c: Likewise.
5203 * hurd/lookup-retry.c: Likewise.
5204 * malloc/malloc.c: Likewise.
5205 * malloc/mtrace.c: Likewise.
5206 * nscd/nscd_getgr_r.c: Likewise.
5207 * nscd/nscd_getpw_r.c: Likewise.
5208 * nscd/nscd_getserv_r.c: Likewise.
5209 * posix/getopt_init.c: Likewise.
5210 * posix/wordexp.c: Likewise.
5211 * stdio-common/_itoa.c: Likewise.
5212 * stdio-common/printf_fphex.c: Likewise.
5213 * stdio-common/vfprintf.c: Likewise.
5214 * string/_strerror.c: Likewise.
5215 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5216 * sysdeps/i386/i686/hp-timing.h: Likewise.
5217 * sysdeps/mach/_strerror.c: Likewise.
5218 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5219 * sysdeps/mach/hurd/sethostid.c: Likewise.
5220 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5221 * sysdeps/mach/xpg-strerror.c: Likewise.
5222 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5223 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5224 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5225 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5226 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5227 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5228 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5229 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5230 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5231 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5232 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5233 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5234 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5235 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5236 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5237 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5238 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5239 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5240 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5241 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5242 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5244 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5246 * stdio-common/_itoa.h: Moved to ...
5247 * sysdeps/generic/_itoa.h: Here.
5249 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5251 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5252 instead of "_itoa.h" and "_itowa.h".
5253 * stdio-common/vfprintf.: Likewise.
5255 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5257 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5259 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5260 (__signbit): Likwise.
5264 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5266 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5269 2012-03-20 Joseph Myers <joseph@codesourcery.com>
5271 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5272 OVERFLOW_EXCEPTION_OK.
5273 * math/libm-test.inc ("Philosophy"): Update comment about
5275 (OVERFLOW_EXCEPTION): Define.
5276 (OVERFLOW_EXCEPTION_OK): Likewise.
5277 (INVALID_EXCEPTION_OK): Renumber.
5278 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5279 (IGNORE_ZERO_INF_SIGN): Likewise.
5280 (test_exceptions): Handle FE_OVERFLOW.
5281 (exp10_test): Expect overflow exceptions.
5282 (exp2_test): Likewise.
5283 (expm1_test): Likewise.
5284 (nextafter_test): Likewise.
5285 (pow_test): Likewise.
5286 (scalbn_test): Likewise.
5287 (scalbln_test): Likewise.
5289 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5291 * sysdeps/x86_64/bits/atomic.h
5292 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5294 (atomic_exchange_acq): Likewise.
5295 (__arch_exchange_and_add_body): Likewise.
5296 (__arch_add_body): Likewise.
5297 (atomic_add_negative): Likewise.
5298 (atomic_add_zero): Likewise.
5300 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5302 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
5303 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5305 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5307 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5308 Check __x86_64__ instead of __WORDSIZE.
5310 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5312 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5314 2012-03-19 David S. Miller <davem@davemloft.net>
5316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5318 * sysdeps/sparc/fpu/fenv_private.h: New file.
5319 * sysdeps/sparc/fpu/math_private.h: Use it.
5320 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5322 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5323 (libc_feholdexcept_setroundl): Remove.
5324 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5326 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5327 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5329 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5331 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5332 int64_t instead of long int.
5333 (INSERT_WORDS64): Likwise.
5335 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5337 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5338 _Unwind_GetCFA return to _Unwind_Ptr first.
5340 2012-03-19 Joseph Myers <joseph@codesourcery.com>
5343 * math/s_clog.c: Include <float.h>.
5344 (__clog): Scale large or subnormal inputs.
5345 * math/s_clogf.c: Likewise.
5346 * math/s_clogl.c: Likewise.
5347 * math/s_clog10.c: Include <float.h>.
5348 (M_LOG10_2): Define.
5349 (__clog10): Scale large or subnormal inputs.
5350 * math/s_clog10f.c: Likewise.
5351 * math/s_clog10l.c: Likewise.
5352 * math/libm-test.inc (clog_test): Add more tests.
5353 (clog10_test): Likewise.
5354 * sysdeps/i386/fpu/libm-test-ulps: Update.
5355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5358 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5360 * math/libm-test.inc (atan2_test): Add another test.
5362 * Makerules (common-objdir-compile): Remove.
5363 * sysdeps/unix/Makefile (config-generated): Do not add
5364 $(unix-generated) to variable.
5365 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5366 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5368 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5370 [generic bits/local_lim.h] (before-compile): Do not append to
5372 [generic bits/local_lim.h] (common-generated): Likewise.
5373 [generic sys/param.h] (before-compile): Do not append to variable.
5374 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5375 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5376 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5377 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5379 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5380 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5381 [generic sys/param.h] ($(addprefix
5382 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5383 [generic sys/param.h] (common-generated): Do not append to
5385 [generic sys/param.h] (sysdep_headers): Likewise.
5386 [generic bits/errno.h] (before-compile): Do not append to
5388 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5390 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5391 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5392 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5393 [generic bits/errno.h] (common-generated): Do not append to
5395 [generic bits/ioctls.h] (before-compile): Do not append to
5397 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5399 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5400 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5401 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5403 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5404 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5405 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5406 [generic bits/ioctls.h] (common-generated): Do not append to
5408 [generic sys/syscall.h] (syscall.h): Remove variable.
5409 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5411 [generic sys/syscall.h] (before-compile): Do not append to
5413 [generic sys/syscall.h] (common-generated): Likewise.
5414 * sysdeps/unix/errnos-tmpl.c: Remove file.
5415 * sysdeps/unix/errnos.awk: Likewise.
5416 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5417 * sysdeps/unix/ioctls.awk: Likewise.
5418 * sysdeps/unix/mk-local_lim.c: Likewise.
5419 * sysdeps/unix/snarf-ioctls: Likewise.
5421 2012-03-19 Richard Henderson <rth@twiddle.net>
5423 * sysdeps/i386/fpu/fenv_private.h: New file.
5424 * sysdeps/i386/fpu/math_private.h: Use it.
5425 (math_opt_barrier, math_force_eval): Remove.
5426 (libc_feholdexcept_setround_53bit): Remove.
5427 (libc_feupdateenv_53bit): Remove.
5428 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5429 (math_opt_barrier, math_force_eval): Remove.
5430 (libc_feholdexcept): Remove.
5431 (libc_feholdexcept_setround): Remove.
5432 (libc_fetestexcept, libc_fesetenv): Remove.
5433 (libc_feupdateenv_test): Remove.
5434 (libc_feupdateenv, libc_feholdsetround): Remove.
5435 (libc_feresetround): Remove.
5437 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5438 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5440 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5441 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5442 (libc_feupdateenv_testl): New.
5443 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5444 (libc_feupdateenv_testf): New.
5445 (libc_feupdateenv): Use libc_feupdateenv_test.
5446 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5447 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5449 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5450 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5451 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5452 (libc_feresetround_noex): New.
5453 (libc_feresetround_noexf): New.
5454 (libc_feresetround_noexl): New.
5455 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5456 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5457 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5458 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5460 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5461 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5463 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5464 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5465 SET_RESTORE_ROUND_NOEX.
5466 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5467 SET_RESTORE_ROUND_NOEXF.
5468 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5469 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5470 (libc_feholdsetroundf): New.
5471 (libc_feresetround, libc_feresetroundf): New.
5473 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5474 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5475 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5477 * sysdeps/generic/math_private.h: Include <fenv.h>.
5478 (default_libc_feholdexcept): New.
5479 (default_libc_feholdexcept_setround): New.
5480 (default_libc_fesetenv, default_libc_feupdateenv): New.
5481 (libc_feholdexcept): Only define if undefined.
5482 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5483 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5484 (libc_feholdexcept_setroundl): Likewise.
5485 (libc_feholdexcept_setround_53bit): Likewise.
5486 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5487 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5488 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5489 (libc_feupdateenv_53bit): Likewise.
5490 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5491 (libc_feholdexcept): Convert from macro to inline function.
5492 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5493 (libc_fesetenv, libc_feupdateenv): Likewise.
5495 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5496 not previously defined.
5497 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5498 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5499 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5500 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5501 * sysdeps/ieee754/flt-32/math_private.h: New file.
5502 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5503 math_private.h below SET_FLOAT_WORD.
5504 (__isnan, __isinf_ns, __finite): Remove.
5505 (__isnanf, __isinf_nsf, __finitef): Remove.
5507 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5511 2012-03-17 David S. Miller <davem@davemloft.net>
5514 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5517 2012-03-16 David S. Miller <davem@davemloft.net>
5519 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5523 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5525 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5526 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5527 sysdep_routines when subdir is sysvipc.
5528 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5531 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5533 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5535 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5538 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5540 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5541 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5542 (__lround): Renamed to ...
5543 (__llround): This. Replace long int with long long int.
5544 Define lround functions as aliases of llround functions.
5545 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5547 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5549 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5550 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5551 adresses to uintptr_t. Replace "long int" and "unsigned long
5552 int" with "greg_t" on va_arg.
5554 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5556 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5557 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5559 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5560 Move e_machine check before EI_CLASS check. Handle x32
5561 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5562 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5563 SKIP_EM_IA_64 and include
5564 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5566 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5567 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5568 (add_system_dir): New macro.
5570 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5571 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5573 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5584 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5586 * math/w_j0f.c (j0f): Likewise.
5588 * math/w_j0l.c (__j0l): Likewise.
5590 * math/w_j1.c (j1): Likewise.
5592 * math/w_j1f.c (j1f): Likewise.
5594 * math/w_j1l.c (__j1l): Likewise.
5596 * math/w_jn.c (jn): Likewise.
5598 * math/w_jnf.c (jnf): Likewise.
5600 * math/w_jnl.c (__jnl): Likewise.
5602 * math/libm-test.inc (j0_test): Add more tests.
5603 (j1_test): Likewise.
5604 (jn_test): Likewise. Add trailing semicolon to existing test.
5605 (y0_test): Likewise.
5606 (y1_test): Likewise.
5607 * sysdeps/i386/fpu/libm-test-ulps: Update.
5608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5612 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5613 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5614 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5615 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
5616 (__tanl): Set errno for infinite argument.
5617 * sysdeps/i386/fpu/mptan.c: Remove.
5618 * sysdeps/i386/fpu/s_tan.S: Likewise.
5619 * sysdeps/i386/fpu/s_tanl.S: Likewise.
5620 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
5621 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5622 * math/libm-test.inc (tan_test): Add more tests and enable more
5623 tests for double and long double.
5624 * sysdeps/i386/fpu/libm-test-ulps: Update.
5625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5627 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5629 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5630 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5632 2012-03-16 Roland McGrath <roland@hack.frob.com>
5634 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5635 * configure.in: Use it for both main tree and add-ons.
5636 * configure: Regenerated.
5638 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5640 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5642 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5644 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5648 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5649 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5650 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5651 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5652 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5654 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5655 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5657 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5658 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5659 * sysdeps/i386/fpu/s_cosl.S: Likewise.
5660 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5661 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5662 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5663 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5664 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5665 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5666 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5667 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5668 * math/libm-test.inc (cos_test): Add more tests and enable more
5669 tests for long double.
5670 (sin_test): Likewise.
5671 (sincos_test): Likewise.
5672 * sysdeps/i386/fpu/libm-test-ulps: Update.
5673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5675 2012-03-16 David S. Miller <davem@davemloft.net>
5677 * sysdeps/sparc/fpu/math_private.h: New file.
5679 2012-03-15 David S. Miller <davem@davemloft.net>
5681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
5683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
5684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
5686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
5687 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
5688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
5689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
5690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
5691 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
5693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5695 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
5696 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
5698 * sysdeps/sparc/sparc-ifunc.h: New file.
5699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
5701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
5704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
5706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
5707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
5708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
5715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
5717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
5719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
5721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5723 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5724 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5725 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
5726 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
5727 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5728 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5731 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5732 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5733 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
5734 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
5735 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
5736 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
5737 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
5738 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
5739 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
5740 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
5741 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
5742 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
5744 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5746 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
5748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5750 2012-03-15 Andreas Jaeger <aj@suse.de>
5753 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
5754 ieee754/flt-32 implementation for sin, cos and sincos.
5755 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
5756 * sysdeps/i386/fpu/s_cosf.S: Likewise.
5757 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
5758 * sysdeps/i386/fpu/s_sinf.S: Likewise.
5759 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
5760 ieee754/flt-32 implementation for tan.
5762 * math/libm-test.inc (cos_test): Enable some large input tests for
5764 (sin_test): Likewise.
5765 (sincos_test): Likewise.
5766 (tan_test): Add tests for large input.
5768 * sysdeps/i386/fpu/libm-test-ulps: Update.
5770 2012-03-15 Andreas Jaeger <aj@suse.de>
5773 * math/libm-test.inc (cos_test): Add more test cases.
5774 (sin_test): Likewise.
5775 (sincos_test): Likewise.
5777 2012-03-15 Andreas Jaeger <aj@suse.de>
5780 * math/libm-test.inc (cos_test): Add a test case for large input
5782 (sin_test): Likewise.
5783 (sincos_test): Likewise.
5785 2012-03-15 Andreas Jaeger <aj@suse.de>,
5786 Joseph Myers <joseph@codesourcery.com>
5789 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
5790 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
5791 * sysdeps/i386/fpu/branred.c: Likewise.
5792 * sysdeps/i386/fpu/dosincos.c: Likewise.
5793 * sysdeps/i386/fpu/mpa.c: Likewise.
5794 * sysdeps/i386/fpu/s_cos.S: Likewise.
5795 * sysdeps/i386/fpu/s_sin.S: Likewise.
5796 * sysdeps/i386/fpu/s_sincos.S: Likewise.
5797 * sysdeps/i386/fpu/sincos32.c: Likewise.
5799 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
5801 (libc_feupdateenv_53bit): Define.
5802 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
5804 (libc_feupdateenv_53bit): Define.
5806 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
5807 53 bit (without extend i386 double precision).
5809 * math/libm-test.inc (sincos_test): Add tests for large input.
5813 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5815 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5819 2012-03-15 David S. Miller <davem@davemloft.net>
5821 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
5822 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
5823 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
5824 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
5825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
5826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
5827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
5828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
5829 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
5830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
5831 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
5832 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
5833 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
5834 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
5835 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
5836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
5838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
5839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
5841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
5842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
5844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
5845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
5847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
5848 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
5849 fmin/fmax sysdep routines.
5850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5852 2012-03-14 David S. Miller <davem@davemloft.net>
5854 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
5855 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
5856 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
5857 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
5858 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
5859 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
5860 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
5861 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
5862 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
5863 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
5864 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
5865 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
5866 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
5867 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
5868 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
5869 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
5870 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
5871 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
5872 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
5873 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
5874 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
5875 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
5876 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
5877 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
5878 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
5879 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
5880 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
5881 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
5882 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
5884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
5886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
5887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
5889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
5890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
5892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
5893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
5895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
5896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
5898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
5899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
5901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
5903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
5905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
5907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
5909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
5914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
5917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
5920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
5923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5926 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5931 * sysdeps/sparc/configure.in: New file.
5932 * sysdeps/sparc/configure: Generate.
5933 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5934 * configure: Regenerate.
5935 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5936 * config.make.in (have-as-vis3): New.
5937 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5938 available use -Av9d instead of -Av9a.
5939 * sysdeps/sparc/sparc64/Makefile: Likewise.
5940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
5941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5949 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5950 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5951 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5952 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5953 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5955 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5956 fzeros/fnegs to load 0x80000000 into a float register instead of
5958 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5960 2012-03-14 Joseph Myers <joseph@codesourcery.com>
5962 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5964 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5965 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5966 ($(inst_includedir)/bits/syscall.h): Remove rule.
5967 ($(objpfx)bits/syscall.d): Include instead of
5968 $(objpfx)syscall-list.d.
5969 (generated): Change syscall-list.h and syscall-list.d to
5970 bits/syscall.h and bits/syscall.d.
5972 2012-03-14 Roland McGrath <roland@hack.frob.com>
5975 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5977 2012-03-14 Joseph Myers <joseph@codesourcery.com>
5980 * math/s_csqrt.c: Include <float.h>.
5981 (__csqrt): Scale large or subnormal inputs.
5982 * math/s_csqrtf.c: Likewise.
5983 * math/s_csqrtl.c: Likewise.
5984 * math/libm-test.inc (csqrt_test): Add more tests.
5985 * sysdeps/i386/fpu/libm-test-ulps: Update.
5986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5989 * math/libm-test.inc (hypot_test): Add more tests.
5991 2012-03-13 David S. Miller <davem@davemloft.net>
5994 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5995 double-precision for the calculation instead of scaling.
5997 2012-03-13 Joseph Myers <joseph@codesourcery.com>
5999 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6000 manipulate bits before adding and subtracting TWO52[sx].
6001 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6002 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6004 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6006 2012-03-13 David S. Miller <davem@davemloft.net>
6008 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6009 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6010 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6011 rtld-global-offsets.h
6012 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6014 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6017 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6019 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6020 'err' in the ifdef scope in which it is actually used.
6022 * nss/nss_db/db-init.c: Include string.h
6024 2012-03-12 David S. Miller <davem@davemloft.net>
6026 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6027 masking out of the most significant byte of random value used.
6028 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6029 Fix coding style in previous change.
6031 * sysdeps/unix/sysv/linux/kernel-features.h
6032 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6033 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6035 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6038 2012-03-11 David S. Miller <davem@davemloft.net>
6040 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6041 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6042 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6043 for 'resultvar' otherwise things get truncated on 64-bit.
6045 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6046 Fix masking out of the most significant byte of random value used.
6048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6050 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6054 2012-03-09 David S. Miller <davem@davemloft.net>
6056 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6057 variables with appropriate CPP guards.
6058 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6059 frame pointer, not the stack pointer. Correct layout comments. Fix test
6060 on resulting framesize and the management of the outregs buffer for pltexit.
6061 Preserve floating point return values across _dl_call_pltexit call.
6062 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6063 framesize and the management of the outregs buffer for pltexit.
6064 Preserve floating point return values across _dl_call_pltexit
6066 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6067 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6068 (print_exit): Fix format string for return register value.
6070 2012-03-10 Joseph Myers <joseph@codesourcery.com>
6072 * sunrpc/Makefile (others): Add rpcgen.
6073 ($(objpfx)rpcgen): Remove special build rule and dependency on
6075 * sunrpc/rpcgen.c: New file.
6077 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6080 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6081 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6082 * sysdeps/i386/crti.S: Likewise.
6083 * sysdeps/i386/crtn.S: Likewise.
6084 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6085 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6086 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6087 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6088 * sysdeps/sh/crti.S: Likewise.
6089 * sysdeps/sh/crtn.S: Likewise.
6090 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6093 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6095 * locale/programs/locfile-kw.gperf: Likewise.
6096 * locale/programs/charmap-kw.h: Regenerated.
6097 * locale/programs/locfile-kw.h: Likewise.
6100 * intl/plural.y: Replace FSF snail mail address with URL.
6101 * intl/plural.c: Regenerated.
6103 2012-03-09 Richard Henderson <rth@twiddle.net>
6105 * include/math_private.h: Remove file.
6106 * math/math_private.h: Move file ...
6107 * sysdeps/generic/math_private.h: ... here.
6109 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6110 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6111 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6113 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
6114 and <math_private.h>.
6115 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6116 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6117 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6118 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6119 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6120 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6121 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6122 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6123 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6124 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6125 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6126 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6127 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6128 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6129 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6130 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6131 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6132 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6133 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6134 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6135 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6136 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6137 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6138 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6139 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6140 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6141 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6142 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6143 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6144 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6145 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6146 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6147 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6148 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6149 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6150 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6151 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6152 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6153 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6154 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6155 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6156 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6157 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6158 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6159 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6160 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6161 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6162 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6163 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6164 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6165 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6166 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6167 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6168 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6169 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6170 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6171 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6172 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6173 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6174 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6175 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6176 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6177 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6178 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6179 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6180 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6181 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6182 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6183 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6184 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6185 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6186 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6187 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6188 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6189 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6190 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6191 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6192 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6193 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6194 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6195 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6196 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6197 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6198 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6199 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6200 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6201 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6202 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6203 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6204 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6205 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6206 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6207 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6208 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6209 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6210 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6211 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6212 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6213 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6214 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6215 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6216 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6217 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6218 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6219 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6220 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6221 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6222 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6223 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6224 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6225 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6226 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6227 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6228 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6229 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6230 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6231 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6232 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6233 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6234 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6235 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6236 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6237 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6238 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6239 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6240 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6241 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6242 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6243 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6244 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6245 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6246 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6247 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6248 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6249 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6250 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6251 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6252 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6253 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6254 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6255 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6256 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6257 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6258 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6259 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6260 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6261 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6262 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6263 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6264 * sysdeps/ieee754/k_standard.c: Likewise.
6265 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6266 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6267 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6268 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6269 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6270 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6271 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6272 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6273 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6274 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6275 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6276 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6277 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6278 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6279 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6280 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6281 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6282 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6283 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6284 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6285 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6286 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6287 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6288 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6289 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6290 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6291 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6292 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6293 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6294 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6295 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6296 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6297 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6298 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6299 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6300 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6301 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6302 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6303 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6304 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6305 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6306 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6307 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6308 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6309 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6310 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6311 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6312 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6313 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6314 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6315 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6316 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6317 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6318 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6319 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6320 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6321 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6322 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6323 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6324 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6325 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6326 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6327 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6328 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6329 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6330 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6331 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6332 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6333 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6334 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6335 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6336 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6337 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6338 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6339 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6340 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6341 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6342 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6343 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6344 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6345 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6346 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6347 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6348 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6349 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6350 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6351 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6352 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6353 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6354 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6355 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6356 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6357 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6358 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6359 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6360 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6361 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6362 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6363 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6364 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6365 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6366 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6367 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6368 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6369 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6370 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6371 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6372 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6373 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6374 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6375 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6376 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6377 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6378 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6379 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6380 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6381 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6382 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6383 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6384 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6385 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6386 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6387 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6388 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6389 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6390 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6391 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6392 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6393 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6394 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6395 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6396 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6397 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6398 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6399 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6400 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6401 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6402 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6403 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6404 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6405 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6406 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6407 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6408 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6409 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6410 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6411 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6412 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6413 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6414 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6415 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6416 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6417 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6418 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6419 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6420 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6421 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6422 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6423 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6424 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6425 * sysdeps/ieee754/s_lib_version.c: Likewise.
6426 * sysdeps/ieee754/s_matherr.c: Likewise.
6427 * sysdeps/ieee754/s_signgam.c: Likewise.
6428 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6429 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6430 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6431 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6432 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6433 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6434 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6435 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6436 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6437 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6438 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6439 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6440 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6441 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6442 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6443 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6444 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6445 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6446 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6447 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6448 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6450 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6452 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6453 * sunrpc/rpc_main.c: Likewise.
6454 * sunrpc/rpc_svcout.c: Likewise.
6456 2012-03-09 David S. Miller <davem@davemloft.net>
6458 * include/math_private.h: New file.
6460 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6462 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6463 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6464 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6465 from <bits/socket_type.h>.
6466 (enum __socket_type): Don't define here.
6467 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6468 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6472 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6475 * Makerules ($(inst_includedir)/%.h): New rule.
6476 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6477 (install-others): Remove variable setting.
6478 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6480 2012-03-08 Richard Henderson <rth@twiddle.net>
6482 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6483 from macro to inline function; merge with the
6484 !__LIBC_INTERNAL_MATH_INLINES version.
6485 (__ieee754_sqrtf): Likewise.
6487 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6489 (__rintf, __floor, __floorf): Likewise.
6491 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6492 macro to inline function.
6493 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6495 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6496 not <math/math_private.h>.
6498 2012-03-08 David S. Miller <davem@davemloft.net>
6500 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6502 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6504 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6506 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6508 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6509 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6511 2012-03-08 Ulrich Drepper <drepper@gmail.com>
6513 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6514 be defined individually, they must be defined as a block. Define
6515 S for printing a string instead of hidint the different by using a
6516 macro for adding the 'l'.
6517 * stdio-common/tst-fphex-wide.c: Adjust.
6519 2012-03-07 Marek Polacek <polacek@redhat.com>
6521 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6523 2012-03-08 Marek Polacek <polacek@redhat.com>
6526 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6527 * stdio-common/tst-fphex.c: Define a few macros to make the
6528 test reusable. Use them.
6529 * stdio-common/tst-fphex-wide.c: New file.
6531 2012-03-08 Joseph Myers <joseph@codesourcery.com>
6534 * manual/macros.texi (gnusystems): New macro.
6535 (nongnusystems): Likewise.
6536 (gnulinuxhurdsystems): Likewise.
6537 (gnuhurdsystems): Likewise..
6538 (gnulinuxsystems): Likewise.
6539 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6540 variants of the GNU system, not "GNU system".
6541 * manual/conf.texi: Likewise.
6542 * manual/errno.texi: Likewise. Update example of errno macro
6544 * manual/filesys.texi: Likewise.
6545 (getumask): Document as specific to GNU/Hurd.
6546 * manual/install.texi: Likewise. Reword some references to
6548 * manual/intro.texi: Likewise.
6549 * manual/io.texi: Likewise.
6550 (File Name Portability): Detail which constraints are inapplicable
6551 to all GNU systems and which are only inapplicable to GNU/Hurd.
6552 * manual/job.texi: Likewise.
6553 * manual/llio.texi: Likewise.
6554 (O_NOCTTY): Document as present on GNU/Linux.
6555 * manual/maint.texi: Likewise.
6556 * manual/memory.texi: Likewise.
6557 * manual/pattern.texi: Likewise.
6558 * manual/pipe.texi: Likewise.
6559 * manual/process.texi: Likewise.
6560 * manual/resource.texi: Likewise.
6561 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6563 * manual/setjmp.texi: Likewise.
6564 * manual/signal.texi: Likewise.
6565 * manual/startup.texi: Likewise.
6566 * manual/stdio.texi: Likewise.
6567 * manual/terminal.texi: Likewise.
6568 (ONLCR): Document as POSIX.
6569 (OXTABS): Document availability on GNU/Linux as XTABS.
6570 (ONOEOT): Document availability separately from other bits.
6571 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6572 * manual/time.texi: Likewise.
6573 * manual/users.texi: Likewise.
6574 * INSTALL: Regenerated.
6575 * sysdeps/gnu/errlist.c: Regenerated.
6577 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6578 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6579 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6581 * configure: Regenerated.
6583 2012-03-07 Joseph Myers <joseph@codesourcery.com>
6585 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6586 default includes instead of AC_HEADER_CHECK.
6587 * sysdeps/i386/configure: Regenerated.
6590 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6591 * math/s_cacoshf.c (__cacoshf): Likewise.
6592 * math/s_cacoshl.c (__cacoshl): Likewise.
6593 * math/s_casinh.c (__casinh): Set signs of result from argument.
6594 * math/s_casinhf.c (__casinhf): Likewise.
6595 * math/s_casinhl.c (__casinhl): Likewise.
6596 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6597 (casinh_test): Add more tests.
6598 * sysdeps/i386/fpu/libm-test-ulps: Update.
6599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6601 2012-03-07 Ulrich Drepper <drepper@gmail.com>
6603 * po/zh_TW.po: Update from translation team.
6605 * login/Makefile (distribute): Remove variable.
6606 * catgets/Makefile: Likewise.
6607 * mach/Makefile: Likewise.
6608 * malloc/Makefile: Likewise.
6609 * misc/Makefile: Likewise.
6610 * iconv/Makefile: Likewise.
6611 * nscd/Makefile: Likewise.
6612 * hurd/Makefile: Likewise.
6613 * manual/Makefile: Likewise.
6614 * locale/Makefile: Likewise.
6615 * intl/Makefile: Likewise.
6616 * conform/Makefile: Likewise.
6617 * nss/Makefile: Likewise.
6618 * time/Makefile: Likewise.
6619 * soft-fp/Makefile: Likewise.
6620 * dirent/Makefile: Likewise.
6621 * gmon/Makefile: Likewise.
6622 * po/Makefile: Likewise.
6623 * rt/Makefile: Likewise.
6624 * socket/Makefile: Likewise.
6625 * math/Makefile: Likewise.
6626 * signal/Makefile: Likewise.
6627 * debug/Makefile: Likewise.
6628 * elf/Makefile: Likewise.
6629 * timezone/Makefile: Likewise.
6630 * stdlib/Makefile: Likewise.
6631 * iconvdata/Makefile: Likewise.
6632 * sunrpc/Makefile: Likewise.
6633 * io/Makefile: Likewise.
6634 * argp/Makefile: Likewise.
6635 * inet/Makefile: Likewise.
6636 * hesiod/Makefile: Likewise.
6637 * grp/Makefile: Likewise.
6638 * csu/Makefile: Likewise.
6639 * wctype/Makefile: Likewise.
6640 * crypt/Makefile: Likewise.
6641 * libio/Makefile: Likewise.
6642 * string/Makefile: Likewise.
6643 * nis/Makefile: Likewise.
6644 * resolv/Makefile: Likewise.
6645 * stdio-common/Makefile: Likewise.
6646 * wcsmbs/Makefile: Likewise.
6647 * dlfcn/Makefile: Likewise.
6648 * posix/Makefile: Likewise.
6651 * timezone/Makefile: Don't install timezone files, just the programs
6654 2012-03-06 Ulrich Drepper <drepper@gmail.com>
6656 * nss/databases.def: Add missing gshadow entry.
6658 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6660 2012-03-06 Marek Polacek <polacek@redhat.com>
6663 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6664 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6665 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6666 * stdio-common/tst-long-dbl-fphex.c: New file.
6668 2012-03-06 David S. Miller <davem@davemloft.net>
6670 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6671 (set_obp_int): New function.
6672 (get_obp_int): New function.
6673 (__get_clockfreq_via_dev_openprom): Likewise.
6674 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
6675 Avoid unused variable warnings on 'val' and use builtin_expect.
6676 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
6678 (INLINE_CLONE_SYSCALL): Likewise.
6680 2012-03-05 David S. Miller <davem@davemloft.net>
6682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6684 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
6686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6688 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
6690 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6692 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
6694 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
6695 Replace gettimeofday with __vdso_gettimeofday.
6697 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6698 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
6699 __vdso_clock_gettime and __vdso_getcpu.
6701 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
6702 time with __vdso_time.
6704 2012-03-05 Joseph Myers <joseph@codesourcery.com>
6706 * manual/lang.texi (size_t): Note types to which size_t may be
6707 equivalent with the GNU C Library, but do not describe when
6708 differences between them are significant.
6710 2012-03-05 Andreas Jaeger <aj@suse.de>
6712 * sysdeps/i386/fpu/libm-test-ulps: Update.
6714 2012-03-05 Joseph Myers <joseph@codesourcery.com>
6717 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
6718 (__ieee754_pow): Save and restore rounding mode and use
6719 round-to-nearest for main computations.
6720 * math/libm-test.inc (pow_test_tonearest): New function.
6721 (pow_test_towardzero): Likewise.
6722 (pow_test_downward): Likewise.
6723 (pow_test_upward): Likewise.
6724 (main): Call the new functions.
6725 * sysdeps/i386/fpu/libm-test-ulps: Update.
6726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6729 * math/libm-test.inc (cosh_test_tonearest): New function.
6730 (cosh_test_towardzero): Likewise.
6731 (cosh_test_downward): Likewise.
6732 (cosh_test_upward): Likewise.
6733 (sinh_test_tonearest): Likewise.
6734 (sinh_test_towardzero): Likewise.
6735 (sinh_test_downward): Likewise.
6736 (sinh_test_upward): Likewise.
6737 (main): Call the new functions.
6738 * sysdeps/i386/fpu/libm-test-ulps: Update.
6739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6741 2012-03-05 Tom de Vries <tom@codesourcery.com>
6743 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
6744 default stack guard is set in last bytes.
6745 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
6747 2012-03-05 Kees Cook <keescook@chromium.org>
6749 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
6752 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
6753 possibly allocate from heap instead of stack.
6754 * stdio-common/bug-vfprintf-nargs.c: New file.
6755 * stdio-common/Makefile (tests): Add nargs overflow test.
6757 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
6759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6761 2012-03-03 Marek Polacek <polacek@redhat.com>
6763 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
6764 * math/math_private.h: Likewise.
6765 * stdlib/tst-strtod.c: Likewise.
6766 * sysdeps/i386/i486/bits/atomic.h: Likewise.
6767 * sysdeps/x86_64/bits/atomic.h: Likewise.
6769 2012-03-02 David S. Miller <davem@davemloft.net>
6771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
6772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
6773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
6774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
6775 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
6776 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
6777 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
6778 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
6780 2012-03-02 Roland McGrath <roland@hack.frob.com>
6783 * manual/examples/README: New file, says the example source files
6784 can be used under GPL>=2.
6785 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
6786 line containing just "*/".
6787 * manual/examples/add.c: Add copyright header (GPL>=2).
6788 * manual/examples/argp-ex1.c: Likewise.
6789 * manual/examples/argp-ex2.c: Likewise.
6790 * manual/examples/argp-ex3.c: Likewise.
6791 * manual/examples/argp-ex4.c: Likewise.
6792 * manual/examples/atexit.c: Likewise.
6793 * manual/examples/db.c: Likewise.
6794 * manual/examples/dir.c: Likewise.
6795 * manual/examples/dir2.c: Likewise.
6796 * manual/examples/execinfo.c: Likewise.
6797 * manual/examples/filecli.c: Likewise.
6798 * manual/examples/filesrv.c: Likewise.
6799 * manual/examples/fmtmsgexpl.c: Likewise.
6800 * manual/examples/genpass.c: Likewise.
6801 * manual/examples/inetcli.c: Likewise.
6802 * manual/examples/inetsrv.c: Likewise.
6803 * manual/examples/isockad.c: Likewise.
6804 * manual/examples/longopt.c: Likewise.
6805 * manual/examples/memopen.c: Likewise.
6806 * manual/examples/memstrm.c: Likewise.
6807 * manual/examples/mkfsock.c: Likewise.
6808 * manual/examples/mkisock.c: Likewise.
6809 * manual/examples/mygetpass.c: Likewise.
6810 * manual/examples/pipe.c: Likewise.
6811 * manual/examples/popen.c: Likewise.
6812 * manual/examples/rprintf.c: Likewise.
6813 * manual/examples/search.c: Likewise.
6814 * manual/examples/select.c: Likewise.
6815 * manual/examples/setjmp.c: Likewise.
6816 * manual/examples/sigh1.c: Likewise.
6817 * manual/examples/sigusr.c: Likewise.
6818 * manual/examples/stpcpy.c: Likewise.
6819 * manual/examples/strdupa.c: Likewise.
6820 * manual/examples/strftim.c: Likewise.
6821 * manual/examples/strncat.c: Likewise.
6822 * manual/examples/subopt.c: Likewise.
6823 * manual/examples/swapcontext.c: Likewise.
6824 * manual/examples/termios.c: Likewise.
6825 * manual/examples/testopt.c: Likewise.
6826 * manual/examples/testpass.c: Likewise.
6827 * manual/examples/timeval_subtract.c: Likewise.
6830 * manual/time.texi (Elapsed Time): Move timeval_subtract example
6832 * manual/timeval_subtract.c.texi: ... here, new file.
6834 2012-03-02 David S. Miller <davem@davemloft.net>
6836 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
6838 2012-03-02 Joseph Myers <joseph@codesourcery.com>
6841 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
6842 (__sin): Save and restore rounding mode and use round-to-nearest
6843 for all computations.
6844 (__cos): Save and restore rounding mode and use round-to-nearest
6845 for all computations.
6846 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
6848 (tan): Save and restore rounding mode and use round-to-nearest for
6850 * math/libm-test.inc (cos_test_tonearest): New function.
6851 (cos_test_towardzero): Likewise.
6852 (cos_test_downward): Likewise.
6853 (cos_test_upward): Likewise.
6854 (sin_test_tonearest): Likewise.
6855 (sin_test_towardzero): Likewise.
6856 (sin_test_downward): Likewise.
6857 (sin_test_upward): Likewise.
6858 (tan_test_tonearest): Likewise.
6859 (tan_test_towardzero): Likewise.
6860 (tan_test_downward): Likewise.
6861 (tan_test_upward): Likewise.
6862 (main): Call the new functions.
6863 * sysdeps/i386/fpu/libm-test-ulps: Update.
6864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6867 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
6868 small n, then large n, before computing and testing k+n.
6869 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6870 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6872 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6874 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
6875 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6876 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6877 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6878 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6879 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6880 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6881 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
6882 * math/libm-test.inc (scalbn_test): Add more tests.
6883 (scalbln_test): Likewise.
6885 * manual/filesys.texi (mode_t): Describe constraints on size and
6886 signedness, not exact equivalence to a particular type.
6888 (ino64_t): Likewise.
6890 (nlink_t): Likewise.
6891 (blkcnt_t): Likewise.
6892 (blkcnt64_t): Likewise.
6893 * manual/llio.texi (off_t): Likewise.
6896 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
6897 (__ieee754_exp): Save and restore rounding mode and use
6898 round-to-nearest for all computations.
6899 * math/libm-test.inc (exp_test_tonearest): New function.
6900 (exp_test_towardzero): Likewise.
6901 (exp_test_downward): Likewise.
6902 (exp_test_upward): Likewise.
6903 (main): Call the new functions.
6904 * sysdeps/i386/fpu/libm-test-ulps: Update.
6905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6907 2012-03-01 Chris Demetriou <cgd@google.com>
6909 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6910 have predictable order.
6912 2012-03-01 David S. Miller <davem@davemloft.net>
6914 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6916 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6917 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6918 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6919 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6921 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6922 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6923 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6925 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6926 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6927 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6928 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6929 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6933 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6934 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6935 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6937 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6938 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6939 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6940 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6941 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6942 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6943 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6944 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6945 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6946 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6947 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6948 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6949 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6950 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6951 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6952 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6953 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6954 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6955 * sysdeps/sparc/elf/configure: Regenerated.
6957 2012-03-01 Joseph Myers <joseph@codesourcery.com>
6959 * configure.in (AS, LD): Require binutils 2.20 or later.
6960 * configure: Regenerated.
6961 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6962 as required minimum version.
6963 * INSTALL: Regenerated.
6967 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6968 before squaring exponent.
6969 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6970 bottom long double and 27 bits of top long double before squaring
6972 * math/libm-test.inc (erfc_test): Add more tests.
6973 * sysdeps/i386/fpu/libm-test-ulps: Update.
6974 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6977 2012-03-01 Kai Tietz <ktietz@redhat.com>
6979 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6980 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6981 containing bit-fields.
6982 * soft-fp/extended.h (_FP_UNION_E): Likewise.
6983 * soft-fp/single.h (_FP_UNION_S): Likewise.
6984 * soft-fp/double.h (_FP_UNION_D): Likewise.
6986 2012-02-29 Joseph Myers <joseph@codesourcery.com>
6989 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6990 not include ../strcmp.S.
6991 [USE_AS_STRNCASECMP_L]: Likewise.
6992 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6993 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6994 * sysdeps/i386/i686/multiarch/strncase_l-c.c
6995 (__strncasecmp_l_ia32): Define as alias to
6996 __strncasecmp_l_nonascii.
6999 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7000 * sysdeps/i386/fpu/libm-test-ulps: Update.
7001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7003 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7006 2012-02-29 Jeff Law <law@redhat.com>
7008 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7011 2012-02-29 Marek Polacek <polacek@redhat.com>
7014 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7015 * elf/Makefile: Add rules to run tst-unused-dep.out.
7017 2012-02-28 David S. Miller <davem@davemloft.net>
7019 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7020 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7021 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7022 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7023 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7024 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7026 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7028 * math/libm-test.inc (llround_test): Move one test from
7029 lround_test. Use TEST_f_L in moved test.
7030 (lround_test): Move misplaced test to llround_test. Add testcase
7033 2012-02-28 Ulrich Drepper <drepper@gmail.com>
7035 * sysdeps/x86_64/fpu/e_expf.S: New file.
7036 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7038 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7041 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7042 of remain_len that may cause incomplete multi-byte character and
7044 * posix/bug-regex33.c: New file.
7045 * posix/Makefile (tests): Add bug-regex33.
7047 2012-02-28 Joseph Myers <joseph@codesourcery.com>
7049 * manual/macros.texi: New file.
7050 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7051 * manual/libc.texinfo: Include macros.texi.
7052 * manual/creatute.texi: Likewise.
7053 * manual/install.texi: Likewise.
7054 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7055 @glibcadj{} in references to the GNU C Library.
7056 * manual/charset.texi: Likewise.
7057 * manual/conf.texi: Likewise.
7058 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7059 when not using those macros.
7060 * manual/creature.texi: Likewise.
7061 * manual/crypt.texi: Likewise.
7062 * manual/errno.texi: Likewise.
7063 * manual/filesys.texi: Likewise.
7064 * manual/header.texi: Likewise.
7065 * manual/install.texi: Likewise.
7066 * manual/intro.texi: Likewise.
7067 * manual/io.texi: Likewise.
7068 * manual/job.texi: Likewise.
7069 * manual/lang.texi: Likewise.
7070 * manual/libc.texiinfo: Likewise.
7071 * manual/llio.texi: Likewise.
7072 * manual/locale.texi: Likewise.
7073 * manual/maint.texi: Likewise.
7074 * manual/math.texi: Likewise.
7075 * manual/memory.texi: Likewise.
7076 * manual/message.texi: Likewise.
7077 * manual/nss.texi: Likewise.
7078 * manual/pattern.texi: Likewise.
7079 * manual/process.texi: Likewise.
7080 * manual/resource.texi: Likewise.
7081 * manual/search.texi: Likewise.
7082 * manual/setjmp.texi: Likewise.
7083 * manual/signal.texi: Likewise.
7084 * manual/socket.texi: Likewise.
7085 * manual/startup.texi: Likewise.
7086 * manual/stdio.texi: Likewise.
7087 * manual/string.texi: Likewise.
7088 * manual/sysinfo.texi: Likewise.
7089 * manual/syslog.texi: Likewise.
7090 * manual/terminal.texi: Likewise.
7091 * manual/time.texi: Likewise.
7092 * manual/users.texi: Likewise.
7093 * INSTALL: Regenerated.
7094 * NOTES: Regenerated.
7095 * sysdeps/gnu/errlist.c: Regenerated.
7097 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7099 * include/dirent.h: Include <dirstream.h> before
7102 2012-02-28 David S. Miller <davem@davemloft.net>
7104 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7105 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7106 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7107 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7109 2012-02-27 David S. Miller <davem@davemloft.net>
7111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7113 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7114 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7117 frame pointer instead of stack pointer relative arg slot.
7118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7119 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7120 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7122 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7125 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7127 2012-02-27 David S. Miller <davem@davemloft.net>
7129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7133 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7134 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7135 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7136 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7138 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7140 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7141 later. Allow versions 5-9.
7142 * configure: Regenerated.
7143 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7144 required minimum version and 4.6 as recommended version. Do not
7145 mention bugs in GCC 2.7 and 2.8.
7146 * INSTALL: Regenerated.
7148 2012-02-27 David S. Miller <davem@davemloft.net>
7150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7154 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7155 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7156 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7157 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7159 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7160 manipulate bits before adding and subtracting TWO112[sx].
7161 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7163 2012-02-27 Roland McGrath <roland@hack.frob.com>
7166 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7167 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7168 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7169 being in POSIX, because they are in 1003.1-2008.
7171 * rt/tst-aio.c: Include <fcntl.h>.
7172 * rt/tst-aio7.c: Likewise.
7173 * rt/tst-aio64.c: Likewise.
7175 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7177 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7179 * manual/install.texi (--with-headers): Describe headers as
7180 interface headers, not private headers.
7181 (Specific advice for GNU/Linux systems): Describe use of headers
7182 from "make headers_install", not private headers from older
7184 * INSTALL: Regenerated.
7185 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7187 * sysdeps/unix/sysv/linux/configure: Regenerated.
7189 * manual/llio.texi (fclean): Remove documentation.
7191 * manual/Makefile (libc-texi-generated): New variable. Include
7193 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7194 $(libc-texi-generated), not duplicated list of files.
7195 (version.texi, stamp-version): New rules.
7196 (realclean): Remove $(libc-texi-generated), not individual files
7197 from that list. Do not remove dir-add.texinfo.
7198 * manual/libc.texinfo: Comment out uses of edition numbers and
7199 references to printed manual. Remove last-updated dates.
7200 (EDITION): Comment out.
7202 (VERSION, UPDATED): Remove.
7203 (version.texi): Include.
7205 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7207 * sysdeps/posix/spawni.c: Include <signal.h>.
7208 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7209 * sysdeps/pthread/aio_fsync.c: Likewise.
7211 2012-02-26 Ulrich Drepper <drepper@gmail.com>
7213 * conform/Makefile (tests): Run only when not cross-compiling and
7214 when fast-check is not defined.
7216 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7217 * conform/data/limits.h-data: Fixes for POSIX2008.
7218 * conform/run-conformtest.sh: Run all tests.
7219 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7221 * include/bits/dlfcn.h: Likewise.
7222 * include/langinfo.h: Likewise.
7223 * include/monetary.h: Likewise.
7224 * include/sys/poll.h: Likewise.
7226 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7228 * posix/spawn.h: Define __need_sigset_t.
7229 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7230 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7231 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7232 to get sigevent_t only.
7233 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7235 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7236 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7237 process_vm_writev only for __USE_GNU.
7238 * termios/termios.h: Declare tcgetsid also for POSIX2008.
7240 * conform/Makefile: For now ignore errors from run-conformtest.
7241 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7242 POSIX to avoid namespace pollution. Don't prepend headers.
7243 * conform/data/aio.h-data: Fixes for POSIX testing.
7244 * conform/data/fcntl.h-data: Likewise.
7245 * conform/data/glob.h-data: Likewise.
7246 * conform/data/grp.h-data: Likewise.
7247 * conform/data/pthread.h-data: Likewise.
7248 * conform/data/pwd.h-data: Likewise.
7249 * conform/data/signal.h-data: Likewise.
7250 * conform/data/spawn.h-data: Likewise.
7251 * conform/data/stdio.h-data: Likewise.
7252 * conform/data/stdlib.h-data: Likewise.
7253 * conform/data/stropts.h-data: Likewise.
7254 * conform/data/sys/mman.h-data: Likewise.
7255 * conform/data/sys/stat.h-data: Likewise.
7256 * conform/data/sys/types.h-data: Likewise.
7257 * conform/data/sys/wait.h-data: Likewise.
7258 * conform/data/time.h-data: Likewise.
7259 * conform/data/unistd.h-data: Likewise.
7260 * conform/data/utime.h-data: Likewise.
7262 * io/sys/stat.h: fchmod was always in POSIX.
7263 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7264 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7265 * rt/aio.h: Define __need_timespec before including <time.h>.
7266 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7267 struct. Add forward declaration of pthread_attr_t and use it in
7269 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7270 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7271 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7272 always remove CLK_TCK definition.
7274 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7276 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7278 2012-02-25 Ulrich Drepper <drepper@gmail.com>
7280 * conform/run-conformtest.sh: New file.
7281 * conform/Makefile: Run run-conformtest for tests.
7282 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7285 * conform/data/uchar.h-data: New file.
7286 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7287 * conform/data/arpa/inet.h-data: Likewise.
7288 * conform/data/assert.h-data: Likewise.
7289 * conform/data/complex.h-data: Likewise.
7290 * conform/data/cpio.h-data: Likewise.
7291 * conform/data/ctype.h-data: Likewise.
7292 * conform/data/dirent.h-data: Likewise.
7293 * conform/data/dlfcn.h-data: Likewise.
7294 * conform/data/errno.h-data: Likewise.
7295 * conform/data/fcntl.h-data: Likewise.
7296 * conform/data/float.h-data: Likewise.
7297 * conform/data/fmtmsg.h-data: Likewise.
7298 * conform/data/fnmatch.h-data: Likewise.
7299 * conform/data/ftw.h-data: Likewise.
7300 * conform/data/glob.h-data: Likewise.
7301 * conform/data/grp.h-data: Likewise.
7302 * conform/data/iconv.h-data: Likewise.
7303 * conform/data/inttypes.h-data: Likewise.
7304 * conform/data/langinfo.h-data: Likewise.
7305 * conform/data/libgen.h-data: Likewise.
7306 * conform/data/limits.h-data: Likewise.
7307 * conform/data/locale.h-data: Likewise.
7308 * conform/data/math.h-data: Likewise.
7309 * conform/data/monetary.h-data: Likewise.
7310 * conform/data/mqueue.h-data: Likewise.
7311 * conform/data/ndbm.h-data: Likewise.
7312 * conform/data/net/if.h-data: Likewise.
7313 * conform/data/netdb.h-data: Likewise.
7314 * conform/data/netinet/in.h-data: Likewise.
7315 * conform/data/nl_types.h-data: Likewise.
7316 * conform/data/poll.h-data: Likewise.
7317 * conform/data/pthread.h-data: Likewise.
7318 * conform/data/pwd.h-data: Likewise.
7319 * conform/data/regex.h-data: Likewise.
7320 * conform/data/sched.h-data: Likewise.
7321 * conform/data/search.h-data: Likewise.
7322 * conform/data/semaphore.h-data: Likewise.
7323 * conform/data/setjmp.h-data: Likewise.
7324 * conform/data/signal.h-data: Likewise.
7325 * conform/data/spawn.h-data: Likewise.
7326 * conform/data/stdarg.h-data: Likewise.
7327 * conform/data/stdio.h-data: Likewise.
7328 * conform/data/stdlib.h-data: Likewise.
7329 * conform/data/string.h-data: Likewise.
7330 * conform/data/strings.h-data: Likewise.
7331 * conform/data/stropts.h-data: Likewise.
7332 * conform/data/sys/ipc.h-data: Likewise.
7333 * conform/data/sys/mman.h-data: Likewise.
7334 * conform/data/sys/msg.h-data: Likewise.
7335 * conform/data/sys/resource.h-data: Likewise.
7336 * conform/data/sys/select.h-data: Likewise.
7337 * conform/data/sys/sem.h-data: Likewise.
7338 * conform/data/sys/shm.h-data: Likewise.
7339 * conform/data/sys/socket.h-data: Likewise.
7340 * conform/data/sys/stat.h-data: Likewise.
7341 * conform/data/sys/statvfs.h-data: Likewise.
7342 * conform/data/sys/time.h-data: Likewise.
7343 * conform/data/sys/timeb.h-data: Likewise.
7344 * conform/data/sys/times.h-data: Likewise.
7345 * conform/data/sys/types.h-data: Likewise.
7346 * conform/data/sys/uio.h-data: Likewise.
7347 * conform/data/sys/un.h-data: Likewise.
7348 * conform/data/sys/utsname.h-data: Likewise.
7349 * conform/data/sys/wait.h-data: Likewise.
7350 * conform/data/syslog.h-data: Likewise.
7351 * conform/data/tar.h-data: Likewise.
7352 * conform/data/termios.h-data: Likewise.
7353 * conform/data/utime.h-data: Likewise.
7354 * conform/data/utmpx.h-data: Likewise.
7355 * conform/data/varargs.h-data: Likewise.
7356 * conform/data/wchar.h-data: Likewise.
7357 * conform/data/wctype.h-data: Likewise.
7358 * conform/data/wordexp.h-data: Likewise.
7360 * include/stropts.h: New file.
7361 * include/uchar.h: New file.
7362 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7363 * include/assert.h: Likewise.
7364 * include/ctype.h: Likewise.
7365 * include/dirent.h: Likewise.
7366 * include/dlfcn.h: Likewise.
7367 * include/fcntl.h: Likewise.
7368 * include/fnmatch.h: Likewise.
7369 * include/glob.h: Likewise.
7370 * include/grp.h: Likewise.
7371 * include/libio.h: Likewise.
7372 * include/locale.h: Likewise.
7373 * include/math.h: Likewise.
7374 * include/net/if.h: Likewise.
7375 * include/netdb.h: Likewise.
7376 * include/netinet/in.h: Likewise.
7377 * include/pthread.h: Likewise.
7378 * include/pwd.h: Likewise.
7379 * include/regex.h: Likewise.
7380 * include/sched.h: Likewise.
7381 * include/search.h: Likewise.
7382 * include/setjmp.h: Likewise.
7383 * include/signal.h: Likewise.
7384 * include/stdio.h: Likewise.
7385 * include/stdlib.h: Likewise.
7386 * include/string.h: Likewise.
7387 * include/sys/cdefs.h: Likewise.
7388 * include/sys/mman.h: Likewise.
7389 * include/sys/msg.h: Likewise.
7390 * include/sys/resource.h: Likewise.
7391 * include/sys/select.h: Likewise.
7392 * include/sys/socket.h: Likewise.
7393 * include/sys/stat.h: Likewise.
7394 * include/sys/statvfs.h: Likewise.
7395 * include/sys/time.h: Likewise.
7396 * include/sys/times.h: Likewise.
7397 * include/sys/uio.h: Likewise.
7398 * include/sys/utsname.h: Likewise.
7399 * include/sys/wait.h: Likewise.
7400 * include/termios.h: Likewise.
7401 * include/time.h: Likewise.
7402 * include/ulimit.h: Likewise.
7403 * include/unistd.h: Likewise.
7404 * include/utime.h: Likewise.
7405 * include/wchar.h: Likewise.
7406 * include/wctype.h: Likewise.
7407 * include/wordexp.h: Likewise.
7409 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7411 * time/time.h: TIME_UTC must be a macro.
7412 Make timespec_get available for ISO C11 only as well.
7414 2012-02-24 Ulrich Drepper <drepper@gmail.com>
7416 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7417 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7419 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7421 * configure.in: Use -o not -a in test for unsupported multi-arch.
7423 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7425 * manual/texinfo.tex: Update to version 2012-01-19.16.
7427 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7429 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7431 2012-02-24 Roland McGrath <roland@hack.frob.com>
7434 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7435 * manual/fdl-1.3.texi: New file.
7436 * manual/fdl-1.1.texi: File removed.
7439 * manual/libc.texinfo (FDL_VERSION): New @set.
7440 Use it for mention of FDL in cover text.
7441 (Documentation License): Use it in @include file name.
7443 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7444 Roland McGrath <roland@hack.frob.com>
7447 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7448 not LONG_LONG_MAX and LONG_LONG_MIN.
7449 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7450 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7452 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7454 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7458 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7459 manipulate bits before adding and subtracting TWO23[sx].
7460 * math/libm-test.inc (nearbyint_test): Add more tests.
7462 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7465 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7466 bits before adding and subtracting TWO23[sx].
7467 * math/libm-test.inc (rint_test): Add more tests.
7468 (rint_test_tonearest): Likewise.
7469 (rint_test_towardzero): Likewise.
7470 (rint_test_downward): Likewise.
7471 (rint_test_upward: Likewise.
7473 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7476 * include/stdc-predef.h: New file. Extracted from features.h.
7477 * include/features.h: Include stdc-predef.h.
7478 * Makefile (headers): Add stdc-predef.h.
7479 * CONFORMANCE (Compiler limitations): Update.
7481 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7483 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7485 2012-02-21 David S. Miller <davem@davemloft.net>
7487 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7488 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7490 2012-02-20 David S. Miller <davem@davemloft.net>
7492 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7493 using a normal save/restore sequence, rather than allocating a
7494 dummy stack frame just to store a frame pointer and restore.
7495 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7497 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7499 * manual/install.texi: Fix stray word in line-wrapped comment.
7501 2012-02-20 David S. Miller <davem@davemloft.net>
7503 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7504 both binutils and gcc support GOTDATA.
7506 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7507 "rd %pc" in the PIC register setup sequences.
7509 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7510 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7511 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7512 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7513 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7514 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7515 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7516 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7517 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7518 (SYSCALL_ERROR_HANDLER): Likewise.
7519 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7520 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7521 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7522 (SYSCALL_ERROR_HANDLER): Likewise.
7524 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7525 (HAVE_GCC_GOTDATA): New.
7526 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7527 relocation support in both binutils and gcc.
7528 * sysdeps/sparc/elf/configure: Regenerate.
7530 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7531 * sysdeps/sparc/sparc32/elf/configure: Delete.
7532 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7533 * sysdeps/sparc/sparc64/elf/configure: Delete.
7534 * sysdeps/sparc/elf/configure.in: New file.
7535 * sysdeps/sparc/elf/configure: Generate.
7537 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7538 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7539 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7540 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7541 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7543 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7545 * manual/install.texi: Do not mention specific glibc version
7547 * manual/libc.texinfo (VERSION, UPDATED): Update.
7548 (@copying): Use @copyright{} and range of years.
7550 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7553 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7554 [crti.S not in sysdirs] (generated): Do not append.
7555 [crti.S not in sysdirs] (omit-deps): Likewise.
7556 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7557 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7558 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7559 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7560 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7562 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7563 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7564 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7565 * csu/defs.awk: Remove file.
7566 * sysdeps/generic/initfini.c: Likewise.
7567 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7569 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7572 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7574 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7575 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7576 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7577 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7578 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7579 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7581 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7582 (__EPOLL_PACKED): Define to empty if not defined by
7584 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7585 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7588 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7590 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7591 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7592 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7593 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7595 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7596 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7599 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7601 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7603 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7604 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7605 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7608 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7610 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7611 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7613 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
7615 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
7616 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
7618 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
7620 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7623 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
7625 * math/w_acos.c: Use non-signaling floating-point comparisons.
7626 * math/w_acosf.c: Likewise.
7627 * math/w_acosh.c: Likewise.
7628 * math/w_acoshf.c: Likewise.
7629 * math/w_acoshl.c: Likewise.
7630 * math/w_acosl.c: Likewise.
7631 * math/w_asin.c: Likewise.
7632 * math/w_asinf.c: Likewise.
7633 * math/w_asinl.c: Likewise.
7634 * math/w_atanh.c: Likewise.
7635 * math/w_atanhf.c: Likewise.
7636 * math/w_atanhl.c: Likewise.
7637 * math/w_exp2.c: Likewise.
7638 * math/w_exp2f.c: Likewise.
7639 * math/w_exp2l.c: Likewise.
7640 * math/w_j0.c: Likewise.
7641 * math/w_j0f.c: Likewise.
7642 * math/w_j0l.c: Likewise.
7643 * math/w_j1.c: Likewise.
7644 * math/w_j1f.c: Likewise.
7645 * math/w_j1l.c: Likewise.
7646 * math/w_jn.c: Likewise.
7647 * math/w_jnf.c: Likewise.
7648 * math/w_log.c: Likewise.
7649 * math/w_log10.c: Likewise.
7650 * math/w_log10f.c: Likewise.
7651 * math/w_log10l.c: Likewise.
7652 * math/w_log2.c: Likewise.
7653 * math/w_log2f.c: Likewise.
7654 * math/w_log2l.c: Likewise.
7655 * math/w_logf.c: Likewise.
7656 * math/w_logl.c: Likewise.
7657 * math/w_sqrt.c: Likewise.
7658 * math/w_sqrtf.c: Likewise.
7659 * math/w_sqrtl.c: Likewise.
7660 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7661 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7662 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7663 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7664 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7666 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7669 * manual/string.texi (strnlen): Use correct parameter name in
7670 equivalent expression.
7672 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7675 * manual/users.texi (seteuid): Consistently use neweuid for
7678 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7681 * manual/nss.texi (Services in the NSS configuration): Correct
7682 list of services in example configuration file.
7684 2012-02-19 Nick Bowler <nbowler@draconx.ca>
7687 * manual/arith.texi: Remove statements about negative zero
7688 behaving identically to zero.
7690 2012-02-18 Joseph Myers <joseph@codesourcery.com>
7693 * manual/install.texi: Do not document upgrading from libc5.
7695 2012-02-18 Joseph Myers <joseph@codesourcery.com>
7698 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
7700 2012-02-18 David S. Miller <davem@davemloft.net>
7702 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
7703 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
7704 %o7 across the call.
7705 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
7707 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
7709 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7710 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
7711 * sysdeps/sparc/crtn.S: Likewise.
7713 2012-02-17 Ulrich Drepper <drepper@gmail.com>
7715 * aout/Makefile: Remove.
7717 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
7720 * manual/examples/argp-ex1.c (main): Format definition in GNU
7722 * manual/examples/argp-ex2.c (main): Likewise.
7723 * manual/examples/argp-ex3.c (main): Likewise.
7724 * manual/examples/argp-ex4.c (main): Likewise.
7725 * manual/examples/longopt.c (main): Use new-style prototype
7727 * manual/examples/strncat.c (main): Specify return type and use
7728 (void) for arguments.
7729 * manual/examples/subopt.c (main): Use char **argv argument.
7731 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7734 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
7737 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
7740 * manual/string.texi (strchr): Change when strchrnul is
7743 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
7746 * manual/locale.texi (setlocale): Document LOCPATH.
7748 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7751 * manual/process.texi (execle): Move @dots{} before last argument.
7753 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
7756 * manual/charset.texi (Generic Charset Conversion): Fix typo
7757 (LC_TYPE -> LC_CTYPE).
7759 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
7762 * manual/arith.texi (scalbn): Use @var{} on parameter names.
7763 (scalbnf): Likewise.
7764 (scalbnl): Likewise.
7765 (scalbln): Likewise.
7766 (scalblnf): Likewise.
7767 (scalblnl): Likewise.
7768 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
7772 * manual/filesys.texi (telldir): Use braces around return type.
7773 * manual/llio.texi (mmap): Add space after comma.
7775 * manual/math.texi (jn): Use @var{} on parameter names.
7781 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
7783 * manual/resource.texi (ulimit): Use @dots{} instead of literal
7785 (sched_get_priority_min): Remove semicolon on @deftypefun line.
7786 (sched_get_priority_max): Likewise.
7787 * manual/signal.texi (sigvec): Add space after comma.
7788 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
7790 (if_indextoname): Likewise.
7791 (if_freenameindex): Likewise.
7792 (sendto): Use ',' instead of '.' in prototype.
7793 * manual/startup.texi (syscall): Use @dots{} instead of literal
7795 * manual/stdio.texi (__fpending): Separate initial words of
7796 paragraph from @deftypefun line.
7797 * manual/syslog.texi (syslog): Use @dots{} instead of literal
7799 (vsyslog): Use @var{} on parameter names.
7800 * manual/terminal.texi (stty): Use @var{} on parameter names.
7801 * manual/users.texi (getutmp): Use @var{} on parameter names.
7802 (getutmpx): Likewise.
7804 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7807 * manual/stdio.texi (fopen): Fix typos in description of
7810 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
7813 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
7814 get clock_id definition.
7816 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
7819 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
7820 (madvise): Cast every argument to void on its own.
7822 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7825 * manual/startup.texi (Exit Status): Fix typo.
7827 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7830 * manual/examples/argp-ex1.c: Include <stdlib.h>.
7831 * manual/examples/argp-ex2.c: Likewise.
7832 * manual/examples/argp-ex3.c: Likewise.
7834 2012-02-16 Richard Henderson <rth@redhat.com>
7836 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
7837 * sysdeps/s390/s390-32/initfini.c: Remove.
7838 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
7839 * sysdeps/s390/s390-64/initfini.c: Remove.
7841 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7843 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
7844 compiler output for sysdeps/generic/initfini.c.
7845 * sysdeps/sh/elf/initfini.c: Remove file.
7847 2012-02-16 David S. Miller <davem@davemloft.net>
7850 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
7852 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
7853 * sysdeps/sparc/crti.S: New file.
7854 * sysdeps/sparc/crtn.S: New file.
7855 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
7856 * sysdeps/sparc/sparc64/Makefile: Likewise.
7858 2012-02-15 Mike Frysinger <vapier@gentoo.org>
7861 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
7863 2012-02-15 Roland McGrath <roland@hack.frob.com>
7866 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
7868 * mach/devstream.c (cookie_io_functions_t): Macro removed.
7869 (write, read, close): Likewise.
7870 Patch by Aurelien Jarno <aurelien@aurel32.net>.
7872 2012-02-15 Joseph Myers <joseph@codesourcery.com>
7874 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
7875 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
7876 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
7877 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
7879 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
7880 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7883 2012-02-14 Marek Polacek <polacek@redhat.com>
7885 * sysdeps/x86_64/crti.S: New file.
7886 * sysdeps/x86_64/crtn.S: New file.
7887 * sysdeps/x86_64/elf/initfini.c: Remove file.
7889 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7891 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
7892 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
7893 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
7894 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
7896 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
7897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7900 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7902 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
7903 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
7904 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
7905 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
7907 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
7908 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7911 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
7913 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7914 __feraiseexcept instead of feraiseexcept.
7916 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7917 nanosleep invocations.
7918 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7919 strings, and add error checking for a nanosleep invocations.
7921 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7923 Replace FSF snail mail address with URLs, as per GNU coding standards.
7924 Most of the snail mail addresses were wrong anyway, and omitting
7925 them makes the source code easier to maintain. Almost all of the
7926 changes are to license notices and to locale LC_IDENTIFICATION
7927 addresses, except for this one:
7928 * manual/libc.texinfo: In "Published by", give the FSF's URL,
7929 not its snail mail address.
7931 2012-02-09 Richard Henderson <rth@twiddle.net>
7933 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7934 of kernel-features.h.
7936 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7938 2012-02-08 Marek Polacek <polacek@redhat.com>
7940 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7941 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7942 * sysdeps/gnu/_G_config.h: Likewise.
7943 * sysdeps/generic/_G_config.h: Likewise.
7945 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7947 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7951 * sysdeps/powerpc/powerpc32/crti.S: New file.
7952 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7953 * sysdeps/powerpc/powerpc64/crti.S: New file.
7954 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7956 * Makeconfig (have-initfini): Don't set.
7957 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7958 * configure.in (nopic_initfini): Don't substitute.
7959 * config.h.in (HAVE_INITFINI): Don't #undef.
7960 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7961 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7963 2012-02-08 Joseph Myers <joseph@codesourcery.com>
7965 Support crti.S and crtn.S provided directly by architectures.
7966 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7967 [crti.S in sysdirs] (omit-deps): Likewise.
7968 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7969 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7970 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7971 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7972 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7973 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7974 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7975 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7976 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7977 compiler output for sysdeps/generic/initfini.c.
7978 * sysdeps/i386/elf/Makefile: Remove file.
7979 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7981 2012-02-07 Marek Polacek <polacek@redhat.com>
7983 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7984 * sysdeps/gnu/_G_config.h: Likewise.
7985 * sysdeps/mach/hurd/_G_config.h: Likewise.
7987 2012-02-07 Marek Polacek <polacek@redhat.com>
7989 * math/Makefile (tests): Add tst-CMPLX2.
7990 * math/tst-CMPLX2.c: New file.
7992 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
7994 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7996 * math/libm-test.inc (jn_test): Add missing L suffix.
7998 2012-02-06 Marek Polacek <polacek@redhat.com>
8000 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8001 * sysdeps/i386/fpu/e_powf.S: Likewise.
8002 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8003 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8004 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8005 * sysdeps/i386/fpu/e_pow.S: Likewise.
8006 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8007 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8008 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8009 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8010 * sysdeps/i386/fpu/e_log2.S: Likewise.
8011 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8012 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8013 * sysdeps/i386/fpu/e_powl.S: Likewise.
8014 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8015 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8016 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8017 * sysdeps/i386/fpu/e_logl.S: Likewise.
8018 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8019 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8020 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8021 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8022 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8023 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8024 * sysdeps/i386/fpu/e_log.S: Likewise.
8025 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8026 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8027 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8028 * sysdeps/i386/fpu/e_logf.S: Likewise.
8029 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8030 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8031 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8032 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8033 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8034 * sysdeps/i386/fpu/e_log10.S: Likewise.
8035 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8036 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8037 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8038 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8039 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8040 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8041 * sysdeps/i386/asm-syntax.h: Likewise.
8042 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8043 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8044 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8045 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8046 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8047 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8048 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8049 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8050 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8051 * sysdeps/powerpc/sysdep.h: Likewise.
8052 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8053 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8055 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8058 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8060 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8062 * sysdeps/i386/sysdep.h: Include <features.h>.
8063 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8066 2012-02-05 Joseph Myers <joseph@codesourcery.com>
8068 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8070 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8073 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8075 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8076 (SETUP_PIC_REG): Use GET_PC_THUNK.
8077 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8080 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8082 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8083 for non-PIC compilation.
8084 (SETUP_PIC_REG): Add .p2align directive.
8085 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8086 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8087 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8088 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8089 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8090 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8091 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8092 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8093 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8094 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8095 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8096 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8097 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8098 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8099 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8100 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8101 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8102 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8103 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8104 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8105 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8106 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8107 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8108 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8109 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8110 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8111 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8112 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8113 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8114 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8115 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8116 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8117 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8118 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8119 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8120 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8121 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8122 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8123 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8124 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8125 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8127 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8129 * math/tst-CMPLX.c: Include <stdio.h>.
8131 2012-01-31 Joseph Myers <joseph@codesourcery.com>
8133 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8135 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8136 * sysdeps/sparc/bits/mathdef.h: Likewise.
8138 2012-01-31 Marek Polacek <polacek@redhat.com>
8140 * libio/libio.h: Don't define _PARAMS.
8141 * locale/programs/config.h: Don't define PARAMS.
8142 * stdlib/strtol_l.c: Likewise.
8143 (__strtol_l): Remove PARAMS from the prototype.
8145 2012-01-31 Ulrich Drepper <drepper@gmail.com>
8147 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8148 names. Just use the correct names. Remove unnecessary wrapper
8150 * malloc/arena.c: Likewise.
8151 * malloc/hooks.c: Likewise.
8153 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8154 ARENA_TEST says not to. Simplify test for creation of a new arena.
8155 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8157 2012-01-30 Ulrich Drepper <drepper@gmail.com>
8159 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8161 (update_get_addr): New function.
8162 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8163 GET_ADDR_MODULE parameter.
8165 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8167 * crypt/cert.c: Remove __STDC__ conditionals.
8168 * crypt/crypt-entry.c: Likewise.
8169 * crypt/crypt_util.c: Likewise.
8170 * libio/filedoalloc.c: Likewise.
8171 * libio/fileops.c: Likewise.
8172 * libio/genops.c: Likewise.
8173 * libio/iofclose.c: Likewise.
8174 * libio/iofdopen.c: Likewise.
8175 * libio/iofopen.c: Likewise.
8176 * libio/iofopen64.c: Likewise.
8177 * libio/iogetdelim.c: Likewise.
8178 * libio/iopopen.c: Likewise.
8179 * libio/obprintf.c: Likewise.
8180 * libio/oldfileops.c: Likewise.
8181 * libio/oldiofclose.c: Likewise.
8182 * libio/oldiofdopen.c: Likewise.
8183 * libio/oldiofopen.c: Likewise.
8184 * libio/oldiopopen.c: Likewise.
8185 * libio/wfiledoalloc.c: Likewise.
8186 * libio/wgenops.c: Likewise.
8187 * locale/programs/xmalloc.c: Likewise.
8188 * misc/syslog.c: Likewise.
8189 * stdio-common/xbug.c: Likewise.
8190 * string/memchr.c: Likewise.
8191 * string/memcmp.c: Likewise.
8192 * string/memrchr.c: Likewise.
8193 * string/rawmemchr.c: Likewise.
8194 * sysdeps/posix/getcwd.c: Likewise.
8195 * time/strftime_l.c: Likewise.
8197 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8199 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
8200 * config.make.in (config-cflags-sse2avx): Define.
8201 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8204 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8206 * scripts/config.guess: Update from upstream config git repository.
8207 * scripts/config.sub: Likewise.
8209 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8211 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8213 (R_TILEPRO_*, R_TILEGX_*): New macros.
8215 * scripts/firstversions.awk: Fix bug in version range handling.
8217 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8219 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8221 * include/sys/epoll.h: New file.
8222 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8225 2012-01-28 Ulrich Drepper <drepper@gmail.com>
8227 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8228 Avoid unnecessary __WORDSIZE == 64 test.
8229 (fmaxf): Use VEX format if possible.
8234 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8235 * math/math_private.h: Remove libc_fegetround* and
8237 * sysdeps/i386/configure.in: Check for -msse2avx.
8238 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8239 also if SSE2AVX is defined.
8240 Remove libc_fegetround* and libc_fesetround*.
8241 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8242 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8243 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8245 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8246 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8247 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8248 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8249 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8251 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8253 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8255 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8257 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8259 2012-01-27 Ulrich Drepper <drepper@gmail.com>
8262 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8264 * Makeconfig (libm): Define.
8265 * elf/Makefile: Add rules to build and run tst-relsort1.
8266 * elf/tst-relsort1.c: New file.
8267 * elf/tst-relsort1mod1.c: New file.
8268 * elf/tst-relsort1mod2.c: New file.
8270 2012-01-27 Joseph Myers <joseph@codesourcery.com>
8272 * math/s_ldexp.c: Remove __STDC__ conditionals.
8273 * math/s_ldexpf.c: Likewise.
8274 * math/s_ldexpl.c: Likewise.
8275 * math/s_nextafter.c: Likewise.
8276 * math/s_nexttowardf.c: Likewise.
8277 * math/s_significand.c: Likewise.
8278 * math/s_significandf.c: Likewise.
8279 * math/s_significandl.c: Likewise.
8280 * math/w_jnl.c: Likewise.
8281 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8282 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8283 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8284 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8285 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8286 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8287 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8288 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8289 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8290 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8291 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8292 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8293 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8294 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8295 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8296 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8297 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8298 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8299 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8300 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8301 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8302 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8303 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8304 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8305 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8306 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8307 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8308 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8309 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8310 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8311 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8312 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8313 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8314 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8315 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8316 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8317 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8318 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8319 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8320 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8321 * sysdeps/ieee754/k_standard.c: Likewise.
8322 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8323 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8324 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8325 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8326 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8327 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8328 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8329 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8330 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8331 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8332 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8333 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8334 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8335 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8336 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8337 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8338 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8339 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8340 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8341 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8342 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8343 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8344 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8345 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8346 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8347 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8348 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8349 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8350 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8351 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8352 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8353 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8354 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8355 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8356 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8357 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8358 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8359 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8360 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8361 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8362 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8363 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8364 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8365 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8366 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8367 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8368 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8369 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8370 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8371 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8372 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8373 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8374 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8375 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8376 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8377 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8378 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8379 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8380 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8381 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8382 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8383 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8384 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8385 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8386 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8387 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8388 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8389 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8390 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8391 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8392 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8393 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8394 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8395 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8396 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8397 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8398 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8399 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8400 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8401 * sysdeps/ieee754/s_matherr.c: Likewise.
8402 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8403 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8404 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8405 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8407 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8409 * crypt/md5.h: Remove __STDC__ conditionals.
8410 * libio/libioP.h: Likewise.
8411 * locale/programs/config.h: Likewise.
8412 * sysdeps/generic/sysdep.h: Likewise.
8413 * sysdeps/i386/asm-syntax.h: Likewise.
8414 * sysdeps/s390/asm-syntax.h: Likewise.
8415 * sysdeps/unix/sysdep.h: Likewise.
8416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8419 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8421 * libio/libio.h: Remove __STDC__ conditionals.
8422 * malloc/obstack.h: Likewise.
8423 * math/complex.h: Likewise.
8424 * math/math.h: Likewise.
8425 * sysdeps/generic/_G_config.h: Likewise.
8426 * sysdeps/gnu/_G_config.h: Likewise.
8427 * sysdeps/mach/hurd/_G_config.h: Likewise.
8428 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8429 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8430 * sysdeps/sparc/bits/mathdef.h: Likewise.
8432 2012-01-26 Ulrich Drepper <drepper@gmail.com>
8435 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
8436 Clean up HAS_* macros.
8437 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
8438 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8440 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8442 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8443 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8444 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8445 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8446 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8448 2012-01-25 Joseph Myers <joseph@codesourcery.com>
8450 * elf/tst-unique3.cc (gets): Remove declaration.
8451 * elf/tst-unique3lib.cc (gets): Likewise.
8452 * elf/tst-unique3lib2.cc (gets): Likewise.
8453 * elf/tst-unique4.cc (gets): Likewise.
8455 2012-01-24 Ulrich Drepper <drepper@gmail.com>
8457 * include/stdio.h: Add C++ protection. Add gets declarations and
8459 * debug/tst-chk1.c: Don't declare gets here.
8460 * stdio-common/tst-gets.c: Likewise.
8462 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8464 * posix/glob: Remove directory.
8466 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8468 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8470 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8472 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8473 of the non-standard EPFNOSUPPORT.
8475 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8477 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8478 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8479 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8481 2012-01-21 Ulrich Drepper <drepper@gmail.com>
8483 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8485 2012-01-20 Ulrich Drepper <drepper@gmail.com>
8487 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8489 * nscd/grpcache.c (cache_addgr): Likewise.
8490 * nscd/hstcache.c (cache_addhst): Likewise.
8491 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8492 * nscd/pwdcache.c (cache_addpw): Likewise.
8493 * nscd/servicescache.c (cache_addserv): Likewise.
8495 2012-01-16 Ulrich Drepper <drepper@gmail.com>
8497 * malloc/malloc.c: Various cleanups.
8498 * malloc/hooks.c: Likewise.
8500 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8501 * stdlib/bug-fmtmsg1.c: New file.
8503 * stdlib/fmtmsg.c (init): Add missing unlock.
8504 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8506 2012-01-12 Marek Polacek <polacek@redhat.com>
8508 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8511 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8513 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8514 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8515 macro to ensure uniqueness of label name.
8516 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8517 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8519 2012-01-11 Ulrich Drepper <drepper@gmail.com>
8521 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8523 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8524 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8525 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8526 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8528 2012-01-10 Ulrich Drepper <drepper@gmail.com>
8530 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8532 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8533 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8534 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8536 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8538 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
8539 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8540 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8541 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
8543 * math/bits/math-finite.h: Add ldexp support.
8545 2012-01-10 Marek Polacek <polacek@redhat.com>
8547 * locale/programs/localedef.h (show_archive_content): Add noreturn
8550 2012-01-09 Ulrich Drepper <drepper@gmail.com>
8552 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8554 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8556 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8558 * io/Makefile (headers): Add bits/poll2.h.
8560 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8563 typo #include statement.
8565 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8567 * include/sys/cdefs.h: Define __attribute_alloc_size.
8568 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8569 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8570 * elf/pldd.c: Likewise.
8571 * iconv/iconv_charmap.c: Likewise.
8572 * iconv/iconvconfig.c: Likewise.
8573 * iconv/strtab.c: Likewise.
8574 * locale/programs/locale.c: Likewise.
8575 * locale/programs/localedef.h: Likewise.
8576 * locale/programs/simple-hash.c: Likewise.
8577 * nscd/nscd.h: Likewise.
8578 * nss/makedb.c: Likewise.
8579 * sysdeps/generic/ldconfig.h: Likewise.
8580 * locale/programs/localedef.c: Remove xmalloc prototype.
8581 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8583 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8585 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8588 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8590 * math/Makefile (tests): Add tst-CMPLX.
8591 * math/tst-CMPLX.c: New file.
8593 * math/complex.h (CMPLXL): Fix typo.
8595 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8596 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8598 * debug/tst-chk1.c: Add poll and ppoll tests.
8599 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8600 * include/sys/poll.h: Add hidden proto for ppoll.
8601 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8602 * sysdeps/mach/hurd/ppoll.c: Likewise.
8603 * io/ppoll.c: Likewise.
8604 * debug/poll_chk.c: New file.
8605 * debug/ppoll_chk.c: New file.
8606 * include/bits/poll2.h: New file.
8607 * io/bits/poll2.h: New file.
8610 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8612 * configure.in: static is always set to yes. Remove.
8613 * config.make.in: Don't set build-static.
8614 * Makeconfig: Remove use of build-static.
8615 * dlfcn/Makefile: Likewise.
8616 * elf/Makefile: Likewise.
8617 * math/Makefile: Likewise.
8618 * misc/Makefile: Likewise.
8619 * nptl/Makefile: Likewise.
8620 * sysdeps/mach/hurd/Makefile: Likewise.
8622 * configure.in: PWD_P is not used anymore.
8623 * config.make.in: Remove PWD_P entry.
8625 * configure.in: Remove last remnants of RANLIB.
8626 No need to check for signed size_t anymore.
8627 Don't set libc_commonpagesize and libc_relro_required here for Alpha
8629 Remove __builtin_expect test because we require at least gcc 3.4.
8630 * aclocal.m4: Likewise.
8632 * wcsmbs/mbrtoc16.c: Implement using towc function.
8633 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8634 * wcsmbs/wcsmbsload.c: Likewise.
8635 * iconv/gconv_simple.c: Likewise.
8636 * iconv/gconv_int.h: Likewise.
8637 * iconv/gconv_builtin.h: Likewise.
8638 * iconv/iconv_prog.c: Remove CHAR16 handling.
8640 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8642 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8644 * configure.in: Remove --with-elf and --enable-bounded options.
8645 Dont set base_machine for ia64. More non-ELF conditions removed.
8646 Remove testing and setting of leading underscore information.
8647 * config.make.in (build-bounded): Set to no.
8648 * config.h.in: Remove NO_UNDERSCORES entry.
8649 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8651 * csu/start.c: Remove !NO_UNDERSCORE code.
8652 * locale/localeinfo.h: Likewise.
8653 * sysdeps/generic/machine-gmon.h: Likewise.
8654 * sysdeps/generic/sysdep.h: Likewise.
8655 * sysdeps/i386/sysdep.h: Likewise.
8656 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8657 * sysdeps/mach/sysdep.h: Likewise.
8658 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8659 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8660 * sysdeps/sh/sysdep.h: Likewise.
8661 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8662 * sysdeps/unix/i386/sysdep.S: Likewise.
8663 * sysdeps/unix/sparc/start.c: Likewise.
8664 * sysdeps/unix/sparc/sysdep.S: Likewise.
8665 * sysdeps/unix/sparc/sysdep.h: Likewise.
8666 * sysdeps/unix/start.c: Likewise.
8667 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8668 * sysdeps/x86_64/sysdep.h: Likewise.
8670 2012-01-07 Ulrich Drepper <drepper@gmail.com>
8673 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
8675 * argp/argp-fmtstream.h: Use const instead __const.
8676 * argp/argp.h: Likewise.
8677 * assert/assert.h: Likewise.
8678 * bits/fenv.h: Likewise.
8679 * bits/sched.h: Likewise.
8680 * bits/sigset.h: Likewise.
8681 * bits/sigthread.h: Likewise.
8682 * catgets/nl_types.h: Likewise.
8683 * conform/data/pthread.h-data: Likewise.
8684 * crypt/crypt-private.h: Likewise.
8685 * crypt/crypt.h: Likewise.
8686 * crypt/crypt_util.c: Likewise.
8687 * ctype/ctype.h: Likewise.
8688 * debug/execinfo.h: Likewise.
8689 * debug/mbsnrtowcs_chk.c: Likewise.
8690 * debug/mbsrtowcs_chk.c: Likewise.
8691 * debug/wcsnrtombs_chk.c: Likewise.
8692 * debug/wcsrtombs_chk.c: Likewise.
8693 * debug/wcstombs_chk.c: Likewise.
8694 * dirent/dirent.h: Likewise.
8695 * dlfcn/dlfcn.h: Likewise.
8696 * elf/neededtest4.c: Likewise.
8697 * grp/grp.h: Likewise.
8698 * gshadow/gshadow.h: Likewise.
8699 * iconv/gconv.h: Likewise.
8700 * iconv/gconv_int.h: Likewise.
8701 * iconv/gconv_simple.c: Likewise.
8702 * iconv/iconv.h: Likewise.
8703 * iconv/loop.c: Likewise.
8704 * iconv/skeleton.c: Likewise.
8705 * include/aio.h: Likewise.
8706 * include/aliases.h: Likewise.
8707 * include/argz.h: Likewise.
8708 * include/arpa/inet.h: Likewise.
8709 * include/assert.h: Likewise.
8710 * include/dirent.h: Likewise.
8711 * include/dlfcn.h: Likewise.
8712 * include/execinfo.h: Likewise.
8713 * include/fcntl.h: Likewise.
8714 * include/fenv.h: Likewise.
8715 * include/glob.h: Likewise.
8716 * include/grp.h: Likewise.
8717 * include/libintl.h: Likewise.
8718 * include/mntent.h: Likewise.
8719 * include/netdb.h: Likewise.
8720 * include/pwd.h: Likewise.
8721 * include/rpc/netdb.h: Likewise.
8722 * include/sched.h: Likewise.
8723 * include/search.h: Likewise.
8724 * include/shadow.h: Likewise.
8725 * include/signal.h: Likewise.
8726 * include/stdio.h: Likewise.
8727 * include/stdlib.h: Likewise.
8728 * include/string.h: Likewise.
8729 * include/sys/socket.h: Likewise.
8730 * include/sys/stat.h: Likewise.
8731 * include/sys/statfs.h: Likewise.
8732 * include/sys/statvfs.h: Likewise.
8733 * include/sys/syslog.h: Likewise.
8734 * include/sys/time.h: Likewise.
8735 * include/sys/uio.h: Likewise.
8736 * include/time.h: Likewise.
8737 * include/unistd.h: Likewise.
8738 * include/utmp.h: Likewise.
8739 * include/wchar.h: Likewise.
8740 * include/wctype.h: Likewise.
8741 * inet/aliases.h: Likewise.
8742 * inet/arpa/inet.h: Likewise.
8743 * inet/netinet/ether.h: Likewise.
8744 * inet/netinet/in.h: Likewise.
8745 * intl/libintl.h: Likewise.
8746 * io/bits/fcntl2.h: Likewise.
8747 * io/fcntl.h: Likewise.
8748 * io/ftw.h: Likewise.
8749 * io/sys/poll.h: Likewise.
8750 * io/sys/stat.h: Likewise.
8751 * io/sys/statfs.h: Likewise.
8752 * io/sys/statvfs.h: Likewise.
8753 * io/utime.h: Likewise.
8754 * libio/bits/stdio.h: Likewise.
8755 * libio/bits/stdio2.h: Likewise.
8756 * libio/libio.h: Likewise.
8757 * libio/libioP.h: Likewise.
8758 * libio/stdio.h: Likewise.
8759 * locale/lc-ctype.c: Likewise.
8760 * locale/locale.h: Likewise.
8761 * login/utmp.h: Likewise.
8762 * malloc/arena.c: Likewise.
8763 * malloc/malloc.c: Likewise.
8764 * malloc/malloc.h: Likewise.
8765 * malloc/mcheck.c: Likewise.
8766 * malloc/mtrace.c: Likewise.
8767 * math/bits/mathcalls.h: Likewise.
8768 * math/fenv.h: Likewise.
8769 * math/math_private.h: Likewise.
8770 * misc/bits/error.h: Likewise.
8771 * misc/bits/syslog.h: Likewise.
8772 * misc/err.h: Likewise.
8773 * misc/error.h: Likewise.
8774 * misc/fstab.h: Likewise.
8775 * misc/mntent.h: Likewise.
8776 * misc/regexp.h: Likewise.
8777 * misc/search.h: Likewise.
8778 * misc/sgtty.h: Likewise.
8779 * misc/sys/mman.h: Likewise.
8780 * misc/sys/syslog.h: Likewise.
8781 * misc/sys/uio.h: Likewise.
8782 * misc/sys/xattr.h: Likewise.
8783 * misc/ttyent.h: Likewise.
8784 * nis/rpcsvc/ypclnt.h: Likewise.
8785 * nss/nss.h: Likewise.
8786 * posix/bits/unistd.h: Likewise.
8787 * posix/fnmatch.h: Likewise.
8788 * posix/glob.h: Likewise.
8789 * posix/sched.h: Likewise.
8790 * posix/spawn.h: Likewise.
8791 * posix/sys/wait.h: Likewise.
8792 * posix/unistd.h: Likewise.
8793 * posix/wordexp.h: Likewise.
8794 * pwd/pwd.h: Likewise.
8795 * resolv/netdb.h: Likewise.
8796 * resource/sys/resource.h: Likewise.
8797 * rt/aio.h: Likewise.
8798 * rt/bits/mqueue2.h: Likewise.
8799 * rt/mqueue.h: Likewise.
8800 * shadow/shadow.h: Likewise.
8801 * signal/signal.h: Likewise.
8802 * socket/send.c: Likewise.
8803 * socket/sendto.c: Likewise.
8804 * socket/sys/socket.h: Likewise.
8805 * stdio-common/printf.h: Likewise.
8806 * stdlib/bits/stdlib.h: Likewise.
8807 * stdlib/fmtmsg.h: Likewise.
8808 * stdlib/monetary.h: Likewise.
8809 * stdlib/stdlib.h: Likewise.
8810 * stdlib/ucontext.h: Likewise.
8811 * streams/stropts.h: Likewise.
8812 * string/argz.h: Likewise.
8813 * string/bits/string2.h: Likewise.
8814 * string/string.h: Likewise.
8815 * string/strings.h: Likewise.
8816 * sunrpc/rpc/auth.h: Likewise.
8817 * sunrpc/rpc/auth_des.h: Likewise.
8818 * sunrpc/rpc/clnt.h: Likewise.
8819 * sunrpc/rpc/netdb.h: Likewise.
8820 * sunrpc/rpc/pmap_clnt.h: Likewise.
8821 * sunrpc/rpc/xdr.h: Likewise.
8822 * sysdeps/generic/inttypes.h: Likewise.
8823 * sysdeps/generic/net/if.h: Likewise.
8824 * sysdeps/generic/sys/swap.h: Likewise.
8825 * sysdeps/gnu/net/if.h: Likewise.
8826 * sysdeps/gnu/utmpx.h: Likewise.
8827 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8828 * sysdeps/i386/i486/bits/string.h: Likewise.
8829 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
8830 * sysdeps/s390/bits/string.h: Likewise.
8831 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
8832 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
8833 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8834 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8835 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8836 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
8837 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8838 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
8839 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8840 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
8841 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
8842 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8843 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
8844 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8845 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8846 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
8847 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8848 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8849 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8850 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8851 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8852 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
8853 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
8854 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
8855 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
8856 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
8857 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
8858 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8859 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
8860 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
8861 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
8862 * sysvipc/sys/ipc.h: Likewise.
8863 * sysvipc/sys/msg.h: Likewise.
8864 * sysvipc/sys/sem.h: Likewise.
8865 * sysvipc/sys/shm.h: Likewise.
8866 * termios/termios.h: Likewise.
8867 * time/sys/time.h: Likewise.
8868 * time/time.h: Likewise.
8869 * wcsmbs/bits/wchar2.h: Likewise.
8870 * wcsmbs/uchar.h: Likewise.
8871 * wcsmbs/wchar.h: Likewise.
8872 * wctype/wctype.h: Likewise.
8875 * Makeconfig: Remove all but ELF support including AIX support.
8876 * Makerules: Likewise.
8877 * config.h.in: Likewise.
8878 * config.make.in: Likewise.
8879 * configure: Likewise.
8880 * configure.in: Likewise.
8881 * csu/Makefile: Likewise.
8882 * csu/version.c: Likewise.
8883 * debug/Makefile: Likewise.
8884 * dlfcn/Makefile: Likewise.
8885 * elf/Makefile: Likewise.
8886 * extra-lib.mk: Likewise.
8887 * iconv/Makefile: Likewise.
8888 * include/libc-symbols.h: Likewise.
8889 * include/shlib-compat.h: Likewise.
8890 * resolv/Makefile: Likewise.
8891 * resolv/res_libc.c: Likewise.
8892 * rt/Makefile: Likewise.
8893 * sysdeps/i386/asm-syntax.h: Likewise.
8894 * sysdeps/i386/sysdep.h: Likewise.
8895 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8896 * sysdeps/mach/sysdep.h: Likewise.
8897 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
8898 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
8899 * sysdeps/s390/asm-syntax.h: Likewise.
8900 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8901 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8902 * sysdeps/sh/sysdep.h: Likewise.
8903 * sysdeps/unix/sparc/sysdep.h: Likewise.
8904 * sysdeps/wordsize-32/divdi3.c: Likewise.
8905 * sysdeps/x86_64/sysdep.h: Likewise.
8907 * argp/Versions: Remove _argp_unlock_xxx.
8910 * abilist/ld.abilist: Update. Adjust for removal of tls option.
8911 * abilist/libBrokenLocale.abilist: Likewise.
8912 * abilist/libanl.abilist: Likewise.
8913 * abilist/libc.abilist: Likewise.
8914 * abilist/libcrypt.abilist: Likewise.
8915 * abilist/libdl.abilist: Likewise.
8916 * abilist/libm.abilist: Likewise.
8917 * abilist/libnsl.abilist: Likewise.
8918 * abilist/libpthread.abilist: Likewise.
8919 * abilist/libresolv.abilist: Likewise.
8920 * abilist/librt.abilist: Likewise.
8921 * abilist/libthread_db.abilist: Likewise.
8922 * abilist/libutil.abilist: Likewise.
8923 * abilist/libnss_db.abilist: New file.
8925 * scripts/abilist.awk: Add support for indirect functions.
8927 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8929 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8931 * shlib-versions: Remove entries for ports architectures.
8933 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8935 * elf/stackguard-macros.h: Remove support for IA-64.
8936 * elf/tst-auditmod1.c: Likewise.
8937 * sysdeps/generic/ldsodefs.h: Likewise.
8939 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8940 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8944 * configure.in: Remove --enable-omitfp support.
8946 * config.make.in: Likewise.
8947 * Makeconfig: Likewise.
8948 * manual/install.texi: Likewise.
8950 In case anyone cares, the IA-64 architecture could move to ports.
8951 * sysdeps/ia64/*: Removed.
8952 * sysdeps/unix/sysv/linux/ia64/*: Removed.
8953 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
8956 * configure.in: Remove entries for unsupported architectures.
8959 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8960 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8962 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8963 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8964 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
8965 fall back to using wcrtomb.
8966 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8967 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
8969 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8970 * wcsmbs/tst-c16c32-1.c: New file.
8972 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8975 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8977 * elf/tst-unique3.cc: Add explicit declaration of gets.
8978 * elf/tst-unique3lib.cc: Likewise.
8979 * elf/tst-unique3lib2.cc: Likewise.
8980 * elf/tst-unique4.cc: Likewise.
8982 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8984 2012-01-06 Joseph Myers <joseph@codesourcery.com>
8987 * assert/assert.h (static_assert): Don't define for C++.
8988 * libio/stdio.h (gets): Do declare for C++ <= C++11.
8989 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8991 2012-01-03 Ulrich Drepper <drepper@gmail.com>
8993 * iconv/loop.c (single loop): Fix assertion in storing of
8996 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8998 2012-01-01 Ulrich Drepper <drepper@gmail.com>
9000 * posix/getconf.c: Update copyright year.
9001 * nss/getent.c: Likewise.
9002 * nss/makedb.c: Likewise.
9003 * iconv/iconvconfig.c: Likewise.
9004 * iconv/iconv_prog.c: Likewise.
9005 * elf/ldconfig.c: Likewise.
9006 * elf/pldd.c: Likewise.
9007 * elf/sotruss.ksh: Likewise.
9008 * catgets/gencat.c: Likewise.
9009 * csu/version.c: Likewise.
9010 * elf/ldd.bash.in: Likewise.
9011 * elf/sprof.c (print_version): Likewise.
9012 * locale/programs/locale.c: Likewise.
9013 * locale/programs/localedef.c: Likewise.
9014 * login/programs/pt_chown.c: Likewise.
9015 * nscd/nscd.c (print_version): Likewise.
9016 * debug/xtrace.sh: Likewise.
9017 * malloc/memusage.sh: Likewise.
9018 * malloc/mtrace.pl: Likewise.
9019 * debug/catchsegv.sh: Likewise.
9021 2011-12-30 Jakub Jelinek <jakub@redhat.com>
9023 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9026 2011-12-24 Ulrich Drepper <drepper@gmail.com>
9029 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9030 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9032 * iconv/gconv_int.h: Likewise.
9033 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9034 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9035 from libc for GLIBC_2.16.
9036 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9037 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9038 * wcsmbs/uchar.h: Really define mbstate_t.
9039 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9040 * wcsmbs/c16rtomb.c: New file.
9041 * wcsmbs/mbrtoc16.c: New file.
9042 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9044 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9045 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9047 * wcsmbs/wchar.h: Add missing __restrict.
9049 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9052 * time/Makefile (routines): Add timespec_get.
9053 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9054 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9055 timespec for ISO C11.
9056 * time/timespec_get.c: New file.
9057 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9058 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9061 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9062 * stdlib/stdlib.h: Declare aligned_alloc.
9063 * Versions.def: Add GLIBC_2.16 for libc.
9064 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9067 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9070 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
9074 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9077 * assert/assert.h (static_assert): Define.
9079 * version.h: Update for 2.16 development version.
9082 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9085 * version.h (RELEASE): Bump for 2.15 release.
9086 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9088 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9089 Patch by Marek Polacek <mpolacek@redhat.com>.
9091 * bits/byteswap.h: Protect long long constants with __extension__.
9092 * sysdeps/i386/bits/byteswap.h: Likewise.
9093 * sysdeps/ia64/bits/byteswap.h: Likewise.
9094 * sysdeps/s390/bits/byteswap.h: Likewise.
9095 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9097 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9100 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9102 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9104 2011-12-23 Marek Polacek <polacek@redhat.com>
9106 * elf/dl-addr.c (determine_info): Add inline keyword.
9107 * elf/tst-auditmod4b.c (check_avx): Likewise.
9108 * elf/tst-auditmod6b.c (check_avx): Likewise.
9109 * elf/tst-auditmod6c.c (check_avx): Likewise.
9110 * elf/tst-auditmod7b.c (check_avx): Likewise.
9112 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9114 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9117 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9120 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9121 processing for last bytes.
9123 2011-08-06 Bruno Haible <bruno@clisp.org>
9126 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9127 U+0385, not to U+1FEE.
9130 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9131 entry for U+00A5 U+0301.
9133 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9136 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9137 buffer for the output is too small.
9139 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9143 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9144 SSE flags if possible.
9146 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9149 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9150 processing for last bytes.
9152 2011-12-22 Joseph Myers <joseph@codesourcery.com>
9154 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9155 (syscall-list-default-options, syscall-list-default-condition)
9156 (syscall-list-includes): Define.
9157 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9158 list of ABIs and options and #if conditions for each ABI. Do not
9159 handle common syscalls between ABIs specially.
9160 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9162 (syscall-list-variants, syscall-list-32bit-options)
9163 (syscall-list-32bit-condition, syscall-list-64bit-options)
9164 (syscall-list-64bit-condition): Define.
9165 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9166 (syscall-list-variants, syscall-list-32bit-options)
9167 (syscall-list-32bit-condition, syscall-list-64bit-options)
9168 (syscall-list-64bit-condition): Define.
9169 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9171 (syscall-list-variants, syscall-list-32bit-options)
9172 (syscall-list-32bit-condition, syscall-list-64bit-options)
9173 (syscall-list-64bit-condition): Define.
9174 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9176 (syscall-list-variants, syscall-list-32bit-options)
9177 (syscall-list-32bit-condition, syscall-list-64bit-options)
9178 (syscall-list-64bit-condition): Define.
9180 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9182 * locale/iso-639.def: Add brx entry.
9185 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9186 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9188 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9189 __feraiseexcept_renamed.
9191 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9194 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9195 EPOLLET with unsigned values.
9196 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9197 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9199 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9200 to large cancellation.
9201 * math/s_cacoshf.c: Likewise.
9202 * math/s_cacoshl.c: Likewise.
9204 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9208 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9209 * math/s_cacoshf.c: Likewise.
9210 * math/s_cacoshl.c: Likewise.
9212 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9215 * iconv/gconv.h: Define __GCONV_SWAP.
9216 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9217 * iconvdata/utf-16.c: Likewise.
9218 * iconvdata/utf-32.c: Likewise.
9220 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9223 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9224 numerator after shifting it by one limb.
9226 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9228 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9229 under [__USE_EXTERN_INLINES].
9231 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9234 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9236 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9238 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9239 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9241 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9242 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9243 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9244 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9245 for strncasecmp/strncasecmp_l compilation.
9246 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9247 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9249 2011-12-08 Marek Polacek <mpolacek@redhat.com>
9252 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9255 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9258 * time/tzfile.c (__tzfile_read): Check values from file header.
9260 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9262 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9263 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9264 * powerpc/powerpc32/dl-start.S: Likewise.
9265 * powerpc/powerpc32/elf/start.S: Likewise.
9266 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9267 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9268 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9269 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9270 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9271 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9272 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9273 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9274 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9275 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9276 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9277 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9278 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9279 * powerpc/powerpc32/memset.S: Likewise.
9280 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9281 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9282 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9283 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9284 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9285 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9286 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9287 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9288 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9289 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9290 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9291 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9292 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9294 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9296 * math/libm-test.inc: Added more nearbyint tests.
9297 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9298 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9299 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9300 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9302 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9304 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9307 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9309 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9310 Add wcscpy-ssse3 wcscpy-c.
9311 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9312 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9313 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9314 * sysdeps/x86_64/wcschr.S: New file.
9315 * sysdeps/x86_64/wcsrchr.S: New file.
9316 * string/test-strcmp.c: Remove checking of wcscmp function for
9318 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9319 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9320 wcsrchr-sse2 wcsrchr-c.
9321 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9322 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9323 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9324 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9325 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9326 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9327 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9328 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9329 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9330 * wcsmbc/wcschr.c (WCSCHR): New macro.
9332 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9334 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9335 * wcsmbs/test-wcsrchr.c: New file.
9336 * string/test-strrchr.c: Add wcsrchr support.
9338 * wcsmbs/test-wcscpy.c: New file.
9339 * string/test-strcpy.c: Add wcscpy support.
9342 2011-12-10 Ulrich Drepper <drepper@gmail.com>
9344 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9347 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9350 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9352 2011-12-04 Ulrich Drepper <drepper@gmail.com>
9354 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
9355 Minor optimizations.
9357 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9358 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9359 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9361 2011-12-03 Ulrich Drepper <drepper@gmail.com>
9363 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9364 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9365 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9366 for gcc to avoid warnings.
9367 * inet/Makefile (tests): Add tst-checks.
9368 * inet/tst-checks.c: New file.
9370 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9373 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9376 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9377 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9379 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9381 2011-12-02 Ulrich Drepper <drepper@gmail.com>
9383 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9386 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9388 2011-11-29 Joseph Myers <joseph@codesourcery.com>
9390 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9391 conditional on GCC version.
9392 (__arch_compare_and_exchange_val_8_acq)
9393 (__arch_compare_and_exchange_val_16_acq)
9394 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9395 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9396 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9398 2011-12-02 Joseph Myers <joseph@codesourcery.com>
9400 * sysdeps/sh/backtrace.c: New file.
9402 2011-12-02 Andreas Schwab <schwab@redhat.com>
9404 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9407 2011-12-01 Andreas Schwab <schwab@redhat.com>
9409 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9410 falling back to utime.
9412 2011-11-30 Andreas Schwab <schwab@redhat.com>
9414 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9415 expectations for float.
9417 2011-11-29 Andreas Schwab <schwab@redhat.com>
9419 * locale/weight.h (findidx): Add parameter len.
9420 * locale/weightwc.h (findidx): Likewise.
9421 * posix/fnmatch_loop.c (FCT): Adjust caller.
9422 * posix/regcomp.c (build_equiv_class): Likewise.
9423 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9424 * posix/regexec.c (check_node_accept_bytes): Likewise.
9425 * string/strcoll_l.c (STRCOLL): Likewise.
9426 * string/strxfrm_l.c (STRXFRM): Likewise.
9428 2011-11-17 Ulrich Drepper <drepper@gmail.com>
9430 * Makefile.in: Remove CVSOPT handling.
9431 * configure.in: Remove use of AC_REVISION.
9432 * iconvdata/Makefile (distribute): No need to filter out CVS.
9433 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9436 2011-11-16 Andreas Schwab <schwab@redhat.com>
9438 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9439 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9440 [USE_AS_STRNCASECMP_L]: Likewise.
9441 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9442 NO_TLS_DIRECT_SEG_REFS.
9443 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9444 Fix argument offsets for non-PIC.
9445 [USE_AS_STRNCASECMP_L]: Likewise.
9446 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9447 NO_TLS_DIRECT_SEG_REFS.
9449 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9451 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
9453 * locale/loadlocale.c (_nl_load_locale): Likewise.
9455 2011-11-15 Andreas Schwab <schwab@redhat.com>
9457 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9458 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9459 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9460 (SYSCALL_GETTIME): Set errno on error.
9462 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9463 count references to noai6ai_cached.
9465 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9467 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9469 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9470 FD_CLOEXEC for /proc/self/maps.
9472 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9473 FD_CLOEXEC for /proc/meminfo.
9475 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9478 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9479 FD_CLOEXEC for given file.
9481 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9483 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9484 FD_CLOEXEC for /etc/hosts.
9485 (_gethtent): Likewise.
9487 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9489 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9490 cancellation and set FD_CLOEXEC for /etc/netgroup.
9492 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9493 reading /etc/publickey.
9495 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9496 allow cancellation when reading /etc/group.
9498 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9500 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9502 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9503 when using data file.
9505 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9507 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9508 (write_nis_obj): Use "c" and "e" in fopen.
9510 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9512 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9514 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9516 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9518 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9521 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9523 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9525 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9527 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9528 file parsing and set FD_CLOEXEC.
9530 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9532 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9534 2011-11-14 Andreas Schwab <schwab@redhat.com>
9536 * malloc/arena.c (arena_get2): Don't call reused_arena when
9537 _int_new_arena failed.
9539 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9541 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9542 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9543 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9544 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9545 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9546 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9547 to compile strcasecmp and strncasecmp.
9548 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9549 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9551 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9553 2011-11-13 Ulrich Drepper <drepper@gmail.com>
9555 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9556 locale-defines.sym to gen-as-const-headers.
9557 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9558 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9559 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9560 to compile strcasecmp and strncasecmp.
9561 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9562 strcasecmp_l and strncasecmp_l.
9563 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9564 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9565 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9566 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9567 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9568 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9569 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9570 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9571 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9572 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9573 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9575 2011-11-12 Ulrich Drepper <drepper@gmail.com>
9577 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9578 result of SYSDEP_GETTIME_CPU to retval.
9579 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9580 parameter list to macro. Remove trailing semicolon. Adjust users.
9582 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9585 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9587 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9589 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9590 from unused variable.
9592 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9594 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9597 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9600 * sunrpc/rpc_prot.c (rejected): Fix case value.
9602 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9603 unsigned long long int to avoid warnings in shift.
9605 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9607 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9610 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9611 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9612 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9614 * nis/nis_table.c (nis_list): Use variable of correct type for
9615 result of __follow_path call.
9617 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9619 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
9620 of math functions ceil, trunc, floor, round, and sqrt, when
9621 avaliable on the platform.
9622 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9624 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9625 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9626 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9628 2011-10-30 Marek Polacek <mpolacek@redhat.com>
9630 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9631 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9633 2011-11-11 Roland McGrath <roland@hack.frob.com>
9635 * include/unistd.h: Fix __readlink return type.
9636 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9638 2011-11-11 Ulrich Drepper <drepper@gmail.com>
9640 * stdlib/ucontext.h: Undo last change for makecontext.
9642 2011-11-11 Andreas Schwab <schwab@redhat.com>
9644 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9646 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9647 * setjmp/setjmp.h: Mark functions as non-leaf.
9648 * setjmp/bits/setjmp2.h: Likewise.
9649 * stdlib/ucontext.h: Likewise.
9651 2011-11-10 Andreas Schwab <schwab@redhat.com>
9653 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9654 (reused_arena): Don't check arena limit.
9655 (arena_get2): Atomically check arena limit.
9657 2011-11-08 Ulrich Drepper <drepper@gmail.com>
9659 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9660 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9662 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9665 2011-11-07 Andreas Schwab <schwab@redhat.com>
9667 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9668 handler when locking.
9670 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9671 Fix size of allocated buffer.
9673 2011-11-04 Andreas Schwab <schwab@redhat.com>
9676 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
9677 declarations for long double functions.
9678 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
9680 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
9682 2011-11-03 Andreas Schwab <schwab@redhat.com>
9684 * nscd/nscd.c (main): Don't start AVC thread until credentials are
9687 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
9690 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9692 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
9694 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
9696 * include/alloca.h (stackinfo_alloca_round): Define.
9697 (extend_alloca): Use it.
9698 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
9699 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
9702 * scripts/check-local-headers.sh: Ignore libaudit.h.
9704 * nscd/Makefile (extra-objs): Make recursively expanded.
9706 2011-11-01 Ulrich Drepper <drepper@gmail.com>
9708 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
9709 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9711 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
9712 * posix/tst-rfc3484-2.c: Likewise.
9713 * posix/tst-rfc3484-3.c: Likewise.
9715 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9717 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
9719 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
9720 process_vm_writev from libc using GLIBC_2.15 version.
9722 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
9724 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9726 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
9729 2011-10-31 Ulrich Drepper <drepper@gmail.com>
9732 * nss/getent.c (initgroups_keys): Show error message in case no group
9735 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
9736 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
9737 __bump_nl_timestamp.
9738 * nscd/connections (nscd_init): When host database is served open
9739 netlink socket and request notification about configuration changes.
9740 (main_loop_poll): Track netlink file descriptor and bump timestamp
9741 in case data becomes available.
9742 (main_loop_epoll): Likewise.
9743 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
9744 (database_pers_head): Add extra_data fileds.
9745 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
9746 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
9747 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
9749 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
9750 in6ai data, call __free_in6ai.
9751 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
9753 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
9754 interface information. Reuse previous data if netlink timestamp
9756 (__bump_nl_timestamp): New function.
9757 (__free_in6ai): New function.
9759 2011-10-30 Ulrich Drepper <drepper@gmail.com>
9761 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
9762 close_not_cancel_no_status here.
9763 (__check_pf): Reorganize code a bit to not call close twice if OOM.
9765 2011-10-29 Ulrich Drepper <drepper@gmail.com>
9768 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
9771 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9772 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
9773 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
9775 2011-07-03 Andreas Jaeger <aj@suse.de>
9778 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
9779 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
9780 * math/libm-test.inc (sin_test): Add test case.
9782 2011-10-29 Ulrich Drepper <drepper@gmail.com>
9785 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
9786 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9788 * elf/chroot_canon.c (chroot_canon): Cleanups.
9790 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
9793 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
9794 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9796 * string/test-strchr.c: Make usable for strchrnul testing.
9797 * string/test-strchrnul.c: New file.
9798 * string/Makefile (strop-tests): Add strchrnul.
9800 * po/it.po: Update from translation team.
9801 * po/es.po: Likewise.
9803 2011-10-28 Ulrich Drepper <drepper@gmail.com>
9805 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
9806 the three constants needed as parameters. Drop the others.
9807 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
9808 __m128i_strloadu_tolower.
9809 Create and initialize variable zero and use it in all the places
9810 where _mm_setzero_si128 was used.
9812 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
9813 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
9814 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
9815 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
9817 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
9818 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
9819 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
9820 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
9821 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
9822 __mpranred, __mptan.
9823 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
9824 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
9825 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
9826 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
9827 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
9828 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
9829 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
9830 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
9831 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
9833 2011-10-28 Andreas Schwab <schwab@redhat.com>
9835 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
9837 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
9839 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
9840 wide char related routines to wcsmbs subdir.
9842 2011-10-27 Andreas Schwab <schwab@redhat.com>
9845 * misc/sys/cdefs.h (__THROWNL): Define.
9846 * posix/unistd.h: Use __THREADNL instead of __THREAD
9847 for memory synchronization functions.
9849 2011-10-26 Roland McGrath <roland@hack.frob.com>
9852 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
9854 * manual/stdio.texi (Obstack Streams): Node removed.
9856 2011-10-26 Andreas Schwab <schwab@redhat.com>
9858 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
9859 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9860 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9862 * math/math_private.h (math_force_eval): Allow non-addressable
9864 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
9866 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9868 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
9871 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
9872 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9873 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9874 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9875 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9876 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9877 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9878 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
9880 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
9881 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
9882 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
9883 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
9884 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
9885 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
9886 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
9887 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
9888 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
9889 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
9890 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
9891 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
9892 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
9893 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
9894 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
9895 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
9896 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
9897 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
9898 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
9900 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
9901 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
9903 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
9904 place. Use VEX encoding when compiling for AVX.
9906 2011-10-25 Andreas Schwab <schwab@redhat.com>
9908 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
9909 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9911 * string/test-strchr.c (do_test): Don't generate NUL bytes.
9913 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9915 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
9916 useless if() expression.
9917 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9918 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9919 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9920 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9921 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9922 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9923 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9924 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9925 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9926 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9927 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9928 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9929 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9930 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9931 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9932 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9933 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9934 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9935 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9937 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9939 2011-10-25 Andreas Schwab <schwab@redhat.com>
9941 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9943 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9945 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9947 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9948 .text section. Avoid duplicate constants.
9949 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9950 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9951 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9952 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9953 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9954 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9955 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9956 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9957 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9958 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9959 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9960 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9961 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9962 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9963 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9964 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9965 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9966 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9967 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9968 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9969 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9970 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9971 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9972 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9973 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9974 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9975 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9976 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9977 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9978 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9979 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9980 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9981 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9982 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9983 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9984 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9985 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9986 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9987 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9988 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9989 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9990 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9991 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9992 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9993 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9995 2011-10-24 Ulrich Drepper <drepper@gmail.com>
9997 * sysdeps/x86_64/dla.h: Move to ...
9998 * sysdeps/x86_64/fpu/dla.h: ...here.
9999 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10000 situations. Use __builtin_fma only for gcc 4.6 and up.
10002 * config.make.in: Add have-mfma4 entry.
10003 * configure.in: Substitute libc_cv_cc_fma4.
10004 * math/Makefile (dbl-only-routines): Add sincostab.
10005 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10006 Use __sincostab not sincos.
10007 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10009 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10010 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10011 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10012 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10014 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10015 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10016 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10017 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10019 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10020 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10022 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10023 define aliases when function name is a macro.
10024 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10025 sysdeps/ieee754/dbl-64/sincos.tbl.
10026 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10027 fma4-enabled routines.
10028 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10029 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10030 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10031 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10032 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10033 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10034 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10035 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10036 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10037 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10038 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10039 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10040 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10041 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10042 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10043 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10044 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10045 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10046 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10047 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10048 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10049 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10050 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10051 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10052 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10053 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10054 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10055 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10056 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10057 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10059 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10061 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10062 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10063 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10064 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10065 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10066 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10067 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10068 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10070 2011-10-24 Andreas Schwab <schwab@redhat.com>
10072 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10074 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10076 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10078 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10080 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10082 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10083 Remove unused variable magic_bits.
10084 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10086 * string/strnlen.c: Define and use STRNLEN macro.
10087 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10088 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10089 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10090 * wcsmbs/wcslen.c: Define and use WCSLEN.
10091 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10092 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10093 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10094 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10095 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10096 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10097 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10099 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10101 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10102 strnlen-sse2-no-bsf.
10103 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10104 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10105 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10106 Add strnlen support.
10107 (USE_AS_STRNLEN): New macro.
10108 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10109 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10110 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10111 * sysdeps/x86_64/wcslen.S: New file.
10113 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10115 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10116 XMM-moves are used for copying on small sizes.
10118 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10120 * wcsmbs/Makefile (strop-tests): Add wcschr.
10121 * wcsmbs/test-wcschr.c: New file.
10122 * string/test-strchr.c: Update.
10123 Add wcschr support.
10126 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10128 * wcsmbs/Makefile (strop-tests): Add wcslen.
10129 * wcsmbs/test-wcslen.c: New file.
10130 * string/test-strlen.c: Update.
10131 Add wcslen support.
10134 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10136 * po/it.po: Update from translation team.
10138 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10140 * sysdeps/x86_64/wcscmp.S: Update.
10141 Fix wrong comparison semantics.
10142 wcscmp shall use signed comparison not unsigned.
10143 Don't use substraction to avoid overflow bug.
10144 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10145 * wcsmbc/wcscmp.c: Likewise.
10146 * string/test-strcmp.c: Likewise.
10147 Add new tests to check cases with negative values.
10149 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10151 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10152 * sysdeps/x86_64/dla.h: ...here. New file.
10153 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10154 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10155 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10156 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10157 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10158 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10159 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10160 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10161 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10163 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10165 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10166 __ynl_finite aliases.
10168 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10170 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10172 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10174 [DLA_FMA] (EMULV): Use DLA_FMA.
10175 [DLA_FMA] (MUL12): Use EMULV.
10176 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10177 that are not needed.
10178 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10179 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10180 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10181 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10182 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10183 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10184 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10186 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10188 * math/s_nan.c: Undef __nan.
10189 * math/s_nanf.c: Undef __nanf.
10190 * math/s_nanl.c: Undef __nanl.
10191 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10194 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10196 * math/s_catan.c: Add branch predictions.
10197 * math/s_catanf.c: Likewise.
10198 * math/s_catanh.c: Likewise.
10199 * math/s_catanhf.c: Likewise.
10200 * math/s_catanhl.c: Likewise.
10201 * math/s_catanl.c: Likewise.
10202 * math/s_cexp.c: Likewise.
10203 * math/s_cexpf.c: Likewise.
10204 * math/s_cexpl.c: Likewise.
10205 * math/s_clog.c: Likewise.
10206 * math/s_clog10.c: Likewise.
10207 * math/s_clog10f.c: Likewise.
10208 * math/s_clog10l.c: Likewise.
10209 * math/s_clogf.c: Likewise.
10210 * math/s_clogl.c: Likewise.
10211 * math/s_csqrt.c: Likewise.
10212 * math/s_csqrtf.c: Likewise.
10213 * math/s_csqrtl.c: Likewise.
10214 * math/s_ctanf.c: Likewise.
10215 * math/s_ctanh.c: Likewise.
10216 * math/s_ctanhf.c: Likewise.
10217 * math/s_ctanhl.c: Likewise.
10218 * math/s_ctanl.c: Likewise.
10220 * math/math_private.h: Define __nan, __nanf, __nanl.
10221 * math/s_cacosh.c: Include <math_private.h>.
10222 * math/s_cacoshl.c: Likewise.
10223 * math/s_casinh.c: Likewise.
10224 * math/s_casinhf.c: Likewise.
10225 * math/s_casinhl.c: Likewise.
10226 * math/s_ccos.c: Rely entire on ccosh.
10227 * math/s_ccosf.c: Rely entire on ccoshf.
10228 * math/s_ccosl.c: Rely entirely on ccoshl.
10229 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10230 Remove tests for FE_INVALID.
10231 * math/s_ccoshf.c: Likewise.
10232 * math/s_ccoshl.c: Likewise.
10233 * math/s_csin.c: Likewise.
10234 * math/s_csinf.c: Likewise.
10235 * math/s_csinh.c Likewise.
10236 * math/s_csinhf.c: Likewise.
10237 * math/s_csinhl.c: Likewise.
10238 * math/s_csinl.c: Likewise.
10239 * math/s_ctan.c: Likewise.
10240 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10241 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10242 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10244 2011-10-21 Ulrich Drepper <drepper@gmail.com>
10246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10247 compilation problems.
10249 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10252 2011-10-20 Ulrich Drepper <drepper@gmail.com>
10254 * sysdeps/i386/configure.in: Test for -mfma4 option.
10255 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10256 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10257 COMMON_CPUID_INDEX_80000001.
10258 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10259 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10260 use it if FMA3 is not supported.
10261 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10263 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10264 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10266 2011-10-20 Andreas Schwab <schwab@redhat.com>
10269 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10270 it would create a cycle with a link time dependency.
10272 2011-10-19 Ulrich Drepper <drepper@gmail.com>
10274 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10276 * string/Makefile (strop-tests): Add rawmemchr.
10277 * string/test-rawmemchr.c: New file.
10279 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10280 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10281 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10282 when compiling str{,n}casecmp and when AVX is available. Hook up
10283 new optimized code in initializers.
10285 2011-10-19 Andreas Schwab <schwab@redhat.com>
10287 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10288 __feraiseexcept instead of feraiseexcept.
10290 2011-10-18 Ulrich Drepper <drepper@gmail.com>
10292 * math/math_private.h: Define defaults for libc_fetestexcept and
10294 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10295 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10296 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10297 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10298 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10299 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10300 libc_fetestexcept and libc_feupdateenv.
10302 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10303 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10304 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10305 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10306 libc_feholdexcept_setround.
10308 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10309 Add s_nearbyint-c and s_nearbyintf-c.
10310 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10311 nearbyintf inlines.
10312 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10313 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10314 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10315 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10317 * math/math_private.h: Define defaults for libc_fegetround,
10318 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10319 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10320 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10321 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10322 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10323 standard functions.
10324 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10325 Remove comments and hacks for old compiler versions.
10326 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10327 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10328 libc_feholdexceptl.
10330 2011-10-18 Andreas Schwab <schwab@redhat.com>
10332 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
10333 (__feraiseexcept_renamed): Add __NTH.
10334 (feraiseexcept): Add __NTH. Rename local variables to fix
10335 namespace violations.
10337 2011-10-17 Ulrich Drepper <drepper@gmail.com>
10339 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10341 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10343 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10344 recently added interfaces.
10345 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10347 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10348 about macro parameter expansion.
10350 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10351 __NO_MATH_INLINES is defined. Cleanups.
10353 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10354 and __floorf is target has SSE4.1.
10355 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10356 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10357 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10358 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10360 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10362 (floorf): Likewise.
10364 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10366 2011-10-17 Andreas Schwab <schwab@redhat.com>
10368 * misc/sys/cdefs.h: Fix last change.
10370 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10373 2011-10-16 Ulrich Drepper <drepper@gmail.com>
10375 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10377 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10378 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10379 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10380 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10381 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10382 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10383 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10384 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10385 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10386 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10387 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10388 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10389 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10390 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10391 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10392 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10393 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10394 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10395 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10396 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10397 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10398 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10400 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10401 ceil, ceilf, floor, floorf.
10403 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10404 Perform IRELATIVE relocations last.
10406 * elf/do-rel.h: Add another parameter nrelative, replacing the
10407 local variable with the same name. Change name of the function
10408 to end in Rel or Rela (uppercase).
10409 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10410 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10411 elf_dynamic_do_##reloc function.
10413 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10415 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10416 is sufficient, at least on modern CPUs.
10418 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10420 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10421 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10423 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10425 * math/bits/math-finite.h: Add entries for exp.
10426 * math/e_expl.c: Add __*_finite alias.
10427 * sysdeps/i386/fpu/e_exp.S: Likewise.
10428 * sysdeps/i386/fpu/e_expf.S: Likewise.
10429 * sysdeps/i386/fpu/e_expl.c: Likewise.
10430 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10431 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10432 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10433 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10434 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10435 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10436 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10438 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10439 is sufficient, at least on modern CPUs.
10441 * ctype/ctype-info.c (__ctype_init): Define.
10442 * include/ctype.h (__ctype_init): Declare.
10443 (__ctype_b_loc): The variable is always initialized.
10444 (__ctype_toupper_loc): Likewise.
10445 (__ctype_tolower_loc): Likewise.
10446 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10447 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10449 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10451 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10453 * configure.in: Also look in $cxxmachine/include for C++ system
10456 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10458 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10459 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10460 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10461 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10462 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10463 (USE_AS_WMEMCMP): New macro.
10465 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10466 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10467 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10468 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10469 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10470 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10471 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10472 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10473 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10474 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10475 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10476 (USE_AS_WMEMCMP): New macro.
10477 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10478 * sysdeps/string/test-memcmp.c: Update.
10479 Fix simple_wmemcmp.
10481 * wcsmbs/wmemcmp.c: Update.
10482 (WMEMCMP): New macro.
10485 2011-10-12 Andreas Jaeger <aj@suse.de>
10488 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10490 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10492 * libio/iofwide.c (do_length): Avoid warning.
10494 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10496 2011-10-14 Ulrich Drepper <drepper@gmail.com>
10498 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10500 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10501 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10502 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10503 * sysdeps/i386/i686/fpu/e_log.S: New file.
10504 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10505 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10507 * ctype/ctype.h: Add support for inlined isXXX functions when
10508 compiling C++ code.
10510 2011-10-14 Andreas Schwab <schwab@redhat.com>
10512 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10514 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10516 2011-10-13 Roland McGrath <roland@hack.frob.com>
10519 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10521 2011-10-13 Andreas Schwab <schwab@redhat.com>
10523 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10524 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10527 * sysdeps/x86_64/memrchr.S: Check for zero size.
10529 * string/stratcliff.c: Add memrchr tests.
10531 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10533 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10534 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10535 rawmemchr-sse2 rawmemchr-sse2-bsf.
10536 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10537 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10538 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10539 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10540 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10541 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10542 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10543 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10544 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10545 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10546 * string/memrchr.c (MEMRCHR): New macro.
10548 2011-10-12 Ulrich Drepper <drepper@gmail.com>
10550 Add integration with gcc's -ffinite-math-only and optimize wrapper
10552 * Versions.def: Define GLIBC_2.15 version for libm.
10553 * math/Makefile (headers): Add bits/math-finite.h.
10554 * math/bits/math-finite.h: New file.
10555 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10556 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10557 * math/e_acoshl.c: Add __*_finite alias.
10558 * math/e_acosl.c: Likewise.
10559 * math/e_asinl.c: Likewise.
10560 * math/e_atan2l.c: Likewise.
10561 * math/e_atanhl.c: Likewise.
10562 * math/e_coshl.c: Likewise.
10563 * math/e_exp10.c: Likewise.
10564 * math/e_exp10f.c: Likewise.
10565 * math/e_exp10l.c: Likewise.
10566 * math/e_exp2l.c: Likewise.
10567 * math/e_fmodl.c: Likewise.
10568 * math/e_gammal_r.c: Likewise.
10569 * math/e_hypotl.c: Likewise.
10570 * math/e_j0l.c: Likewise.
10571 * math/e_j1l.c: Likewise.
10572 * math/e_jnl.c: Likewise.
10573 * math/e_lgammal_r.c: Likewise.
10574 * math/e_log10l.c: Likewise.
10575 * math/e_log2l.c: Likewise.
10576 * math/e_logl.c: Likewise.
10577 * math/e_powl.c: Likewise.
10578 * math/e_sinhl.c: Likewise.
10579 * math/e_sqrtl.c: Likewise.
10580 * math/e_scalb.c: Completely rewritten and optimized.
10581 * math/e_scalbf.c: Likewise.
10582 * math/e_scalbl.c: Likewise.
10583 * math/w_acos.c: Likewise.
10584 * math/w_acosf.c: Likewise.
10585 * math/w_acosl.c: Likewise.
10586 * math/w_acosh.c: Likewise.
10587 * math/w_acoshf.c: Likewise.
10588 * math/w_acoshl.c: Likewise.
10589 * math/w_asin.c: Likewise.
10590 * math/w_asinf.c: Likewise.
10591 * math/w_asinl.c: Likewise.
10592 * math/w_atan2.c: Likewise.
10593 * math/w_atan2f.c: Likewise.
10594 * math/w_atan2l.c: Likewise.
10595 * math/w_atanh.c: Likewise.
10596 * math/w_atanhf.c: Likewise.
10597 * math/w_atanhl.c: Likewise.
10598 * math/w_exp10.c: Likewise.
10599 * math/w_exp10f.c: Likewise.
10600 * math/w_exp10l.c: Likewise.
10601 * math/w_fmod.c: Likewise.
10602 * math/w_fmodf.c: Likewise.
10603 * math/w_fmodl.c: Likewise.
10604 * math/w_j0.c: Likewise.
10605 * math/w_j0f.c: Likewise.
10606 * math/w_j0l.c: Likewise.
10607 * math/w_j1.c: Likewise.
10608 * math/w_j1f.c: Likewise.
10609 * math/w_j1l.c: Likewise.
10610 * math/w_jn.c: Likewise.
10611 * math/w_jnf.c: Likewise.
10612 * math/w_log.c: Likewise.
10613 * math/w_logf.c: Likewise.
10614 * math/w_logl.c: Likewise.
10615 * math/w_log10.c: Likewise.
10616 * math/w_log10f.c: Likewise.
10617 * math/w_log10l.c: Likewise.
10618 * math/w_log2.c: Likewise.
10619 * math/w_log2f.c: Likewise.
10620 * math/w_log2l.c: Likewise.
10621 * math/w_pow.c: Likewise.
10622 * math/w_powf.c: Likewise.
10623 * math/w_powl.c: Likewise.
10624 * math/w_remainder.c: Likewise.
10625 * math/w_remainderf.c: Likewise.
10626 * math/w_remainderl.c: Likewise.
10627 * math/w_scalb.c: Likewise.
10628 * math/w_scalbf.c: Likewise.
10629 * math/w_scalbl.c: Likewise.
10630 * math/w_sqrt.c: Likewise.
10631 * math/w_sqrtf.c: Likewise.
10632 * math/w_sqrtl.c: Likewise.
10633 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10634 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10636 * math/math_private.h: Declare __kernel_standard_f.
10637 * math/w_cosh.c: Remove cruft and optimize a bit.
10638 * math/w_coshf.c: Likewise.
10639 * math/w_coshl.c: Likewise.
10640 * math/w_exp2.c: Likewise.
10641 * math/w_exp2f.c: Likewise.
10642 * math/w_exp2l.c: Likewise.
10643 * math/w_hypot.c: Likewise.
10644 * math/w_hypotf.c: Likewise.
10645 * math/w_hypotl.c: Likewise.
10646 * math/w_lgamma.c: Likewise.
10647 * math/w_lgamma_r.c: Likewise.
10648 * math/w_lgammaf.c: Likewise.
10649 * math/w_lgammaf_r.c: Likewise.
10650 * math/w_lgammal.c: Likewise.
10651 * math/w_lgammal_r.c: Likewise.
10652 * math/w_sinh.c: Likewise.
10653 * math/w_sinhf.c: Likewise.
10654 * math/w_sinhl.c: Likewise.
10655 * math/w_tgamma.c: Likewise.
10656 * math/w_tgammaf.c: Likewise.
10657 * math/w_tgammal.c: Likewise.
10658 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10659 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10660 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10661 Minor optimizations. Pretty printing. Remove cruft.
10662 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10663 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10664 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10665 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10666 * sysdeps/i386/fpu/e_acosl.c: Likewise.
10667 * sysdeps/i386/fpu/e_asin.S: Likewise.
10668 * sysdeps/i386/fpu/e_asinf.S: Likewise.
10669 * sysdeps/i386/fpu/e_atan2.S: Likewise.
10670 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
10671 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
10672 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10673 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10674 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10675 * sysdeps/i386/fpu/e_exp10.S: Likewise.
10676 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
10677 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
10678 * sysdeps/i386/fpu/e_exp2.S: Likewise.
10679 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
10680 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
10681 * sysdeps/i386/fpu/e_fmod.S: Likewise.
10682 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
10683 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
10684 * sysdeps/i386/fpu/e_hypot.S: Likewise.
10685 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
10686 * sysdeps/i386/fpu/e_log.S: Likewise.
10687 * sysdeps/i386/fpu/e_log10.S: Likewise.
10688 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10689 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10690 * sysdeps/i386/fpu/e_log2.S: Likewise.
10691 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10692 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10693 * sysdeps/i386/fpu/e_logf.S: Likewise.
10694 * sysdeps/i386/fpu/e_logl.S: Likewise.
10695 * sysdeps/i386/fpu/e_pow.S: Likewise.
10696 * sysdeps/i386/fpu/e_powf.S: Likewise.
10697 * sysdeps/i386/fpu/e_powl.S: Likewise.
10698 * sysdeps/i386/fpu/e_remainder.S: Likewise.
10699 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
10700 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
10701 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10702 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10703 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10704 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
10705 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
10706 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
10707 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10708 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10709 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10710 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10711 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10712 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10713 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10714 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10715 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10716 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10717 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10718 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10719 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10720 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10721 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10722 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10723 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10724 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10725 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10726 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10727 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10728 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10729 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10730 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10731 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10732 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10733 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10734 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10735 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10736 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10737 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10738 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10739 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10740 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10741 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10742 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10743 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10744 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10745 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10746 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10747 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10748 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10749 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10750 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10751 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10752 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10753 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10754 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10755 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10756 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10757 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10758 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10759 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10760 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10761 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10762 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10763 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10764 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10765 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10766 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10767 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10768 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10769 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10770 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10771 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10772 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10773 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10774 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10775 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10776 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10777 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10778 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10779 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10780 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10781 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10782 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10783 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10784 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10785 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10786 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10787 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10788 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10789 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10790 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10791 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10792 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10793 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10794 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10795 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10796 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10797 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10798 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10799 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10800 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10801 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10802 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10803 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10804 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10805 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10806 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10807 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
10808 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
10809 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
10810 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
10811 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10812 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10813 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10814 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10815 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
10816 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10817 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
10818 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
10819 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
10820 (__isnanf): Likewise.
10821 (__isinf_ns): Likewise.
10822 (__isinf_nsf): Likewise.
10823 (__finite): Likewise.
10824 (__finitef): Likewise.
10825 (__ieee754_sqrt): Define as macro.
10826 (__ieee754_sqrtf): Define as macro.
10827 (__ieee754_sqrtl): Define as macro.
10828 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
10830 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
10831 __FINITE_MATH_ONLY__ consistent.
10832 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
10834 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
10836 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
10839 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
10841 2011-10-09 Ulrich Drepper <drepper@gmail.com>
10843 * po/ja.po: Update from translation team.
10845 2011-10-08 Roland McGrath <roland@hack.frob.com>
10847 * locale/programs/locarchive.c (prepare_address_space): New function.
10848 (create_archive, enlarge_archive, open_archive): Use it.
10850 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
10851 inside [SHARED], where it is used.
10853 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
10855 * nss/getent.c (netgroup_keys): Remove unused variable.
10856 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10858 2011-10-08 Ulrich Drepper <drepper@gmail.com>
10860 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
10861 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
10862 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
10863 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
10864 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
10865 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
10866 * math/Makefile (libm-calls): Add s_isinf_ns.
10867 * math/divtc3.c: Use __isinf_nsl instead of isinf.
10868 * math/multc3.c: Likewise.
10869 * math/s_casin.c: Likewise.
10870 * math/s_casinf.c: Likewise.
10871 * math/s_casinl.c: Likewise.
10872 * math/s_ccos.c: Likewise.
10873 * math/s_ccosf.c: Likewise.
10874 * math/s_ccosl.c: Likewise.
10875 * math/s_ctan.c: Likewise.
10876 * math/s_ctanf.c: Likewise.
10877 * math/s_ctanh.c: Likewise.
10878 * math/s_ctanhf.c: Likewise.
10879 * math/s_ctanhl.c: Likewise.
10880 * math/s_ctanl.c: Likewise.
10881 * math/w_fmod.c: Likewise.
10882 * math/w_fmodf.c: Likewise.
10883 * math/w_fmodl.c: Likewise.
10884 * math/w_remainder.c: Likewise.
10885 * math/w_remainderf.c: Likewise.
10886 * math/w_remainderl.c: Likewise.
10887 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
10888 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
10889 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
10890 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
10891 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
10892 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
10893 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
10894 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
10896 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
10898 * stdio-common/printf_fphex.c: Likewise.
10899 * stdio-common/printf_size.c: Likewise.
10901 * math/e_exp10.c: Include math_private.h using <...> not "...".
10902 * math/e_exp10f.c: Likewise.
10903 * math/e_exp10l.c: Likewise.
10904 * math/e_exp2l.c: Likewise.
10905 * math/e_j0l.c: Likewise.
10906 * math/e_j1l.c: Likewise.
10907 * math/e_jnl.c: Likewise.
10908 * math/e_lgammal_r.c: Likewise.
10909 * math/e_rem_pio2l.c: Likewise.
10910 * math/e_scalb.c: Likewise.
10911 * math/e_scalbf.c: Likewise.
10912 * math/e_scalbl.c: Likewise.
10913 * math/k_cosl.c: Likewise.
10914 * math/k_sinl.c: Likewise.
10915 * math/k_tanl.c: Likewise.
10916 * math/s_cacoshf.c: Likewise.
10917 * math/s_catan.c: Likewise.
10918 * math/s_catanf.c: Likewise.
10919 * math/s_catanh.c: Likewise.
10920 * math/s_catanhf.c: Likewise.
10921 * math/s_catanhl.c: Likewise.
10922 * math/s_catanl.c: Likewise.
10923 * math/s_ccosh.c: Likewise.
10924 * math/s_ccoshf.c: Likewise.
10925 * math/s_ccoshl.c: Likewise.
10926 * math/s_cexp.c: Likewise.
10927 * math/s_cexpf.c: Likewise.
10928 * math/s_cexpl.c: Likewise.
10929 * math/s_clog.c: Likewise.
10930 * math/s_clog10.c: Likewise.
10931 * math/s_clog10f.c: Likewise.
10932 * math/s_clog10l.c: Likewise.
10933 * math/s_clogf.c: Likewise.
10934 * math/s_clogl.c: Likewise.
10935 * math/s_csin.c: Likewise.
10936 * math/s_csinf.c: Likewise.
10937 * math/s_csinh.c: Likewise.
10938 * math/s_csinhf.c: Likewise.
10939 * math/s_csinhl.c: Likewise.
10940 * math/s_csinl.c: Likewise.
10941 * math/s_csqrt.c: Likewise.
10942 * math/s_csqrtf.c: Likewise.
10943 * math/s_csqrtl.c: Likewise.
10944 * math/s_ctan.c: Likewise.
10945 * math/s_ctanf.c: Likewise.
10946 * math/s_ctanh.c: Likewise.
10947 * math/s_ctanhf.c: Likewise.
10948 * math/s_ctanhl.c: Likewise.
10949 * math/s_ctanl.c: Likewise.
10950 * math/s_ldexp.c: Likewise.
10951 * math/s_ldexpf.c: Likewise.
10952 * math/s_ldexpl.c: Likewise.
10953 * math/s_significand.c: Likewise.
10954 * math/s_significandf.c: Likewise.
10955 * math/s_significandl.c: Likewise.
10956 * math/w_acos.c: Likewise.
10957 * math/w_acosf.c: Likewise.
10958 * math/w_acosh.c: Likewise.
10959 * math/w_acoshf.c: Likewise.
10960 * math/w_acoshl.c: Likewise.
10961 * math/w_acosl.c: Likewise.
10962 * math/w_asin.c: Likewise.
10963 * math/w_asinf.c: Likewise.
10964 * math/w_asinl.c: Likewise.
10965 * math/w_atan2.c: Likewise.
10966 * math/w_atan2f.c: Likewise.
10967 * math/w_atan2l.c: Likewise.
10968 * math/w_atanh.c: Likewise.
10969 * math/w_atanhf.c: Likewise.
10970 * math/w_atanhl.c: Likewise.
10971 * math/w_cosh.c: Likewise.
10972 * math/w_coshf.c: Likewise.
10973 * math/w_coshl.c: Likewise.
10974 * math/w_dremf.c: Likewise.
10975 * math/w_exp10.c: Likewise.
10976 * math/w_exp10f.c: Likewise.
10977 * math/w_exp10l.c: Likewise.
10978 * math/w_exp2.c: Likewise.
10979 * math/w_exp2f.c: Likewise.
10980 * math/w_fmod.c: Likewise.
10981 * math/w_fmodf.c: Likewise.
10982 * math/w_fmodl.c: Likewise.
10983 * math/w_hypot.c: Likewise.
10984 * math/w_hypotf.c: Likewise.
10985 * math/w_hypotl.c: Likewise.
10986 * math/w_j0.c: Likewise.
10987 * math/w_j0f.c: Likewise.
10988 * math/w_j0l.c: Likewise.
10989 * math/w_j1.c: Likewise.
10990 * math/w_j1f.c: Likewise.
10991 * math/w_j1l.c: Likewise.
10992 * math/w_jn.c: Likewise.
10993 * math/w_jnf.c: Likewise.
10994 * math/w_jnl.c: Likewise.
10995 * math/w_lgamma.c: Likewise.
10996 * math/w_lgamma_r.c: Likewise.
10997 * math/w_lgammaf.c: Likewise.
10998 * math/w_lgammaf_r.c: Likewise.
10999 * math/w_lgammal.c: Likewise.
11000 * math/w_lgammal_r.c: Likewise.
11001 * math/w_log.c: Likewise.
11002 * math/w_log10.c: Likewise.
11003 * math/w_log10f.c: Likewise.
11004 * math/w_log10l.c: Likewise.
11005 * math/w_log2.c: Likewise.
11006 * math/w_log2f.c: Likewise.
11007 * math/w_log2l.c: Likewise.
11008 * math/w_logf.c: Likewise.
11009 * math/w_logl.c: Likewise.
11010 * math/w_pow.c: Likewise.
11011 * math/w_powf.c: Likewise.
11012 * math/w_powl.c: Likewise.
11013 * math/w_remainder.c: Likewise.
11014 * math/w_remainderf.c: Likewise.
11015 * math/w_remainderl.c: Likewise.
11016 * math/w_scalb.c: Likewise.
11017 * math/w_scalbf.c: Likewise.
11018 * math/w_scalbl.c: Likewise.
11019 * math/w_sinh.c: Likewise.
11020 * math/w_sinhf.c: Likewise.
11021 * math/w_sinhl.c: Likewise.
11022 * math/w_sqrt.c: Likewise.
11023 * math/w_sqrtf.c: Likewise.
11024 * math/w_sqrtl.c: Likewise.
11025 * math/w_tgamma.c: Likewise.
11026 * math/w_tgammaf.c: Likewise.
11027 * math/w_tgammal.c: Likewise.
11029 * po/ja.po: Update from translation team.
11031 2011-09-29 Andreas Jaeger <aj@suse.de>
11034 * sunrpc/netname.c (netname2host): Fix logic.
11038 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11040 * math/w_remainder.c (__remainder): Likewise.
11041 * math/w_remainderf.c (__remainderf): Likewise.
11042 * math/libm-test.inc (remainder_test): Add test cases.
11044 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11046 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11049 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11051 * string/test-memcmp.c: Avoid unncessary #defines.
11052 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11054 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11056 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11057 Use new sse2 version for core i3 - i7 as it's faster
11058 than sse42 version.
11059 (bit_Prefer_PMINUB_for_stringop): New.
11060 * sysdeps/x86_64/rawmemchr.S: Update.
11061 Replace with faster SSE2 version.
11062 * sysdeps/x86_64/memrchr.S: New file.
11063 * sysdeps/x86_64/memchr.S: Update.
11064 Replace with faster SSE2 version.
11066 2011-09-12 Marek Polacek <mpolacek@redhat.com>
11068 * elf/dl-load.c (lose): Add cast to avoid warning.
11070 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11072 * po/ca.po: Update from translation team.
11074 * inet/getnetgrent_r.c: Hook up nscd.
11075 * nscd/Makefile (routines): Add nscd_netgroup.
11076 (nscd-modules): Add netgroupcache.
11077 (CFLAGS-netgroupcache.c): Define.
11078 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11079 (cache_search): Add const to second parameter.
11080 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11082 (dbs): Add netgrdb entry.
11083 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11084 (verify_persistent_db): Handle netgrdb.
11085 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11086 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11088 (netgroup_response_header): Define.
11089 (innetgroup_response_header): Define.
11090 (datahead): Add netgroup_response_header and innetgroup_response_header
11092 * nscd/nscd.conf: Add entries for netgroup cache.
11093 * nscd/nscd.h (dbtype): Add netgrdb.
11094 (_PATH_NSCD_NETGROUP_DB): Define.
11095 (netgroup_iov_disabled): Declare.
11096 (xmalloc, xcalloc, xrealloc): Move declarations here.
11097 (cache_search): Adjust prototype.
11098 Add netgroup-related prototypes.
11099 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11100 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11101 (__nscd_innetgr): Declare.
11102 * nscd/selinux.c (perms): Use access_vector_t as element type and
11103 add netgroup-related initializers.
11104 * nscd/netgroupcache.c: New file.
11105 * nscd/nscd_netgroup.c: New file.
11106 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11107 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11108 For four parameters use innetgr.
11109 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11110 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11111 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11112 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11114 * nscd/connections.c (register_traced_file): Don't register file
11115 for disabled databases.
11117 2011-10-06 Ulrich Drepper <drepper@gmail.com>
11119 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11121 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11122 from tree and freeing node.
11124 2011-09-25 Jiri Olsa <jolsa@redhat.com>
11126 * nss/nsswitch.c (__nss_database_lookup): Handle
11127 nss_parse_service_list out of memory case.
11129 2011-09-15 Jiri Olsa <jolsa@redhat.com>
11131 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11132 out of memory case.
11134 2011-10-04 Andreas Schwab <schwab@redhat.com>
11136 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11137 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11139 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11140 elf_machine_rela, elf_machine_lazy_rel.
11141 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11142 (ELF_DYNAMIC_DO_REL): Likewise.
11143 (ELF_DYNAMIC_DO_RELA): Likewise.
11144 (ELF_DYNAMIC_RELOCATE): Likewise.
11145 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11146 to ELF_DYNAMIC_DO_REL.
11147 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11148 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11149 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11151 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11152 skip_ifunc, don't call ifunc function if non-zero.
11153 (elf_machine_rela): Likewise.
11154 (elf_machine_lazy_rel): Likewise.
11155 (elf_machine_lazy_rela): Likewise.
11156 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11157 (elf_machine_lazy_rel): Likewise.
11158 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11160 (elf_machine_lazy_rel): Likewise.
11161 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11163 (elf_machine_lazy_rel): Likewise.
11164 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11165 (elf_machine_lazy_rel): Likewise.
11166 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11167 (elf_machine_lazy_rel): Likewise.
11168 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11169 (elf_machine_lazy_rel): Likewise.
11170 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11171 (elf_machine_lazy_rel): Likewise.
11172 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11173 (elf_machine_lazy_rel): Likewise.
11174 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11175 (elf_machine_lazy_rel): Likewise.
11177 2011-09-28 Ulrich Drepper <drepper@gmail.com>
11179 * nss/nss_files/files-init.c (_nss_files_init): Use static
11180 initialization for all the *_traced_file variables.
11182 2011-09-28 Andreas Schwab <schwab@redhat.com>
11184 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11186 2011-09-27 Roland McGrath <roland@hack.frob.com>
11189 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11191 2011-09-27 Andreas Schwab <schwab@redhat.com>
11193 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11194 Reread the line before reparsing it.
11196 2011-09-26 Andreas Schwab <schwab@redhat.com>
11198 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11200 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11201 Maxim Kuvyrkov <maxim@codesourcery.com>
11202 Joseph Myers <joseph@codesourcery.com>
11204 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11205 if needed for __stack_chk_guard.
11207 2011-09-19 Roland McGrath <roland@hack.frob.com>
11209 * sysdeps/posix/spawni.c (script_execute): Always define it.
11210 It will be optimized away if unused.
11211 (maybe_script_execute): New function.
11212 (__spawni): Call it.
11214 * Makerules: Don't include tls.make.
11215 (config-tls): Always set to thread.
11216 * tls.make.c: File removed.
11218 2011-09-19 Mike Frysinger <vapier@gentoo.org>
11220 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11221 * config.make.in (CPPFLAGS-config): New substituted variable.
11223 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11225 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11228 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11229 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11231 2011-09-15 Roland McGrath <roland@hack.frob.com>
11233 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11234 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11235 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11236 (CALL_FAIL): Likewise.
11237 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11238 (CALL_FAIL): Macro removed.
11239 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11241 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11243 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11244 for __FINITE_MATH_ONLY__ == 1.
11246 2011-09-15 Andreas Schwab <schwab@redhat.com>
11248 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11249 __ieee754_sqrt instead of sqrt.
11250 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11251 __ieee754_sqrtf instead of sqrtf.
11252 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11253 __floorf instead of floorf.
11254 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11255 __floorf, __truncf instead of floorf, truncf.
11257 2011-09-14 Ulrich Drepper <drepper@gmail.com>
11259 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11261 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11262 __extern_always_inline.
11263 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11266 2011-09-14 Andreas Schwab <schwab@redhat.com>
11268 * elf/rtld.c (dl_main): Also relocate in dependency order when
11269 doing symbol dependency testing.
11271 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11273 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11274 Always define `refsym'.
11276 2011-09-13 Andreas Schwab <schwab@redhat.com>
11278 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11279 (__FD_ELT): Renamed from __FDELT.
11280 * misc/bits/select2.h (__FD_ELT): Likewise.
11281 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11282 __FD_MASK instead of __FDELT, __FDMASK.
11283 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11285 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11288 * elf/Makefile (gen-ldd): Fix pattern.
11290 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11291 (init_tls): Likewise.
11293 2011-09-12 Ulrich Drepper <drepper@gmail.com>
11295 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11297 2011-09-12 Andreas Schwab <schwab@redhat.com>
11299 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11300 `struct cmsghdr *' instead of `void *'.
11301 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11304 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11306 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11308 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11309 ldd_rewrite_script.
11311 2011-09-11 Ulrich Drepper <drepper@gmail.com>
11313 * configure.in: Remove --with-tls option.
11314 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11315 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11316 out in case it is missing.
11317 * sysdeps/ia64/elf/configure.in: Likewise.
11318 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11319 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11320 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11321 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11322 * sysdeps/sh/elf/configure.in: Likewise.
11323 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11324 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11325 * sysdeps/x86_64/elf/configure.in: Likewise.
11326 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11327 * sysdeps/mach/hurd/tls.h: Likewise.
11330 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11333 * configure.in: Fix use of AC_INIT.
11335 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11337 2011-09-10 Ulrich Drepper <drepper@gmail.com>
11339 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11341 * malloc/hooks.c: Likewise.
11344 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11345 variables statically.
11346 (narenas): Initialize.
11347 (list_lock): Initialize.
11348 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11349 initializtion of main_arena and list_lock. Small cleanups.
11350 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11351 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11352 Add initializers to main_arena and mp_.
11353 (malloc_state): Remove pagesize member. Change all users to use
11356 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11357 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11358 is always initialized.
11360 * malloc/malloc.c: Removed unused configurations and dead code.
11361 * malloc/arena.c: Likewise.
11362 * malloc/hooks.c: Likewise.
11363 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
11365 * include/tls.h: Removed. USE___THREAD must always be defined.
11366 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11367 * elf/dl-libc.c: Likewise.
11368 * elf/dl-tsd.c: Likewise.
11369 * include/errno.h: Likewise.
11370 * include/netdb.h: Likewise.
11371 * include/resolv.h: Likewise.
11372 * inet/herrno-loc.c: Likewise.
11373 * inet/herrno.c: Likewise.
11374 * malloc/arena.c: Likewise.
11375 * malloc/hooks.c: Likewise.
11376 * malloc/malloc.c: Likewise.
11377 * resolv/res-state.c: Likewise.
11378 * resolv/res_libc.c: Likewise.
11379 * sysdeps/i386/dl-machine.h: Likewise.
11380 * sysdeps/ia64/dl-machine.h: Likewise.
11381 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11382 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11383 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11384 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11385 * sysdeps/sh/dl-machine.h: Likewise.
11386 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11387 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11388 * sysdeps/unix/i386/sysdep.S: Likewise.
11389 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11390 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11391 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11392 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11393 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11394 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11395 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11396 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11397 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11398 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11399 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11400 * sysdeps/x86_64/dl-machine.h: Likewise.
11401 * tls.make.c: Likewise.
11403 * configure.in: Remove --with-__thread option. Make tests for
11404 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11405 tls_model attribute fail if no support is available. Remove
11407 * Makeconfig: Adjust for dropped configure option. All features are
11409 * Makerules: Likewise.
11410 * Versions.def: Likewise.
11411 * argp/argp-fmtstream.c: Likewise.
11412 * argp/argp-fmtstream.h: Likewise.
11413 * argp/argp-help.c: Likewise.
11414 * assert/assert.c: Likewise.
11415 * config.h.in: Likewise.
11416 * config.make.in: Likewise.
11417 * configure: Likewise.
11418 * configure.in: Likewise.
11419 * csu/Versions: Likewise.
11420 * csu/init.c: Likewise.
11421 * elf/tst-audit2.c: Likewise.
11422 * elf/tst-tls10.c: Likewise.
11423 * elf/tst-tls10.h: Likewise.
11424 * elf/tst-tls11.c: Likewise.
11425 * elf/tst-tls12.c: Likewise.
11426 * elf/tst-tls14.c: Likewise.
11427 * elf/tst-tlsmod11.c: Likewise.
11428 * elf/tst-tlsmod12.c: Likewise.
11429 * elf/tst-tlsmod13.c: Likewise.
11430 * elf/tst-tlsmod13a.c: Likewise.
11431 * elf/tst-tlsmod14a.c: Likewise.
11432 * elf/tst-tlsmod15b.c: Likewise.
11433 * elf/tst-tlsmod16a.c: Likewise.
11434 * elf/tst-tlsmod16b.c: Likewise.
11435 * elf/tst-tlsmod7.c: Likewise.
11436 * elf/tst-tlsmod8.c: Likewise.
11437 * elf/tst-tlsmod9.c: Likewise.
11438 * gmon/gmon.c: Likewise.
11439 * grp/fgetgrent_r.c: Likewise.
11440 * grp/putgrent.c: Likewise.
11441 * hurd/fopenport.c: Likewise.
11442 * include/libc-symbols.h: Likewise.
11443 * include/tls.h: Likewise.
11444 * intl/gettextP.h: Likewise.
11445 * intl/loadinfo.h: Likewise.
11446 * locale/global-locale.c: Likewise.
11447 * locale/localeinfo.h: Likewise.
11448 * mach/devstream.c: Likewise.
11449 * malloc/arena.c: Likewise.
11450 * malloc/set-freeres.c: Likewise.
11451 * misc/err.c: Likewise.
11452 * misc/getttyent.c: Likewise.
11453 * misc/mntent_r.c: Likewise.
11454 * posix/getopt.c: Likewise.
11455 * posix/wordexp.c: Likewise.
11456 * pwd/fgetpwent_r.c: Likewise.
11457 * resolv/Versions: Likewise.
11458 * resolv/res_hconf.c: Likewise.
11459 * shadow/fgetspent_r.c: Likewise.
11460 * shadow/putspent.c: Likewise.
11461 * stdio-common/printf_fphex.c: Likewise.
11462 * stdio-common/tmpfile.c: Likewise.
11463 * stdlib/abort.c: Likewise.
11464 * stdlib/fmtmsg.c: Likewise.
11465 * sunrpc/auth_unix.c: Likewise.
11466 * sunrpc/clnt_perr.c: Likewise.
11467 * sunrpc/clnt_tcp.c: Likewise.
11468 * sunrpc/clnt_udp.c: Likewise.
11469 * sunrpc/clnt_unix.c: Likewise.
11470 * sunrpc/openchild.c: Likewise.
11471 * sunrpc/svc_simple.c: Likewise.
11472 * sunrpc/svc_tcp.c: Likewise.
11473 * sunrpc/svc_udp.c: Likewise.
11474 * sunrpc/svc_unix.c: Likewise.
11475 * sunrpc/xdr.c: Likewise.
11476 * sunrpc/xdr_array.c: Likewise.
11477 * sunrpc/xdr_rec.c: Likewise.
11478 * sunrpc/xdr_ref.c: Likewise.
11479 * sunrpc/xdr_stdio.c: Likewise.
11481 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11483 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11485 2011-07-03 Andreas Jaeger <aj@suse.de>
11487 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11488 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11489 regenerate with gen-libm-tests.pl.
11491 2010-05-12 Petr Baudis <pasky@suse.cz>
11494 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11495 around j0() zero points by switching to j1().
11496 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11497 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11498 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11499 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11501 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11503 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11505 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11507 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11508 Patch in part by Pavel Roskin <proski@gnu.org>.
11511 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11513 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11514 Free memory block if necessary.
11517 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11518 be NULL. Don't lock in this case.
11520 2011-09-09 Roland McGrath <roland@hack.frob.com>
11522 * elf/elf.h (ELFOSABI_GNU): New macro.
11523 (ELFOSABI_LINUX): Define to that.
11525 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11527 * string/strncat.c (strncat): Undef the symbol in case it has been
11528 defined in bits/string.h.
11530 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11532 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11534 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
11537 2011-08-17 Andreas Jaeger <aj@suse.de>
11539 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11541 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11542 Ian Lance Taylor <iant@google.com>
11544 * math/libm-test.inc (lround_test): New testcase.
11545 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11547 2011-09-08 Ulrich Drepper <drepper@gmail.com>
11549 * Makefile: Remove support for automatic cvs check-ins.
11550 * Makerules: Likewise.
11551 * config.make.in: Likewise.
11552 * configure.in: Likewise.
11553 * intl/Makefile: Likewise.
11554 * locale/Makefile: Likewise.
11555 * po/Makefile: Likewise.
11556 * posix/Makefile: Likewise.
11557 * sysdeps/gnu/Makefile: Likewise.
11558 * sysdeps/mach/hurd/Makefile: Likewise.
11559 * sysdeps/sparc/sparc32/Makefile: Likewise.
11562 * posix/Makefile (bug-regex32-ENV): Define.
11563 Patch by John Stanley <jpsinthemix@verizon.net>.
11565 * misc/Makefile (headers): Add bits/select2.h.
11566 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11567 * misc/bits/select2.h: New file.
11568 * include/bits/select2.h: New file.
11569 * debug/Makefile (routines): Add fdelt_chk.
11570 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11571 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11573 * debug/fdelt_chk.c: New file.
11575 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11576 * wcsmbs/test-wmemcmp.c: Likewise.
11577 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
11578 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
11580 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11582 * string/Makefile (strop-tests): Add memcmp.
11583 * string/test-wmemcmp.c: New file.
11584 * string/test-memcmp.c: Add wmemcmp support.
11586 2011-09-08 Roland McGrath <roland@hack.frob.com>
11589 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11592 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11593 garbage value in a __mach_port_mod_refs call in the cases of the
11594 task-self and thread-self ports.
11596 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11598 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11600 2011-09-08 Andreas Schwab <schwab@redhat.com>
11602 * elf/dl-load.c (lose): Check for non-null L.
11604 2011-09-07 Ulrich Drepper <drepper@gmail.com>
11606 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11608 * elf/dl-libc.c (dlerror_run): Pass back error code from
11612 * elf/dl-load.c (lose): Free l_origin if it is valid.
11614 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11616 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11617 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11618 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11619 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11620 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11621 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11623 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11625 * sysdeps/powerpc/fpu/e_hypot.c: New file.
11626 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11627 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11628 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11629 * sysdeps/powerpc/fpu/k_cosf.c: New file.
11630 * sysdeps/powerpc/fpu/k_sinf.c: New file.
11631 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11632 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11633 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11634 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11636 2011-08-15 Alan Modra <amodra@gmail.com>
11639 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11640 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11641 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11642 ppc_mcount to static-only-routines.
11643 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11645 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11646 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11648 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11650 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11651 for finite and infinity parameters.
11653 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11655 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11656 and add nop instructions for throughput optimization.
11657 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11659 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
11661 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11662 aligned copy for power7 with vector-scalar instructions.
11663 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11665 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
11667 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11670 2011-09-07 Andreas Schwab <schwab@redhat.com>
11673 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
11676 2011-09-07 Ulrich Drepper <drepper@gmail.com>
11678 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11679 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11680 syscall wrapper around clock_gettime in __vdso_clock_gettime.
11681 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
11684 2011-09-06 Ulrich Drepper <drepper@gmail.com>
11686 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
11687 Forgot to demangle the pointer.
11689 * sysdeps/i386/sysdep.h: Define atom_text_section.
11690 * sysdeps/x86_64/sysdep.h: Likewise.
11691 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
11692 section with atom_text_section.
11693 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11694 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11695 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11696 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11697 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
11699 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
11700 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
11701 already be defined. Change to take two parameters and don't assign
11702 result to variable. Adjust all users.
11703 Define INTERNAL_GETTIME if not already defined.
11704 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
11706 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
11707 HAVE_CLOCK_GETTIME_VSYSCALL.
11708 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
11710 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
11711 gettimeofday vsyscall, just use time.
11713 2011-09-06 Andreas Schwab <schwab@redhat.com>
11715 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
11718 2011-09-06 Ulrich Drepper <drepper@gmail.com>
11720 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
11722 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
11724 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11725 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
11726 syscall if possible.
11728 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11730 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
11731 e_ident. Don't pass to find_mapsXX.
11732 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
11734 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11736 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11737 strchr-sse2-no-bsf strrchr-sse2-no-bsf
11738 * sysdeps/x86_64/multiarch/strchr.S: Update.
11739 Check bit_slow_BSF bit.
11740 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11741 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
11742 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
11744 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11747 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
11749 (tryshell): Define.
11750 (__spawni): Change last parameter to be flag. Test
11751 SPAWN_XFLAGS_USE_PATH flag to use path or not.
11752 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
11753 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
11754 * posix/spawni.c: Likewise.
11755 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
11756 * posix/spawnp.c: Likewise. Change normal version to use
11757 SPAWN_XFLAGS_USE_PATH.
11758 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
11759 SPAWN_XFLAGS_TRY_SHELL.
11762 * posix/glob.h: Remove gcc 1.x support.
11765 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
11767 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11769 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11770 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
11772 * sysdeps/i386/i686/multiarch/strchr.S: New file.
11773 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
11774 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
11775 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
11776 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
11777 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
11779 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11781 * sysdeps/x86_64/wcscmp.S: New file.
11783 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
11784 wcscmp-c wcscmp-sse2
11785 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
11786 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
11787 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
11788 * wcsmbs/wcscmp.c: Allow renaming.
11790 2011-09-05 David S. Miller <davem@davemloft.net>
11792 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
11793 stack slot, rather than the struct return pointer slot.
11794 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
11795 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
11796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
11797 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
11799 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11801 * po/ja.po: Update from translation team.
11804 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
11805 kernel in 64-bit binaries.
11807 2011-09-01 David S. Miller <davem@davemloft.net>
11809 * elf/elf.h (HWCAP_SPARC_*): Move to..
11810 * sysdeps/sparc/sysdep.h: this new file and add new values.
11811 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
11812 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
11813 _DL_HWCAP_COUNT to 24.
11814 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11816 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
11817 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
11818 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
11819 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
11820 instead of magic constants.
11821 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11823 2011-08-31 David S. Miller <davem@davemloft.net>
11825 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
11826 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
11827 Reimplement to do errno handling inline.
11828 (SYSCALL_ERROR_HANDLER): New macro.
11829 (__SYSCALL_STRING): Do not do errno handling in asm.
11830 (__CLONE_SYSCALL_STRING): Delete.
11831 (__INTERNAL_SYSCALL_STRING): Delete.
11832 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
11833 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
11834 (PSEUDO): Reimplement to do errno handling inline.
11835 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
11836 (SYSCALL_ERROR_HANDLER): New macro.
11837 (__SYSCALL_STRING): Do not do errno handling in asm.
11838 (__CLONE_SYSCALL_STRING): Delete.
11839 (__INTERNAL_SYSCALL_STRING): Delete.
11840 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
11841 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
11843 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
11844 (inline_syscall*): Add 'err' argument.
11845 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
11846 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
11847 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
11848 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
11850 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
11851 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11853 2011-08-30 Andreas Schwab <schwab@redhat.com>
11855 * elf/rtld.c (dl_main): Relocate objects in dependency order.
11857 2011-08-29 Jiri Olsa <jolsa@redhat.com>
11859 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
11862 2011-08-24 David S. Miller <davem@davemloft.net>
11864 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
11866 2011-08-24 Andreas Schwab <schwab@redhat.com>
11868 * elf/Makefile: Add rules to build and run unload8 test.
11869 * elf/unload8.c: New file.
11870 * elf/unload8mod1.c: New file.
11871 * elf/unload8mod1x.c: New file.
11872 * elf/unload8mod2.c: New file.
11873 * elf/unload8mod3.c: New file.
11875 * elf/dl-close.c (_dl_close_worker): Reset private search list if
11878 2011-08-23 David S. Miller <davem@davemloft.net>
11880 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
11881 subtract stack bias.
11882 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
11883 %sp not %fp in calculations.
11884 (_JMPBUF_UNWINDS_ADJ): Likewise.
11886 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
11887 (aio_suspend): Call it to force an exception region around the
11888 AIO_MISC_WAIT() invocation.
11890 2011-08-23 Andreas Schwab <schwab@redhat.com>
11892 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
11895 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
11897 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
11899 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
11900 and <dl-machine.h>.
11901 (Elf64_FuncDesc): Remove.
11903 2011-08-22 David S. Miller <davem@davemloft.net>
11905 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
11906 sigaltstack check, add missing cfi directives.
11907 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
11908 missing cfi directives, and sigaltstack handling.
11910 2011-08-16 Andreas Schwab <schwab@redhat.com>
11913 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11914 object is seen twice.
11915 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11917 * elf/Makefile (distribute): Add tst-initorder2.c.
11918 (tests): Add tst-initorder2.
11919 (modules-names): Add tst-initorder2a tst-initorder2b
11920 tst-initorder2c tst-initorder2d. Add rules to build them.
11921 ($(objpfx)tst-initorder2.out): New rule.
11922 * elf/tst-initorder2.c: New file.
11923 * elf/tst-initorder2.exp: New file.
11925 2011-08-22 Andreas Schwab <schwab@redhat.com>
11927 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11929 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11930 dependencies back to end of function.
11932 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11933 $(elfobjdir)/ld.so.
11935 2011-08-21 Ulrich Drepper <drepper@gmail.com>
11937 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11938 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11939 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11940 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11941 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11942 of __vdso_gettimeofday.
11943 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11944 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11946 (_libc_vdso_platform_setup): Remove initialization of
11947 __vdso_gettimeofday and __vdso_time.
11949 2011-08-20 Ulrich Drepper <drepper@gmail.com>
11951 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11952 and fgetc_unlocked.
11953 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11956 * elf/dl-open.c (add_to_global): Report additions to the global scope
11957 for LD_DEBUG=scopes.
11958 (dl_open_worker): Also print scope of newly loaded dependencies.
11959 (_dl_show_scope): Indicate if there is no scope.
11962 * stdio-common/Makefile (tests): Add bug24.
11963 * stdio-common/bug24.c: New file.
11965 2011-08-19 Andreas Jaeger <aj@suse.de>
11968 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11969 non-existant file when using close-on-exec mode.
11971 2011-08-20 Ulrich Drepper <drepper@gmail.com>
11973 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11974 the very first instruction.
11976 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11977 the CFI state in the end.
11978 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11979 inclusion of dl-trampoline.h.
11980 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11982 2011-08-19 Andreas Schwab <schwab@redhat.com>
11984 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11985 expectations for long double.
11987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11988 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11990 2011-08-14 David S. Miller <davem@davemloft.net>
11992 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11993 artificual limit depends upon the system page size.
11995 2011-08-17 Ulrich Drepper <drepper@gmail.com>
11997 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11998 * resolv/Makefile: Define CFLAGS-libresolv.
12000 2011-08-17 Andreas Schwab <schwab@redhat.com>
12002 * nss/makedb.c (compute_tables): Make variables used in nested
12005 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12007 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12008 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12009 if buffer was too small.
12011 * elf/pldd.c (main): Attach to all threads in the process.
12012 Rewrite /proc handling to use *at functions.
12014 2011-08-16 Ulrich Drepper <drepper@gmail.com>
12016 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12017 specifies first scope to show.
12018 (dl_open_worker): Update callers. Move printing scope of new
12019 object to before the relocation.
12020 * elf/rtld.c (dl_main): Update _dl_show_scope call.
12021 * sysdeps/generic/ldsodefs.h: Update declaration.
12023 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12024 string for the scope number.
12026 2011-08-14 Ulrich Drepper <drepper@gmail.com>
12028 * nscd/servicescache.c (cache_addserv): Make sure written is always
12031 2011-08-14 Roland McGrath <roland@hack.frob.com>
12033 * sysdeps/i386/i486/bits/atomic.h
12034 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12035 statement expression, so as to suppress "set but not used" warning.
12036 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12038 * string/strncat.c (STRNCAT): Use prototype definition.
12040 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12041 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12043 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12044 (localedef-modules): Add localedef.
12045 (locale-modules): Add locale.
12047 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12048 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12049 to avoid a warning.
12051 2011-08-14 David S. Miller <davem@davemloft.net>
12053 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12054 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12056 2011-08-13 Ulrich Drepper <drepper@gmail.com>
12058 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
12059 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12060 * elf/rtld.c (dl_main): Set l_name of vDSO.
12061 Call _dl_show_scope when DL_DEBUG_SCOPES.
12062 (process_dl_debug): Recognize scopes flag and also set it for all.
12063 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12064 Declare _dl_show_scope.
12066 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12067 (do_dlopen): Pass caller_dlopen to dl_open.
12068 (__libc_dlopen_mode): Initialize caller_dlopen.
12070 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12071 of libc. Make tolower call locale-independent. Optimize a bit by
12072 using isdigit instead of isalnum.
12073 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12075 2011-08-12 Ulrich Drepper <drepper@gmail.com>
12077 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12078 was a dependency or dynamically loaded.
12080 2011-08-11 Ulrich Drepper <drepper@gmail.com>
12082 * intl/l10nflist.c: Allow architecture-specific pop function.
12083 * sysdeps/x86_64/l10nflist.c: New file.
12085 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12088 2011-08-10 Andreas Schwab <schwab@redhat.com>
12090 * include/dirent.h: Add libc_hidden_proto for scandirat and
12091 scandirat64. Don't declare __scandirat64.
12092 * dirent/scandirat.c: Add libc_hidden_def.
12093 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12094 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12096 2011-08-10 David S. Miller <davem@davemloft.net>
12098 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12100 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12101 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12102 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12104 2011-08-09 Ulrich Drepper <drepper@gmail.com>
12106 * Versions.def [libc]: Add GLIBC_2.15.
12107 * dirent/Makefile (routines): Add scandirat and scandirat64.
12108 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12110 * dirent/dirent.h: Declare scandirat and scandirat64.
12111 * dirent/scandirat.c: New file.
12112 * dirent/scandirat64.c: New file.
12113 * sysdeps/wordsize-64/scandirat.c: New file.
12114 * sysdeps/wordsize-64/scandirat64.c: New file.
12115 * dirent/opendir.c: Define opendirat.
12116 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12118 * dirent/scandir64.c: Adjust for scandir.c change.
12119 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12120 __scandirat64, and __scandir_cancel_handler.
12121 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12122 additional parameter and use openat instead of open (outside of ld.so).
12123 Add new __opendir as wrapper around __opendirat.
12124 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12125 here without requiring old scandirat implementation.
12127 2011-08-08 Ulrich Drepper <drepper@gmail.com>
12129 * dirent/scandir.c (cancel_handler): Renamed to
12130 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12131 defined. Adjust users.
12132 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12133 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12135 2011-08-04 Ulrich Drepper <drepper@gmail.com>
12137 * string/test-string.h (IMPL): Use __STRING to expand name and then
12140 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12143 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12145 * string/Makefile: Update.
12146 (strop-tests): Append strncat.
12147 * string/test-wcscmp.c: New file.
12148 New comprehensive test for wcscmp.
12149 * string/test-strcmp.c: Update.
12150 (WIDE): New define.
12152 2011-07-22 Andreas Schwab <schwab@redhat.com>
12154 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12157 2011-07-26 Andreas Schwab <schwab@redhat.com>
12159 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12160 encoding to ACE if AI_IDN.
12162 2011-08-01 Jakub Jelinek <jakub@redhat.com>
12164 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12165 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12167 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12169 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12170 Fix overflow bug in strncat.
12171 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12173 * string/test-strncat.c: Update.
12174 Add new tests for checking overflow bugs.
12176 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12178 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12179 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12180 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12181 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12182 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12183 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12184 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12185 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12186 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12188 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12189 (USE_AS_STRCAT): Define.
12190 Add strcat and strncat support.
12191 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12193 2011-07-25 Andreas Schwab <schwab@redhat.com>
12195 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12196 __n bigger than INT_MAX+1.
12197 (__strncmp_g): Likewise.
12199 2011-07-23 Ulrich Drepper <drepper@gmail.com>
12201 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12202 * libio/stido.h: Likewise.
12204 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12206 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12209 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12210 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12211 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12212 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12213 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12216 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12219 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12221 (_dl_x86_64_save_sse): Likewise.
12223 2011-07-22 Ulrich Drepper <drepper@gmail.com>
12225 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12227 (_dl_x86_64_save_sse): Likewise.
12229 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12231 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12233 2011-07-21 Andreas Schwab <schwab@redhat.com>
12235 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12237 (_dl_x86_64_save_sse): Use correct AVX check.
12239 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12241 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12242 bug in strncpy/strncat.
12243 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12245 2011-07-21 Ulrich Drepper <drepper@gmail.com>
12247 * string/tester.c (test_strcat): Add tests for different alignments
12248 of source and destination.
12249 (test_strncat): Likewise.
12251 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12254 * posix/glob.c (glob): Check passed in values before using them in
12255 expressions to avoid some overflows.
12256 (glob_in_dir): Likewise.
12259 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12260 check for AVX enablement so that we don't crash with old kernels and
12262 * elf/tst-audit4.c: Add same checks here.
12263 * elf/tst-audit6.c: Likewise.
12265 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
12267 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12269 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12271 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12273 * po/cs.po: Update from translation team.
12274 * po/bg.po: Likewise.
12276 2011-07-12 Marek Polacek <mpolacek@redhat.com>
12278 * misc/sys/cdefs.h: Add support for const attribute.
12279 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12280 to gnu_dev_{major,minor,makedev} functions.
12282 2011-07-20 Marek Polacek <mpolacek@redhat.com>
12284 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12286 2011-07-20 Andreas Schwab <schwab@redhat.com>
12288 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12291 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12293 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12294 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12295 register in order to avoid conflicts with the soft frame pointer
12296 being held in r11 when necessary.
12297 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12298 (INTERNAL_VSYSCALL_NCS): Likewise.
12300 2011-07-14 Marek Polacek <mpolacek@redhat.com>
12302 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12303 * elf/dl-fini.c (_dl_fini): Adjust caller.
12304 * elf/dl-close.c (_dl_close_worker): Likewise.
12305 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12307 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12309 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12310 "aux_cache->nlibs < 0".
12312 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12313 in the reload-count case.
12315 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12317 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12318 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12319 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12320 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12321 * sysdeps/x86_64/multiarch/strcat.S: New file.
12322 * sysdeps/x86_64/multiarch/strncat.S: New file.
12323 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12324 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12325 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12326 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12327 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12328 (USE_AS_STRCAT): Define.
12329 Add strcat and strncat support.
12330 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12331 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12332 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12333 * string/strncat.c: Update.
12334 (USE_AS_STRNCAT): Define.
12335 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12336 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12338 * sysdeps/x86_64/multiarch/init-arch.h
12339 (bit_Prefer_PMINUB_for_stringop): New.
12340 (index_Prefer_PMINUB_for_stringop): Likewise.
12341 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12342 bit_Prefer_PMINUB_for_stringop.
12344 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12346 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12348 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12349 of casting of buffer.
12350 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12351 buffer32 and buffer64.
12352 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12353 writes instead of casting of buffer.
12354 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12356 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12359 2011-07-19 Andreas Schwab <schwab@redhat.com>
12361 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12363 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12365 * nscd/nscd.c (termination_handler): Don't do anything for a database
12366 if it has not yet been initialized.
12368 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12370 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12372 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12374 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12376 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12378 * po/nl.po: Update from translation team.
12379 * po/sv.po: Likewise.
12381 2011-07-16 Roland McGrath <roland@hack.frob.com>
12383 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12384 now disallowed by GCC.
12386 * configure.in (use-default-link): Default to yes if a test -shared
12387 link meets our qualifications.
12388 * configure: Regenerated.
12390 * config.make.in (output-format): New variable.
12391 * configure.in: Check for ld --print-output-format support.
12392 * configure: Regenerated.
12393 * Makerules ($(common-objpfx)format.lds)
12394 [$(output-format) != unknown]: Just use $(output-format),
12395 instead of the linker-script munging.
12397 2011-07-14 Roland McGrath <roland@hack.frob.com>
12399 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12400 of $(common-objpfx)shlib.lds.
12401 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12403 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12404 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12406 * configure.in (-z relro check): Adjust test code to add a large
12407 writable data section after it.
12408 * configure: Regenerated.
12410 2011-07-11 Roland McGrath <roland@hack.frob.com>
12412 * configure.in (-z relro check): Fix test code to make the variable
12414 * configure: Regenerated.
12416 2011-07-11 Ulrich Drepper <drepper@gmail.com>
12418 * nscd/nscd.h (struct traced_file): Define.
12419 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12420 elements. Add traced_files.
12421 (inotify_fd): Declare.
12422 (register_traced_file): Declare.
12423 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12424 (inotify_fd): Export.
12425 (resolv_conf_descr): Remove.
12426 (nscd_init): Move inotify descriptor creation to main.
12427 Don't register files for notification here.
12428 (register_traced_file): New function.
12429 (invalidate_cache): Don't use reset_res to determine whether to call
12430 res_init, go through the list of registered files.
12431 (main_loop_poll): The inotify descriptors are now stored in the
12432 structures for the traced files.
12433 (main_loop_epoll): Likewise
12434 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12435 to __nss_disable_nscd.
12436 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12437 for a database anymore. Check the records for all the registered
12439 * nss/Makefile (libnss_files-routines): Add files-init.
12440 (libnss_db-routines): Add db-init.
12441 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12442 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12443 * nss/nss_db/db-init.c: New file.
12444 * nss/nss_files/files-init.c: New file.
12445 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12446 __nss_lookup_function.
12447 (__nss_lookup_function): Call nss_load_library.
12448 (nss_load_all_libraries): New function.
12449 (__nss_disable_nscd): Take parameter with callback function for files
12450 to register. Set is_nscd. Load all the DSOs for the NSS modules
12451 used for the cached services.
12452 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12453 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12454 options for features to all the files in nscd.
12456 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12458 2011-07-10 Roland McGrath <roland@hack.frob.com>
12460 * csu/elf-init.c (__libc_csu_init): Comment typo.
12462 2011-07-09 Ulrich Drepper <drepper@gmail.com>
12464 * po/pl.po: Update from translation team.
12465 * po/ja.po: Likewise.
12466 * po/ru.po: Likewise.
12467 * po/ko.po: Likewise.
12468 * po/fr.po: Likewise.
12470 2011-07-09 Roland McGrath <roland@hack.frob.com>
12472 * configure.in (.ctors/.dtors header and trailer check):
12473 Use an empirical test on a built program.
12474 * configure: Regenerated.
12476 * configure.in (-z relro check): Use an empirical test on a built DSO.
12477 Detect, but do not require, on ia64.
12478 * configure: Regenerated.
12480 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12481 Update tests that use readelf to use $READELF instead.
12482 * configure: Regenerated.
12484 2011-07-08 Ulrich Drepper <drepper@gmail.com>
12486 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12487 if the result is not used.
12489 2011-07-05 Andreas Jaeger <aj@suse.de>
12492 * stdlib/tst-strtod.c: Add testcase.
12494 2011-07-07 Ulrich Drepper <drepper@gmail.com>
12496 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
12497 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
12498 The latter has a higher limit. Take additional parameter to pass to
12500 (__pathconf): Pass file to __statfs_link_max.
12501 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12503 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12507 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12508 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12510 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12511 (__statfs_filesize_max): Likewise.
12512 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12514 2011-07-05 Andreas Jaeger <aj@suse.de>
12516 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12518 2011-07-06 Marek Polacek <mpolacek@redhat.com>
12520 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12522 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12525 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12527 * Makefile (strop-tests): Add strncat.
12528 * string/test-strncat.c: New file.
12530 2011-06-30 Marek Polacek <mpolacek@redhat.com>
12532 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12534 2011-06-21 Andreas Jaeger <aj@suse.de>
12536 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12537 Copy rule from iconvdata/Makefile.
12539 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12542 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12543 but no long options are defined, just return 'W'.
12545 2011-06-22 Marek Polacek <mpolacek@redhat.com>
12548 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12550 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12552 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12554 (innetgr): Likewise.
12556 2011-07-05 Roland McGrath <roland@hack.frob.com>
12558 * config.make.in (install_root): Default to $(DESTDIR).
12560 2011-07-05 Ulrich Drepper <drepper@gmail.com>
12562 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12564 2011-07-02 Roland McGrath <roland@hack.frob.com>
12566 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12568 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12569 containing directory rather than embedding absolute directory names.
12571 * scripts/check-local-headers.sh: Rewritten using awk.
12572 Match by word, not by line. Print error messages for matches.
12573 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12575 * Makerules [shlib-lds-flags empty]:
12576 ($(common-objpfx)libc_pic.opts): New target.
12577 ($(common-objpfx)libc_pic.os.clean): New target.
12578 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12580 * config.make.in (OBJCOPY): New variable.
12581 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12582 * configure: Regenerated.
12584 * config.make.in (use-default-link): New variable.
12585 * configure.in (use_default_link): Grok --with-default-link to set it.
12586 * configure: Regenerated.
12587 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12588 (shlib-lds, shlib-lds-flags): Define to empty.
12590 * Makerules (shlib-lds): New variable.
12591 (shlib-lds-flags): New variable.
12592 (build-shlib, build-moduile, build-module-asneeded): Use it.
12593 ($(common-objpfx)libc.so): Use $(shlib-lds).
12594 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12595 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12597 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12598 DT_FLAGS/DT_FLAGS_1 with zero flags.
12600 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12601 linker script munging.
12603 2011-07-02 Ulrich Drepper <drepper@gmail.com>
12605 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12607 * crypt/sha512.c (sha512_process_block): Perform total addition using
12608 128-bit if possible.
12609 (__sha512_finish_ctx): Likewise.
12610 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12612 * crypt/sha256.c (SWAP64): Define.
12613 (sha256_process_block): Perform total addition using 64-bit if
12615 (__sha256_finish_ctx): Likewise.
12617 2011-07-01 Ulrich Drepper <drepper@gmail.com>
12619 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
12620 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12621 * nscd/hstcache.c (cache_addhst): Likewise.
12622 * nscd/grpcache.c (cache_addgr): Likewise.
12623 * nscd/aicache.c (addhstaiX): Likewise
12624 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12626 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
12628 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12629 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12630 * nscd/hstcache.c (cache_addhst): Likewise.
12631 * nscd/grpcache.c (cache_addgr): Likewise.
12632 * nscd/aicache.c (addhstaiX): Likewise
12634 2011-07-01 Andreas Schwab <schwab@redhat.com>
12636 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12637 domain only when needed.
12639 2011-06-30 Andreas Schwab <schwab@redhat.com>
12641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12642 is always restored.
12644 2011-06-29 Ulrich Drepper <drepper@gmail.com>
12646 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12647 are re-adding the entry.
12648 * nscd/servicescache.c (cache_addserv): Likewise.
12650 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12652 * sysdeps/generic/dl-irel.h: fix protection against multiple
12654 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12656 2011-06-28 Ulrich Drepper <drepper@gmail.com>
12659 * malloc/memusage.sh: Fix quoting in message.
12660 * debug/xtrace.sh: Likewise.
12662 * configure.in: Remove support for --experimental-malloc option, make
12664 * config.make.in: Likewise.
12665 * malloc/Makefile: Likewise.
12667 2011-06-27 Andreas Schwab <schwab@redhat.com>
12669 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12670 two-byte characters.
12672 2011-06-27 Roland McGrath <roland@hack.frob.com>
12674 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
12675 AC_CACHE_CHECK invocation.
12676 * configure: Regenerated.
12678 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
12680 2011-06-27 Ulrich Drepper <drepper@gmail.com>
12683 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
12684 bit from old_res_options.
12686 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
12688 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
12689 value type for setfct.
12691 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
12693 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12694 __gettimeofday instead of gettimeofday.
12696 2011-06-26 Ulrich Drepper <drepper@gmail.com>
12698 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
12700 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
12702 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
12704 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
12707 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12709 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12710 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12711 strcpy-sse2-unaligned strncpy-sse2-unaligned
12712 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
12713 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
12714 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
12715 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
12716 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
12717 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
12718 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
12719 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
12720 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
12721 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
12722 (STRCPY): Support SSE2 and SSSE3 versions.
12724 2011-06-24 Ulrich Drepper <drepper@gmail.com>
12727 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
12728 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
12729 kernels which artificially limit size of requests.
12731 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12733 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12734 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12735 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
12736 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
12737 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
12738 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
12739 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
12740 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
12741 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
12742 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
12743 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
12744 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
12745 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
12746 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
12747 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
12748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12749 Enable unaligned load optimization for Intel Core i3, i5 and i7
12751 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
12753 (index_Fast_Unaligned_Load): Define.
12754 (HAS_FAST_UNALIGNED_LOAD): Define.
12756 2011-06-23 Marek Polacek <mpolacek@redhat.com>
12758 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
12760 2011-06-22 Ulrich Drepper <drepper@gmail.com>
12763 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
12764 until it is clear that the information is realy needed.
12765 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
12767 2011-06-22 Andreas Schwab <schwab@redhat.com>
12769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
12771 2011-06-22 Ulrich Drepper <drepper@gmail.com>
12773 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12774 /sys/devices/system/cpu/online if it is usable.
12776 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
12777 reading the information from the /proc filesystem to once a second.
12779 2011-06-21 Andreas Jaeger <aj@suse.de>
12781 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
12782 NULL after inclusion of kernel headers.
12784 2011-06-21 Ulrich Drepper <drepper@gmail.com>
12786 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
12787 calls to internal_setent.
12790 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
12791 addresses using gethostbyname4_r ignore IPv4 addresses.
12793 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
12794 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
12796 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
12798 2011-06-20 David S. Miller <davem@davemloft.net>
12800 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
12802 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
12804 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
12805 (elf_irel): Use it.
12806 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
12807 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
12808 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
12809 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
12810 * sysdeps/x86_64/dl-irel.h: Likewise.
12812 * elf/dl-runtime.c: Use elf_ifunc_invoke.
12813 * elf/dl-sym.c: Likewise.
12815 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12817 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
12818 need to dereference resplen2.
12820 2011-06-14 Andreas Schwab <schwab@redhat.com>
12822 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
12824 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12826 * Makeconfig: Define vardbdir and inst_vardbdir.
12827 * nss/Makefile: Add rules to install db-Makefile.
12829 * nss/nss_db/db-XXX.c: Cleanup.
12831 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
12832 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
12834 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
12835 * nss/makedb.c: Implement -g option to specify that value strings
12836 are generated and should not be added to table iterated over for
12838 * nss/nss_db/db-initgroups.c: New file.
12840 * nss/getent.c: Add support for initgroups lookups through getgrouplist
12843 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
12844 (internal_getgrouplist): Adjust to name change.
12845 Update use_initgroups_entry if this is not the first call.
12846 * nss/databases.def: Add initgroups entry.
12848 * nss/makedb.c (compute_tables): Check result of multiple hash table
12849 sizes to minimize maximum chain length.
12851 2011-06-14 Ulrich Drepper <drepper@gmail.com>
12853 * Versions.def: Add entry for libnss_db.
12854 * shlib-versions: Likewise.
12855 * nss/Makefile: Add rules to build libnss_db.
12856 * nss/Versions: Add libnss_db information. Organize libnss_files
12858 * nss/db-Makefile: Add gshadow support. Change rules for the new
12859 makedb progra. Some minor improvements to generate smaller files.
12860 * nss/nss_db/nss_db.h: Move NSS database header data structures to
12862 * nss/makedb.c: ...here.
12863 Improve database format to be smaller and require less memory at
12865 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
12867 * nss/nss_db/db-netgrp.c: Likewise.
12868 * nss/nss_db/db-open.c: Likewise.
12869 * nss/nss_files/flies-XXX.x: Adjust comments.
12870 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
12871 * nss/nss_files/files-grp.c: Likewise.
12872 * nss/nss_files/files-hosts.c: Likewise.
12873 * nss/nss_files/files-network.c: Likewise.
12874 * nss/nss_files/files-proto.c: Likewise.
12875 * nss/nss_files/files-pwd.c: Likewise.
12876 * nss/nss_files/files-rpc.c: Likewise.
12877 * nss/nss_files/files-service.c: Likewise.
12878 * nss/nss_files/files-sgrp.c: Likewise.
12879 * nss/nss_files/files-spwd.c: Likewise.
12880 * nss/nss_db/db-alias.c: Removed.
12881 * nss/nss_db/dummy-db.h: Removed.
12883 2011-06-02 Ulrich Drepper <drepper@gmail.com>
12885 * nss/makedb.c: Rewritten to not use database library.
12886 * nss/Makefile: Update to build new makedb program.
12888 2011-06-14 Andreas Jaeger <aj@suse.de>
12890 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
12891 memset declaration.
12893 2011-06-10 Andreas Schwab <schwab@redhat.com>
12895 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
12898 2011-06-10 Roland McGrath <roland@hack.frob.com>
12900 * Makerules (shlib.lds): Fail if the linker script comes out empty.
12901 * elf/Makefile ($(objpfx)ld.so): Likewise.
12903 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
12904 Don't list ld.so twice in dependencies.
12906 * posix/bug-regex31.c: Include <stdlib.h>.
12908 * nscd/hstcache.c (cache_addhst): Remove unused variable.
12910 * nis/nss_compat/compat-spwd.c
12911 (getspent_next_nss_netgr): Remove unused variable.
12912 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12914 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12915 nonmembers" output to use the right array.
12917 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12919 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12921 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12922 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12923 * catgets/gencat.c (read_input_file): Likewise.
12924 * locale/programs/locarchive.c (enlarge_archive): Likewise.
12926 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12927 variable definition inside #if's controlling its use.
12929 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12931 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12933 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12935 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12938 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12940 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12941 * configure: Regenerated.
12943 * Makerules: Revert last change.
12944 * elf/Makefile: Likewise.
12946 2011-06-09 Roland McGrath <roland@hack.frob.com>
12948 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12949 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12950 (reloc-link): Likewise.
12952 2011-06-09 Ulrich Drepper <drepper@gmail.com>
12954 * elf/Makefile: Add rules to build pldd.
12955 * elf/pldd.c: New file.
12956 * elf/pldd-xx.c: New file.
12958 2011-06-07 Ulrich Drepper <drepper@gmail.com>
12960 * version.h: Update for 2.15 development version.
12962 2011-06-07 David S. Miller <davem@davemloft.net>
12964 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12966 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12967 elf_machine_lazy_rel): Likewise.
12968 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12969 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12970 elf_machine_lazy_rel): Likewise.
12971 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12972 dl_hwcap via passed in argument.
12973 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12976 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12978 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
12980 2011-06-06 Roland McGrath <roland@hack.frob.com>
12983 * manual/fdl-1.1.texi: New file, verbatim from:
12984 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12985 * manual/lgpl-2.1.texi: New file, verbatim from:
12986 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12987 * manual/Makefile (licenses): New variable, list those new file names.
12989 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12991 * manual/fdl.texi: File removed.
12992 * manual/lesser.texi: File removed.
12993 * manual/libc.texinfo (Copying, Documentation License):
12994 Use new @include file names, put @appendix directive before @include.
12996 2011-06-04 Jakub Jelinek <jakub@redhat.com>
12999 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13000 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13001 (mq_open): Add __NTH.
13003 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13006 Assume Intel Core i3/i5/i7 processor if AVX is available.
13008 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13010 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13013 2011-05-31 Andreas Schwab <schwab@redhat.com>
13015 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13016 memory. Use alloca_account. Fix memory leak when retrying.
13018 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13020 * version.h (RELEASE): Bump for 2.14 release.
13021 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13023 * config.make.in (RANLIB): Remove entry.
13025 2011-05-30 Ulrich Drepper <drepper@gmail.com>
13027 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13028 (libc.pot): Work around missing support for .ksh extension in xgettext.
13031 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13032 if both request failed.
13033 (send_dg): In case of server errors clear resplen or *resplen2.
13036 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13037 when there are multiple maps.
13038 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13039 (_dl_fini): Remove test here.
13041 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13043 2011-05-29 Ulrich Drepper <drepper@gmail.com>
13046 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13047 bit from old_res_options.
13048 (gaih_inet): Likewise.
13051 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
13054 * resolv/res_init.c (res_setoptions): Make the code more compact.
13057 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13061 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13063 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13066 * malloc/malloc.h: Declare malloc hook variables as volatile.
13068 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13072 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
13073 raise in the comment.
13074 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13075 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13076 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
13078 2011-05-28 Ulrich Drepper <drepper@gmail.com>
13081 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13082 grow the buffers more if it already has to be sufficient.
13083 (build_wcs_upper_buffer): Likewise.
13084 * posix/regexec.c (check_matching): Likewise.
13085 (clean_state_log_if_needed): Likewise.
13086 (extend_buffers): Don't enlarge buffers beyond size of the input
13088 Patches mostly by Emil Wojak <emil@wojak.eu>.
13089 * posix/bug-regex32.c: New file.
13090 * posix/Makefile (tests): Add bug-regex32.
13092 * locale/findlocale.c (_nl_find_locale): Return right away if
13093 _nl_explode_name failed.
13094 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13096 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13098 * debug/xtrace.sh: Unify messages.
13099 * malloc/memusage.sh: Likewise.
13102 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13103 time symbol from vDSO. Substitute with vsyscall if not available.
13104 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13107 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13108 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13109 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13110 Add sendmmsg and internal_sendmmsg.
13111 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13112 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13113 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13115 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13116 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13117 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13119 2011-05-27 Ulrich Drepper <drepper@gmail.com>
13122 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13123 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13125 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13129 * iconvdata/Makefile (tests): Add bug-iconv9.
13130 * iconvdata/bug-iconv9.c: New file.
13132 2011-05-27 Andreas Schwab <schwab@redhat.com>
13135 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13137 2011-05-25 Jakub Jelinek <jakub@redhat.com>
13139 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13140 (struct user_regs_struct): Change intcs field back to cs.
13142 2011-05-25 Ulrich Drepper <drepper@gmail.com>
13144 * po/ja.po: Update from translation team.
13146 2011-05-23 Ulrich Drepper <drepper@gmail.com>
13149 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13150 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13152 2011-05-20 Andreas Schwab <schwab@redhat.com>
13154 * stdlib/longlong.h: Update from GCC.
13156 2011-05-23 Andreas Schwab <schwab@redhat.com>
13158 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13160 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13161 Add parameter name.
13162 (__sysconf): Pass it down.
13164 2011-05-22 Ulrich Drepper <drepper@gmail.com>
13167 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13169 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13170 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13171 add in in __libc_use_alloca calls. Adjust callers.
13172 (glob): Use malloc in some situations.
13174 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13175 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13178 2011-05-21 Ulrich Drepper <drepper@gmail.com>
13180 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13181 and CLOCK_BOOTTIME_ALARM.
13184 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13187 * string/_strerror.c (__strerror_r): Print negative errors as signed
13191 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13192 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13193 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13195 * configure.in: Fix typo in redirection and correct removal of test
13196 files in two cases.
13199 * locale/setlocale.c (new_composite_name): Fix test to check for
13200 identical name of all categories.
13203 * libio/filedoalloc.c (local_isatty): New function.
13204 (_IO_file_doallocate): Use local_isatty.
13205 * stdio-common/perror.c (perror): In case a new stream is used
13206 forward the stream error.
13207 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13210 2011-05-20 Ulrich Drepper <drepper@gmail.com>
13213 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13215 * include/alloca.h (extend_alloca_account): Define.
13218 * posix/regex.h: Fix comments with documentation of user-accessible
13219 fields after compilation and describe correct free'ing of pattern
13220 after re_compile_pattern.
13221 Patch by Reuben Thomas <rrt@sc3d.org>.
13223 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13225 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13226 and -mno-altivec to prevent the compiler from using Altivec and/or
13227 VSX instructions when the corresponding registers are not available.
13229 2011-05-19 Andreas Schwab <schwab@redhat.com>
13231 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13233 2011-05-19 Ulrich Drepper <drepper@gmail.com>
13235 * libio/freopen.c (freopen): Use __dup2, not dup2.
13236 * libio/freopen64.c (freopen64): Likewise.
13238 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13241 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13242 * math/Makefile (tests): Add test-powl.
13243 (CFLAGS-test-powl.c): Define.
13244 * math/test-powl.c: New file.
13246 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13248 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13250 2011-05-17 Ulrich Drepper <drepper@gmail.com>
13253 * iconvdata/gb18030.c: Update to GB18020-2005.
13255 2011-05-16 Ulrich Drepper <drepper@gmail.com>
13257 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13258 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13259 Patch by Aharon Robbins <arnold@skeeve.com>.
13262 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13266 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13267 through underflows.
13270 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13271 point to strings before performing equality test for error_one_per_line
13275 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13278 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13279 (struct user_fpregs_struct): Avoid __uint*_t types.
13282 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13283 symbol info. Use it instead of calling _dl_addr locally.
13284 (lock_and_info): New function.
13285 (tr_freehook): Call lock_and_info and pass symbol info as additional
13286 parameter to tr_where.
13287 (tr_mallochook): Likewise.
13288 (tr_reallochook): Likewise.
13289 (tr_memalignhook): Likewise.
13291 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13292 used and couldn't be at all thread-safe.
13294 2011-05-15 Ulrich Drepper <drepper@gmail.com>
13296 * libio/freopen.c (freopen): Don't close old file descriptor
13297 before the new one is opened. Instead dup the new file descriptor
13298 to the old one after the new stream is created.
13299 * libio/freopen64.c (freopen64): Likewise.
13300 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13301 * libio/fileops.c (_IO_new_file_close_it): Handle new
13302 _IO_FLAGS2_NOCLOSE flag.
13303 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13304 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13305 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13306 _IO_FLAGS2_NOCLOSE flag.
13307 * include/unistd.h: Add hidden_proto for dup3.
13308 Define __have_dup3.
13309 * io/dup3.c: Define hidden symbol.
13310 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13313 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13314 when an incomplete long option is used.
13315 * posix/tst-getopt_long1.c: New file.
13316 * posix/Makefile (tests): Add tst-getopt_long1.
13319 * scripts/config.guess: Update from autoconf-2.68.
13320 * scripts/config.sub: Likewise.
13323 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13325 (has_cpuclock): ...this. New function.
13326 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13327 macro here based on has_cpuclock code.
13330 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13331 First byte (not low byte) is now always NUL.
13332 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13334 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13335 Use non-cancelable interfaces.
13338 * locale/iso-639.def: Add entry for Sorani.
13341 * include/stdlib.h: Move include protection to the right place.
13342 Define abort_msg_s. Declare __abort_msg with it.
13343 * stdlib/abort.c (__abort_msg): Adjust type.
13344 * assert/assert.c (__assert_fail_base): New function. Majority
13345 of code from __assert_fail. Allocate memory for __abort_msg with
13347 (__assert_fail): Now call __assert_fail_base.
13348 * assert/assert-perr.c: Remove bulk of implementation. Use
13349 __assert_fail_base.
13350 * include/assert.hL Declare __assert_fail_base.
13351 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13353 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13355 2011-05-14 Ulrich Drepper <drepper@gmail.com>
13359 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13360 until all modules are registered in the DTV.
13361 * elf/Makefile: Add rules to build and run tst-tls19.
13362 * elf/tst-tls19.c: New file.
13363 * elf/tst-tls19mod1.c: New file.
13364 * elf/tst-tls19mod2.c: New file.
13365 * elf/tst-tls19mod3.c: New file.
13366 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13369 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13373 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13374 two-byte sequence errors.
13375 * iconvdata/Makefile (tests): Add bug-iconv8.
13376 * iconvdata/bug-iconv8.c: New file.
13379 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13382 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13385 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13386 (dummy_getcfa): New function.
13387 (init): Get _Unwind_GetCFA address, use dummy if not found.
13388 (backtrace_helper): In recursion check, also check whether CFA changes.
13389 (__backtrace): Completely initialize arg.
13391 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
13392 storing incomplete byte sequence in state object. Avoid testing for
13393 guaranteed too small input if we know there is enough data available.
13395 2011-05-11 Andreas Schwab <schwab@redhat.com>
13397 * Makeconfig (+link-pie): Indent.
13398 * Rules (binaries-pie): Define if $(have-fpie) and
13400 (binaries-shared): Also filter out $(binaries-pie).
13401 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13402 * nscd/Makefile (others-pie): Add nscd.
13403 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13404 ($(objpfx)nscd): Remove command override.
13405 * login/Makefile (others-pie): Add pt_chown.
13406 ($(objpfx)pt_chown): Remove command override.
13407 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13408 remove command overrides.
13410 2011-05-13 Ulrich Drepper <drepper@gmail.com>
13412 * libio/tst_putwc.c: Fix error messages.
13415 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13416 currently writing and seek to current position when not.
13417 * libio/Makefile (tests): Add bug-fclose1.
13418 * libio/bug-fclose1.c: New file.
13420 2011-05-12 Ulrich Drepper <drepper@gmail.com>
13423 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13424 don't set DF_1_NODELETE here.
13425 (do_lookup_x): When entering new entry test for copy relocation
13426 and if necessary set DF_1_NODELETE flag.
13427 * elf/tst-unique4.cc: New file.
13428 * elf/tst-unique4.h: New file.
13429 * elf/tst-unique4lib.cc: New file.
13430 * elf/Makefile: Add rules to build and run tst-unique4.
13431 Patch by Piotr Bury <pbury@goahead.com>.
13433 2011-05-11 Ulrich Drepper <drepper@gmail.com>
13436 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13439 * misc/mntent_r.c (addmntent): Flush the stream after the output
13442 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13443 (is_trusted_path_normalize): Skip initial colon. Append slash
13444 to empty buffer. Duplicate is_trusted_path code but allow
13445 constructed patch to be prefix.
13446 (is_dst): Allow $ORIGIN followed by /.
13447 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13448 Correct testing of result of is_trusted_path_normalize
13449 (decompose_rpath): Fix warning.
13451 2011-05-10 Ulrich Drepper <drepper@gmail.com>
13454 * grp/initgroups.c (internal_getgrouplist): When we found the service
13455 list through the initgroups entry in nsswitch.conf do not always
13456 continue on a successful lookup. Don't always use the
13457 __nss_group_database value if it is set.
13458 * nss/nsswitch.conf (initgroups): Change action for successful db
13459 lookup to continue for compatibility.
13461 2011-05-09 Ulrich Drepper <drepper@gmail.com>
13464 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13466 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13468 * iconvdata/tst-tables.sh: Likewise.
13469 * iconvdata/cp770.c: New file.
13470 * iconvdata/cp771.c: New file.
13471 * iconvdata/cp772.c: New file.
13472 * iconvdata/cp773.c: New file.
13473 * iconvdata/cp774.c: New file.
13474 * iconvdata/testdata/CP770: New file.
13475 * iconvdata/testdata/CP770..UTF8: New file.
13476 * iconvdata/testdata/CP771: New file.
13477 * iconvdata/testdata/CP771..UTF8: New file.
13478 * iconvdata/testdata/CP772: New file.
13479 * iconvdata/testdata/CP772..UTF8: New file.
13480 * iconvdata/testdata/CP773: New file.
13481 * iconvdata/testdata/CP773..UTF8: New file.
13482 * iconvdata/testdata/CP774: New file.
13483 * iconvdata/testdata/CP774..UTF8: New file.
13485 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13487 * iconvdata/gen-8bit-gap.sh: Likewise.
13488 * iconvdata/gen-8bit.sh: Likewise.
13490 * locale/iso-639.def: Add ary entry.
13493 * locale/C-translit.h.in: Add U20A1 transliteration.
13496 * locale/iso-639.def: Add wae entry.
13497 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13500 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13504 * locale/C-translit.h.in: Add entry for U20B9.
13505 Patch by pravin.d.s@gmail.com.
13507 2011-05-08 Ulrich Drepper <drepper@gmail.com>
13510 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13511 ENAMETOOLONG use generic getcwd.
13512 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13513 in rtld. Use *stat64.
13514 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
13515 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
13516 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
13517 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13518 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13519 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13520 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13521 __fstatat64 macros.
13522 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13523 * dirent/rewinddir.c: Add libc_hidden_def.
13524 * sysdeps/mach/hurd/rewinddir.c: Likewise.
13525 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
13527 * include/dirent.h (__alloc_dir): Add flags parameter.
13528 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13529 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13531 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13532 from fdopendir if O_CLOEXEC is already set.
13534 2011-03-15 Alan Modra <amodra@gmail.com>
13536 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13537 l_tls_firstbyte_offset non-zero. Save padding offset in
13538 l_tls_firstbyte_offset for later use.
13539 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13540 freeing static tls block.
13542 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13544 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13545 where #ifdef was intended. The intent is to prevent ARG_MAX from
13546 being defined by the kernel headers.
13548 2011-05-07 Ulrich Drepper <drepper@gmail.com>
13551 * resolv/resolv.h: Define RES_NOTLDQUERY.
13552 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13553 no-tld-query and set RES_NOTLDQUERY.
13554 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13555 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13556 modern BIND to search name as TLD unless forbidden.
13558 2011-05-07 Petr Baudis <pasky@suse.cz>
13559 Ulrich Drepper <drepper@gmail.com>
13562 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13563 (is_trusted_path): ...to here.
13564 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
13565 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
13566 using is_trusted_path_normalize() in setuid scripts.
13568 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13570 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13571 __BEGIN/__END_DECLS.
13573 2011-05-06 Ulrich Drepper <drepper@gmail.com>
13575 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13576 NSS_STATUS_NOTFOUND if no record was found.
13578 2011-05-05 Andreas Schwab <schwab@redhat.com>
13580 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13581 (headers-not-in-tirpc): Remove rpc/netdb.h
13582 * resolv/netdb.h: Revert last change.
13584 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13586 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13587 circular dependency between libgcc.a and libc.a.
13589 2011-05-05 Andreas Schwab <schwab@redhat.com>
13591 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13592 * nis/Makefile: Don't install rpcsvc/*.
13593 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13594 instead of <rpc/types.h>.
13595 (MAXHOSTNAMELEN): Define.
13597 2011-05-03 Andreas Schwab <schwab@redhat.com>
13599 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13601 2011-04-28 Maciej Babinski <mbabinski@google.com>
13604 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13605 gethostbyname4_r when IPv6 results are possible.
13607 2011-05-02 Ulrich Drepper <drepper@gmail.com>
13610 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13611 _PC_PIPE_BUF handling.
13613 2011-04-30 Bruno Haible <bruno@clisp.org>
13616 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
13617 * resolv/netdb.h (getnameinfo): Change type of flags parameter
13619 * inet/getnameinfo.c (getnameinfo): Likewise.
13621 2011-04-29 Ulrich Drepper <drepper@gmail.com>
13623 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13624 to groups setting in database lookup.
13625 * nss/nsswitch.conf: Add initgroups entry.
13627 2011-04-22 Ulrich Drepper <drepper@gmail.com>
13630 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13632 Patch by Eric Blake <eblake@redhat.com>.
13634 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13636 * sunrpc/Makefile (need-export-routines): Add svc_run.
13637 (routines): Remove svc_run.
13638 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13639 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13640 * sunrpc/svc_run.c (svc_run): Likewise.
13641 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13643 2011-04-21 Ulrich Drepper <drepper@gmail.com>
13645 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13646 problem in reallocation in last patch.
13648 2011-04-20 Ulrich Drepper <drepper@gmail.com>
13650 * sunrpc/Makefile: Move inclusion of Rules.
13652 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13654 * nss/nss_files/files-initgroups.c: New file.
13655 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13656 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13657 _nss_files_initgroups_dyn.
13659 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
13661 * elf/elf.h (R_ARM_IRELATIVE): Define.
13663 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13665 * po/ru.po: Update from translation team.
13667 2011-04-17 Ulrich Drepper <drepper@gmail.com>
13669 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
13672 2011-02-06 Mike Frysinger <vapier@gentoo.org>
13675 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
13676 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
13677 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13678 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13679 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13681 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
13683 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
13685 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13686 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13687 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13689 2011-04-17 Ulrich Drepper <drepper@gmail.com>
13692 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
13694 * stdlib/bug-getcontext.c: New file.
13695 * stdlib/Makefile: Add rules to build and run bug-getcontext.
13697 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13699 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
13700 instructions into .machine "z9-109".
13701 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13702 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13704 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13706 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
13707 between environment variables and auxiliary vector.
13709 2011-04-16 Ulrich Drepper <drepper@gmail.com>
13711 * Makefile: Add rules to build linkobj/libc.so.
13712 * include/libc-symbols.h: Define libc_hidden_nolink.
13713 * include/rpc/auth.h: Mark functions which are to be hidden.
13714 * include/rpc/auth_des.h: Likewise.
13715 * include/rpc/auth_unix.h: Likewise.
13716 * include/rpc/clnt.h: Likewise.
13717 * include/rpc/des_crypt.h: Likewise.
13718 * include/rpc/key_prot.h: Likewise.
13719 * include/rpc/pmap_clnt.h: Likewise.
13720 * include/rpc/pmap_prot.h: Likewise.
13721 * include/rpc/pmap_rmt.h: Likewise.
13722 * include/rpc/rpc_msg.h: Likewise.
13723 * include/rpc/svc.h: Likewise.
13724 * include/rpc/svc_auth.h: Likewise.
13725 * include/rpc/xdr.h: Likewise.
13726 * nis/Makefile: Link all DSOs against linkobj/libc.so.
13727 * nss/Makefile: Likewise.
13728 * sunrpc/Makefile: Don't install headers. Build library with normal
13729 entry points. Don't build rpcinfo. Link RPC tests appropriately.
13730 * sunrpc/auth_des.c: Hide exported symbols by default, export some
13731 for the compat linking library. Remove use of INTDEF/INTUSE.
13732 * sunrpc/auth_none.c: Likewise.
13733 * sunrpc/auth_unix.c: Likewise.
13734 * sunrpc/authdes_prot.c: Likewise.
13735 * sunrpc/authuxprot.c: Likewise.
13736 * sunrpc/clnt_gen.c: Likewise.
13737 * sunrpc/clnt_perr.c: Likewise.
13738 * sunrpc/clnt_raw.c: Likewise.
13739 * sunrpc/clnt_simp.c: Likewise.
13740 * sunrpc/clnt_tcp.c: Likewise.
13741 * sunrpc/clnt_udp.c: Likewise.
13742 * sunrpc/clnt_unix.c: Likewise.
13743 * sunrpc/des_crypt.c: Likewise.
13744 * sunrpc/des_soft.c: Likewise.
13745 * sunrpc/get_myaddr.c: Likewise.
13746 * sunrpc/key_call.c: Likewise.
13747 * sunrpc/key_prot.c: Likewise.
13748 * sunrpc/netname.c: Likewise.
13749 * sunrpc/pm_getmaps.c: Likewise.
13750 * sunrpc/pm_getport.c: Likewise.
13751 * sunrpc/pmap_clnt.c: Likewise.
13752 * sunrpc/pmap_prot.c: Likewise.
13753 * sunrpc/pmap_prot2.c: Likewise.
13754 * sunrpc/pmap_rmt.c: Likewise.
13755 * sunrpc/publickey.c: Likewise.
13756 * sunrpc/rpc_cmsg.c: Likewise.
13757 * sunrpc/rpc_common.c: Likewise.
13758 * sunrpc/rpc_dtable.c: Likewise.
13759 * sunrpc/rpc_prot.c: Likewise.
13760 * sunrpc/rpc_thread.c: Likewise.
13761 * sunrpc/rtime.c: Likewise.
13762 * sunrpc/svc.c: Likewise.
13763 * sunrpc/svc_auth.c: Likewise.
13764 * sunrpc/svc_authux.c: Likewise.
13765 * sunrpc/svc_raw.c: Likewise.
13766 * sunrpc/svc_run.c: Likewise.
13767 * sunrpc/svc_simple.c: Likewise.
13768 * sunrpc/svc_tcp.c: Likewise.
13769 * sunrpc/svc_udp.c: Likewise.
13770 * sunrpc/svc_unix.c: Likewise.
13771 * sunrpc/svcauth_des.c: Likewise.
13772 * sunrpc/xcrypt.c: Likewise.
13773 * sunrpc/xdr.c: Likewise.
13774 * sunrpc/xdr_array.c: Likewise.
13775 * sunrpc/xdr_float.c: Likewise.
13776 * sunrpc/xdr_intXX_t.c: Likewise.
13777 * sunrpc/xdr_mem.c: Likewise.
13778 * sunrpc/xdr_rec.c: Likewise.
13779 * sunrpc/xdr_ref.c: Likewise.
13780 * sunrpc/xdr_sizeof.c: Likewise.
13781 * sunrpc/xdr_stdio.c: Likewise.
13783 2011-04-10 Ulrich Drepper <drepper@gmail.com>
13786 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
13787 * sysdeps/ia64/dl-tls.h: Likewise.
13788 * sysdeps/powerpc/dl-tls.h: Likewise.
13789 * sysdeps/s390/dl-tls.h: Likewise.
13790 * sysdeps/sh/dl-tls.h: Likewise.
13791 * sysdeps/sparc/dl-tls.h: Likewise.
13792 * sysdeps/x86_64/dl-tls.h: Likewise.
13793 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
13795 2011-03-14 Andreas Schwab <schwab@redhat.com>
13797 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
13798 rpath element also skip the following colon.
13799 (expand_dynamic_string_token): Add is_path parameter and pass
13800 down to DL_DST_REQUIRED and _dl_dst_substitute.
13801 (decompose_rpath): Call expand_dynamic_string_token with
13802 non-zero is_path. Ignore empty rpaths.
13803 (_dl_map_object_from_fd): Call expand_dynamic_string_token
13806 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
13808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13811 2011-04-09 Ulrich Drepper <drepper@gmail.com>
13814 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
13815 Patch by Filipe David Manana <fdmanana@apache.org>.
13817 2011-04-07 Andreas Schwab <schwab@redhat.com>
13819 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
13820 Maintain aligned stack.
13821 (CHECK_RSP): Remove unused macro.
13823 2011-04-03 Ulrich Drepper <drepper@gmail.com>
13825 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
13826 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
13828 2011-04-02 Ulrich Drepper <drepper@gmail.com>
13830 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
13832 * include/features.h: Mention __USE_XOPEN2K8 in comment.
13834 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
13837 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
13838 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
13839 * sysdeps/x86_64/memmove.c: New file.
13840 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
13841 (memcpy): Renamed to ...
13842 (__new_memcpy): This.
13843 (memcpy): Provide GLIBC_2_14 memcpy.
13844 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
13845 (memcpy): Provide GLIBC_2_2_5 memcpy.
13847 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13850 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
13852 2011-03-30 Andreas Schwab <schwab@redhat.com>
13854 * misc/syncfs.c: New file.
13855 * misc/Makefile (routines): Add syncfs.
13856 * posix/unistd.h: Declare syncfs.
13857 * sysdeps/unix/syscalls.list: Add syncfs.
13859 2011-04-01 Andreas Schwab <schwab@redhat.com>
13861 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
13863 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13864 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13865 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13866 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13867 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13868 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13869 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13871 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13873 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
13874 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13875 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
13876 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13877 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13878 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13879 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13881 * io/Makefile: Compile fallocate.c, fallocate64.c, and
13882 sync_file_range.c with -fexceptions.
13883 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
13884 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
13885 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13886 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13887 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13888 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13889 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
13890 sync_file_range as cancellation point
13891 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
13892 now a wrapper around __call_sync_file_range with cancellation handling.
13893 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
13894 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
13895 function name to __call_sync_file_range.
13896 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
13897 Add call_sync_file_range.
13899 2011-04-01 Andreas Schwab <schwab@redhat.com>
13901 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13904 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13906 * iconv/iconv.h: Fix typo in comment.
13907 * io/fcntl.h: Likewise.
13908 * libio/stdio.h: Likewise.
13909 * posix/spawn.h: Likewise.
13910 * posix/unistd.h: Likewise.
13911 * stdlib/stdlib.h: Likewise.
13912 * time/time.h: Likewise.
13913 * wcsmbs/wchar.h: Likewise.
13915 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13916 open_by_handle): Add.
13917 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13918 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
13919 Augment a few comments.
13920 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13921 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13922 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13923 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13924 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13925 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13928 * io/fcntl.h (AT_EMPTY_PATH): Define.
13930 2011-03-30 Ulrich Drepper <drepper@gmail.com>
13932 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13933 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13934 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13936 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
13937 * Versions.def: Add GLIBC_2.14.
13938 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13941 2011-03-22 Ulrich Drepper <drepper@gmail.com>
13943 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13945 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13947 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13950 * string/test-strncmp.c (do_page_test): New function.
13951 (check2): Likewise.
13952 (test_main): Call check2.
13953 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13955 2011-03-20 Ulrich Drepper <drepper@gmail.com>
13958 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13959 Handle cache information in CPU leaf 4.
13960 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13962 2011-03-18 Ulrich Drepper <drepper@gmail.com>
13965 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13966 character representation.
13967 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13969 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
13971 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13972 END(__isnan) to END(__isnanf) to match function entry point/label
13973 EALIGN(__isnanf,...).
13975 2011-03-10 Jakub Jelinek <jakub@redhat.com>
13977 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13979 2011-03-10 Ulrich Drepper <drepper@gmail.com>
13982 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13983 copy from the symbol referenced in the relocation to initialize the
13985 Patch by Piotr Bury <pbury@goahead.com>.
13986 * elf/Makefile: Add rules to build and tst-unique3.
13987 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13988 * elf/tst-unique3.cc: New file.
13989 * elf/tst-unique3.h: New file.
13990 * elf/tst-unique3lib.cc: New file.
13991 * elf/tst-unique3lib2.cc: New file.
13993 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13995 2011-03-10 Mike Frysinger <vapier@gentoo.org>
13997 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13998 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14001 2011-03-06 Ulrich Drepper <drepper@gmail.com>
14003 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14004 to-be-loaded object along a path to loader is ld.so.
14006 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14007 Ulrich Drepper <drepper@gmail.com>
14009 * sysdeps/x86_64/memset.S: After aligning destination, code
14010 branches to different locations depending on the value of
14011 misalignment, when multiarch is enabled. Fix this.
14013 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14015 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14016 Set _x86_64_preferred_memory_instruction for AMD processsors.
14017 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14018 Set bit_Prefer_SSE_for_memop for AMD processors.
14020 2011-03-04 Ulrich Drepper <drepper@gmail.com>
14022 * libio/fmemopen.c (fmemopen): Optimize a bit.
14024 2011-03-03 Andreas Schwab <schwab@redhat.com>
14026 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14028 2011-03-03 Roland McGrath <roland@redhat.com>
14030 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14032 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14034 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
14035 __bzero_ultra1 instead of __memset_ultra1.
14037 2011-02-23 Andreas Schwab <schwab@redhat.com>
14038 Ulrich Drepper <drepper@gmail.com>
14041 * include/link.h (struct link_map): Add l_orig_initfini.
14042 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14043 returning unsuccessfully.
14044 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14045 close of a file loaded at startup, restore the original l_initfini
14047 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14048 list, store the pointer.
14049 * elf/Makefile ($(objpfx)noload-mem): New rule.
14050 (noload-ENV): Define.
14051 (tests): Add $(objpfx)noload-mem.
14052 * elf/noload.c: Include <memcheck.h>.
14053 (main): Call mtrace. Close all opened handles.
14055 2011-02-17 Andreas Schwab <schwab@redhat.com>
14058 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14059 dependencies are missing.
14061 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14063 Fix __if_freereq crash: Unlike the generic version which uses free,
14065 * sysdeps/mach/hurd/ifreq.h: New file.
14067 2011-01-27 Petr Baudis <pasky@suse.cz>
14068 Ulrich Drepper <drepper@gmail.com>
14071 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14072 to extend_alloca().
14073 * stdio-common/bug23.c: New file.
14074 * stdio-common/Makefile (tests): Add bug23.
14076 2010-09-28 Andreas Schwab <schwab@redhat.com>
14077 Ulrich Drepper <drepper@gmail.com>
14080 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14081 before performing relro protection. At old place add assertion
14082 to make sure nothing changed.
14084 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14085 Glauber de Oliveira Costa <glommer@gmail.com>
14087 * elf/elf.h: Add new ARM TLS relocs.
14089 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14092 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14094 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14096 * sysdeps/wordsize-64/tst-writev.c: New file.
14098 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14100 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14101 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14102 insns in _dl_start to prevent a TOC reference before relocs are
14105 2011-02-15 Ulrich Drepper <drepper@gmail.com>
14108 * Makeconfig: Remove RANLIB definition.
14109 * Makerules: Don't use RANLIB.
14110 * aclocal.m4: Remove ranlib test.
14111 * configure.in: No need to check for ranlib.
14112 * elf/rtld-Rules: Don't use RANLIB.
14114 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14116 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14118 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14119 inclusion protection macro.
14121 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14122 SIGRTMIN and SIGRTMAX and print information in that case only when
14123 SIGRTMIN is defined.
14125 2011-02-11 Jakub Jelinek <jakub@redhat.com>
14127 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14128 arginfo fn returning -1.
14130 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14131 and thousands string is zero terminated.
14133 2011-02-03 Andreas Schwab <schwab@redhat.com>
14135 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14136 sysdeps/unix/sysv/linux/bits/socket.h.
14138 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14140 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14141 (__CPU_COUNT): Remove old macros.
14142 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14143 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14144 (__CPU_ALLOC, __CPU_FREE): Add macros.
14145 (__sched_cpualloc, __sched_cpufree): Add declarations.
14147 2011-02-05 Ulrich Drepper <drepper@gmail.com>
14149 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14150 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14151 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14152 (readdhstai): Return value of addhstaiX call.
14153 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14154 (addgrbyX): Return value returned by cache_addgr.
14155 (readdgrbyname): Return value returned by addgrbyX.
14156 (readdgrbygid): Likewise.
14157 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14158 (addpwbyX): Return value returned by cache_addpw.
14159 (readdpwbyname): Return value returned by addhstbyX.
14160 (readdpwbyuid): Likewise.
14161 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14162 (addservbyX): Return value returned by cache_addserv.
14163 (readdservbyname): Return value returned by addservbyX:
14164 (readdservbyport): Likewise.
14165 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14166 (addhstbyX): Return value returned by cache_addhst.
14167 (readdhstbyname): Return value returned by addhstbyX.
14168 (readdhstbyaddr): Likewise.
14169 (readdhstbynamev6): Likewise.
14170 (readdhstbyaddrv6): Likewise.
14171 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14172 (readdinitgroups): Return value returned by addinitgroupsX.
14173 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14174 (prune_cache): Keep track of timeout value of re-added entries.
14175 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14176 * nscd/nscd.h: Adjust prototypes of readd* functions.
14178 2011-02-04 Roland McGrath <roland@redhat.com>
14180 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14181 (nis_stats): Likewise.
14182 * nis/nis_modify.c (nis_modify): Likewise.
14183 * nis/nis_remove.c (nis_remove): Likewise.
14184 * nis/nis_add.c (nis_add): Likewise.
14186 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14188 * posix/fnmatch_loop.c: Add some consts.
14190 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14192 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14195 * config.make.in (config-cflags-novzeroupper): Define.
14196 * configure.in: Substitute libc_cv_cc_novzeroupper.
14197 * elf/Makefile (AVX-CFLAGS): Define.
14198 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14199 (CFLAGS-tst-auditmod4a.c): Likewise.
14200 (CFLAGS-tst-auditmod4b.c): Likewise.
14201 (CFLAGS-tst-auditmod6b.c): Likewise.
14202 (CFLAGS-tst-auditmod6c.c): Likewise.
14203 (CFLAGS-tst-auditmod7b.c): Likewise.
14204 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14206 2011-02-02 Ulrich Drepper <drepper@gmail.com>
14208 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14209 function to the callback.
14210 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14212 2011-02-02 Andreas Schwab <schwab@redhat.com>
14214 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14217 2011-01-19 Ulrich Drepper <drepper@gmail.com>
14220 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14222 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14224 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14227 * elf/Makefile: Add rules to build and run new test.
14228 * elf/tst-initorder.c: New file.
14229 * elf/tst-initorder.exp: New file.
14230 * elf/tst-initordera1.c: New file.
14231 * elf/tst-initordera2.c: New file.
14232 * elf/tst-initordera3.c: New file.
14233 * elf/tst-initordera4.c: New file.
14234 * elf/tst-initorderb1.c: New file.
14235 * elf/tst-initorderb2.c: New file.
14236 * elf/tst-order-a1.c: New file.
14237 * elf/tst-order-a2.c: New file.
14238 * elf/tst-order-a3.c: New file.
14239 * elf/tst-order-a4.c: New file.
14240 * elf/tst-order-b1.c: New file.
14241 * elf/tst-order-b2.c: New file.
14242 * elf/tst-order-main.c: New file.
14243 New test case by George Gensure <werkt0@gmail.com>.
14245 2010-10-01 Andreas Schwab <schwab@redhat.com>
14247 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14248 decoding ACE if AI_CANONIDN.
14250 2011-01-18 Ulrich Drepper <drepper@gmail.com>
14252 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14254 2011-01-17 Ulrich Drepper <drepper@gmail.com>
14256 * version.h (RELEASE): Bump for 2.13 release.
14257 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14259 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14261 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14263 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14264 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14265 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14266 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14267 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14268 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14270 * posix/getconf.c: Update copyright year.
14271 * catgets/gencat.c: Likewise.
14272 * csu/version.c: Likewise.
14273 * debug/catchsegv.sh: Likewise.
14274 * debug/xtrace.sh: Likewise.
14275 * elf/ldconfig.c: Likewise.
14276 * elf/ldd.bash.in: Likewise.
14277 * elf/sprof.c (print_version): Likewise.
14278 * iconv/iconv_prog.c: Likewise.
14279 * iconv/iconvconfig.c: Likewise.
14280 * locale/programs/locale.c: Likewise.
14281 * locale/programs/localedef.c: Likewise.
14282 * malloc/memusage.sh: Likewise.
14283 * malloc/mtrace.pl: Likewise.
14284 * nscd/nscd.c (print_version): Likewise.
14285 * nss/getent.c: Likewise.
14287 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14288 PF_CAIF, and PF_ALG.
14289 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14291 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14293 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14294 (modules-names): Use them.
14295 (ifunc-test-modules, ifunc-pie-tests): Define.
14296 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14297 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14298 (test-extras): Likewise.
14299 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14300 $(compile-command.c).
14301 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14302 (all-built-dso): Define.
14303 (check-textrel.out, check-execstack.out): Depend on it.
14305 * configure.in: Don't override --enable-multi-arch.
14307 2011-01-15 Ulrich Drepper <drepper@gmail.com>
14310 * nscd/hstcache.c (tryagain): Define.
14311 (cache_addhst): Return tryagain not notfound for temporary errors.
14312 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14315 2011-01-14 Ulrich Drepper <drepper@gmail.com>
14318 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14319 to make the syscall.
14320 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14323 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14324 and fall back to matching as normal character if the string ends before
14325 the matching ']' is found. This is what POSIX requires.
14326 * posix/testfnm.c: Adjust test result.
14327 * posix/globtest.sh: Adjust test result. Add new test.
14328 * posix/tst-fnmatch.input: Likewise.
14329 * posix/tst-fnmatch2.c: Add new test.
14331 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14333 * elf/Makefile (check-execstack): Revert last change. Depend on
14335 (check-execstack.h): New target.
14336 (generated): Add check-execstack.h.
14337 * elf/check-execstack.c: Include "check-execstack.h".
14338 (main): Revert last change.
14339 (handle_file): Return zero if GNU_STACK is absent and
14340 DEFAULT_STACK_PERMS doesn't include PF_X.
14342 2011-01-13 Ulrich Drepper <drepper@gmail.com>
14344 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14345 in child fails because the descriptor is already closed.
14346 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14347 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14348 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14351 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14355 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14356 temporary buffer used to handle multi lookups locally.
14357 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
14359 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14361 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14364 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14366 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14367 alignment for SSE2.
14369 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14372 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14373 characters. When rounding increased number of integer digits recompute
14375 * stdio-common/tst-grouping.c: New file.
14376 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14378 2011-01-09 Ulrich Drepper <drepper@gmail.com>
14380 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14381 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14383 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14385 * bits/select.h: Likewise.
14387 2011-01-08 Ulrich Drepper <drepper@gmail.com>
14389 * po/ja.po: Update from translation team.
14391 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
14394 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14395 implementation just like for lxstat, fxstatat, et al.
14397 2010-12-27 Jim Meyering <meyering@redhat.com>
14400 * posix/regexec.c (build_trtable): Return failure indication upon
14401 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14403 2010-12-25 Ulrich Drepper <drepper@gmail.com>
14406 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14407 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14408 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14409 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14412 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14415 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14416 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14418 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14420 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14421 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14422 script has SORT_BY_INIT_PRIORITY.
14423 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14424 NO_CTORS_DTORS_SECTIONS is defined.
14425 * elf/soinit.c: Likewise.
14426 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14427 NO_CTORS_DTORS_SECTIONS is defined.
14428 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14429 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14430 * sysdeps/sh/init-first.c: Likewise.
14431 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14433 2010-12-24 Ulrich Drepper <drepper@gmail.com>
14435 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14436 always use the slow path.
14438 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14440 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14441 similar rule which adds the sysdep directories to the header search in
14442 order to pick up the correct platform stackinfo.h.
14443 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14444 perform test if it is, otherwise return successfully without testing.
14445 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14446 DEFAULT_STACK_PERMS define in stackinfo.h.
14447 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14448 defined in stackinfo.h.
14449 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14450 DEFAULT_STACK_PERMS defined in stackinfo.h.
14451 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14452 * sysdeps/ia64/stackinfo.h: Likewise.
14453 * sysdeps/s390/stackinfo.h: Likewise.
14454 * sysdeps/sh/stackinfo.h: Likewise.
14455 * sysdeps/sparc/stackinfo.h: Likewise.
14456 * sysdeps/x86_64/stackinfo.h: Likewise.
14457 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14458 PF_X for powerpc64. Retain PF_X for powerpc32.
14460 2010-12-19 Ulrich Drepper <drepper@gmail.com>
14462 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14464 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14465 GETDENTS_64BIT_ALIGNED.
14467 2010-12-14 Ulrich Drepper <dreper@gmail.com>
14469 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
14471 2010-12-10 Andreas Schwab <schwab@redhat.com>
14473 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14476 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14477 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14479 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14480 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14482 2010-12-09 Ulrich Drepper <drepper@gmail.com>
14485 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14488 2010-12-09 Jakub Jelinek <jakub@redhat.com>
14490 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14492 2010-12-03 Ulrich Drepper <drepper@gmail.com>
14494 * po/it.po: Update from translation team.
14496 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14498 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14501 2010-11-30 Ulrich Drepper <drepper@gmail.com>
14503 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14505 2010-11-24 Andreas Schwab <schwab@redhat.com>
14507 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14509 (gaih_getanswer_slice): Likewise.
14511 2010-10-20 Jakub Jelinek <jakub@redhat.com>
14513 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14515 2010-05-31 Petr Baudis <pasky@suse.cz>
14518 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14519 silently even in the chroot mode.
14521 2010-11-22 Ulrich Drepper <drepper@gmail.com>
14523 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14524 last patch a bit. Pretty printing
14526 2010-05-31 Petr Baudis <pasky@suse.cz>
14529 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14530 initialization of skip_initgroups_dyn.
14532 2010-11-19 Ulrich Drepper <drepper@gmail.com>
14534 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14535 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14537 2010-11-16 Ulrich Drepper <drepper@gmail.com>
14539 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14541 2010-11-11 Andreas Schwab <schwab@redhat.com>
14543 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14544 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14545 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14546 ($(objpfx)tst-fnmatch-mem): New rule.
14547 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14548 * posix/tst-fnmatch.c (main): Call mtrace.
14550 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14552 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14553 Support Intel processor model 6 and model 0x2c.
14555 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
14557 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14560 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14563 * string/test-strncasecmp.c (check_result): New function.
14564 (do_one_test): Use it.
14565 (check1): New function.
14566 (test_main): Use it.
14567 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14568 Support strcasecmp and strncasecmp.
14570 2010-11-08 Ulrich Drepper <drepper@gmail.com>
14573 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14574 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14576 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14578 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14580 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14582 * sysdeps/x86_64/multiarch/bzero.S: New file.
14583 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14584 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14585 * sysdeps/x86_64/multiarch/memset.S: New file.
14586 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14587 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14588 Set bit_Prefer_SSE_for_memop for Intel processors.
14589 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14591 (index_Prefer_SSE_for_memop): Define.
14592 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14594 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
14596 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14597 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14599 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14602 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14603 (__x86_64_raw_data_cache_size_half): Likewise.
14604 (__x86_64_raw_shared_cache_size): Likewise.
14605 (__x86_64_raw_shared_cache_size_half): Likewise.
14607 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14608 (__x86_64_raw_data_cache_size_half): Likewise.
14609 (__x86_64_raw_shared_cache_size): Likewise.
14610 (__x86_64_raw_shared_cache_size_half): Likewise.
14611 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14612 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14613 and __x86_64_raw_shared_cache_size_half. Round
14614 __x86_64_data_cache_size_half, __x86_64_data_cache_size
14615 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
14616 to multiple of 256 bytes.
14618 2010-11-03 Ulrich Drepper <drepper@gmail.com>
14621 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14622 of inacessible symlinks. Verify result of symlink before returning it.
14623 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14624 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14626 2010-10-28 Erich Ritz <erichritz@gmail.com>
14628 * math/math.h (isinf): Fix typo in comment.
14630 2010-11-01 Ulrich Drepper <drepper@gmail.com>
14632 * po/da.po: Update from translation team.
14634 2010-10-26 Ulrich Drepper <drepper@gmail.com>
14636 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14637 is added to the list.
14639 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14640 Ulrich Drepper <drepper@gmail.com>
14642 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14643 the global list here. Move code to...
14644 (_dl_add_to_namespace_list): ...here. New function.
14645 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14646 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14647 * elf/dl-load.c (lose): Don't remove the element from the list.
14648 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14649 (_dl_map_object): Likewise.
14651 2010-10-25 Ulrich Drepper <drepper@gmail.com>
14654 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14655 into all bytes of SSE register.
14656 Patch by Richard Li <richardpku@gmail.com>.
14658 2010-10-24 Ulrich Drepper <drepper@gmail.com>
14661 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14664 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14666 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14667 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14668 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14669 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
14672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14674 2010-10-22 Andreas Schwab <schwab@redhat.com>
14676 * include/dlfcn.h (__RTLD_SECURE): Define.
14677 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
14678 mode & __RTLD_SECURE instead.
14679 (open_path): Rename preloaded parameter to secure.
14680 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
14681 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
14682 * elf/dl-deps.c (openaux): Likewise.
14683 * elf/rtld.c (struct map_args): Remove is_preloaded.
14684 (map_doit): Don't use it.
14685 (dl_main): Likewise.
14686 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
14687 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
14689 2010-09-09 Andreas Schwab <schwab@redhat.com>
14691 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
14692 (sysd-rules-targets): Remove duplicates.
14693 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
14694 rtld-%.$o dependency.
14696 2010-10-18 Andreas Schwab <schwab@redhat.com>
14698 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
14699 _dl_map_object do it.
14701 2010-10-19 Ulrich Drepper <drepper@gmail.com>
14703 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
14704 fast fma builtins, define the macros in the C99 standard.
14705 (FP_FAST_FMAF): Likewise.
14706 (FP_FAST_FMAL): Likewise.
14707 * sysdeps/x86_64/bits/mathdef.h: Likewise.
14709 * bits/mathdef.h: Update copyright year.
14710 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14712 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
14714 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
14715 builtins, define the macros in the C99 standard.
14716 (FP_FAST_FMAF): Likewise.
14717 (FP_FAST_FMAL): Likewise.
14718 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
14720 (FP_FAST_FMAF): Likewise.
14722 2010-10-15 Jakub Jelinek <jakub@redhat.com>
14725 * math/libm-test.inc (fma_test): Some new testcases.
14726 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
14727 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
14728 y and infinite z. Do multiplication by C already in long double.
14729 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
14730 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
14731 y and infinite z. Do bitwise or of inexact bit into u.d.
14732 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
14733 * sysdeps/i386/fpu/s_fmaf.S: Removed.
14734 * sysdeps/i386/fpu/s_fma.S: Removed.
14735 * sysdeps/i386/fpu/s_fmal.S: Removed.
14737 2010-10-16 Jakub Jelinek <jakub@redhat.com>
14740 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
14741 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
14742 computation is not scheduled after fetestexcept. Fix value
14743 of minimum denormal long double.
14745 2010-10-14 Jakub Jelinek <jakub@redhat.com>
14748 * math/libm-test.inc (fma_test): Add some more tests.
14749 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
14752 2010-10-15 Andreas Schwab <schwab@redhat.com>
14754 * scripts/data/localplt-s390-linux-gnu.data: New file.
14755 * scripts/data/localplt-s390x-linux-gnu.data: New file.
14757 2010-10-13 Jakub Jelinek <jakub@redhat.com>
14760 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
14761 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
14763 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
14765 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
14766 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
14767 if one of x and y is very large and the other is subnormal.
14768 * sysdeps/s390/fpu/s_fmaf.c: New file.
14769 * sysdeps/s390/fpu/s_fma.c: New file.
14770 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
14771 * sysdeps/powerpc/fpu/s_fma.S: New file.
14772 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
14773 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
14774 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
14776 2010-10-12 Jakub Jelinek <jakub@redhat.com>
14779 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
14781 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
14782 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
14783 * sysdeps/i386/i686/multiarch/s_fma.c: Include
14784 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
14785 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
14786 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
14787 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
14789 2010-10-12 Ulrich Drepper <drepper@redhat.com>
14792 * posix/regcomp.c (parse_branch): One more memory leak plugged.
14793 * posix/bug-regex31.input: Add test case.
14795 2010-10-11 Ulrich Drepper <drepper@gmail.com>
14797 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
14798 * posix/bug-regex31.input: New file.
14801 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
14802 (parse_sub_exp): Fix last change, use postorder.
14804 * posix/bug-regex31.c: New file.
14805 * posix/Makefile: Add rules to build and run bug-regex31.
14807 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
14810 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
14813 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
14814 to have entries in sys_siglist.
14817 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14820 2010-10-07 Jakub Jelinek <jakub@redhat.com>
14823 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
14824 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
14825 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
14826 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
14827 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14828 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
14829 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
14830 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
14831 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
14832 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14833 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
14834 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
14835 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14836 * math/ftestexcept.c (fetestexcept): Likewise.
14837 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
14838 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
14839 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14840 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
14841 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
14842 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
14843 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14845 2010-10-11 Ulrich Drepper <drepper@gmail.com>
14848 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
14851 2010-10-06 Ulrich Drepper <drepper@gmail.com>
14853 * string/bug-strstr1.c: New file.
14854 * string/Makefile: Add rules to build and run bug-strstr1.
14856 2010-10-05 Eric Blake <eblake@redhat.com>
14859 * string/str-two-way.h (two_way_long_needle): Always clear memory
14860 when skipping input due to the shift table.
14862 2010-10-03 Ulrich Drepper <drepper@gmail.com>
14865 * malloc/mcheck.c: Handle large requests.
14868 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
14869 for strncmp and strncasecmp.
14870 * string/stratcliff.c: Add tests for strcmp and strncmp.
14871 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
14873 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14875 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
14878 2010-09-30 Andreas Jaeger <aj@suse.de>
14880 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
14881 (CGROUP_SUPER_MAGIC): Define.
14882 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14883 Handle btrfs and cgroup file systems.
14884 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14887 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
14889 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
14890 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
14892 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14895 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
14896 trying to locate the ELF header.
14898 2010-09-27 Andreas Schwab <schwab@redhat.com>
14901 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
14902 Mask out sign-bit copies when constructing f_fsid.
14904 2010-09-24 Petr Baudis <pasky@suse.cz>
14906 * debug/stack_chk_fail_local.c: Add missing licence exception.
14907 * debug/warning-nop.c: Likewise.
14909 2010-09-15 Joseph Myers <joseph@codesourcery.com>
14911 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14912 implementing getdents64 using getdents syscall, set d_type if
14913 __ASSUME_GETDENTS32_D_TYPE.
14915 2010-09-16 Andreas Schwab <schwab@redhat.com>
14917 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14918 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14920 2010-09-21 Ulrich Drepper <drepper@redhat.com>
14923 * posix/unistd.h: Undo change of feature selection for ftruncate from
14926 2010-09-20 Ulrich Drepper <drepper@redhat.com>
14928 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
14931 2010-09-20 Andreas Schwab <schwab@redhat.com>
14933 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14935 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14937 2010-09-14 Andreas Schwab <schwab@redhat.com>
14939 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14940 variables after CHECK_SP call.
14941 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14943 2010-09-13 Andreas Schwab <schwab@redhat.com>
14944 Ulrich Drepper <drepper@redhat.com>
14946 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14947 re-relocationg ld.so.
14948 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14949 _dl_init_paths call.
14950 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14953 2010-09-14 Ulrich Drepper <drepper@redhat.com>
14955 * resolv/res_init.c (__res_vinit): Count the default server we added.
14957 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14958 Ulrich Drepper <drepper@redhat.com>
14961 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14962 (____longjmp_chk): Use %ebx for saving value across system call.
14965 2010-09-06 Andreas Schwab <schwab@redhat.com>
14967 * manual/Makefile: Don't mix pattern rules with normal rules.
14969 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
14971 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14973 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14974 * libio/iofopncook.c (_IO_cookie_init): Likewise.
14975 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14976 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14977 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14980 2010-09-04 Ulrich Drepper <drepper@redhat.com>
14983 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14984 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14986 2010-09-02 Ulrich Drepper <drepper@redhat.com>
14988 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14989 * sysdeps/x86_64/addmul_1.S: Likewise.
14990 * sysdeps/x86_64/lshift.S: Likewise.
14991 * sysdeps/x86_64/mul_1.S: Likewise.
14992 * sysdeps/x86_64/rshift.S: Likewise.
14993 * sysdeps/x86_64/sub_n.S: Likewise.
14994 * sysdeps/x86_64/submul_1.S: Likewise.
14996 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
14998 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14999 Define __sched_param instead of SCHED_* and sched_param when
15000 <bits/sched.h> is included with __need_schedparam defined.
15001 * bits/sched.h [__need_schedparam]
15002 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
15003 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15004 (__defined_schedparam): Define to 1.
15005 (__sched_param): New structure, identical to sched_param.
15006 (__need_schedparam): Undefine.
15008 2010-08-31 Mike Frysinger <vapier@gentoo.org>
15010 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15011 (epoll_create1): Declare.
15013 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15015 2010-08-31 Andreas Schwab <schwab@redhat.com>
15018 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15019 shifting retval into place.
15021 2010-09-01 Ulrich Drepper <drepper@redhat.com>
15023 * nis/rpcsvc/nis.h: Update copyright notice.
15024 * nis/rpcsvc/nis.x: Likewise.
15025 * nis/rpcsvc/nis_callback.h: Likewise.
15026 * nis/rpcsvc/nis_callback.x: Likewise.
15027 * nis/rpcsvc/nis_object.x: Likewise.
15028 * nis/rpcsvc/nis_tags.h: Likewise.
15029 * nis/rpcsvc/yp.h: Likewise.
15030 * nis/rpcsvc/yp.x: Likewise.
15031 * nis/rpcsvc/ypupd.h: Likewise.
15032 * nis/yp_xdr.c: Likewise.
15033 * nis/ypupdate_xdr.c: Likewise.
15035 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15036 mainly the body of pmap_getport. Add parameters to specify timeouts.
15037 (pmap_getport): Use __libc_rpc_getport.
15038 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15039 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15040 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15042 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15047 2010-08-27 Roland McGrath <roland@redhat.com>
15049 * sysdeps/i386/i686/multiarch/Makefile
15050 (CFLAGS-varshift.c): New variable.
15052 2010-08-27 Ulrich Drepper <drepper@redhat.com>
15054 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15055 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15057 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15059 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15061 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15063 * sysdeps/x86_64/strlen.S: Unroll the loop.
15064 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15065 strlen-sse2 strlen-sse2-bsf.
15066 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15067 __strlen_no_bsf if bit_Slow_BSF is set.
15068 (__strlen_sse42): Removed.
15069 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15070 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15072 2010-08-25 Roland McGrath <roland@redhat.com>
15074 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15075 * sysdeps/x86_64/multiarch/varshift.c: New file.
15076 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15077 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15078 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15079 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15081 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15083 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15084 strlen-sse2 strlen-sse2-bsf.
15085 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15086 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15087 (__strlen_sse2): Removed.
15088 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15089 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15090 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15091 bit_Slow_BSF for Atom.
15092 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15093 (index_Slow_BSF): Define.
15094 (HAS_SLOW_BSF): Define.
15096 2010-08-25 Ulrich Drepper <drepper@redhat.com>
15099 * resolv/res_init.c (__res_vinit): When no server address at all
15100 is given default to loopback.
15102 2010-08-24 Roland McGrath <roland@redhat.com>
15104 * configure.in: Remove config-name.h generation.
15105 * configure: Regenerated.
15106 * config-name.in: File removed.
15107 * scripts/config-uname.sh: New file.
15108 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15109 ($(objdir)config-name.h): New target.
15111 * sunrpc/rpc_parse.h: Avoid nested comment.
15113 2010-08-24 Richard Henderson <rth@redhat.com>
15114 Ulrich Drepper <drepper@redhat.com>
15115 H.J. Lu <hongjiu.lu@intel.com>
15117 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15118 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15119 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15120 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15121 _mm_alignr_epi8 with _mm_loadu_si128.
15122 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15123 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15124 (__m128i_shift_right): Removed.
15125 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15126 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15127 * sysdeps/x86_64/multiarch/varshift.h: New file.
15128 * sysdeps/x86_64/multiarch/varshift.S: New file.
15130 2010-08-21 Mike Frysinger <vapier@gentoo.org>
15132 * configure.in: Move assembler checks to before sysdep dir checking.
15134 2010-08-20 Petr Baudis <pasky@suse.cz>
15136 * LICENSES: Sync the sunrpc license.
15138 2010-08-19 Ulrich Drepper <drepper@redhat.com>
15140 * sunrpc/auth_des.c: Update copyright notice once again.
15141 * sunrpc/auth_none.c: Likewise.
15142 * sunrpc/auth_unix.c: Likewise.
15143 * sunrpc/authdes_prot.c: Likewise.
15144 * sunrpc/authuxprot.c: Likewise.
15145 * sunrpc/bindrsvprt.c: Likewise.
15146 * sunrpc/clnt_gen.c: Likewise.
15147 * sunrpc/clnt_perr.c: Likewise.
15148 * sunrpc/clnt_raw.c: Likewise.
15149 * sunrpc/clnt_simp.c: Likewise.
15150 * sunrpc/clnt_tcp.c: Likewise.
15151 * sunrpc/clnt_udp.c: Likewise.
15152 * sunrpc/clnt_unix.c: Likewise.
15153 * sunrpc/des_crypt.c: Likewise.
15154 * sunrpc/des_soft.c: Likewise.
15155 * sunrpc/get_myaddr.c: Likewise.
15156 * sunrpc/getrpcport.c: Likewise.
15157 * sunrpc/key_call.c: Likewise.
15158 * sunrpc/key_prot.c: Likewise.
15159 * sunrpc/openchild.c: Likewise.
15160 * sunrpc/pm_getmaps.c: Likewise.
15161 * sunrpc/pm_getport.c: Likewise.
15162 * sunrpc/pmap_clnt.c: Likewise.
15163 * sunrpc/pmap_prot.c: Likewise.
15164 * sunrpc/pmap_prot2.c: Likewise.
15165 * sunrpc/pmap_rmt.c: Likewise.
15166 * sunrpc/rpc/auth.h: Likewise.
15167 * sunrpc/rpc/auth_unix.h: Likewise.
15168 * sunrpc/rpc/clnt.h: Likewise.
15169 * sunrpc/rpc/des_crypt.h: Likewise.
15170 * sunrpc/rpc/key_prot.h: Likewise.
15171 * sunrpc/rpc/netdb.h: Likewise.
15172 * sunrpc/rpc/pmap_clnt.h: Likewise.
15173 * sunrpc/rpc/pmap_prot.h: Likewise.
15174 * sunrpc/rpc/pmap_rmt.h: Likewise.
15175 * sunrpc/rpc/rpc.h: Likewise.
15176 * sunrpc/rpc/rpc_des.h: Likewise.
15177 * sunrpc/rpc/rpc_msg.h: Likewise.
15178 * sunrpc/rpc/svc.h: Likewise.
15179 * sunrpc/rpc/svc_auth.h: Likewise.
15180 * sunrpc/rpc/types.h: Likewise.
15181 * sunrpc/rpc/xdr.h: Likewise.
15182 * sunrpc/rpc_clntout.c: Likewise.
15183 * sunrpc/rpc_cmsg.c: Likewise.
15184 * sunrpc/rpc_common.c: Likewise.
15185 * sunrpc/rpc_cout.c: Likewise.
15186 * sunrpc/rpc_dtable.c: Likewise.
15187 * sunrpc/rpc_hout.c: Likewise.
15188 * sunrpc/rpc_main.c: Likewise.
15189 * sunrpc/rpc_parse.c: Likewise.
15190 * sunrpc/rpc_parse.h: Likewise.
15191 * sunrpc/rpc_prot.c: Likewise.
15192 * sunrpc/rpc_sample.c: Likewise.
15193 * sunrpc/rpc_scan.c: Likewise.
15194 * sunrpc/rpc_scan.h: Likewise.
15195 * sunrpc/rpc_svcout.c: Likewise.
15196 * sunrpc/rpc_tblout.c: Likewise.
15197 * sunrpc/rpc_util.c: Likewise.
15198 * sunrpc/rpc_util.h: Likewise.
15199 * sunrpc/rpcinfo.c: Likewise.
15200 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15201 * sunrpc/rpcsvc/key_prot.x: Likewise.
15202 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15203 * sunrpc/rpcsvc/mount.x: Likewise.
15204 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15205 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15206 * sunrpc/rpcsvc/rex.x: Likewise.
15207 * sunrpc/rpcsvc/rstat.x: Likewise.
15208 * sunrpc/rpcsvc/rusers.x: Likewise.
15209 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15210 * sunrpc/rpcsvc/spray.x: Likewise.
15211 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15212 * sunrpc/rtime.c: Likewise.
15213 * sunrpc/svc.c: Likewise.
15214 * sunrpc/svc_auth.c: Likewise.
15215 * sunrpc/svc_authux.c: Likewise.
15216 * sunrpc/svc_raw.c: Likewise.
15217 * sunrpc/svc_run.c: Likewise.
15218 * sunrpc/svc_simple.c: Likewise.
15219 * sunrpc/svc_tcp.c: Likewise.
15220 * sunrpc/svc_udp.c: Likewise.
15221 * sunrpc/svc_unix.c: Likewise.
15222 * sunrpc/svcauth_des.c: Likewise.
15223 * sunrpc/xcrypt.c: Likewise.
15224 * sunrpc/xdr.c: Likewise.
15225 * sunrpc/xdr_array.c: Likewise.
15226 * sunrpc/xdr_float.c: Likewise.
15227 * sunrpc/xdr_mem.c: Likewise.
15228 * sunrpc/xdr_rec.c: Likewise.
15229 * sunrpc/xdr_ref.c: Likewise.
15230 * sunrpc/xdr_sizeof.c: Likewise.
15231 * sunrpc/xdr_stdio.c: Likewise.
15233 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15236 2010-08-19 Andreas Schwab <schwab@redhat.com>
15238 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15240 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
15242 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15243 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15244 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15245 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15246 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15247 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15248 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15249 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15250 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15251 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15252 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15253 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15254 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15255 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15257 2010-07-26 Anton Blanchard <anton@samba.org>
15259 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15260 * malloc/arena.c (heap_trim): Likewise.
15262 2010-08-16 Ulrich Drepper <drepper@redhat.com>
15264 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15266 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15267 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15269 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15271 * sysdeps/i386/elf/Makefile: New file.
15273 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15275 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15276 from fanotify_init.
15277 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15278 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15280 2010-08-15 Ulrich Drepper <drepper@redhat.com>
15282 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15284 * sysdeps/multiarch/strcmp.S: Likewise.
15286 2010-08-14 Ulrich Drepper <drepper@redhat.com>
15288 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15289 strncase_l-nonascii.
15290 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15291 Add strncase_l-ssse3.
15292 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15293 * sysdeps/x86_64/strcmp.S: Likewise.
15294 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15295 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15296 * sysdeps/x86_64/strncase.S: New file.
15297 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15298 * sysdeps/x86_64/strncase_l.S: New file.
15299 * string/Makefile (strop-tests): Add strncasecmp.
15300 * string/test-strncasecmp.c: New file.
15302 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15305 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15306 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15308 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15310 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15312 2010-08-12 Ulrich Drepper <drepper@redhat.com>
15314 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15315 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15316 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15318 2010-05-01 Alan Modra <amodra@gmail.com>
15320 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15321 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15322 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15323 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15324 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15325 tidying. Don't tail-call __sigjmp_save for static lib.
15326 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15328 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15329 (CALL_MCOUNT): Add eh info, and nop after bl.
15330 (TAIL_CALL_SYSCALL_ERROR): New macro.
15331 (PSEUDO_RET): Use it.
15332 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15333 Correct save location of integer regs and cr.
15334 (_dl_profile_resolve): Correct cr save location. Delete nops
15335 after bl when SHARED. Reduce cfi size a little by better
15336 placement of cfi directives.
15337 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15338 make a stack frame. Instead use parm save area as a temp.
15339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15340 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15342 Don't make a stack frame for parent, use parm save area.
15343 Increase child stack frame to 112 bytes. Don't save unused reg,
15344 and adjust reg usage. Set up cfi on error recovery and
15345 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15347 (__makecontext): Add dummy nop after jump to exit.
15348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15349 Use correct parm save area and cr save, reduce stack frame.
15350 Correct cfi for possible PSEUDO_RET frame setup.
15351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15352 Branch to local label emitted by PSEUDO_RET rather than
15355 2010-08-12 Andreas Schwab <schwab@redhat.com>
15358 * locale/programs/locale.c (print_assignment): New function.
15359 (show_locale_vars): Use it.
15361 2010-08-11 Ulrich Drepper <drepper@redhat.com>
15363 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15365 (struct statfs64): Likewise.
15366 (_STATFS_F_FLAGS): Define.
15367 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15368 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15369 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15370 (ST_VALID): Define locally.
15371 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15372 __statvfs_getflags, use the provided value.
15373 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15374 __ASSUME_STATFS_F_FLAGS.
15376 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15378 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15379 Add sys/fanotify.h.
15380 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15381 fanotify_mask for GLIBC_2.13.
15382 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15383 fanotify_init and fanotify_mark.
15384 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15385 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15387 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15389 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15390 prlimit64 for GLIBC_2.13.
15391 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15393 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15396 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15397 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15398 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15399 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15401 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15404 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15405 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15407 * nss/Makefile: Add rules to build and run tst-nss-test1.
15408 * shlib-versions: Add entry for libnss_test1.
15409 * nss/nss_test1.c: New file.
15410 * nss/tst-nss-test1.c: New file.
15412 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15413 (__nss_configure_lookup): Set appropriate entry in
15414 __nss_configure_lookup to true.
15415 * nss/nsswitch.h: Define enum with indeces of databases in
15416 databases and __nss_database_custom arrays. Declare
15417 __nss_database_custom.
15418 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15419 to avoid using nscd when custom rules are installed.
15420 * nss/getXXbyYY_r.c: Likewise.
15421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15423 * nss/nss_files/files-parse.c: Whitespace fixes.
15425 2010-08-09 Ulrich Drepper <drepper@redhat.com>
15428 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15429 * posix/fnmatch_loop.c: Likewise.
15431 2010-07-17 Andi Kleen <ak@linux.intel.com>
15433 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15434 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15435 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15436 * Versions.def [GLIBC_2.13]: Add.
15438 2010-08-06 Ulrich Drepper <drepper@redhat.com>
15440 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15441 Also fail if tpwd after pwuid call is NULL.
15443 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15445 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15446 when converting to ms.
15448 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15450 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15451 EOPNOTSUPP errors with ENOTTY.
15452 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15453 EOPNOTSUPP errors with ENOTTY.
15455 2010-07-31 Ulrich Drepper <drepper@redhat.com>
15457 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15458 Add strcasecmp_l-ssse3.
15459 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15461 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15462 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15463 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15465 2010-07-30 Ulrich Drepper <drepper@redhat.com>
15467 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15469 * string/Makefile (strop-tests): Add strcasecmp.
15470 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15471 strcasecmp_l-nonascii.
15472 (gen-as-const-headers): Add locale-defines.sym.
15473 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15474 * sysdeps/x86_64/strcasecmp.S: New file.
15475 * sysdeps/x86_64/strcasecmp_l.S: New file.
15476 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15477 * sysdeps/x86_64/locale-defines.sym: New file.
15478 * string/test-strcasecmp.c: New file.
15480 * string/test-strcasestr.c: Test both ends of the range of characters.
15481 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15483 2010-07-29 Roland McGrath <roland@redhat.com>
15486 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15488 2010-07-27 Ulrich Drepper <drepper@redhat.com>
15490 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15493 2010-07-27 Andreas Schwab <schwab@redhat.com>
15495 * manual/memory.texi (Malloc Tunable Parameters): Document
15498 2010-07-26 Roland McGrath <roland@redhat.com>
15501 * configure.in (-fgnu89-inline check): Set and substitute
15502 gnu89_inline, not libc_cv_gnu89_inline.
15503 * configure: Regenerated.
15504 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15506 2010-07-26 Ulrich Drepper <drepper@redhat.com>
15508 * string/test-strnlen.c: New file.
15509 * string/Makefile (strop-tests): Add strnlen.
15510 * string/tester.c (test_strnlen): Add a few more test cases.
15511 * string/tst-strlen.c: Better error reporting.
15513 * sysdeps/x86_64/strnlen.S: New file.
15515 2010-07-24 Ulrich Drepper <drepper@redhat.com>
15517 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15518 lower-latency instructions.
15520 2010-07-23 Ulrich Drepper <drepper@redhat.com>
15522 * string/test-strcasestr.c: New file.
15523 * string/test-strstr.c: New file.
15524 * string/Makefile (strop-tests): Add strstr and strcasestr.
15525 * string/str-two-way.h: Don't undefine MAX.
15526 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15528 2010-07-21 Andreas Schwab <schwab@redhat.com>
15530 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15531 strcasestr-nonascii.
15532 (CFLAGS-strcasestr-nonascii.c): Define.
15533 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15534 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15535 Remove unused attribute.
15537 2010-07-20 Roland McGrath <roland@redhat.com>
15539 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15540 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15541 ld.so.cache was broken. With it, there is no way to disable dsocaps
15542 like LD_HWCAP_MASK can disable hwcaps.
15544 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15546 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15548 2010-07-16 Ulrich Drepper <drepper@redhat.com>
15550 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15551 call in strcasestr.
15552 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15553 __strcasestr_sse42_nonascii.
15554 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15555 strcasestr-nonascii.c.
15556 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15558 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
15560 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15561 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15562 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15563 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15565 2010-07-09 Ulrich Drepper <drepper@redhat.com>
15567 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15570 2010-07-06 Andreas Schwab <schwab@redhat.com>
15573 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15576 2010-07-06 Ulrich Drepper <drepper@redhat.com>
15578 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15579 _PC_PIPE_BUF using F_GETPIPE_SZ.
15581 2010-07-05 Roland McGrath <roland@redhat.com>
15583 * manual/arith.texi (Rounding Functions): Fix rint description
15584 implicit in round description.
15586 2010-07-02 Ulrich Drepper <drepper@redhat.com>
15588 * elf/Makefile: Fix linking for a few tests to make recent linker
15591 2010-06-30 Andreas Schwab <schwab@redhat.com>
15593 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15594 $(common-objpfx)libc_nonshared.a.
15596 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
15598 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15599 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15600 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15601 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15602 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15603 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15604 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15605 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
15616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
15618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
15620 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
15621 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15622 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15623 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15624 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15625 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15626 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15627 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15628 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15629 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15630 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15631 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15647 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15649 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15650 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15651 * string/memmove.c (memmove): Renamed to ...
15652 (MEMMOVE): ...this. Default to memmove.
15653 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15654 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15656 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15657 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15658 mempcpy-ssse3-back memmove-ssse3-back.
15659 * sysdeps/x86_64/multiarch/bcopy.S: New file .
15660 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15661 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15662 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15663 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15664 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15665 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15666 * sysdeps/x86_64/multiarch/memmove.c: New file.
15667 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15668 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15669 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15670 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
15671 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
15672 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
15674 (index_Fast_Copy_Backward): Define.
15675 (HAS_ARCH_FEATURE): Define.
15676 (HAS_FAST_REP_STRING): Define.
15677 (HAS_FAST_COPY_BACKWARD): Define.
15679 2010-06-21 Andreas Schwab <schwab@redhat.com>
15681 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15682 Restore proper fallback handling.
15684 2010-06-19 Ulrich Drepper <drepper@redhat.com>
15687 * posix/group_member.c (__group_member): Correct checking loop.
15689 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
15690 OOM in getpwuid_r correctly. Return error number when the caller
15691 should return, otherwise -1.
15692 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
15693 call returning > 0 value.
15694 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
15696 2010-06-07 Andreas Schwab <schwab@redhat.com>
15698 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
15699 libc_nonshared.a from targets in modules-names.
15701 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
15703 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
15706 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
15708 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
15709 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
15710 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
15711 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
15713 2010-06-02 Andreas Schwab <schwab@redhat.com>
15715 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
15717 2010-06-14 Ulrich Drepper <drepper@redhat.com>
15719 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
15721 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15722 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15723 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15724 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15725 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15726 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
15728 2010-06-14 Roland McGrath <roland@redhat.com>
15730 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
15732 2010-06-07 Jakub Jelinek <jakub@redhat.com>
15734 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
15735 __REDIRECT followed by __THROW.
15736 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
15737 * posix/getopt.h (getopt): Likewise.
15739 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15741 * hurd/lookup-at.c (__file_name_lookup_at): Accept
15742 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
15743 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
15745 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
15746 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
15748 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
15750 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
15752 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
15755 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15756 Properly check family and model.
15758 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
15760 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
15762 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
15764 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
15766 2010-05-21 Ulrich Drepper <drepper@redhat.com>
15768 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
15771 2010-05-19 Andreas Schwab <schwab@redhat.com>
15773 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
15776 2010-05-21 Andreas Schwab <schwab@redhat.com>
15778 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
15779 and internal_recvmmsg.
15780 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
15781 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
15782 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
15783 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
15785 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
15786 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15787 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15789 2010-05-20 Andreas Schwab <schwab@redhat.com>
15791 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
15793 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
15795 POWER7 optimizations.
15796 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
15797 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
15799 2010-05-19 Ulrich Drepper <drepper@redhat.com>
15801 * version.h: Update for 2.13 development version.
15803 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
15805 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
15806 exceptions. Return 0.
15808 2010-05-07 Roland McGrath <roland@redhat.com>
15810 * elf/ldconfig.c (main): Add a const.
15812 2010-05-06 Ulrich Drepper <drepper@redhat.com>
15814 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
15815 (args_options): Add no-idn option.
15816 (ahosts_keys_int): Add idn_flags to ai_flags.
15817 (parse_option): Handle 'i' option to clear idn_flags.
15819 * malloc/malloc.c (_int_free): Possible race in the most recently
15820 added check. Only act on the data if no current modification
15823 See ChangeLog.17 for earlier changes.