1 2012-05-25 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4 * sysdeps/x86_64/setjmp.S: Likewise.
5 * sysdeps/i386/bsd-setjmp.S: Likewise.
6 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7 * sysdeps/i386/setjmp.S: Likewise.
8 * sysdeps/i386/__longjmp.S: Likewise.
9 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12 * include/stap-probe.h: New file.
13 * configure.in: Handle --enable-systemtap.
14 * configure: Regenerated.
15 * config.h.in (USE_STAP_PROBE): New #undef.
16 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20 2012-05-25 Joseph Myers <joseph@codesourcery.com>
23 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24 to 2.4.0 where earlier.
25 * sysdeps/unix/sysv/linux/configure: Regenerated.
26 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28 [__ASSUME_32BITUIDS]: Make code unconditional.
29 [!__ASSUME_32BITUIDS]: Remove conditional code.
30 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32 [__ASSUME_32BITUIDS]: Make code unconditional.
33 [!__ASSUME_32BITUIDS]: Remove conditional code.
34 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
35 [__ASSUME_32BITUIDS]: Make code unconditional.
36 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
37 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39 [__ASSUME_32BITUIDS]: Make code unconditional.
40 [!__ASSUME_32BITUIDS]: Remove conditional code.
41 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
43 [__ASSUME_32BITUIDS]: Make code unconditional.
44 [!__ASSUME_32BITUIDS]: Remove conditional code.
45 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
47 [__ASSUME_32BITUIDS]: Make code unconditional.
48 [!__ASSUME_32BITUIDS]: Remove conditional code.
49 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
51 [__ASSUME_32BITUIDS]: Make code unconditional.
52 [!__ASSUME_32BITUIDS]: Remove conditional code.
53 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55 [__ASSUME_32BITUIDS]: Make code unconditional.
56 [!__ASSUME_32BITUIDS]: Remove conditional code.
57 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
59 [__ASSUME_32BITUIDS]: Make code unconditional.
60 [!__ASSUME_32BITUIDS]: Remove conditional code.
61 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
63 [__ASSUME_32BITUIDS]: Make code unconditional.
64 [!__ASSUME_32BITUIDS]: Remove conditional code.
65 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
67 [__ASSUME_32BITUIDS]: Make code unconditional.
68 [!__ASSUME_32BITUIDS]: Remove conditional code.
69 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
71 [__ASSUME_32BITUIDS]: Make code unconditional.
72 [!__ASSUME_32BITUIDS]: Remove conditional code.
73 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
75 [__ASSUME_32BITUIDS]: Make code unconditional.
76 [!__ASSUME_32BITUIDS]: Remove conditional code.
77 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
79 [__NR_setresgid] (__setresgid): Do not declare.
80 [__ASSUME_32BITUIDS]: Make code unconditional.
81 [!__ASSUME_32BITUIDS]: Remove conditional code.
82 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
84 [__NR_setresuid] (__setresuid): Do not declare.
85 [__ASSUME_32BITUIDS]: Make code unconditional.
86 [!__ASSUME_32BITUIDS]: Remove conditional code.
87 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
89 [__ASSUME_32BITUIDS]: Make code unconditional.
90 [!__ASSUME_32BITUIDS]: Remove conditional code.
91 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
93 [__ASSUME_32BITUIDS]: Make code unconditional.
94 [!__ASSUME_32BITUIDS]: Remove conditional code.
95 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
97 [__ASSUME_32BITUIDS]: Make code unconditional.
98 [!__ASSUME_32BITUIDS]: Remove conditional code.
99 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
101 [__ASSUME_32BITUIDS]: Make code unconditional.
102 [!__ASSUME_32BITUIDS]: Remove conditional code.
103 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
105 [__ASSUME_32BITUIDS]: Make code unconditional.
106 [!__ASSUME_32BITUIDS]: Remove conditional code.
107 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
109 [__ASSUME_32BITUIDS]: Make code unconditional.
110 [!__ASSUME_32BITUIDS]: Remove conditional code.
111 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
113 [__ASSUME_32BITUIDS]: Make code unconditional.
114 [!__ASSUME_32BITUIDS]: Remove conditional code.
115 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
117 [__ASSUME_32BITUIDS]: Make code unconditional.
118 [!__ASSUME_32BITUIDS]: Remove conditional code.
119 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
121 [__ASSUME_32BITUIDS]: Make code unconditional.
122 [!__ASSUME_32BITUIDS]: Remove conditional code.
123 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
125 [__ASSUME_32BITUIDS]: Make code unconditional.
126 [!__ASSUME_32BITUIDS]: Remove conditional code.
127 * sysdeps/unix/sysv/linux/kernel-features.h
128 (__ASSUME_SETRESUID_SYSCALL): Remove.
129 (__ASSUME_SETRESGID_SYSCALL): Likewise.
130 (__ASSUME_32BITUIDS): Likewise.
131 (__ASSUME_LDT_WORKS): Likewise.
132 (__ASSUME_O_DIRECTORY): Likewise.
133 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
134 architecture but not kernel version.
135 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
136 (__ASSUME_MMAP2_SYSCALL): Likewise.
137 (__ASSUME_STAT64_SYSCALL): Likewise.
138 (__ASSUME_IPC64): Likewise.
139 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
141 [__ASSUME_32BITUIDS]: Make code unconditional.
142 [!__ASSUME_32BITUIDS]: Remove conditional code.
143 * sysdeps/unix/sysv/linux/opendir.c: Do not include
145 [__ASSUME_O_DIRECTORY]: Make code unconditional.
146 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
147 132096]: Remove conditional code.
148 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
149 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
151 [__ASSUME_32BITUIDS]: Make code unconditional.
152 [!__ASSUME_32BITUIDS]: Remove conditional code.
153 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
155 [__ASSUME_32BITUIDS]: Make code unconditional.
156 [!__ASSUME_32BITUIDS]: Remove conditional code.
157 * sysdeps/unix/sysv/linux/setegid.c: Do not include
159 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
161 (__setresgid): Do not declare.
162 [__ASSUME_32BITUIDS]: Make code unconditional.
163 [!__ASSUME_32BITUIDS]: Remove conditional code.
164 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
166 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
168 (__setresuid): Do not declare.
169 [__ASSUME_32BITUIDS]: Make code unconditional.
170 [!__ASSUME_32BITUIDS]: Remove conditional code.
171 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
173 [__ASSUME_32BITUIDS]: Make code unconditional.
174 [!__ASSUME_32BITUIDS]: Remove conditional code.
175 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
177 [__ASSUME_32BITUIDS]: Make code unconditional.
178 [!__ASSUME_32BITUIDS]: Remove conditional code.
180 2012-05-25 Richard Henderson <rth@twiddle.net>
182 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
183 dl_hwcap to ifunc resolver.
184 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
186 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
187 dl_hwcap to ifunc resolver.
188 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
190 2012-05-24 Joseph Myers <joseph@codesourcery.com>
193 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
194 for |x| <= 2**-26, not 2**-57.
195 * math/libm-test.inc (acos_test): Do not allow spurious underflow
198 2012-05-24 Jeff Law <law@redhat.com>
200 * stdio-common/Makefile (tests): Add bug25.
201 * stdio-common/bug25.c: New test.
203 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
206 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
207 multiple of MALLOC_ALIGNMENT in size.
208 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
210 2012-05-24 Joseph Myers <joseph@codesourcery.com>
212 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
214 (FILENAME_MAX): Use macro-int-constant.
215 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
216 (_IOFBF): Use macro-int-constant.
219 (SEEK_CUR): Likewise.
220 (SEEK_END): Likewise.
221 (SEEK_SET): Likewise.
223 (EOF): Use macro-int-constant. Require < 0.
224 (NULL): Use macro-constant. Require == 0.
225 (stdin): Require type to be FILE *.
228 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
230 (EXIT_SUCCESS): Likewise.
231 (NULL): Use macro-constant. Require == 0.
232 (RAND_MAX): Use macro-int-constant.
233 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
234 [C99-based standards] (strtof): Require function.
235 [C99-based standards] (strtold): Likewise.
236 [C99-based standards] (strtoll): Likewise.
237 [C99-based standards] (strtoull): Likewise.
238 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
239 [ISO || ISO99 || ISO11] (limits.h): Likewise.
240 [ISO || ISO99 || ISO11] (math.h): Likewise.
241 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
242 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
243 [ISO || ISO99 || ISO11] (*_t): Do not allow.
245 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
248 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
249 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
250 * intl/dgettext.c (DCGETTEXT): Likewise.
251 * intl/gettext.c (DCGETTEXT): Likewise.
252 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
253 * posix/regex_internal.h (gettext): Likewise.
254 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
256 * include/argz.h (__argz_count_internal)
257 (__argz_stringify_internal): Remove declaration.
258 (__argz_count, __argz_stringify): Declare hidden proto.
259 * intl/dcgettext.c: Remove use of INTDEF.
260 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
261 * string/argz-stringify.c: Likewise.
262 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
263 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
264 Declare hidden proto.
265 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
266 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
267 Declare hidden proto.
268 * include/stdio.h (__asprintf_internal): Don't declare.
269 (__asprintf): Don't define as macro. Declare hidden proto.
270 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
271 (__fsetlocking): Declare hidden proto.
272 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
273 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
275 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
276 (_IO_setlinebuf): Remove use of INTUSE.
277 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
278 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
279 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
281 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
282 (_IO_do_flush): Remove use of INTUSE.
283 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
284 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
285 (_IO_adjust_column, _IO_least_wmarker)
286 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
287 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
288 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
289 (_IO_default_doallocate, _IO_wdefault_doallocate)
290 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
291 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
292 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
293 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
294 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
295 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
296 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
297 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
298 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
299 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
300 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
301 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
302 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
304 (_IO_flush_all_internal, _IO_adjust_column_internal)
305 (_IO_default_uflow_internal, _IO_default_finish_internal)
306 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
307 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
308 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
309 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
310 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
311 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
312 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
313 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
314 (_IO_file_close_internal, _IO_file_close_it_internal)
315 (_IO_file_underflow_internal, _IO_file_overflow_internal)
316 (_IO_file_init_internal, _IO_file_attach_internal)
317 (_IO_file_fopen_internal, _IO_file_read_internal)
318 (_IO_file_sync_internal, _IO_file_seek_internal)
319 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
320 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
321 (_IO_str_underflow_internal, _IO_str_overflow_internal)
322 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
323 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
324 (_IO_list_all_internal, _IO_link_in_internal)
325 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
326 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
327 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
328 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
329 (_IO_do_write_internal, _IO_padn_internal)
330 (_IO_getline_info_internal, _IO_getline_internal)
331 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
332 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
333 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
334 (_IO_vfscanf_internal, _IO_vfprintf_internal)
335 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
336 (_IO_init_internal, _IO_un_link_internal): Don't declare.
337 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
338 with libc_hidden_ver, remove use of INTUSE.
339 * libio/genops.c: Likewise.
340 * libio/freopen.c: Likewise.
341 * libio/freopen64.c: Likewise.
342 * libio/iofclose.c: Likewise.
343 * libio/iofdopen.c: Likewise.
344 * libio/iofflush.c: Likewise.
345 * libio/iofflush_u.c: Likewise.
346 * libio/iofgets.c: Likewise.
347 * libio/iofgets_u.c: Likewise.
348 * libio/iofopen.c: Likewise.
349 * libio/iofopncook.c: Likewise.
350 * libio/iofread.c: Likewise.
351 * libio/iofread_u.c: Likewise.
352 * libio/ioftell.c: Likewise.
353 * libio/iofwrite.c: Likewise.
354 * libio/iogetline.c: Likewise.
355 * libio/iogets.c: Likewise.
356 * libio/iogetwline.c: Likewise.
357 * libio/iopadn.c: Likewise.
358 * libio/iopopen.c: Likewise.
359 * libio/ioseekoff.c: Likewise.
360 * libio/ioseekpos.c: Likewise.
361 * libio/iosetbuffer.c: Likewise.
362 * libio/iosetvbuf.c: Likewise.
363 * libio/ioungetc.c: Likewise.
364 * libio/ioungetwc.c: Likewise.
365 * libio/iovdprintf.c: Likewise.
366 * libio/iovsprintf.c: Likewise.
367 * libio/iovsscanf.c: Likewise.
368 * libio/memstream.c: Likewise.
369 * libio/obprintf.c: Likewise.
370 * libio/oldfileops.c: Likewise.
371 * libio/oldiofclose.c: Likewise.
372 * libio/oldiofdopen.c: Likewise.
373 * libio/oldiofopen.c: Likewise.
374 * libio/oldiopopen.c: Likewise.
375 * libio/oldstdfiles.c: Likewise.
376 * libio/putc.c: Likewise.
377 * libio/setbuf.c: Likewise.
378 * libio/setlinebuf.c: Likewise.
379 * libio/stdfiles.c: Likewise.
380 * libio/strops.c: Likewise.
381 * libio/vasprintf.c: Likewise.
382 * libio/vscanf.c: Likewise.
383 * libio/vsnprintf.c: Likewise.
384 * libio/vswprintf.c: Likewise.
385 * libio/wfiledoalloc.c: Likewise.
386 * libio/wfileops.c: Likewise.
387 * libio/wgenops.c: Likewise.
388 * libio/wmemstream.c: Likewise.
389 * libio/wstrops.c: Likewise.
390 * libio/__fpurge.c: Likewise.
391 * libio/__fsetlocking.c: Likewise.
392 * assert/assert.c: Likewise.
393 * debug/fgets_chk.c: Likewise.
394 * debug/fgets_u_chk.c: Likewise.
395 * debug/fread_chk.c: Likewise.
396 * debug/fread_u_chk.c: Likewise.
397 * debug/gets_chk.c: Likewise.
398 * debug/obprintf_chk.c: Likewise.
399 * debug/vasprintf_chk.c: Likewise.
400 * debug/vdprintf_chk.c: Likewise.
401 * debug/vsnprintf_chk.c: Likewise.
402 * debug/vsprintf_chk.c: Likewise.
403 * malloc/mtrace.c: Likewise.
404 * misc/error.c: Likewise.
405 * misc/syslog.c: Likewise.
406 * stdio-common/asprintf.c: Likewise.
407 * stdio-common/fxprintf.c: Likewise.
408 * stdio-common/getw.c: Likewise.
409 * stdio-common/isoc99_fscanf.c: Likewise.
410 * stdio-common/isoc99_scanf.c: Likewise.
411 * stdio-common/isoc99_vfscanf.c: Likewise.
412 * stdio-common/isoc99_vscanf.c: Likewise.
413 * stdio-common/isoc99_vsscanf.c: Likewise.
414 * stdio-common/printf-prs.c: Likewise.
415 * stdio-common/printf_fp.c: Likewise.
416 * stdio-common/printf_fphex.c: Likewise.
417 * stdio-common/printf_size.c: Likewise.
418 * stdio-common/putw.c: Likewise.
419 * stdio-common/scanf.c: Likewise.
420 * stdio-common/sprintf.c: Likewise.
421 * stdio-common/tmpfile.c: Likewise.
422 * stdio-common/vfprintf.c: Likewise.
423 * stdio-common/vfscanf.c: Likewise.
424 * stdlib/strfmon_l.c: Likewise.
425 * sunrpc/openchild.c: Likewise.
426 * sunrpc/xdr_stdio.c: Likewise.
427 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
428 * sysdeps/mach/hurd/tmpfile.c: Likewise.
430 2012-05-24 Roland McGrath <roland@hack.frob.com>
432 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
434 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
435 in the third column, to generate for the shared library an IFUNC
436 that uses _dl_vdso_vsym.
437 * Makerules (COMPILE.c, compile-stdin.c): New variables.
438 * Makeconfig (object-suffixes-noshared): New variable.
440 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
441 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
442 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
443 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
446 * include/sys/time.h (__gettimeofday): Remove macro.
447 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
448 * time/gettimeofday.c (__gettimeofday): Remove #undef.
450 (__gettimeofday): Add libc_hidden_def.
451 (gettimeofday): Add libc_hidden_weak.
452 * sysdeps/mach/gettimeofday.c: Likewise.
453 * sysdeps/posix/gettimeofday.c: Likewise.
454 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
455 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
456 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
457 (__gettimeofday_internal): Remove strong_alias.
458 (__gettimeofday): Add libc_hidden_def.
459 (gettimeofday): Add libc_hidden_weak.
460 * sysdeps/unix/syscalls.list (gettimeofday):
461 Remove __gettimeofday_internal alias.
463 2012-05-24 Daniel Jacobowitz <drow@false.org>
464 H.J. Lu <hongjiu.lu@intel.com>
467 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
468 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
469 (largebin_index_32_big): New.
470 (largebin_index): Use it for 16-byte alignment.
471 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
472 correction with front_misalign.
474 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
477 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
479 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
481 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
483 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
485 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
487 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
489 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
491 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
493 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
495 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
497 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
499 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
502 * scripts/data/c++-types-x32-linux-gnu.data: New file.
503 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
505 2012-05-24 Joseph Myers <joseph@codesourcery.com>
509 * math/libm-test.inc (exp_test): Add test from bug 14036.
510 (pow_test): Add test from bug 10846.
512 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
514 (special_function): Do not include flags in test name.
515 (parse_args): Likewise.
516 * sysdeps/i386/fpu/libm-test-ulps: Update.
517 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
518 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
519 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
522 * math/gen-libm-test.pl (%beautify): Add entries for underflow
524 * math/libm-test.inc ("Philosophy"): Update comment about
526 (UNDERFLOW_EXCEPTION): New macro.
527 (UNDERFLOW_EXCEPTION_OK): Likewise.
528 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
529 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
530 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
531 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
532 (INVALID_EXCEPTION_OK): Update value.
533 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
534 (OVERFLOW_EXCEPTION_OK): Likewise.
535 (IGNORE_ZERO_INF_SIGN): Likewise.
536 (test_exceptions): Handle underflow exceptions.
537 (acos_test): Update for underflow exception expectations.
538 (cexp_test): Likewise.
539 (clog_test): Likewise.
540 (clog10_test): Likewise.
541 (csqrt_test): Likewise.
542 (ctan_test): Likewise.
543 (ctanh_test): Likewise.
544 (exp_test): Likewise.
545 (exp10_test): Likewise.
546 (exp2_test): Likewise.
547 (expm1_test): Likewise.
548 (fma_test): Likewise.
551 (nexttoward_test): Likewise.
552 (pow_test): Likewise.
553 (scalbn_test): Likewise.
554 (scalbln_test): Likewise.
555 (tan_test): Likewise.
557 * sysdeps/i386/fpu/libm-test-ulps: Update.
558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
560 2012-05-23 David S. Miller <davem@davemloft.net>
562 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
563 (__libc_sigaction): Remove unused local variables.
565 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
567 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
569 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
571 mktime: avoid signed integer overflow
572 * time/mktime.c (__mktime_internal): Do not mishandle the case
573 where diff == INT_MIN.
575 mktime: simplify computation of average
576 * time/mktime.c (ranged_convert): Use new time_t_avg function
577 instead of rolling our own (probably-slower) code.
579 mktime: do not assume signed right shift propagates sign bit
580 * time/mktime.c (isdst_differ): New static function.
581 (__mktime_internal): No need to normalize tm_isdst now.
582 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
585 mktime: merge another wrapv change from gnulib
586 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
589 mktime: remove incorrect attempt at unusual arithmetics
590 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
591 The code didn't really work on such machines anyway.
592 (TYPE_MINIMUM): Assume two's complement.
593 (twos_complement_arithmetic): Verify that long_int and time_t
594 are two's complement (or unsigned, in the latter case).
596 mktime: check signed shifts on long_int and time_t, too
597 * time/mktime.c (SHR): Check that shifts work as desired
598 on the types long_int and time_t too, as SHR is used on
601 mktime: do not assume 'long' is wide enough
602 * time/mktime.c (verify): Move decl up.
603 (long_int): New type.
604 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
605 to remove assumption in the code that 'long' is wide enough to
606 store year values. This assumption is not true on x32 and on
607 some non-glibc platforms.
609 mktime: merge wrapv change from gnulib
610 * time/mktime.c (WRAPV): New macro.
611 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
612 (guess_time_tm, __mktime_internal): Do not assume that signed
613 integer overflow wraps around; modern compilers generate code
614 where this assumption is no longer valid.
616 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
618 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
619 Replace "jmp L(pseudo_end)" with "ret".
620 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
623 2012-05-23 Andreas Jaeger <aj@suse.de>
625 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
626 * sysdeps/unix/sysv/linux/poll.c: Remove file.
628 2012-05-23 Andreas Jaeger <aj@suse.de>
629 Maximilian Attems <max@stro.at>
631 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
634 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
636 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
637 code so that pseudo_end is just ret and the stack pointer is
638 correct also for static library in error case.
640 2012-05-23 Joseph Myers <joseph@codesourcery.com>
642 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
643 move to syscalls.list.
644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
649 * manual/install.texi (Running make install): Do not mention Linux
650 kernel version for which pt_chown is not needed.
651 (Linux): Do not mention problems with nscd with 2.0 kernels.
652 * INSTALL: Regenerated.
654 2012-05-23 Andreas Jaeger <aj@suse.de>
656 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
657 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
659 * sysdeps/unix/sysv/linux/s390/bits/mman.h
660 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
661 * sysdeps/unix/sysv/linux/sh/bits/mman.h
662 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
663 * sysdeps/unix/sysv/linux/i386/bits/mman.h
664 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
665 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
666 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
667 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
668 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
669 * sysdeps/unix/sysv/linux/bits/in.h
670 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
672 2012-05-22 Roland McGrath <roland@hack.frob.com>
674 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
675 (PREPARE_VERSION): Just use assert instead, it will be elided
676 under [NDEBUG] anyway.
678 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
680 * sysdeps/unix/sysv/linux/Makefile: Include
681 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
682 (sysdep_routines): Remove sysctl.
683 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
684 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
685 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
686 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
687 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
689 2012-05-22 Andreas Jaeger <aj@suse.de>
691 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
692 that pseudo_end is just ret and the stack pointer is correct also
693 for static library in error case.
695 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
698 * nss/nsswitch.c (defconfig_entries): New variable.
699 (__nss_database_lookup): Don't leak defconfig entries.
700 (nss_parse_service_list): Don't leak on error paths.
701 (free_database_entries): New function.
702 (free_defconfig): New function.
703 (free_mem): Move common code to free_database_entries.
705 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
707 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
709 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
711 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
712 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
713 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
715 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
716 (INTERNAL_SYSCALL_TYPES): Likewise.
717 (LOAD_ARGS_TYPES_[1-6]): Likewise.
718 (LOAD_REGS_TYPES_[1-6]): Likewise.
719 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
720 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
722 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
724 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
725 copysignl for GLIBC_2_0.
726 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
727 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
728 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
730 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
731 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
733 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
735 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
736 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
738 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
741 * time/mktime.c: Update copyright years.
743 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
745 mktime: merge comment-quoting-style change from gnulib
746 * time/mktime.c: Quote 'like this' in comments.
747 The GNU coding standards suggest that we no longer quote `like this',
748 as "`" and "'" are typically rendered asymmetrically nowadays.
749 The typical gnulib style is to quote 'like this' when quoting
750 code, and "like this" when quoting English.
752 * time/mktime.c (compile-command): Add "-I.".
754 mktime: merge mktime-internal.h change from gnulib
755 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
757 mktime: merge time_r change from gnulib
758 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
760 mktime: merge DEBUG change from gnulib
761 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
762 case system <time.h> has a #define.
764 mktime: merge <sys/types.h> change from gnulib
765 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
766 since <time.t> is now guaranteed to define time_t.
768 mktime: merge HAVE_CONFIG_H change from gnulib
769 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
771 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
773 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
776 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
778 (struct rusage): Use anonymous union to pad each field to
781 2012-05-21 David S. Miller <davem@davemloft.net>
783 * Makefules (o-iterator): Remove .s cases.
784 (compile-command.s): Delete.
786 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
788 2012-05-21 Joseph Myers <joseph@codesourcery.com>
790 * configure.in (libc_cv_predef_stack_protector): Only consider
791 "foobar" and "__stack_chk_fail" lines in libc_undefs.
792 * configure: Regenerated.
794 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
796 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
797 New macro. Use R*LP on int and pointer.
798 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
799 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
800 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
801 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
803 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
804 [__WORDSIZE_TIME64_COMPAT32] instead of
805 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
806 (struct utmp): Likewise.
807 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
808 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
810 (__WORDSIZE_TIME64_COMPAT32): This.
811 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
812 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
813 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
814 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
815 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
816 (__WORDSIZE_TIME64_COMPAT32): New macro.
818 2012-05-21 Andreas Jaeger <aj@suse.de>
820 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
821 only if [SHARED]. Add prototype for __wcschr_ia32.
823 2012-05-21 Roland McGrath <roland@hack.frob.com>
825 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
826 of %rbp unmolested in the jmp_buf while mangling the low bits.
827 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
828 unmolested high bits of %rbp while demangling the low bits.
829 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
831 2012-05-21 Andreas Jaeger <aj@suse.de>
833 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
834 * sunrpc/svc_simple.c: Use it for registerrpc.
835 * sunrpc/xcrypt.c: Use it for passwd2des.
837 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
839 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
841 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
842 Don't define if [__SYSCALL_WORDSIZE != 32].
843 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
846 2012-05-21 Bruno Haible <bruno@clisp.org>
847 Andreas Jaeger <aj@suse.de>
849 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
850 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
851 inptr and inend for must_buffer_ch.
852 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
853 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
854 * stdio-common/Makefile (tests): Remove bug15.
855 (bug15-ENV): Remove macro.
856 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
859 2012-05-19 Andreas Jaeger <aj@suse.de>
860 Roland McGrath <roland@hack.frob.com>
862 * manual/contrib.texi: Completely rewritten. It contains now an
863 alphabetical list of contributors and their contributions.
865 2012-05-21 Richard Henderson <rth@twiddle.net>
867 * misc/getauxval.c (__getauxval): Use unsigned long int.
868 * misc/sys/auxv.h: Include <sys/cdefs.h>.
869 (getauxval): Use unsigned long int.
871 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
873 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
875 2012-05-21 Roland McGrath <roland@hack.frob.com>
877 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
878 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
879 __alignof__ (long double).
881 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
885 2012-05-20 Richard Henderson <rth@twiddle.net>
887 * misc/getauxval.c: New file.
888 * misc/sys/auxv.h: New file.
889 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
890 (routines): Add getauxval.
891 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
892 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
893 * elf/dl-sysdep.c (_dl_auxv): Remove.
894 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
895 * elf/dl-support.c (_dl_auxv): New variable.
896 (_dl_aux_init): Initialize it.
897 * manual/startup.texi (Auxiliary Vector): New node.
898 * sysdeps/generic/bits/hwcap.h: New file.
899 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
900 * sysdeps/powerpc/sysdep.h: ... here. Include it.
901 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
902 * sysdeps/sparc/sysdep.h: ... here. Include it.
903 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
904 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
910 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
912 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
916 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
920 2012-05-19 David S. Miller <davem@davemloft.net>
922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
924 2012-05-19 Joseph Myers <joseph@codesourcery.com>
927 * math/s_ccosh.c: Include <float.h>
928 (__ccosh): Avoid internal overflow calculating sinh and cosh
929 values before multiplying by sin and cos values.
930 * math/s_ccoshf.c: Likewise.
931 * math/s_ccoshl.c: Likewise.
932 * math/s_csin.c: Likewise.
933 * math/s_csinf.c: Likewise.
934 * math/s_csinl.c: Likewise.
935 * math/s_csinh.c: Likewise.
936 * math/s_csinhf.c: Likewise.
937 * math/s_csinhl.c: Likewise.
938 * math/libm-test.inc (ccos_test): Add more tests.
939 (ccosh_test): Likewise.
940 (csin_test): Likewise.
941 (csinh_test): Likewise.
942 * sysdeps/i386/fpu/libm-test-ulps: Update.
943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
945 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
947 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
948 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
950 * sysdeps/x86_64/x32/_itoa.h: Add comment.
952 2012-05-19 Joseph Myers <joseph@codesourcery.com>
954 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
955 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
956 * sysdeps/powerpc/soft-fp/Versions: Likewise.
957 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
958 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
959 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
960 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
961 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
962 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
963 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
964 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
965 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
966 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
967 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
968 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
969 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
970 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
971 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
972 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
973 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
974 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
975 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
976 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
977 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
978 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
979 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
980 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
981 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
982 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
983 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
984 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
986 2012-05-18 Andreas Jaeger <aj@suse.de>
988 * csu/.gitignore: Delete.
990 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
992 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
993 (timex): Use __syscall_slong_t.
995 2012-05-18 Andreas Jaeger <aj@suse.de>
996 Carlos O'Donell <carlos_odonell@mentor.com>
998 * manual/install.texi (Configuring and compiling): Update
999 description about files modified in the source directory.
1000 * INSTALL: Regenerated.
1002 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1004 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1005 value. Use "or" to set return value to -1.
1006 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1007 negate return value.
1009 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1011 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1012 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1013 failure if the compiler has Graphite support disabled.
1014 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1016 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1017 CFLAGS-memmove.c): Likewise.
1018 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1021 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1023 * sysdeps/x86_64/x32/_itoa.h: New file.
1025 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1026 getdents system call only if kernel and user dirents have the
1027 same d_ino and d_off.
1029 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1030 LLONG_MAX != LONG_MAX.
1031 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1032 (_fitoa_word): Likewise.
1034 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1036 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1037 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1038 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1040 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1041 include <bits/wordsize.h>. Check __x86_64__ instead of
1043 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1044 if __x86_64__ is defined. Use anonymous union on fpstate.
1046 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1049 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1051 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1052 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1053 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1054 Refer to _rtld_local_ro instead of _rtld_global_ro.
1055 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1057 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1059 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1061 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1062 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1063 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1065 * sysdeps/powerpc/powerpc32/dl-machine.c
1066 (__elf_machine_runtime_setup) [PROF]: Don't reference
1069 2012-05-18 Andreas Jaeger <aj@suse.de>
1071 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1072 function only available for GCCs before 3.4 since GCC 3.4
1073 introduced a builtin.
1075 (llrintf): Likewise.
1083 (nearbyint): Likewise.
1084 (nearbyintf): Likewise.
1090 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1092 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1093 on both fields and cast pointer to __syscall_ulong_t.
1095 * bits/types.h (__fsword_t): New type.
1096 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1097 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1098 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1099 (__FSWORD_T_TYPE): Likewise.
1100 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1101 (__FSWORD_T_TYPE): Likewise.
1102 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1103 (__FSWORD_T_TYPE): Likewise.
1104 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1105 (__FSWORD_T_TYPE): Likewise.
1106 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1107 __SWORD_TYPE with __fsword_t.
1108 (statfs64): Likewise.
1110 2012-05-17 David S. Miller <davem@davemloft.net>
1112 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1114 2012-05-17 Andreas Jaeger <aj@suse.de>
1116 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1119 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1121 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1123 2012-05-17 Andreas Jaeger <aj@suse.de>
1125 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1128 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1130 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1132 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1134 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1135 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1137 2012-05-17 Andreas Jaeger <aj@suse.de>
1138 Carlos O'Donell <carlos_odonell@mentor.com>
1141 * sysdeps/x86_64/multiarch/init-arch.h
1142 (bit_YMM_Usable): Rename to...
1143 (bit_AVX_Usable): ... this.
1144 (bit_FMA4_Usable): New macro.
1145 (bit_XMM_state): New macro.
1146 (bit_YMM_state): New macro.
1147 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1148 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1149 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1150 (CPUID_OSXSAVE): New macro.
1151 (CPUID_AVX): New macro.
1152 (CPUID_FMA4): New macro.
1153 (index_YMM_Usable): Rename to...
1154 (index_AVX_Usable): ... this.
1155 (HAS_AVX): Use HAS_ARCH_FEATURE.
1156 (HAS_FMA4): Likewise.
1157 (HAS_YMM_USABLE): Remove.
1158 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1159 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1161 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1162 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1163 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1164 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1165 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1167 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1169 * math/libm-test.c: Support platforms without multiple rounding modes.
1170 * math/bug-nextafter.c: Support platforms without FP exceptions.
1171 * math/bug-nexttoward.c: Likewise.
1172 * math/test-fenv.c: Likewise.
1173 * math/test-misc.c: Likewise.
1174 * stdlib/bug-getcontext.c: Likewise.
1176 2012-05-17 Andreas Jaeger <aj@suse.de>
1178 * manual/examples/search.c (critter_cmp): Change signature to
1180 * manual/string.texi (Collation Functions): Likewise.
1182 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1184 * bits/types.h: Fold copyright years.
1185 * bits/typesizes.h: Likewise.
1186 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1187 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1188 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1189 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1190 * time/time.h: Likewise.
1192 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1195 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1196 in instead of returning them. Return void.
1197 (__libc_mallinfo): Accumulate over all arenas.
1198 (__malloc_stats): Adjust for change in int_mallinfo interface.
1200 2012-05-16 Roland McGrath <roland@hack.frob.com>
1203 * configure.in (NM): Add AC_CHECK_TOOL for it.
1204 (libc_extra_cflags): New substituted variable.
1205 Check for -fstack-protector being used implicitly.
1206 * configure: Regenerated.
1207 * config.make.in (config-extra-cflags): New variable,
1208 gets @libc_extra_cflags@.
1209 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1212 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1213 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1214 * configure: Regenerated.
1215 * config.make.in (CPPUNDEFS): New substituted variable.
1216 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1217 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1218 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1220 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1222 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1223 (mq_attr): Use __syscall_slong_t.
1225 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1227 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1228 Check __x86_64__ instead of __WORDSIZE.
1229 (_STAT_VER_LINUX): Likewise.
1230 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1231 __syscall_ulong_t and __syscall_slong_t.
1234 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1236 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1238 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1240 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1242 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1244 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1247 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1248 include <bits/wordsize.h>. Check __x86_64__ instead of
1250 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1252 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1254 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1255 include <bits/wordsize.h>. Check __x86_64__ instead of
1257 (user_regs_struct): Use "__extension__ unsigned long long"
1258 instead of "unsigned long" if __x86_64__ is defined.
1259 (user): Likewise. Pad after pointer field if __ILP32__ is
1262 2012-05-16 Joseph Myers <joseph@codesourcery.com>
1264 * configure.in (makeinfo): Require version 4.5 or later. Allow
1266 * configure: Regenerated.
1267 * manual/install.texi (texinfo): Increase version requirement to
1269 * INSTALL: Regenerated.
1271 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1273 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1275 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1277 * sysdeps/x86_64/x32/ffs.c: New file.
1279 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1281 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1282 defined. Use __syscall_ulong_t.
1283 (shminfo): Use __syscall_ulong_t.
1284 (shm_info): Likewise.
1286 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1289 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1291 (msgqnum_t): Use __syscall_ulong_t.
1292 (msglen_t): Likewise.
1293 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1296 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1297 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1299 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1301 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1302 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1304 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1307 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1308 include <bits/wordsize.h>. Check __x86_64__ instead of
1311 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1312 "unsigned long long int" if __x86_64__ is defined.
1313 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1315 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1316 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1317 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1319 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1321 (GET_PC): Cast to uintptr_t first.
1322 (GET_FRAME): Likewise.
1323 (GET_STACK): Likewise.
1325 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1326 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1327 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1328 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1329 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1330 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1331 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1332 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1333 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1334 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1335 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1336 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1337 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1338 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1339 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1340 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1341 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1342 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1343 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1344 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1345 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1346 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1347 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1348 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1349 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1350 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1351 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1352 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1353 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1355 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1357 * Makerules (+depfiles): Also collect depfiles from .oS in
1359 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1360 .oS, $(libnldbl-routines)).
1362 * Makerules (native-compile-mkdep-flags): Define.
1363 * sunrpc/Makefile (extra-objs): Add $(addprefix
1364 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1365 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1366 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1367 calling $(make-target-directory).
1369 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1371 * bits/types.h (__snseconds_t): Removed.
1372 * time/time.h (struct timespec): Replace __snseconds_t with
1374 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1375 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1377 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1378 (__SNSECONDS_T_TYPE): Likewise.
1379 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1380 (__SNSECONDS_T_TYPE): Likewise.
1381 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1382 (__SNSECONDS_T_TYPE): Likewise.
1384 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1386 * sysdeps/mach/hurd/bits/typesizes.h
1387 (__SYSCALL_SLONG_TYPE): New macro.
1388 (__SYSCALL_ULONG_TYPE): Likewise.
1390 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1392 * bits/types.h (__syscall_slong_t): New type.
1393 (__syscall_ulong_t): Likewise.
1395 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1396 (__SYSCALL_ULONG_TYPE): Likewise.
1397 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1398 (__SYSCALL_SLONG_TYPE): Likewise.
1399 (__SYSCALL_ULONG_TYPE): Likewise.
1400 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1401 (__SYSCALL_SLONG_TYPE): Likewise.
1402 (__SYSCALL_ULONG_TYPE): Likewise.
1403 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1404 (__SYSCALL_SLONG_TYPE): Likewise.
1405 (__SYSCALL_ULONG_TYPE): Likewise.
1407 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1409 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1410 Add sigaltstack-offsets.sym.
1411 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1412 <sigaltstack-offsets.h>.
1413 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1414 longjmp_msg pointer.
1415 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1416 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1418 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1420 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1422 * elf/stackguard-macros.h: Remove file.
1423 * sysdeps/generic/stackguard-macros.h: New file.
1424 * sysdeps/i386/stackguard-macros.h: Likewise.
1425 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1426 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1427 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1428 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1429 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1430 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1431 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1432 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1433 <elf/stackguard-macros.h>.
1436 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1437 __aligned__ in attribute.
1438 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1439 (gregset_t): Likewise.
1441 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1443 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1444 * sysdeps/x86_64/64/Implies-after: Here. New file.
1445 * sysdeps/x86_64/x32/Implies-after: New file.
1447 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1449 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1450 and access return value for _dl_profile_fixup. Use R10_LP to
1453 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1455 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1457 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1459 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1460 * sysdeps/x86_64/x32/sysdep.h: New file.
1462 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1464 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1465 * sysdeps/x86_64/setjmp.S: Likewise.
1467 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1469 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1470 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1471 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1472 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1473 remove unused global constant.
1475 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1477 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1478 include of <not-cancel.h>.
1480 2012-05-15 Roland McGrath <roland@hack.frob.com>
1482 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1484 2012-05-15 Jeff Law <law@redhat.com>
1485 Andreas Jaeger <aj@suse.de>
1488 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1490 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1491 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1492 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1493 code changing __hst_map_handle.map.
1495 2012-05-15 Roland McGrath <roland@hack.frob.com>
1497 * configure.in (sysnames): Look for Implies-before and Implies-after
1499 * configure: Regenerated.
1501 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1503 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1504 8-byte data alignment with LP_SIZE alignment.
1506 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1508 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1511 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1513 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1515 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1517 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1518 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1519 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1521 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1523 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1525 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1526 (stackinfo_sub_sp): Likewise.
1528 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1530 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1533 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1535 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1538 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1540 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1543 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1545 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1547 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1549 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1550 into R11_LP and load __x86_64_shared_cache_size_half into
1553 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1555 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1558 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1560 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1562 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1564 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1566 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1567 powerpc32/power7/fpu/s_logb.c via #include.
1568 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1569 powerpc32/power7/fpu/s_logbf.c via #include.
1570 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
1571 powerpc32/power7/fpu/s_logbl.c via #include.
1573 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1575 * README.libm: Remove file.
1577 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1579 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1580 count for x32. Use R*_LP and omit operand-size suffix.
1582 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1584 * shlib-versions: Move x86_64-.*-linux.* entries to ...
1585 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1586 * sysdeps/x86_64/x32/shlib-versions: New file.
1588 2012-05-14 Roland McGrath <roland@hack.frob.com>
1590 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1591 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1592 Use _dl_fatal_printf instead.
1594 2012-05-14 Joseph Myers <joseph@codesourcery.com>
1596 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1597 set if not set by the user. Do not allow for being unset.
1598 * sysdeps/unix/sysv/linux/configure: Regenerated.
1600 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1602 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1603 the `q' suffix from lea and replace .quad with ASM_ADDR.
1605 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1607 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1608 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1610 (PTR_DEMANGLE): Likewise.
1612 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1614 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1616 (ASM_ADDR): Likewise.
1634 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1636 * sysdeps/x86_64/x32/dl-machine.h: New file.
1638 2012-05-14 Andreas Jaeger <aj@suse.de>
1640 * manual/Makefile (subdir): Remove export of subdir.
1641 (all): Remove target.
1642 (.PHONY): Remove all from list.
1643 (mkinstalldirs): Remove.
1644 (.PHONY): Remove installdirs from list.
1645 ($(inst_infodir)/libc.info): Use make-target-directory.
1646 (installdirs): Remove.
1648 (glibc-targets): Remove.
1651 ($(objpfx)stubs ../po/manual.pot): Remove.
1652 ($(objpfx)stamp%): Remove.
1653 (make-target-directory): Remove.
1654 (subdir_install): Remove.
1662 * manual/.gitignore: Remove, it's not needed anymore.
1663 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
1665 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
1667 (texis): Renamed to $(objpfx)texis.
1668 (texis-path): New, contains path to generated files.
1669 (chapters.%): Use texis-path for complete path, add extra argument
1671 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
1672 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
1673 (summary,texi, stamp-summary): Use complete path of
1674 files. Generate files in build dir.
1675 (dir-add.texi): Build in build dir.
1676 (libm-err.texi,stamp-libm-err): Likewise.
1677 (version.texi, stamp-version): Likewise.
1678 (.%c.texi): Likewise.
1679 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
1680 (mostlyclean): Remove target.
1681 (realclean): Remove target.
1682 (generated): Add new variable with contents from mostlyclean and
1683 realclean, remove entries duplicated in common-mostlyclean, add
1684 stamp-libm-err and stamp-version.
1685 (generated-dirs): Add libc directory.
1686 ($(inst_infodir)/libc.info): Install files from build dir.
1688 * manual/install.texi (Configuring and compiling): Adjust since
1689 the info files are not part of the tar ball anymore.
1691 2012-05-14 Andreas Jaeger <aj@suse.de>
1693 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
1696 2012-05-14 Joseph Myers <joseph@codesourcery.com>
1699 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1700 to 2.2.0 where earlier.
1701 * sysdeps/unix/sysv/linux/configure: Regenerated.
1702 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
1703 Remove conditional code.
1704 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
1705 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
1706 Remove conditional code.
1707 [!__NR_lchown]: Likewise.
1708 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1709 [__NR_lchown]: Likewise.
1710 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
1711 comment referencing __ASSUME_LCHOWN_SYSCALL.
1712 * sysdeps/unix/sysv/linux/i386/sigaction.c
1713 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1714 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1715 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
1716 Remove conditional code.
1717 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
1718 (__protocol_available): Remove #if 0 code.
1719 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
1721 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
1722 * sysdeps/unix/sysv/linux/kernel-features.h
1723 (__ASSUME_GETCWD_SYSCALL): Don't define.
1724 (__ASSUME_REALTIME_SIGNALS): Likewise.
1725 (__ASSUME_PREAD_SYSCALL): Likewise.
1726 (__ASSUME_PWRITE_SYSCALL): Likewise.
1727 (__ASSUME_POLL_SYSCALL): Likewise.
1728 (__ASSUME_LCHOWN_SYSCALL): Likewise.
1729 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
1731 (__ASSUME_SIOCGIFNAME): Don't define.
1732 (__ASSUME_MSG_NOSIGNAL): Likewise.
1733 (__ASSUME_SENDFILE): Define unconditionally.
1734 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
1735 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
1737 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
1738 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
1739 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1740 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1741 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
1742 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1743 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
1745 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1746 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1748 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1749 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
1751 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1752 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1754 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1755 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
1757 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1758 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1760 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1761 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
1763 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1764 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1766 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1767 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1768 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
1769 Remove conditional code.
1770 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1771 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1772 Remove conditional code.
1773 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1774 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
1775 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
1776 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1777 Remove conditional code.
1778 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1779 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
1780 Remove conditional code.
1781 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1782 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
1783 Remove conditional code.
1784 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1785 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1786 Remove conditional code.
1787 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1788 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1789 Remove conditional code.
1790 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1791 * sysdeps/unix/sysv/linux/sh/pwrite64.c
1792 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1793 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1794 * sysdeps/unix/sysv/linux/sigaction.c
1795 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1796 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1797 * sysdeps/unix/sysv/linux/sigpending.c
1798 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1799 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1800 * sysdeps/unix/sysv/linux/sigprocmask.c
1801 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1802 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1803 * sysdeps/unix/sysv/linux/sigsuspend.c
1804 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1805 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1806 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1807 (__libc_missing_rt_sigs): Remove.
1808 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
1809 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
1810 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
1811 Remove conditional code.
1812 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
1813 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
1815 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
1816 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
1817 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
1818 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
1820 2012-05-14 Andreas Jaeger <aj@suse.de>
1822 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
1823 it's not used in glibc.
1824 (__coshm1): Likewise.
1825 (__acosh1p): Likewise.
1828 * manual/string.texi (Copying and Concatenation): Add missing
1829 variable in concat example.
1830 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1832 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1835 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
1836 __builtin_clzl with __builtin_clzll.
1838 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1841 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
1844 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1846 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
1847 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
1848 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
1849 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
1851 2012-05-14 Mike Frysinger <vapier@gentoo.org>
1853 * NEWS: Update ia64 info.
1855 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
1857 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
1860 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
1862 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
1863 * sysdeps/unix/syscalls.list (dup3): Likewise.
1864 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1865 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1867 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1869 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1870 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1872 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1874 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1876 (TLS_IE): Use mov/add instead of movq/addq to load thread
1878 (TLS_GD_PREFIX): New.
1881 2012-05-11 David S. Miller <davem@davemloft.net>
1883 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1884 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1885 (_FPU_SETCW): Likewise.
1887 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1889 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1892 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1895 * iconvdata/gb18030.c: Update tables.
1896 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1897 characters specially.
1898 (BODY for TO_LOOP): Add encoding of missing ranges.
1900 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1903 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1904 * sysdeps/mach/hurd/dup3.c: Likewise.
1905 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1906 * sysdeps/powerpc/memmove.c:: Likewise.
1908 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1910 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1911 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1913 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1915 * elf/elf.h (R_X86_64_RELATIVE64): New.
1916 (R_X86_64_NUM): Updated.
1917 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1918 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
1919 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1920 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1921 tst-quad1pie tst-quad2pie
1922 (modules-names): Add tst-quadmod1 tst-quadmod2.
1923 ($(objpfx)tst-quad1): New dependency.
1924 ($(objpfx)tst-quad2): Likewise.
1925 ($(objpfx)tst-quad1pie): Likewise.
1926 ($(objpfx)tst-quad2pie): Likewise.
1927 * sysdeps/x86_64/tst-quad1.c: New file.
1928 * sysdeps/x86_64/tst-quad1pie.c: New file.
1929 * sysdeps/x86_64/tst-quad2.c: Likewise.
1930 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1931 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1932 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1933 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1934 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1936 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1938 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1939 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1940 * streams/stropts.h (t_scalar_t): Define type.
1942 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1943 (_PATH_PRESERVE): Set to "/var/lib".
1944 (_PATH_RWHODIR): Set to "/var/spool/rwho".
1946 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1949 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1950 if __dir_mkfile succeeded.
1952 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1953 checking for _hurd_dtablesize. Unlock it right after having
1954 finished _hurd_dtable allocation.
1956 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1958 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
1959 * sysdeps/mach/hurd/configure: Regenerated.
1960 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
1961 special-casing to...
1962 * sysdeps/gnu/configure.in: ... this new file.
1963 * sysdeps/unix/sysv/linux/configure: Regenerated.
1964 * sysdeps/gnu/configure: New generated file.
1966 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
1967 for Linux: use nsec instead of usec, as well as:
1968 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
1969 members of type struct timespec.
1970 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
1972 (struct stat64): Likewise.
1973 (_STATBUF_ST_NSEC): New macro.
1974 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
1976 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1977 __strtoul_internal rather than strtoul.
1979 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1981 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
1984 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1986 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
1987 which preserves existing values.
1988 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1990 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1992 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
1993 TIMEOUT values. Return EINVAL for NFDS values either negative or
1994 greater than FD_SETSIZE.
1996 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1998 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
1999 allocated, call __vm_protect to finish enabling the existing space, and
2000 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2001 allocate the remainder.
2003 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2005 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2006 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2008 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2010 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2011 sysdeps/mach/hurd/readlink.c.
2013 * posix/tst-sysconf.c (posix_options): Only use
2014 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2015 _POSIX_SYNCHRONIZED_IO when they are defined
2016 * sysdeps/mach/hurd/bits/posix_opt.h:
2017 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2018 (_XOPEN_REALTIME): Undefine macro.
2019 (_XOPEN_REALTIME_THREADS): Undefine macro.
2020 (_XOPEN_SHM): Undefine macro.
2021 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2023 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2025 (_POSIX_ASYNC_IO): Undefine macro.
2026 (_POSIX_PRIORITIZED_IO): Undefine macro.
2027 (_POSIX_SPIN_LOCKS): Define macro to -1.
2029 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2030 SA_NODEFER, SA_RESETHAND.
2031 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2032 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2035 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2037 * elf/Makefile (pldd-modules): Define unconditionally.
2039 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2041 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2043 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2045 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2046 Return ENOENT when name is empty.
2047 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2049 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2051 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2053 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2055 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2057 Fix mlock in all cases except non-readable pages.
2058 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2059 instead of VM_PROT_ALL as parameter to __vm_wire function.
2061 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2062 (__mkdir): When path is `/', just fail with EEXIST.
2063 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2065 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2067 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2068 <sys/uio.h> (for writev).
2069 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2070 and <sys/param.h> (for MIN).
2072 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2074 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2075 REQUESTED_TIME. Properly set the remaining time and return EINTR
2078 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2080 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2081 Depend on against $(link-rpcuserlibs).
2083 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2085 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2086 (__libc_stack_end): Do not use attribute_relro.
2087 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2088 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
2089 to libthread-provided value.
2090 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2093 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2096 * bits/libc-lock.h (__libc_once_get): New macro.
2097 * sysdeps/mach/bits/libc-lock.h: Likewise.
2098 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2099 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2100 instead of using implementation details.
2102 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2103 * libio/freopen.c: Likewise.
2104 * libio/freopen64.c: Likewise.
2105 * misc/syslog.c: Likewise.
2106 * nscd/connections.c: Likewise.
2107 * nscd/netgroupcache.c: Likewise.
2108 * sysdeps/posix/getcwd.c: Likewise.
2110 2012-05-10 Roland McGrath <roland@hack.frob.com>
2112 * math/w_ilogbf.c: Add #include <limits.h>.
2114 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2116 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
2117 path instead of returning without unlocking.
2119 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2120 immediate-write ioctls.
2121 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2123 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2125 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2126 __builtin_frame_address instead of making assumptions about the
2127 location of the return address relative to DATA. Force early load of
2129 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2130 __builtin_frame_address.
2133 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2134 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2135 implement dup3 and do some further code clean-ups.
2136 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2137 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2139 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2141 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2143 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2144 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2145 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2146 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2147 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2150 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2151 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2152 when handler == SIG_ERR, not when handler != SIG_ERR.
2154 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2156 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2157 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2160 accept4 for GNU Hurd.
2161 * include/sys/socket.h (__libc_accept4): New prototype.
2162 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2163 to implement __libc_accept4.
2164 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2166 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2168 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2169 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2170 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2173 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2175 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
2177 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2179 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2180 assertion on O_CLOEXEC flag.
2181 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2182 * hurd/intern-fd.c: Likewise.
2183 * hurd/port2fd.c: Likewise.
2185 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2188 * bits/in.h (IPV6_PKTINFO): Define new macro.
2189 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2191 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2196 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2197 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2198 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2199 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2200 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2201 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2202 * math/libm-test.inc (logb_test) : Additional logb tests.
2204 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2205 Andreas Jaeger <aj@suse.de>
2207 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2208 * configure: Regenerated.
2209 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2210 * config.make.in (link-obsolete-rpc): New substituted variable.
2211 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2212 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2213 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2214 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2215 so that libc.a contains the symbols.
2216 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2217 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2218 * sunrpc/auth_none.c: Likewise.
2219 * sunrpc/auth_unix.c: Likewise.
2220 * sunrpc/authdes_prot.c: Likewise.
2221 * sunrpc/authuxprot.c: Likewise.
2222 * sunrpc/clnt_gen.c: Likewise.
2223 * sunrpc/clnt_perr.c: Likewise.
2224 * sunrpc/clnt_raw.c: Likewise.
2225 * sunrpc/clnt_simp.c: Likewise.
2226 * sunrpc/clnt_tcp.c: Likewise.
2227 * sunrpc/clnt_udp.c: Likewise.
2228 * sunrpc/clnt_unix.c: Likewise.
2229 * sunrpc/des_crypt.c: Likewise.
2230 * sunrpc/des_soft.c: Likewise.
2231 * sunrpc/get_myaddr.c: Likewise.
2232 * sunrpc/key_call.c: Likewise.
2233 * sunrpc/key_prot.c: Likewise.
2234 * sunrpc/netname.c: Likewise.
2235 * sunrpc/pm_getmaps.c: Likewise.
2236 * sunrpc/pm_getport.c: Likewise.
2237 * sunrpc/pmap_clnt.c: Likewise.
2238 * sunrpc/pmap_prot.c: Likewise.
2239 * sunrpc/pmap_prot2.c: Likewise.
2240 * sunrpc/pmap_rmt.c: Likewise.
2241 * sunrpc/publickey.c: Likewise.
2242 * sunrpc/rpc_cmsg.c: Likewise.
2243 * sunrpc/rpc_common.c: Likewise.
2244 * sunrpc/rpc_dtable.c: Likewise.
2245 * sunrpc/rpc_prot.c: Likewise.
2246 * sunrpc/rpc_thread.c: Likewise.
2247 * sunrpc/rtime.c: Likewise.
2248 * sunrpc/svc.c: Likewise.
2249 * sunrpc/svc_auth.c: Likewise.
2250 * sunrpc/svc_raw.c: Likewise.
2251 * sunrpc/svc_run.c: Likewise.
2252 * sunrpc/svc_tcp.c: Likewise.
2253 * sunrpc/svc_udp.c: Likewise.
2254 * sunrpc/svc_unix.c: Likewise.
2255 * sunrpc/svcauth_des.c: Likewise.
2256 * sunrpc/xcrypt.c: Likewise.
2257 * sunrpc/xdr.c: Likewise.
2258 * sunrpc/xdr_array.c: Likewise.
2259 * sunrpc/xdr_float.c: Likewise.
2260 * sunrpc/xdr_intXX_t.c: Likewise.
2261 * sunrpc/xdr_mem.c: Likewise.
2262 * sunrpc/xdr_rec.c: Likewise.
2263 * sunrpc/xdr_ref.c: Likewise.
2264 * sunrpc/xdr_sizeof.c: Likewise.
2265 * sunrpc/xdr_stdio.c: Likewise.
2267 2012-05-10 Roland McGrath <roland@hack.frob.com>
2269 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2270 change. Update copyright years.
2272 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2274 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2276 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2277 Joseph Myers <joseph@codesourcery.com>
2278 Paul Pluzhnikov <ppluzhnikov@google.com>
2281 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2283 [cross-compiling] (extra-libs): Likewise.
2284 [cross-compiling] (extra-libs-others): Likewise.
2285 [cross-compiling] (librpcsvc-routines): Likewise.
2286 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2287 [cross-compiling] (omit-deps): Likewise.
2288 (sunrpc-CPPFLAGS): New variable.
2289 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2290 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2291 (cross-rpcgen-objs): New variable.
2292 (extra-objs): Append $(cross-rpcgen-objs).
2293 ($(cross-rpcgen-objs)): New rule.
2294 ($(objpfx)cross-rpcgen): Likewise.
2295 (rpcgen-cmd): Define to use $(built-program-file). Expand
2297 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2298 ($(objpfx)x%.stmp): Likewise.
2299 * sunrpc/proto.h [IS_IN_build] (_): Define.
2300 [IS_IN_build] (_libc_intl_domainname): Likewise.
2302 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2304 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2305 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2306 and R_X86_64_TPOFF64.
2308 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2310 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2311 sysdeps/unix/sysv/syscalls.list.
2314 * sysdeps/unix/sysv/syscalls.list: Remove file.
2316 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2319 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2320 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2321 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2322 (__LC_IDENTIFICATION): Make these macros useful in #if
2323 expressions, as required by C99.
2325 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2327 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2328 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2331 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2333 * stdlib/longlong.h: Updated from GCC.
2335 2012-05-09 Andreas Jaeger <aj@suse.de>
2337 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2338 default is first entry.
2339 (run_mode): Set type.
2340 (main): Remove informal message about syslog.
2341 (options): Fix typo.
2344 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
2347 (llrintf): Likewise.
2351 (nearbyint): Likewise.
2352 (nearbyintf): Likewise.
2354 2012-05-09 Andreas Jaeger <aj@suse.de>
2355 Pedro Alves <palves@redhat.com>
2357 * nscd/nscd.c (run_mode): Use enum.
2358 (main): Cleanup coding style issue.
2360 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
2361 Andreas Jaeger <aj@suse.de>
2363 * nscd/nscd.c (go_background): Replaced with...
2364 (run_mode): ... this.
2365 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
2366 (options): Add -F --foreground.
2367 (main): Implement it.
2368 (parse_opt): Parse it.
2370 2012-05-09 Andreas Jaeger <aj@suse.de>
2373 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2374 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2375 -Wconversion warning.
2376 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2379 2012-05-09 Joseph Myers <joseph@codesourcery.com>
2381 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2383 (LC_ALL): Use macro-int-constant.
2384 (LC_COLLATE): Likewise.
2385 (LC_CTYPE): Likewise.
2386 (LC_MESSAGES): Likewise.
2387 (LC_MONETARY): Likewise.
2388 (LC_NUMERIC): Likewise.
2389 (LC_TIME): Likewise.
2390 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2391 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2392 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2393 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2395 [C99-based standards] (float_t): Expect type.
2396 [C99-based standards] (double_t): Expect type.
2397 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2399 [C99-based standards] (HUGE_VALL): Likewise.
2400 [C99-based standards] (INFINITY): Likewise.
2401 [C99-based standards] (NAN): Likewise.
2402 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2403 [C99-based standards] (FP_NAN): Likewise.
2404 [C99-based standards] (FP_NORMAL): Likewise.
2405 [C99-based standards] (FP_SUBNORMAL): Likewise.
2406 [C99-based standards] (FP_ZERO): Likewise.
2407 [C99-based standards] (FP_FAST_FMA): Use
2408 optional-macro-int-constant. Specify type. Require == 1.
2409 [C99-based standards] (FP_FAST_FMAF): Likewise.
2410 [C99-based standards] (FP_FAST_FMAL): Likewise.
2411 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2412 [C99-based standards] (FP_ILOGBNAN): Likewise.
2413 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2415 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2416 [C99-based standards] (math_errhandling): Specify type.
2417 [ISO99 || ISO11] (signgam): Do not allow.
2418 [non-C99-based standards] (copysignf): Do not allow.
2419 [non-C99-based standards] (exp2f): Likewise.
2420 [non-C99-based standards] (log2f): Likewise.
2421 [non-C99-based standards] (modff): Allow.
2422 [non-C99-based standards] (erff): Do not allow.
2423 [non-C99-based standards] (erfcf): Likewise.
2424 [non-C99-based standards] (gammaf): Likewise.
2425 [non-C99-based standards] (hypotf): Likewise.
2426 [non-C99-based standards] (j0f): Likewise.
2427 [non-C99-based standards] (j1f): Likewise.
2428 [non-C99-based standards] (jnf): Likewise.
2429 [non-C99-based standards] (lgammaf): Likewise.
2430 [non-C99-based standards] (tgammaf): Likewise.
2431 [non-C99-based standards] (y0f): Likewise.
2432 [non-C99-based standards] (y1f): Likewise.
2433 [non-C99-based standards] (ynf): Likewise.
2434 [non-C99-based standards] (isnanf): Likewise.
2435 [non-C99-based standards] (acoshf): Likewise.
2436 [non-C99-based standards] (asinhf): Likewise.
2437 [non-C99-based standards] (atanhf): Likewise.
2438 [non-C99-based standards] (cbrtf): Likewise.
2439 [non-C99-based standards] (expm1f): Likewise.
2440 [non-C99-based standards] (ilogbf): Likewise.
2441 [non-C99-based standards] (log1pf): Likewise.
2442 [non-C99-based standards] (logbf): Likewise.
2443 [non-C99-based standards] (nextafterf): Likewise.
2444 [non-C99-based standards] (remainderf): Likewise.
2445 [non-C99-based standards] (rintf): Likewise.
2446 [non-C99-based standards] (scalbf): Likewise.
2447 [non-C99-based standards] (copysignl): Likewise.
2448 [non-C99-based standards] (exp2l): Likewise.
2449 [non-C99-based standards] (log2l): Likewise.
2450 [non-C99-based standards] (modfl): Allow.
2451 [non-C99-based standards] (erfl): Do not allow.
2452 [non-C99-based standards] (erfcl): Likewise.
2453 [non-C99-based standards] (gammal): Likewise.
2454 [non-C99-based standards] (hypotl): Likewise.
2455 [non-C99-based standards] (j0l): Likewise.
2456 [non-C99-based standards] (j1l): Likewise.
2457 [non-C99-based standards] (jnl): Likewise.
2458 [non-C99-based standards] (lgammal): Likewise.
2459 [non-C99-based standards] (tgammal): Likewise.
2460 [non-C99-based standards] (y0l): Likewise.
2461 [non-C99-based standards] (y1l): Likewise.
2462 [non-C99-based standards] (ynl): Likewise.
2463 [non-C99-based standards] (isnanl): Likewise.
2464 [non-C99-based standards] (acoshl): Likewise.
2465 [non-C99-based standards] (asinhl): Likewise.
2466 [non-C99-based standards] (atanhl): Likewise.
2467 [non-C99-based standards] (cbrtl): Likewise.
2468 [non-C99-based standards] (expm1l): Likewise.
2469 [non-C99-based standards] (ilogbl): Likewise.
2470 [non-C99-based standards] (log1pl): Likewise.
2471 [non-C99-based standards] (logbl): Likewise.
2472 [non-C99-based standards] (nextafterl): Likewise.
2473 [non-C99-based standards] (remainderl): Likewise.
2474 [non-C99-based standards] (rintl): Likewise.
2475 [non-C99-based standards] (scalbl): Likewise.
2476 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2477 [non-C99-based standards] (FP_*): Do not allow.
2478 [C99-based standards] (FP_*): Change to
2479 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2480 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2482 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2483 (SIG_ERR): Likewise.
2484 [X/Open-based standards] (SIG_HOLD): Likewise.
2485 (SIG_IGN): Likewise.
2486 (SIGABRT): Use macro-int-constant. Specify type. Require
2491 (SIGSEGV): Likewise.
2493 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2494 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2495 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2496 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2497 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2498 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2499 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2500 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2501 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2502 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2503 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2504 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2505 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2506 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2507 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2508 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2509 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2510 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2511 [X/Open-based standards] (SIGTRAP): Likewise.
2512 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2513 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2514 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2515 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2516 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2519 2012-05-08 Ian Wienand <ianw@vmware.com>
2522 * time/tzset.c (__tzset_parse_tz): Update default rules for
2523 daylight time changes in the Energy Policy Act of 2005.
2525 2012-05-09 Andreas Jaeger <aj@suse.de>
2528 * elf/ldconfig.c (parse_conf): Change string to make clear that
2529 ldconfig only issued a warning if ld.so.conf does not exist.
2531 2012-05-08 David S. Miller <davem@davemloft.net>
2533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2534 movxtod instead of popping the value on the stack.
2536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2538 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2540 * config.h.in: Add HAVE_ARM_PCS_VFP.
2542 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
2545 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2546 checking but the checks are disabled for any reason.
2548 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2550 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2551 and ELF64_R_TYPE with ELFW(R_TYPE).
2553 2012-05-08 Joseph Myers <joseph@codesourcery.com>
2555 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2558 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2559 (settimeofday): Likewise.
2561 2012-05-08 Mike Frysinger <vapier@gentoo.org>
2563 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2564 a struct th_u2 inside the union, and move tu_block/tu_code into
2565 a new th_u3 union of tu_block/tu_code inside of that. Move
2566 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
2567 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
2568 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2569 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
2570 (th_stuff): Change to th_u1.tu_stuff.
2572 (th_msg): Change to th_u1.th_u2.tu_data.
2574 2012-05-07 David S. Miller <davem@davemloft.net>
2576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2579 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2580 (SETUP_PIC_REG): Use it.
2581 (SETUP_PIC_REG_LEAF): Use it.
2583 2012-05-07 Joseph Myers <joseph@codesourcery.com>
2587 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2589 (EXPL_FINITE): Likewise.
2591 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2592 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2594 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2596 (EXPL_FINITE): Likewise.
2598 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2599 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2601 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2602 test of -max_value argument for long double.
2603 * sysdeps/i386/fpu/libm-test-ulps: Update.
2604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2606 2012-05-06 David S. Miller <davem@davemloft.net>
2608 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2609 quad soft-float symbols whose references which are compiler
2611 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2613 2012-05-06 Joseph Myers <joseph@codesourcery.com>
2617 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2619 (EXPL_FINITE): Likewise.
2623 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2624 Adjust comments for base varying.
2625 (__expl_finite): Change alias to EXPL_FINITE.
2626 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
2628 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
2629 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2630 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2631 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
2632 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2634 (EXPL_FINITE): Likewise.
2638 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2639 Adjust comments for base varying.
2640 (__expl_finite): Change alias to EXPL_FINITE.
2641 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
2643 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2646 * math/libm-test.inc (check_float_internal): Correct ulp
2647 calculation for subnormal expected results.
2649 2012-05-06 Andreas Jaeger <aj@suse.de>
2651 * Makeconfig (+math-flags): New, set to -frounding-math.
2652 (+cflags): Add +math-flags so that all of glibc gets compiled with
2655 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
2657 2012-05-05 Joseph Myers <joseph@codesourcery.com>
2659 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
2665 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
2666 (__ieee754_expl): Allow for and saturate large arguments.
2667 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
2668 (u_threshold): Likewise.
2669 (__exp): Call __ieee754_exp before checking for overflow and
2671 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
2672 (u_threshold): Likewise.
2673 (__expf): Call __ieee754_expf before checking for overflow and
2675 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
2676 (u_threshold): Likewise.
2677 (__expl): Call __ieee754_expl before checking for overflow and
2679 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
2680 (__ieee754_expl): Allow for and saturate large arguments.
2681 * math/libm-test.inc (exp_test): Add another test. Do not allow
2682 missing overflow exception on overflow.
2683 (expm1_test): Do not allow missing overflow exception on overflow.
2685 * sysdeps/i386/fpu/e_expl.c: Move to ...
2686 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
2687 rather than using inline asm.
2688 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
2689 * sysdeps/x86_64/fpu/e_expl.S: Copy from
2690 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
2692 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
2699 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2701 * sysdeps/unix/syscalls.list (adjtime): Add entry from
2702 sysdeps/unix/common/syscalls.list.
2705 (ftruncate): Likewise.
2706 (getrusage): Likewise.
2707 (gettimeofday): Likewise.
2708 (setpgid): Likewise.
2709 (setregid): Likewise.
2710 (setreuid): Likewise.
2711 (sigaction): Likewise.
2712 (truncate): Likewise.
2713 (vhangup): Likewise.
2714 * sysdeps/unix/common/syscalls.list: Remove file.
2715 * sysdeps/unix/bsd/Implies: Don't include unix/common.
2716 * sysdeps/unix/sysv/linux/Implies: Likewise.
2718 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
2720 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
2721 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
2722 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
2724 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2726 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
2728 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
2729 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
2731 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
2732 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
2734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
2735 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
2737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
2738 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
2740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
2741 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
2743 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
2744 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
2746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2748 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
2750 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
2752 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
2754 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
2755 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
2757 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
2759 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
2761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2763 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2765 * sysdeps/unix/common/bits/dirent.h: Remove file.
2766 * sysdeps/unix/common/bits/fcntl.h: Likewise.
2768 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
2769 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
2770 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
2771 * sysdeps/unix/bsd/isatty.c: Likewise.
2772 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2773 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2774 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2776 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2779 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
2780 long double comparison inaccuracies.
2781 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2784 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
2786 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
2787 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2789 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2792 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
2793 nonzero digits before rounding a hex value.
2794 * stdlib/tst-strtod.c (tests): Add another test.
2796 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2798 * sysdeps/s390/fpu/libm-test-ulps: Update.
2800 2012-05-03 Andreas Jaeger <aj@suse.de>
2802 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
2803 does not get optimized out.
2804 (malloc_opt_barrier): New.
2806 2012-05-03 Andreas Jaeger <aj@suse.de>
2807 Roland McGrath <roland@hack.frob.com>
2809 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
2810 intermediate file deletion.
2811 (generated): Add .symlist files.
2813 2012-05-03 Joseph Myers <joseph@codesourcery.com>
2816 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
2817 Redirect under this condition.
2818 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2819 [__USE_GNU] (__dprintf_chk): Not under this condition.
2820 [__USE_GNU] (__vdprintf_chk): Likewise.
2821 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
2822 under this condition.
2823 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2824 [__USE_XOPEN2K8] (dprintf): Define under this condition.
2825 [__USE_XOPEN2K8] (vdprintf): Likewise.
2826 [__USE_GNU] (__dprintf_chk): Not under this condition.
2827 [__USE_GNU] (__vdprintf_chk): Likewise.
2828 [__USE_GNU] (dprintf): Likewise.
2829 [__USE_GNU] (vdprintf): Likewise.
2831 2012-05-03 Roland McGrath <roland@hack.frob.com>
2833 * elf/Makefile (common-generated): Set this instead of generated for
2834 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
2835 $(all-built-dso)-derived lists.
2837 2012-05-03 Andreas Jaeger <aj@suse.de>
2839 * sysdeps/i386/fpu/libm-test-ulps: Update.
2843 * scripts/gen-FAQ.pl: Likewise.
2844 * manual/install.texi (Installation): Point to online location of
2846 * Makefile (files-for-dist): Remove FAQ.
2849 2012-05-02 Allan McRae <allan@archlinux.org>
2851 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
2852 (LDFLAGS-reldepmod5.so): Likewise.
2853 (LDFLAGS-reldep6mod1.so): Likewise.
2854 (LDFLAGS-reldep6mod4.so): Likewise.
2855 (LDFLAGS-reldep8mod3.so): Likewise.
2856 (LDFLAGS-unload4mod1.so): Likewise.
2857 (LDFLAGS-unload4mod2.so): Likewise.
2858 (LDFLAGS-tst-initorder): Likewise.
2859 (LDFLAGS-tst-initordera2.so): Likewise.
2860 (LDFLAGS-tst-initordera3.so): Likewise.
2861 (LDFLAGS-tst-initordera4.so): Likewise.
2862 (LDFLAGS-tst-initorderb2.so): Likewise.
2863 (LDFLAGS-noload): Likewise.
2864 (LDFLAGS-next): Likewise.
2865 (LDFLAGS-order2mod1.so): Likewise.
2866 (LDFLAGS-order2mod2.so): Likewise.
2867 (LDFLAGS-tst-initorder2): Likewise.
2868 (LDFLAGS-tst-initorder2a.so): Likewise.
2869 (LDFLAGS-tst-initorder2b.so): Likewise.
2870 (LDFLAGS-tst-initorder2c.so): Likewise.
2871 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2873 2012-05-02 David S. Miller <davem@davemloft.net>
2875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2877 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2880 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2882 2012-05-02 Andreas Jaeger <aj@suse.de>
2884 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2885 since we manipulate rounding mode.
2886 (CPPFLAGS-test-idouble.c): Likewise.
2887 (CPPFLAGS-test-ifloat.c): Likewise.
2888 (CFLAGS-test-ldouble.c): Likewise.
2889 (CFLAGS-test-double.c): Likewise.
2890 (CFLAGS-test-float.c): Likewise.
2891 (CFLAGS-test-misc.c): Likewise.
2892 (CFLAGS-test-test-fenv.c): Likewise.
2894 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2898 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2899 comparisons to determine direction to adjust input.
2901 2012-05-01 Roland McGrath <roland@hack.frob.com>
2903 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2904 output to the target.
2906 * scripts/localplt.awk: New file.
2907 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2908 (check-localplt-CFLAGS): Variable removed.
2909 ($(all-built-dso:=.jmprel)): New static pattern rule.
2910 (generated): Add those targets.
2911 (localplt-built-dso): New variable.
2912 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2914 * elf/check-localplt.c: File removed.
2916 * scripts/check-execstack.awk: New file.
2917 * elf/Makefile ($(objpfx)check-execstack): Target removed.
2918 (check-execstack-CFLAGS): Variable removed.
2919 ($(objpfx)check-execstack.h): Target removed.
2920 ($(objpfx)execstack-default): New target.
2921 (generated): Add that instead of check-execstack.h.
2922 ($(all-built-dso:=.phdr)): New static pattern rule.
2923 (generated): Add those targets.
2924 * elf/check-execstack.c: File removed.
2926 * scripts/check-textrel.awk: New file.
2927 * elf/Makefile ($(objpfx)check-textrel): Target removed.
2928 (check-textrel-CFLAGS): Variable removed.
2929 (all-built-dso): Use := to define.o
2930 ($(all-built-dso:=.dyn)): New static pattern rule.
2931 (generated): Add those targets.
2932 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2933 * config.make.in (READELF): New substituted variable.
2934 * elf/check-textrel.c: File removed.
2936 2012-05-01 Joseph Myers <joseph@codesourcery.com>
2938 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2940 * conform/data/ctype.h-data [C99-based standards] (isblank):
2942 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2943 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2944 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2945 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2946 Specify type. Require positive value.
2949 [ISO || POSIX] (EILSEQ): Do not expect.
2950 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2951 Specify type. Require positive value.
2952 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2953 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2954 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2955 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
2956 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
2957 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
2958 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
2959 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
2960 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
2961 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
2962 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
2963 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
2964 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
2965 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
2966 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
2967 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
2968 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
2969 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
2970 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
2971 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
2972 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
2973 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
2974 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
2975 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
2976 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
2977 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
2978 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
2979 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
2980 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
2981 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
2982 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
2983 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
2984 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
2985 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
2986 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
2987 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
2988 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
2989 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
2990 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
2991 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
2992 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
2993 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
2994 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
2995 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
2996 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
2997 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
2998 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
2999 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3000 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3001 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3002 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3003 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3004 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3005 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3006 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3007 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3008 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3009 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3010 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3011 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3012 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3013 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3014 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3015 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3016 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3017 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3018 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3019 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3020 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3021 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3022 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3023 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3024 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3025 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3026 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3027 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3028 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3030 (FLT_ROUNDS): Expect as macro, not constant.
3031 (FLT_MANT_DIG): Use macro-int-constant.
3032 (DBL_MANT_DIG): Likewise.
3033 (LDBL_MANT_DIG): Likewise.
3034 (FLT_DIG): Likewise.
3035 (DBL_DIG): Likewise.
3036 (LDBL_DIG): Likewise.
3037 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3038 (DBL_MIN_EXP): Likewise.
3039 (LDBL_MIN_EXP): Likewise.
3040 (FLT_MAX_EXP): Use macro-int-constant.
3041 (DBL_MAX_EXP): Likewise.
3042 (LDBL_MAX_EXP): Likewise.
3043 (FLT_MAX_10_EXP): Likewise.
3044 (DBL_MAX_10_EXP): Likewise.
3045 (LDBL_MAX_10_EXP): Likewise.
3046 (FLT_MAX): Use macro-constant.
3047 (DBL_MAX): Likewise.
3048 (LDBL_MAX): Likewise.
3049 (FLT_EPSILON): Use macro-constant. Give upper bound.
3050 (DBL_EPSILON): Likewise.
3051 (LDBL_EPSILON): Likewise.
3052 (FLT_MIN): Likewise.
3053 (DBL_MIN): Likewise.
3054 (LDBL_MIN): Likewise.
3055 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3056 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3057 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3058 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3059 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3060 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3061 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3062 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3063 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3064 [ISO11] (FLT_TRUE_MIN): Likewise.
3065 [ISO11] (LDBL_TRUE_MIN): Likewise.
3066 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3067 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3068 (SCHAR_MIN): Use macro-int-constant. Specify type.
3069 (SCHAR_MAX): Likewise.
3070 (UCHAR_MAX): Likewise.
3071 (CHAR_MIN): Likewise.
3072 (CHAR_MAX): Likewise.
3073 (MB_LEN_MAX): Use macro-int-constant.
3074 (SHRT_MIN): Use macro-int-constant. Specify type.
3075 (SHRT_MAX): Likewise.
3076 (USHRT_MAX): Likewise.
3077 (INT_MAX): Likewise.
3078 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3080 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3082 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3084 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3085 bound negative. Suffix upper bound with "L".
3086 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3088 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3090 [C99-based standards] (LLONG_MAX): Likewise.
3091 [C99-based standards] (ULLONG_MAX): Likewise.
3092 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3094 [ISO11] (max_align_t): Require type.
3095 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3097 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3098 from $CFLAGS, without defining away __attribute__ calls.
3099 (checknamespace): Use $CFLAGS_namespace.
3101 * conform/conformtest.pl (@keywords): Only include C99 keywords
3102 for standards based on C99 or C11.
3104 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3106 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3109 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3110 usability of symbols in #if.
3112 * conform/conformtest.pl: If macro or constant types start
3113 "promoted:", expect the symbol to be of the following type
3114 promoted by the integer promotions.
3116 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3117 in one place. Also handle "macro-constant".
3119 * conform/conformtest.pl: Only accept expected macro values with
3120 "==". Parse all "macro" lines in one place.
3121 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3123 * conform/conformtest.pl: Handle braced types on "constant" lines
3124 instead of handling "typed-constant".
3125 * conform/data/signal.h-data: Use "constant" instead of
3128 * conform/conformtest.pl: Handle "optional-" at start of lines in
3129 one place rather than duplicating several cases. Handle each
3130 format of "macro" line with initial "optional-".
3132 * conform/conformtest.pl: Only accept expected constant or
3133 optional-constant values with "==". Parse all "constant" lines in
3134 one place. Parse all "optional-constant" lines in one place.
3135 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3136 * conform/data/fmtmsg.h-data: Likewise.
3137 * conform/data/netinet/in.h-data: Likewise.
3138 * conform/data/tar.h-data: Likewise.
3139 * conform/data/limits.h-data: Use "==" form on "constant" and
3140 "optional-constant" lines.
3142 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3143 Use -std=c99 for XOPEN2K.
3144 (@knownproblems): Remove.
3145 (newtoken): Don't check %isknown.
3147 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3148 Do not expect macro.
3149 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3150 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3151 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3152 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3153 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3154 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3155 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3156 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3157 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3158 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3159 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3160 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3161 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3162 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3163 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3164 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3165 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3166 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3167 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3168 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3169 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3170 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3171 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3172 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3173 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3174 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3175 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3176 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3177 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3178 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3179 [XPG3] (acosh): Likewise.
3180 [XPG3] (asinh): Likewise.
3181 [XPG3] (atanh): Likewise.
3182 [XPG3] (cbrt): Likewise.
3183 [XPG3] (expm1): Likewise.
3184 [XPG3] (ilogb): Likewise.
3185 [XPG3] (log1p): Likewise.
3186 [XPG3] (logb): Likewise.
3187 [XPG3] (nextafter): Likewise.
3188 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3189 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3190 [XPG3] (remainder): Likewise.
3191 [XPG3] (rint): Likewise.
3192 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3193 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3194 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3195 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3196 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3197 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3198 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3199 [UNIX98 || XOPEN2K] (scalb): Expect.
3200 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3201 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3202 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3203 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3204 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3205 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3206 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3207 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3208 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3209 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3210 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3211 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3212 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3213 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3214 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3215 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3216 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3217 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3218 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3219 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3220 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3221 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3222 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3223 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3224 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3225 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3226 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3227 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3228 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3229 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3230 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3231 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3232 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3233 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3234 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3235 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3236 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3237 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3238 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3239 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3240 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3241 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3242 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3243 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3244 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3245 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3246 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3247 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3248 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3249 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3250 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3251 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3252 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3253 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3254 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3255 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3256 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3257 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3258 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3259 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3260 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3261 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3262 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3263 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3264 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3265 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3266 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3267 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3268 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3269 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3270 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3271 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3272 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3273 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3274 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3275 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3276 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3277 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3278 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3279 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3280 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3281 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3282 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3283 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3284 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3285 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3286 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3287 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3288 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3289 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3290 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3291 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3292 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3293 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3294 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3295 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3296 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3297 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3298 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3299 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3300 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3301 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3302 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3303 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3304 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3305 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3306 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3307 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3308 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3309 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3310 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3311 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3312 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3313 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3314 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3315 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3316 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3317 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3318 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3319 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3320 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3321 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3322 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3323 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3324 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3325 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3326 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3327 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3328 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3329 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3330 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3331 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3332 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3333 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3334 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3335 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3336 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3338 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3339 _XOPEN_SOURCE_EXTENDED for XPG4.
3341 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3343 * Makeconfig (localtime): Remove variable.
3344 (inst_localtime-file): Likewise.
3346 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3367 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3371 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3372 comparisons to determine direction to adjust input.
3373 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3374 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3375 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3377 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3379 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3381 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3382 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3384 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3386 * math/libm-test.inc (nexttoward_test): Add more tests.
3388 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3391 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3392 in version GLIBC_2.1, not GLIBC_2.0.
3393 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3396 2012-04-30 Joseph Myers <joseph@codesourcery.com>
3399 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3401 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3402 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3403 * math/libm-test.inc (acos_test): Add more tests.
3404 (asin_test): Likewise.
3405 * sysdeps/i386/fpu/libm-test-ulps: Update.
3406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3409 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3411 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3412 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3413 * math/libm-test.inc (acos_test_tonearest): New function.
3414 (acos_test_towardzero): Likewise.
3415 (acos_test_downward): Likewise.
3416 (acos_test_upward): Likewise.
3417 (asin_test_tonearest): Likewise.
3418 (asin_test_towardzero): Likewise.
3419 (asin_test_downward): Likewise.
3420 (asin_test_upward): Likewise.
3421 (main): Call the new functions.
3422 * sysdeps/i386/fpu/libm-test-ulps: Update.
3423 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3427 * math/e_exp10.c: Include <float.h>.
3428 (__ieee754_exp10): Handle underflow here rather than multiplying
3429 large negative argument by M_LN10.
3430 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3432 * math/e_exp10l.c: Include <float.h>.
3433 (__ieee754_exp10l): Handle underflow here rather than multiplying
3434 large negative argument by M_LN10l.
3435 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3436 spurious overflow exception on underflow.
3438 2012-04-29 Marek Polacek <polacek@redhat.com>
3440 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3441 (__fortify_function): New macro.
3442 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3443 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3444 __extern_always_inline.
3445 * libio/bits/stdio2.h: Likewise.
3446 * libio/bits/stdio.h: Likewise.
3447 * string/string.h: Likewise.
3448 * string/bits/string3.h: Likewise.
3449 * include/stdio.h: Likewise.
3450 * stdlib/bits/stdlib.h: Likewise.
3451 * stdlib/stdlib.h: Likewise.
3452 * rt/bits/mqueue2.h: Likewise.
3453 * rt/mqueue.h: Likewise.
3454 * posix/bits/unistd.h: Likewise.
3455 * posix/unistd.h: Likewise.
3456 * io/bits/poll2.h: Likewise.
3457 * io/bits/fcntl2.h: Likewise.
3458 * io/fcntl.h: Likewise.
3459 * io/sys/poll.h: Likewise.
3460 * misc/bits/syslog.h: Likewise.
3461 * misc/bits/syslog-ldbl.h: Likewise.
3462 * misc/sys/syslog.h: Likewise.
3463 * socket/bits/socket2.h: Likewise.
3464 * socket/sys/socket.h: Likewise.
3465 * debug/tst-chk1.c: Likewise.
3466 * wcsmbs/bits/wchar2.h: Likewise.
3467 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3468 * wcsmbs/wchar.h: Likewise.
3470 2012-04-29 Andreas Jaeger <aj@suse.de>
3472 * Makerules (tests): Remove enable-check-abi protection.
3473 (check-abi-warn): Remove.
3474 (check-abi-%): Remove check-abi-warn usage.
3476 * configure.in: Remove check-abi configure option.
3477 * configure: Regenerated.
3478 * config.make.in (enable-check-abi): Remove.
3480 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3483 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3484 double functions to double *_finite functions.
3487 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3488 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3490 * stdio-common/Makefile (tests): Add tst-sprintf3.
3491 * stdio-common/tst-sprintf3.c: New file.
3493 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3494 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3496 2012-04-28 Joseph Myers <joseph@codesourcery.com>
3498 * conform/conformtest.pl: Remove duplicate typed-constant
3501 2012-04-28 David S. Miller <davem@davemloft.net>
3503 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3504 (check-abi-%): Remove AWK script prerequisite and explicit
3506 (check-abi): Rewrite to just diff the symlist with the abilist.
3507 (config-tls, config-abi-config): Delete, no longer used.
3508 (update-abi-%): Remove AWK script and explicit abilist directory.
3509 (update-abi): Rewrite to simply compare and conditionally copy the
3510 symlist and the sysdep abilist file. Remove update-abi-config
3512 * abilist/ld.abilist: Remove.
3513 * abilist/libBrokenLocale.abilist: Remove.
3514 * abilist/libanl.abilist: Remove.
3515 * abilist/libcrypt.abilist: Remove.
3516 * abilist/libdl.abilist: Remove.
3517 * abilist/librt.abilist: Remove.
3518 * abilist/libthread_db.abilist: Remove.
3519 * abilist/libutil.abilist: Remove.
3520 * scripts/extract-abilist.awk: Remove.
3521 * scripts/merge-abilist.awk: Remove.
3522 * sysdeps/generic/libcidn.abilist: New file.
3523 * sysdeps/generic/libnss_compat.abilist: New file.
3524 * sysdeps/generic/libnss_db.abilist: New file.
3525 * sysdeps/generic/libnss_dns.abilist: New file.
3526 * sysdeps/generic/libnss_files.abilist: New file.
3527 * sysdeps/generic/libnss_hesiod.abilist: New file.
3528 * sysdeps/generic/libnss_nis.abilist: New file.
3529 * sysdeps/generic/libnss_nisplus.abilist: New file.
3530 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3531 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3532 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3534 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3535 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3536 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3537 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3538 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3539 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3540 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3541 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3542 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3544 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3545 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3546 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3547 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3549 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3550 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3551 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3552 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3553 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3554 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3556 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3557 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3558 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3560 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3561 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3563 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3565 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3567 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3569 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
3571 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
3573 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
3575 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3577 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3579 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3581 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3583 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3585 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
3626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
3628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
3632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
3634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
3638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
3639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
3641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
3645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
3647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
3649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
3651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
3653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
3657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
3659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
3663 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3664 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
3665 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
3667 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
3668 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
3669 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
3670 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
3671 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
3672 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
3673 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
3674 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
3675 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
3676 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
3677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
3678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
3680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3682 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
3684 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
3686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
3688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
3690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
3692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
3698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
3702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
3703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
3705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
3709 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
3711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
3713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
3715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
3717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3719 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
3723 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
3728 2012-04-28 Joseph Myers <joseph@codesourcery.com>
3730 * conform/conformtest.pl: Fix typo in handling typed-constant from
3733 2012-04-27 Joseph Myers <joseph@codesourcery.com>
3735 * README: Cut down references to pre-2.6 Linux kernels and
3736 Linuxthreads. Update lists of configurations in libc and ports
3737 and sort alphabetically. Say "or newer" with Linux kernel version
3740 * config.h.in [IS_IN_build]: Allow compiling without optimization.
3742 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3745 * math/libm-test.inc (logb_test_downward): New test to expose
3746 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
3749 2012-04-27 Joseph Myers <joseph@codesourcery.com>
3752 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
3754 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
3755 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
3757 2012-04-26 Joseph Myers <joseph@codesourcery.com>
3759 * sysdeps/unix/i386/brk.S: Remove file.
3760 * sysdeps/unix/i386/dl-brk.S: Likewise.
3761 * sysdeps/unix/i386/pipe.S: Likewise.
3762 * sysdeps/unix/i386/sigreturn.S: Likewise.
3763 * sysdeps/unix/i386/syscall.S: Likewise.
3764 * sysdeps/unix/i386/vfork.S: Likewise.
3765 * sysdeps/unix/i386/wait.S: Likewise.
3767 * sysdeps/unix/common/tcsendbrk.c: Move to ...
3768 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
3770 * configure.in (arm*-none*): Do not allow without
3771 --enable-hacker-mode.
3772 (netbsd*): Remove case setting base_os.
3773 (386bsd*): Likewise.
3774 (freebsd*): Likewise.
3778 (ultrix*): Likewise.
3779 (newsos*): Likewise.
3789 (solaris[2-9]*): Likewise.
3791 * configure: Regenerated.
3793 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3796 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
3797 overflow or cancellation in calculating denominator.
3798 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
3799 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
3800 down expression to avoid unexpected rounding in newer GCCs.
3801 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
3803 2012-04-26 David S. Miller <davem@davemloft.net>
3805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
3806 long-double compat symbols.
3807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
3811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
3815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
3818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3821 2012-04-25 David S. Miller <davem@davemloft.net>
3823 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
3824 HWCAP_* values only after the memory barriers have been defined.
3825 (atomic_full_barrier): Define.
3826 (atomic_read_barrier): Define.
3827 (atomic_write_barrier): Define.
3829 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3831 * shlib-versions: Add libgcc_s version information.
3832 * sysdeps/generic/libgcc_s.h: Remove.
3833 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
3835 * sysdeps/gnu/unwind-resume.c: Likewise.
3836 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
3838 2012-04-25 David S. Miller <davem@davemloft.net>
3840 * sysdeps/unix/sparc/brk.S: Delete.
3841 * sysdeps/unix/sparc/dl-brk.S: Delete.
3842 * sysdeps/unix/sparc/pipe.S: Delete.
3843 * sysdeps/unix/sparc/sysdep.S: Delete.
3844 * sysdeps/unix/sparc/sysdep.h: Delete.
3845 * sysdeps/unix/sparc/vfork.S: Delete.
3846 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
3847 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
3848 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
3849 ret_ERRVAL, r0, r1, MOVE): Define.
3850 (JUMPTARGET): Remove.
3851 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
3852 sysdeps/unix/sparc/sysdep.h
3853 (ENTRY, END): Remove.
3854 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3856 2012-04-25 Joseph Myers <joseph@codesourcery.com>
3858 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
3859 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
3862 * timezone/README: Update upstream location and email address for
3864 * timezone/zdump.c: Update from tzcode 2012b.
3865 * timezone/zic.c: Likewise.
3867 * configure.in (libc_cv_as_needed): Remove test.
3868 * configure: Regenerated.
3869 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3870 conditional definition.
3871 [$(have-as-needed) != yes] (no-as-needed): Likewise.
3872 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3873 * config.make.in (have-as-needed): Remove variable.
3875 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3876 Paul Pluzhnikov <ppluzhnikov@google.com>
3878 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3881 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3883 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3884 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3885 * sysdeps/sh/strlen.S: Likewise.
3887 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3889 * sysdeps/unix/fork.S: Remove file.
3890 * sysdeps/unix/i386/fork.S: Likewise.
3891 * sysdeps/unix/sparc/fork.S: Likewise.
3893 * sysdeps/unix/system.c: Remove file.
3894 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3896 * sysdeps/unix/getegid.S: Remove file.
3897 * sysdeps/unix/geteuid.S: Likewise.
3899 2012-04-24 Roland McGrath <roland@hack.frob.com>
3901 * scripts/check-localplt.awk: New file.
3902 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3904 * scripts/data/localplt-generic.data: Add a comment.
3906 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3907 NODE when __dir_mkfile failed.
3908 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3909 Reported by Ludovic Courtès <ludo@gnu.org>.
3911 2012-04-24 Andreas Jaeger <aj@suse.de>
3913 * Makerules (common-clean): Also remove gen-as-const-headers
3916 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3918 * Makerules (native-compile): Do not change working directory for
3919 build. Use $(OUTPUT_OPTION) in command.
3920 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3922 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3925 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3926 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3927 * math/libm-test.inc (floor_test): Add more tests.
3928 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3930 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3932 * sysdeps/unix/getdents.c: Remove file.
3933 * sysdeps/unix/sysv/getdents.c: Likewise.
3934 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3936 * sysdeps/unix/syscalls.list (madvise): Add syscall from
3937 sysdeps/unix/mman/syscalls.list.
3939 (mprotect): Likewise.
3942 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3943 * sysdeps/unix/mman/syscalls.list: Remove.
3944 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3946 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3947 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3948 * configure: Regenerated.
3949 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3951 * config.make.in (libgcc_s_suffix): Remove variable.
3953 2012-04-23 Joseph Myers <joseph@codesourcery.com>
3955 * sysdeps/unix/sysv/gethostname.c: Move to ...
3956 * sysdeps/posix/gethostname.c: ... here.
3958 * sysdeps/unix/execve.S: Remove file.
3960 * sysdeps/unix/_exit.S: Remove file.
3962 2012-04-23 Andreas Jaeger <aj@suse.de>
3965 * manual/Makefile: Remove make dist support, there's no
3966 need for a stand-alone documentation tar ball.
3967 (TEXI2DVI): Define always, it's not in Makeconfig.
3971 (glibc-doc-$(edition).tar): Removed
3975 (ETAGS): Remove, it's in Makeconfig.
3976 (move-if-change): Remove, it's in Makeconfig.
3978 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
3981 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
3982 (strtod, strtof, strtold, strtol, strtoul, strtoq)
3983 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
3984 (strtod_l, strtof_l, strtold_l): Remove __wur.
3985 It is not necessarily an error to ignore strtol's return value.
3986 One can reliably look at the stored endptr to decide whether
3987 the number had valid syntax.
3989 2012-04-21 Andreas Jaeger <aj@suse.de>
3992 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
3994 2012-04-21 Joseph Myers <joseph@codesourcery.com>
3996 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
3997 * sysdeps/unix/sysv/Versions: Remove file.
3999 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4002 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4004 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
4007 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4008 version from __vm86.
4010 2012-04-20 Joseph Myers <joseph@codesourcery.com>
4012 * sysdeps/unix/common/lxstat.c: Remove file.
4013 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4015 * sysdeps/unix/sysv/Makefile: Remove file.
4017 * sysdeps/unix/sysv/direct.h: Remove file.
4019 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4020 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4021 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4022 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4023 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4024 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4025 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4027 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4029 * sysdeps/unix/xmknod.c: Remove file.
4030 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4032 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4034 * sysdeps/unix/sysv/i386/time.S: Remove file.
4036 * sysdeps/unix/fxstat.c: Remove file.
4037 * sysdeps/unix/xstat.c: Likewise.
4038 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4040 * sysdeps/unix/sysv/sigaction.c: Remove file.
4042 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4043 (sysdep_headers): Remove variable.
4044 [termio.h not in sysdep_headers] (generated): Likewise.
4045 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4046 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4047 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4048 * sysdeps/unix/sysv/tcflow.c: Likewise.
4049 * sysdeps/unix/sysv/tcflush.c: Likewise.
4050 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4051 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4052 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4053 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4054 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4056 * sysdeps/unix/siglist.c: Remove file.
4058 * sysdeps/unix/getppid.S: Remove file.
4060 * sysdeps/unix/mkdir.c: Remove file.
4061 * sysdeps/unix/rmdir.c: Likewise.
4063 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4065 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4067 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4068 errlist-compat value.
4070 2012-04-18 David S. Miller <davem@davemloft.net>
4072 * sysdeps/generic/memcopy.h (reg_char): Delete.
4073 * debug/strcat_chk.c: Use char, not reg_char.
4074 * debug/strcpy_chk.c: Likewise.
4075 * debug/strncat_chk.c: Likewise.
4076 * debug/strncpy_chk.c: Likewise.
4077 * string/memchr.c: Likewise.
4078 * string/memrchr.c: Likewise.
4079 * string/rawmemchr.c: Likewise.
4080 * string/strcat.c: Likewise.
4081 * string/strchr.c: Likewise.
4082 * string/strchrnul.c: Likewise.
4083 * string/strcmp.c: Likewise.
4084 * string/strcpy.c: Likewise.
4085 * string/strncat.c: Likewise.
4086 * string/strncmp.c: Likewise.
4087 * string/strncpy.c: Likewise.
4089 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4091 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4092 __builtin_memcopy is called when src and dest ranges are known to not
4095 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4097 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4098 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4099 fwd_align_merge macro call.
4100 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4101 bwd_align_merge macro call.
4102 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4104 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4106 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4107 bwd_align_merge macros.
4108 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4109 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4110 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4112 2012-04-18 David S. Miller <davem@davemloft.net>
4114 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4116 2012-04-18 Andreas Jaeger <aj@suse.de>
4119 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4120 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4121 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4123 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4124 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4125 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4127 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4128 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4129 Adjust for changed ldbl-128 files.
4131 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4132 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4133 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4135 2012-04-17 David S. Miller <davem@davemloft.net>
4137 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4139 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4141 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4142 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4143 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4144 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4145 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4146 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4148 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4151 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4152 * math/libm-test.inc: Add ilogb errno and exception tests.
4153 * math/w_ilogb.c: New file: ilogb wrapper.
4154 * math/w_ilogbf.c: New file: ilogbf wrapper.
4155 * math/w_ilogbl.c: New file: ilogbl wrapper.
4156 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4157 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4158 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4159 exception being thrown with 0.0 as argument.
4160 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4161 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4162 exception being thrown with 0.0 as argument.
4163 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4164 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4165 exception being thrown with 0.0 as argument.
4166 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4167 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4168 exception being thrown with 0.0 as argument.
4169 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4170 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
4171 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
4172 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4173 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4174 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4175 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4176 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4177 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4179 2012-04-17 Petr Baudis <pasky@ucw.cz>
4181 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4184 2012-04-16 Marek Polacek <polacek@redhat.com>
4186 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4188 2012-04-16 Marek Polacek <polacek@redhat.com>
4190 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4191 operands of fdivp instruction.
4193 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4195 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4196 * elf/tst-auditmod3b.c: Likewise.
4197 * elf/tst-auditmod4b.c: Likewise.
4198 * elf/tst-auditmod5b.c: Likewise.
4199 * elf/tst-auditmod6b.c: Likewise.
4200 * elf/tst-auditmod6c.c: Likewise.
4201 * elf/tst-auditmod7b.c: Likewise.
4202 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4203 * sysdeps/x86_64/preconfigure.in: Likewise.
4204 * sysdeps/x86_64/preconfigure: Regenerated.
4206 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4208 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4211 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
4213 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4214 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4216 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4219 * locale/iso-639.def: Fix gl language name. Spotted by
4222 2012-04-12 Roland McGrath <roland@hack.frob.com>
4225 * libio/libio.h (__io_write_fn): Update comment.
4227 2012-04-12 Petr Baudis <pasky@ucw.cz>
4230 * stdio.texi (Hook Functions): The user provided writer function
4231 is not allowed to return -1.
4233 2012-04-11 David S. Miller <davem@davemloft.net>
4235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4237 2012-04-11 Mike Frysinger <vapier@gentoo.org>
4239 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4240 Add a leading slash to rtkaio.
4242 2012-04-11 Jim Meyering <meyering@redhat.com>
4245 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4246 It is not necessarily an error to ignore fwrite's return
4247 value. One can reliably use ferror to test for errors after
4250 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4252 * bits/types.h (__snseconds_t): New type.
4253 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4255 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4256 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4257 (__SNSECONDS_T_TYPE): Likewise.
4258 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4259 (__SNSECONDS_T_TYPE): Likewise.
4260 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4261 (__SNSECONDS_T_TYPE): Likewise.
4263 2012-04-10 Andreas Jaeger <aj@suse.de>
4266 * manual/time.texi (Processor Time): Return type of times is
4267 elapsed real time since an arbitrary point in the past.
4268 (CPU Time): Move CLK_TCK from here...
4269 (Processor Time): ...to here. Correct description.
4270 * manual/conf.texi (Constants for Sysconf): Correct description of
4273 2012-04-10 David S. Miller <davem@davemloft.net>
4276 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4277 where the is a gap between DT_REL(A) and DT_JMPREL.
4279 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4281 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4282 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4283 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4285 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4287 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4288 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4289 (dl_main): Handle --inhibit-cache.
4290 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4292 * elf/dl-load.c (_dl_map_object): Use it.
4293 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4295 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4298 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4299 (__ieee754_powl): Saturate large exponents rather than testing for
4300 overflow of y*log2(x).
4301 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4302 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4306 * math/s_ctan.c: Include <float.h>.
4307 (__ctan): Avoid internal overflow or cancellation in calculating
4309 * math/s_ctanf.c: Likewise.
4310 * math/s_ctanl.c: Likewise.
4311 * math/s_ctanh.c: Likewise.
4312 * math/s_ctanhf.c: Likewise.
4313 * math/s_ctanhl.c: Likewise.
4314 * math/libm-test.inc (ctan_test): Add more tests.
4315 (ctanh_test): Likewise.
4316 * sysdeps/i386/fpu/libm-test-ulps: Update.
4317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4319 2012-04-09 Andreas Jaeger <aj@suse.de>
4322 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4323 is an optional BSD extension.
4326 * manual/stdio.texi (Opening Streams): Document additional fopen
4329 2012-04-09 Roland McGrath <roland@hack.frob.com>
4331 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4332 %eax without telling the compiler.
4334 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4337 * manual/install.texi: Use sourceware.org.
4339 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4342 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4343 (__ieee754_pow): Generate overflow and underflow using huge*huge
4344 and tiny*tiny rather than just returning constant infinity or zero
4345 for large exponents.
4346 * math/libm-test.inc (pow_test): Require overflow exceptions for
4347 applicable cases of large exponents.
4350 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4351 (__ieee754_pow): Use iterative multiplication algorithm only for
4352 integer exponents with absolute value below 1024. Check for odd
4353 integer exponents when using algorithm for real exponents.
4354 * math/libm-test.inc (pow_test): Add more tests.
4355 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4357 2012-04-08 Joseph Myers <joseph@codesourcery.com>
4360 * math/libm-test.inc (exp_test): Do not allow overflow exception
4363 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4366 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4367 instead of __kernel_standard_f.
4369 2012-04-08 Mike Frysinger <vapier@gentoo.org>
4371 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4372 * sysdeps/x86_64/memset_chk.S: Likewise.
4374 2012-04-08 Andreas Jaeger <aj@suse.de>
4377 * manual/startup.texi (Environment Access): Describe return value
4378 for putenv and setenv.
4381 * manual/filesys.texi (Directory Entries): Add description for
4385 * manual/filesys.texi (Directory Entries): Clarify that it's file
4386 system not operating system in the description of DT_UNKNOWN.
4389 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4391 2012-04-08 Stephen Compall <s11@member.fsf.org>
4394 * manual/llio.texi (Opening and Closing Files): Add cross
4395 reference to explain mode argument.
4397 2012-04-07 Mike Frysinger <vapier@gentoo.org>
4399 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4400 * sysdeps/x86_64/memset_chk.S: Likewise.
4402 2012-04-07 David S. Miller <davem@davemloft.net>
4404 * elf/elf.h (R_SPARC_WDISP10): Define.
4405 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4407 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4408 R_SPARC_SIZE64 and R_SPARC_H34.
4410 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4412 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4413 conditions and remove no longer applicable assertion.
4415 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4417 * bits/byteswap.h: Include <features.h>.
4418 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4419 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4421 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4423 * bits/byteswap.h (__bswap_16): Removed.
4424 Include <bits/byteswap-16.h> to get __bswap_16.
4425 * sysdeps/i386/bits/byteswap.h: Likewise.
4426 * sysdeps/s390/bits/byteswap.h: Likewise.
4427 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4428 * bits/byteswap-16.h: New file.
4429 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4430 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4431 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4432 * string/Makefile (headers): Add bits/byteswap-16.h.
4434 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4437 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4439 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4440 * nss/tst-nss-static.c: New.
4442 2012-04-06 Robert Millan <rmh@gnu.org>
4445 * manual/llio.texi (File Position Primitive): lseek
4446 refers to WHENCE when it really means OFFSET.
4448 2012-04-06 Andreas Jaeger <aj@suse.de>
4450 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4451 strncmp declarations.
4453 * abilist/libc.abilist: Add __poll and __ppoll.
4455 2012-04-05 David S. Miller <davem@davemloft.net>
4457 * scripts/check-local-headers.sh: Accept a host triplet in the
4458 path matched by the exclude regexp.
4460 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4462 * sysdeps/powerpc/powerpc32/dl-machine.h
4463 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4464 * sysdeps/s390/s390-32/dl-machine.h
4465 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4466 * sysdeps/sparc/sparc32/dl-machine.h
4467 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4468 * sysdeps/sparc/sparc64/dl-machine.h
4469 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4471 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4473 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
4474 undefined symbol errors.
4476 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
4479 2012-04-05 Michael Matz <matz@suse.de>
4482 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4484 2012-04-05 Andreas Jaeger <aj@suse.de>
4487 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4490 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4492 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4493 which ROUND is no valid rounding mode.
4495 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4497 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4499 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4501 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4503 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4504 an exception using FPU order intentionally.
4506 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4508 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4509 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4510 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4511 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4513 2012-04-05 Simon Josefsson <simon@josefsson.org>
4516 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4517 EINVAL when BUFLEN is too smal.
4519 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4522 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4523 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4525 2012-04-03 Andreas Jaeger <aj@suse.de>
4528 * manual/setjmp.texi (System V contexts): Fix sentence.
4531 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4532 New macro for this case.
4533 [!__GNUC__] (__bswap_64): New inline function for this case.
4534 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4535 * bits/byteswap.h: Likewise.
4536 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4537 ull, guard with __GLIBC_HAVE_LONG_LONG.
4539 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4540 __GLIBC_HAVE_LONG_LONG.
4542 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4543 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4545 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4548 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4549 inptr and inend, rather than using last_ch.
4551 2012-04-02 David S. Miller <davem@davemloft.net>
4553 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4554 * stdio-common/printf-parse.h (read_int): Change return type to
4555 'int', return -1 on INT_MAX overflow.
4556 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4557 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4558 overflows INT_MAX. Check for overflow of in-format-string precision
4559 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4560 SIZE_MAX not INT_MAX for integer overflow test.
4561 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4562 skip the construct in the format string but do not record anything.
4563 * stdio-common/bug22.c: Adjust to test both width/prevision
4564 INT_MAX overflow as well as total length INT_MAX overflow. Check
4565 explicitly for proper errno values.
4567 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
4569 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
4571 * string/test-strcmp.c [! WIDE]: Likewise.
4572 * time/tst-mktime2.c: Likewise for INT_MAX.
4573 * string/test-string.h: #include <sys/param.h> for MIN.
4575 * csu/init-first.c (__libc_init_first): Call __ctype_init.
4576 * sysdeps/i386/init-first.c (init): Likewise.
4577 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4578 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4579 * sysdeps/sh/init-first.c (init): Likewise.
4581 2012-04-01 Ulrich Drepper <drepper@gmail.com>
4583 * po/ru.po: Update from translation team.
4584 * po/vi.po: Likewise.
4586 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4588 * resolv/nss_dns/dns-host.c: Merge copyright years.
4590 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4592 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4593 Optimize memcpy with prefetch if
4594 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4595 src, dst pointers have unequal 16 byte alignments.
4597 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4600 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4601 from a CNAME entry and return the minimum ttl for the query.
4602 (gaih_getanswer_slice): Likewise.
4604 2012-03-30 Jeff Law <law@redhat.com>
4606 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4608 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4609 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4611 * resolv/nss_dns/dns-host.c: Update copyright year.
4613 2012-03-30 Ulrich Drepper <drepper@gmail.com>
4615 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
4616 requests to save a system call. Fix check that all bytes are sent.
4618 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4619 comments for sendmmsg.
4621 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4624 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
4625 with only 1 character between 0x0041 and 0x01b0.
4626 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
4627 * wcsmbs/tst-mbsnrtowcs.c: New file.
4629 2012-03-29 David S. Miller <davem@davemloft.net>
4631 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
4632 small copies by hand.
4634 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4637 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
4638 _nss_compat_initgroups_dyn): Fall back to malloc/free
4639 for large group memberships.
4641 2012-03-28 David S. Miller <davem@davemloft.net>
4643 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
4644 that branches into memcpy.
4645 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4646 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4647 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4648 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4649 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
4651 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
4653 * sysdeps/sparc/mempcpy.S: New file.
4655 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
4656 the IFUNC routine in the libc case.
4657 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4659 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
4660 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
4661 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
4662 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
4663 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
4664 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
4665 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
4666 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
4668 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
4669 loop to 256 bytes instead of 64 bytes and fix test signedness.
4671 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
4672 * sysdeps/sparc/sparc32/Makefile: rather than here...
4673 * sysdeps/sparc/sparc64/Makefile: and here.
4675 2012-03-28 Ulrich Drepper <drepper@gmail.com>
4677 * malloc/mallocbug.c: Avoid warnings about unused variables.
4679 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4682 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
4683 in the right place. Discard and retry query if response is
4684 larger than input buffer size.
4686 2012-03-28 Joseph Myers <joseph@codesourcery.com>
4691 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
4692 x for large integer exponent.
4693 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4694 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
4695 sign of result as needed afterwards.
4696 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4697 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
4698 result for underflowing pow the same as for overflow.
4699 (__kernel_standard_l): Handle powl overflow and underflow here
4700 rather than calling __kernel_standard.
4701 * math/libm-test.inc (pow_test): Add more tests.
4716 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
4717 * sysdeps/ieee754/k_standard.c: Include <float.h>.
4718 (__kernel_standard_l): New function.
4719 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
4721 * math/w_acosl.c (__acosl): Likewise.
4722 * math/w_asinl.c (__asinl): Likewise.
4723 * math/w_atan2l.c (__atan2l): Likewise.
4724 * math/w_atanhl.c (__atanhl): Likewise.
4725 * math/w_coshl.c (__coshl): Likewise.
4726 * math/w_exp10l.c (__exp10l): Likewise.
4727 * math/w_exp2l.c (__exp2l): Likewise.
4728 * math/w_fmodl.c (__fmodl): Likewise.
4729 * math/w_hypotl.c (__hypotl): Likewise.
4730 * math/w_j0l.c (__j0l, __y0l): Likewise.
4731 * math/w_j1l.c (__j1l, __y1l): Likewise.
4732 * math/w_jnl.c (__jnl, __ynl): Likewise.
4733 * math/w_lgammal.c (__lgammal): Likewise.
4734 * math/w_log10l.c (__log10l): Likewise.
4735 * math/w_log2l.c (__log2l): Likewise.
4736 * math/w_logl.c (__logl): Likewise.
4737 * math/w_powl.c (__powl): Likewise.
4738 * math/w_remainderl.c (__remainderl): Likewise.
4739 * math/w_scalbl.c (sysv_scalbl): Likewise.
4740 * math/w_sinhl.c (__sinhl): Likewise.
4741 * math/w_sqrtl.c (__sqrtl): Likewise.
4742 * math/w_tgammal.c (__tgammal): Likewise.
4743 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
4744 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
4745 * math/libm-test.inc (acos_test): Add more tests.
4746 (acosh_test): Likewise.
4747 (asin_test): Likewise.
4748 (atanh_test): Likewise.
4749 (exp_test): Likewise.
4750 (exp10_test): Likewise.
4751 (exp2_test): Likewise.
4752 (expm1_test): Likewise.
4753 (lgamma_test): Likewise.
4754 (log_test): Likewise.
4755 (log10_test): Likewise.
4756 (log1p_test): Likewise.
4757 (log2_test): Likewise.
4758 (pow_test): Do not allow some spurious overflow exceptions.
4759 (sqrt_test): Add more tests.
4760 (tgamma_test): Likewise.
4761 (y0_test): Likewise.
4762 (y1_test): Likewise.
4763 (yn_test): Likewise.
4765 2012-03-27 Anton Blanchard <anton@samba.org>
4767 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4769 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4770 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4771 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4773 2012-03-27 David S. Miller <davem@davemloft.net>
4775 * conform/Makefile: Run run-conformtest.sh using $(BASH).
4777 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
4780 2012-03-27 Andreas Jaeger <aj@suse.de>
4782 * sysdeps/x86_64/elf/configure.in: Moved to ...
4783 * sysdeps/x86_64/configure.in: ... here.
4784 * sysdeps/x86_64/elf/start.S: Moved to ...
4785 * sysdeps/x86_64/start.S: ... here.
4786 * sysdeps/x86_64/elf/configure: Delete.
4788 * sysdeps/x86_64/configure.in: Merge contents from
4789 sysdeps/i386/configure.in (without i686 check).
4791 * sysdeps/i386/elf/Versions: Merge into ...
4792 * sysdeps/i386/Versions: ... this.
4793 * sysdeps/i386/elf/Versions: Delete file.
4794 * sysdeps/i386/elf/start.S: Moved to ...
4795 * sysdeps/i386/start.S: ...here.
4796 * sysdeps/i386/elf/configure.in: Merge into...
4797 * sysdeps/i386/configure.in: ...here.
4798 * sysdeps/i386/elf/configure.in: Delete file.
4799 * sysdeps/i386/elf/configure: Delete file.
4801 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
4802 * debug/backtracesyms.c: ... here.
4803 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
4804 * debug/backtracesymsfd.c: ... here.
4805 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
4806 * sysdeps/generic/ifunc-sel.h: ... here.
4808 * sysdeps/unix/i386/start.c: Delete file.
4809 * sysdeps/unix/sparc/start.c: Delete file.
4810 * sysdeps/unix/start.c: Delete file.
4812 * sysdeps/sh/elf/configure.in: Moved to ...
4813 * sysdeps/sh/configure.in: ... here.
4814 * sysdeps/sh/elf/start.S: Moved to ...
4815 * sysdeps/sh/start.S: ... here.
4816 * sysdeps/sh/elf/configure: Delete file.
4818 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
4819 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
4820 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
4821 * sysdeps/powerpc/powerpc64/entry.h: ... here.
4822 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
4823 * sysdeps/powerpc/powerpc64/start.S: here.
4824 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
4825 * sysdeps/powerpc/powerpc64/Makefile: ... this.
4826 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
4827 * sysdeps/powerpc/powerpc64/configure.in: ... this.
4828 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
4830 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
4831 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
4832 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
4833 * sysdeps/powerpc/powerpc32/start.S: ... here.
4834 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
4835 * sysdeps/powerpc/powerpc32/configure.in: ... this.
4836 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
4838 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
4839 * sysdeps/powerpc/ifunc-sel.h: ... here.
4840 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
4841 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
4843 * sysdeps/sparc/elf/configure.in: Moved to ...
4844 * sysdeps/sparc/configure.in: ... here.
4845 * sysdeps/sparc/elf/configure: Delete file.
4846 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
4847 * sysdeps/sparc/sparc32/start.S: ... here.
4848 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
4849 * sysdeps/sparc/sparc64/start.S: ... here.
4850 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
4851 * sysdeps/sparc/sparc32/Makefile: ... this.
4852 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
4853 * sysdeps/sparc/sparc64/Makefile: ... this.
4855 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
4856 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
4857 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
4858 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
4859 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
4860 * sysdeps/s390/s390-32/setjmp.S: ... here.
4861 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
4862 * sysdeps/s390/s390-32/configure.in: ... here.
4863 * sysdeps/s390/s390-32/elf/configure: Delete file.
4864 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4865 * sysdeps/s390/s390-32/start.S: ... here.
4867 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4868 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4869 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4870 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4871 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4872 * sysdeps/s390/s390-64/setjmp.S: ... here.
4873 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4874 * sysdeps/s390/s390-64/configure.in: ... here
4875 * sysdeps/s390/s390-64/elf/configure: Delete file.
4876 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4877 * sysdeps/s390/s390-64/start.S: ... here.
4878 * sysdeps/s390/s390-64/elf/configure: Delete.
4880 * configure.in: Remove support for elf directories in sysdeps.
4882 * configure: Regenerated.
4883 * sysdeps/i386/configure: Regenerated.
4884 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4885 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4886 * sysdeps/s390/s390-32/configure: Regenerated.
4887 * sysdeps/s390/s390-64/configure: Regenerated.
4888 * sysdeps/sh/configure: Regenerated.
4889 * sysdeps/sparc/configure: Regenerated.
4890 * sysdeps/x86_64/configure: Regenerated.
4892 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4896 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4897 denormal result into account.
4899 2012-03-25 Roland McGrath <roland@hack.frob.com>
4901 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4902 Reported by Allan McRae <allan@archlinux.org>.
4904 2012-03-23 Jeff Law <law@redhat.com>
4906 * nss/getnssent.c (__nss_getent): Fix typo.
4908 2012-03-23 David S. Miller <davem@davemloft.net>
4910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4912 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4914 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4915 to pad to uint64_t for each field.
4916 (dl_tls_index): Replace unsigned long with uint64_t.
4918 2012-03-23 Daniel Jacobowitz <dmj@google.com>
4919 Paul Pluzhnikov <ppluzhnikov@google.com>
4922 * grp/Makefile (otherlibs): Don't set it.
4923 * inet/Makefile (otherlibs): Likewise.
4924 * login/Makefile (otherlibs): Likewise.
4925 * nscd/Makefile (otherlibs): Likewise.
4926 * posix/Makefile (otherlibs): Likewise.
4927 * pwd/Makefile (otherlibs): Likewise.
4928 * rt/Makefile (otherlibs): Likewise.
4929 * sunrpc/Makefile (otherlibs): Likewise.
4930 * nss/Makefile (otherlibs): Likewise.
4931 Add libnss_files to routines and static-only-routines.
4932 ($(objpfx)getent): Remove rule.
4933 * resolv/Makefile: Add libnss_dns and libresolv to routines and
4934 static-only-routines.
4936 2012-03-22 Joseph Myers <joseph@codesourcery.com>
4939 * math/s_cexp.c: Include <float.h>.
4940 (__cexp): Handle exp result overflowing not necessarily
4941 overflowing both real and imaginary parts of result.
4942 * math/s_cexpf.c: Likewise.
4943 * math/s_cexpl.c: Likewise.
4944 * math/libm-test.inc (cexp_test): Add more tests.
4945 * sysdeps/i386/fpu/libm-test-ulps: Update.
4946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4948 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4950 * include/link.h (ELFW): New macro.
4951 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4952 Replace ELF64_R_TYPE with ELFW(R_TYPE).
4954 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4956 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4959 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4961 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
4963 (struct La_x32_retval): Likewise.
4965 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4967 * sysdeps/x86_64/preconfigure.in: New file.
4968 * sysdeps/x86_64/preconfigure: New generated file.
4970 2012-03-22 Joseph Myers <joseph@codesourcery.com>
4973 * math/e_exp2l.c: Include <float.h>.
4974 (__ieee754_exp2l): Handle overflow and underflow cases
4975 separately. Only pass fractional part of argument to
4977 * math/libm-test.inc (exp2_test): Add more tests.
4979 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
4980 negating x to take absolute value.
4981 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4983 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4984 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4986 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
4987 computing low part if x was negated.
4988 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4990 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4992 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4994 (pltexit): Cast int_retval to ptrdiff_t.
4995 * elf/tst-auditmod3b.c: Likewise.
4996 * elf/tst-auditmod4b.c: Likewise.
4997 * elf/tst-auditmod5b.c: Likewise.
4998 * elf/tst-auditmod6b.c: Likewise.
4999 * elf/tst-auditmod6c.c: Likewise.
5000 * elf/tst-auditmod7b.c: Likewise.
5002 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5003 and x32_gnu_pltexit.
5005 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5007 (La_x32_regs): New macro.
5008 (La_x32_retval): Likewise.
5009 (la_x32_gnu_pltenter): New function prototype.
5010 (la_x32_gnu_pltexit): Likewise.
5012 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5014 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5019 * configure.in (libc_cv_cc_nofma): Check for option to disable
5020 generation of FMA instructions.
5021 * configure: Regenerate.
5022 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5023 * sysdeps/ieee754/dbl-64/Makefile: New file.
5024 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5025 Remove brandred-fma4.
5026 (CFLAGS-brandred-fma4.c): Remove.
5027 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5028 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5030 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5033 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5035 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5036 LLONG_MAX != LONG_MAX.
5037 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5038 (_fitoa_word): Likewise.
5039 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5040 LLONG_MAX != LONG_MAX.
5041 * stdio-common/_itowa.h: Include <_itoa.h>.
5042 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5043 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5044 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5045 only if not defined.
5046 (_ITOA_WORD_TYPE): Likewise.
5047 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5048 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5050 2012-03-21 David S. Miller <davem@davemloft.net>
5052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5054 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5056 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5057 of x86_64 when setting libc_cv_slibdir, libdir and
5059 * sysdeps/unix/sysv/linux/configure: Regenerated.
5061 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5063 * manual/lang.texi (Old Varargs): Remove section.
5064 (How Variadic): Update menu.
5065 (va_start): Do not mention varargs.h.
5067 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5068 Joseph Myers <joseph@codesourcery.com>
5070 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5072 * configure: Regenerated.
5074 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5076 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5077 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5080 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5083 * Makefile (files-for-dist): Remove NOTES.
5084 (NOTES): Remove rule.
5085 * README: Don't refer to NOTES.
5086 * manual/creature.texi: Don't include macros.texi.
5087 * manual/intro.texi (creature.texi): Remove comment referring to
5090 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5091 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5092 * configure: Regenerated.
5093 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5095 (libc_cv_as_i686): Likewise.
5096 (libc_cv_cc_avx): Likewise.
5097 (libc_cv_cc_sse2avx): Likewise.
5098 (libc_cv_cc_fma4): Likewise.
5099 (libc_cv_cc_novzeroupper): Likewise.
5100 * sysdeps/i386/configure: Regenerated.
5103 * sysdeps/i386/fpu/s_cexp.S: Remove.
5104 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5105 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5106 * math/libm-test.inc (cexp_test): Add more tests.
5107 * sysdeps/i386/fpu/libm-test-ulps: Update.
5108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5110 2012-03-21 Allan McRae <allan@archlinux.org>
5112 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5114 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5117 * math/w_exp2.c: Do not include <float.h>.
5118 (o_threshold, u_threshold): Remove.
5119 (__exp2): Calculate result before checking finiteness and calling
5121 * math/w_exp2f.c: Likewise.
5122 * math/w_exp2l.c: Likewise.
5123 * math/libm-test.inc (exp2_test): Require overflow exception for
5127 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5128 range of signed 64-bit integers before using fistpll. Remove
5129 checks for whether integers fit in mantissa bits.
5130 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5131 the range of signed 32-bit integers before using fistpl. Remove
5132 checks for whether integers fit in mantissa bits.
5133 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5134 (__ieee754_powl): Test for y outside the range of signed 64-bit
5135 integers before using fistpll. Reduce 64-bit values to 63-bit
5137 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5138 divide-by-zero is raised for zero to large negative powers.
5139 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5140 (__ieee754_powl): Test for y outside the range of signed 64-bit
5141 integers before using fistpll. Reduce 64-bit values to 63-bit
5143 * math/libm-test.inc (pow_test): Add more tests.
5145 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5147 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5148 <stdio-common/_itoa.h>.
5149 * debug/segfault.c: Likewise.
5150 * elf/dl-cache.c: Likewise.
5151 * elf/dl-minimal.c: Likewise.
5152 * elf/dl-misc.c: Likewise.
5153 * elf/dl-sysdep.c: Likewise.
5154 * elf/dl-version.c: Likewise.
5155 * elf/rtld.c: Likewise.
5156 * hurd/hurdsock.c: Likewise.
5157 * hurd/lookup-retry.c: Likewise.
5158 * malloc/malloc.c: Likewise.
5159 * malloc/mtrace.c: Likewise.
5160 * nscd/nscd_getgr_r.c: Likewise.
5161 * nscd/nscd_getpw_r.c: Likewise.
5162 * nscd/nscd_getserv_r.c: Likewise.
5163 * posix/getopt_init.c: Likewise.
5164 * posix/wordexp.c: Likewise.
5165 * stdio-common/_itoa.c: Likewise.
5166 * stdio-common/printf_fphex.c: Likewise.
5167 * stdio-common/vfprintf.c: Likewise.
5168 * string/_strerror.c: Likewise.
5169 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5170 * sysdeps/i386/i686/hp-timing.h: Likewise.
5171 * sysdeps/mach/_strerror.c: Likewise.
5172 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5173 * sysdeps/mach/hurd/sethostid.c: Likewise.
5174 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5175 * sysdeps/mach/xpg-strerror.c: Likewise.
5176 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5177 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5178 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5179 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5180 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5181 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5182 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5183 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5184 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5185 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5186 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5187 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5188 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5189 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5190 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5191 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5192 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5193 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5194 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5195 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5196 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5198 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5200 * stdio-common/_itoa.h: Moved to ...
5201 * sysdeps/generic/_itoa.h: Here.
5203 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5205 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5206 instead of "_itoa.h" and "_itowa.h".
5207 * stdio-common/vfprintf.: Likewise.
5209 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5211 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5213 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5214 (__signbit): Likwise.
5218 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5220 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5223 2012-03-20 Joseph Myers <joseph@codesourcery.com>
5225 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5226 OVERFLOW_EXCEPTION_OK.
5227 * math/libm-test.inc ("Philosophy"): Update comment about
5229 (OVERFLOW_EXCEPTION): Define.
5230 (OVERFLOW_EXCEPTION_OK): Likewise.
5231 (INVALID_EXCEPTION_OK): Renumber.
5232 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5233 (IGNORE_ZERO_INF_SIGN): Likewise.
5234 (test_exceptions): Handle FE_OVERFLOW.
5235 (exp10_test): Expect overflow exceptions.
5236 (exp2_test): Likewise.
5237 (expm1_test): Likewise.
5238 (nextafter_test): Likewise.
5239 (pow_test): Likewise.
5240 (scalbn_test): Likewise.
5241 (scalbln_test): Likewise.
5243 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5245 * sysdeps/x86_64/bits/atomic.h
5246 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5248 (atomic_exchange_acq): Likewise.
5249 (__arch_exchange_and_add_body): Likewise.
5250 (__arch_add_body): Likewise.
5251 (atomic_add_negative): Likewise.
5252 (atomic_add_zero): Likewise.
5254 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5256 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
5257 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5259 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5261 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5262 Check __x86_64__ instead of __WORDSIZE.
5264 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5266 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5268 2012-03-19 David S. Miller <davem@davemloft.net>
5270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5272 * sysdeps/sparc/fpu/fenv_private.h: New file.
5273 * sysdeps/sparc/fpu/math_private.h: Use it.
5274 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5276 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5277 (libc_feholdexcept_setroundl): Remove.
5278 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5280 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5281 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5283 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5285 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5286 int64_t instead of long int.
5287 (INSERT_WORDS64): Likwise.
5289 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5291 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5292 _Unwind_GetCFA return to _Unwind_Ptr first.
5294 2012-03-19 Joseph Myers <joseph@codesourcery.com>
5297 * math/s_clog.c: Include <float.h>.
5298 (__clog): Scale large or subnormal inputs.
5299 * math/s_clogf.c: Likewise.
5300 * math/s_clogl.c: Likewise.
5301 * math/s_clog10.c: Include <float.h>.
5302 (M_LOG10_2): Define.
5303 (__clog10): Scale large or subnormal inputs.
5304 * math/s_clog10f.c: Likewise.
5305 * math/s_clog10l.c: Likewise.
5306 * math/libm-test.inc (clog_test): Add more tests.
5307 (clog10_test): Likewise.
5308 * sysdeps/i386/fpu/libm-test-ulps: Update.
5309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5312 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5314 * math/libm-test.inc (atan2_test): Add another test.
5316 * Makerules (common-objdir-compile): Remove.
5317 * sysdeps/unix/Makefile (config-generated): Do not add
5318 $(unix-generated) to variable.
5319 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5320 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5322 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5324 [generic bits/local_lim.h] (before-compile): Do not append to
5326 [generic bits/local_lim.h] (common-generated): Likewise.
5327 [generic sys/param.h] (before-compile): Do not append to variable.
5328 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5329 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5330 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5331 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5333 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5334 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5335 [generic sys/param.h] ($(addprefix
5336 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5337 [generic sys/param.h] (common-generated): Do not append to
5339 [generic sys/param.h] (sysdep_headers): Likewise.
5340 [generic bits/errno.h] (before-compile): Do not append to
5342 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5344 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5345 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5346 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5347 [generic bits/errno.h] (common-generated): Do not append to
5349 [generic bits/ioctls.h] (before-compile): Do not append to
5351 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5353 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5354 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5355 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5357 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5358 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5359 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5360 [generic bits/ioctls.h] (common-generated): Do not append to
5362 [generic sys/syscall.h] (syscall.h): Remove variable.
5363 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5365 [generic sys/syscall.h] (before-compile): Do not append to
5367 [generic sys/syscall.h] (common-generated): Likewise.
5368 * sysdeps/unix/errnos-tmpl.c: Remove file.
5369 * sysdeps/unix/errnos.awk: Likewise.
5370 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5371 * sysdeps/unix/ioctls.awk: Likewise.
5372 * sysdeps/unix/mk-local_lim.c: Likewise.
5373 * sysdeps/unix/snarf-ioctls: Likewise.
5375 2012-03-19 Richard Henderson <rth@twiddle.net>
5377 * sysdeps/i386/fpu/fenv_private.h: New file.
5378 * sysdeps/i386/fpu/math_private.h: Use it.
5379 (math_opt_barrier, math_force_eval): Remove.
5380 (libc_feholdexcept_setround_53bit): Remove.
5381 (libc_feupdateenv_53bit): Remove.
5382 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5383 (math_opt_barrier, math_force_eval): Remove.
5384 (libc_feholdexcept): Remove.
5385 (libc_feholdexcept_setround): Remove.
5386 (libc_fetestexcept, libc_fesetenv): Remove.
5387 (libc_feupdateenv_test): Remove.
5388 (libc_feupdateenv, libc_feholdsetround): Remove.
5389 (libc_feresetround): Remove.
5391 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5392 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5394 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5395 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5396 (libc_feupdateenv_testl): New.
5397 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5398 (libc_feupdateenv_testf): New.
5399 (libc_feupdateenv): Use libc_feupdateenv_test.
5400 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5401 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5403 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5404 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5405 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5406 (libc_feresetround_noex): New.
5407 (libc_feresetround_noexf): New.
5408 (libc_feresetround_noexl): New.
5409 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5410 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5411 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5412 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5414 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5415 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5417 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5418 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5419 SET_RESTORE_ROUND_NOEX.
5420 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5421 SET_RESTORE_ROUND_NOEXF.
5422 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5423 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5424 (libc_feholdsetroundf): New.
5425 (libc_feresetround, libc_feresetroundf): New.
5427 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5428 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5429 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5431 * sysdeps/generic/math_private.h: Include <fenv.h>.
5432 (default_libc_feholdexcept): New.
5433 (default_libc_feholdexcept_setround): New.
5434 (default_libc_fesetenv, default_libc_feupdateenv): New.
5435 (libc_feholdexcept): Only define if undefined.
5436 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5437 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5438 (libc_feholdexcept_setroundl): Likewise.
5439 (libc_feholdexcept_setround_53bit): Likewise.
5440 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5441 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5442 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5443 (libc_feupdateenv_53bit): Likewise.
5444 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5445 (libc_feholdexcept): Convert from macro to inline function.
5446 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5447 (libc_fesetenv, libc_feupdateenv): Likewise.
5449 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5450 not previously defined.
5451 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5452 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5453 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5454 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5455 * sysdeps/ieee754/flt-32/math_private.h: New file.
5456 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5457 math_private.h below SET_FLOAT_WORD.
5458 (__isnan, __isinf_ns, __finite): Remove.
5459 (__isnanf, __isinf_nsf, __finitef): Remove.
5461 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5465 2012-03-17 David S. Miller <davem@davemloft.net>
5468 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5471 2012-03-16 David S. Miller <davem@davemloft.net>
5473 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5477 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5479 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5480 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5481 sysdep_routines when subdir is sysvipc.
5482 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5485 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5487 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5489 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5492 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5494 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5495 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5496 (__lround): Renamed to ...
5497 (__llround): This. Replace long int with long long int.
5498 Define lround functions as aliases of llround functions.
5499 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5501 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5503 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5504 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5505 adresses to uintptr_t. Replace "long int" and "unsigned long
5506 int" with "greg_t" on va_arg.
5508 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5510 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5511 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5513 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5514 Move e_machine check before EI_CLASS check. Handle x32
5515 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5516 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5517 SKIP_EM_IA_64 and include
5518 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5520 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5521 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5522 (add_system_dir): New macro.
5524 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5525 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5527 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5538 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5540 * math/w_j0f.c (j0f): Likewise.
5542 * math/w_j0l.c (__j0l): Likewise.
5544 * math/w_j1.c (j1): Likewise.
5546 * math/w_j1f.c (j1f): Likewise.
5548 * math/w_j1l.c (__j1l): Likewise.
5550 * math/w_jn.c (jn): Likewise.
5552 * math/w_jnf.c (jnf): Likewise.
5554 * math/w_jnl.c (__jnl): Likewise.
5556 * math/libm-test.inc (j0_test): Add more tests.
5557 (j1_test): Likewise.
5558 (jn_test): Likewise. Add trailing semicolon to existing test.
5559 (y0_test): Likewise.
5560 (y1_test): Likewise.
5561 * sysdeps/i386/fpu/libm-test-ulps: Update.
5562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5566 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5567 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5568 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5569 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
5570 (__tanl): Set errno for infinite argument.
5571 * sysdeps/i386/fpu/mptan.c: Remove.
5572 * sysdeps/i386/fpu/s_tan.S: Likewise.
5573 * sysdeps/i386/fpu/s_tanl.S: Likewise.
5574 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
5575 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5576 * math/libm-test.inc (tan_test): Add more tests and enable more
5577 tests for double and long double.
5578 * sysdeps/i386/fpu/libm-test-ulps: Update.
5579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5581 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5583 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5584 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5586 2012-03-16 Roland McGrath <roland@hack.frob.com>
5588 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5589 * configure.in: Use it for both main tree and add-ons.
5590 * configure: Regenerated.
5592 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5594 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5596 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5598 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5602 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5603 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5604 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5605 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5606 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5608 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5609 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5611 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5612 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5613 * sysdeps/i386/fpu/s_cosl.S: Likewise.
5614 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5615 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5616 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5617 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5618 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5619 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5620 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5621 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5622 * math/libm-test.inc (cos_test): Add more tests and enable more
5623 tests for long double.
5624 (sin_test): Likewise.
5625 (sincos_test): Likewise.
5626 * sysdeps/i386/fpu/libm-test-ulps: Update.
5627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5629 2012-03-16 David S. Miller <davem@davemloft.net>
5631 * sysdeps/sparc/fpu/math_private.h: New file.
5633 2012-03-15 David S. Miller <davem@davemloft.net>
5635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
5637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
5638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
5640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
5641 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
5642 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
5643 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
5644 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
5645 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
5647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5649 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
5650 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
5652 * sysdeps/sparc/sparc-ifunc.h: New file.
5653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
5655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
5658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
5660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
5661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
5662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
5669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
5671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
5673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
5675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5677 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5678 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5679 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
5680 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
5681 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5682 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5687 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
5688 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
5689 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
5690 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
5691 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
5692 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
5693 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
5694 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
5695 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
5696 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
5698 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5700 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
5702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5704 2012-03-15 Andreas Jaeger <aj@suse.de>
5707 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
5708 ieee754/flt-32 implementation for sin, cos and sincos.
5709 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
5710 * sysdeps/i386/fpu/s_cosf.S: Likewise.
5711 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
5712 * sysdeps/i386/fpu/s_sinf.S: Likewise.
5713 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
5714 ieee754/flt-32 implementation for tan.
5716 * math/libm-test.inc (cos_test): Enable some large input tests for
5718 (sin_test): Likewise.
5719 (sincos_test): Likewise.
5720 (tan_test): Add tests for large input.
5722 * sysdeps/i386/fpu/libm-test-ulps: Update.
5724 2012-03-15 Andreas Jaeger <aj@suse.de>
5727 * math/libm-test.inc (cos_test): Add more test cases.
5728 (sin_test): Likewise.
5729 (sincos_test): Likewise.
5731 2012-03-15 Andreas Jaeger <aj@suse.de>
5734 * math/libm-test.inc (cos_test): Add a test case for large input
5736 (sin_test): Likewise.
5737 (sincos_test): Likewise.
5739 2012-03-15 Andreas Jaeger <aj@suse.de>,
5740 Joseph Myers <joseph@codesourcery.com>
5743 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
5744 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
5745 * sysdeps/i386/fpu/branred.c: Likewise.
5746 * sysdeps/i386/fpu/dosincos.c: Likewise.
5747 * sysdeps/i386/fpu/mpa.c: Likewise.
5748 * sysdeps/i386/fpu/s_cos.S: Likewise.
5749 * sysdeps/i386/fpu/s_sin.S: Likewise.
5750 * sysdeps/i386/fpu/s_sincos.S: Likewise.
5751 * sysdeps/i386/fpu/sincos32.c: Likewise.
5753 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
5755 (libc_feupdateenv_53bit): Define.
5756 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
5758 (libc_feupdateenv_53bit): Define.
5760 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
5761 53 bit (without extend i386 double precision).
5763 * math/libm-test.inc (sincos_test): Add tests for large input.
5767 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5769 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5771 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5773 2012-03-15 David S. Miller <davem@davemloft.net>
5775 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
5776 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
5777 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
5778 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
5779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
5780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
5781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
5782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
5783 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
5784 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
5785 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
5786 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
5787 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
5788 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
5789 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
5790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
5792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
5793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
5795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
5796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
5798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
5799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
5801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
5802 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
5803 fmin/fmax sysdep routines.
5804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5806 2012-03-14 David S. Miller <davem@davemloft.net>
5808 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
5809 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
5810 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
5811 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
5812 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
5813 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
5814 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
5815 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
5816 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
5817 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
5818 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
5819 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
5820 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
5821 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
5822 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
5823 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
5824 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
5825 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
5826 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
5827 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
5828 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
5829 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
5830 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
5831 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
5832 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
5833 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
5834 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
5835 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
5836 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
5838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
5840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
5841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
5843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
5844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
5846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
5847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
5849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
5850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
5852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
5853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
5855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
5857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
5859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
5861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
5863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
5868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
5871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
5874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
5877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5880 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5885 * sysdeps/sparc/configure.in: New file.
5886 * sysdeps/sparc/configure: Generate.
5887 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5888 * configure: Regenerate.
5889 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5890 * config.make.in (have-as-vis3): New.
5891 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5892 available use -Av9d instead of -Av9a.
5893 * sysdeps/sparc/sparc64/Makefile: Likewise.
5894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
5895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5903 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5904 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5905 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5906 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5907 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5909 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5910 fzeros/fnegs to load 0x80000000 into a float register instead of
5912 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5914 2012-03-14 Joseph Myers <joseph@codesourcery.com>
5916 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5918 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5919 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5920 ($(inst_includedir)/bits/syscall.h): Remove rule.
5921 ($(objpfx)bits/syscall.d): Include instead of
5922 $(objpfx)syscall-list.d.
5923 (generated): Change syscall-list.h and syscall-list.d to
5924 bits/syscall.h and bits/syscall.d.
5926 2012-03-14 Roland McGrath <roland@hack.frob.com>
5929 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5931 2012-03-14 Joseph Myers <joseph@codesourcery.com>
5934 * math/s_csqrt.c: Include <float.h>.
5935 (__csqrt): Scale large or subnormal inputs.
5936 * math/s_csqrtf.c: Likewise.
5937 * math/s_csqrtl.c: Likewise.
5938 * math/libm-test.inc (csqrt_test): Add more tests.
5939 * sysdeps/i386/fpu/libm-test-ulps: Update.
5940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5943 * math/libm-test.inc (hypot_test): Add more tests.
5945 2012-03-13 David S. Miller <davem@davemloft.net>
5948 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5949 double-precision for the calculation instead of scaling.
5951 2012-03-13 Joseph Myers <joseph@codesourcery.com>
5953 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5954 manipulate bits before adding and subtracting TWO52[sx].
5955 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
5956 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5958 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
5960 2012-03-13 David S. Miller <davem@davemloft.net>
5962 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
5963 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
5964 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
5965 rtld-global-offsets.h
5966 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5968 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
5971 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
5973 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
5974 'err' in the ifdef scope in which it is actually used.
5976 * nss/nss_db/db-init.c: Include string.h
5978 2012-03-12 David S. Miller <davem@davemloft.net>
5980 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5981 masking out of the most significant byte of random value used.
5982 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5983 Fix coding style in previous change.
5985 * sysdeps/unix/sysv/linux/kernel-features.h
5986 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
5987 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
5989 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
5992 2012-03-11 David S. Miller <davem@davemloft.net>
5994 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5995 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
5996 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
5997 for 'resultvar' otherwise things get truncated on 64-bit.
5999 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6000 Fix masking out of the most significant byte of random value used.
6002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6004 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6006 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6008 2012-03-09 David S. Miller <davem@davemloft.net>
6010 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6011 variables with appropriate CPP guards.
6012 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6013 frame pointer, not the stack pointer. Correct layout comments. Fix test
6014 on resulting framesize and the management of the outregs buffer for pltexit.
6015 Preserve floating point return values across _dl_call_pltexit call.
6016 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6017 framesize and the management of the outregs buffer for pltexit.
6018 Preserve floating point return values across _dl_call_pltexit
6020 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6021 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6022 (print_exit): Fix format string for return register value.
6024 2012-03-10 Joseph Myers <joseph@codesourcery.com>
6026 * sunrpc/Makefile (others): Add rpcgen.
6027 ($(objpfx)rpcgen): Remove special build rule and dependency on
6029 * sunrpc/rpcgen.c: New file.
6031 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6034 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6035 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6036 * sysdeps/i386/crti.S: Likewise.
6037 * sysdeps/i386/crtn.S: Likewise.
6038 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6039 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6040 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6041 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6042 * sysdeps/sh/crti.S: Likewise.
6043 * sysdeps/sh/crtn.S: Likewise.
6044 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6047 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6049 * locale/programs/locfile-kw.gperf: Likewise.
6050 * locale/programs/charmap-kw.h: Regenerated.
6051 * locale/programs/locfile-kw.h: Likewise.
6054 * intl/plural.y: Replace FSF snail mail address with URL.
6055 * intl/plural.c: Regenerated.
6057 2012-03-09 Richard Henderson <rth@twiddle.net>
6059 * include/math_private.h: Remove file.
6060 * math/math_private.h: Move file ...
6061 * sysdeps/generic/math_private.h: ... here.
6063 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6064 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6065 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6067 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
6068 and <math_private.h>.
6069 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6070 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6071 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6072 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6073 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6074 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6075 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6076 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6077 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6078 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6079 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6080 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6081 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6082 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6083 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6084 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6085 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6086 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6087 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6088 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6089 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6090 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6091 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6092 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6093 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6094 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6095 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6096 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6097 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6098 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6099 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6100 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6101 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6102 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6103 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6104 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6105 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6106 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6107 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6108 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6109 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6110 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6111 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6112 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6113 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6114 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6115 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6116 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6117 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6118 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6119 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6120 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6121 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6122 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6123 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6124 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6125 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6126 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6127 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6128 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6129 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6130 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6131 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6132 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6133 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6134 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6135 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6136 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6137 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6138 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6139 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6140 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6141 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6142 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6143 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6144 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6145 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6146 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6147 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6148 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6149 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6150 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6151 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6152 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6153 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6154 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6155 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6156 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6157 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6158 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6159 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6160 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6161 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6162 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6163 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6164 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6165 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6166 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6167 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6168 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6169 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6170 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6171 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6172 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6173 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6174 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6175 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6176 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6177 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6178 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6179 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6180 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6181 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6182 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6183 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6184 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6185 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6186 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6187 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6188 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6189 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6190 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6191 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6192 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6193 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6194 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6195 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6196 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6197 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6198 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6199 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6200 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6201 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6202 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6203 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6204 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6205 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6206 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6207 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6208 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6209 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6210 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6211 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6212 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6213 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6214 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6215 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6216 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6217 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6218 * sysdeps/ieee754/k_standard.c: Likewise.
6219 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6220 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6221 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6222 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6223 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6224 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6225 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6226 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6227 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6228 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6229 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6230 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6231 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6232 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6233 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6234 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6235 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6236 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6237 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6238 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6239 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6240 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6241 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6242 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6243 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6244 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6245 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6246 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6247 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6248 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6249 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6250 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6251 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6252 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6253 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6254 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6255 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6256 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6257 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6258 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6259 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6260 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6261 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6262 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6263 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6264 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6265 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6266 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6267 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6268 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6269 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6270 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6271 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6272 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6273 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6274 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6275 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6276 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6277 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6278 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6279 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6280 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6281 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6282 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6283 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6284 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6285 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6286 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6287 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6288 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6289 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6290 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6291 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6292 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6293 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6294 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6295 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6296 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6297 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6298 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6299 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6300 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6301 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6302 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6303 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6304 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6305 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6306 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6307 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6308 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6309 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6310 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6311 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6312 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6313 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6314 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6315 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6316 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6317 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6318 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6319 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6320 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6321 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6322 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6323 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6324 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6325 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6326 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6327 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6328 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6329 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6330 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6331 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6332 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6333 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6334 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6335 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6336 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6337 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6338 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6339 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6340 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6341 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6342 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6343 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6344 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6345 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6346 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6347 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6348 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6349 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6350 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6351 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6352 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6353 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6354 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6355 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6356 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6357 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6358 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6359 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6360 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6361 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6362 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6363 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6364 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6365 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6366 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6367 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6368 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6369 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6370 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6371 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6372 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6373 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6374 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6375 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6376 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6377 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6378 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6379 * sysdeps/ieee754/s_lib_version.c: Likewise.
6380 * sysdeps/ieee754/s_matherr.c: Likewise.
6381 * sysdeps/ieee754/s_signgam.c: Likewise.
6382 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6383 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6384 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6385 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6386 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6387 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6388 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6389 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6390 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6391 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6392 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6393 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6394 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6395 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6396 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6397 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6398 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6399 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6400 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6401 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6402 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6404 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6406 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6407 * sunrpc/rpc_main.c: Likewise.
6408 * sunrpc/rpc_svcout.c: Likewise.
6410 2012-03-09 David S. Miller <davem@davemloft.net>
6412 * include/math_private.h: New file.
6414 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6416 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6417 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6418 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6419 from <bits/socket_type.h>.
6420 (enum __socket_type): Don't define here.
6421 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6422 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6426 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6429 * Makerules ($(inst_includedir)/%.h): New rule.
6430 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6431 (install-others): Remove variable setting.
6432 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6434 2012-03-08 Richard Henderson <rth@twiddle.net>
6436 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6437 from macro to inline function; merge with the
6438 !__LIBC_INTERNAL_MATH_INLINES version.
6439 (__ieee754_sqrtf): Likewise.
6441 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6443 (__rintf, __floor, __floorf): Likewise.
6445 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6446 macro to inline function.
6447 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6449 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6450 not <math/math_private.h>.
6452 2012-03-08 David S. Miller <davem@davemloft.net>
6454 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6456 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6458 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6460 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6462 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6463 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6465 2012-03-08 Ulrich Drepper <drepper@gmail.com>
6467 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6468 be defined individually, they must be defined as a block. Define
6469 S for printing a string instead of hidint the different by using a
6470 macro for adding the 'l'.
6471 * stdio-common/tst-fphex-wide.c: Adjust.
6473 2012-03-07 Marek Polacek <polacek@redhat.com>
6475 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6477 2012-03-08 Marek Polacek <polacek@redhat.com>
6480 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6481 * stdio-common/tst-fphex.c: Define a few macros to make the
6482 test reusable. Use them.
6483 * stdio-common/tst-fphex-wide.c: New file.
6485 2012-03-08 Joseph Myers <joseph@codesourcery.com>
6488 * manual/macros.texi (gnusystems): New macro.
6489 (nongnusystems): Likewise.
6490 (gnulinuxhurdsystems): Likewise.
6491 (gnuhurdsystems): Likewise..
6492 (gnulinuxsystems): Likewise.
6493 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6494 variants of the GNU system, not "GNU system".
6495 * manual/conf.texi: Likewise.
6496 * manual/errno.texi: Likewise. Update example of errno macro
6498 * manual/filesys.texi: Likewise.
6499 (getumask): Document as specific to GNU/Hurd.
6500 * manual/install.texi: Likewise. Reword some references to
6502 * manual/intro.texi: Likewise.
6503 * manual/io.texi: Likewise.
6504 (File Name Portability): Detail which constraints are inapplicable
6505 to all GNU systems and which are only inapplicable to GNU/Hurd.
6506 * manual/job.texi: Likewise.
6507 * manual/llio.texi: Likewise.
6508 (O_NOCTTY): Document as present on GNU/Linux.
6509 * manual/maint.texi: Likewise.
6510 * manual/memory.texi: Likewise.
6511 * manual/pattern.texi: Likewise.
6512 * manual/pipe.texi: Likewise.
6513 * manual/process.texi: Likewise.
6514 * manual/resource.texi: Likewise.
6515 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6517 * manual/setjmp.texi: Likewise.
6518 * manual/signal.texi: Likewise.
6519 * manual/startup.texi: Likewise.
6520 * manual/stdio.texi: Likewise.
6521 * manual/terminal.texi: Likewise.
6522 (ONLCR): Document as POSIX.
6523 (OXTABS): Document availability on GNU/Linux as XTABS.
6524 (ONOEOT): Document availability separately from other bits.
6525 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6526 * manual/time.texi: Likewise.
6527 * manual/users.texi: Likewise.
6528 * INSTALL: Regenerated.
6529 * sysdeps/gnu/errlist.c: Regenerated.
6531 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6532 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6533 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6535 * configure: Regenerated.
6537 2012-03-07 Joseph Myers <joseph@codesourcery.com>
6539 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6540 default includes instead of AC_HEADER_CHECK.
6541 * sysdeps/i386/configure: Regenerated.
6544 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6545 * math/s_cacoshf.c (__cacoshf): Likewise.
6546 * math/s_cacoshl.c (__cacoshl): Likewise.
6547 * math/s_casinh.c (__casinh): Set signs of result from argument.
6548 * math/s_casinhf.c (__casinhf): Likewise.
6549 * math/s_casinhl.c (__casinhl): Likewise.
6550 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6551 (casinh_test): Add more tests.
6552 * sysdeps/i386/fpu/libm-test-ulps: Update.
6553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6555 2012-03-07 Ulrich Drepper <drepper@gmail.com>
6557 * po/zh_TW.po: Update from translation team.
6559 * login/Makefile (distribute): Remove variable.
6560 * catgets/Makefile: Likewise.
6561 * mach/Makefile: Likewise.
6562 * malloc/Makefile: Likewise.
6563 * misc/Makefile: Likewise.
6564 * iconv/Makefile: Likewise.
6565 * nscd/Makefile: Likewise.
6566 * hurd/Makefile: Likewise.
6567 * manual/Makefile: Likewise.
6568 * locale/Makefile: Likewise.
6569 * intl/Makefile: Likewise.
6570 * conform/Makefile: Likewise.
6571 * nss/Makefile: Likewise.
6572 * time/Makefile: Likewise.
6573 * soft-fp/Makefile: Likewise.
6574 * dirent/Makefile: Likewise.
6575 * gmon/Makefile: Likewise.
6576 * po/Makefile: Likewise.
6577 * rt/Makefile: Likewise.
6578 * socket/Makefile: Likewise.
6579 * math/Makefile: Likewise.
6580 * signal/Makefile: Likewise.
6581 * debug/Makefile: Likewise.
6582 * elf/Makefile: Likewise.
6583 * timezone/Makefile: Likewise.
6584 * stdlib/Makefile: Likewise.
6585 * iconvdata/Makefile: Likewise.
6586 * sunrpc/Makefile: Likewise.
6587 * io/Makefile: Likewise.
6588 * argp/Makefile: Likewise.
6589 * inet/Makefile: Likewise.
6590 * hesiod/Makefile: Likewise.
6591 * grp/Makefile: Likewise.
6592 * csu/Makefile: Likewise.
6593 * wctype/Makefile: Likewise.
6594 * crypt/Makefile: Likewise.
6595 * libio/Makefile: Likewise.
6596 * string/Makefile: Likewise.
6597 * nis/Makefile: Likewise.
6598 * resolv/Makefile: Likewise.
6599 * stdio-common/Makefile: Likewise.
6600 * wcsmbs/Makefile: Likewise.
6601 * dlfcn/Makefile: Likewise.
6602 * posix/Makefile: Likewise.
6605 * timezone/Makefile: Don't install timezone files, just the programs
6608 2012-03-06 Ulrich Drepper <drepper@gmail.com>
6610 * nss/databases.def: Add missing gshadow entry.
6612 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6614 2012-03-06 Marek Polacek <polacek@redhat.com>
6617 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6618 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6619 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6620 * stdio-common/tst-long-dbl-fphex.c: New file.
6622 2012-03-06 David S. Miller <davem@davemloft.net>
6624 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6625 (set_obp_int): New function.
6626 (get_obp_int): New function.
6627 (__get_clockfreq_via_dev_openprom): Likewise.
6628 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
6629 Avoid unused variable warnings on 'val' and use builtin_expect.
6630 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
6632 (INLINE_CLONE_SYSCALL): Likewise.
6634 2012-03-05 David S. Miller <davem@davemloft.net>
6636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6638 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
6640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6642 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
6644 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6646 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
6648 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
6649 Replace gettimeofday with __vdso_gettimeofday.
6651 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6652 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
6653 __vdso_clock_gettime and __vdso_getcpu.
6655 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
6656 time with __vdso_time.
6658 2012-03-05 Joseph Myers <joseph@codesourcery.com>
6660 * manual/lang.texi (size_t): Note types to which size_t may be
6661 equivalent with the GNU C Library, but do not describe when
6662 differences between them are significant.
6664 2012-03-05 Andreas Jaeger <aj@suse.de>
6666 * sysdeps/i386/fpu/libm-test-ulps: Update.
6668 2012-03-05 Joseph Myers <joseph@codesourcery.com>
6671 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
6672 (__ieee754_pow): Save and restore rounding mode and use
6673 round-to-nearest for main computations.
6674 * math/libm-test.inc (pow_test_tonearest): New function.
6675 (pow_test_towardzero): Likewise.
6676 (pow_test_downward): Likewise.
6677 (pow_test_upward): Likewise.
6678 (main): Call the new functions.
6679 * sysdeps/i386/fpu/libm-test-ulps: Update.
6680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6683 * math/libm-test.inc (cosh_test_tonearest): New function.
6684 (cosh_test_towardzero): Likewise.
6685 (cosh_test_downward): Likewise.
6686 (cosh_test_upward): Likewise.
6687 (sinh_test_tonearest): Likewise.
6688 (sinh_test_towardzero): Likewise.
6689 (sinh_test_downward): Likewise.
6690 (sinh_test_upward): Likewise.
6691 (main): Call the new functions.
6692 * sysdeps/i386/fpu/libm-test-ulps: Update.
6693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6695 2012-03-05 Tom de Vries <tom@codesourcery.com>
6697 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
6698 default stack guard is set in last bytes.
6699 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
6701 2012-03-05 Kees Cook <keescook@chromium.org>
6703 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
6706 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
6707 possibly allocate from heap instead of stack.
6708 * stdio-common/bug-vfprintf-nargs.c: New file.
6709 * stdio-common/Makefile (tests): Add nargs overflow test.
6711 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
6713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6715 2012-03-03 Marek Polacek <polacek@redhat.com>
6717 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
6718 * math/math_private.h: Likewise.
6719 * stdlib/tst-strtod.c: Likewise.
6720 * sysdeps/i386/i486/bits/atomic.h: Likewise.
6721 * sysdeps/x86_64/bits/atomic.h: Likewise.
6723 2012-03-02 David S. Miller <davem@davemloft.net>
6725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
6726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
6727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
6728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
6729 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
6730 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
6731 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
6732 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
6734 2012-03-02 Roland McGrath <roland@hack.frob.com>
6737 * manual/examples/README: New file, says the example source files
6738 can be used under GPL>=2.
6739 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
6740 line containing just "*/".
6741 * manual/examples/add.c: Add copyright header (GPL>=2).
6742 * manual/examples/argp-ex1.c: Likewise.
6743 * manual/examples/argp-ex2.c: Likewise.
6744 * manual/examples/argp-ex3.c: Likewise.
6745 * manual/examples/argp-ex4.c: Likewise.
6746 * manual/examples/atexit.c: Likewise.
6747 * manual/examples/db.c: Likewise.
6748 * manual/examples/dir.c: Likewise.
6749 * manual/examples/dir2.c: Likewise.
6750 * manual/examples/execinfo.c: Likewise.
6751 * manual/examples/filecli.c: Likewise.
6752 * manual/examples/filesrv.c: Likewise.
6753 * manual/examples/fmtmsgexpl.c: Likewise.
6754 * manual/examples/genpass.c: Likewise.
6755 * manual/examples/inetcli.c: Likewise.
6756 * manual/examples/inetsrv.c: Likewise.
6757 * manual/examples/isockad.c: Likewise.
6758 * manual/examples/longopt.c: Likewise.
6759 * manual/examples/memopen.c: Likewise.
6760 * manual/examples/memstrm.c: Likewise.
6761 * manual/examples/mkfsock.c: Likewise.
6762 * manual/examples/mkisock.c: Likewise.
6763 * manual/examples/mygetpass.c: Likewise.
6764 * manual/examples/pipe.c: Likewise.
6765 * manual/examples/popen.c: Likewise.
6766 * manual/examples/rprintf.c: Likewise.
6767 * manual/examples/search.c: Likewise.
6768 * manual/examples/select.c: Likewise.
6769 * manual/examples/setjmp.c: Likewise.
6770 * manual/examples/sigh1.c: Likewise.
6771 * manual/examples/sigusr.c: Likewise.
6772 * manual/examples/stpcpy.c: Likewise.
6773 * manual/examples/strdupa.c: Likewise.
6774 * manual/examples/strftim.c: Likewise.
6775 * manual/examples/strncat.c: Likewise.
6776 * manual/examples/subopt.c: Likewise.
6777 * manual/examples/swapcontext.c: Likewise.
6778 * manual/examples/termios.c: Likewise.
6779 * manual/examples/testopt.c: Likewise.
6780 * manual/examples/testpass.c: Likewise.
6781 * manual/examples/timeval_subtract.c: Likewise.
6784 * manual/time.texi (Elapsed Time): Move timeval_subtract example
6786 * manual/timeval_subtract.c.texi: ... here, new file.
6788 2012-03-02 David S. Miller <davem@davemloft.net>
6790 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
6792 2012-03-02 Joseph Myers <joseph@codesourcery.com>
6795 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
6796 (__sin): Save and restore rounding mode and use round-to-nearest
6797 for all computations.
6798 (__cos): Save and restore rounding mode and use round-to-nearest
6799 for all computations.
6800 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
6802 (tan): Save and restore rounding mode and use round-to-nearest for
6804 * math/libm-test.inc (cos_test_tonearest): New function.
6805 (cos_test_towardzero): Likewise.
6806 (cos_test_downward): Likewise.
6807 (cos_test_upward): Likewise.
6808 (sin_test_tonearest): Likewise.
6809 (sin_test_towardzero): Likewise.
6810 (sin_test_downward): Likewise.
6811 (sin_test_upward): Likewise.
6812 (tan_test_tonearest): Likewise.
6813 (tan_test_towardzero): Likewise.
6814 (tan_test_downward): Likewise.
6815 (tan_test_upward): Likewise.
6816 (main): Call the new functions.
6817 * sysdeps/i386/fpu/libm-test-ulps: Update.
6818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6821 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
6822 small n, then large n, before computing and testing k+n.
6823 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6824 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6826 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6828 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
6829 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6830 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6831 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6832 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6833 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6834 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6835 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
6836 * math/libm-test.inc (scalbn_test): Add more tests.
6837 (scalbln_test): Likewise.
6839 * manual/filesys.texi (mode_t): Describe constraints on size and
6840 signedness, not exact equivalence to a particular type.
6842 (ino64_t): Likewise.
6844 (nlink_t): Likewise.
6845 (blkcnt_t): Likewise.
6846 (blkcnt64_t): Likewise.
6847 * manual/llio.texi (off_t): Likewise.
6850 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
6851 (__ieee754_exp): Save and restore rounding mode and use
6852 round-to-nearest for all computations.
6853 * math/libm-test.inc (exp_test_tonearest): New function.
6854 (exp_test_towardzero): Likewise.
6855 (exp_test_downward): Likewise.
6856 (exp_test_upward): Likewise.
6857 (main): Call the new functions.
6858 * sysdeps/i386/fpu/libm-test-ulps: Update.
6859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6861 2012-03-01 Chris Demetriou <cgd@google.com>
6863 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6864 have predictable order.
6866 2012-03-01 David S. Miller <davem@davemloft.net>
6868 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6870 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6871 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6872 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6873 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6875 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6876 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6877 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6879 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6880 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6881 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6882 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6883 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6887 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6888 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6889 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6891 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6892 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6893 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6894 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6895 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6896 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6897 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6898 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6899 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6900 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6901 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6902 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6903 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6904 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6905 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6906 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6907 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6908 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6909 * sysdeps/sparc/elf/configure: Regenerated.
6911 2012-03-01 Joseph Myers <joseph@codesourcery.com>
6913 * configure.in (AS, LD): Require binutils 2.20 or later.
6914 * configure: Regenerated.
6915 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6916 as required minimum version.
6917 * INSTALL: Regenerated.
6921 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6922 before squaring exponent.
6923 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6924 bottom long double and 27 bits of top long double before squaring
6926 * math/libm-test.inc (erfc_test): Add more tests.
6927 * sysdeps/i386/fpu/libm-test-ulps: Update.
6928 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6931 2012-03-01 Kai Tietz <ktietz@redhat.com>
6933 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6934 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6935 containing bit-fields.
6936 * soft-fp/extended.h (_FP_UNION_E): Likewise.
6937 * soft-fp/single.h (_FP_UNION_S): Likewise.
6938 * soft-fp/double.h (_FP_UNION_D): Likewise.
6940 2012-02-29 Joseph Myers <joseph@codesourcery.com>
6943 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6944 not include ../strcmp.S.
6945 [USE_AS_STRNCASECMP_L]: Likewise.
6946 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6947 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6948 * sysdeps/i386/i686/multiarch/strncase_l-c.c
6949 (__strncasecmp_l_ia32): Define as alias to
6950 __strncasecmp_l_nonascii.
6953 * math/libm-test.inc (expm1_test): Add test for bug 5794.
6954 * sysdeps/i386/fpu/libm-test-ulps: Update.
6955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6957 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
6958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6960 2012-02-29 Jeff Law <law@redhat.com>
6962 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6965 2012-02-29 Marek Polacek <polacek@redhat.com>
6968 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
6969 * elf/Makefile: Add rules to run tst-unused-dep.out.
6971 2012-02-28 David S. Miller <davem@davemloft.net>
6973 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
6974 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
6975 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
6976 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
6977 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
6978 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
6980 2012-02-29 Joseph Myers <joseph@codesourcery.com>
6982 * math/libm-test.inc (llround_test): Move one test from
6983 lround_test. Use TEST_f_L in moved test.
6984 (lround_test): Move misplaced test to llround_test. Add testcase
6987 2012-02-28 Ulrich Drepper <drepper@gmail.com>
6989 * sysdeps/x86_64/fpu/e_expf.S: New file.
6990 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
6992 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
6995 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
6996 of remain_len that may cause incomplete multi-byte character and
6998 * posix/bug-regex33.c: New file.
6999 * posix/Makefile (tests): Add bug-regex33.
7001 2012-02-28 Joseph Myers <joseph@codesourcery.com>
7003 * manual/macros.texi: New file.
7004 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7005 * manual/libc.texinfo: Include macros.texi.
7006 * manual/creatute.texi: Likewise.
7007 * manual/install.texi: Likewise.
7008 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7009 @glibcadj{} in references to the GNU C Library.
7010 * manual/charset.texi: Likewise.
7011 * manual/conf.texi: Likewise.
7012 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7013 when not using those macros.
7014 * manual/creature.texi: Likewise.
7015 * manual/crypt.texi: Likewise.
7016 * manual/errno.texi: Likewise.
7017 * manual/filesys.texi: Likewise.
7018 * manual/header.texi: Likewise.
7019 * manual/install.texi: Likewise.
7020 * manual/intro.texi: Likewise.
7021 * manual/io.texi: Likewise.
7022 * manual/job.texi: Likewise.
7023 * manual/lang.texi: Likewise.
7024 * manual/libc.texiinfo: Likewise.
7025 * manual/llio.texi: Likewise.
7026 * manual/locale.texi: Likewise.
7027 * manual/maint.texi: Likewise.
7028 * manual/math.texi: Likewise.
7029 * manual/memory.texi: Likewise.
7030 * manual/message.texi: Likewise.
7031 * manual/nss.texi: Likewise.
7032 * manual/pattern.texi: Likewise.
7033 * manual/process.texi: Likewise.
7034 * manual/resource.texi: Likewise.
7035 * manual/search.texi: Likewise.
7036 * manual/setjmp.texi: Likewise.
7037 * manual/signal.texi: Likewise.
7038 * manual/socket.texi: Likewise.
7039 * manual/startup.texi: Likewise.
7040 * manual/stdio.texi: Likewise.
7041 * manual/string.texi: Likewise.
7042 * manual/sysinfo.texi: Likewise.
7043 * manual/syslog.texi: Likewise.
7044 * manual/terminal.texi: Likewise.
7045 * manual/time.texi: Likewise.
7046 * manual/users.texi: Likewise.
7047 * INSTALL: Regenerated.
7048 * NOTES: Regenerated.
7049 * sysdeps/gnu/errlist.c: Regenerated.
7051 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7053 * include/dirent.h: Include <dirstream.h> before
7056 2012-02-28 David S. Miller <davem@davemloft.net>
7058 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7059 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7060 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7061 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7063 2012-02-27 David S. Miller <davem@davemloft.net>
7065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7067 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7068 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7071 frame pointer instead of stack pointer relative arg slot.
7072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7073 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7074 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7076 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7079 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7081 2012-02-27 David S. Miller <davem@davemloft.net>
7083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7087 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7088 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7089 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7090 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7092 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7094 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7095 later. Allow versions 5-9.
7096 * configure: Regenerated.
7097 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7098 required minimum version and 4.6 as recommended version. Do not
7099 mention bugs in GCC 2.7 and 2.8.
7100 * INSTALL: Regenerated.
7102 2012-02-27 David S. Miller <davem@davemloft.net>
7104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7108 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7109 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7110 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7111 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7113 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7114 manipulate bits before adding and subtracting TWO112[sx].
7115 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7117 2012-02-27 Roland McGrath <roland@hack.frob.com>
7120 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7121 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7122 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7123 being in POSIX, because they are in 1003.1-2008.
7125 * rt/tst-aio.c: Include <fcntl.h>.
7126 * rt/tst-aio7.c: Likewise.
7127 * rt/tst-aio64.c: Likewise.
7129 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7131 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7133 * manual/install.texi (--with-headers): Describe headers as
7134 interface headers, not private headers.
7135 (Specific advice for GNU/Linux systems): Describe use of headers
7136 from "make headers_install", not private headers from older
7138 * INSTALL: Regenerated.
7139 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7141 * sysdeps/unix/sysv/linux/configure: Regenerated.
7143 * manual/llio.texi (fclean): Remove documentation.
7145 * manual/Makefile (libc-texi-generated): New variable. Include
7147 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7148 $(libc-texi-generated), not duplicated list of files.
7149 (version.texi, stamp-version): New rules.
7150 (realclean): Remove $(libc-texi-generated), not individual files
7151 from that list. Do not remove dir-add.texinfo.
7152 * manual/libc.texinfo: Comment out uses of edition numbers and
7153 references to printed manual. Remove last-updated dates.
7154 (EDITION): Comment out.
7156 (VERSION, UPDATED): Remove.
7157 (version.texi): Include.
7159 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7161 * sysdeps/posix/spawni.c: Include <signal.h>.
7162 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7163 * sysdeps/pthread/aio_fsync.c: Likewise.
7165 2012-02-26 Ulrich Drepper <drepper@gmail.com>
7167 * conform/Makefile (tests): Run only when not cross-compiling and
7168 when fast-check is not defined.
7170 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7171 * conform/data/limits.h-data: Fixes for POSIX2008.
7172 * conform/run-conformtest.sh: Run all tests.
7173 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7175 * include/bits/dlfcn.h: Likewise.
7176 * include/langinfo.h: Likewise.
7177 * include/monetary.h: Likewise.
7178 * include/sys/poll.h: Likewise.
7180 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7182 * posix/spawn.h: Define __need_sigset_t.
7183 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7184 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7185 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7186 to get sigevent_t only.
7187 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7189 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7190 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7191 process_vm_writev only for __USE_GNU.
7192 * termios/termios.h: Declare tcgetsid also for POSIX2008.
7194 * conform/Makefile: For now ignore errors from run-conformtest.
7195 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7196 POSIX to avoid namespace pollution. Don't prepend headers.
7197 * conform/data/aio.h-data: Fixes for POSIX testing.
7198 * conform/data/fcntl.h-data: Likewise.
7199 * conform/data/glob.h-data: Likewise.
7200 * conform/data/grp.h-data: Likewise.
7201 * conform/data/pthread.h-data: Likewise.
7202 * conform/data/pwd.h-data: Likewise.
7203 * conform/data/signal.h-data: Likewise.
7204 * conform/data/spawn.h-data: Likewise.
7205 * conform/data/stdio.h-data: Likewise.
7206 * conform/data/stdlib.h-data: Likewise.
7207 * conform/data/stropts.h-data: Likewise.
7208 * conform/data/sys/mman.h-data: Likewise.
7209 * conform/data/sys/stat.h-data: Likewise.
7210 * conform/data/sys/types.h-data: Likewise.
7211 * conform/data/sys/wait.h-data: Likewise.
7212 * conform/data/time.h-data: Likewise.
7213 * conform/data/unistd.h-data: Likewise.
7214 * conform/data/utime.h-data: Likewise.
7216 * io/sys/stat.h: fchmod was always in POSIX.
7217 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7218 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7219 * rt/aio.h: Define __need_timespec before including <time.h>.
7220 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7221 struct. Add forward declaration of pthread_attr_t and use it in
7223 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7224 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7225 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7226 always remove CLK_TCK definition.
7228 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7230 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7232 2012-02-25 Ulrich Drepper <drepper@gmail.com>
7234 * conform/run-conformtest.sh: New file.
7235 * conform/Makefile: Run run-conformtest for tests.
7236 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7239 * conform/data/uchar.h-data: New file.
7240 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7241 * conform/data/arpa/inet.h-data: Likewise.
7242 * conform/data/assert.h-data: Likewise.
7243 * conform/data/complex.h-data: Likewise.
7244 * conform/data/cpio.h-data: Likewise.
7245 * conform/data/ctype.h-data: Likewise.
7246 * conform/data/dirent.h-data: Likewise.
7247 * conform/data/dlfcn.h-data: Likewise.
7248 * conform/data/errno.h-data: Likewise.
7249 * conform/data/fcntl.h-data: Likewise.
7250 * conform/data/float.h-data: Likewise.
7251 * conform/data/fmtmsg.h-data: Likewise.
7252 * conform/data/fnmatch.h-data: Likewise.
7253 * conform/data/ftw.h-data: Likewise.
7254 * conform/data/glob.h-data: Likewise.
7255 * conform/data/grp.h-data: Likewise.
7256 * conform/data/iconv.h-data: Likewise.
7257 * conform/data/inttypes.h-data: Likewise.
7258 * conform/data/langinfo.h-data: Likewise.
7259 * conform/data/libgen.h-data: Likewise.
7260 * conform/data/limits.h-data: Likewise.
7261 * conform/data/locale.h-data: Likewise.
7262 * conform/data/math.h-data: Likewise.
7263 * conform/data/monetary.h-data: Likewise.
7264 * conform/data/mqueue.h-data: Likewise.
7265 * conform/data/ndbm.h-data: Likewise.
7266 * conform/data/net/if.h-data: Likewise.
7267 * conform/data/netdb.h-data: Likewise.
7268 * conform/data/netinet/in.h-data: Likewise.
7269 * conform/data/nl_types.h-data: Likewise.
7270 * conform/data/poll.h-data: Likewise.
7271 * conform/data/pthread.h-data: Likewise.
7272 * conform/data/pwd.h-data: Likewise.
7273 * conform/data/regex.h-data: Likewise.
7274 * conform/data/sched.h-data: Likewise.
7275 * conform/data/search.h-data: Likewise.
7276 * conform/data/semaphore.h-data: Likewise.
7277 * conform/data/setjmp.h-data: Likewise.
7278 * conform/data/signal.h-data: Likewise.
7279 * conform/data/spawn.h-data: Likewise.
7280 * conform/data/stdarg.h-data: Likewise.
7281 * conform/data/stdio.h-data: Likewise.
7282 * conform/data/stdlib.h-data: Likewise.
7283 * conform/data/string.h-data: Likewise.
7284 * conform/data/strings.h-data: Likewise.
7285 * conform/data/stropts.h-data: Likewise.
7286 * conform/data/sys/ipc.h-data: Likewise.
7287 * conform/data/sys/mman.h-data: Likewise.
7288 * conform/data/sys/msg.h-data: Likewise.
7289 * conform/data/sys/resource.h-data: Likewise.
7290 * conform/data/sys/select.h-data: Likewise.
7291 * conform/data/sys/sem.h-data: Likewise.
7292 * conform/data/sys/shm.h-data: Likewise.
7293 * conform/data/sys/socket.h-data: Likewise.
7294 * conform/data/sys/stat.h-data: Likewise.
7295 * conform/data/sys/statvfs.h-data: Likewise.
7296 * conform/data/sys/time.h-data: Likewise.
7297 * conform/data/sys/timeb.h-data: Likewise.
7298 * conform/data/sys/times.h-data: Likewise.
7299 * conform/data/sys/types.h-data: Likewise.
7300 * conform/data/sys/uio.h-data: Likewise.
7301 * conform/data/sys/un.h-data: Likewise.
7302 * conform/data/sys/utsname.h-data: Likewise.
7303 * conform/data/sys/wait.h-data: Likewise.
7304 * conform/data/syslog.h-data: Likewise.
7305 * conform/data/tar.h-data: Likewise.
7306 * conform/data/termios.h-data: Likewise.
7307 * conform/data/utime.h-data: Likewise.
7308 * conform/data/utmpx.h-data: Likewise.
7309 * conform/data/varargs.h-data: Likewise.
7310 * conform/data/wchar.h-data: Likewise.
7311 * conform/data/wctype.h-data: Likewise.
7312 * conform/data/wordexp.h-data: Likewise.
7314 * include/stropts.h: New file.
7315 * include/uchar.h: New file.
7316 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7317 * include/assert.h: Likewise.
7318 * include/ctype.h: Likewise.
7319 * include/dirent.h: Likewise.
7320 * include/dlfcn.h: Likewise.
7321 * include/fcntl.h: Likewise.
7322 * include/fnmatch.h: Likewise.
7323 * include/glob.h: Likewise.
7324 * include/grp.h: Likewise.
7325 * include/libio.h: Likewise.
7326 * include/locale.h: Likewise.
7327 * include/math.h: Likewise.
7328 * include/net/if.h: Likewise.
7329 * include/netdb.h: Likewise.
7330 * include/netinet/in.h: Likewise.
7331 * include/pthread.h: Likewise.
7332 * include/pwd.h: Likewise.
7333 * include/regex.h: Likewise.
7334 * include/sched.h: Likewise.
7335 * include/search.h: Likewise.
7336 * include/setjmp.h: Likewise.
7337 * include/signal.h: Likewise.
7338 * include/stdio.h: Likewise.
7339 * include/stdlib.h: Likewise.
7340 * include/string.h: Likewise.
7341 * include/sys/cdefs.h: Likewise.
7342 * include/sys/mman.h: Likewise.
7343 * include/sys/msg.h: Likewise.
7344 * include/sys/resource.h: Likewise.
7345 * include/sys/select.h: Likewise.
7346 * include/sys/socket.h: Likewise.
7347 * include/sys/stat.h: Likewise.
7348 * include/sys/statvfs.h: Likewise.
7349 * include/sys/time.h: Likewise.
7350 * include/sys/times.h: Likewise.
7351 * include/sys/uio.h: Likewise.
7352 * include/sys/utsname.h: Likewise.
7353 * include/sys/wait.h: Likewise.
7354 * include/termios.h: Likewise.
7355 * include/time.h: Likewise.
7356 * include/ulimit.h: Likewise.
7357 * include/unistd.h: Likewise.
7358 * include/utime.h: Likewise.
7359 * include/wchar.h: Likewise.
7360 * include/wctype.h: Likewise.
7361 * include/wordexp.h: Likewise.
7363 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7365 * time/time.h: TIME_UTC must be a macro.
7366 Make timespec_get available for ISO C11 only as well.
7368 2012-02-24 Ulrich Drepper <drepper@gmail.com>
7370 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7371 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7373 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7375 * configure.in: Use -o not -a in test for unsupported multi-arch.
7377 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7379 * manual/texinfo.tex: Update to version 2012-01-19.16.
7381 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7383 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7385 2012-02-24 Roland McGrath <roland@hack.frob.com>
7388 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7389 * manual/fdl-1.3.texi: New file.
7390 * manual/fdl-1.1.texi: File removed.
7393 * manual/libc.texinfo (FDL_VERSION): New @set.
7394 Use it for mention of FDL in cover text.
7395 (Documentation License): Use it in @include file name.
7397 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7398 Roland McGrath <roland@hack.frob.com>
7401 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7402 not LONG_LONG_MAX and LONG_LONG_MIN.
7403 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7404 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7406 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7408 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7412 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7413 manipulate bits before adding and subtracting TWO23[sx].
7414 * math/libm-test.inc (nearbyint_test): Add more tests.
7416 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7419 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7420 bits before adding and subtracting TWO23[sx].
7421 * math/libm-test.inc (rint_test): Add more tests.
7422 (rint_test_tonearest): Likewise.
7423 (rint_test_towardzero): Likewise.
7424 (rint_test_downward): Likewise.
7425 (rint_test_upward: Likewise.
7427 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7430 * include/stdc-predef.h: New file. Extracted from features.h.
7431 * include/features.h: Include stdc-predef.h.
7432 * Makefile (headers): Add stdc-predef.h.
7433 * CONFORMANCE (Compiler limitations): Update.
7435 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7437 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7439 2012-02-21 David S. Miller <davem@davemloft.net>
7441 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7442 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7444 2012-02-20 David S. Miller <davem@davemloft.net>
7446 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7447 using a normal save/restore sequence, rather than allocating a
7448 dummy stack frame just to store a frame pointer and restore.
7449 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7451 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7453 * manual/install.texi: Fix stray word in line-wrapped comment.
7455 2012-02-20 David S. Miller <davem@davemloft.net>
7457 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7458 both binutils and gcc support GOTDATA.
7460 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7461 "rd %pc" in the PIC register setup sequences.
7463 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7464 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7465 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7466 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7467 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7468 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7469 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7470 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7471 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7472 (SYSCALL_ERROR_HANDLER): Likewise.
7473 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7474 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7475 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7476 (SYSCALL_ERROR_HANDLER): Likewise.
7478 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7479 (HAVE_GCC_GOTDATA): New.
7480 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7481 relocation support in both binutils and gcc.
7482 * sysdeps/sparc/elf/configure: Regenerate.
7484 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7485 * sysdeps/sparc/sparc32/elf/configure: Delete.
7486 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7487 * sysdeps/sparc/sparc64/elf/configure: Delete.
7488 * sysdeps/sparc/elf/configure.in: New file.
7489 * sysdeps/sparc/elf/configure: Generate.
7491 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7492 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7493 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7494 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7495 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7497 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7499 * manual/install.texi: Do not mention specific glibc version
7501 * manual/libc.texinfo (VERSION, UPDATED): Update.
7502 (@copying): Use @copyright{} and range of years.
7504 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7507 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7508 [crti.S not in sysdirs] (generated): Do not append.
7509 [crti.S not in sysdirs] (omit-deps): Likewise.
7510 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7511 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7512 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7513 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7514 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7516 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7517 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7518 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7519 * csu/defs.awk: Remove file.
7520 * sysdeps/generic/initfini.c: Likewise.
7521 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7523 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7526 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7528 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7529 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7530 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7531 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7532 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7533 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7535 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7536 (__EPOLL_PACKED): Define to empty if not defined by
7538 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7539 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7542 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7544 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7545 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7546 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7547 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7549 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7550 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7553 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7555 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7557 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7558 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7559 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7562 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7564 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7565 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7567 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
7569 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
7570 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
7572 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
7574 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7577 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
7579 * math/w_acos.c: Use non-signaling floating-point comparisons.
7580 * math/w_acosf.c: Likewise.
7581 * math/w_acosh.c: Likewise.
7582 * math/w_acoshf.c: Likewise.
7583 * math/w_acoshl.c: Likewise.
7584 * math/w_acosl.c: Likewise.
7585 * math/w_asin.c: Likewise.
7586 * math/w_asinf.c: Likewise.
7587 * math/w_asinl.c: Likewise.
7588 * math/w_atanh.c: Likewise.
7589 * math/w_atanhf.c: Likewise.
7590 * math/w_atanhl.c: Likewise.
7591 * math/w_exp2.c: Likewise.
7592 * math/w_exp2f.c: Likewise.
7593 * math/w_exp2l.c: Likewise.
7594 * math/w_j0.c: Likewise.
7595 * math/w_j0f.c: Likewise.
7596 * math/w_j0l.c: Likewise.
7597 * math/w_j1.c: Likewise.
7598 * math/w_j1f.c: Likewise.
7599 * math/w_j1l.c: Likewise.
7600 * math/w_jn.c: Likewise.
7601 * math/w_jnf.c: Likewise.
7602 * math/w_log.c: Likewise.
7603 * math/w_log10.c: Likewise.
7604 * math/w_log10f.c: Likewise.
7605 * math/w_log10l.c: Likewise.
7606 * math/w_log2.c: Likewise.
7607 * math/w_log2f.c: Likewise.
7608 * math/w_log2l.c: Likewise.
7609 * math/w_logf.c: Likewise.
7610 * math/w_logl.c: Likewise.
7611 * math/w_sqrt.c: Likewise.
7612 * math/w_sqrtf.c: Likewise.
7613 * math/w_sqrtl.c: Likewise.
7614 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7615 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7616 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7617 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7618 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7620 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7623 * manual/string.texi (strnlen): Use correct parameter name in
7624 equivalent expression.
7626 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7629 * manual/users.texi (seteuid): Consistently use neweuid for
7632 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7635 * manual/nss.texi (Services in the NSS configuration): Correct
7636 list of services in example configuration file.
7638 2012-02-19 Nick Bowler <nbowler@draconx.ca>
7641 * manual/arith.texi: Remove statements about negative zero
7642 behaving identically to zero.
7644 2012-02-18 Joseph Myers <joseph@codesourcery.com>
7647 * manual/install.texi: Do not document upgrading from libc5.
7649 2012-02-18 Joseph Myers <joseph@codesourcery.com>
7652 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
7654 2012-02-18 David S. Miller <davem@davemloft.net>
7656 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
7657 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
7658 %o7 across the call.
7659 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
7661 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
7663 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7664 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
7665 * sysdeps/sparc/crtn.S: Likewise.
7667 2012-02-17 Ulrich Drepper <drepper@gmail.com>
7669 * aout/Makefile: Remove.
7671 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
7674 * manual/examples/argp-ex1.c (main): Format definition in GNU
7676 * manual/examples/argp-ex2.c (main): Likewise.
7677 * manual/examples/argp-ex3.c (main): Likewise.
7678 * manual/examples/argp-ex4.c (main): Likewise.
7679 * manual/examples/longopt.c (main): Use new-style prototype
7681 * manual/examples/strncat.c (main): Specify return type and use
7682 (void) for arguments.
7683 * manual/examples/subopt.c (main): Use char **argv argument.
7685 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7688 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
7691 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
7694 * manual/string.texi (strchr): Change when strchrnul is
7697 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
7700 * manual/locale.texi (setlocale): Document LOCPATH.
7702 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7705 * manual/process.texi (execle): Move @dots{} before last argument.
7707 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
7710 * manual/charset.texi (Generic Charset Conversion): Fix typo
7711 (LC_TYPE -> LC_CTYPE).
7713 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
7716 * manual/arith.texi (scalbn): Use @var{} on parameter names.
7717 (scalbnf): Likewise.
7718 (scalbnl): Likewise.
7719 (scalbln): Likewise.
7720 (scalblnf): Likewise.
7721 (scalblnl): Likewise.
7722 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
7726 * manual/filesys.texi (telldir): Use braces around return type.
7727 * manual/llio.texi (mmap): Add space after comma.
7729 * manual/math.texi (jn): Use @var{} on parameter names.
7735 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
7737 * manual/resource.texi (ulimit): Use @dots{} instead of literal
7739 (sched_get_priority_min): Remove semicolon on @deftypefun line.
7740 (sched_get_priority_max): Likewise.
7741 * manual/signal.texi (sigvec): Add space after comma.
7742 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
7744 (if_indextoname): Likewise.
7745 (if_freenameindex): Likewise.
7746 (sendto): Use ',' instead of '.' in prototype.
7747 * manual/startup.texi (syscall): Use @dots{} instead of literal
7749 * manual/stdio.texi (__fpending): Separate initial words of
7750 paragraph from @deftypefun line.
7751 * manual/syslog.texi (syslog): Use @dots{} instead of literal
7753 (vsyslog): Use @var{} on parameter names.
7754 * manual/terminal.texi (stty): Use @var{} on parameter names.
7755 * manual/users.texi (getutmp): Use @var{} on parameter names.
7756 (getutmpx): Likewise.
7758 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7761 * manual/stdio.texi (fopen): Fix typos in description of
7764 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
7767 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
7768 get clock_id definition.
7770 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
7773 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
7774 (madvise): Cast every argument to void on its own.
7776 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7779 * manual/startup.texi (Exit Status): Fix typo.
7781 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7784 * manual/examples/argp-ex1.c: Include <stdlib.h>.
7785 * manual/examples/argp-ex2.c: Likewise.
7786 * manual/examples/argp-ex3.c: Likewise.
7788 2012-02-16 Richard Henderson <rth@redhat.com>
7790 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
7791 * sysdeps/s390/s390-32/initfini.c: Remove.
7792 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
7793 * sysdeps/s390/s390-64/initfini.c: Remove.
7795 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7797 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
7798 compiler output for sysdeps/generic/initfini.c.
7799 * sysdeps/sh/elf/initfini.c: Remove file.
7801 2012-02-16 David S. Miller <davem@davemloft.net>
7804 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
7806 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
7807 * sysdeps/sparc/crti.S: New file.
7808 * sysdeps/sparc/crtn.S: New file.
7809 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
7810 * sysdeps/sparc/sparc64/Makefile: Likewise.
7812 2012-02-15 Mike Frysinger <vapier@gentoo.org>
7815 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
7817 2012-02-15 Roland McGrath <roland@hack.frob.com>
7820 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
7822 * mach/devstream.c (cookie_io_functions_t): Macro removed.
7823 (write, read, close): Likewise.
7824 Patch by Aurelien Jarno <aurelien@aurel32.net>.
7826 2012-02-15 Joseph Myers <joseph@codesourcery.com>
7828 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
7829 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
7830 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
7831 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
7833 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
7834 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7837 2012-02-14 Marek Polacek <polacek@redhat.com>
7839 * sysdeps/x86_64/crti.S: New file.
7840 * sysdeps/x86_64/crtn.S: New file.
7841 * sysdeps/x86_64/elf/initfini.c: Remove file.
7843 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7845 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
7846 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
7847 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
7848 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
7850 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
7851 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7854 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7856 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
7857 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
7858 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
7859 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
7861 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
7862 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7865 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
7867 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7868 __feraiseexcept instead of feraiseexcept.
7870 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7871 nanosleep invocations.
7872 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7873 strings, and add error checking for a nanosleep invocations.
7875 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7877 Replace FSF snail mail address with URLs, as per GNU coding standards.
7878 Most of the snail mail addresses were wrong anyway, and omitting
7879 them makes the source code easier to maintain. Almost all of the
7880 changes are to license notices and to locale LC_IDENTIFICATION
7881 addresses, except for this one:
7882 * manual/libc.texinfo: In "Published by", give the FSF's URL,
7883 not its snail mail address.
7885 2012-02-09 Richard Henderson <rth@twiddle.net>
7887 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7888 of kernel-features.h.
7890 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7892 2012-02-08 Marek Polacek <polacek@redhat.com>
7894 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7895 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7896 * sysdeps/gnu/_G_config.h: Likewise.
7897 * sysdeps/generic/_G_config.h: Likewise.
7899 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7901 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7905 * sysdeps/powerpc/powerpc32/crti.S: New file.
7906 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7907 * sysdeps/powerpc/powerpc64/crti.S: New file.
7908 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7910 * Makeconfig (have-initfini): Don't set.
7911 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7912 * configure.in (nopic_initfini): Don't substitute.
7913 * config.h.in (HAVE_INITFINI): Don't #undef.
7914 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7915 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7917 2012-02-08 Joseph Myers <joseph@codesourcery.com>
7919 Support crti.S and crtn.S provided directly by architectures.
7920 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7921 [crti.S in sysdirs] (omit-deps): Likewise.
7922 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7923 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7924 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7925 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7926 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7927 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7928 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7929 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7930 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7931 compiler output for sysdeps/generic/initfini.c.
7932 * sysdeps/i386/elf/Makefile: Remove file.
7933 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7935 2012-02-07 Marek Polacek <polacek@redhat.com>
7937 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7938 * sysdeps/gnu/_G_config.h: Likewise.
7939 * sysdeps/mach/hurd/_G_config.h: Likewise.
7941 2012-02-07 Marek Polacek <polacek@redhat.com>
7943 * math/Makefile (tests): Add tst-CMPLX2.
7944 * math/tst-CMPLX2.c: New file.
7946 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
7948 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7950 * math/libm-test.inc (jn_test): Add missing L suffix.
7952 2012-02-06 Marek Polacek <polacek@redhat.com>
7954 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7955 * sysdeps/i386/fpu/e_powf.S: Likewise.
7956 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7957 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7958 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7959 * sysdeps/i386/fpu/e_pow.S: Likewise.
7960 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7961 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7962 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7963 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7964 * sysdeps/i386/fpu/e_log2.S: Likewise.
7965 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7966 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7967 * sysdeps/i386/fpu/e_powl.S: Likewise.
7968 * sysdeps/i386/fpu/s_log1p.S: Likewise.
7969 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7970 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7971 * sysdeps/i386/fpu/e_logl.S: Likewise.
7972 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7973 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
7974 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7975 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7976 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7977 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7978 * sysdeps/i386/fpu/e_log.S: Likewise.
7979 * sysdeps/i386/fpu/s_cexp.S: Likewise.
7980 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7981 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
7982 * sysdeps/i386/fpu/e_logf.S: Likewise.
7983 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7984 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7985 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
7986 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7987 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7988 * sysdeps/i386/fpu/e_log10.S: Likewise.
7989 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7990 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7991 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7992 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7993 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7994 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7995 * sysdeps/i386/asm-syntax.h: Likewise.
7996 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7997 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7998 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7999 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8000 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8001 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8002 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8003 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8004 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8005 * sysdeps/powerpc/sysdep.h: Likewise.
8006 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8007 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8009 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8012 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8014 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8016 * sysdeps/i386/sysdep.h: Include <features.h>.
8017 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8020 2012-02-05 Joseph Myers <joseph@codesourcery.com>
8022 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8024 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8027 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8029 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8030 (SETUP_PIC_REG): Use GET_PC_THUNK.
8031 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8034 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8036 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8037 for non-PIC compilation.
8038 (SETUP_PIC_REG): Add .p2align directive.
8039 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8040 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8041 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8042 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8043 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8044 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8045 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8046 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8047 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8048 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8049 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8050 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8051 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8052 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8053 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8054 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8055 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8056 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8057 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8058 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8059 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8060 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8061 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8062 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8063 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8064 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8065 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8066 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8067 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8068 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8069 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8070 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8071 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8072 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8073 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8074 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8075 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8076 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8077 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8078 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8079 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8081 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8083 * math/tst-CMPLX.c: Include <stdio.h>.
8085 2012-01-31 Joseph Myers <joseph@codesourcery.com>
8087 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8089 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8090 * sysdeps/sparc/bits/mathdef.h: Likewise.
8092 2012-01-31 Marek Polacek <polacek@redhat.com>
8094 * libio/libio.h: Don't define _PARAMS.
8095 * locale/programs/config.h: Don't define PARAMS.
8096 * stdlib/strtol_l.c: Likewise.
8097 (__strtol_l): Remove PARAMS from the prototype.
8099 2012-01-31 Ulrich Drepper <drepper@gmail.com>
8101 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8102 names. Just use the correct names. Remove unnecessary wrapper
8104 * malloc/arena.c: Likewise.
8105 * malloc/hooks.c: Likewise.
8107 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8108 ARENA_TEST says not to. Simplify test for creation of a new arena.
8109 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8111 2012-01-30 Ulrich Drepper <drepper@gmail.com>
8113 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8115 (update_get_addr): New function.
8116 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8117 GET_ADDR_MODULE parameter.
8119 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8121 * crypt/cert.c: Remove __STDC__ conditionals.
8122 * crypt/crypt-entry.c: Likewise.
8123 * crypt/crypt_util.c: Likewise.
8124 * libio/filedoalloc.c: Likewise.
8125 * libio/fileops.c: Likewise.
8126 * libio/genops.c: Likewise.
8127 * libio/iofclose.c: Likewise.
8128 * libio/iofdopen.c: Likewise.
8129 * libio/iofopen.c: Likewise.
8130 * libio/iofopen64.c: Likewise.
8131 * libio/iogetdelim.c: Likewise.
8132 * libio/iopopen.c: Likewise.
8133 * libio/obprintf.c: Likewise.
8134 * libio/oldfileops.c: Likewise.
8135 * libio/oldiofclose.c: Likewise.
8136 * libio/oldiofdopen.c: Likewise.
8137 * libio/oldiofopen.c: Likewise.
8138 * libio/oldiopopen.c: Likewise.
8139 * libio/wfiledoalloc.c: Likewise.
8140 * libio/wgenops.c: Likewise.
8141 * locale/programs/xmalloc.c: Likewise.
8142 * misc/syslog.c: Likewise.
8143 * stdio-common/xbug.c: Likewise.
8144 * string/memchr.c: Likewise.
8145 * string/memcmp.c: Likewise.
8146 * string/memrchr.c: Likewise.
8147 * string/rawmemchr.c: Likewise.
8148 * sysdeps/posix/getcwd.c: Likewise.
8149 * time/strftime_l.c: Likewise.
8151 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8153 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
8154 * config.make.in (config-cflags-sse2avx): Define.
8155 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8158 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8160 * scripts/config.guess: Update from upstream config git repository.
8161 * scripts/config.sub: Likewise.
8163 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8165 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8167 (R_TILEPRO_*, R_TILEGX_*): New macros.
8169 * scripts/firstversions.awk: Fix bug in version range handling.
8171 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8173 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8175 * include/sys/epoll.h: New file.
8176 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8179 2012-01-28 Ulrich Drepper <drepper@gmail.com>
8181 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8182 Avoid unnecessary __WORDSIZE == 64 test.
8183 (fmaxf): Use VEX format if possible.
8188 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8189 * math/math_private.h: Remove libc_fegetround* and
8191 * sysdeps/i386/configure.in: Check for -msse2avx.
8192 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8193 also if SSE2AVX is defined.
8194 Remove libc_fegetround* and libc_fesetround*.
8195 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8196 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8197 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8199 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8200 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8201 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8202 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8203 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8205 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8207 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8209 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8211 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8213 2012-01-27 Ulrich Drepper <drepper@gmail.com>
8216 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8218 * Makeconfig (libm): Define.
8219 * elf/Makefile: Add rules to build and run tst-relsort1.
8220 * elf/tst-relsort1.c: New file.
8221 * elf/tst-relsort1mod1.c: New file.
8222 * elf/tst-relsort1mod2.c: New file.
8224 2012-01-27 Joseph Myers <joseph@codesourcery.com>
8226 * math/s_ldexp.c: Remove __STDC__ conditionals.
8227 * math/s_ldexpf.c: Likewise.
8228 * math/s_ldexpl.c: Likewise.
8229 * math/s_nextafter.c: Likewise.
8230 * math/s_nexttowardf.c: Likewise.
8231 * math/s_significand.c: Likewise.
8232 * math/s_significandf.c: Likewise.
8233 * math/s_significandl.c: Likewise.
8234 * math/w_jnl.c: Likewise.
8235 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8236 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8237 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8238 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8239 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8240 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8241 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8242 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8243 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8244 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8245 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8246 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8247 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8248 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8249 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8250 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8251 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8252 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8253 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8254 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8255 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8256 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8257 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8258 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8259 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8260 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8261 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8262 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8263 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8264 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8265 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8266 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8267 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8268 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8269 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8270 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8271 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8272 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8273 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8274 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8275 * sysdeps/ieee754/k_standard.c: Likewise.
8276 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8277 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8278 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8279 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8280 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8281 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8282 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8283 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8284 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8285 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8286 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8287 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8288 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8289 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8290 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8291 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8292 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8293 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8294 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8295 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8296 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8297 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8298 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8299 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8300 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8301 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8302 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8303 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8304 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8305 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8306 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8307 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8308 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8309 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8310 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8311 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8312 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8313 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8314 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8315 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8316 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8317 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8318 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8319 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8320 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8321 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8322 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8323 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8324 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8325 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8326 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8327 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8328 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8329 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8330 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8331 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8332 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8333 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8334 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8335 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8336 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8337 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8338 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8339 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8340 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8341 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8342 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8343 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8344 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8345 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8346 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8347 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8348 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8349 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8350 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8351 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8352 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8353 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8354 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8355 * sysdeps/ieee754/s_matherr.c: Likewise.
8356 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8357 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8358 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8359 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8361 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8363 * crypt/md5.h: Remove __STDC__ conditionals.
8364 * libio/libioP.h: Likewise.
8365 * locale/programs/config.h: Likewise.
8366 * sysdeps/generic/sysdep.h: Likewise.
8367 * sysdeps/i386/asm-syntax.h: Likewise.
8368 * sysdeps/s390/asm-syntax.h: Likewise.
8369 * sysdeps/unix/sysdep.h: Likewise.
8370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8373 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8375 * libio/libio.h: Remove __STDC__ conditionals.
8376 * malloc/obstack.h: Likewise.
8377 * math/complex.h: Likewise.
8378 * math/math.h: Likewise.
8379 * sysdeps/generic/_G_config.h: Likewise.
8380 * sysdeps/gnu/_G_config.h: Likewise.
8381 * sysdeps/mach/hurd/_G_config.h: Likewise.
8382 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8383 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8384 * sysdeps/sparc/bits/mathdef.h: Likewise.
8386 2012-01-26 Ulrich Drepper <drepper@gmail.com>
8389 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
8390 Clean up HAS_* macros.
8391 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
8392 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8394 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8396 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8397 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8398 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8399 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8400 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8402 2012-01-25 Joseph Myers <joseph@codesourcery.com>
8404 * elf/tst-unique3.cc (gets): Remove declaration.
8405 * elf/tst-unique3lib.cc (gets): Likewise.
8406 * elf/tst-unique3lib2.cc (gets): Likewise.
8407 * elf/tst-unique4.cc (gets): Likewise.
8409 2012-01-24 Ulrich Drepper <drepper@gmail.com>
8411 * include/stdio.h: Add C++ protection. Add gets declarations and
8413 * debug/tst-chk1.c: Don't declare gets here.
8414 * stdio-common/tst-gets.c: Likewise.
8416 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8418 * posix/glob: Remove directory.
8420 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8422 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8424 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8426 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8427 of the non-standard EPFNOSUPPORT.
8429 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8431 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8432 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8433 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8435 2012-01-21 Ulrich Drepper <drepper@gmail.com>
8437 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8439 2012-01-20 Ulrich Drepper <drepper@gmail.com>
8441 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8443 * nscd/grpcache.c (cache_addgr): Likewise.
8444 * nscd/hstcache.c (cache_addhst): Likewise.
8445 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8446 * nscd/pwdcache.c (cache_addpw): Likewise.
8447 * nscd/servicescache.c (cache_addserv): Likewise.
8449 2012-01-16 Ulrich Drepper <drepper@gmail.com>
8451 * malloc/malloc.c: Various cleanups.
8452 * malloc/hooks.c: Likewise.
8454 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8455 * stdlib/bug-fmtmsg1.c: New file.
8457 * stdlib/fmtmsg.c (init): Add missing unlock.
8458 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8460 2012-01-12 Marek Polacek <polacek@redhat.com>
8462 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8465 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8467 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8468 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8469 macro to ensure uniqueness of label name.
8470 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8471 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8473 2012-01-11 Ulrich Drepper <drepper@gmail.com>
8475 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8477 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8478 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8479 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8480 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8482 2012-01-10 Ulrich Drepper <drepper@gmail.com>
8484 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8486 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8487 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8488 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8490 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8492 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
8493 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8494 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8495 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
8497 * math/bits/math-finite.h: Add ldexp support.
8499 2012-01-10 Marek Polacek <polacek@redhat.com>
8501 * locale/programs/localedef.h (show_archive_content): Add noreturn
8504 2012-01-09 Ulrich Drepper <drepper@gmail.com>
8506 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8508 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8510 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8512 * io/Makefile (headers): Add bits/poll2.h.
8514 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8517 typo #include statement.
8519 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8521 * include/sys/cdefs.h: Define __attribute_alloc_size.
8522 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8523 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8524 * elf/pldd.c: Likewise.
8525 * iconv/iconv_charmap.c: Likewise.
8526 * iconv/iconvconfig.c: Likewise.
8527 * iconv/strtab.c: Likewise.
8528 * locale/programs/locale.c: Likewise.
8529 * locale/programs/localedef.h: Likewise.
8530 * locale/programs/simple-hash.c: Likewise.
8531 * nscd/nscd.h: Likewise.
8532 * nss/makedb.c: Likewise.
8533 * sysdeps/generic/ldconfig.h: Likewise.
8534 * locale/programs/localedef.c: Remove xmalloc prototype.
8535 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8537 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8539 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8542 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8544 * math/Makefile (tests): Add tst-CMPLX.
8545 * math/tst-CMPLX.c: New file.
8547 * math/complex.h (CMPLXL): Fix typo.
8549 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8550 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8552 * debug/tst-chk1.c: Add poll and ppoll tests.
8553 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8554 * include/sys/poll.h: Add hidden proto for ppoll.
8555 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8556 * sysdeps/mach/hurd/ppoll.c: Likewise.
8557 * io/ppoll.c: Likewise.
8558 * debug/poll_chk.c: New file.
8559 * debug/ppoll_chk.c: New file.
8560 * include/bits/poll2.h: New file.
8561 * io/bits/poll2.h: New file.
8564 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8566 * configure.in: static is always set to yes. Remove.
8567 * config.make.in: Don't set build-static.
8568 * Makeconfig: Remove use of build-static.
8569 * dlfcn/Makefile: Likewise.
8570 * elf/Makefile: Likewise.
8571 * math/Makefile: Likewise.
8572 * misc/Makefile: Likewise.
8573 * nptl/Makefile: Likewise.
8574 * sysdeps/mach/hurd/Makefile: Likewise.
8576 * configure.in: PWD_P is not used anymore.
8577 * config.make.in: Remove PWD_P entry.
8579 * configure.in: Remove last remnants of RANLIB.
8580 No need to check for signed size_t anymore.
8581 Don't set libc_commonpagesize and libc_relro_required here for Alpha
8583 Remove __builtin_expect test because we require at least gcc 3.4.
8584 * aclocal.m4: Likewise.
8586 * wcsmbs/mbrtoc16.c: Implement using towc function.
8587 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8588 * wcsmbs/wcsmbsload.c: Likewise.
8589 * iconv/gconv_simple.c: Likewise.
8590 * iconv/gconv_int.h: Likewise.
8591 * iconv/gconv_builtin.h: Likewise.
8592 * iconv/iconv_prog.c: Remove CHAR16 handling.
8594 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8596 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8598 * configure.in: Remove --with-elf and --enable-bounded options.
8599 Dont set base_machine for ia64. More non-ELF conditions removed.
8600 Remove testing and setting of leading underscore information.
8601 * config.make.in (build-bounded): Set to no.
8602 * config.h.in: Remove NO_UNDERSCORES entry.
8603 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8605 * csu/start.c: Remove !NO_UNDERSCORE code.
8606 * locale/localeinfo.h: Likewise.
8607 * sysdeps/generic/machine-gmon.h: Likewise.
8608 * sysdeps/generic/sysdep.h: Likewise.
8609 * sysdeps/i386/sysdep.h: Likewise.
8610 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8611 * sysdeps/mach/sysdep.h: Likewise.
8612 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8613 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8614 * sysdeps/sh/sysdep.h: Likewise.
8615 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8616 * sysdeps/unix/i386/sysdep.S: Likewise.
8617 * sysdeps/unix/sparc/start.c: Likewise.
8618 * sysdeps/unix/sparc/sysdep.S: Likewise.
8619 * sysdeps/unix/sparc/sysdep.h: Likewise.
8620 * sysdeps/unix/start.c: Likewise.
8621 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8622 * sysdeps/x86_64/sysdep.h: Likewise.
8624 2012-01-07 Ulrich Drepper <drepper@gmail.com>
8627 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
8629 * argp/argp-fmtstream.h: Use const instead __const.
8630 * argp/argp.h: Likewise.
8631 * assert/assert.h: Likewise.
8632 * bits/fenv.h: Likewise.
8633 * bits/sched.h: Likewise.
8634 * bits/sigset.h: Likewise.
8635 * bits/sigthread.h: Likewise.
8636 * catgets/nl_types.h: Likewise.
8637 * conform/data/pthread.h-data: Likewise.
8638 * crypt/crypt-private.h: Likewise.
8639 * crypt/crypt.h: Likewise.
8640 * crypt/crypt_util.c: Likewise.
8641 * ctype/ctype.h: Likewise.
8642 * debug/execinfo.h: Likewise.
8643 * debug/mbsnrtowcs_chk.c: Likewise.
8644 * debug/mbsrtowcs_chk.c: Likewise.
8645 * debug/wcsnrtombs_chk.c: Likewise.
8646 * debug/wcsrtombs_chk.c: Likewise.
8647 * debug/wcstombs_chk.c: Likewise.
8648 * dirent/dirent.h: Likewise.
8649 * dlfcn/dlfcn.h: Likewise.
8650 * elf/neededtest4.c: Likewise.
8651 * grp/grp.h: Likewise.
8652 * gshadow/gshadow.h: Likewise.
8653 * iconv/gconv.h: Likewise.
8654 * iconv/gconv_int.h: Likewise.
8655 * iconv/gconv_simple.c: Likewise.
8656 * iconv/iconv.h: Likewise.
8657 * iconv/loop.c: Likewise.
8658 * iconv/skeleton.c: Likewise.
8659 * include/aio.h: Likewise.
8660 * include/aliases.h: Likewise.
8661 * include/argz.h: Likewise.
8662 * include/arpa/inet.h: Likewise.
8663 * include/assert.h: Likewise.
8664 * include/dirent.h: Likewise.
8665 * include/dlfcn.h: Likewise.
8666 * include/execinfo.h: Likewise.
8667 * include/fcntl.h: Likewise.
8668 * include/fenv.h: Likewise.
8669 * include/glob.h: Likewise.
8670 * include/grp.h: Likewise.
8671 * include/libintl.h: Likewise.
8672 * include/mntent.h: Likewise.
8673 * include/netdb.h: Likewise.
8674 * include/pwd.h: Likewise.
8675 * include/rpc/netdb.h: Likewise.
8676 * include/sched.h: Likewise.
8677 * include/search.h: Likewise.
8678 * include/shadow.h: Likewise.
8679 * include/signal.h: Likewise.
8680 * include/stdio.h: Likewise.
8681 * include/stdlib.h: Likewise.
8682 * include/string.h: Likewise.
8683 * include/sys/socket.h: Likewise.
8684 * include/sys/stat.h: Likewise.
8685 * include/sys/statfs.h: Likewise.
8686 * include/sys/statvfs.h: Likewise.
8687 * include/sys/syslog.h: Likewise.
8688 * include/sys/time.h: Likewise.
8689 * include/sys/uio.h: Likewise.
8690 * include/time.h: Likewise.
8691 * include/unistd.h: Likewise.
8692 * include/utmp.h: Likewise.
8693 * include/wchar.h: Likewise.
8694 * include/wctype.h: Likewise.
8695 * inet/aliases.h: Likewise.
8696 * inet/arpa/inet.h: Likewise.
8697 * inet/netinet/ether.h: Likewise.
8698 * inet/netinet/in.h: Likewise.
8699 * intl/libintl.h: Likewise.
8700 * io/bits/fcntl2.h: Likewise.
8701 * io/fcntl.h: Likewise.
8702 * io/ftw.h: Likewise.
8703 * io/sys/poll.h: Likewise.
8704 * io/sys/stat.h: Likewise.
8705 * io/sys/statfs.h: Likewise.
8706 * io/sys/statvfs.h: Likewise.
8707 * io/utime.h: Likewise.
8708 * libio/bits/stdio.h: Likewise.
8709 * libio/bits/stdio2.h: Likewise.
8710 * libio/libio.h: Likewise.
8711 * libio/libioP.h: Likewise.
8712 * libio/stdio.h: Likewise.
8713 * locale/lc-ctype.c: Likewise.
8714 * locale/locale.h: Likewise.
8715 * login/utmp.h: Likewise.
8716 * malloc/arena.c: Likewise.
8717 * malloc/malloc.c: Likewise.
8718 * malloc/malloc.h: Likewise.
8719 * malloc/mcheck.c: Likewise.
8720 * malloc/mtrace.c: Likewise.
8721 * math/bits/mathcalls.h: Likewise.
8722 * math/fenv.h: Likewise.
8723 * math/math_private.h: Likewise.
8724 * misc/bits/error.h: Likewise.
8725 * misc/bits/syslog.h: Likewise.
8726 * misc/err.h: Likewise.
8727 * misc/error.h: Likewise.
8728 * misc/fstab.h: Likewise.
8729 * misc/mntent.h: Likewise.
8730 * misc/regexp.h: Likewise.
8731 * misc/search.h: Likewise.
8732 * misc/sgtty.h: Likewise.
8733 * misc/sys/mman.h: Likewise.
8734 * misc/sys/syslog.h: Likewise.
8735 * misc/sys/uio.h: Likewise.
8736 * misc/sys/xattr.h: Likewise.
8737 * misc/ttyent.h: Likewise.
8738 * nis/rpcsvc/ypclnt.h: Likewise.
8739 * nss/nss.h: Likewise.
8740 * posix/bits/unistd.h: Likewise.
8741 * posix/fnmatch.h: Likewise.
8742 * posix/glob.h: Likewise.
8743 * posix/sched.h: Likewise.
8744 * posix/spawn.h: Likewise.
8745 * posix/sys/wait.h: Likewise.
8746 * posix/unistd.h: Likewise.
8747 * posix/wordexp.h: Likewise.
8748 * pwd/pwd.h: Likewise.
8749 * resolv/netdb.h: Likewise.
8750 * resource/sys/resource.h: Likewise.
8751 * rt/aio.h: Likewise.
8752 * rt/bits/mqueue2.h: Likewise.
8753 * rt/mqueue.h: Likewise.
8754 * shadow/shadow.h: Likewise.
8755 * signal/signal.h: Likewise.
8756 * socket/send.c: Likewise.
8757 * socket/sendto.c: Likewise.
8758 * socket/sys/socket.h: Likewise.
8759 * stdio-common/printf.h: Likewise.
8760 * stdlib/bits/stdlib.h: Likewise.
8761 * stdlib/fmtmsg.h: Likewise.
8762 * stdlib/monetary.h: Likewise.
8763 * stdlib/stdlib.h: Likewise.
8764 * stdlib/ucontext.h: Likewise.
8765 * streams/stropts.h: Likewise.
8766 * string/argz.h: Likewise.
8767 * string/bits/string2.h: Likewise.
8768 * string/string.h: Likewise.
8769 * string/strings.h: Likewise.
8770 * sunrpc/rpc/auth.h: Likewise.
8771 * sunrpc/rpc/auth_des.h: Likewise.
8772 * sunrpc/rpc/clnt.h: Likewise.
8773 * sunrpc/rpc/netdb.h: Likewise.
8774 * sunrpc/rpc/pmap_clnt.h: Likewise.
8775 * sunrpc/rpc/xdr.h: Likewise.
8776 * sysdeps/generic/inttypes.h: Likewise.
8777 * sysdeps/generic/net/if.h: Likewise.
8778 * sysdeps/generic/sys/swap.h: Likewise.
8779 * sysdeps/gnu/net/if.h: Likewise.
8780 * sysdeps/gnu/utmpx.h: Likewise.
8781 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8782 * sysdeps/i386/i486/bits/string.h: Likewise.
8783 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
8784 * sysdeps/s390/bits/string.h: Likewise.
8785 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
8786 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
8787 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8788 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8789 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8790 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
8791 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8792 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
8793 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8794 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
8795 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
8796 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8797 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
8798 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8799 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8800 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
8801 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8802 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8803 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8804 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8805 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8806 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
8807 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
8808 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
8809 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
8810 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
8811 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
8812 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8813 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
8814 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
8815 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
8816 * sysvipc/sys/ipc.h: Likewise.
8817 * sysvipc/sys/msg.h: Likewise.
8818 * sysvipc/sys/sem.h: Likewise.
8819 * sysvipc/sys/shm.h: Likewise.
8820 * termios/termios.h: Likewise.
8821 * time/sys/time.h: Likewise.
8822 * time/time.h: Likewise.
8823 * wcsmbs/bits/wchar2.h: Likewise.
8824 * wcsmbs/uchar.h: Likewise.
8825 * wcsmbs/wchar.h: Likewise.
8826 * wctype/wctype.h: Likewise.
8829 * Makeconfig: Remove all but ELF support including AIX support.
8830 * Makerules: Likewise.
8831 * config.h.in: Likewise.
8832 * config.make.in: Likewise.
8833 * configure: Likewise.
8834 * configure.in: Likewise.
8835 * csu/Makefile: Likewise.
8836 * csu/version.c: Likewise.
8837 * debug/Makefile: Likewise.
8838 * dlfcn/Makefile: Likewise.
8839 * elf/Makefile: Likewise.
8840 * extra-lib.mk: Likewise.
8841 * iconv/Makefile: Likewise.
8842 * include/libc-symbols.h: Likewise.
8843 * include/shlib-compat.h: Likewise.
8844 * resolv/Makefile: Likewise.
8845 * resolv/res_libc.c: Likewise.
8846 * rt/Makefile: Likewise.
8847 * sysdeps/i386/asm-syntax.h: Likewise.
8848 * sysdeps/i386/sysdep.h: Likewise.
8849 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8850 * sysdeps/mach/sysdep.h: Likewise.
8851 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
8852 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
8853 * sysdeps/s390/asm-syntax.h: Likewise.
8854 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8855 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8856 * sysdeps/sh/sysdep.h: Likewise.
8857 * sysdeps/unix/sparc/sysdep.h: Likewise.
8858 * sysdeps/wordsize-32/divdi3.c: Likewise.
8859 * sysdeps/x86_64/sysdep.h: Likewise.
8861 * argp/Versions: Remove _argp_unlock_xxx.
8864 * abilist/ld.abilist: Update. Adjust for removal of tls option.
8865 * abilist/libBrokenLocale.abilist: Likewise.
8866 * abilist/libanl.abilist: Likewise.
8867 * abilist/libc.abilist: Likewise.
8868 * abilist/libcrypt.abilist: Likewise.
8869 * abilist/libdl.abilist: Likewise.
8870 * abilist/libm.abilist: Likewise.
8871 * abilist/libnsl.abilist: Likewise.
8872 * abilist/libpthread.abilist: Likewise.
8873 * abilist/libresolv.abilist: Likewise.
8874 * abilist/librt.abilist: Likewise.
8875 * abilist/libthread_db.abilist: Likewise.
8876 * abilist/libutil.abilist: Likewise.
8877 * abilist/libnss_db.abilist: New file.
8879 * scripts/abilist.awk: Add support for indirect functions.
8881 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8883 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8885 * shlib-versions: Remove entries for ports architectures.
8887 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8889 * elf/stackguard-macros.h: Remove support for IA-64.
8890 * elf/tst-auditmod1.c: Likewise.
8891 * sysdeps/generic/ldsodefs.h: Likewise.
8893 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8894 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8898 * configure.in: Remove --enable-omitfp support.
8900 * config.make.in: Likewise.
8901 * Makeconfig: Likewise.
8902 * manual/install.texi: Likewise.
8904 In case anyone cares, the IA-64 architecture could move to ports.
8905 * sysdeps/ia64/*: Removed.
8906 * sysdeps/unix/sysv/linux/ia64/*: Removed.
8907 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
8910 * configure.in: Remove entries for unsupported architectures.
8913 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8914 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8916 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8917 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8918 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
8919 fall back to using wcrtomb.
8920 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8921 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
8923 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8924 * wcsmbs/tst-c16c32-1.c: New file.
8926 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8929 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8931 * elf/tst-unique3.cc: Add explicit declaration of gets.
8932 * elf/tst-unique3lib.cc: Likewise.
8933 * elf/tst-unique3lib2.cc: Likewise.
8934 * elf/tst-unique4.cc: Likewise.
8936 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8938 2012-01-06 Joseph Myers <joseph@codesourcery.com>
8941 * assert/assert.h (static_assert): Don't define for C++.
8942 * libio/stdio.h (gets): Do declare for C++ <= C++11.
8943 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8945 2012-01-03 Ulrich Drepper <drepper@gmail.com>
8947 * iconv/loop.c (single loop): Fix assertion in storing of
8950 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8952 2012-01-01 Ulrich Drepper <drepper@gmail.com>
8954 * posix/getconf.c: Update copyright year.
8955 * nss/getent.c: Likewise.
8956 * nss/makedb.c: Likewise.
8957 * iconv/iconvconfig.c: Likewise.
8958 * iconv/iconv_prog.c: Likewise.
8959 * elf/ldconfig.c: Likewise.
8960 * elf/pldd.c: Likewise.
8961 * elf/sotruss.ksh: Likewise.
8962 * catgets/gencat.c: Likewise.
8963 * csu/version.c: Likewise.
8964 * elf/ldd.bash.in: Likewise.
8965 * elf/sprof.c (print_version): Likewise.
8966 * locale/programs/locale.c: Likewise.
8967 * locale/programs/localedef.c: Likewise.
8968 * login/programs/pt_chown.c: Likewise.
8969 * nscd/nscd.c (print_version): Likewise.
8970 * debug/xtrace.sh: Likewise.
8971 * malloc/memusage.sh: Likewise.
8972 * malloc/mtrace.pl: Likewise.
8973 * debug/catchsegv.sh: Likewise.
8975 2011-12-30 Jakub Jelinek <jakub@redhat.com>
8977 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
8980 2011-12-24 Ulrich Drepper <drepper@gmail.com>
8983 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
8984 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
8986 * iconv/gconv_int.h: Likewise.
8987 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
8988 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
8989 from libc for GLIBC_2.16.
8990 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
8991 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
8992 * wcsmbs/uchar.h: Really define mbstate_t.
8993 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
8994 * wcsmbs/c16rtomb.c: New file.
8995 * wcsmbs/mbrtoc16.c: New file.
8996 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
8998 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
8999 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9001 * wcsmbs/wchar.h: Add missing __restrict.
9003 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9006 * time/Makefile (routines): Add timespec_get.
9007 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9008 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9009 timespec for ISO C11.
9010 * time/timespec_get.c: New file.
9011 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9012 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9015 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9016 * stdlib/stdlib.h: Declare aligned_alloc.
9017 * Versions.def: Add GLIBC_2.16 for libc.
9018 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9021 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9024 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
9028 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9031 * assert/assert.h (static_assert): Define.
9033 * version.h: Update for 2.16 development version.
9036 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9039 * version.h (RELEASE): Bump for 2.15 release.
9040 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9042 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9043 Patch by Marek Polacek <mpolacek@redhat.com>.
9045 * bits/byteswap.h: Protect long long constants with __extension__.
9046 * sysdeps/i386/bits/byteswap.h: Likewise.
9047 * sysdeps/ia64/bits/byteswap.h: Likewise.
9048 * sysdeps/s390/bits/byteswap.h: Likewise.
9049 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9051 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9054 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9056 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9058 2011-12-23 Marek Polacek <polacek@redhat.com>
9060 * elf/dl-addr.c (determine_info): Add inline keyword.
9061 * elf/tst-auditmod4b.c (check_avx): Likewise.
9062 * elf/tst-auditmod6b.c (check_avx): Likewise.
9063 * elf/tst-auditmod6c.c (check_avx): Likewise.
9064 * elf/tst-auditmod7b.c (check_avx): Likewise.
9066 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9068 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9071 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9074 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9075 processing for last bytes.
9077 2011-08-06 Bruno Haible <bruno@clisp.org>
9080 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9081 U+0385, not to U+1FEE.
9084 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9085 entry for U+00A5 U+0301.
9087 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9090 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9091 buffer for the output is too small.
9093 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9097 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9098 SSE flags if possible.
9100 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9103 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9104 processing for last bytes.
9106 2011-12-22 Joseph Myers <joseph@codesourcery.com>
9108 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9109 (syscall-list-default-options, syscall-list-default-condition)
9110 (syscall-list-includes): Define.
9111 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9112 list of ABIs and options and #if conditions for each ABI. Do not
9113 handle common syscalls between ABIs specially.
9114 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9116 (syscall-list-variants, syscall-list-32bit-options)
9117 (syscall-list-32bit-condition, syscall-list-64bit-options)
9118 (syscall-list-64bit-condition): Define.
9119 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9120 (syscall-list-variants, syscall-list-32bit-options)
9121 (syscall-list-32bit-condition, syscall-list-64bit-options)
9122 (syscall-list-64bit-condition): Define.
9123 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9125 (syscall-list-variants, syscall-list-32bit-options)
9126 (syscall-list-32bit-condition, syscall-list-64bit-options)
9127 (syscall-list-64bit-condition): Define.
9128 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9130 (syscall-list-variants, syscall-list-32bit-options)
9131 (syscall-list-32bit-condition, syscall-list-64bit-options)
9132 (syscall-list-64bit-condition): Define.
9134 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9136 * locale/iso-639.def: Add brx entry.
9139 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9140 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9142 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9143 __feraiseexcept_renamed.
9145 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9148 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9149 EPOLLET with unsigned values.
9150 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9151 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9153 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9154 to large cancellation.
9155 * math/s_cacoshf.c: Likewise.
9156 * math/s_cacoshl.c: Likewise.
9158 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9162 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9163 * math/s_cacoshf.c: Likewise.
9164 * math/s_cacoshl.c: Likewise.
9166 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9169 * iconv/gconv.h: Define __GCONV_SWAP.
9170 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9171 * iconvdata/utf-16.c: Likewise.
9172 * iconvdata/utf-32.c: Likewise.
9174 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9177 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9178 numerator after shifting it by one limb.
9180 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9182 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9183 under [__USE_EXTERN_INLINES].
9185 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9188 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9190 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9192 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9193 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9195 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9196 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9197 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9198 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9199 for strncasecmp/strncasecmp_l compilation.
9200 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9201 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9203 2011-12-08 Marek Polacek <mpolacek@redhat.com>
9206 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9209 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9212 * time/tzfile.c (__tzfile_read): Check values from file header.
9214 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9216 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9217 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9218 * powerpc/powerpc32/dl-start.S: Likewise.
9219 * powerpc/powerpc32/elf/start.S: Likewise.
9220 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9221 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9222 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9223 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9224 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9225 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9226 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9227 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9228 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9229 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9230 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9231 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9232 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9233 * powerpc/powerpc32/memset.S: Likewise.
9234 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9235 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9236 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9237 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9238 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9239 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9240 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9241 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9242 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9243 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9244 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9245 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9246 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9248 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9250 * math/libm-test.inc: Added more nearbyint tests.
9251 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9252 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9253 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9254 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9256 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9258 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9261 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9263 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9264 Add wcscpy-ssse3 wcscpy-c.
9265 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9266 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9267 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9268 * sysdeps/x86_64/wcschr.S: New file.
9269 * sysdeps/x86_64/wcsrchr.S: New file.
9270 * string/test-strcmp.c: Remove checking of wcscmp function for
9272 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9273 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9274 wcsrchr-sse2 wcsrchr-c.
9275 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9276 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9277 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9278 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9279 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9280 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9281 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9282 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9283 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9284 * wcsmbc/wcschr.c (WCSCHR): New macro.
9286 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9288 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9289 * wcsmbs/test-wcsrchr.c: New file.
9290 * string/test-strrchr.c: Add wcsrchr support.
9292 * wcsmbs/test-wcscpy.c: New file.
9293 * string/test-strcpy.c: Add wcscpy support.
9296 2011-12-10 Ulrich Drepper <drepper@gmail.com>
9298 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9301 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9304 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9306 2011-12-04 Ulrich Drepper <drepper@gmail.com>
9308 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
9309 Minor optimizations.
9311 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9312 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9313 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9315 2011-12-03 Ulrich Drepper <drepper@gmail.com>
9317 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9318 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9319 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9320 for gcc to avoid warnings.
9321 * inet/Makefile (tests): Add tst-checks.
9322 * inet/tst-checks.c: New file.
9324 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9327 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9330 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9331 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9333 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9335 2011-12-02 Ulrich Drepper <drepper@gmail.com>
9337 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9340 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9342 2011-11-29 Joseph Myers <joseph@codesourcery.com>
9344 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9345 conditional on GCC version.
9346 (__arch_compare_and_exchange_val_8_acq)
9347 (__arch_compare_and_exchange_val_16_acq)
9348 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9349 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9350 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9352 2011-12-02 Joseph Myers <joseph@codesourcery.com>
9354 * sysdeps/sh/backtrace.c: New file.
9356 2011-12-02 Andreas Schwab <schwab@redhat.com>
9358 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9361 2011-12-01 Andreas Schwab <schwab@redhat.com>
9363 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9364 falling back to utime.
9366 2011-11-30 Andreas Schwab <schwab@redhat.com>
9368 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9369 expectations for float.
9371 2011-11-29 Andreas Schwab <schwab@redhat.com>
9373 * locale/weight.h (findidx): Add parameter len.
9374 * locale/weightwc.h (findidx): Likewise.
9375 * posix/fnmatch_loop.c (FCT): Adjust caller.
9376 * posix/regcomp.c (build_equiv_class): Likewise.
9377 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9378 * posix/regexec.c (check_node_accept_bytes): Likewise.
9379 * string/strcoll_l.c (STRCOLL): Likewise.
9380 * string/strxfrm_l.c (STRXFRM): Likewise.
9382 2011-11-17 Ulrich Drepper <drepper@gmail.com>
9384 * Makefile.in: Remove CVSOPT handling.
9385 * configure.in: Remove use of AC_REVISION.
9386 * iconvdata/Makefile (distribute): No need to filter out CVS.
9387 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9390 2011-11-16 Andreas Schwab <schwab@redhat.com>
9392 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9393 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9394 [USE_AS_STRNCASECMP_L]: Likewise.
9395 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9396 NO_TLS_DIRECT_SEG_REFS.
9397 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9398 Fix argument offsets for non-PIC.
9399 [USE_AS_STRNCASECMP_L]: Likewise.
9400 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9401 NO_TLS_DIRECT_SEG_REFS.
9403 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9405 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
9407 * locale/loadlocale.c (_nl_load_locale): Likewise.
9409 2011-11-15 Andreas Schwab <schwab@redhat.com>
9411 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9412 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9413 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9414 (SYSCALL_GETTIME): Set errno on error.
9416 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9417 count references to noai6ai_cached.
9419 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9421 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9423 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9424 FD_CLOEXEC for /proc/self/maps.
9426 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9427 FD_CLOEXEC for /proc/meminfo.
9429 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9432 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9433 FD_CLOEXEC for given file.
9435 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9437 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9438 FD_CLOEXEC for /etc/hosts.
9439 (_gethtent): Likewise.
9441 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9443 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9444 cancellation and set FD_CLOEXEC for /etc/netgroup.
9446 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9447 reading /etc/publickey.
9449 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9450 allow cancellation when reading /etc/group.
9452 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9454 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9456 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9457 when using data file.
9459 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9461 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9462 (write_nis_obj): Use "c" and "e" in fopen.
9464 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9466 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9468 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9470 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9472 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9475 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9477 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9479 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9481 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9482 file parsing and set FD_CLOEXEC.
9484 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9486 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9488 2011-11-14 Andreas Schwab <schwab@redhat.com>
9490 * malloc/arena.c (arena_get2): Don't call reused_arena when
9491 _int_new_arena failed.
9493 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9495 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9496 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9497 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9498 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9499 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9500 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9501 to compile strcasecmp and strncasecmp.
9502 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9503 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9505 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9507 2011-11-13 Ulrich Drepper <drepper@gmail.com>
9509 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9510 locale-defines.sym to gen-as-const-headers.
9511 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9512 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9513 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9514 to compile strcasecmp and strncasecmp.
9515 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9516 strcasecmp_l and strncasecmp_l.
9517 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9518 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9519 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9520 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9521 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9522 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9523 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9524 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9525 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9526 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9527 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9529 2011-11-12 Ulrich Drepper <drepper@gmail.com>
9531 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9532 result of SYSDEP_GETTIME_CPU to retval.
9533 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9534 parameter list to macro. Remove trailing semicolon. Adjust users.
9536 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9539 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9541 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9543 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9544 from unused variable.
9546 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9548 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9551 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9554 * sunrpc/rpc_prot.c (rejected): Fix case value.
9556 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9557 unsigned long long int to avoid warnings in shift.
9559 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9561 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9564 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9565 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9566 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9568 * nis/nis_table.c (nis_list): Use variable of correct type for
9569 result of __follow_path call.
9571 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9573 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
9574 of math functions ceil, trunc, floor, round, and sqrt, when
9575 avaliable on the platform.
9576 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9578 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9579 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9580 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9582 2011-10-30 Marek Polacek <mpolacek@redhat.com>
9584 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9585 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9587 2011-11-11 Roland McGrath <roland@hack.frob.com>
9589 * include/unistd.h: Fix __readlink return type.
9590 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9592 2011-11-11 Ulrich Drepper <drepper@gmail.com>
9594 * stdlib/ucontext.h: Undo last change for makecontext.
9596 2011-11-11 Andreas Schwab <schwab@redhat.com>
9598 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9600 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9601 * setjmp/setjmp.h: Mark functions as non-leaf.
9602 * setjmp/bits/setjmp2.h: Likewise.
9603 * stdlib/ucontext.h: Likewise.
9605 2011-11-10 Andreas Schwab <schwab@redhat.com>
9607 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9608 (reused_arena): Don't check arena limit.
9609 (arena_get2): Atomically check arena limit.
9611 2011-11-08 Ulrich Drepper <drepper@gmail.com>
9613 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9614 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9616 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9619 2011-11-07 Andreas Schwab <schwab@redhat.com>
9621 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9622 handler when locking.
9624 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9625 Fix size of allocated buffer.
9627 2011-11-04 Andreas Schwab <schwab@redhat.com>
9630 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
9631 declarations for long double functions.
9632 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
9634 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
9636 2011-11-03 Andreas Schwab <schwab@redhat.com>
9638 * nscd/nscd.c (main): Don't start AVC thread until credentials are
9641 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
9644 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9646 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
9648 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
9650 * include/alloca.h (stackinfo_alloca_round): Define.
9651 (extend_alloca): Use it.
9652 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
9653 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
9656 * scripts/check-local-headers.sh: Ignore libaudit.h.
9658 * nscd/Makefile (extra-objs): Make recursively expanded.
9660 2011-11-01 Ulrich Drepper <drepper@gmail.com>
9662 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
9663 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9665 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
9666 * posix/tst-rfc3484-2.c: Likewise.
9667 * posix/tst-rfc3484-3.c: Likewise.
9669 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9671 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
9673 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
9674 process_vm_writev from libc using GLIBC_2.15 version.
9676 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
9678 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9680 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
9683 2011-10-31 Ulrich Drepper <drepper@gmail.com>
9686 * nss/getent.c (initgroups_keys): Show error message in case no group
9689 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
9690 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
9691 __bump_nl_timestamp.
9692 * nscd/connections (nscd_init): When host database is served open
9693 netlink socket and request notification about configuration changes.
9694 (main_loop_poll): Track netlink file descriptor and bump timestamp
9695 in case data becomes available.
9696 (main_loop_epoll): Likewise.
9697 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
9698 (database_pers_head): Add extra_data fileds.
9699 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
9700 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
9701 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
9703 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
9704 in6ai data, call __free_in6ai.
9705 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
9707 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
9708 interface information. Reuse previous data if netlink timestamp
9710 (__bump_nl_timestamp): New function.
9711 (__free_in6ai): New function.
9713 2011-10-30 Ulrich Drepper <drepper@gmail.com>
9715 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
9716 close_not_cancel_no_status here.
9717 (__check_pf): Reorganize code a bit to not call close twice if OOM.
9719 2011-10-29 Ulrich Drepper <drepper@gmail.com>
9722 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
9725 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9726 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
9727 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
9729 2011-07-03 Andreas Jaeger <aj@suse.de>
9732 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
9733 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
9734 * math/libm-test.inc (sin_test): Add test case.
9736 2011-10-29 Ulrich Drepper <drepper@gmail.com>
9739 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
9740 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9742 * elf/chroot_canon.c (chroot_canon): Cleanups.
9744 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
9747 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
9748 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9750 * string/test-strchr.c: Make usable for strchrnul testing.
9751 * string/test-strchrnul.c: New file.
9752 * string/Makefile (strop-tests): Add strchrnul.
9754 * po/it.po: Update from translation team.
9755 * po/es.po: Likewise.
9757 2011-10-28 Ulrich Drepper <drepper@gmail.com>
9759 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
9760 the three constants needed as parameters. Drop the others.
9761 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
9762 __m128i_strloadu_tolower.
9763 Create and initialize variable zero and use it in all the places
9764 where _mm_setzero_si128 was used.
9766 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
9767 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
9768 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
9769 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
9771 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
9772 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
9773 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
9774 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
9775 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
9776 __mpranred, __mptan.
9777 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
9778 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
9779 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
9780 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
9781 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
9782 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
9783 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
9784 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
9785 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
9787 2011-10-28 Andreas Schwab <schwab@redhat.com>
9789 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
9791 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
9793 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
9794 wide char related routines to wcsmbs subdir.
9796 2011-10-27 Andreas Schwab <schwab@redhat.com>
9799 * misc/sys/cdefs.h (__THROWNL): Define.
9800 * posix/unistd.h: Use __THREADNL instead of __THREAD
9801 for memory synchronization functions.
9803 2011-10-26 Roland McGrath <roland@hack.frob.com>
9806 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
9808 * manual/stdio.texi (Obstack Streams): Node removed.
9810 2011-10-26 Andreas Schwab <schwab@redhat.com>
9812 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
9813 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9814 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9816 * math/math_private.h (math_force_eval): Allow non-addressable
9818 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
9820 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9822 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
9825 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
9826 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9827 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9828 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9829 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9830 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9831 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9832 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
9834 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
9835 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
9836 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
9837 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
9838 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
9839 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
9840 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
9841 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
9842 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
9843 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
9844 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
9845 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
9846 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
9847 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
9848 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
9849 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
9850 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
9851 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
9852 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
9854 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
9855 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
9857 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
9858 place. Use VEX encoding when compiling for AVX.
9860 2011-10-25 Andreas Schwab <schwab@redhat.com>
9862 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
9863 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9865 * string/test-strchr.c (do_test): Don't generate NUL bytes.
9867 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9869 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
9870 useless if() expression.
9871 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9872 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9873 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9874 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9875 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9876 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9877 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9878 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9879 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9880 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9881 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9882 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9883 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9884 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9885 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9886 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9887 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9888 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9889 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9891 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9893 2011-10-25 Andreas Schwab <schwab@redhat.com>
9895 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9897 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9899 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9901 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9902 .text section. Avoid duplicate constants.
9903 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9904 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9905 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9906 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9907 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9908 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9909 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9910 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9911 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9912 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9913 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9914 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9915 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9916 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9917 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9918 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9919 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9920 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9921 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9922 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9923 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9924 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9925 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9926 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9927 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9928 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9929 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9930 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9931 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9932 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9933 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9934 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9935 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9936 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9937 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9938 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9939 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9940 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9941 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9942 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9943 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9944 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9945 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9946 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9947 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9949 2011-10-24 Ulrich Drepper <drepper@gmail.com>
9951 * sysdeps/x86_64/dla.h: Move to ...
9952 * sysdeps/x86_64/fpu/dla.h: ...here.
9953 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9954 situations. Use __builtin_fma only for gcc 4.6 and up.
9956 * config.make.in: Add have-mfma4 entry.
9957 * configure.in: Substitute libc_cv_cc_fma4.
9958 * math/Makefile (dbl-only-routines): Add sincostab.
9959 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
9960 Use __sincostab not sincos.
9961 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
9963 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9964 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9965 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9966 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
9968 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
9969 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
9970 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
9971 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
9973 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
9974 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
9976 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
9977 define aliases when function name is a macro.
9978 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
9979 sysdeps/ieee754/dbl-64/sincos.tbl.
9980 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
9981 fma4-enabled routines.
9982 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
9983 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
9984 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
9985 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
9986 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
9987 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
9988 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
9989 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
9990 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
9991 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
9992 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
9993 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
9994 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
9995 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
9996 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
9997 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
9998 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
9999 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10000 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10001 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10002 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10003 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10004 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10005 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10006 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10007 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10008 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10009 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10010 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10011 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10013 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10015 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10016 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10017 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10018 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10019 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10020 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10021 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10022 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10024 2011-10-24 Andreas Schwab <schwab@redhat.com>
10026 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10028 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10030 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10032 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10034 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10036 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10037 Remove unused variable magic_bits.
10038 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10040 * string/strnlen.c: Define and use STRNLEN macro.
10041 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10042 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10043 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10044 * wcsmbs/wcslen.c: Define and use WCSLEN.
10045 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10046 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10047 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10048 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10049 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10050 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10051 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10053 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10055 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10056 strnlen-sse2-no-bsf.
10057 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10058 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10059 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10060 Add strnlen support.
10061 (USE_AS_STRNLEN): New macro.
10062 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10063 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10064 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10065 * sysdeps/x86_64/wcslen.S: New file.
10067 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10069 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10070 XMM-moves are used for copying on small sizes.
10072 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10074 * wcsmbs/Makefile (strop-tests): Add wcschr.
10075 * wcsmbs/test-wcschr.c: New file.
10076 * string/test-strchr.c: Update.
10077 Add wcschr support.
10080 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10082 * wcsmbs/Makefile (strop-tests): Add wcslen.
10083 * wcsmbs/test-wcslen.c: New file.
10084 * string/test-strlen.c: Update.
10085 Add wcslen support.
10088 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10090 * po/it.po: Update from translation team.
10092 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10094 * sysdeps/x86_64/wcscmp.S: Update.
10095 Fix wrong comparison semantics.
10096 wcscmp shall use signed comparison not unsigned.
10097 Don't use substraction to avoid overflow bug.
10098 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10099 * wcsmbc/wcscmp.c: Likewise.
10100 * string/test-strcmp.c: Likewise.
10101 Add new tests to check cases with negative values.
10103 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10105 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10106 * sysdeps/x86_64/dla.h: ...here. New file.
10107 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10108 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10109 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10110 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10111 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10112 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10113 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10114 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10115 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10117 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10119 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10120 __ynl_finite aliases.
10122 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10124 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10126 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10128 [DLA_FMA] (EMULV): Use DLA_FMA.
10129 [DLA_FMA] (MUL12): Use EMULV.
10130 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10131 that are not needed.
10132 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10133 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10134 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10135 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10136 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10137 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10138 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10140 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10142 * math/s_nan.c: Undef __nan.
10143 * math/s_nanf.c: Undef __nanf.
10144 * math/s_nanl.c: Undef __nanl.
10145 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10148 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10150 * math/s_catan.c: Add branch predictions.
10151 * math/s_catanf.c: Likewise.
10152 * math/s_catanh.c: Likewise.
10153 * math/s_catanhf.c: Likewise.
10154 * math/s_catanhl.c: Likewise.
10155 * math/s_catanl.c: Likewise.
10156 * math/s_cexp.c: Likewise.
10157 * math/s_cexpf.c: Likewise.
10158 * math/s_cexpl.c: Likewise.
10159 * math/s_clog.c: Likewise.
10160 * math/s_clog10.c: Likewise.
10161 * math/s_clog10f.c: Likewise.
10162 * math/s_clog10l.c: Likewise.
10163 * math/s_clogf.c: Likewise.
10164 * math/s_clogl.c: Likewise.
10165 * math/s_csqrt.c: Likewise.
10166 * math/s_csqrtf.c: Likewise.
10167 * math/s_csqrtl.c: Likewise.
10168 * math/s_ctanf.c: Likewise.
10169 * math/s_ctanh.c: Likewise.
10170 * math/s_ctanhf.c: Likewise.
10171 * math/s_ctanhl.c: Likewise.
10172 * math/s_ctanl.c: Likewise.
10174 * math/math_private.h: Define __nan, __nanf, __nanl.
10175 * math/s_cacosh.c: Include <math_private.h>.
10176 * math/s_cacoshl.c: Likewise.
10177 * math/s_casinh.c: Likewise.
10178 * math/s_casinhf.c: Likewise.
10179 * math/s_casinhl.c: Likewise.
10180 * math/s_ccos.c: Rely entire on ccosh.
10181 * math/s_ccosf.c: Rely entire on ccoshf.
10182 * math/s_ccosl.c: Rely entirely on ccoshl.
10183 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10184 Remove tests for FE_INVALID.
10185 * math/s_ccoshf.c: Likewise.
10186 * math/s_ccoshl.c: Likewise.
10187 * math/s_csin.c: Likewise.
10188 * math/s_csinf.c: Likewise.
10189 * math/s_csinh.c Likewise.
10190 * math/s_csinhf.c: Likewise.
10191 * math/s_csinhl.c: Likewise.
10192 * math/s_csinl.c: Likewise.
10193 * math/s_ctan.c: Likewise.
10194 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10195 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10196 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10198 2011-10-21 Ulrich Drepper <drepper@gmail.com>
10200 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10201 compilation problems.
10203 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10206 2011-10-20 Ulrich Drepper <drepper@gmail.com>
10208 * sysdeps/i386/configure.in: Test for -mfma4 option.
10209 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10210 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10211 COMMON_CPUID_INDEX_80000001.
10212 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10213 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10214 use it if FMA3 is not supported.
10215 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10217 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10218 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10220 2011-10-20 Andreas Schwab <schwab@redhat.com>
10223 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10224 it would create a cycle with a link time dependency.
10226 2011-10-19 Ulrich Drepper <drepper@gmail.com>
10228 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10230 * string/Makefile (strop-tests): Add rawmemchr.
10231 * string/test-rawmemchr.c: New file.
10233 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10234 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10235 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10236 when compiling str{,n}casecmp and when AVX is available. Hook up
10237 new optimized code in initializers.
10239 2011-10-19 Andreas Schwab <schwab@redhat.com>
10241 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10242 __feraiseexcept instead of feraiseexcept.
10244 2011-10-18 Ulrich Drepper <drepper@gmail.com>
10246 * math/math_private.h: Define defaults for libc_fetestexcept and
10248 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10249 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10250 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10251 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10252 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10253 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10254 libc_fetestexcept and libc_feupdateenv.
10256 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10257 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10258 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10259 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10260 libc_feholdexcept_setround.
10262 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10263 Add s_nearbyint-c and s_nearbyintf-c.
10264 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10265 nearbyintf inlines.
10266 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10267 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10268 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10269 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10271 * math/math_private.h: Define defaults for libc_fegetround,
10272 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10273 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10274 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10275 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10276 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10277 standard functions.
10278 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10279 Remove comments and hacks for old compiler versions.
10280 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10281 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10282 libc_feholdexceptl.
10284 2011-10-18 Andreas Schwab <schwab@redhat.com>
10286 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
10287 (__feraiseexcept_renamed): Add __NTH.
10288 (feraiseexcept): Add __NTH. Rename local variables to fix
10289 namespace violations.
10291 2011-10-17 Ulrich Drepper <drepper@gmail.com>
10293 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10295 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10297 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10298 recently added interfaces.
10299 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10301 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10302 about macro parameter expansion.
10304 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10305 __NO_MATH_INLINES is defined. Cleanups.
10307 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10308 and __floorf is target has SSE4.1.
10309 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10310 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10311 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10312 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10314 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10316 (floorf): Likewise.
10318 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10320 2011-10-17 Andreas Schwab <schwab@redhat.com>
10322 * misc/sys/cdefs.h: Fix last change.
10324 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10327 2011-10-16 Ulrich Drepper <drepper@gmail.com>
10329 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10331 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10332 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10333 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10334 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10335 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10336 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10337 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10338 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10339 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10340 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10341 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10342 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10343 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10344 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10345 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10346 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10347 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10348 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10349 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10350 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10351 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10352 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10354 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10355 ceil, ceilf, floor, floorf.
10357 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10358 Perform IRELATIVE relocations last.
10360 * elf/do-rel.h: Add another parameter nrelative, replacing the
10361 local variable with the same name. Change name of the function
10362 to end in Rel or Rela (uppercase).
10363 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10364 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10365 elf_dynamic_do_##reloc function.
10367 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10369 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10370 is sufficient, at least on modern CPUs.
10372 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10374 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10375 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10377 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10379 * math/bits/math-finite.h: Add entries for exp.
10380 * math/e_expl.c: Add __*_finite alias.
10381 * sysdeps/i386/fpu/e_exp.S: Likewise.
10382 * sysdeps/i386/fpu/e_expf.S: Likewise.
10383 * sysdeps/i386/fpu/e_expl.c: Likewise.
10384 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10385 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10386 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10387 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10388 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10389 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10390 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10392 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10393 is sufficient, at least on modern CPUs.
10395 * ctype/ctype-info.c (__ctype_init): Define.
10396 * include/ctype.h (__ctype_init): Declare.
10397 (__ctype_b_loc): The variable is always initialized.
10398 (__ctype_toupper_loc): Likewise.
10399 (__ctype_tolower_loc): Likewise.
10400 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10401 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10403 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10405 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10407 * configure.in: Also look in $cxxmachine/include for C++ system
10410 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10412 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10413 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10414 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10415 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10416 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10417 (USE_AS_WMEMCMP): New macro.
10419 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10420 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10421 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10422 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10423 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10424 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10425 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10426 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10427 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10428 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10429 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10430 (USE_AS_WMEMCMP): New macro.
10431 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10432 * sysdeps/string/test-memcmp.c: Update.
10433 Fix simple_wmemcmp.
10435 * wcsmbs/wmemcmp.c: Update.
10436 (WMEMCMP): New macro.
10439 2011-10-12 Andreas Jaeger <aj@suse.de>
10442 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10444 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10446 * libio/iofwide.c (do_length): Avoid warning.
10448 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10450 2011-10-14 Ulrich Drepper <drepper@gmail.com>
10452 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10454 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10455 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10456 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10457 * sysdeps/i386/i686/fpu/e_log.S: New file.
10458 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10459 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10461 * ctype/ctype.h: Add support for inlined isXXX functions when
10462 compiling C++ code.
10464 2011-10-14 Andreas Schwab <schwab@redhat.com>
10466 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10468 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10470 2011-10-13 Roland McGrath <roland@hack.frob.com>
10473 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10475 2011-10-13 Andreas Schwab <schwab@redhat.com>
10477 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10478 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10481 * sysdeps/x86_64/memrchr.S: Check for zero size.
10483 * string/stratcliff.c: Add memrchr tests.
10485 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10487 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10488 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10489 rawmemchr-sse2 rawmemchr-sse2-bsf.
10490 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10491 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10492 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10493 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10494 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10495 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10496 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10497 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10498 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10499 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10500 * string/memrchr.c (MEMRCHR): New macro.
10502 2011-10-12 Ulrich Drepper <drepper@gmail.com>
10504 Add integration with gcc's -ffinite-math-only and optimize wrapper
10506 * Versions.def: Define GLIBC_2.15 version for libm.
10507 * math/Makefile (headers): Add bits/math-finite.h.
10508 * math/bits/math-finite.h: New file.
10509 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10510 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10511 * math/e_acoshl.c: Add __*_finite alias.
10512 * math/e_acosl.c: Likewise.
10513 * math/e_asinl.c: Likewise.
10514 * math/e_atan2l.c: Likewise.
10515 * math/e_atanhl.c: Likewise.
10516 * math/e_coshl.c: Likewise.
10517 * math/e_exp10.c: Likewise.
10518 * math/e_exp10f.c: Likewise.
10519 * math/e_exp10l.c: Likewise.
10520 * math/e_exp2l.c: Likewise.
10521 * math/e_fmodl.c: Likewise.
10522 * math/e_gammal_r.c: Likewise.
10523 * math/e_hypotl.c: Likewise.
10524 * math/e_j0l.c: Likewise.
10525 * math/e_j1l.c: Likewise.
10526 * math/e_jnl.c: Likewise.
10527 * math/e_lgammal_r.c: Likewise.
10528 * math/e_log10l.c: Likewise.
10529 * math/e_log2l.c: Likewise.
10530 * math/e_logl.c: Likewise.
10531 * math/e_powl.c: Likewise.
10532 * math/e_sinhl.c: Likewise.
10533 * math/e_sqrtl.c: Likewise.
10534 * math/e_scalb.c: Completely rewritten and optimized.
10535 * math/e_scalbf.c: Likewise.
10536 * math/e_scalbl.c: Likewise.
10537 * math/w_acos.c: Likewise.
10538 * math/w_acosf.c: Likewise.
10539 * math/w_acosl.c: Likewise.
10540 * math/w_acosh.c: Likewise.
10541 * math/w_acoshf.c: Likewise.
10542 * math/w_acoshl.c: Likewise.
10543 * math/w_asin.c: Likewise.
10544 * math/w_asinf.c: Likewise.
10545 * math/w_asinl.c: Likewise.
10546 * math/w_atan2.c: Likewise.
10547 * math/w_atan2f.c: Likewise.
10548 * math/w_atan2l.c: Likewise.
10549 * math/w_atanh.c: Likewise.
10550 * math/w_atanhf.c: Likewise.
10551 * math/w_atanhl.c: Likewise.
10552 * math/w_exp10.c: Likewise.
10553 * math/w_exp10f.c: Likewise.
10554 * math/w_exp10l.c: Likewise.
10555 * math/w_fmod.c: Likewise.
10556 * math/w_fmodf.c: Likewise.
10557 * math/w_fmodl.c: Likewise.
10558 * math/w_j0.c: Likewise.
10559 * math/w_j0f.c: Likewise.
10560 * math/w_j0l.c: Likewise.
10561 * math/w_j1.c: Likewise.
10562 * math/w_j1f.c: Likewise.
10563 * math/w_j1l.c: Likewise.
10564 * math/w_jn.c: Likewise.
10565 * math/w_jnf.c: Likewise.
10566 * math/w_log.c: Likewise.
10567 * math/w_logf.c: Likewise.
10568 * math/w_logl.c: Likewise.
10569 * math/w_log10.c: Likewise.
10570 * math/w_log10f.c: Likewise.
10571 * math/w_log10l.c: Likewise.
10572 * math/w_log2.c: Likewise.
10573 * math/w_log2f.c: Likewise.
10574 * math/w_log2l.c: Likewise.
10575 * math/w_pow.c: Likewise.
10576 * math/w_powf.c: Likewise.
10577 * math/w_powl.c: Likewise.
10578 * math/w_remainder.c: Likewise.
10579 * math/w_remainderf.c: Likewise.
10580 * math/w_remainderl.c: Likewise.
10581 * math/w_scalb.c: Likewise.
10582 * math/w_scalbf.c: Likewise.
10583 * math/w_scalbl.c: Likewise.
10584 * math/w_sqrt.c: Likewise.
10585 * math/w_sqrtf.c: Likewise.
10586 * math/w_sqrtl.c: Likewise.
10587 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10588 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10590 * math/math_private.h: Declare __kernel_standard_f.
10591 * math/w_cosh.c: Remove cruft and optimize a bit.
10592 * math/w_coshf.c: Likewise.
10593 * math/w_coshl.c: Likewise.
10594 * math/w_exp2.c: Likewise.
10595 * math/w_exp2f.c: Likewise.
10596 * math/w_exp2l.c: Likewise.
10597 * math/w_hypot.c: Likewise.
10598 * math/w_hypotf.c: Likewise.
10599 * math/w_hypotl.c: Likewise.
10600 * math/w_lgamma.c: Likewise.
10601 * math/w_lgamma_r.c: Likewise.
10602 * math/w_lgammaf.c: Likewise.
10603 * math/w_lgammaf_r.c: Likewise.
10604 * math/w_lgammal.c: Likewise.
10605 * math/w_lgammal_r.c: Likewise.
10606 * math/w_sinh.c: Likewise.
10607 * math/w_sinhf.c: Likewise.
10608 * math/w_sinhl.c: Likewise.
10609 * math/w_tgamma.c: Likewise.
10610 * math/w_tgammaf.c: Likewise.
10611 * math/w_tgammal.c: Likewise.
10612 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10613 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10614 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10615 Minor optimizations. Pretty printing. Remove cruft.
10616 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10617 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10618 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10619 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10620 * sysdeps/i386/fpu/e_acosl.c: Likewise.
10621 * sysdeps/i386/fpu/e_asin.S: Likewise.
10622 * sysdeps/i386/fpu/e_asinf.S: Likewise.
10623 * sysdeps/i386/fpu/e_atan2.S: Likewise.
10624 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
10625 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
10626 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10627 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10628 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10629 * sysdeps/i386/fpu/e_exp10.S: Likewise.
10630 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
10631 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
10632 * sysdeps/i386/fpu/e_exp2.S: Likewise.
10633 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
10634 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
10635 * sysdeps/i386/fpu/e_fmod.S: Likewise.
10636 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
10637 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
10638 * sysdeps/i386/fpu/e_hypot.S: Likewise.
10639 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
10640 * sysdeps/i386/fpu/e_log.S: Likewise.
10641 * sysdeps/i386/fpu/e_log10.S: Likewise.
10642 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10643 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10644 * sysdeps/i386/fpu/e_log2.S: Likewise.
10645 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10646 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10647 * sysdeps/i386/fpu/e_logf.S: Likewise.
10648 * sysdeps/i386/fpu/e_logl.S: Likewise.
10649 * sysdeps/i386/fpu/e_pow.S: Likewise.
10650 * sysdeps/i386/fpu/e_powf.S: Likewise.
10651 * sysdeps/i386/fpu/e_powl.S: Likewise.
10652 * sysdeps/i386/fpu/e_remainder.S: Likewise.
10653 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
10654 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
10655 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10656 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10657 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10658 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
10659 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
10660 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
10661 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10662 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10663 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10664 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10665 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10666 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10667 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10668 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10669 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10670 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10671 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10672 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10673 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10674 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10675 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10676 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10677 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10678 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10679 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10680 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10681 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10682 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10683 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10684 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10685 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10686 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10687 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10688 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10689 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10690 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10691 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10692 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10693 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10694 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10695 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10696 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10697 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10698 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10699 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10700 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10701 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10702 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10703 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10704 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10705 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10706 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10707 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10708 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10709 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10710 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10711 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10712 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10713 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10714 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10715 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10716 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10717 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10718 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10719 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10720 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10721 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10722 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10723 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10724 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10725 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10726 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10727 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10728 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10729 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10730 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10731 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10732 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10733 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10734 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10735 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10736 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10737 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10738 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10739 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10740 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10741 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10742 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10743 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10744 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10745 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10746 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10747 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10748 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10749 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10750 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10751 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10752 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10753 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10754 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10755 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10756 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10757 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10758 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10759 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10760 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10761 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
10762 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
10763 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
10764 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
10765 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10766 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10767 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10768 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10769 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
10770 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10771 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
10772 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
10773 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
10774 (__isnanf): Likewise.
10775 (__isinf_ns): Likewise.
10776 (__isinf_nsf): Likewise.
10777 (__finite): Likewise.
10778 (__finitef): Likewise.
10779 (__ieee754_sqrt): Define as macro.
10780 (__ieee754_sqrtf): Define as macro.
10781 (__ieee754_sqrtl): Define as macro.
10782 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
10784 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
10785 __FINITE_MATH_ONLY__ consistent.
10786 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
10788 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
10790 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
10793 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
10795 2011-10-09 Ulrich Drepper <drepper@gmail.com>
10797 * po/ja.po: Update from translation team.
10799 2011-10-08 Roland McGrath <roland@hack.frob.com>
10801 * locale/programs/locarchive.c (prepare_address_space): New function.
10802 (create_archive, enlarge_archive, open_archive): Use it.
10804 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
10805 inside [SHARED], where it is used.
10807 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
10809 * nss/getent.c (netgroup_keys): Remove unused variable.
10810 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10812 2011-10-08 Ulrich Drepper <drepper@gmail.com>
10814 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
10815 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
10816 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
10817 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
10818 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
10819 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
10820 * math/Makefile (libm-calls): Add s_isinf_ns.
10821 * math/divtc3.c: Use __isinf_nsl instead of isinf.
10822 * math/multc3.c: Likewise.
10823 * math/s_casin.c: Likewise.
10824 * math/s_casinf.c: Likewise.
10825 * math/s_casinl.c: Likewise.
10826 * math/s_ccos.c: Likewise.
10827 * math/s_ccosf.c: Likewise.
10828 * math/s_ccosl.c: Likewise.
10829 * math/s_ctan.c: Likewise.
10830 * math/s_ctanf.c: Likewise.
10831 * math/s_ctanh.c: Likewise.
10832 * math/s_ctanhf.c: Likewise.
10833 * math/s_ctanhl.c: Likewise.
10834 * math/s_ctanl.c: Likewise.
10835 * math/w_fmod.c: Likewise.
10836 * math/w_fmodf.c: Likewise.
10837 * math/w_fmodl.c: Likewise.
10838 * math/w_remainder.c: Likewise.
10839 * math/w_remainderf.c: Likewise.
10840 * math/w_remainderl.c: Likewise.
10841 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
10842 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
10843 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
10844 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
10845 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
10846 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
10847 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
10848 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
10850 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
10852 * stdio-common/printf_fphex.c: Likewise.
10853 * stdio-common/printf_size.c: Likewise.
10855 * math/e_exp10.c: Include math_private.h using <...> not "...".
10856 * math/e_exp10f.c: Likewise.
10857 * math/e_exp10l.c: Likewise.
10858 * math/e_exp2l.c: Likewise.
10859 * math/e_j0l.c: Likewise.
10860 * math/e_j1l.c: Likewise.
10861 * math/e_jnl.c: Likewise.
10862 * math/e_lgammal_r.c: Likewise.
10863 * math/e_rem_pio2l.c: Likewise.
10864 * math/e_scalb.c: Likewise.
10865 * math/e_scalbf.c: Likewise.
10866 * math/e_scalbl.c: Likewise.
10867 * math/k_cosl.c: Likewise.
10868 * math/k_sinl.c: Likewise.
10869 * math/k_tanl.c: Likewise.
10870 * math/s_cacoshf.c: Likewise.
10871 * math/s_catan.c: Likewise.
10872 * math/s_catanf.c: Likewise.
10873 * math/s_catanh.c: Likewise.
10874 * math/s_catanhf.c: Likewise.
10875 * math/s_catanhl.c: Likewise.
10876 * math/s_catanl.c: Likewise.
10877 * math/s_ccosh.c: Likewise.
10878 * math/s_ccoshf.c: Likewise.
10879 * math/s_ccoshl.c: Likewise.
10880 * math/s_cexp.c: Likewise.
10881 * math/s_cexpf.c: Likewise.
10882 * math/s_cexpl.c: Likewise.
10883 * math/s_clog.c: Likewise.
10884 * math/s_clog10.c: Likewise.
10885 * math/s_clog10f.c: Likewise.
10886 * math/s_clog10l.c: Likewise.
10887 * math/s_clogf.c: Likewise.
10888 * math/s_clogl.c: Likewise.
10889 * math/s_csin.c: Likewise.
10890 * math/s_csinf.c: Likewise.
10891 * math/s_csinh.c: Likewise.
10892 * math/s_csinhf.c: Likewise.
10893 * math/s_csinhl.c: Likewise.
10894 * math/s_csinl.c: Likewise.
10895 * math/s_csqrt.c: Likewise.
10896 * math/s_csqrtf.c: Likewise.
10897 * math/s_csqrtl.c: Likewise.
10898 * math/s_ctan.c: Likewise.
10899 * math/s_ctanf.c: Likewise.
10900 * math/s_ctanh.c: Likewise.
10901 * math/s_ctanhf.c: Likewise.
10902 * math/s_ctanhl.c: Likewise.
10903 * math/s_ctanl.c: Likewise.
10904 * math/s_ldexp.c: Likewise.
10905 * math/s_ldexpf.c: Likewise.
10906 * math/s_ldexpl.c: Likewise.
10907 * math/s_significand.c: Likewise.
10908 * math/s_significandf.c: Likewise.
10909 * math/s_significandl.c: Likewise.
10910 * math/w_acos.c: Likewise.
10911 * math/w_acosf.c: Likewise.
10912 * math/w_acosh.c: Likewise.
10913 * math/w_acoshf.c: Likewise.
10914 * math/w_acoshl.c: Likewise.
10915 * math/w_acosl.c: Likewise.
10916 * math/w_asin.c: Likewise.
10917 * math/w_asinf.c: Likewise.
10918 * math/w_asinl.c: Likewise.
10919 * math/w_atan2.c: Likewise.
10920 * math/w_atan2f.c: Likewise.
10921 * math/w_atan2l.c: Likewise.
10922 * math/w_atanh.c: Likewise.
10923 * math/w_atanhf.c: Likewise.
10924 * math/w_atanhl.c: Likewise.
10925 * math/w_cosh.c: Likewise.
10926 * math/w_coshf.c: Likewise.
10927 * math/w_coshl.c: Likewise.
10928 * math/w_dremf.c: Likewise.
10929 * math/w_exp10.c: Likewise.
10930 * math/w_exp10f.c: Likewise.
10931 * math/w_exp10l.c: Likewise.
10932 * math/w_exp2.c: Likewise.
10933 * math/w_exp2f.c: Likewise.
10934 * math/w_fmod.c: Likewise.
10935 * math/w_fmodf.c: Likewise.
10936 * math/w_fmodl.c: Likewise.
10937 * math/w_hypot.c: Likewise.
10938 * math/w_hypotf.c: Likewise.
10939 * math/w_hypotl.c: Likewise.
10940 * math/w_j0.c: Likewise.
10941 * math/w_j0f.c: Likewise.
10942 * math/w_j0l.c: Likewise.
10943 * math/w_j1.c: Likewise.
10944 * math/w_j1f.c: Likewise.
10945 * math/w_j1l.c: Likewise.
10946 * math/w_jn.c: Likewise.
10947 * math/w_jnf.c: Likewise.
10948 * math/w_jnl.c: Likewise.
10949 * math/w_lgamma.c: Likewise.
10950 * math/w_lgamma_r.c: Likewise.
10951 * math/w_lgammaf.c: Likewise.
10952 * math/w_lgammaf_r.c: Likewise.
10953 * math/w_lgammal.c: Likewise.
10954 * math/w_lgammal_r.c: Likewise.
10955 * math/w_log.c: Likewise.
10956 * math/w_log10.c: Likewise.
10957 * math/w_log10f.c: Likewise.
10958 * math/w_log10l.c: Likewise.
10959 * math/w_log2.c: Likewise.
10960 * math/w_log2f.c: Likewise.
10961 * math/w_log2l.c: Likewise.
10962 * math/w_logf.c: Likewise.
10963 * math/w_logl.c: Likewise.
10964 * math/w_pow.c: Likewise.
10965 * math/w_powf.c: Likewise.
10966 * math/w_powl.c: Likewise.
10967 * math/w_remainder.c: Likewise.
10968 * math/w_remainderf.c: Likewise.
10969 * math/w_remainderl.c: Likewise.
10970 * math/w_scalb.c: Likewise.
10971 * math/w_scalbf.c: Likewise.
10972 * math/w_scalbl.c: Likewise.
10973 * math/w_sinh.c: Likewise.
10974 * math/w_sinhf.c: Likewise.
10975 * math/w_sinhl.c: Likewise.
10976 * math/w_sqrt.c: Likewise.
10977 * math/w_sqrtf.c: Likewise.
10978 * math/w_sqrtl.c: Likewise.
10979 * math/w_tgamma.c: Likewise.
10980 * math/w_tgammaf.c: Likewise.
10981 * math/w_tgammal.c: Likewise.
10983 * po/ja.po: Update from translation team.
10985 2011-09-29 Andreas Jaeger <aj@suse.de>
10988 * sunrpc/netname.c (netname2host): Fix logic.
10992 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
10994 * math/w_remainder.c (__remainder): Likewise.
10995 * math/w_remainderf.c (__remainderf): Likewise.
10996 * math/libm-test.inc (remainder_test): Add test cases.
10998 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11000 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11003 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11005 * string/test-memcmp.c: Avoid unncessary #defines.
11006 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11008 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11010 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11011 Use new sse2 version for core i3 - i7 as it's faster
11012 than sse42 version.
11013 (bit_Prefer_PMINUB_for_stringop): New.
11014 * sysdeps/x86_64/rawmemchr.S: Update.
11015 Replace with faster SSE2 version.
11016 * sysdeps/x86_64/memrchr.S: New file.
11017 * sysdeps/x86_64/memchr.S: Update.
11018 Replace with faster SSE2 version.
11020 2011-09-12 Marek Polacek <mpolacek@redhat.com>
11022 * elf/dl-load.c (lose): Add cast to avoid warning.
11024 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11026 * po/ca.po: Update from translation team.
11028 * inet/getnetgrent_r.c: Hook up nscd.
11029 * nscd/Makefile (routines): Add nscd_netgroup.
11030 (nscd-modules): Add netgroupcache.
11031 (CFLAGS-netgroupcache.c): Define.
11032 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11033 (cache_search): Add const to second parameter.
11034 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11036 (dbs): Add netgrdb entry.
11037 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11038 (verify_persistent_db): Handle netgrdb.
11039 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11040 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11042 (netgroup_response_header): Define.
11043 (innetgroup_response_header): Define.
11044 (datahead): Add netgroup_response_header and innetgroup_response_header
11046 * nscd/nscd.conf: Add entries for netgroup cache.
11047 * nscd/nscd.h (dbtype): Add netgrdb.
11048 (_PATH_NSCD_NETGROUP_DB): Define.
11049 (netgroup_iov_disabled): Declare.
11050 (xmalloc, xcalloc, xrealloc): Move declarations here.
11051 (cache_search): Adjust prototype.
11052 Add netgroup-related prototypes.
11053 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11054 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11055 (__nscd_innetgr): Declare.
11056 * nscd/selinux.c (perms): Use access_vector_t as element type and
11057 add netgroup-related initializers.
11058 * nscd/netgroupcache.c: New file.
11059 * nscd/nscd_netgroup.c: New file.
11060 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11061 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11062 For four parameters use innetgr.
11063 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11064 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11065 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11066 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11068 * nscd/connections.c (register_traced_file): Don't register file
11069 for disabled databases.
11071 2011-10-06 Ulrich Drepper <drepper@gmail.com>
11073 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11075 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11076 from tree and freeing node.
11078 2011-09-25 Jiri Olsa <jolsa@redhat.com>
11080 * nss/nsswitch.c (__nss_database_lookup): Handle
11081 nss_parse_service_list out of memory case.
11083 2011-09-15 Jiri Olsa <jolsa@redhat.com>
11085 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11086 out of memory case.
11088 2011-10-04 Andreas Schwab <schwab@redhat.com>
11090 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11091 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11093 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11094 elf_machine_rela, elf_machine_lazy_rel.
11095 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11096 (ELF_DYNAMIC_DO_REL): Likewise.
11097 (ELF_DYNAMIC_DO_RELA): Likewise.
11098 (ELF_DYNAMIC_RELOCATE): Likewise.
11099 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11100 to ELF_DYNAMIC_DO_REL.
11101 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11102 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11103 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11105 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11106 skip_ifunc, don't call ifunc function if non-zero.
11107 (elf_machine_rela): Likewise.
11108 (elf_machine_lazy_rel): Likewise.
11109 (elf_machine_lazy_rela): Likewise.
11110 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11111 (elf_machine_lazy_rel): Likewise.
11112 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11114 (elf_machine_lazy_rel): Likewise.
11115 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11117 (elf_machine_lazy_rel): Likewise.
11118 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11119 (elf_machine_lazy_rel): Likewise.
11120 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11121 (elf_machine_lazy_rel): Likewise.
11122 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11123 (elf_machine_lazy_rel): Likewise.
11124 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11125 (elf_machine_lazy_rel): Likewise.
11126 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11127 (elf_machine_lazy_rel): Likewise.
11128 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11129 (elf_machine_lazy_rel): Likewise.
11131 2011-09-28 Ulrich Drepper <drepper@gmail.com>
11133 * nss/nss_files/files-init.c (_nss_files_init): Use static
11134 initialization for all the *_traced_file variables.
11136 2011-09-28 Andreas Schwab <schwab@redhat.com>
11138 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11140 2011-09-27 Roland McGrath <roland@hack.frob.com>
11143 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11145 2011-09-27 Andreas Schwab <schwab@redhat.com>
11147 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11148 Reread the line before reparsing it.
11150 2011-09-26 Andreas Schwab <schwab@redhat.com>
11152 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11154 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11155 Maxim Kuvyrkov <maxim@codesourcery.com>
11156 Joseph Myers <joseph@codesourcery.com>
11158 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11159 if needed for __stack_chk_guard.
11161 2011-09-19 Roland McGrath <roland@hack.frob.com>
11163 * sysdeps/posix/spawni.c (script_execute): Always define it.
11164 It will be optimized away if unused.
11165 (maybe_script_execute): New function.
11166 (__spawni): Call it.
11168 * Makerules: Don't include tls.make.
11169 (config-tls): Always set to thread.
11170 * tls.make.c: File removed.
11172 2011-09-19 Mike Frysinger <vapier@gentoo.org>
11174 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11175 * config.make.in (CPPFLAGS-config): New substituted variable.
11177 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11179 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11182 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11183 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11185 2011-09-15 Roland McGrath <roland@hack.frob.com>
11187 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11188 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11189 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11190 (CALL_FAIL): Likewise.
11191 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11192 (CALL_FAIL): Macro removed.
11193 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11195 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11197 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11198 for __FINITE_MATH_ONLY__ == 1.
11200 2011-09-15 Andreas Schwab <schwab@redhat.com>
11202 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11203 __ieee754_sqrt instead of sqrt.
11204 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11205 __ieee754_sqrtf instead of sqrtf.
11206 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11207 __floorf instead of floorf.
11208 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11209 __floorf, __truncf instead of floorf, truncf.
11211 2011-09-14 Ulrich Drepper <drepper@gmail.com>
11213 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11215 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11216 __extern_always_inline.
11217 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11220 2011-09-14 Andreas Schwab <schwab@redhat.com>
11222 * elf/rtld.c (dl_main): Also relocate in dependency order when
11223 doing symbol dependency testing.
11225 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11227 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11228 Always define `refsym'.
11230 2011-09-13 Andreas Schwab <schwab@redhat.com>
11232 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11233 (__FD_ELT): Renamed from __FDELT.
11234 * misc/bits/select2.h (__FD_ELT): Likewise.
11235 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11236 __FD_MASK instead of __FDELT, __FDMASK.
11237 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11239 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11242 * elf/Makefile (gen-ldd): Fix pattern.
11244 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11245 (init_tls): Likewise.
11247 2011-09-12 Ulrich Drepper <drepper@gmail.com>
11249 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11251 2011-09-12 Andreas Schwab <schwab@redhat.com>
11253 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11254 `struct cmsghdr *' instead of `void *'.
11255 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11258 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11260 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11262 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11263 ldd_rewrite_script.
11265 2011-09-11 Ulrich Drepper <drepper@gmail.com>
11267 * configure.in: Remove --with-tls option.
11268 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11269 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11270 out in case it is missing.
11271 * sysdeps/ia64/elf/configure.in: Likewise.
11272 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11273 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11274 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11275 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11276 * sysdeps/sh/elf/configure.in: Likewise.
11277 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11278 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11279 * sysdeps/x86_64/elf/configure.in: Likewise.
11280 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11281 * sysdeps/mach/hurd/tls.h: Likewise.
11284 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11287 * configure.in: Fix use of AC_INIT.
11289 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11291 2011-09-10 Ulrich Drepper <drepper@gmail.com>
11293 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11295 * malloc/hooks.c: Likewise.
11298 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11299 variables statically.
11300 (narenas): Initialize.
11301 (list_lock): Initialize.
11302 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11303 initializtion of main_arena and list_lock. Small cleanups.
11304 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11305 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11306 Add initializers to main_arena and mp_.
11307 (malloc_state): Remove pagesize member. Change all users to use
11310 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11311 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11312 is always initialized.
11314 * malloc/malloc.c: Removed unused configurations and dead code.
11315 * malloc/arena.c: Likewise.
11316 * malloc/hooks.c: Likewise.
11317 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
11319 * include/tls.h: Removed. USE___THREAD must always be defined.
11320 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11321 * elf/dl-libc.c: Likewise.
11322 * elf/dl-tsd.c: Likewise.
11323 * include/errno.h: Likewise.
11324 * include/netdb.h: Likewise.
11325 * include/resolv.h: Likewise.
11326 * inet/herrno-loc.c: Likewise.
11327 * inet/herrno.c: Likewise.
11328 * malloc/arena.c: Likewise.
11329 * malloc/hooks.c: Likewise.
11330 * malloc/malloc.c: Likewise.
11331 * resolv/res-state.c: Likewise.
11332 * resolv/res_libc.c: Likewise.
11333 * sysdeps/i386/dl-machine.h: Likewise.
11334 * sysdeps/ia64/dl-machine.h: Likewise.
11335 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11336 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11337 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11338 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11339 * sysdeps/sh/dl-machine.h: Likewise.
11340 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11341 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11342 * sysdeps/unix/i386/sysdep.S: Likewise.
11343 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11344 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11345 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11346 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11347 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11348 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11349 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11350 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11351 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11352 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11353 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11354 * sysdeps/x86_64/dl-machine.h: Likewise.
11355 * tls.make.c: Likewise.
11357 * configure.in: Remove --with-__thread option. Make tests for
11358 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11359 tls_model attribute fail if no support is available. Remove
11361 * Makeconfig: Adjust for dropped configure option. All features are
11363 * Makerules: Likewise.
11364 * Versions.def: Likewise.
11365 * argp/argp-fmtstream.c: Likewise.
11366 * argp/argp-fmtstream.h: Likewise.
11367 * argp/argp-help.c: Likewise.
11368 * assert/assert.c: Likewise.
11369 * config.h.in: Likewise.
11370 * config.make.in: Likewise.
11371 * configure: Likewise.
11372 * configure.in: Likewise.
11373 * csu/Versions: Likewise.
11374 * csu/init.c: Likewise.
11375 * elf/tst-audit2.c: Likewise.
11376 * elf/tst-tls10.c: Likewise.
11377 * elf/tst-tls10.h: Likewise.
11378 * elf/tst-tls11.c: Likewise.
11379 * elf/tst-tls12.c: Likewise.
11380 * elf/tst-tls14.c: Likewise.
11381 * elf/tst-tlsmod11.c: Likewise.
11382 * elf/tst-tlsmod12.c: Likewise.
11383 * elf/tst-tlsmod13.c: Likewise.
11384 * elf/tst-tlsmod13a.c: Likewise.
11385 * elf/tst-tlsmod14a.c: Likewise.
11386 * elf/tst-tlsmod15b.c: Likewise.
11387 * elf/tst-tlsmod16a.c: Likewise.
11388 * elf/tst-tlsmod16b.c: Likewise.
11389 * elf/tst-tlsmod7.c: Likewise.
11390 * elf/tst-tlsmod8.c: Likewise.
11391 * elf/tst-tlsmod9.c: Likewise.
11392 * gmon/gmon.c: Likewise.
11393 * grp/fgetgrent_r.c: Likewise.
11394 * grp/putgrent.c: Likewise.
11395 * hurd/fopenport.c: Likewise.
11396 * include/libc-symbols.h: Likewise.
11397 * include/tls.h: Likewise.
11398 * intl/gettextP.h: Likewise.
11399 * intl/loadinfo.h: Likewise.
11400 * locale/global-locale.c: Likewise.
11401 * locale/localeinfo.h: Likewise.
11402 * mach/devstream.c: Likewise.
11403 * malloc/arena.c: Likewise.
11404 * malloc/set-freeres.c: Likewise.
11405 * misc/err.c: Likewise.
11406 * misc/getttyent.c: Likewise.
11407 * misc/mntent_r.c: Likewise.
11408 * posix/getopt.c: Likewise.
11409 * posix/wordexp.c: Likewise.
11410 * pwd/fgetpwent_r.c: Likewise.
11411 * resolv/Versions: Likewise.
11412 * resolv/res_hconf.c: Likewise.
11413 * shadow/fgetspent_r.c: Likewise.
11414 * shadow/putspent.c: Likewise.
11415 * stdio-common/printf_fphex.c: Likewise.
11416 * stdio-common/tmpfile.c: Likewise.
11417 * stdlib/abort.c: Likewise.
11418 * stdlib/fmtmsg.c: Likewise.
11419 * sunrpc/auth_unix.c: Likewise.
11420 * sunrpc/clnt_perr.c: Likewise.
11421 * sunrpc/clnt_tcp.c: Likewise.
11422 * sunrpc/clnt_udp.c: Likewise.
11423 * sunrpc/clnt_unix.c: Likewise.
11424 * sunrpc/openchild.c: Likewise.
11425 * sunrpc/svc_simple.c: Likewise.
11426 * sunrpc/svc_tcp.c: Likewise.
11427 * sunrpc/svc_udp.c: Likewise.
11428 * sunrpc/svc_unix.c: Likewise.
11429 * sunrpc/xdr.c: Likewise.
11430 * sunrpc/xdr_array.c: Likewise.
11431 * sunrpc/xdr_rec.c: Likewise.
11432 * sunrpc/xdr_ref.c: Likewise.
11433 * sunrpc/xdr_stdio.c: Likewise.
11435 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11437 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11439 2011-07-03 Andreas Jaeger <aj@suse.de>
11441 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11442 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11443 regenerate with gen-libm-tests.pl.
11445 2010-05-12 Petr Baudis <pasky@suse.cz>
11448 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11449 around j0() zero points by switching to j1().
11450 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11451 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11452 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11453 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11455 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11457 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11459 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11461 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11462 Patch in part by Pavel Roskin <proski@gnu.org>.
11465 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11467 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11468 Free memory block if necessary.
11471 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11472 be NULL. Don't lock in this case.
11474 2011-09-09 Roland McGrath <roland@hack.frob.com>
11476 * elf/elf.h (ELFOSABI_GNU): New macro.
11477 (ELFOSABI_LINUX): Define to that.
11479 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11481 * string/strncat.c (strncat): Undef the symbol in case it has been
11482 defined in bits/string.h.
11484 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11486 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11488 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
11491 2011-08-17 Andreas Jaeger <aj@suse.de>
11493 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11495 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11496 Ian Lance Taylor <iant@google.com>
11498 * math/libm-test.inc (lround_test): New testcase.
11499 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11501 2011-09-08 Ulrich Drepper <drepper@gmail.com>
11503 * Makefile: Remove support for automatic cvs check-ins.
11504 * Makerules: Likewise.
11505 * config.make.in: Likewise.
11506 * configure.in: Likewise.
11507 * intl/Makefile: Likewise.
11508 * locale/Makefile: Likewise.
11509 * po/Makefile: Likewise.
11510 * posix/Makefile: Likewise.
11511 * sysdeps/gnu/Makefile: Likewise.
11512 * sysdeps/mach/hurd/Makefile: Likewise.
11513 * sysdeps/sparc/sparc32/Makefile: Likewise.
11516 * posix/Makefile (bug-regex32-ENV): Define.
11517 Patch by John Stanley <jpsinthemix@verizon.net>.
11519 * misc/Makefile (headers): Add bits/select2.h.
11520 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11521 * misc/bits/select2.h: New file.
11522 * include/bits/select2.h: New file.
11523 * debug/Makefile (routines): Add fdelt_chk.
11524 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11525 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11527 * debug/fdelt_chk.c: New file.
11529 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11530 * wcsmbs/test-wmemcmp.c: Likewise.
11531 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
11532 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
11534 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11536 * string/Makefile (strop-tests): Add memcmp.
11537 * string/test-wmemcmp.c: New file.
11538 * string/test-memcmp.c: Add wmemcmp support.
11540 2011-09-08 Roland McGrath <roland@hack.frob.com>
11543 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11546 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11547 garbage value in a __mach_port_mod_refs call in the cases of the
11548 task-self and thread-self ports.
11550 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11552 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11554 2011-09-08 Andreas Schwab <schwab@redhat.com>
11556 * elf/dl-load.c (lose): Check for non-null L.
11558 2011-09-07 Ulrich Drepper <drepper@gmail.com>
11560 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11562 * elf/dl-libc.c (dlerror_run): Pass back error code from
11566 * elf/dl-load.c (lose): Free l_origin if it is valid.
11568 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11570 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11571 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11572 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11573 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11574 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11575 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11577 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11579 * sysdeps/powerpc/fpu/e_hypot.c: New file.
11580 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11581 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11582 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11583 * sysdeps/powerpc/fpu/k_cosf.c: New file.
11584 * sysdeps/powerpc/fpu/k_sinf.c: New file.
11585 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11586 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11587 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11588 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11590 2011-08-15 Alan Modra <amodra@gmail.com>
11593 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11594 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11595 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11596 ppc_mcount to static-only-routines.
11597 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11599 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11600 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11602 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11604 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11605 for finite and infinity parameters.
11607 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11609 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11610 and add nop instructions for throughput optimization.
11611 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11613 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
11615 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11616 aligned copy for power7 with vector-scalar instructions.
11617 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11619 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
11621 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11624 2011-09-07 Andreas Schwab <schwab@redhat.com>
11627 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
11630 2011-09-07 Ulrich Drepper <drepper@gmail.com>
11632 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11633 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11634 syscall wrapper around clock_gettime in __vdso_clock_gettime.
11635 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
11638 2011-09-06 Ulrich Drepper <drepper@gmail.com>
11640 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
11641 Forgot to demangle the pointer.
11643 * sysdeps/i386/sysdep.h: Define atom_text_section.
11644 * sysdeps/x86_64/sysdep.h: Likewise.
11645 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
11646 section with atom_text_section.
11647 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11648 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11649 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11650 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11651 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
11653 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
11654 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
11655 already be defined. Change to take two parameters and don't assign
11656 result to variable. Adjust all users.
11657 Define INTERNAL_GETTIME if not already defined.
11658 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
11660 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
11661 HAVE_CLOCK_GETTIME_VSYSCALL.
11662 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
11664 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
11665 gettimeofday vsyscall, just use time.
11667 2011-09-06 Andreas Schwab <schwab@redhat.com>
11669 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
11672 2011-09-06 Ulrich Drepper <drepper@gmail.com>
11674 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
11676 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
11678 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11679 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
11680 syscall if possible.
11682 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11684 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
11685 e_ident. Don't pass to find_mapsXX.
11686 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
11688 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11690 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11691 strchr-sse2-no-bsf strrchr-sse2-no-bsf
11692 * sysdeps/x86_64/multiarch/strchr.S: Update.
11693 Check bit_slow_BSF bit.
11694 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11695 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
11696 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
11698 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11701 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
11703 (tryshell): Define.
11704 (__spawni): Change last parameter to be flag. Test
11705 SPAWN_XFLAGS_USE_PATH flag to use path or not.
11706 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
11707 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
11708 * posix/spawni.c: Likewise.
11709 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
11710 * posix/spawnp.c: Likewise. Change normal version to use
11711 SPAWN_XFLAGS_USE_PATH.
11712 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
11713 SPAWN_XFLAGS_TRY_SHELL.
11716 * posix/glob.h: Remove gcc 1.x support.
11719 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
11721 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11723 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11724 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
11726 * sysdeps/i386/i686/multiarch/strchr.S: New file.
11727 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
11728 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
11729 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
11730 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
11731 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
11733 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11735 * sysdeps/x86_64/wcscmp.S: New file.
11737 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
11738 wcscmp-c wcscmp-sse2
11739 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
11740 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
11741 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
11742 * wcsmbs/wcscmp.c: Allow renaming.
11744 2011-09-05 David S. Miller <davem@davemloft.net>
11746 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
11747 stack slot, rather than the struct return pointer slot.
11748 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
11749 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
11750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
11751 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
11753 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11755 * po/ja.po: Update from translation team.
11758 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
11759 kernel in 64-bit binaries.
11761 2011-09-01 David S. Miller <davem@davemloft.net>
11763 * elf/elf.h (HWCAP_SPARC_*): Move to..
11764 * sysdeps/sparc/sysdep.h: this new file and add new values.
11765 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
11766 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
11767 _DL_HWCAP_COUNT to 24.
11768 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11770 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
11771 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
11772 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
11773 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
11774 instead of magic constants.
11775 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11777 2011-08-31 David S. Miller <davem@davemloft.net>
11779 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
11780 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
11781 Reimplement to do errno handling inline.
11782 (SYSCALL_ERROR_HANDLER): New macro.
11783 (__SYSCALL_STRING): Do not do errno handling in asm.
11784 (__CLONE_SYSCALL_STRING): Delete.
11785 (__INTERNAL_SYSCALL_STRING): Delete.
11786 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
11787 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
11788 (PSEUDO): Reimplement to do errno handling inline.
11789 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
11790 (SYSCALL_ERROR_HANDLER): New macro.
11791 (__SYSCALL_STRING): Do not do errno handling in asm.
11792 (__CLONE_SYSCALL_STRING): Delete.
11793 (__INTERNAL_SYSCALL_STRING): Delete.
11794 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
11795 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
11797 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
11798 (inline_syscall*): Add 'err' argument.
11799 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
11800 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
11801 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
11802 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
11804 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
11805 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11807 2011-08-30 Andreas Schwab <schwab@redhat.com>
11809 * elf/rtld.c (dl_main): Relocate objects in dependency order.
11811 2011-08-29 Jiri Olsa <jolsa@redhat.com>
11813 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
11816 2011-08-24 David S. Miller <davem@davemloft.net>
11818 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
11820 2011-08-24 Andreas Schwab <schwab@redhat.com>
11822 * elf/Makefile: Add rules to build and run unload8 test.
11823 * elf/unload8.c: New file.
11824 * elf/unload8mod1.c: New file.
11825 * elf/unload8mod1x.c: New file.
11826 * elf/unload8mod2.c: New file.
11827 * elf/unload8mod3.c: New file.
11829 * elf/dl-close.c (_dl_close_worker): Reset private search list if
11832 2011-08-23 David S. Miller <davem@davemloft.net>
11834 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
11835 subtract stack bias.
11836 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
11837 %sp not %fp in calculations.
11838 (_JMPBUF_UNWINDS_ADJ): Likewise.
11840 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
11841 (aio_suspend): Call it to force an exception region around the
11842 AIO_MISC_WAIT() invocation.
11844 2011-08-23 Andreas Schwab <schwab@redhat.com>
11846 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
11849 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
11851 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
11853 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
11854 and <dl-machine.h>.
11855 (Elf64_FuncDesc): Remove.
11857 2011-08-22 David S. Miller <davem@davemloft.net>
11859 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
11860 sigaltstack check, add missing cfi directives.
11861 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
11862 missing cfi directives, and sigaltstack handling.
11864 2011-08-16 Andreas Schwab <schwab@redhat.com>
11867 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11868 object is seen twice.
11869 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11871 * elf/Makefile (distribute): Add tst-initorder2.c.
11872 (tests): Add tst-initorder2.
11873 (modules-names): Add tst-initorder2a tst-initorder2b
11874 tst-initorder2c tst-initorder2d. Add rules to build them.
11875 ($(objpfx)tst-initorder2.out): New rule.
11876 * elf/tst-initorder2.c: New file.
11877 * elf/tst-initorder2.exp: New file.
11879 2011-08-22 Andreas Schwab <schwab@redhat.com>
11881 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11883 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11884 dependencies back to end of function.
11886 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11887 $(elfobjdir)/ld.so.
11889 2011-08-21 Ulrich Drepper <drepper@gmail.com>
11891 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11892 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11893 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11894 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11895 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11896 of __vdso_gettimeofday.
11897 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11898 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11900 (_libc_vdso_platform_setup): Remove initialization of
11901 __vdso_gettimeofday and __vdso_time.
11903 2011-08-20 Ulrich Drepper <drepper@gmail.com>
11905 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11906 and fgetc_unlocked.
11907 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11910 * elf/dl-open.c (add_to_global): Report additions to the global scope
11911 for LD_DEBUG=scopes.
11912 (dl_open_worker): Also print scope of newly loaded dependencies.
11913 (_dl_show_scope): Indicate if there is no scope.
11916 * stdio-common/Makefile (tests): Add bug24.
11917 * stdio-common/bug24.c: New file.
11919 2011-08-19 Andreas Jaeger <aj@suse.de>
11922 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11923 non-existant file when using close-on-exec mode.
11925 2011-08-20 Ulrich Drepper <drepper@gmail.com>
11927 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11928 the very first instruction.
11930 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11931 the CFI state in the end.
11932 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11933 inclusion of dl-trampoline.h.
11934 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11936 2011-08-19 Andreas Schwab <schwab@redhat.com>
11938 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11939 expectations for long double.
11941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11942 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11944 2011-08-14 David S. Miller <davem@davemloft.net>
11946 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11947 artificual limit depends upon the system page size.
11949 2011-08-17 Ulrich Drepper <drepper@gmail.com>
11951 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11952 * resolv/Makefile: Define CFLAGS-libresolv.
11954 2011-08-17 Andreas Schwab <schwab@redhat.com>
11956 * nss/makedb.c (compute_tables): Make variables used in nested
11959 2011-08-17 Ulrich Drepper <drepper@gmail.com>
11961 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
11962 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
11963 if buffer was too small.
11965 * elf/pldd.c (main): Attach to all threads in the process.
11966 Rewrite /proc handling to use *at functions.
11968 2011-08-16 Ulrich Drepper <drepper@gmail.com>
11970 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
11971 specifies first scope to show.
11972 (dl_open_worker): Update callers. Move printing scope of new
11973 object to before the relocation.
11974 * elf/rtld.c (dl_main): Update _dl_show_scope call.
11975 * sysdeps/generic/ldsodefs.h: Update declaration.
11977 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
11978 string for the scope number.
11980 2011-08-14 Ulrich Drepper <drepper@gmail.com>
11982 * nscd/servicescache.c (cache_addserv): Make sure written is always
11985 2011-08-14 Roland McGrath <roland@hack.frob.com>
11987 * sysdeps/i386/i486/bits/atomic.h
11988 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
11989 statement expression, so as to suppress "set but not used" warning.
11990 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
11992 * string/strncat.c (STRNCAT): Use prototype definition.
11994 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
11995 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
11997 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
11998 (localedef-modules): Add localedef.
11999 (locale-modules): Add locale.
12001 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12002 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12003 to avoid a warning.
12005 2011-08-14 David S. Miller <davem@davemloft.net>
12007 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12008 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12010 2011-08-13 Ulrich Drepper <drepper@gmail.com>
12012 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
12013 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12014 * elf/rtld.c (dl_main): Set l_name of vDSO.
12015 Call _dl_show_scope when DL_DEBUG_SCOPES.
12016 (process_dl_debug): Recognize scopes flag and also set it for all.
12017 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12018 Declare _dl_show_scope.
12020 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12021 (do_dlopen): Pass caller_dlopen to dl_open.
12022 (__libc_dlopen_mode): Initialize caller_dlopen.
12024 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12025 of libc. Make tolower call locale-independent. Optimize a bit by
12026 using isdigit instead of isalnum.
12027 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12029 2011-08-12 Ulrich Drepper <drepper@gmail.com>
12031 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12032 was a dependency or dynamically loaded.
12034 2011-08-11 Ulrich Drepper <drepper@gmail.com>
12036 * intl/l10nflist.c: Allow architecture-specific pop function.
12037 * sysdeps/x86_64/l10nflist.c: New file.
12039 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12042 2011-08-10 Andreas Schwab <schwab@redhat.com>
12044 * include/dirent.h: Add libc_hidden_proto for scandirat and
12045 scandirat64. Don't declare __scandirat64.
12046 * dirent/scandirat.c: Add libc_hidden_def.
12047 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12048 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12050 2011-08-10 David S. Miller <davem@davemloft.net>
12052 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12054 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12055 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12056 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12058 2011-08-09 Ulrich Drepper <drepper@gmail.com>
12060 * Versions.def [libc]: Add GLIBC_2.15.
12061 * dirent/Makefile (routines): Add scandirat and scandirat64.
12062 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12064 * dirent/dirent.h: Declare scandirat and scandirat64.
12065 * dirent/scandirat.c: New file.
12066 * dirent/scandirat64.c: New file.
12067 * sysdeps/wordsize-64/scandirat.c: New file.
12068 * sysdeps/wordsize-64/scandirat64.c: New file.
12069 * dirent/opendir.c: Define opendirat.
12070 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12072 * dirent/scandir64.c: Adjust for scandir.c change.
12073 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12074 __scandirat64, and __scandir_cancel_handler.
12075 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12076 additional parameter and use openat instead of open (outside of ld.so).
12077 Add new __opendir as wrapper around __opendirat.
12078 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12079 here without requiring old scandirat implementation.
12081 2011-08-08 Ulrich Drepper <drepper@gmail.com>
12083 * dirent/scandir.c (cancel_handler): Renamed to
12084 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12085 defined. Adjust users.
12086 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12087 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12089 2011-08-04 Ulrich Drepper <drepper@gmail.com>
12091 * string/test-string.h (IMPL): Use __STRING to expand name and then
12094 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12097 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12099 * string/Makefile: Update.
12100 (strop-tests): Append strncat.
12101 * string/test-wcscmp.c: New file.
12102 New comprehensive test for wcscmp.
12103 * string/test-strcmp.c: Update.
12104 (WIDE): New define.
12106 2011-07-22 Andreas Schwab <schwab@redhat.com>
12108 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12111 2011-07-26 Andreas Schwab <schwab@redhat.com>
12113 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12114 encoding to ACE if AI_IDN.
12116 2011-08-01 Jakub Jelinek <jakub@redhat.com>
12118 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12119 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12121 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12123 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12124 Fix overflow bug in strncat.
12125 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12127 * string/test-strncat.c: Update.
12128 Add new tests for checking overflow bugs.
12130 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12132 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12133 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12134 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12135 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12136 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12137 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12138 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12139 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12140 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12142 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12143 (USE_AS_STRCAT): Define.
12144 Add strcat and strncat support.
12145 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12147 2011-07-25 Andreas Schwab <schwab@redhat.com>
12149 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12150 __n bigger than INT_MAX+1.
12151 (__strncmp_g): Likewise.
12153 2011-07-23 Ulrich Drepper <drepper@gmail.com>
12155 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12156 * libio/stido.h: Likewise.
12158 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12160 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12163 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12164 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12165 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12166 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12167 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12170 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12173 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12175 (_dl_x86_64_save_sse): Likewise.
12177 2011-07-22 Ulrich Drepper <drepper@gmail.com>
12179 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12181 (_dl_x86_64_save_sse): Likewise.
12183 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12185 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12187 2011-07-21 Andreas Schwab <schwab@redhat.com>
12189 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12191 (_dl_x86_64_save_sse): Use correct AVX check.
12193 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12195 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12196 bug in strncpy/strncat.
12197 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12199 2011-07-21 Ulrich Drepper <drepper@gmail.com>
12201 * string/tester.c (test_strcat): Add tests for different alignments
12202 of source and destination.
12203 (test_strncat): Likewise.
12205 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12208 * posix/glob.c (glob): Check passed in values before using them in
12209 expressions to avoid some overflows.
12210 (glob_in_dir): Likewise.
12213 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12214 check for AVX enablement so that we don't crash with old kernels and
12216 * elf/tst-audit4.c: Add same checks here.
12217 * elf/tst-audit6.c: Likewise.
12219 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
12221 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12223 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12225 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12227 * po/cs.po: Update from translation team.
12228 * po/bg.po: Likewise.
12230 2011-07-12 Marek Polacek <mpolacek@redhat.com>
12232 * misc/sys/cdefs.h: Add support for const attribute.
12233 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12234 to gnu_dev_{major,minor,makedev} functions.
12236 2011-07-20 Marek Polacek <mpolacek@redhat.com>
12238 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12240 2011-07-20 Andreas Schwab <schwab@redhat.com>
12242 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12245 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12247 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12248 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12249 register in order to avoid conflicts with the soft frame pointer
12250 being held in r11 when necessary.
12251 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12252 (INTERNAL_VSYSCALL_NCS): Likewise.
12254 2011-07-14 Marek Polacek <mpolacek@redhat.com>
12256 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12257 * elf/dl-fini.c (_dl_fini): Adjust caller.
12258 * elf/dl-close.c (_dl_close_worker): Likewise.
12259 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12261 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12263 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12264 "aux_cache->nlibs < 0".
12266 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12267 in the reload-count case.
12269 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12271 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12272 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12273 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12274 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12275 * sysdeps/x86_64/multiarch/strcat.S: New file.
12276 * sysdeps/x86_64/multiarch/strncat.S: New file.
12277 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12278 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12279 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12280 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12281 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12282 (USE_AS_STRCAT): Define.
12283 Add strcat and strncat support.
12284 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12285 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12286 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12287 * string/strncat.c: Update.
12288 (USE_AS_STRNCAT): Define.
12289 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12290 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12292 * sysdeps/x86_64/multiarch/init-arch.h
12293 (bit_Prefer_PMINUB_for_stringop): New.
12294 (index_Prefer_PMINUB_for_stringop): Likewise.
12295 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12296 bit_Prefer_PMINUB_for_stringop.
12298 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12300 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12302 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12303 of casting of buffer.
12304 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12305 buffer32 and buffer64.
12306 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12307 writes instead of casting of buffer.
12308 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12310 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12313 2011-07-19 Andreas Schwab <schwab@redhat.com>
12315 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12317 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12319 * nscd/nscd.c (termination_handler): Don't do anything for a database
12320 if it has not yet been initialized.
12322 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12324 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12326 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12328 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12330 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12332 * po/nl.po: Update from translation team.
12333 * po/sv.po: Likewise.
12335 2011-07-16 Roland McGrath <roland@hack.frob.com>
12337 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12338 now disallowed by GCC.
12340 * configure.in (use-default-link): Default to yes if a test -shared
12341 link meets our qualifications.
12342 * configure: Regenerated.
12344 * config.make.in (output-format): New variable.
12345 * configure.in: Check for ld --print-output-format support.
12346 * configure: Regenerated.
12347 * Makerules ($(common-objpfx)format.lds)
12348 [$(output-format) != unknown]: Just use $(output-format),
12349 instead of the linker-script munging.
12351 2011-07-14 Roland McGrath <roland@hack.frob.com>
12353 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12354 of $(common-objpfx)shlib.lds.
12355 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12357 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12358 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12360 * configure.in (-z relro check): Adjust test code to add a large
12361 writable data section after it.
12362 * configure: Regenerated.
12364 2011-07-11 Roland McGrath <roland@hack.frob.com>
12366 * configure.in (-z relro check): Fix test code to make the variable
12368 * configure: Regenerated.
12370 2011-07-11 Ulrich Drepper <drepper@gmail.com>
12372 * nscd/nscd.h (struct traced_file): Define.
12373 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12374 elements. Add traced_files.
12375 (inotify_fd): Declare.
12376 (register_traced_file): Declare.
12377 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12378 (inotify_fd): Export.
12379 (resolv_conf_descr): Remove.
12380 (nscd_init): Move inotify descriptor creation to main.
12381 Don't register files for notification here.
12382 (register_traced_file): New function.
12383 (invalidate_cache): Don't use reset_res to determine whether to call
12384 res_init, go through the list of registered files.
12385 (main_loop_poll): The inotify descriptors are now stored in the
12386 structures for the traced files.
12387 (main_loop_epoll): Likewise
12388 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12389 to __nss_disable_nscd.
12390 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12391 for a database anymore. Check the records for all the registered
12393 * nss/Makefile (libnss_files-routines): Add files-init.
12394 (libnss_db-routines): Add db-init.
12395 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12396 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12397 * nss/nss_db/db-init.c: New file.
12398 * nss/nss_files/files-init.c: New file.
12399 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12400 __nss_lookup_function.
12401 (__nss_lookup_function): Call nss_load_library.
12402 (nss_load_all_libraries): New function.
12403 (__nss_disable_nscd): Take parameter with callback function for files
12404 to register. Set is_nscd. Load all the DSOs for the NSS modules
12405 used for the cached services.
12406 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12407 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12408 options for features to all the files in nscd.
12410 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12412 2011-07-10 Roland McGrath <roland@hack.frob.com>
12414 * csu/elf-init.c (__libc_csu_init): Comment typo.
12416 2011-07-09 Ulrich Drepper <drepper@gmail.com>
12418 * po/pl.po: Update from translation team.
12419 * po/ja.po: Likewise.
12420 * po/ru.po: Likewise.
12421 * po/ko.po: Likewise.
12422 * po/fr.po: Likewise.
12424 2011-07-09 Roland McGrath <roland@hack.frob.com>
12426 * configure.in (.ctors/.dtors header and trailer check):
12427 Use an empirical test on a built program.
12428 * configure: Regenerated.
12430 * configure.in (-z relro check): Use an empirical test on a built DSO.
12431 Detect, but do not require, on ia64.
12432 * configure: Regenerated.
12434 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12435 Update tests that use readelf to use $READELF instead.
12436 * configure: Regenerated.
12438 2011-07-08 Ulrich Drepper <drepper@gmail.com>
12440 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12441 if the result is not used.
12443 2011-07-05 Andreas Jaeger <aj@suse.de>
12446 * stdlib/tst-strtod.c: Add testcase.
12448 2011-07-07 Ulrich Drepper <drepper@gmail.com>
12450 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
12451 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
12452 The latter has a higher limit. Take additional parameter to pass to
12454 (__pathconf): Pass file to __statfs_link_max.
12455 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12457 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12461 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12462 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12464 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12465 (__statfs_filesize_max): Likewise.
12466 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12468 2011-07-05 Andreas Jaeger <aj@suse.de>
12470 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12472 2011-07-06 Marek Polacek <mpolacek@redhat.com>
12474 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12476 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12479 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12481 * Makefile (strop-tests): Add strncat.
12482 * string/test-strncat.c: New file.
12484 2011-06-30 Marek Polacek <mpolacek@redhat.com>
12486 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12488 2011-06-21 Andreas Jaeger <aj@suse.de>
12490 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12491 Copy rule from iconvdata/Makefile.
12493 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12496 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12497 but no long options are defined, just return 'W'.
12499 2011-06-22 Marek Polacek <mpolacek@redhat.com>
12502 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12504 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12506 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12508 (innetgr): Likewise.
12510 2011-07-05 Roland McGrath <roland@hack.frob.com>
12512 * config.make.in (install_root): Default to $(DESTDIR).
12514 2011-07-05 Ulrich Drepper <drepper@gmail.com>
12516 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12518 2011-07-02 Roland McGrath <roland@hack.frob.com>
12520 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12522 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12523 containing directory rather than embedding absolute directory names.
12525 * scripts/check-local-headers.sh: Rewritten using awk.
12526 Match by word, not by line. Print error messages for matches.
12527 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12529 * Makerules [shlib-lds-flags empty]:
12530 ($(common-objpfx)libc_pic.opts): New target.
12531 ($(common-objpfx)libc_pic.os.clean): New target.
12532 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12534 * config.make.in (OBJCOPY): New variable.
12535 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12536 * configure: Regenerated.
12538 * config.make.in (use-default-link): New variable.
12539 * configure.in (use_default_link): Grok --with-default-link to set it.
12540 * configure: Regenerated.
12541 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12542 (shlib-lds, shlib-lds-flags): Define to empty.
12544 * Makerules (shlib-lds): New variable.
12545 (shlib-lds-flags): New variable.
12546 (build-shlib, build-moduile, build-module-asneeded): Use it.
12547 ($(common-objpfx)libc.so): Use $(shlib-lds).
12548 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12549 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12551 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12552 DT_FLAGS/DT_FLAGS_1 with zero flags.
12554 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12555 linker script munging.
12557 2011-07-02 Ulrich Drepper <drepper@gmail.com>
12559 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12561 * crypt/sha512.c (sha512_process_block): Perform total addition using
12562 128-bit if possible.
12563 (__sha512_finish_ctx): Likewise.
12564 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12566 * crypt/sha256.c (SWAP64): Define.
12567 (sha256_process_block): Perform total addition using 64-bit if
12569 (__sha256_finish_ctx): Likewise.
12571 2011-07-01 Ulrich Drepper <drepper@gmail.com>
12573 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
12574 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12575 * nscd/hstcache.c (cache_addhst): Likewise.
12576 * nscd/grpcache.c (cache_addgr): Likewise.
12577 * nscd/aicache.c (addhstaiX): Likewise
12578 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12580 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
12582 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12583 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12584 * nscd/hstcache.c (cache_addhst): Likewise.
12585 * nscd/grpcache.c (cache_addgr): Likewise.
12586 * nscd/aicache.c (addhstaiX): Likewise
12588 2011-07-01 Andreas Schwab <schwab@redhat.com>
12590 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12591 domain only when needed.
12593 2011-06-30 Andreas Schwab <schwab@redhat.com>
12595 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12596 is always restored.
12598 2011-06-29 Ulrich Drepper <drepper@gmail.com>
12600 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12601 are re-adding the entry.
12602 * nscd/servicescache.c (cache_addserv): Likewise.
12604 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12606 * sysdeps/generic/dl-irel.h: fix protection against multiple
12608 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12610 2011-06-28 Ulrich Drepper <drepper@gmail.com>
12613 * malloc/memusage.sh: Fix quoting in message.
12614 * debug/xtrace.sh: Likewise.
12616 * configure.in: Remove support for --experimental-malloc option, make
12618 * config.make.in: Likewise.
12619 * malloc/Makefile: Likewise.
12621 2011-06-27 Andreas Schwab <schwab@redhat.com>
12623 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12624 two-byte characters.
12626 2011-06-27 Roland McGrath <roland@hack.frob.com>
12628 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
12629 AC_CACHE_CHECK invocation.
12630 * configure: Regenerated.
12632 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
12634 2011-06-27 Ulrich Drepper <drepper@gmail.com>
12637 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
12638 bit from old_res_options.
12640 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
12642 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
12643 value type for setfct.
12645 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
12647 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12648 __gettimeofday instead of gettimeofday.
12650 2011-06-26 Ulrich Drepper <drepper@gmail.com>
12652 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
12654 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
12656 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
12658 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
12661 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12663 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12664 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12665 strcpy-sse2-unaligned strncpy-sse2-unaligned
12666 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
12667 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
12668 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
12669 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
12670 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
12671 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
12672 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
12673 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
12674 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
12675 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
12676 (STRCPY): Support SSE2 and SSSE3 versions.
12678 2011-06-24 Ulrich Drepper <drepper@gmail.com>
12681 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
12682 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
12683 kernels which artificially limit size of requests.
12685 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12687 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12688 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12689 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
12690 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
12691 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
12692 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
12693 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
12694 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
12695 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
12696 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
12697 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
12698 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
12699 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
12700 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
12701 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
12702 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12703 Enable unaligned load optimization for Intel Core i3, i5 and i7
12705 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
12707 (index_Fast_Unaligned_Load): Define.
12708 (HAS_FAST_UNALIGNED_LOAD): Define.
12710 2011-06-23 Marek Polacek <mpolacek@redhat.com>
12712 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
12714 2011-06-22 Ulrich Drepper <drepper@gmail.com>
12717 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
12718 until it is clear that the information is realy needed.
12719 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
12721 2011-06-22 Andreas Schwab <schwab@redhat.com>
12723 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
12725 2011-06-22 Ulrich Drepper <drepper@gmail.com>
12727 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12728 /sys/devices/system/cpu/online if it is usable.
12730 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
12731 reading the information from the /proc filesystem to once a second.
12733 2011-06-21 Andreas Jaeger <aj@suse.de>
12735 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
12736 NULL after inclusion of kernel headers.
12738 2011-06-21 Ulrich Drepper <drepper@gmail.com>
12740 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
12741 calls to internal_setent.
12744 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
12745 addresses using gethostbyname4_r ignore IPv4 addresses.
12747 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
12748 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
12750 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
12752 2011-06-20 David S. Miller <davem@davemloft.net>
12754 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
12756 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
12758 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
12759 (elf_irel): Use it.
12760 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
12761 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
12762 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
12763 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
12764 * sysdeps/x86_64/dl-irel.h: Likewise.
12766 * elf/dl-runtime.c: Use elf_ifunc_invoke.
12767 * elf/dl-sym.c: Likewise.
12769 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12771 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
12772 need to dereference resplen2.
12774 2011-06-14 Andreas Schwab <schwab@redhat.com>
12776 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
12778 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12780 * Makeconfig: Define vardbdir and inst_vardbdir.
12781 * nss/Makefile: Add rules to install db-Makefile.
12783 * nss/nss_db/db-XXX.c: Cleanup.
12785 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
12786 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
12788 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
12789 * nss/makedb.c: Implement -g option to specify that value strings
12790 are generated and should not be added to table iterated over for
12792 * nss/nss_db/db-initgroups.c: New file.
12794 * nss/getent.c: Add support for initgroups lookups through getgrouplist
12797 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
12798 (internal_getgrouplist): Adjust to name change.
12799 Update use_initgroups_entry if this is not the first call.
12800 * nss/databases.def: Add initgroups entry.
12802 * nss/makedb.c (compute_tables): Check result of multiple hash table
12803 sizes to minimize maximum chain length.
12805 2011-06-14 Ulrich Drepper <drepper@gmail.com>
12807 * Versions.def: Add entry for libnss_db.
12808 * shlib-versions: Likewise.
12809 * nss/Makefile: Add rules to build libnss_db.
12810 * nss/Versions: Add libnss_db information. Organize libnss_files
12812 * nss/db-Makefile: Add gshadow support. Change rules for the new
12813 makedb progra. Some minor improvements to generate smaller files.
12814 * nss/nss_db/nss_db.h: Move NSS database header data structures to
12816 * nss/makedb.c: ...here.
12817 Improve database format to be smaller and require less memory at
12819 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
12821 * nss/nss_db/db-netgrp.c: Likewise.
12822 * nss/nss_db/db-open.c: Likewise.
12823 * nss/nss_files/flies-XXX.x: Adjust comments.
12824 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
12825 * nss/nss_files/files-grp.c: Likewise.
12826 * nss/nss_files/files-hosts.c: Likewise.
12827 * nss/nss_files/files-network.c: Likewise.
12828 * nss/nss_files/files-proto.c: Likewise.
12829 * nss/nss_files/files-pwd.c: Likewise.
12830 * nss/nss_files/files-rpc.c: Likewise.
12831 * nss/nss_files/files-service.c: Likewise.
12832 * nss/nss_files/files-sgrp.c: Likewise.
12833 * nss/nss_files/files-spwd.c: Likewise.
12834 * nss/nss_db/db-alias.c: Removed.
12835 * nss/nss_db/dummy-db.h: Removed.
12837 2011-06-02 Ulrich Drepper <drepper@gmail.com>
12839 * nss/makedb.c: Rewritten to not use database library.
12840 * nss/Makefile: Update to build new makedb program.
12842 2011-06-14 Andreas Jaeger <aj@suse.de>
12844 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
12845 memset declaration.
12847 2011-06-10 Andreas Schwab <schwab@redhat.com>
12849 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
12852 2011-06-10 Roland McGrath <roland@hack.frob.com>
12854 * Makerules (shlib.lds): Fail if the linker script comes out empty.
12855 * elf/Makefile ($(objpfx)ld.so): Likewise.
12857 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
12858 Don't list ld.so twice in dependencies.
12860 * posix/bug-regex31.c: Include <stdlib.h>.
12862 * nscd/hstcache.c (cache_addhst): Remove unused variable.
12864 * nis/nss_compat/compat-spwd.c
12865 (getspent_next_nss_netgr): Remove unused variable.
12866 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12868 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12869 nonmembers" output to use the right array.
12871 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12873 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12875 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12876 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12877 * catgets/gencat.c (read_input_file): Likewise.
12878 * locale/programs/locarchive.c (enlarge_archive): Likewise.
12880 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12881 variable definition inside #if's controlling its use.
12883 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12885 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12887 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12889 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12892 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12894 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12895 * configure: Regenerated.
12897 * Makerules: Revert last change.
12898 * elf/Makefile: Likewise.
12900 2011-06-09 Roland McGrath <roland@hack.frob.com>
12902 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12903 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12904 (reloc-link): Likewise.
12906 2011-06-09 Ulrich Drepper <drepper@gmail.com>
12908 * elf/Makefile: Add rules to build pldd.
12909 * elf/pldd.c: New file.
12910 * elf/pldd-xx.c: New file.
12912 2011-06-07 Ulrich Drepper <drepper@gmail.com>
12914 * version.h: Update for 2.15 development version.
12916 2011-06-07 David S. Miller <davem@davemloft.net>
12918 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12920 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12921 elf_machine_lazy_rel): Likewise.
12922 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12923 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12924 elf_machine_lazy_rel): Likewise.
12925 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12926 dl_hwcap via passed in argument.
12927 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12930 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12932 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
12934 2011-06-06 Roland McGrath <roland@hack.frob.com>
12937 * manual/fdl-1.1.texi: New file, verbatim from:
12938 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12939 * manual/lgpl-2.1.texi: New file, verbatim from:
12940 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12941 * manual/Makefile (licenses): New variable, list those new file names.
12943 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12945 * manual/fdl.texi: File removed.
12946 * manual/lesser.texi: File removed.
12947 * manual/libc.texinfo (Copying, Documentation License):
12948 Use new @include file names, put @appendix directive before @include.
12950 2011-06-04 Jakub Jelinek <jakub@redhat.com>
12953 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12954 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12955 (mq_open): Add __NTH.
12957 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
12959 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12960 Assume Intel Core i3/i5/i7 processor if AVX is available.
12962 2011-05-31 Ulrich Drepper <drepper@gmail.com>
12964 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12967 2011-05-31 Andreas Schwab <schwab@redhat.com>
12969 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
12970 memory. Use alloca_account. Fix memory leak when retrying.
12972 2011-05-31 Ulrich Drepper <drepper@gmail.com>
12974 * version.h (RELEASE): Bump for 2.14 release.
12975 * include/features.h (__GLIBC_MINOR__): Bump to 14.
12977 * config.make.in (RANLIB): Remove entry.
12979 2011-05-30 Ulrich Drepper <drepper@gmail.com>
12981 * po/Makefile (po-sed-cmd): Add ksh to extensions.
12982 (libc.pot): Work around missing support for .ksh extension in xgettext.
12985 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
12986 if both request failed.
12987 (send_dg): In case of server errors clear resplen or *resplen2.
12990 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
12991 when there are multiple maps.
12992 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
12993 (_dl_fini): Remove test here.
12995 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
12997 2011-05-29 Ulrich Drepper <drepper@gmail.com>
13000 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13001 bit from old_res_options.
13002 (gaih_inet): Likewise.
13005 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
13008 * resolv/res_init.c (res_setoptions): Make the code more compact.
13011 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13015 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13017 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13020 * malloc/malloc.h: Declare malloc hook variables as volatile.
13022 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13026 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
13027 raise in the comment.
13028 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13029 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13030 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
13032 2011-05-28 Ulrich Drepper <drepper@gmail.com>
13035 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13036 grow the buffers more if it already has to be sufficient.
13037 (build_wcs_upper_buffer): Likewise.
13038 * posix/regexec.c (check_matching): Likewise.
13039 (clean_state_log_if_needed): Likewise.
13040 (extend_buffers): Don't enlarge buffers beyond size of the input
13042 Patches mostly by Emil Wojak <emil@wojak.eu>.
13043 * posix/bug-regex32.c: New file.
13044 * posix/Makefile (tests): Add bug-regex32.
13046 * locale/findlocale.c (_nl_find_locale): Return right away if
13047 _nl_explode_name failed.
13048 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13050 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13052 * debug/xtrace.sh: Unify messages.
13053 * malloc/memusage.sh: Likewise.
13056 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13057 time symbol from vDSO. Substitute with vsyscall if not available.
13058 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13061 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13062 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13063 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13064 Add sendmmsg and internal_sendmmsg.
13065 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13066 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13067 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13069 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13070 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13071 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13073 2011-05-27 Ulrich Drepper <drepper@gmail.com>
13076 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13077 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13079 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13083 * iconvdata/Makefile (tests): Add bug-iconv9.
13084 * iconvdata/bug-iconv9.c: New file.
13086 2011-05-27 Andreas Schwab <schwab@redhat.com>
13089 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13091 2011-05-25 Jakub Jelinek <jakub@redhat.com>
13093 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13094 (struct user_regs_struct): Change intcs field back to cs.
13096 2011-05-25 Ulrich Drepper <drepper@gmail.com>
13098 * po/ja.po: Update from translation team.
13100 2011-05-23 Ulrich Drepper <drepper@gmail.com>
13103 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13104 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13106 2011-05-20 Andreas Schwab <schwab@redhat.com>
13108 * stdlib/longlong.h: Update from GCC.
13110 2011-05-23 Andreas Schwab <schwab@redhat.com>
13112 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13114 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13115 Add parameter name.
13116 (__sysconf): Pass it down.
13118 2011-05-22 Ulrich Drepper <drepper@gmail.com>
13121 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13123 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13124 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13125 add in in __libc_use_alloca calls. Adjust callers.
13126 (glob): Use malloc in some situations.
13128 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13129 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13132 2011-05-21 Ulrich Drepper <drepper@gmail.com>
13134 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13135 and CLOCK_BOOTTIME_ALARM.
13138 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13141 * string/_strerror.c (__strerror_r): Print negative errors as signed
13145 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13146 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13147 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13149 * configure.in: Fix typo in redirection and correct removal of test
13150 files in two cases.
13153 * locale/setlocale.c (new_composite_name): Fix test to check for
13154 identical name of all categories.
13157 * libio/filedoalloc.c (local_isatty): New function.
13158 (_IO_file_doallocate): Use local_isatty.
13159 * stdio-common/perror.c (perror): In case a new stream is used
13160 forward the stream error.
13161 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13164 2011-05-20 Ulrich Drepper <drepper@gmail.com>
13167 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13169 * include/alloca.h (extend_alloca_account): Define.
13172 * posix/regex.h: Fix comments with documentation of user-accessible
13173 fields after compilation and describe correct free'ing of pattern
13174 after re_compile_pattern.
13175 Patch by Reuben Thomas <rrt@sc3d.org>.
13177 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13179 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13180 and -mno-altivec to prevent the compiler from using Altivec and/or
13181 VSX instructions when the corresponding registers are not available.
13183 2011-05-19 Andreas Schwab <schwab@redhat.com>
13185 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13187 2011-05-19 Ulrich Drepper <drepper@gmail.com>
13189 * libio/freopen.c (freopen): Use __dup2, not dup2.
13190 * libio/freopen64.c (freopen64): Likewise.
13192 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13195 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13196 * math/Makefile (tests): Add test-powl.
13197 (CFLAGS-test-powl.c): Define.
13198 * math/test-powl.c: New file.
13200 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13202 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13204 2011-05-17 Ulrich Drepper <drepper@gmail.com>
13207 * iconvdata/gb18030.c: Update to GB18020-2005.
13209 2011-05-16 Ulrich Drepper <drepper@gmail.com>
13211 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13212 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13213 Patch by Aharon Robbins <arnold@skeeve.com>.
13216 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13220 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13221 through underflows.
13224 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13225 point to strings before performing equality test for error_one_per_line
13229 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13232 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13233 (struct user_fpregs_struct): Avoid __uint*_t types.
13236 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13237 symbol info. Use it instead of calling _dl_addr locally.
13238 (lock_and_info): New function.
13239 (tr_freehook): Call lock_and_info and pass symbol info as additional
13240 parameter to tr_where.
13241 (tr_mallochook): Likewise.
13242 (tr_reallochook): Likewise.
13243 (tr_memalignhook): Likewise.
13245 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13246 used and couldn't be at all thread-safe.
13248 2011-05-15 Ulrich Drepper <drepper@gmail.com>
13250 * libio/freopen.c (freopen): Don't close old file descriptor
13251 before the new one is opened. Instead dup the new file descriptor
13252 to the old one after the new stream is created.
13253 * libio/freopen64.c (freopen64): Likewise.
13254 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13255 * libio/fileops.c (_IO_new_file_close_it): Handle new
13256 _IO_FLAGS2_NOCLOSE flag.
13257 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13258 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13259 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13260 _IO_FLAGS2_NOCLOSE flag.
13261 * include/unistd.h: Add hidden_proto for dup3.
13262 Define __have_dup3.
13263 * io/dup3.c: Define hidden symbol.
13264 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13267 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13268 when an incomplete long option is used.
13269 * posix/tst-getopt_long1.c: New file.
13270 * posix/Makefile (tests): Add tst-getopt_long1.
13273 * scripts/config.guess: Update from autoconf-2.68.
13274 * scripts/config.sub: Likewise.
13277 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13279 (has_cpuclock): ...this. New function.
13280 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13281 macro here based on has_cpuclock code.
13284 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13285 First byte (not low byte) is now always NUL.
13286 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13288 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13289 Use non-cancelable interfaces.
13292 * locale/iso-639.def: Add entry for Sorani.
13295 * include/stdlib.h: Move include protection to the right place.
13296 Define abort_msg_s. Declare __abort_msg with it.
13297 * stdlib/abort.c (__abort_msg): Adjust type.
13298 * assert/assert.c (__assert_fail_base): New function. Majority
13299 of code from __assert_fail. Allocate memory for __abort_msg with
13301 (__assert_fail): Now call __assert_fail_base.
13302 * assert/assert-perr.c: Remove bulk of implementation. Use
13303 __assert_fail_base.
13304 * include/assert.hL Declare __assert_fail_base.
13305 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13307 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13309 2011-05-14 Ulrich Drepper <drepper@gmail.com>
13313 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13314 until all modules are registered in the DTV.
13315 * elf/Makefile: Add rules to build and run tst-tls19.
13316 * elf/tst-tls19.c: New file.
13317 * elf/tst-tls19mod1.c: New file.
13318 * elf/tst-tls19mod2.c: New file.
13319 * elf/tst-tls19mod3.c: New file.
13320 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13323 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13327 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13328 two-byte sequence errors.
13329 * iconvdata/Makefile (tests): Add bug-iconv8.
13330 * iconvdata/bug-iconv8.c: New file.
13333 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13336 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13339 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13340 (dummy_getcfa): New function.
13341 (init): Get _Unwind_GetCFA address, use dummy if not found.
13342 (backtrace_helper): In recursion check, also check whether CFA changes.
13343 (__backtrace): Completely initialize arg.
13345 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
13346 storing incomplete byte sequence in state object. Avoid testing for
13347 guaranteed too small input if we know there is enough data available.
13349 2011-05-11 Andreas Schwab <schwab@redhat.com>
13351 * Makeconfig (+link-pie): Indent.
13352 * Rules (binaries-pie): Define if $(have-fpie) and
13354 (binaries-shared): Also filter out $(binaries-pie).
13355 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13356 * nscd/Makefile (others-pie): Add nscd.
13357 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13358 ($(objpfx)nscd): Remove command override.
13359 * login/Makefile (others-pie): Add pt_chown.
13360 ($(objpfx)pt_chown): Remove command override.
13361 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13362 remove command overrides.
13364 2011-05-13 Ulrich Drepper <drepper@gmail.com>
13366 * libio/tst_putwc.c: Fix error messages.
13369 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13370 currently writing and seek to current position when not.
13371 * libio/Makefile (tests): Add bug-fclose1.
13372 * libio/bug-fclose1.c: New file.
13374 2011-05-12 Ulrich Drepper <drepper@gmail.com>
13377 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13378 don't set DF_1_NODELETE here.
13379 (do_lookup_x): When entering new entry test for copy relocation
13380 and if necessary set DF_1_NODELETE flag.
13381 * elf/tst-unique4.cc: New file.
13382 * elf/tst-unique4.h: New file.
13383 * elf/tst-unique4lib.cc: New file.
13384 * elf/Makefile: Add rules to build and run tst-unique4.
13385 Patch by Piotr Bury <pbury@goahead.com>.
13387 2011-05-11 Ulrich Drepper <drepper@gmail.com>
13390 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13393 * misc/mntent_r.c (addmntent): Flush the stream after the output
13396 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13397 (is_trusted_path_normalize): Skip initial colon. Append slash
13398 to empty buffer. Duplicate is_trusted_path code but allow
13399 constructed patch to be prefix.
13400 (is_dst): Allow $ORIGIN followed by /.
13401 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13402 Correct testing of result of is_trusted_path_normalize
13403 (decompose_rpath): Fix warning.
13405 2011-05-10 Ulrich Drepper <drepper@gmail.com>
13408 * grp/initgroups.c (internal_getgrouplist): When we found the service
13409 list through the initgroups entry in nsswitch.conf do not always
13410 continue on a successful lookup. Don't always use the
13411 __nss_group_database value if it is set.
13412 * nss/nsswitch.conf (initgroups): Change action for successful db
13413 lookup to continue for compatibility.
13415 2011-05-09 Ulrich Drepper <drepper@gmail.com>
13418 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13420 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13422 * iconvdata/tst-tables.sh: Likewise.
13423 * iconvdata/cp770.c: New file.
13424 * iconvdata/cp771.c: New file.
13425 * iconvdata/cp772.c: New file.
13426 * iconvdata/cp773.c: New file.
13427 * iconvdata/cp774.c: New file.
13428 * iconvdata/testdata/CP770: New file.
13429 * iconvdata/testdata/CP770..UTF8: New file.
13430 * iconvdata/testdata/CP771: New file.
13431 * iconvdata/testdata/CP771..UTF8: New file.
13432 * iconvdata/testdata/CP772: New file.
13433 * iconvdata/testdata/CP772..UTF8: New file.
13434 * iconvdata/testdata/CP773: New file.
13435 * iconvdata/testdata/CP773..UTF8: New file.
13436 * iconvdata/testdata/CP774: New file.
13437 * iconvdata/testdata/CP774..UTF8: New file.
13439 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13441 * iconvdata/gen-8bit-gap.sh: Likewise.
13442 * iconvdata/gen-8bit.sh: Likewise.
13444 * locale/iso-639.def: Add ary entry.
13447 * locale/C-translit.h.in: Add U20A1 transliteration.
13450 * locale/iso-639.def: Add wae entry.
13451 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13454 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13458 * locale/C-translit.h.in: Add entry for U20B9.
13459 Patch by pravin.d.s@gmail.com.
13461 2011-05-08 Ulrich Drepper <drepper@gmail.com>
13464 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13465 ENAMETOOLONG use generic getcwd.
13466 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13467 in rtld. Use *stat64.
13468 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
13469 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
13470 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
13471 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13472 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13473 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13474 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13475 __fstatat64 macros.
13476 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13477 * dirent/rewinddir.c: Add libc_hidden_def.
13478 * sysdeps/mach/hurd/rewinddir.c: Likewise.
13479 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
13481 * include/dirent.h (__alloc_dir): Add flags parameter.
13482 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13483 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13485 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13486 from fdopendir if O_CLOEXEC is already set.
13488 2011-03-15 Alan Modra <amodra@gmail.com>
13490 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13491 l_tls_firstbyte_offset non-zero. Save padding offset in
13492 l_tls_firstbyte_offset for later use.
13493 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13494 freeing static tls block.
13496 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13498 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13499 where #ifdef was intended. The intent is to prevent ARG_MAX from
13500 being defined by the kernel headers.
13502 2011-05-07 Ulrich Drepper <drepper@gmail.com>
13505 * resolv/resolv.h: Define RES_NOTLDQUERY.
13506 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13507 no-tld-query and set RES_NOTLDQUERY.
13508 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13509 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13510 modern BIND to search name as TLD unless forbidden.
13512 2011-05-07 Petr Baudis <pasky@suse.cz>
13513 Ulrich Drepper <drepper@gmail.com>
13516 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13517 (is_trusted_path): ...to here.
13518 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
13519 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
13520 using is_trusted_path_normalize() in setuid scripts.
13522 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13524 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13525 __BEGIN/__END_DECLS.
13527 2011-05-06 Ulrich Drepper <drepper@gmail.com>
13529 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13530 NSS_STATUS_NOTFOUND if no record was found.
13532 2011-05-05 Andreas Schwab <schwab@redhat.com>
13534 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13535 (headers-not-in-tirpc): Remove rpc/netdb.h
13536 * resolv/netdb.h: Revert last change.
13538 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13540 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13541 circular dependency between libgcc.a and libc.a.
13543 2011-05-05 Andreas Schwab <schwab@redhat.com>
13545 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13546 * nis/Makefile: Don't install rpcsvc/*.
13547 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13548 instead of <rpc/types.h>.
13549 (MAXHOSTNAMELEN): Define.
13551 2011-05-03 Andreas Schwab <schwab@redhat.com>
13553 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13555 2011-04-28 Maciej Babinski <mbabinski@google.com>
13558 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13559 gethostbyname4_r when IPv6 results are possible.
13561 2011-05-02 Ulrich Drepper <drepper@gmail.com>
13564 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13565 _PC_PIPE_BUF handling.
13567 2011-04-30 Bruno Haible <bruno@clisp.org>
13570 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
13571 * resolv/netdb.h (getnameinfo): Change type of flags parameter
13573 * inet/getnameinfo.c (getnameinfo): Likewise.
13575 2011-04-29 Ulrich Drepper <drepper@gmail.com>
13577 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13578 to groups setting in database lookup.
13579 * nss/nsswitch.conf: Add initgroups entry.
13581 2011-04-22 Ulrich Drepper <drepper@gmail.com>
13584 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13586 Patch by Eric Blake <eblake@redhat.com>.
13588 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13590 * sunrpc/Makefile (need-export-routines): Add svc_run.
13591 (routines): Remove svc_run.
13592 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13593 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13594 * sunrpc/svc_run.c (svc_run): Likewise.
13595 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13597 2011-04-21 Ulrich Drepper <drepper@gmail.com>
13599 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13600 problem in reallocation in last patch.
13602 2011-04-20 Ulrich Drepper <drepper@gmail.com>
13604 * sunrpc/Makefile: Move inclusion of Rules.
13606 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13608 * nss/nss_files/files-initgroups.c: New file.
13609 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13610 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13611 _nss_files_initgroups_dyn.
13613 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
13615 * elf/elf.h (R_ARM_IRELATIVE): Define.
13617 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13619 * po/ru.po: Update from translation team.
13621 2011-04-17 Ulrich Drepper <drepper@gmail.com>
13623 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
13626 2011-02-06 Mike Frysinger <vapier@gentoo.org>
13629 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
13630 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
13631 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13632 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13633 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13635 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
13637 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
13639 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13640 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13641 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13643 2011-04-17 Ulrich Drepper <drepper@gmail.com>
13646 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
13648 * stdlib/bug-getcontext.c: New file.
13649 * stdlib/Makefile: Add rules to build and run bug-getcontext.
13651 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13653 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
13654 instructions into .machine "z9-109".
13655 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13656 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13658 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13660 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
13661 between environment variables and auxiliary vector.
13663 2011-04-16 Ulrich Drepper <drepper@gmail.com>
13665 * Makefile: Add rules to build linkobj/libc.so.
13666 * include/libc-symbols.h: Define libc_hidden_nolink.
13667 * include/rpc/auth.h: Mark functions which are to be hidden.
13668 * include/rpc/auth_des.h: Likewise.
13669 * include/rpc/auth_unix.h: Likewise.
13670 * include/rpc/clnt.h: Likewise.
13671 * include/rpc/des_crypt.h: Likewise.
13672 * include/rpc/key_prot.h: Likewise.
13673 * include/rpc/pmap_clnt.h: Likewise.
13674 * include/rpc/pmap_prot.h: Likewise.
13675 * include/rpc/pmap_rmt.h: Likewise.
13676 * include/rpc/rpc_msg.h: Likewise.
13677 * include/rpc/svc.h: Likewise.
13678 * include/rpc/svc_auth.h: Likewise.
13679 * include/rpc/xdr.h: Likewise.
13680 * nis/Makefile: Link all DSOs against linkobj/libc.so.
13681 * nss/Makefile: Likewise.
13682 * sunrpc/Makefile: Don't install headers. Build library with normal
13683 entry points. Don't build rpcinfo. Link RPC tests appropriately.
13684 * sunrpc/auth_des.c: Hide exported symbols by default, export some
13685 for the compat linking library. Remove use of INTDEF/INTUSE.
13686 * sunrpc/auth_none.c: Likewise.
13687 * sunrpc/auth_unix.c: Likewise.
13688 * sunrpc/authdes_prot.c: Likewise.
13689 * sunrpc/authuxprot.c: Likewise.
13690 * sunrpc/clnt_gen.c: Likewise.
13691 * sunrpc/clnt_perr.c: Likewise.
13692 * sunrpc/clnt_raw.c: Likewise.
13693 * sunrpc/clnt_simp.c: Likewise.
13694 * sunrpc/clnt_tcp.c: Likewise.
13695 * sunrpc/clnt_udp.c: Likewise.
13696 * sunrpc/clnt_unix.c: Likewise.
13697 * sunrpc/des_crypt.c: Likewise.
13698 * sunrpc/des_soft.c: Likewise.
13699 * sunrpc/get_myaddr.c: Likewise.
13700 * sunrpc/key_call.c: Likewise.
13701 * sunrpc/key_prot.c: Likewise.
13702 * sunrpc/netname.c: Likewise.
13703 * sunrpc/pm_getmaps.c: Likewise.
13704 * sunrpc/pm_getport.c: Likewise.
13705 * sunrpc/pmap_clnt.c: Likewise.
13706 * sunrpc/pmap_prot.c: Likewise.
13707 * sunrpc/pmap_prot2.c: Likewise.
13708 * sunrpc/pmap_rmt.c: Likewise.
13709 * sunrpc/publickey.c: Likewise.
13710 * sunrpc/rpc_cmsg.c: Likewise.
13711 * sunrpc/rpc_common.c: Likewise.
13712 * sunrpc/rpc_dtable.c: Likewise.
13713 * sunrpc/rpc_prot.c: Likewise.
13714 * sunrpc/rpc_thread.c: Likewise.
13715 * sunrpc/rtime.c: Likewise.
13716 * sunrpc/svc.c: Likewise.
13717 * sunrpc/svc_auth.c: Likewise.
13718 * sunrpc/svc_authux.c: Likewise.
13719 * sunrpc/svc_raw.c: Likewise.
13720 * sunrpc/svc_run.c: Likewise.
13721 * sunrpc/svc_simple.c: Likewise.
13722 * sunrpc/svc_tcp.c: Likewise.
13723 * sunrpc/svc_udp.c: Likewise.
13724 * sunrpc/svc_unix.c: Likewise.
13725 * sunrpc/svcauth_des.c: Likewise.
13726 * sunrpc/xcrypt.c: Likewise.
13727 * sunrpc/xdr.c: Likewise.
13728 * sunrpc/xdr_array.c: Likewise.
13729 * sunrpc/xdr_float.c: Likewise.
13730 * sunrpc/xdr_intXX_t.c: Likewise.
13731 * sunrpc/xdr_mem.c: Likewise.
13732 * sunrpc/xdr_rec.c: Likewise.
13733 * sunrpc/xdr_ref.c: Likewise.
13734 * sunrpc/xdr_sizeof.c: Likewise.
13735 * sunrpc/xdr_stdio.c: Likewise.
13737 2011-04-10 Ulrich Drepper <drepper@gmail.com>
13740 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
13741 * sysdeps/ia64/dl-tls.h: Likewise.
13742 * sysdeps/powerpc/dl-tls.h: Likewise.
13743 * sysdeps/s390/dl-tls.h: Likewise.
13744 * sysdeps/sh/dl-tls.h: Likewise.
13745 * sysdeps/sparc/dl-tls.h: Likewise.
13746 * sysdeps/x86_64/dl-tls.h: Likewise.
13747 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
13749 2011-03-14 Andreas Schwab <schwab@redhat.com>
13751 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
13752 rpath element also skip the following colon.
13753 (expand_dynamic_string_token): Add is_path parameter and pass
13754 down to DL_DST_REQUIRED and _dl_dst_substitute.
13755 (decompose_rpath): Call expand_dynamic_string_token with
13756 non-zero is_path. Ignore empty rpaths.
13757 (_dl_map_object_from_fd): Call expand_dynamic_string_token
13760 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
13762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13765 2011-04-09 Ulrich Drepper <drepper@gmail.com>
13768 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
13769 Patch by Filipe David Manana <fdmanana@apache.org>.
13771 2011-04-07 Andreas Schwab <schwab@redhat.com>
13773 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
13774 Maintain aligned stack.
13775 (CHECK_RSP): Remove unused macro.
13777 2011-04-03 Ulrich Drepper <drepper@gmail.com>
13779 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
13780 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
13782 2011-04-02 Ulrich Drepper <drepper@gmail.com>
13784 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
13786 * include/features.h: Mention __USE_XOPEN2K8 in comment.
13788 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
13791 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
13792 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
13793 * sysdeps/x86_64/memmove.c: New file.
13794 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
13795 (memcpy): Renamed to ...
13796 (__new_memcpy): This.
13797 (memcpy): Provide GLIBC_2_14 memcpy.
13798 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
13799 (memcpy): Provide GLIBC_2_2_5 memcpy.
13801 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13804 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
13806 2011-03-30 Andreas Schwab <schwab@redhat.com>
13808 * misc/syncfs.c: New file.
13809 * misc/Makefile (routines): Add syncfs.
13810 * posix/unistd.h: Declare syncfs.
13811 * sysdeps/unix/syscalls.list: Add syncfs.
13813 2011-04-01 Andreas Schwab <schwab@redhat.com>
13815 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
13817 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13818 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13819 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13820 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13821 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13822 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13823 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13825 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13827 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
13828 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13829 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
13830 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13831 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13832 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13833 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13835 * io/Makefile: Compile fallocate.c, fallocate64.c, and
13836 sync_file_range.c with -fexceptions.
13837 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
13838 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
13839 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13840 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13841 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13842 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13843 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
13844 sync_file_range as cancellation point
13845 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
13846 now a wrapper around __call_sync_file_range with cancellation handling.
13847 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
13848 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
13849 function name to __call_sync_file_range.
13850 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
13851 Add call_sync_file_range.
13853 2011-04-01 Andreas Schwab <schwab@redhat.com>
13855 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13858 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13860 * iconv/iconv.h: Fix typo in comment.
13861 * io/fcntl.h: Likewise.
13862 * libio/stdio.h: Likewise.
13863 * posix/spawn.h: Likewise.
13864 * posix/unistd.h: Likewise.
13865 * stdlib/stdlib.h: Likewise.
13866 * time/time.h: Likewise.
13867 * wcsmbs/wchar.h: Likewise.
13869 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13870 open_by_handle): Add.
13871 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13872 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
13873 Augment a few comments.
13874 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13875 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13876 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13877 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13878 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13879 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13882 * io/fcntl.h (AT_EMPTY_PATH): Define.
13884 2011-03-30 Ulrich Drepper <drepper@gmail.com>
13886 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13887 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13888 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13890 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
13891 * Versions.def: Add GLIBC_2.14.
13892 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13895 2011-03-22 Ulrich Drepper <drepper@gmail.com>
13897 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13899 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13901 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13904 * string/test-strncmp.c (do_page_test): New function.
13905 (check2): Likewise.
13906 (test_main): Call check2.
13907 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13909 2011-03-20 Ulrich Drepper <drepper@gmail.com>
13912 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13913 Handle cache information in CPU leaf 4.
13914 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13916 2011-03-18 Ulrich Drepper <drepper@gmail.com>
13919 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13920 character representation.
13921 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13923 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
13925 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13926 END(__isnan) to END(__isnanf) to match function entry point/label
13927 EALIGN(__isnanf,...).
13929 2011-03-10 Jakub Jelinek <jakub@redhat.com>
13931 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13933 2011-03-10 Ulrich Drepper <drepper@gmail.com>
13936 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13937 copy from the symbol referenced in the relocation to initialize the
13939 Patch by Piotr Bury <pbury@goahead.com>.
13940 * elf/Makefile: Add rules to build and tst-unique3.
13941 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13942 * elf/tst-unique3.cc: New file.
13943 * elf/tst-unique3.h: New file.
13944 * elf/tst-unique3lib.cc: New file.
13945 * elf/tst-unique3lib2.cc: New file.
13947 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13949 2011-03-10 Mike Frysinger <vapier@gentoo.org>
13951 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13952 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
13955 2011-03-06 Ulrich Drepper <drepper@gmail.com>
13957 * elf/dl-load.c (_dl_map_object): If we are looking for the first
13958 to-be-loaded object along a path to loader is ld.so.
13960 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13961 Ulrich Drepper <drepper@gmail.com>
13963 * sysdeps/x86_64/memset.S: After aligning destination, code
13964 branches to different locations depending on the value of
13965 misalignment, when multiarch is enabled. Fix this.
13967 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13969 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
13970 Set _x86_64_preferred_memory_instruction for AMD processsors.
13971 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13972 Set bit_Prefer_SSE_for_memop for AMD processors.
13974 2011-03-04 Ulrich Drepper <drepper@gmail.com>
13976 * libio/fmemopen.c (fmemopen): Optimize a bit.
13978 2011-03-03 Andreas Schwab <schwab@redhat.com>
13980 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
13982 2011-03-03 Roland McGrath <roland@redhat.com>
13984 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
13986 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
13988 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
13989 __bzero_ultra1 instead of __memset_ultra1.
13991 2011-02-23 Andreas Schwab <schwab@redhat.com>
13992 Ulrich Drepper <drepper@gmail.com>
13995 * include/link.h (struct link_map): Add l_orig_initfini.
13996 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
13997 returning unsuccessfully.
13998 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
13999 close of a file loaded at startup, restore the original l_initfini
14001 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14002 list, store the pointer.
14003 * elf/Makefile ($(objpfx)noload-mem): New rule.
14004 (noload-ENV): Define.
14005 (tests): Add $(objpfx)noload-mem.
14006 * elf/noload.c: Include <memcheck.h>.
14007 (main): Call mtrace. Close all opened handles.
14009 2011-02-17 Andreas Schwab <schwab@redhat.com>
14012 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14013 dependencies are missing.
14015 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14017 Fix __if_freereq crash: Unlike the generic version which uses free,
14019 * sysdeps/mach/hurd/ifreq.h: New file.
14021 2011-01-27 Petr Baudis <pasky@suse.cz>
14022 Ulrich Drepper <drepper@gmail.com>
14025 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14026 to extend_alloca().
14027 * stdio-common/bug23.c: New file.
14028 * stdio-common/Makefile (tests): Add bug23.
14030 2010-09-28 Andreas Schwab <schwab@redhat.com>
14031 Ulrich Drepper <drepper@gmail.com>
14034 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14035 before performing relro protection. At old place add assertion
14036 to make sure nothing changed.
14038 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14039 Glauber de Oliveira Costa <glommer@gmail.com>
14041 * elf/elf.h: Add new ARM TLS relocs.
14043 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14046 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14048 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14050 * sysdeps/wordsize-64/tst-writev.c: New file.
14052 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14054 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14055 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14056 insns in _dl_start to prevent a TOC reference before relocs are
14059 2011-02-15 Ulrich Drepper <drepper@gmail.com>
14062 * Makeconfig: Remove RANLIB definition.
14063 * Makerules: Don't use RANLIB.
14064 * aclocal.m4: Remove ranlib test.
14065 * configure.in: No need to check for ranlib.
14066 * elf/rtld-Rules: Don't use RANLIB.
14068 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14070 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14072 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14073 inclusion protection macro.
14075 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14076 SIGRTMIN and SIGRTMAX and print information in that case only when
14077 SIGRTMIN is defined.
14079 2011-02-11 Jakub Jelinek <jakub@redhat.com>
14081 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14082 arginfo fn returning -1.
14084 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14085 and thousands string is zero terminated.
14087 2011-02-03 Andreas Schwab <schwab@redhat.com>
14089 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14090 sysdeps/unix/sysv/linux/bits/socket.h.
14092 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14094 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14095 (__CPU_COUNT): Remove old macros.
14096 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14097 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14098 (__CPU_ALLOC, __CPU_FREE): Add macros.
14099 (__sched_cpualloc, __sched_cpufree): Add declarations.
14101 2011-02-05 Ulrich Drepper <drepper@gmail.com>
14103 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14104 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14105 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14106 (readdhstai): Return value of addhstaiX call.
14107 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14108 (addgrbyX): Return value returned by cache_addgr.
14109 (readdgrbyname): Return value returned by addgrbyX.
14110 (readdgrbygid): Likewise.
14111 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14112 (addpwbyX): Return value returned by cache_addpw.
14113 (readdpwbyname): Return value returned by addhstbyX.
14114 (readdpwbyuid): Likewise.
14115 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14116 (addservbyX): Return value returned by cache_addserv.
14117 (readdservbyname): Return value returned by addservbyX:
14118 (readdservbyport): Likewise.
14119 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14120 (addhstbyX): Return value returned by cache_addhst.
14121 (readdhstbyname): Return value returned by addhstbyX.
14122 (readdhstbyaddr): Likewise.
14123 (readdhstbynamev6): Likewise.
14124 (readdhstbyaddrv6): Likewise.
14125 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14126 (readdinitgroups): Return value returned by addinitgroupsX.
14127 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14128 (prune_cache): Keep track of timeout value of re-added entries.
14129 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14130 * nscd/nscd.h: Adjust prototypes of readd* functions.
14132 2011-02-04 Roland McGrath <roland@redhat.com>
14134 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14135 (nis_stats): Likewise.
14136 * nis/nis_modify.c (nis_modify): Likewise.
14137 * nis/nis_remove.c (nis_remove): Likewise.
14138 * nis/nis_add.c (nis_add): Likewise.
14140 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14142 * posix/fnmatch_loop.c: Add some consts.
14144 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14146 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14149 * config.make.in (config-cflags-novzeroupper): Define.
14150 * configure.in: Substitute libc_cv_cc_novzeroupper.
14151 * elf/Makefile (AVX-CFLAGS): Define.
14152 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14153 (CFLAGS-tst-auditmod4a.c): Likewise.
14154 (CFLAGS-tst-auditmod4b.c): Likewise.
14155 (CFLAGS-tst-auditmod6b.c): Likewise.
14156 (CFLAGS-tst-auditmod6c.c): Likewise.
14157 (CFLAGS-tst-auditmod7b.c): Likewise.
14158 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14160 2011-02-02 Ulrich Drepper <drepper@gmail.com>
14162 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14163 function to the callback.
14164 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14166 2011-02-02 Andreas Schwab <schwab@redhat.com>
14168 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14171 2011-01-19 Ulrich Drepper <drepper@gmail.com>
14174 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14176 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14178 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14181 * elf/Makefile: Add rules to build and run new test.
14182 * elf/tst-initorder.c: New file.
14183 * elf/tst-initorder.exp: New file.
14184 * elf/tst-initordera1.c: New file.
14185 * elf/tst-initordera2.c: New file.
14186 * elf/tst-initordera3.c: New file.
14187 * elf/tst-initordera4.c: New file.
14188 * elf/tst-initorderb1.c: New file.
14189 * elf/tst-initorderb2.c: New file.
14190 * elf/tst-order-a1.c: New file.
14191 * elf/tst-order-a2.c: New file.
14192 * elf/tst-order-a3.c: New file.
14193 * elf/tst-order-a4.c: New file.
14194 * elf/tst-order-b1.c: New file.
14195 * elf/tst-order-b2.c: New file.
14196 * elf/tst-order-main.c: New file.
14197 New test case by George Gensure <werkt0@gmail.com>.
14199 2010-10-01 Andreas Schwab <schwab@redhat.com>
14201 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14202 decoding ACE if AI_CANONIDN.
14204 2011-01-18 Ulrich Drepper <drepper@gmail.com>
14206 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14208 2011-01-17 Ulrich Drepper <drepper@gmail.com>
14210 * version.h (RELEASE): Bump for 2.13 release.
14211 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14213 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14215 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14217 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14218 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14219 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14220 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14221 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14222 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14224 * posix/getconf.c: Update copyright year.
14225 * catgets/gencat.c: Likewise.
14226 * csu/version.c: Likewise.
14227 * debug/catchsegv.sh: Likewise.
14228 * debug/xtrace.sh: Likewise.
14229 * elf/ldconfig.c: Likewise.
14230 * elf/ldd.bash.in: Likewise.
14231 * elf/sprof.c (print_version): Likewise.
14232 * iconv/iconv_prog.c: Likewise.
14233 * iconv/iconvconfig.c: Likewise.
14234 * locale/programs/locale.c: Likewise.
14235 * locale/programs/localedef.c: Likewise.
14236 * malloc/memusage.sh: Likewise.
14237 * malloc/mtrace.pl: Likewise.
14238 * nscd/nscd.c (print_version): Likewise.
14239 * nss/getent.c: Likewise.
14241 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14242 PF_CAIF, and PF_ALG.
14243 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14245 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14247 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14248 (modules-names): Use them.
14249 (ifunc-test-modules, ifunc-pie-tests): Define.
14250 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14251 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14252 (test-extras): Likewise.
14253 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14254 $(compile-command.c).
14255 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14256 (all-built-dso): Define.
14257 (check-textrel.out, check-execstack.out): Depend on it.
14259 * configure.in: Don't override --enable-multi-arch.
14261 2011-01-15 Ulrich Drepper <drepper@gmail.com>
14264 * nscd/hstcache.c (tryagain): Define.
14265 (cache_addhst): Return tryagain not notfound for temporary errors.
14266 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14269 2011-01-14 Ulrich Drepper <drepper@gmail.com>
14272 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14273 to make the syscall.
14274 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14277 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14278 and fall back to matching as normal character if the string ends before
14279 the matching ']' is found. This is what POSIX requires.
14280 * posix/testfnm.c: Adjust test result.
14281 * posix/globtest.sh: Adjust test result. Add new test.
14282 * posix/tst-fnmatch.input: Likewise.
14283 * posix/tst-fnmatch2.c: Add new test.
14285 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14287 * elf/Makefile (check-execstack): Revert last change. Depend on
14289 (check-execstack.h): New target.
14290 (generated): Add check-execstack.h.
14291 * elf/check-execstack.c: Include "check-execstack.h".
14292 (main): Revert last change.
14293 (handle_file): Return zero if GNU_STACK is absent and
14294 DEFAULT_STACK_PERMS doesn't include PF_X.
14296 2011-01-13 Ulrich Drepper <drepper@gmail.com>
14298 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14299 in child fails because the descriptor is already closed.
14300 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14301 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14302 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14305 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14309 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14310 temporary buffer used to handle multi lookups locally.
14311 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
14313 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14315 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14318 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14320 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14321 alignment for SSE2.
14323 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14326 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14327 characters. When rounding increased number of integer digits recompute
14329 * stdio-common/tst-grouping.c: New file.
14330 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14332 2011-01-09 Ulrich Drepper <drepper@gmail.com>
14334 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14335 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14337 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14339 * bits/select.h: Likewise.
14341 2011-01-08 Ulrich Drepper <drepper@gmail.com>
14343 * po/ja.po: Update from translation team.
14345 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
14348 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14349 implementation just like for lxstat, fxstatat, et al.
14351 2010-12-27 Jim Meyering <meyering@redhat.com>
14354 * posix/regexec.c (build_trtable): Return failure indication upon
14355 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14357 2010-12-25 Ulrich Drepper <drepper@gmail.com>
14360 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14361 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14362 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14363 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14366 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14369 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14370 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14372 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14374 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14375 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14376 script has SORT_BY_INIT_PRIORITY.
14377 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14378 NO_CTORS_DTORS_SECTIONS is defined.
14379 * elf/soinit.c: Likewise.
14380 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14381 NO_CTORS_DTORS_SECTIONS is defined.
14382 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14383 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14384 * sysdeps/sh/init-first.c: Likewise.
14385 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14387 2010-12-24 Ulrich Drepper <drepper@gmail.com>
14389 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14390 always use the slow path.
14392 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14394 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14395 similar rule which adds the sysdep directories to the header search in
14396 order to pick up the correct platform stackinfo.h.
14397 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14398 perform test if it is, otherwise return successfully without testing.
14399 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14400 DEFAULT_STACK_PERMS define in stackinfo.h.
14401 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14402 defined in stackinfo.h.
14403 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14404 DEFAULT_STACK_PERMS defined in stackinfo.h.
14405 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14406 * sysdeps/ia64/stackinfo.h: Likewise.
14407 * sysdeps/s390/stackinfo.h: Likewise.
14408 * sysdeps/sh/stackinfo.h: Likewise.
14409 * sysdeps/sparc/stackinfo.h: Likewise.
14410 * sysdeps/x86_64/stackinfo.h: Likewise.
14411 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14412 PF_X for powerpc64. Retain PF_X for powerpc32.
14414 2010-12-19 Ulrich Drepper <drepper@gmail.com>
14416 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14418 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14419 GETDENTS_64BIT_ALIGNED.
14421 2010-12-14 Ulrich Drepper <dreper@gmail.com>
14423 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
14425 2010-12-10 Andreas Schwab <schwab@redhat.com>
14427 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14430 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14431 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14433 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14434 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14436 2010-12-09 Ulrich Drepper <drepper@gmail.com>
14439 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14442 2010-12-09 Jakub Jelinek <jakub@redhat.com>
14444 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14446 2010-12-03 Ulrich Drepper <drepper@gmail.com>
14448 * po/it.po: Update from translation team.
14450 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14452 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14455 2010-11-30 Ulrich Drepper <drepper@gmail.com>
14457 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14459 2010-11-24 Andreas Schwab <schwab@redhat.com>
14461 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14463 (gaih_getanswer_slice): Likewise.
14465 2010-10-20 Jakub Jelinek <jakub@redhat.com>
14467 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14469 2010-05-31 Petr Baudis <pasky@suse.cz>
14472 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14473 silently even in the chroot mode.
14475 2010-11-22 Ulrich Drepper <drepper@gmail.com>
14477 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14478 last patch a bit. Pretty printing
14480 2010-05-31 Petr Baudis <pasky@suse.cz>
14483 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14484 initialization of skip_initgroups_dyn.
14486 2010-11-19 Ulrich Drepper <drepper@gmail.com>
14488 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14489 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14491 2010-11-16 Ulrich Drepper <drepper@gmail.com>
14493 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14495 2010-11-11 Andreas Schwab <schwab@redhat.com>
14497 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14498 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14499 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14500 ($(objpfx)tst-fnmatch-mem): New rule.
14501 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14502 * posix/tst-fnmatch.c (main): Call mtrace.
14504 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14506 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14507 Support Intel processor model 6 and model 0x2c.
14509 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
14511 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14514 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14517 * string/test-strncasecmp.c (check_result): New function.
14518 (do_one_test): Use it.
14519 (check1): New function.
14520 (test_main): Use it.
14521 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14522 Support strcasecmp and strncasecmp.
14524 2010-11-08 Ulrich Drepper <drepper@gmail.com>
14527 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14528 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14530 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14532 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14534 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14536 * sysdeps/x86_64/multiarch/bzero.S: New file.
14537 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14538 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14539 * sysdeps/x86_64/multiarch/memset.S: New file.
14540 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14542 Set bit_Prefer_SSE_for_memop for Intel processors.
14543 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14545 (index_Prefer_SSE_for_memop): Define.
14546 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14548 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
14550 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14551 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14553 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14556 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14557 (__x86_64_raw_data_cache_size_half): Likewise.
14558 (__x86_64_raw_shared_cache_size): Likewise.
14559 (__x86_64_raw_shared_cache_size_half): Likewise.
14561 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14562 (__x86_64_raw_data_cache_size_half): Likewise.
14563 (__x86_64_raw_shared_cache_size): Likewise.
14564 (__x86_64_raw_shared_cache_size_half): Likewise.
14565 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14566 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14567 and __x86_64_raw_shared_cache_size_half. Round
14568 __x86_64_data_cache_size_half, __x86_64_data_cache_size
14569 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
14570 to multiple of 256 bytes.
14572 2010-11-03 Ulrich Drepper <drepper@gmail.com>
14575 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14576 of inacessible symlinks. Verify result of symlink before returning it.
14577 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14578 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14580 2010-10-28 Erich Ritz <erichritz@gmail.com>
14582 * math/math.h (isinf): Fix typo in comment.
14584 2010-11-01 Ulrich Drepper <drepper@gmail.com>
14586 * po/da.po: Update from translation team.
14588 2010-10-26 Ulrich Drepper <drepper@gmail.com>
14590 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14591 is added to the list.
14593 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14594 Ulrich Drepper <drepper@gmail.com>
14596 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14597 the global list here. Move code to...
14598 (_dl_add_to_namespace_list): ...here. New function.
14599 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14600 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14601 * elf/dl-load.c (lose): Don't remove the element from the list.
14602 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14603 (_dl_map_object): Likewise.
14605 2010-10-25 Ulrich Drepper <drepper@gmail.com>
14608 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14609 into all bytes of SSE register.
14610 Patch by Richard Li <richardpku@gmail.com>.
14612 2010-10-24 Ulrich Drepper <drepper@gmail.com>
14615 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14618 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14620 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14621 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14622 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14623 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
14626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14628 2010-10-22 Andreas Schwab <schwab@redhat.com>
14630 * include/dlfcn.h (__RTLD_SECURE): Define.
14631 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
14632 mode & __RTLD_SECURE instead.
14633 (open_path): Rename preloaded parameter to secure.
14634 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
14635 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
14636 * elf/dl-deps.c (openaux): Likewise.
14637 * elf/rtld.c (struct map_args): Remove is_preloaded.
14638 (map_doit): Don't use it.
14639 (dl_main): Likewise.
14640 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
14641 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
14643 2010-09-09 Andreas Schwab <schwab@redhat.com>
14645 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
14646 (sysd-rules-targets): Remove duplicates.
14647 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
14648 rtld-%.$o dependency.
14650 2010-10-18 Andreas Schwab <schwab@redhat.com>
14652 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
14653 _dl_map_object do it.
14655 2010-10-19 Ulrich Drepper <drepper@gmail.com>
14657 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
14658 fast fma builtins, define the macros in the C99 standard.
14659 (FP_FAST_FMAF): Likewise.
14660 (FP_FAST_FMAL): Likewise.
14661 * sysdeps/x86_64/bits/mathdef.h: Likewise.
14663 * bits/mathdef.h: Update copyright year.
14664 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14666 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
14668 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
14669 builtins, define the macros in the C99 standard.
14670 (FP_FAST_FMAF): Likewise.
14671 (FP_FAST_FMAL): Likewise.
14672 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
14674 (FP_FAST_FMAF): Likewise.
14676 2010-10-15 Jakub Jelinek <jakub@redhat.com>
14679 * math/libm-test.inc (fma_test): Some new testcases.
14680 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
14681 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
14682 y and infinite z. Do multiplication by C already in long double.
14683 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
14684 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
14685 y and infinite z. Do bitwise or of inexact bit into u.d.
14686 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
14687 * sysdeps/i386/fpu/s_fmaf.S: Removed.
14688 * sysdeps/i386/fpu/s_fma.S: Removed.
14689 * sysdeps/i386/fpu/s_fmal.S: Removed.
14691 2010-10-16 Jakub Jelinek <jakub@redhat.com>
14694 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
14695 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
14696 computation is not scheduled after fetestexcept. Fix value
14697 of minimum denormal long double.
14699 2010-10-14 Jakub Jelinek <jakub@redhat.com>
14702 * math/libm-test.inc (fma_test): Add some more tests.
14703 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
14706 2010-10-15 Andreas Schwab <schwab@redhat.com>
14708 * scripts/data/localplt-s390-linux-gnu.data: New file.
14709 * scripts/data/localplt-s390x-linux-gnu.data: New file.
14711 2010-10-13 Jakub Jelinek <jakub@redhat.com>
14714 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
14715 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
14717 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
14719 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
14720 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
14721 if one of x and y is very large and the other is subnormal.
14722 * sysdeps/s390/fpu/s_fmaf.c: New file.
14723 * sysdeps/s390/fpu/s_fma.c: New file.
14724 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
14725 * sysdeps/powerpc/fpu/s_fma.S: New file.
14726 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
14727 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
14728 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
14730 2010-10-12 Jakub Jelinek <jakub@redhat.com>
14733 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
14735 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
14736 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
14737 * sysdeps/i386/i686/multiarch/s_fma.c: Include
14738 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
14739 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
14740 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
14741 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
14743 2010-10-12 Ulrich Drepper <drepper@redhat.com>
14746 * posix/regcomp.c (parse_branch): One more memory leak plugged.
14747 * posix/bug-regex31.input: Add test case.
14749 2010-10-11 Ulrich Drepper <drepper@gmail.com>
14751 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
14752 * posix/bug-regex31.input: New file.
14755 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
14756 (parse_sub_exp): Fix last change, use postorder.
14758 * posix/bug-regex31.c: New file.
14759 * posix/Makefile: Add rules to build and run bug-regex31.
14761 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
14764 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
14767 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
14768 to have entries in sys_siglist.
14771 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14774 2010-10-07 Jakub Jelinek <jakub@redhat.com>
14777 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
14778 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
14779 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
14780 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
14781 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14782 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
14783 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
14784 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
14785 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
14786 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14787 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
14788 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
14789 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14790 * math/ftestexcept.c (fetestexcept): Likewise.
14791 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
14792 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
14793 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14794 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
14795 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
14796 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
14797 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14799 2010-10-11 Ulrich Drepper <drepper@gmail.com>
14802 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
14805 2010-10-06 Ulrich Drepper <drepper@gmail.com>
14807 * string/bug-strstr1.c: New file.
14808 * string/Makefile: Add rules to build and run bug-strstr1.
14810 2010-10-05 Eric Blake <eblake@redhat.com>
14813 * string/str-two-way.h (two_way_long_needle): Always clear memory
14814 when skipping input due to the shift table.
14816 2010-10-03 Ulrich Drepper <drepper@gmail.com>
14819 * malloc/mcheck.c: Handle large requests.
14822 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
14823 for strncmp and strncasecmp.
14824 * string/stratcliff.c: Add tests for strcmp and strncmp.
14825 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
14827 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14829 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
14832 2010-09-30 Andreas Jaeger <aj@suse.de>
14834 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
14835 (CGROUP_SUPER_MAGIC): Define.
14836 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14837 Handle btrfs and cgroup file systems.
14838 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14841 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
14843 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
14844 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
14846 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14849 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
14850 trying to locate the ELF header.
14852 2010-09-27 Andreas Schwab <schwab@redhat.com>
14855 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
14856 Mask out sign-bit copies when constructing f_fsid.
14858 2010-09-24 Petr Baudis <pasky@suse.cz>
14860 * debug/stack_chk_fail_local.c: Add missing licence exception.
14861 * debug/warning-nop.c: Likewise.
14863 2010-09-15 Joseph Myers <joseph@codesourcery.com>
14865 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14866 implementing getdents64 using getdents syscall, set d_type if
14867 __ASSUME_GETDENTS32_D_TYPE.
14869 2010-09-16 Andreas Schwab <schwab@redhat.com>
14871 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14872 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14874 2010-09-21 Ulrich Drepper <drepper@redhat.com>
14877 * posix/unistd.h: Undo change of feature selection for ftruncate from
14880 2010-09-20 Ulrich Drepper <drepper@redhat.com>
14882 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
14885 2010-09-20 Andreas Schwab <schwab@redhat.com>
14887 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14889 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14891 2010-09-14 Andreas Schwab <schwab@redhat.com>
14893 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14894 variables after CHECK_SP call.
14895 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14897 2010-09-13 Andreas Schwab <schwab@redhat.com>
14898 Ulrich Drepper <drepper@redhat.com>
14900 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14901 re-relocationg ld.so.
14902 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14903 _dl_init_paths call.
14904 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14907 2010-09-14 Ulrich Drepper <drepper@redhat.com>
14909 * resolv/res_init.c (__res_vinit): Count the default server we added.
14911 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14912 Ulrich Drepper <drepper@redhat.com>
14915 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14916 (____longjmp_chk): Use %ebx for saving value across system call.
14919 2010-09-06 Andreas Schwab <schwab@redhat.com>
14921 * manual/Makefile: Don't mix pattern rules with normal rules.
14923 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
14925 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14927 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14928 * libio/iofopncook.c (_IO_cookie_init): Likewise.
14929 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14930 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14931 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14934 2010-09-04 Ulrich Drepper <drepper@redhat.com>
14937 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14938 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14940 2010-09-02 Ulrich Drepper <drepper@redhat.com>
14942 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14943 * sysdeps/x86_64/addmul_1.S: Likewise.
14944 * sysdeps/x86_64/lshift.S: Likewise.
14945 * sysdeps/x86_64/mul_1.S: Likewise.
14946 * sysdeps/x86_64/rshift.S: Likewise.
14947 * sysdeps/x86_64/sub_n.S: Likewise.
14948 * sysdeps/x86_64/submul_1.S: Likewise.
14950 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
14952 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14953 Define __sched_param instead of SCHED_* and sched_param when
14954 <bits/sched.h> is included with __need_schedparam defined.
14955 * bits/sched.h [__need_schedparam]
14956 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
14957 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
14958 (__defined_schedparam): Define to 1.
14959 (__sched_param): New structure, identical to sched_param.
14960 (__need_schedparam): Undefine.
14962 2010-08-31 Mike Frysinger <vapier@gentoo.org>
14964 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
14965 (epoll_create1): Declare.
14967 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
14969 2010-08-31 Andreas Schwab <schwab@redhat.com>
14972 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
14973 shifting retval into place.
14975 2010-09-01 Ulrich Drepper <drepper@redhat.com>
14977 * nis/rpcsvc/nis.h: Update copyright notice.
14978 * nis/rpcsvc/nis.x: Likewise.
14979 * nis/rpcsvc/nis_callback.h: Likewise.
14980 * nis/rpcsvc/nis_callback.x: Likewise.
14981 * nis/rpcsvc/nis_object.x: Likewise.
14982 * nis/rpcsvc/nis_tags.h: Likewise.
14983 * nis/rpcsvc/yp.h: Likewise.
14984 * nis/rpcsvc/yp.x: Likewise.
14985 * nis/rpcsvc/ypupd.h: Likewise.
14986 * nis/yp_xdr.c: Likewise.
14987 * nis/ypupdate_xdr.c: Likewise.
14989 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
14990 mainly the body of pmap_getport. Add parameters to specify timeouts.
14991 (pmap_getport): Use __libc_rpc_getport.
14992 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
14993 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
14994 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
14996 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
14998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15001 2010-08-27 Roland McGrath <roland@redhat.com>
15003 * sysdeps/i386/i686/multiarch/Makefile
15004 (CFLAGS-varshift.c): New variable.
15006 2010-08-27 Ulrich Drepper <drepper@redhat.com>
15008 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15009 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15011 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15013 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15015 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15017 * sysdeps/x86_64/strlen.S: Unroll the loop.
15018 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15019 strlen-sse2 strlen-sse2-bsf.
15020 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15021 __strlen_no_bsf if bit_Slow_BSF is set.
15022 (__strlen_sse42): Removed.
15023 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15024 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15026 2010-08-25 Roland McGrath <roland@redhat.com>
15028 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15029 * sysdeps/x86_64/multiarch/varshift.c: New file.
15030 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15031 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15032 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15033 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15035 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15037 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15038 strlen-sse2 strlen-sse2-bsf.
15039 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15040 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15041 (__strlen_sse2): Removed.
15042 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15043 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15044 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15045 bit_Slow_BSF for Atom.
15046 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15047 (index_Slow_BSF): Define.
15048 (HAS_SLOW_BSF): Define.
15050 2010-08-25 Ulrich Drepper <drepper@redhat.com>
15053 * resolv/res_init.c (__res_vinit): When no server address at all
15054 is given default to loopback.
15056 2010-08-24 Roland McGrath <roland@redhat.com>
15058 * configure.in: Remove config-name.h generation.
15059 * configure: Regenerated.
15060 * config-name.in: File removed.
15061 * scripts/config-uname.sh: New file.
15062 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15063 ($(objdir)config-name.h): New target.
15065 * sunrpc/rpc_parse.h: Avoid nested comment.
15067 2010-08-24 Richard Henderson <rth@redhat.com>
15068 Ulrich Drepper <drepper@redhat.com>
15069 H.J. Lu <hongjiu.lu@intel.com>
15071 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15072 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15073 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15074 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15075 _mm_alignr_epi8 with _mm_loadu_si128.
15076 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15077 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15078 (__m128i_shift_right): Removed.
15079 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15080 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15081 * sysdeps/x86_64/multiarch/varshift.h: New file.
15082 * sysdeps/x86_64/multiarch/varshift.S: New file.
15084 2010-08-21 Mike Frysinger <vapier@gentoo.org>
15086 * configure.in: Move assembler checks to before sysdep dir checking.
15088 2010-08-20 Petr Baudis <pasky@suse.cz>
15090 * LICENSES: Sync the sunrpc license.
15092 2010-08-19 Ulrich Drepper <drepper@redhat.com>
15094 * sunrpc/auth_des.c: Update copyright notice once again.
15095 * sunrpc/auth_none.c: Likewise.
15096 * sunrpc/auth_unix.c: Likewise.
15097 * sunrpc/authdes_prot.c: Likewise.
15098 * sunrpc/authuxprot.c: Likewise.
15099 * sunrpc/bindrsvprt.c: Likewise.
15100 * sunrpc/clnt_gen.c: Likewise.
15101 * sunrpc/clnt_perr.c: Likewise.
15102 * sunrpc/clnt_raw.c: Likewise.
15103 * sunrpc/clnt_simp.c: Likewise.
15104 * sunrpc/clnt_tcp.c: Likewise.
15105 * sunrpc/clnt_udp.c: Likewise.
15106 * sunrpc/clnt_unix.c: Likewise.
15107 * sunrpc/des_crypt.c: Likewise.
15108 * sunrpc/des_soft.c: Likewise.
15109 * sunrpc/get_myaddr.c: Likewise.
15110 * sunrpc/getrpcport.c: Likewise.
15111 * sunrpc/key_call.c: Likewise.
15112 * sunrpc/key_prot.c: Likewise.
15113 * sunrpc/openchild.c: Likewise.
15114 * sunrpc/pm_getmaps.c: Likewise.
15115 * sunrpc/pm_getport.c: Likewise.
15116 * sunrpc/pmap_clnt.c: Likewise.
15117 * sunrpc/pmap_prot.c: Likewise.
15118 * sunrpc/pmap_prot2.c: Likewise.
15119 * sunrpc/pmap_rmt.c: Likewise.
15120 * sunrpc/rpc/auth.h: Likewise.
15121 * sunrpc/rpc/auth_unix.h: Likewise.
15122 * sunrpc/rpc/clnt.h: Likewise.
15123 * sunrpc/rpc/des_crypt.h: Likewise.
15124 * sunrpc/rpc/key_prot.h: Likewise.
15125 * sunrpc/rpc/netdb.h: Likewise.
15126 * sunrpc/rpc/pmap_clnt.h: Likewise.
15127 * sunrpc/rpc/pmap_prot.h: Likewise.
15128 * sunrpc/rpc/pmap_rmt.h: Likewise.
15129 * sunrpc/rpc/rpc.h: Likewise.
15130 * sunrpc/rpc/rpc_des.h: Likewise.
15131 * sunrpc/rpc/rpc_msg.h: Likewise.
15132 * sunrpc/rpc/svc.h: Likewise.
15133 * sunrpc/rpc/svc_auth.h: Likewise.
15134 * sunrpc/rpc/types.h: Likewise.
15135 * sunrpc/rpc/xdr.h: Likewise.
15136 * sunrpc/rpc_clntout.c: Likewise.
15137 * sunrpc/rpc_cmsg.c: Likewise.
15138 * sunrpc/rpc_common.c: Likewise.
15139 * sunrpc/rpc_cout.c: Likewise.
15140 * sunrpc/rpc_dtable.c: Likewise.
15141 * sunrpc/rpc_hout.c: Likewise.
15142 * sunrpc/rpc_main.c: Likewise.
15143 * sunrpc/rpc_parse.c: Likewise.
15144 * sunrpc/rpc_parse.h: Likewise.
15145 * sunrpc/rpc_prot.c: Likewise.
15146 * sunrpc/rpc_sample.c: Likewise.
15147 * sunrpc/rpc_scan.c: Likewise.
15148 * sunrpc/rpc_scan.h: Likewise.
15149 * sunrpc/rpc_svcout.c: Likewise.
15150 * sunrpc/rpc_tblout.c: Likewise.
15151 * sunrpc/rpc_util.c: Likewise.
15152 * sunrpc/rpc_util.h: Likewise.
15153 * sunrpc/rpcinfo.c: Likewise.
15154 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15155 * sunrpc/rpcsvc/key_prot.x: Likewise.
15156 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15157 * sunrpc/rpcsvc/mount.x: Likewise.
15158 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15159 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15160 * sunrpc/rpcsvc/rex.x: Likewise.
15161 * sunrpc/rpcsvc/rstat.x: Likewise.
15162 * sunrpc/rpcsvc/rusers.x: Likewise.
15163 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15164 * sunrpc/rpcsvc/spray.x: Likewise.
15165 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15166 * sunrpc/rtime.c: Likewise.
15167 * sunrpc/svc.c: Likewise.
15168 * sunrpc/svc_auth.c: Likewise.
15169 * sunrpc/svc_authux.c: Likewise.
15170 * sunrpc/svc_raw.c: Likewise.
15171 * sunrpc/svc_run.c: Likewise.
15172 * sunrpc/svc_simple.c: Likewise.
15173 * sunrpc/svc_tcp.c: Likewise.
15174 * sunrpc/svc_udp.c: Likewise.
15175 * sunrpc/svc_unix.c: Likewise.
15176 * sunrpc/svcauth_des.c: Likewise.
15177 * sunrpc/xcrypt.c: Likewise.
15178 * sunrpc/xdr.c: Likewise.
15179 * sunrpc/xdr_array.c: Likewise.
15180 * sunrpc/xdr_float.c: Likewise.
15181 * sunrpc/xdr_mem.c: Likewise.
15182 * sunrpc/xdr_rec.c: Likewise.
15183 * sunrpc/xdr_ref.c: Likewise.
15184 * sunrpc/xdr_sizeof.c: Likewise.
15185 * sunrpc/xdr_stdio.c: Likewise.
15187 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15190 2010-08-19 Andreas Schwab <schwab@redhat.com>
15192 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15194 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
15196 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15197 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15198 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15199 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15200 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15201 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15202 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15203 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15204 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15205 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15206 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15207 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15208 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15209 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15211 2010-07-26 Anton Blanchard <anton@samba.org>
15213 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15214 * malloc/arena.c (heap_trim): Likewise.
15216 2010-08-16 Ulrich Drepper <drepper@redhat.com>
15218 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15220 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15221 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15223 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15225 * sysdeps/i386/elf/Makefile: New file.
15227 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15229 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15230 from fanotify_init.
15231 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15232 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15234 2010-08-15 Ulrich Drepper <drepper@redhat.com>
15236 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15238 * sysdeps/multiarch/strcmp.S: Likewise.
15240 2010-08-14 Ulrich Drepper <drepper@redhat.com>
15242 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15243 strncase_l-nonascii.
15244 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15245 Add strncase_l-ssse3.
15246 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15247 * sysdeps/x86_64/strcmp.S: Likewise.
15248 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15249 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15250 * sysdeps/x86_64/strncase.S: New file.
15251 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15252 * sysdeps/x86_64/strncase_l.S: New file.
15253 * string/Makefile (strop-tests): Add strncasecmp.
15254 * string/test-strncasecmp.c: New file.
15256 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15259 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15260 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15262 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15264 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15266 2010-08-12 Ulrich Drepper <drepper@redhat.com>
15268 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15269 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15270 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15272 2010-05-01 Alan Modra <amodra@gmail.com>
15274 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15275 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15276 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15277 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15278 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15279 tidying. Don't tail-call __sigjmp_save for static lib.
15280 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15282 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15283 (CALL_MCOUNT): Add eh info, and nop after bl.
15284 (TAIL_CALL_SYSCALL_ERROR): New macro.
15285 (PSEUDO_RET): Use it.
15286 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15287 Correct save location of integer regs and cr.
15288 (_dl_profile_resolve): Correct cr save location. Delete nops
15289 after bl when SHARED. Reduce cfi size a little by better
15290 placement of cfi directives.
15291 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15292 make a stack frame. Instead use parm save area as a temp.
15293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15294 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15296 Don't make a stack frame for parent, use parm save area.
15297 Increase child stack frame to 112 bytes. Don't save unused reg,
15298 and adjust reg usage. Set up cfi on error recovery and
15299 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15301 (__makecontext): Add dummy nop after jump to exit.
15302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15303 Use correct parm save area and cr save, reduce stack frame.
15304 Correct cfi for possible PSEUDO_RET frame setup.
15305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15306 Branch to local label emitted by PSEUDO_RET rather than
15309 2010-08-12 Andreas Schwab <schwab@redhat.com>
15312 * locale/programs/locale.c (print_assignment): New function.
15313 (show_locale_vars): Use it.
15315 2010-08-11 Ulrich Drepper <drepper@redhat.com>
15317 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15319 (struct statfs64): Likewise.
15320 (_STATFS_F_FLAGS): Define.
15321 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15322 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15323 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15324 (ST_VALID): Define locally.
15325 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15326 __statvfs_getflags, use the provided value.
15327 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15328 __ASSUME_STATFS_F_FLAGS.
15330 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15332 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15333 Add sys/fanotify.h.
15334 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15335 fanotify_mask for GLIBC_2.13.
15336 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15337 fanotify_init and fanotify_mark.
15338 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15339 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15341 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15343 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15344 prlimit64 for GLIBC_2.13.
15345 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15347 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15350 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15351 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15352 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15353 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15355 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15358 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15359 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15361 * nss/Makefile: Add rules to build and run tst-nss-test1.
15362 * shlib-versions: Add entry for libnss_test1.
15363 * nss/nss_test1.c: New file.
15364 * nss/tst-nss-test1.c: New file.
15366 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15367 (__nss_configure_lookup): Set appropriate entry in
15368 __nss_configure_lookup to true.
15369 * nss/nsswitch.h: Define enum with indeces of databases in
15370 databases and __nss_database_custom arrays. Declare
15371 __nss_database_custom.
15372 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15373 to avoid using nscd when custom rules are installed.
15374 * nss/getXXbyYY_r.c: Likewise.
15375 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15377 * nss/nss_files/files-parse.c: Whitespace fixes.
15379 2010-08-09 Ulrich Drepper <drepper@redhat.com>
15382 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15383 * posix/fnmatch_loop.c: Likewise.
15385 2010-07-17 Andi Kleen <ak@linux.intel.com>
15387 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15388 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15389 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15390 * Versions.def [GLIBC_2.13]: Add.
15392 2010-08-06 Ulrich Drepper <drepper@redhat.com>
15394 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15395 Also fail if tpwd after pwuid call is NULL.
15397 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15399 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15400 when converting to ms.
15402 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15404 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15405 EOPNOTSUPP errors with ENOTTY.
15406 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15407 EOPNOTSUPP errors with ENOTTY.
15409 2010-07-31 Ulrich Drepper <drepper@redhat.com>
15411 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15412 Add strcasecmp_l-ssse3.
15413 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15415 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15416 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15417 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15419 2010-07-30 Ulrich Drepper <drepper@redhat.com>
15421 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15423 * string/Makefile (strop-tests): Add strcasecmp.
15424 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15425 strcasecmp_l-nonascii.
15426 (gen-as-const-headers): Add locale-defines.sym.
15427 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15428 * sysdeps/x86_64/strcasecmp.S: New file.
15429 * sysdeps/x86_64/strcasecmp_l.S: New file.
15430 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15431 * sysdeps/x86_64/locale-defines.sym: New file.
15432 * string/test-strcasecmp.c: New file.
15434 * string/test-strcasestr.c: Test both ends of the range of characters.
15435 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15437 2010-07-29 Roland McGrath <roland@redhat.com>
15440 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15442 2010-07-27 Ulrich Drepper <drepper@redhat.com>
15444 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15447 2010-07-27 Andreas Schwab <schwab@redhat.com>
15449 * manual/memory.texi (Malloc Tunable Parameters): Document
15452 2010-07-26 Roland McGrath <roland@redhat.com>
15455 * configure.in (-fgnu89-inline check): Set and substitute
15456 gnu89_inline, not libc_cv_gnu89_inline.
15457 * configure: Regenerated.
15458 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15460 2010-07-26 Ulrich Drepper <drepper@redhat.com>
15462 * string/test-strnlen.c: New file.
15463 * string/Makefile (strop-tests): Add strnlen.
15464 * string/tester.c (test_strnlen): Add a few more test cases.
15465 * string/tst-strlen.c: Better error reporting.
15467 * sysdeps/x86_64/strnlen.S: New file.
15469 2010-07-24 Ulrich Drepper <drepper@redhat.com>
15471 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15472 lower-latency instructions.
15474 2010-07-23 Ulrich Drepper <drepper@redhat.com>
15476 * string/test-strcasestr.c: New file.
15477 * string/test-strstr.c: New file.
15478 * string/Makefile (strop-tests): Add strstr and strcasestr.
15479 * string/str-two-way.h: Don't undefine MAX.
15480 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15482 2010-07-21 Andreas Schwab <schwab@redhat.com>
15484 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15485 strcasestr-nonascii.
15486 (CFLAGS-strcasestr-nonascii.c): Define.
15487 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15488 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15489 Remove unused attribute.
15491 2010-07-20 Roland McGrath <roland@redhat.com>
15493 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15494 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15495 ld.so.cache was broken. With it, there is no way to disable dsocaps
15496 like LD_HWCAP_MASK can disable hwcaps.
15498 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15500 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15502 2010-07-16 Ulrich Drepper <drepper@redhat.com>
15504 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15505 call in strcasestr.
15506 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15507 __strcasestr_sse42_nonascii.
15508 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15509 strcasestr-nonascii.c.
15510 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15512 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
15514 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15515 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15516 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15517 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15519 2010-07-09 Ulrich Drepper <drepper@redhat.com>
15521 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15524 2010-07-06 Andreas Schwab <schwab@redhat.com>
15527 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15530 2010-07-06 Ulrich Drepper <drepper@redhat.com>
15532 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15533 _PC_PIPE_BUF using F_GETPIPE_SZ.
15535 2010-07-05 Roland McGrath <roland@redhat.com>
15537 * manual/arith.texi (Rounding Functions): Fix rint description
15538 implicit in round description.
15540 2010-07-02 Ulrich Drepper <drepper@redhat.com>
15542 * elf/Makefile: Fix linking for a few tests to make recent linker
15545 2010-06-30 Andreas Schwab <schwab@redhat.com>
15547 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15548 $(common-objpfx)libc_nonshared.a.
15550 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
15552 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15553 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15554 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15555 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15556 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15557 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15558 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15559 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
15570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
15572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
15574 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
15575 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15576 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15577 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15578 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15579 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15580 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15581 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15582 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15583 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15584 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15585 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15601 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15603 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15604 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15605 * string/memmove.c (memmove): Renamed to ...
15606 (MEMMOVE): ...this. Default to memmove.
15607 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15608 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15610 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15611 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15612 mempcpy-ssse3-back memmove-ssse3-back.
15613 * sysdeps/x86_64/multiarch/bcopy.S: New file .
15614 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15615 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15616 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15617 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15618 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15619 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15620 * sysdeps/x86_64/multiarch/memmove.c: New file.
15621 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15622 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15623 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15624 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
15625 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
15626 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
15628 (index_Fast_Copy_Backward): Define.
15629 (HAS_ARCH_FEATURE): Define.
15630 (HAS_FAST_REP_STRING): Define.
15631 (HAS_FAST_COPY_BACKWARD): Define.
15633 2010-06-21 Andreas Schwab <schwab@redhat.com>
15635 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15636 Restore proper fallback handling.
15638 2010-06-19 Ulrich Drepper <drepper@redhat.com>
15641 * posix/group_member.c (__group_member): Correct checking loop.
15643 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
15644 OOM in getpwuid_r correctly. Return error number when the caller
15645 should return, otherwise -1.
15646 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
15647 call returning > 0 value.
15648 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
15650 2010-06-07 Andreas Schwab <schwab@redhat.com>
15652 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
15653 libc_nonshared.a from targets in modules-names.
15655 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
15657 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
15660 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
15662 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
15663 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
15664 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
15665 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
15667 2010-06-02 Andreas Schwab <schwab@redhat.com>
15669 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
15671 2010-06-14 Ulrich Drepper <drepper@redhat.com>
15673 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
15675 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15676 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15677 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15678 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15679 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15680 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
15682 2010-06-14 Roland McGrath <roland@redhat.com>
15684 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
15686 2010-06-07 Jakub Jelinek <jakub@redhat.com>
15688 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
15689 __REDIRECT followed by __THROW.
15690 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
15691 * posix/getopt.h (getopt): Likewise.
15693 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15695 * hurd/lookup-at.c (__file_name_lookup_at): Accept
15696 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
15697 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
15699 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
15700 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
15702 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
15704 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
15706 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
15709 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15710 Properly check family and model.
15712 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
15714 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
15716 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
15718 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
15720 2010-05-21 Ulrich Drepper <drepper@redhat.com>
15722 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
15725 2010-05-19 Andreas Schwab <schwab@redhat.com>
15727 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
15730 2010-05-21 Andreas Schwab <schwab@redhat.com>
15732 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
15733 and internal_recvmmsg.
15734 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
15735 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
15736 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
15737 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
15739 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
15740 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15741 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15743 2010-05-20 Andreas Schwab <schwab@redhat.com>
15745 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
15747 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
15749 POWER7 optimizations.
15750 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
15751 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
15753 2010-05-19 Ulrich Drepper <drepper@redhat.com>
15755 * version.h: Update for 2.13 development version.
15757 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
15759 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
15760 exceptions. Return 0.
15762 2010-05-07 Roland McGrath <roland@redhat.com>
15764 * elf/ldconfig.c (main): Add a const.
15766 2010-05-06 Ulrich Drepper <drepper@redhat.com>
15768 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
15769 (args_options): Add no-idn option.
15770 (ahosts_keys_int): Add idn_flags to ai_flags.
15771 (parse_option): Handle 'i' option to clear idn_flags.
15773 * malloc/malloc.c (_int_free): Possible race in the most recently
15774 added check. Only act on the data if no current modification
15777 See ChangeLog.17 for earlier changes.